/* ============================================================
   RESET / BASE / TYPOGRAPHY SCALE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  background: var(--color-canvas);
  color: var(--color-body);
  font-family: var(--font-ferrari);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--color-primary); color: var(--color-on-primary); }

/* ---- typography tokens (typography: block verbatim) ---- */
.t-display-mega {
  font-family: var(--font-ferrari);
  font-size: 80px; font-weight: 500; line-height: 1.05; letter-spacing: -1.6px;
}
.t-display-xl {
  font-family: var(--font-ferrari);
  font-size: 56px; font-weight: 500; line-height: 1.1; letter-spacing: -1.12px;
}
.t-display-lg {
  font-family: var(--font-ferrari);
  font-size: 36px; font-weight: 500; line-height: 1.2; letter-spacing: -0.36px;
}
.t-display-md {
  font-family: var(--font-ferrari);
  font-size: 26px; font-weight: 500; line-height: 1.5; letter-spacing: 0.195px;
}
.t-title-md {
  font-family: var(--font-ferrari);
  font-size: 18px; font-weight: 700; line-height: 1.2; letter-spacing: 0;
}
.t-title-sm {
  font-family: var(--font-ferrari);
  font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: 0.08px;
}
.t-body-md {
  font-family: var(--font-ferrari);
  font-size: 14px; font-weight: 400; line-height: 1.5; letter-spacing: 0;
}
.t-body-sm {
  font-family: var(--font-ferrari);
  font-size: 13px; font-weight: 400; line-height: 1.5; letter-spacing: 0;
}
.t-caption {
  font-family: var(--font-ferrari);
  font-size: 12px; font-weight: 400; line-height: 1.4; letter-spacing: 0;
}
.t-caption-uppercase {
  font-family: var(--font-ferrari);
  font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: 1.1px;
  text-transform: uppercase;
}
.t-button {
  font-family: var(--font-ferrari);
  font-size: 14px; font-weight: 700; line-height: 1.0; letter-spacing: 1.4px;
  text-transform: uppercase;
}
.t-nav-link {
  font-family: var(--font-ferrari);
  font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: 0.65px;
  text-transform: uppercase;
}
.t-number-display {
  font-family: var(--font-ferrari);
  font-size: 80px; font-weight: 700; line-height: 1.0; letter-spacing: -1.6px;
}

/* ---- section shell ---- */
.section { padding: var(--sp-xxl) var(--sp-lg); }
.container { max-width: var(--container-max); margin: 0 auto; }
.section-label {
  color: var(--color-muted-soft);
  font-family: var(--font-ferrari);
  font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: 1.1px;
  text-transform: uppercase;
  display: flex; align-items: center; gap: var(--sp-xxs);
  margin-bottom: var(--sp-md);
}
.section-label .tick { width: 24px; height: 1px; background: var(--color-muted); display: inline-block; }

/* ---- reveal-on-scroll utility ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ---- motion / reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__streak, .marquee__track { animation: none !important; }
  .btn-tertiary .arrow, .index__item, .btn-primary { transition: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
