@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-data: cubic-bezier(.25, .9, .3, 1);
  --dur-fast: 140ms;
  --page: 0;
  --gutter: var(--space-28);
  --content: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
strong { font-weight: 600; color: var(--ink); }

.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mark-ink { fill: var(--ink); }
.mark-brass { fill: var(--brass); }

.eyebrow { font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.lede { font-size: clamp(15px, 1.35vw, 18px); line-height: 1.55; color: var(--ink-2); max-width: 32em; }
.chapter-num { display: flex; align-items: center; gap: 10px; font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.chapter-num .num { display: inline-grid; place-items: center; height: 22px; padding: 0 8px; border-radius: var(--radius-full); background: var(--brass-soft); color: var(--brass); font-size: 11px; font-weight: 500; letter-spacing: 0; }
h2 { font-size: clamp(34px, 5vw, 68px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; }
.chapter-num + h2 { margin-top: var(--space-16); }
h2 + .lede { margin-top: var(--space-16); }

/* Ground: two soft glows that drift with the page. */
.glows { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 9999px; filter: blur(var(--glow-blur)); opacity: var(--glow-opacity); will-change: transform; }
.glow-a { width: 46vmax; height: 46vmax; top: -18vmax; left: 4vw; background: var(--glow-a); transform: translate3d(calc(var(--page) * 34vw), calc(var(--page) * 60vh), 0); }
.glow-b { width: 52vmax; height: 52vmax; bottom: -24vmax; right: -14vmax; background: var(--glow-b); transform: translate3d(calc(var(--page) * -40vw), calc(var(--page) * -36vh), 0); }

.progress { position: fixed; z-index: 11; top: 0; left: 0; right: 0; height: 2px; background: var(--brass); transform-origin: left; transform: scaleX(var(--page)); display: none; }
[data-scroll="on"] .progress { display: block; }

/* Top bar */
.topbar { position: fixed; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: max(var(--space-16), env(safe-area-inset-top)) var(--gutter) var(--space-16); pointer-events: none; }
.topbar > * { pointer-events: auto; }
.lockup { display: inline-flex; align-items: center; gap: var(--space-8); height: 32px; padding: 0 14px 0 10px; border: 1px solid var(--line); border-radius: var(--radius-full); background: var(--panel); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: var(--shadow-panel); font-size: 14px; font-weight: 600; text-decoration: none; letter-spacing: -0.01em; }
.lockup .mark { width: 18px; height: 18px; }

.pill { display: inline-flex; align-items: center; gap: var(--space-8); height: 32px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-full); background: var(--panel); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: var(--shadow-panel); font-size: 12px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.live-dot { width: 7px; height: 7px; flex: none; border-radius: 9999px; background: var(--brass); animation: breathe 2s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Chapter rail */
.rail { position: fixed; z-index: 10; right: var(--gutter); top: 50%; display: none; flex-direction: column; gap: var(--space-4); padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: var(--shadow-panel); transform: translate3d(12px, -50%, 0); opacity: 0; pointer-events: none; transition: opacity 240ms ease, transform 520ms var(--ease-spring); }
.rail a { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px 0 6px; border-radius: 18px; font-size: 12px; color: var(--ink-3); text-decoration: none; transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease; }
.rail a:hover { color: var(--ink); }
.rail .num { display: inline-grid; place-items: center; width: 26px; height: 22px; border-radius: var(--radius-full); font-size: 11px; }
.rail a[aria-current="true"] { color: var(--ink); background: var(--lens); }
.rail a[aria-current="true"] .num { background: var(--brass); color: var(--on-brass); }
@media (min-width: 1500px) { [data-scroll="on"] .rail { display: flex; } }
[data-chapter] .rail { opacity: 1; transform: translate3d(0, -50%, 0); pointer-events: auto; }

/* Scenes. Without scroll mode (no JS or reduced motion) every scene is a plain block in its final state. */
.scene { position: relative; }
.stage { position: relative; min-height: 100vh; min-height: 100svh; padding: 104px var(--gutter) 72px; }
[data-scroll="on"] .scene-hero, [data-scroll="on"] .scene-reveal, [data-scroll="on"] .scene-widen, [data-scroll="on"] .scene[data-fit] { height: var(--scene-h); }
[data-scroll="on"] .scene-hero > .stage, [data-scroll="on"] .scene-reveal > .stage, [data-scroll="on"] .scene-widen > .stage, [data-scroll="on"] .scene[data-fit] > .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scene-hero { --scene-h: 340vh; }
.scene-gold { --scene-h: 420vh; }
.scene-improve { --scene-h: 260vh; }
.scene-reveal { --scene-h: 240vh; }
.scene-draft { --scene-h: 380vh; }
.scene-widen { --scene-h: 300vh; }

/* Hero */
.scene-hero .stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-40); text-align: center; }
.hero-mark { width: min(36vmin, 200px); height: min(36vmin, 200px); overflow: visible; }
.hero-intro { display: flex; flex-direction: column; align-items: center; gap: var(--space-16); }
.hero-intro h1 { font-size: clamp(56px, 10vw, 148px); line-height: .92; font-weight: 600; letter-spacing: -0.05em; }
.hero-statement { max-width: 16em; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.05; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); text-wrap: balance; }
.hero-statement span { color: var(--brass); }
.scroll-hint { display: none; }

[data-scroll="on"] .hero-mark { position: absolute; inset: 0; width: 100%; height: 100%; }
[data-scroll="on"] .hero-intro { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 12svh; opacity: calc(1 - var(--intro-out, 0)); transform: translate3d(0, calc(var(--intro-out, 0) * -48px), 0); }
[data-scroll="on"] .hero-statement { position: absolute; top: 50%; left: 50%; width: max-content; max-width: 86vw; transform: translate(-50%, -50%) scale(calc(.92 + var(--statement-in, 0) * .08)); opacity: var(--statement-in, 0); }
[data-scroll="on"] .scroll-hint { display: flex; flex-direction: column; align-items: center; gap: var(--space-8); position: absolute; bottom: max(var(--space-20), env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); opacity: calc(1 - var(--intro-out, 0) * 3); }
.scroll-hint span { width: 1px; height: 28px; background: linear-gradient(var(--ink-3), transparent); transform-origin: top; animation: hint 2.4s var(--ease-data) infinite; }
@keyframes hint { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.hero-intro > * { animation: rise 1100ms cubic-bezier(.2, .8, .2, 1) both; }
.hero-intro > :nth-child(1) { animation-delay: 380ms; }
.hero-intro > :nth-child(2) { animation-delay: 480ms; }
.hero-intro > :nth-child(3) { animation-delay: 600ms; }
.hero-mark rect { transform-box: fill-box; transform-origin: 50% 100%; animation: bar-in 1100ms var(--ease-spring) both; }
.hero-mark .mark-brass { animation-delay: 140ms; }
.topbar > * { animation: drop 900ms cubic-bezier(.2, .8, .2, 1) 700ms both; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translate3d(0, -12px, 0); } to { opacity: 1; transform: none; } }
@keyframes bar-in { from { opacity: 0; transform: translateY(24%) scaleY(.35); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Headings rise out of a mask and copy fades up, once, as it scrolls into view. */
.mask { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.mask > span { display: block; }
[data-scroll="on"] [data-reveal]:not(.mask) { transition: opacity 800ms ease, transform 1000ms cubic-bezier(.2, .8, .2, 1); }
[data-scroll="on"] [data-reveal]:not(.mask):not([data-in]) { opacity: 0; transform: translate3d(0, 24px, 0); }
[data-scroll="on"] .mask[data-reveal] > span { transition: transform 1100ms cubic-bezier(.2, .8, .2, 1); }
[data-scroll="on"] .mask[data-reveal]:not([data-in]) > span { transform: translate3d(0, 108%, 0); }
[data-reveal="1"], [data-reveal="1"] > span { transition-delay: 90ms; }
[data-reveal="2"], [data-reveal="2"] > span { transition-delay: 180ms; }
[data-reveal="3"], [data-reveal="3"] > span { transition-delay: 270ms; }

/* Band: the three promises in big type, sliding with the scroll. */
.band { display: grid; gap: var(--space-8); padding: 18vh 0; overflow: hidden; }
.band-row { display: flex; align-items: center; gap: .4em; width: max-content; padding: 0 var(--gutter); font-size: clamp(44px, 8.4vw, 136px); line-height: 1.04; font-weight: 600; letter-spacing: -0.045em; white-space: nowrap; transform: translate3d(var(--band-x, 0px), 0, 0); will-change: transform; }
.band-row-quiet { font-size: clamp(22px, 3.2vw, 48px); font-weight: 500; letter-spacing: -0.03em; color: var(--ink-3); }
.band-mark { width: .72em; height: .72em; flex: none; }
.band-dot { width: .22em; height: .22em; flex: none; border-radius: 9999px; background: var(--brass); }
.band:not([data-moving]) .band-row { width: auto; flex-wrap: wrap; white-space: normal; font-size: clamp(34px, 6vw, 72px); }
.band:not([data-moving]) .band-row-quiet { font-size: clamp(20px, 2.6vw, 32px); }

/* Shared content column */
.scene-gold .stage, .scene-improve .stage, .scene-draft .stage { display: flex; flex-direction: column; justify-content: center; gap: var(--space-28); max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; }

/* 01 Gold difference */
.chapter-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-16) var(--space-40); flex-wrap: wrap; }
.chapter-head .lede { max-width: 25em; flex: 0 1 25em; }
[data-scroll="on"] .scene-gold .stage { padding-top: 88px; padding-bottom: 28px; gap: var(--space-20); }

.match-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-12) var(--space-20); flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.match-title { display: flex; align-items: center; gap: var(--space-12); }
.result { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--ahead-soft); color: var(--ahead); font-family: var(--font-mono); font-size: 14px; font-weight: 500; }
.match-name { display: block; font-size: 14px; line-height: 19px; font-weight: 600; }
.match-sub { display: block; font-size: 11px; line-height: 15px; color: var(--ink-3); }
.gold-readout { display: flex; align-items: baseline; gap: var(--space-12); font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.gold-clock { font-size: 34px; line-height: 38px; font-weight: 500; letter-spacing: -0.03em; }
.gold-value { min-width: 4.5ch; font-size: 18px; line-height: 22px; font-weight: 500; color: var(--ink-3); }
.gold-value[data-side="blue"] { color: var(--side-blue); }
.gold-value[data-side="red"] { color: var(--side-red); }

.gold-chart { margin: var(--space-20) 18px 0; }
.gold-plot { position: relative; height: clamp(150px, 30svh, 340px); }
.gold-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gold-zero { stroke: var(--ink-3); opacity: .55; }
.gold-scrub { display: none; stroke: var(--ink-3); stroke-dasharray: 2 5; opacity: .45; }
[data-scroll="on"] .gold-scrub { display: inline; }
.gold-area-blue { fill: var(--side-blue-soft); }
.gold-area-red { fill: var(--side-red-soft); }
.gold-line { fill: none; stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.gold-line-blue { stroke: var(--side-blue); }
.gold-line-red { stroke: var(--side-red); }
.gold-label { position: absolute; left: 0; font-size: 11px; line-height: 14px; }
.gold-label-top { top: 0; color: var(--side-blue); }
.gold-label-bottom { bottom: 0; color: var(--side-red); }
.gold-dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 9999px; background: var(--side-blue); box-shadow: 0 0 0 3px var(--bg), 0 0 0 9px var(--side-blue-soft); left: var(--dot-x, 100%); top: var(--dot-y, 0%); }
.gold-dot[data-side="red"] { background: var(--side-red); box-shadow: 0 0 0 3px var(--bg), 0 0 0 9px var(--side-red-soft); }
.gold-callout { position: absolute; z-index: 1; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-full); background: var(--panel-solid); box-shadow: var(--shadow-lens); font-size: 12px; font-weight: 500; white-space: nowrap; transform: translate(-50%, calc(-100% - 18px)); transition: opacity 240ms ease, transform 520ms var(--ease-spring); }
.gold-callout::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 13px; background: var(--line-strong); }
.gold-callout-below { transform: translate(-50%, 18px); }
.gold-callout-below::after { top: auto; bottom: 100%; }
.gold-callout[data-callout="low"] .num { color: var(--side-red); }
.gold-callout[data-callout="baron"] .num { color: var(--side-blue); }
[data-scroll="on"] .gold-callout:not([data-shown]) { opacity: 0; transform: translate(-50%, calc(-100% - 8px)); }
[data-scroll="on"] .gold-callout-below:not([data-shown]) { transform: translate(-50%, 8px); }
.gold-axis { display: flex; justify-content: space-between; margin-top: var(--space-8); font-family: var(--font-mono); font-size: 11px; line-height: 14px; color: var(--ink-3); }

.gold-events { position: relative; height: 44px; margin: var(--space-4) 18px 0; padding: 0; list-style: none; }
.gold-event { position: absolute; top: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; line-height: 13px; color: var(--ink-2); white-space: nowrap; transition: opacity var(--dur-fast) ease, transform 520ms var(--ease-spring); }
.gold-event:last-child { align-items: flex-end; transform: translateX(-100%); }
.gold-event::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--side-blue); }
.gold-event[data-side="red"]::before { background: var(--side-red); }
[data-scroll="on"] .gold-event:not([data-shown]) { opacity: 0; transform: translate(-50%, 6px); }
[data-scroll="on"] .gold-event:last-child:not([data-shown]) { transform: translate(-100%, 6px); }
.match-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-12) var(--space-28); flex-wrap: wrap; margin-top: var(--space-8); padding: 14px 18px 16px; border-top: 1px solid var(--line); }
.gold-caption { flex: 1 1 300px; min-height: 2.6em; display: flex; align-items: center; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.score { display: flex; gap: var(--space-28); margin: 0; }
.score div { display: grid; gap: 2px; }
.score dt { font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.score dd { margin: 0; font-size: 20px; line-height: 24px; font-weight: 500; }
.score-blue { color: var(--side-blue); }
.score-red { color: var(--side-red); }
.score-sep { margin: 0 .2em; color: var(--ink-3); }

/* Glass cards */
.card { --c: 1; position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: var(--shadow-panel); opacity: var(--c); transform: translate3d(0, calc((1 - var(--c)) * 40px), 0) scale(calc(.96 + var(--c) * .04)); }
@media (hover: hover) {
  .card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), var(--lens), transparent 62%); opacity: 0; transition: opacity 320ms ease; pointer-events: none; }
  .card:hover::before { opacity: 1; }
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); padding: var(--space-12) var(--space-16); border-bottom: 1px solid var(--line); }
.card-head h3 { font-size: 13px; line-height: 18px; font-weight: 600; }
.card-meta { display: inline-flex; align-items: center; gap: var(--space-8); font-size: 11px; color: var(--ink-3); }
.card-copy { margin-top: auto; padding: var(--space-12) var(--space-16) var(--space-16); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.ahead { color: var(--ahead); }
.behind { color: var(--behind); }

/* 02 Know where to improve */
.improve-panels { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-20); align-items: stretch; }
.lanes { display: grid; gap: 6px; margin: 0; padding: var(--space-8); list-style: none; }
.lane { display: grid; grid-template-columns: 64px minmax(0, 1fr) 86px; align-items: center; gap: var(--space-12); padding: 8px 10px; border-radius: var(--radius-md); font-size: 13px; color: var(--ink-2); transition: background-color 240ms ease, box-shadow 240ms ease; }
.lane-name { color: var(--ink); }
.lane-bars { position: relative; display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; height: 34px; }
.lane-bars::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 1px; background: var(--line-strong); }
.lane-bar { position: relative; }
.lane-bar::after { content: ""; position: absolute; left: 0; right: 0; border-radius: 2px; height: var(--h); transform: scaleY(clamp(0, calc(var(--c) * 3 - var(--i) * .08), 1)); }
.lane-bar[data-up]::after { bottom: 18px; background: var(--ahead); transform-origin: bottom; }
.lane-bar:not([data-up])::after { top: 17px; background: var(--behind); transform-origin: top; }
.lane-note { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); text-align: right; white-space: nowrap; }
.lane-note.behind { color: var(--behind); }
.lane[data-focus] { background: var(--brass-soft); box-shadow: inset 0 0 0 1px var(--brass); }
.improve-panels[data-focus-on] .lane:not([data-focus]) { opacity: .55; }
.lane { transition: background-color 240ms ease, box-shadow 240ms ease, opacity 240ms ease; }

.card-map { align-items: stretch; }
.minimap { display: block; width: calc(100% - 2 * var(--space-16)); max-width: 230px; margin: var(--space-16) auto 0; }
.map-ground { fill: var(--raised); stroke: var(--line); }
.map-river { stroke: var(--side-blue-soft); stroke-width: 14; stroke-linecap: round; fill: none; }
.map-lane { stroke: var(--line-strong); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.map-hot { fill: var(--behind-soft); transform-box: fill-box; transform-origin: center; transform: scale(calc(.5 + var(--hot, 1) * .5)); opacity: var(--hot, 1); }
.map-deaths path { stroke: var(--behind); stroke-width: 2.6; stroke-linecap: round; fill: none; opacity: var(--d, 1); }

/* Reveal */
.scene-reveal .stage { display: grid; place-items: center; }
.reveal-text { max-width: 15em; font-size: clamp(34px, 6vw, 88px); line-height: 1.02; font-weight: 600; letter-spacing: -0.045em; }
.reveal-text .w { opacity: var(--o, 1); }
.reveal-text .w-key { color: var(--brass); }

/* 03 Build the perfect teamcomp */
.draft-board { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-20); }
.picks { display: grid; gap: 4px; margin: 0; padding: var(--space-8); list-style: none; }
.pick { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: var(--space-12); padding: 8px 10px; border-radius: var(--radius-md); transition: background-color 240ms ease; }
.pick-portrait { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--sunken); color: var(--ink-3); font-family: var(--font-mono); font-size: 11px; transition: box-shadow 240ms ease, background-color 240ms ease, transform 520ms var(--ease-spring); }
.pick-role { display: block; font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.pick-name { display: block; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); }
.pick-status { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.pick[data-state="empty"] .pick-portrait { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.pick[data-state="empty"] .pick-name { color: var(--ink-3); }
.pick[data-state="picking"] { background: var(--lens); }
.pick[data-state="picking"] .pick-portrait { background: var(--brass-soft); box-shadow: inset 0 0 0 1.5px var(--brass); color: var(--brass); }
.pick[data-state="picking"] .pick-status { color: var(--brass); }
.pick[data-state="locked"] .pick-portrait { background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.pick[data-state="locked"] .pick-status { color: var(--ahead); }

.fit { display: flex; align-items: center; gap: var(--space-16); padding: var(--space-16) var(--space-16) var(--space-8); }
.fit-score { font-size: 64px; line-height: 64px; font-weight: 500; letter-spacing: -0.04em; min-width: 2ch; }
.fit-label { font-size: 13px; line-height: 18px; color: var(--ink-3); }
.fit-band { color: var(--ink); font-weight: 500; }
.meters { display: grid; gap: 12px; margin: 0; padding: var(--space-8) var(--space-16); list-style: none; }
.meter { display: grid; grid-template-columns: 76px minmax(0, 1fr) 72px; align-items: center; gap: var(--space-12); font-size: 13px; color: var(--ink-2); }
.meter-track { position: relative; height: 6px; border-radius: var(--radius-full); background: var(--sunken); overflow: hidden; }
.meter-fill { position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: var(--radius-full); background: var(--brass); transform-origin: left; transform: scaleX(var(--v, 0)); transition: transform 600ms var(--ease-data); }
.meter-fill-ap { left: auto; right: 0; background: var(--ink-3); transform-origin: right; }
.meter-fill-ad { background: var(--ink); }
.meter-value { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); text-align: right; white-space: nowrap; }
.draft-note { min-height: 4.6em; color: var(--ink); }

/* Principles */
.principles { display: grid; gap: var(--space-40); max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 18vh var(--gutter) 14vh; }
.principles-head { display: grid; gap: var(--space-16); }
.principles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-20); }
.principle { gap: var(--space-12); padding: var(--space-28) 24px; }
.principle-icon { width: 30px; height: 30px; margin-bottom: var(--space-8); fill: none; stroke: var(--brass); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.principle h3 { font-size: 19px; line-height: 24px; font-weight: 600; letter-spacing: -0.015em; }
.principle p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }

/* Be the gap */
.scene-widen .stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-28); text-align: center; }
.widen-mark { width: 140px; height: 140px; overflow: visible; }
.widen-title { font-size: clamp(40px, 9vw, 150px); line-height: .92; letter-spacing: -0.055em; white-space: nowrap; }
.widen-final { display: flex; flex-direction: column; align-items: center; gap: var(--space-16); }
.widen-final .lede { font-size: clamp(16px, 1.5vw, 19px); max-width: 28em; }
.pill-lg { height: 40px; padding: 0 18px; font-size: 14px; }
[data-scroll="on"] .widen-mark { position: absolute; inset: 0; width: 100%; height: 100%; }
[data-scroll="on"] .widen-title { position: absolute; left: 50%; top: var(--title-y, 46%); transform: translate(-50%, -50%) scale(calc(.9 + var(--title-in, 0) * .1)); opacity: var(--title-in, 0); }
[data-scroll="on"] .widen-final { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 12svh; opacity: var(--final-in, 0); transform: translate3d(0, calc((1 - var(--final-in, 0)) * 24px), 0); }

.footer { display: grid; gap: var(--space-20); max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: var(--space-40) var(--gutter) 0; overflow: hidden; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-16); flex-wrap: wrap; padding-bottom: var(--space-20); border-bottom: 1px solid var(--line); }
.footer-lockup { display: inline-flex; align-items: center; gap: var(--space-8); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.footer-lockup .mark { width: 20px; height: 20px; }
.footer-meta { display: flex; gap: var(--space-8) var(--space-20); flex-wrap: wrap; font-size: 12px; color: var(--ink-3); }
.footer-legal { max-width: 62em; font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.footer-word { margin: var(--space-12) 0 0; font-size: clamp(72px, 20.5vw, 300px); line-height: .8; font-weight: 600; letter-spacing: -0.065em; text-align: center; white-space: nowrap; color: transparent; background: linear-gradient(var(--line-strong), transparent 92%); -webkit-background-clip: text; background-clip: text; user-select: none; }

@media (max-width: 900px) {
  .improve-panels, .draft-board { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --gutter: var(--space-16); }
  .stage { padding-top: 84px; padding-bottom: 40px; }
  .gold-event span { display: none; }
  .gold-clock { font-size: 26px; line-height: 30px; }
  .gold-value { font-size: 16px; }
  .gold-chart, .gold-events { margin-left: 12px; margin-right: 12px; }
  .match-head, .match-foot { padding-left: 12px; padding-right: 12px; }
  .score { gap: var(--space-16); }
  .score dd { font-size: 17px; }
  .gold-callout { display: none; }
  [data-scroll="on"] .scene-gold .chapter-head .lede { display: none; }
  .lane { grid-template-columns: 52px minmax(0, 1fr); }
  .lane-note { grid-column: 2; text-align: left; margin-top: -4px; }
  .fit-score { font-size: 48px; line-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-dot, .scroll-hint span { animation: none; }
  .hero-intro > *, .hero-mark rect, .topbar > * { animation: fade 120ms ease both; }
  .glow { transform: none; }
  .rail, .gold-event, .meter-fill, .pick-portrait { transition: none; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .pill, .lockup, .card, .rail { background: var(--panel-solid); }
}
@media (prefers-reduced-transparency: reduce) {
  .pill, .lockup, .card, .rail { background: var(--panel-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* 404 */
.not-found { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-20); min-height: 100vh; min-height: 100svh; padding: 96px var(--gutter); text-align: center; }
.not-found-code { font-size: clamp(96px, 18vw, 200px); line-height: .9; font-weight: 500; letter-spacing: -0.06em; color: transparent; background: linear-gradient(var(--ink-3), transparent 95%); -webkit-background-clip: text; background-clip: text; }
.not-found h1 { font-size: clamp(32px, 5vw, 60px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.not-found-home { margin-top: var(--space-12); text-decoration: none; transition: transform 520ms var(--ease-spring); }
.not-found-home:hover { transform: translateY(var(--lift)); }
.not-found-home:active { transform: scale(.95); }
.not-found-home:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
