/* ============================================================
   Lex-A — "Primetime" landing. HTML-first, no build step.
   Motion language: ease cubic-bezier(.22,1,.36,1), base 600ms,
   stagger 80ms, reveal at ~15% in view. 60fps = transform/opacity only.
   ============================================================ */

:root {
  --ink:        #0B0D12;   /* stage */
  --ink-raised: #151922;
  --ink-overlay:#1E2430;
  --indigo:     #6D5DF5;
  --pink:       #F67599;
  --pink-deep:  #E85A82;
  --gold:       #FFC93C;
  --correct:    #39D98A;
  --text:       #F4F4F8;
  --muted:      #9aa0b4;
  --hairline:   rgba(255,255,255,.10);

  --grad: linear-gradient(120deg, var(--indigo) 0%, var(--pink) 100%);
  --ease: cubic-bezier(.22,1,.36,1);
  --dur: 600ms;
  --max: 1160px;

  --display: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,.wordmark { font-family: var(--display); font-weight: 900; line-height: 1.02; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--pink); }
strong { color: #fff; }
kbd {
  font-family: var(--body); font-size: .72em; font-weight: 700;
  background: var(--ink-overlay); border: 1px solid var(--hairline);
  border-radius: 6px; padding: 2px 7px; color: var(--text);
}

/* ---------- Atmosphere ----------
   Isolated onto its own GPU layer (translateZ + contain) so the scrolling content above it never
   forces it to repaint — without this, a fixed full-screen layer (spotlight + seam + grain) repaints
   every scroll frame on Safari and stutters scrolling. */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; transform: translateZ(0); contain: strict; }
.spotlight {
  position: absolute; inset: -20%;
  background: radial-gradient(60% 50% at 50% 18%, rgba(109,93,245,.28), transparent 60%),
              radial-gradient(50% 45% at 78% 70%, rgba(246,117,153,.20), transparent 60%);
  animation: drift 16s var(--ease) infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1.05); }
  100% { transform: translate3d(4%, 3%, 0) scale(1.15); }
}
.seam {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.10) 18%, rgba(246,117,153,.22) 50%, rgba(255,255,255,.10) 82%, transparent);
  opacity: .6;
}
.grain {
  position: absolute; inset: 0; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.flash {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: radial-gradient(circle at 50% 45%, rgba(255,201,60,.55), rgba(255,201,60,0) 60%);
  opacity: 0;
}
.flash.fire { animation: flash .5s var(--ease); }
@keyframes flash { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 42px);
  backdrop-filter: blur(6px);            /* lighter blur = cheaper per-frame recompute while scrolling */
  background: linear-gradient(to bottom, rgba(11,13,18,.82), rgba(11,13,18,.2));
}
.wordmark { font-size: 26px; letter-spacing: .01em; display: inline-flex; align-items: baseline; }
.wordmark .lex { color: #fff; }
.wordmark .dash { color: rgba(255,255,255,.4); margin: 0 .04em; }
.wordmark .a { color: var(--pink); }
.wordmark.sm { font-size: 22px; }
.nav-links { display: flex; gap: clamp(14px, 2.4vw, 30px); align-items: center; font-family: var(--body); font-weight: 600; font-size: 15px; }
.nav-links a { color: var(--muted); transition: color .25s var(--ease); }
.nav-links a:hover { color: #fff; }
.nav-cta {
  color: #fff !important; background: var(--grad);
  padding: 9px 16px; border-radius: 999px; box-shadow: 0 8px 24px rgba(232,90,130,.35);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body); font-weight: 700; font-size: 16px;
  padding: 14px 24px; border-radius: 999px; cursor: pointer; border: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn-primary { color: #fff; background: var(--grad); box-shadow: 0 10px 30px rgba(232,90,130,.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(232,90,130,.55), 0 0 0 1px rgba(255,255,255,.1) inset; }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--hairline); }
.btn-ghost:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); }

/* ---------- Reveal base ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Above-the-fold content reveals via CSS on load — NEVER gated behind the deferred script + observer,
   so the hero can't sit blank while only the background (the seam line) shows. animation-fill-mode:both
   holds the final visible state, so these are visible within ~0.8s of first paint with or without JS. */
.hero .reveal { animation: rise-in .7s var(--ease) both; }
.hero .eyebrow.reveal      { animation-delay: .05s; }
.hero .buzzer-stage.reveal { animation-delay: .12s; }
.hero .sub.reveal          { animation-delay: .18s; }
.hero .cta-row.reveal      { animation-delay: .26s; }
.headline .w { animation: rise-word .7s var(--ease) both; }
.headline .line:nth-child(1) .w { animation-delay: .10s; }
.headline .line:nth-child(2) .w { animation-delay: .20s; }
.headline .line:nth-child(3) .w { animation-delay: .30s; }
@keyframes rise-in   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes rise-word { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }

/* ============ HERO ============ */
.hero {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-areas: "copy buzzer" "tableau tableau";
  align-items: center; gap: 10px clamp(20px, 4vw, 60px);
  max-width: var(--max); margin: 0 auto; padding: 40px clamp(18px, 4vw, 42px) 80px;
}
.hero-inner { grid-area: copy; max-width: 620px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: .14em;
  color: var(--muted); text-transform: uppercase; margin-bottom: 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(246,117,153,.6); animation: pulse 2s var(--ease) infinite; }
.dot.gold { background: var(--gold); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(246,117,153,.5);} 70%{ box-shadow: 0 0 0 9px rgba(246,117,153,0);} 100%{box-shadow:0 0 0 0 rgba(246,117,153,0);} }

.headline { font-size: clamp(40px, 7.4vw, 92px); font-weight: 1000; margin-bottom: 22px; }
.headline .line { display: block; }
/* Fade+rise reveal (no overflow mask, so wide words never clip horizontally). */
.headline .w { display: inline-block; opacity: 0; transform: translateY(40%); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.headline.in .w { opacity: 1; transform: none; }
.headline.in .line:nth-child(1) .w { transition-delay: .05s; }
.headline.in .line:nth-child(2) .w { transition-delay: .15s; }
.headline.in .line:nth-child(3) .w { transition-delay: .25s; }
.headline .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.sub { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); max-width: 30em; margin-bottom: 30px; }
.sub strong, .sub em { font-weight: 600; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buzzer */
.buzzer-stage { grid-area: buzzer; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.buzzer {
  position: relative; width: clamp(180px, 22vw, 250px); aspect-ratio: 1; border: 0; background: none; cursor: pointer;
  border-radius: 50%; padding: 0; -webkit-tap-highlight-color: transparent;
}
.buzzer.small { width: 130px; }
.buzzer-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--indigo), var(--pink), var(--gold), var(--indigo));
  padding: 10px; opacity: .9;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 calc(100% - 11px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 calc(100% - 11px));
  animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.buzzer-dome {
  position: absolute; inset: 16px; border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #ff9ab6, var(--pink) 38%, var(--pink-deep) 70%, #b23a5e);
  box-shadow: 0 18px 40px rgba(232,90,130,.5), inset 0 -10px 24px rgba(0,0,0,.4), inset 0 8px 18px rgba(255,255,255,.35);
  display: grid; place-items: center;
  transition: transform .12s var(--ease), box-shadow .12s var(--ease);
  animation: breathe 3.4s var(--ease) infinite;
}
@keyframes breathe { 0%,100%{ transform: scale(1);} 50%{ transform: scale(1.035);} }
.buzzer-gloss { position: absolute; top: 12%; left: 18%; width: 46%; height: 32%; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.7), transparent 70%); filter: blur(2px); }
.buzzer-label { font-family: var(--display); font-weight: 1000; font-size: clamp(20px, 2.4vw, 30px); color: #fff; letter-spacing: .06em; text-shadow: 0 2px 6px rgba(0,0,0,.35); }
.buzzer:active .buzzer-dome, .buzzer.hit .buzzer-dome { transform: scale(.9); box-shadow: 0 6px 16px rgba(232,90,130,.4), inset 0 6px 18px rgba(0,0,0,.5); animation: none; }
/* shockwave */
.buzzer::after {
  content: ""; position: absolute; inset: 16px; border-radius: 50%; border: 3px solid var(--gold); opacity: 0; pointer-events: none;
}
.buzzer.hit::after { animation: shock .6s var(--ease); }
@keyframes shock { 0%{ transform: scale(1); opacity: .9;} 100%{ transform: scale(1.8); opacity: 0;} }
.buzzer-hint { font-family: var(--body); font-size: 14px; color: var(--muted); transition: opacity .4s var(--ease); }
.buzzer-hint.gone { opacity: 0; }

/* Device tableau */
.tableau { grid-area: tableau; display: flex; align-items: flex-end; justify-content: center; gap: clamp(16px, 4vw, 48px); margin-top: 30px; will-change: transform; }
.tv { width: min(560px, 78vw); }
.tv-screen {
  background: linear-gradient(180deg, #11141d, #0c0f16); border: 1px solid var(--hairline);
  border-radius: 16px; padding: 22px; box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 6px #05060a, 0 0 60px rgba(109,93,245,.18);
}
.tv-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tv-q { font-family: var(--body); font-weight: 700; font-size: 12px; letter-spacing: .1em; color: var(--gold); }
.ring { position: relative; width: 40px; height: 40px; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring .ring-bg { stroke: rgba(255,255,255,.12); }
.ring .ring-fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; animation: countdown 7s linear infinite; }
@keyframes countdown { to { stroke-dashoffset: 100; } }
.ring b { font-family: var(--display); font-size: 14px; color: #fff; }
.tv-prompt { font-family: var(--display); font-weight: 900; font-size: clamp(16px, 2vw, 24px); margin-bottom: 20px; }
.tv-scores { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.team { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; border-radius: 12px; flex: 1; }
.team span { font-family: var(--body); font-size: 12px; color: var(--muted); font-weight: 600; }
.team b { font-family: var(--display); font-size: clamp(22px, 3vw, 34px); }
.team-a { background: rgba(109,93,245,.14); } .team-a b { color: #b9b0ff; }
.team-b { background: rgba(246,117,153,.14); text-align: right; } .team-b b { color: var(--pink); }
.vs { font-family: var(--display); color: var(--muted); font-size: 14px; }
.tv-stand { width: 90px; height: 16px; margin: 0 auto; background: #05060a; border-radius: 0 0 8px 8px; }

.phones { display: flex; gap: 12px; }
.phone {
  width: clamp(54px, 8vw, 78px); aspect-ratio: 9/19; border-radius: 14px;
  background: linear-gradient(180deg, #1a1f2b, #0e1118); border: 1px solid var(--hairline);
  display: grid; place-items: center; box-shadow: 0 20px 40px rgba(0,0,0,.5);
}
.phone-buzz {
  font-family: var(--display); font-weight: 1000; font-size: 11px; color: #fff;
  width: 80%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 38% 30%, #9b8dff, var(--indigo) 70%);
  box-shadow: 0 6px 14px rgba(109,93,245,.5);
}
.phone-buzz.alt { background: radial-gradient(circle at 38% 30%, #ff9ab6, var(--pink) 70%); box-shadow: 0 6px 14px rgba(246,117,153,.5); }
.phone-1 { animation: bob 3s var(--ease) infinite; } .phone-2 { animation: bob 3s var(--ease) .6s infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-8px);} }

.scroll-cue { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 14px; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,6px);} }

/* ============ Section shells ============ */
section { position: relative; z-index: 1; }
.section-title { font-size: clamp(30px, 4.6vw, 56px); text-align: center; max-width: 16em; margin: 0 auto 14px; }
.section-sub { text-align: center; color: var(--muted); max-width: 36em; margin: 0 auto 42px; font-size: clamp(16px,1.4vw,19px); }

/* ============ Two halves ============ */
.halves { max-width: var(--max); margin: 0 auto; padding: 100px clamp(18px,4vw,42px); }
.halves-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(20px,5vw,70px); }
.half { text-align: center; }
.half-letter { font-family: var(--display); font-weight: 1000; font-size: clamp(64px, 13vw, 168px); display: block; line-height: .9; }
.half-letter.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.half-kicker { font-family: var(--body); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 13px; color: var(--gold); margin: 14px 0 8px; }
.half-body { color: var(--muted); max-width: 22em; margin: 0 auto; }
.half-seam { width: 2px; height: clamp(120px, 20vw, 230px); background: linear-gradient(to bottom, transparent, var(--pink), transparent); box-shadow: 0 0 24px var(--pink); }
.halves-line { text-align: center; font-family: var(--display); font-weight: 900; font-size: clamp(20px,2.4vw,30px); margin-top: 56px; }

/* ============ How ============ */
.how { max-width: var(--max); margin: 0 auto; padding: 90px clamp(18px,4vw,42px); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 50px; }
.step { background: var(--ink-raised); border: 1px solid var(--hairline); border-radius: 20px; padding: 32px 26px; position: relative; }
.step-num { position: absolute; top: 22px; right: 24px; font-family: var(--display); font-weight: 1000; font-size: 40px; color: rgba(255,255,255,.07); }
.step h3 { font-size: 22px; margin: 18px 0 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
.step-glyph { width: 56px; height: 56px; border-radius: 14px; background: rgba(109,93,245,.14); display: grid; place-items: center; }
.step-glyph::before { content: ""; width: 26px; height: 26px; background: var(--grad); border-radius: 6px; }
.glyph-cast::before { border-radius: 6px 6px 0 0; clip-path: polygon(0 0,100% 0,100% 70%,0 70%); }
.glyph-phone::before { width: 18px; height: 30px; border-radius: 5px; }
.glyph-buzz::before { border-radius: 50%; }

/* ============ Games ============ */
.games { max-width: var(--max); margin: 0 auto; padding: 90px clamp(18px,4vw,42px); }
.game-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.game-card { background: var(--ink-raised); border: 1px solid var(--hairline); border-radius: 20px; padding: 28px; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.game-card:hover { transform: translateY(-6px); border-color: rgba(246,117,153,.4); box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.game-card h3 { font-size: 24px; margin: 18px 0 8px; }
.game-card p { color: var(--muted); font-size: 15.5px; }
.game-anim { height: 120px; border-radius: 14px; background: #0c0f16; border: 1px solid var(--hairline); display: grid; place-items: center; overflow: hidden; }
.buzz-pip { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 38% 30%,#ff9ab6,var(--pink) 70%); box-shadow: 0 0 0 0 rgba(246,117,153,.6); animation: pip 1.6s var(--ease) infinite; }
@keyframes pip { 0%{ transform: scale(1); box-shadow: 0 0 0 0 rgba(246,117,153,.6);} 50%{ transform: scale(.86);} 70%{ box-shadow: 0 0 0 22px rgba(246,117,153,0);} 100%{ transform: scale(1);} }
.scramble { font-family: var(--display); font-weight: 1000; font-size: 30px; letter-spacing: .12em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.anim-doodle svg { width: 80px; height: 80px; }
.trace { fill: none; stroke: var(--pink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 240; stroke-dashoffset: 240; }
.game-card.in .trace { animation: trace 2.4s var(--ease) .3s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }

/* ============ Rivalry ============ */
.rivalry { max-width: var(--max); margin: 0 auto; padding: 100px clamp(18px,4vw,42px); }
.rivalry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,5vw,64px); align-items: center; }
.rivalry-copy .eyebrow { color: var(--gold); }
.rivalry-copy .section-title { text-align: left; margin: 0 0 18px; }
.rivalry-copy p { color: var(--muted); margin-bottom: 18px; }
.rivalry-points { list-style: none; display: grid; gap: 12px; }
.rivalry-points li { padding-left: 30px; position: relative; }
.rivalry-points li::before { content: "▲"; position: absolute; left: 0; color: var(--correct); font-size: 13px; top: 4px; }
.ladder { background: var(--ink-raised); border: 1px solid var(--hairline); border-radius: 20px; padding: 16px; position: relative; overflow: hidden; }
.ladder-row {
  display: grid; grid-template-columns: 34px 1fr auto auto; align-items: center; gap: 14px;
  padding: 16px 14px; border-radius: 12px; transition: transform .6s var(--ease) calc(var(--rank) * 90ms), opacity .6s var(--ease) calc(var(--rank) * 90ms);
  opacity: 0; transform: translateX(-18px);
}
.ladder.in .ladder-row { opacity: 1; transform: none; }
.ladder-row:nth-child(1) { background: linear-gradient(90deg, rgba(255,201,60,.16), transparent); }
.ladder-row + .ladder-row { margin-top: 6px; }
.medal { font-family: var(--display); font-weight: 1000; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-overlay); font-size: 15px; }
.ladder-row:nth-child(1) .medal { background: var(--gold); color: #2a2300; }
.lname { font-weight: 700; }
.ladder-row b { font-family: var(--display); font-size: 22px; }
.ladder-row i { font-family: var(--body); font-style: normal; font-weight: 700; font-size: 13px; }
.up { color: var(--correct); } .dn { color: var(--pink); }
.ladder-glow { position: absolute; inset: -40% -10% auto; height: 200px; background: radial-gradient(50% 100% at 50% 0, rgba(255,201,60,.16), transparent); pointer-events: none; }

/* ============ Who ============ */
.who { max-width: var(--max); margin: 0 auto; padding: 90px clamp(18px,4vw,42px); }
.who-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.who-card { text-align: center; background: var(--ink-raised); border: 1px solid var(--hairline); border-radius: 20px; padding: 36px 28px; transition: transform .3s var(--ease); }
.who-card:hover { transform: translateY(-6px); }
.who-emoji { font-size: 44px; }
.who-card h3 { font-size: 22px; margin: 14px 0 8px; }
.who-card p { color: var(--muted); font-size: 15.5px; }

/* ============ Get / CTA ============ */
.get { text-align: center; padding: 110px clamp(18px,4vw,42px) 90px; max-width: 760px; margin: 0 auto; }
.get-buzzer { display: grid; place-items: center; margin-bottom: 28px; }
.get .buzzer.small .buzzer-label { font-size: 22px; }
.get h2 { font-size: clamp(40px, 7vw, 80px); margin-bottom: 14px; }
.get p { color: var(--muted); font-size: clamp(17px,1.6vw,21px); margin: 0 auto 30px; max-width: 28em; }

/* ============ Footer ============ */
.footer { text-align: center; padding: 60px 20px; border-top: 1px solid var(--hairline); position: relative; z-index: 1; }
.footer .for-alex { color: var(--pink); font-family: var(--display); font-weight: 700; margin: 10px 0 6px; }
.footer .copyright { color: var(--muted); font-size: 14px; }

/* ============ Responsive ============ */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "copy" "buzzer" "tableau"; min-height: auto; padding-top: 24px; text-align: center; }
  .hero-inner { margin: 0 auto; }
  .eyebrow, .cta-row { justify-content: center; }
  .sub { margin-left: auto; margin-right: auto; }
  .nav-links a:not(.nav-cta) { display: none; }
  /* Keep the headline inside the viewport — .line clips horizontal overflow too. */
  .headline { font-size: clamp(30px, 8.6vw, 60px); }
  .steps, .game-cards, .who-cards, .rivalry-grid, .halves-grid { grid-template-columns: 1fr; }
  .rivalry-copy .section-title { text-align: center; }
  .half-seam { width: clamp(120px,40vw,200px); height: 2px; background: linear-gradient(to right, transparent, var(--pink), transparent); }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .headline .w { opacity: 1; transform: none; }   /* animations are off here — keep the words visible */
  .ladder-row { opacity: 1; transform: none; }
  .trace { stroke-dashoffset: 0; }
}
