/* ── BODY ──────────────────────────────────────────── */
html {
  background: var(--ink); /* cinematic.js drives this from ink → ivory */
  overscroll-behavior: none; /* prevent iOS rubber-band bounce at page edges */
}

body {
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--ink);
  background: var(--ink); /* JS overrides this on scroll */
  overflow-x: clip;        /* not 'hidden' — clip clips without creating a scroll container on iOS */
  overscroll-behavior: none;
}

/* ── SECTION BASE ──────────────────────────────────── */
.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
}

/* ── TYPOGRAPHY CLASSES ────────────────────────────── */

/* Cormorant Garamond — Display & Headlines */
.t-d1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.03em;
}

.t-d2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.t-h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.t-h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.2;
}

.t-h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
}

.t-h4 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 500;
  line-height: 1.3;
}

/* Plus Jakarta Sans — UI & Body */
.t-body {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

.t-sm {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

.t-xs {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--taupe);
}

.t-lbl {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.t-cta {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.0;
}

.t-price {
  font-family: var(--font-ui);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ── UTILITY ───────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── REDUCED MOTION ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .scan-beam { animation: none !important; }
  .weight-word { transform: none !important; opacity: 1 !important; }
  .s1-question, .s9-close { opacity: 1 !important; }
  .s2-fact, .s4-pivot, .s5-mark, .s5-wordmark, .s5-tagline,
  .s8-coming, .s7-you, .s7-time, .s7-still { opacity: 1 !important; transform: none !important; }
}
