/* Games page, built from the Figma frame "FVXP — Games partner brief redesign (light)". */
:root {
  --bg: #F9FAFB;
  --ink: #171A1C;
  --body: #40454A;
  --muted: #6B757D;
  --faint: #99A1A6;
  --teal: #0594A8;
  --teal-dark: #047F90;
  --pale: #E5F7FA;
  --pale-line: #C7E5EB;
  --line: #DDE2E5;
  --field: #CCD4D7;
  --chip: #F2F5F6;
  --night: #12171A;
  --gold: #D9991F;
  --col: 1200px;
  --edge: 32px;
  --sec-y: 128px;
  --pad: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.teal { color: var(--teal); }

/* ── Shared pieces ── */
.label { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .1em; line-height: normal; text-transform: uppercase; }
.label.teal, .eyebrow { color: var(--teal); }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.num { color: var(--teal); font-size: 12px; font-weight: 500; letter-spacing: .08em; line-height: normal; }
.copy { color: var(--body); font-size: 14px; line-height: 1.55; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 1px solid var(--teal); border-radius: 0; background: var(--teal); color: #fff; font-size: 15px; font-weight: 500; line-height: normal; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 150ms linear, border-color 150ms linear; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-secondary { background: #fff; border-color: var(--field); color: var(--ink); }
.btn-secondary:hover { background: var(--chip); border-color: var(--field); }
.btn-lg { padding: 15px 26px; font-size: 16px; }

/* ── Grid: a 1200px column with hairline rails ── */
.sec { position: relative; overflow-x: clip; background: #fff; }
.sec.alt { background: var(--bg); }
.col { position: relative; width: min(var(--col), calc(100% - var(--edge) * 2)); margin: 0 auto; padding: var(--sec-y) 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.shead { padding: 0 var(--pad) 56px; }
.shead h2 { max-width: 860px; font-size: 48px; font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.shead .h-xl { max-width: 820px; font-size: 56px; line-height: 1.08; }
.rule-t { border-top: 1px solid var(--line); }
.rule-y { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Rows of equal cells split by hairlines */
.cells { display: grid; }
.cells.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cells.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cell { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; padding: 28px var(--pad); }
.cell.card { padding-bottom: 32px; background: #fff; }
.cells.three > .cell:not(:nth-child(3n + 1)), .cells.five > .cell:not(:first-child) { border-left: 1px solid var(--line); }
.cells.three > .cell:nth-child(n + 4) { border-top: 1px solid var(--line); }
.cell h3 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; line-height: normal; }
.icon { position: relative; display: block; width: 48px; height: 48px; flex: none; }
.icon.lg { width: 64px; height: 64px; }
.icon img { width: 100%; height: 100%; }
/* Canvas that particles.js draws the dot-matrix graphics on; it sizes and places itself */
.particles { position: absolute; z-index: 1; pointer-events: none; }

/* ── Nav ── */
.nav { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 16px 120px; }
.brand { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 13px; text-decoration: none; white-space: nowrap; }
.brand img { width: 176px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--body); font-size: 14px; text-decoration: none; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--teal); }
.menu-btn { display: none; padding: 10px 14px; border: 1px solid var(--field); background: #fff; font-size: 14px; font-weight: 500; cursor: pointer; }

/* ── Hero ── */
.hero { background: linear-gradient(180deg, #E5F6F9 0%, var(--bg) 60%, var(--bg) 100%); }
.hero .col { display: flex; flex-direction: column; gap: 80px; padding: 128px var(--pad) 96px; }
.intro { display: flex; flex-direction: column; align-items: center; text-align: center; }
/* Badge in the game's HUD style: pixel controller, date, and a dot-matrix loading bar */
.badge { display: inline-flex; align-items: stretch; padding: 3px; border: 1px solid var(--field); background: #fff; box-shadow: 0 8px 24px rgba(5, 77, 89, .06); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .08em; line-height: normal; text-transform: uppercase; white-space: nowrap; }
.badge-mark { display: grid; place-items: center; padding: 0 9px; background: var(--teal); }
.badge-mark svg { display: block; }
.badge-text { align-self: center; padding: 6px 12px 6px 12px; }
.badge-rule { align-self: center; width: 1px; height: 14px; background: var(--field); }
.badge-when { align-self: center; padding: 6px 12px; color: var(--teal); }
.badge-load { display: flex; align-items: center; gap: 2px; padding: 0 10px 0 2px; }
.badge-load i { width: 5px; height: 5px; background: rgba(5, 148, 168, .18); animation: load 2.4s steps(1) infinite; }
.badge-load i:nth-child(2) { animation-delay: .2s; }
.badge-load i:nth-child(3) { animation-delay: .4s; }
.badge-load i:nth-child(4) { animation-delay: .6s; }
.badge-load i:nth-child(5) { animation-delay: .8s; }
.badge-load i:nth-child(6) { animation-delay: 1s; }
@keyframes load { 0% { background: rgba(5, 148, 168, .18); } 8%, 70% { background: var(--teal); } 78% { background: rgba(5, 148, 168, .18); } }
.hero h1 { max-width: 1100px; margin-top: 32px; font-family: Montserrat, Inter, sans-serif; font-size: 72px; font-weight: 700; line-height: 1.04; letter-spacing: -.03em; }
.hero-sub { margin-top: 28px; font-size: 26px; font-weight: 500; letter-spacing: -.01em; line-height: normal; }
.hero-sub em { color: var(--teal); font-weight: 400; }
.hero-lede { max-width: 878px; margin-top: 20px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* Game window */
.game-window { background: #fff; border: 1px solid var(--field); box-shadow: 0 24px 60px rgba(5, 77, 89, .08); }
.title-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--bg); }
.game-status { flex: 1; min-width: 0; overflow: hidden; color: var(--bg); font-size: 12px; font-weight: 500; letter-spacing: .04em; line-height: normal; text-align: center; text-overflow: ellipsis; white-space: nowrap; transition: color 200ms linear; }
.game-status.on { color: var(--teal); }
.title-tag { color: var(--teal); font-size: 11px; font-weight: 500; letter-spacing: .1em; line-height: normal; text-transform: uppercase; white-space: nowrap; }
.sound-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 24px; margin: -4px -6px -4px 0; padding: 0; border: 0; background: none; color: var(--teal); cursor: pointer; }
.sound-btn:hover { color: var(--ink); }
.sound-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.sound-btn .cross, .sound-btn.off .wave { display: none; }
.sound-btn.off .cross { display: inline; }
.sound-btn.off { color: var(--muted); }
.game-stage { position: relative; height: 440px; overflow: hidden; outline: none; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.game-stage.active { cursor: default; }
.game-stage:focus-visible { box-shadow: inset 0 0 0 2px var(--teal); }
.sprites { position: absolute; inset: 0; }
.sprites img { position: absolute; max-width: none; }
.game-stage.ready .sprites { visibility: hidden; }
.game-canvas { position: absolute; left: 0; top: 0; }
.hud, .objective, .controls { position: absolute; z-index: 2; display: flex; align-items: center; background: #fff; border: 1px solid var(--field); line-height: normal; white-space: nowrap; }
.hud { left: 20px; top: 18px; gap: 16px; padding: 8px 14px; font-size: 13px; }
.hud p { display: flex; align-items: center; gap: 6px; }
.hud-seeds { font-weight: 500; }
.hud-seeds i { width: 8px; height: 8px; margin: 0 2px; background: var(--gold); transform: rotate(-45deg); }
.hud-seeds b { font-weight: 500; }
.hud-rule { width: 1px; height: 16px; background: var(--field); }
.hud-trees { color: var(--muted); }
.hud-trees b { color: var(--teal); font-weight: 600; }
.hud b { display: inline-block; transition: transform 200ms cubic-bezier(.3, 1.6, .5, 1); }
.hud b.pop { transform: scale(1.45); }
.objective { right: 20px; top: 18px; gap: 8px; padding: 8px 14px; font-size: 13px; font-weight: 500; }
.objective span { color: var(--teal); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.controls { left: 50%; bottom: 0; gap: 14px; padding: 6px 12px; border-bottom: 0; transform: translateX(-50%); }
.key { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.keycap { display: inline-flex; align-items: center; padding: 2px 6px; border: 1px solid var(--field); background: var(--chip); color: var(--ink); font-size: 11px; font-weight: 600; line-height: normal; cursor: pointer; }
.keycap button { padding: 0; border: 0; background: none; font-size: 11px; font-weight: 600; line-height: normal; cursor: pointer; }
.keycap.down, .keycap button.down { color: var(--teal); }
button.keycap.down, .keycap:has(button.down) { border-color: var(--teal); background: var(--pale); }
.play-prompt { position: absolute; z-index: 2; left: 50%; top: 46%; padding: 8px 14px; border: 1px solid var(--teal); background: rgba(255, 255, 255, .92); color: var(--teal); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; transform: translate(-50%, -50%); animation: prompt 1.6s ease-in-out infinite; transition: opacity 200ms linear; }
.game-stage.active .play-prompt, .game-stage.won .play-prompt { opacity: 0; animation: none; }
@keyframes prompt { 50% { transform: translate(-50%, calc(-50% - 4px)); } }
.win-card { position: absolute; z-index: 3; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 10px; width: min(420px, calc(100% - 32px)); padding: 28px 28px 24px; background: #fff; border: 1px solid var(--field); box-shadow: 0 24px 60px rgba(5, 77, 89, .12); text-align: center; transform: translate(-50%, -50%); animation: card-in 420ms cubic-bezier(.2, 1.2, .4, 1); }
.win-card[hidden] { display: none; }
.win-title { font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.win-copy { color: var(--body); font-size: 14px; line-height: 1.55; }
.win-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
@keyframes card-in { from { opacity: 0; transform: translate(-50%, -40%) scale(.96); } }

.presented { display: flex; align-items: center; gap: 14px; margin-top: -40px; }
.presented .logo-xprize { width: auto; height: 26px; }
.presented .logo-xsolla { width: auto; height: 22px; }
.presented-note { margin-left: auto; font-size: 15px; font-weight: 500; }

/* ── Year one ── */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats > div { display: flex; flex-direction: column; gap: 6px; padding: 28px var(--pad); background: #fff; line-height: normal; }
.stats > div:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line); }
.stats > div:nth-child(n + 4) { border-top: 1px solid var(--line); }
.stats b { font-size: 48px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats strong { font-size: 15px; font-weight: 500; }
.stats span { color: var(--muted); font-size: 13px; }
/* Year one → year two, told as a finished save file, the film becoming a game, and the next level loading */
.bridge { display: grid; grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr); align-items: stretch; gap: 0; padding: 32px var(--pad); border-bottom: 1px solid var(--line); background: var(--bg); }
.save { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--field); box-shadow: 0 24px 60px rgba(5, 77, 89, .06); }
.save-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg); line-height: normal; }
.save-bar p { flex: 1; min-width: 0; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; }
.save-dots { display: flex; gap: 5px; }
.save-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--field); }
.save-dots i:first-child { background: var(--teal); }
.save-tag { display: inline-flex; align-items: center; gap: 8px; padding: 3px 8px; border: 1px solid rgba(5, 148, 168, .4); background: #fff; color: var(--teal); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.done .save-tag { border-color: var(--teal); background: var(--teal); color: #fff; }
.save-tag .badge-load { padding: 0; }
.save-tag .badge-load i { width: 4px; height: 4px; }
.save-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); }
.save-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2, .8, .2, 1), opacity 300ms linear; }
.save-media:hover img { transform: scale(1.03); opacity: .9; }
.save-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.save-play { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 500; line-height: normal; }
.save-play svg { color: var(--teal); }
.save-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; }
.winner-fig { color: var(--teal); font-size: 64px; font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.winner-copy { font-size: 16px; line-height: 1.55; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 6px 10px; border: 1px solid rgba(5, 148, 168, .4); background: #fff; color: var(--teal); font-size: 11px; font-weight: 600; letter-spacing: .08em; line-height: normal; text-transform: uppercase; }
.status img { animation: blink 2s ease-in-out infinite; }
.next .save-body { justify-content: center; gap: 20px; padding: 32px 28px; background: linear-gradient(180deg, var(--pale), #fff 70%); }
.year-two-copy { font-size: 26px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.chips-hud { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-hud li { display: flex; align-items: baseline; gap: 6px; padding: 7px 12px; border: 1px solid var(--field); background: #fff; color: var(--muted); font-size: 13px; line-height: normal; }
.chips-hud b { color: var(--teal); font-weight: 600; }
.next-link { color: var(--teal); font-size: 14px; font-weight: 500; text-decoration: none; }
.next-link span { display: inline-block; transition: transform 200ms ease; }
.next-link:hover span { transform: translateY(3px); }
/* The camera's squares rebuild themselves as a controller, on a loop (morph.js) */
.morph { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.morph img { width: 154px; height: 126px; }
.morph img + img { display: none; }
.morph.on img { position: absolute; left: 50%; top: 50%; margin: -78px 0 0 -77px; visibility: hidden; }
.morph-label { display: flex; gap: 6px; color: var(--faint); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.morph.on .morph-label { position: absolute; left: 0; right: 0; bottom: calc(50% - 96px); justify-content: center; }
.morph-label span { transition: color 300ms linear; }
.morph-label span + span::before { content: "→"; margin-right: 6px; color: var(--faint); }
.morph-label .lit { color: var(--teal); }
/* Press: a slow ticker of logos */
.press { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.press > .label { display: flex; align-items: center; flex: none; width: 180px; padding: 0 var(--pad); border-right: 1px solid var(--line); }
.ticker { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-row { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-row, .ticker:focus-within .ticker-row { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.press a { display: flex; flex: none; align-items: center; justify-content: center; gap: 8px; width: 190px; padding: 22px 12px; border-right: 1px solid var(--line); color: var(--teal); font-size: 13px; font-weight: 500; text-decoration: none; transition: background-color 150ms linear; }
.press a:hover { background: #fff; }
.press img { width: auto; max-width: 110px; height: 20px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: opacity 150ms linear, filter 150ms linear; }
.press a:hover img { filter: none; opacity: 1; }
.press a span { transition: transform 150ms ease; }
.press a:hover span { transform: translate(2px, -2px); }
@keyframes blink { 50% { opacity: .25; } }

/* ── Why games ── */
.compare { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.panel { position: relative; height: 300px; overflow: hidden; }
.panel.dystopia { background: #EDEEF0; }
.panel.hopeful { background: var(--pale); border-left: 1px solid var(--line); }
.panel > img { position: absolute; left: 0; top: 0; width: 599px; max-width: none; height: 300px; }
.panel.hopeful > img { left: -1px; }
.caption { position: absolute; z-index: 2; left: 20px; top: 20px; display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; background: #fff; border: 1px solid var(--field); font-size: 14px; font-weight: 500; line-height: normal; }
.caption span { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.caption span.teal { color: var(--teal); }
.compare-canvas { left: 0; top: 0; }
.compare + .cells { border-bottom: 1px solid var(--line); }
.compare + .cells .cell { gap: 14px; padding: 32px var(--pad) 36px; background: #fff; }
.compare + .cells .copy { font-size: 16px; line-height: 1.6; }
.compare + .cells .lead { color: var(--ink); font-size: 19px; font-weight: 500; }
.compare + .cells .cell.plain { background: none; }

/* ── Why now ── */
.beats li { display: flex; align-items: flex-start; gap: 40px; padding: 40px var(--pad); }
.beats li:nth-child(odd) { background: #fff; }
.beats li + li { border-top: 1px solid var(--line); }
.beats .n { color: var(--teal); font-size: 14px; font-weight: 600; letter-spacing: .08em; line-height: normal; }
.beats .body { display: flex; flex: 1; flex-direction: column; gap: 14px; min-width: 0; }
.beats h3 { font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: normal; }
.beats .body p { color: var(--body); font-size: 16px; line-height: 1.6; }
.beats .body .source { color: var(--muted); font-size: 12px; line-height: 1.5; }
.source a { color: var(--teal); }
.fig { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 16px; width: 320px; }
.fig > p { font-size: 72px; font-weight: 500; line-height: 1; letter-spacing: -.05em; white-space: nowrap; }
.fig small { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.waffle { display: grid; grid-template-columns: repeat(10, 11px); gap: 4px; }
.waffle i { width: 11px; height: 11px; border-radius: 1px; background: rgba(5, 148, 168, .15); transition: background-color 220ms linear, transform 220ms cubic-bezier(.3, 1.6, .5, 1); }
.waffle i.on { background: var(--teal); }
.waffle.pending i.on { background: rgba(5, 148, 168, .15); transform: scale(.4); }
.waffle i.on:hover { transform: scale(1.3); }

/* ── How it works ── */
.purse-wrap { padding: 0 var(--pad) 24px; }
.purse { display: flex; align-items: center; gap: 32px; padding: 36px; background: var(--night); color: #D1DBE0; font-size: 20px; line-height: 1.5; }
.purse-fig { color: #fff; font-size: 72px; font-weight: 500; line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.split { display: flex; flex-direction: column; gap: 10px; padding: 8px var(--pad) 32px; }
.split-bar { display: flex; gap: 3px; }
.split-bar span { flex: var(--w) 0 0; height: 14px; background: rgba(5, 148, 168, var(--o)); transform-origin: left; transition: transform 700ms cubic-bezier(.2, .8, .2, 1); }
.split-bar.pending span { transform: scaleX(0); }
.awards .cell { background: #fff; }
.awards .cell.grand { background: var(--pale); }
.awards h3 { font-size: 18px; }
.awards .amt { font-size: 36px; font-weight: 500; letter-spacing: -.03em; line-height: normal; }
.awards .grand .amt { font-size: 44px; }
.total { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--pad); background: var(--night); line-height: normal; }
.total p:first-child { display: flex; align-items: baseline; gap: 16px; }
.total b { color: #fff; font-size: 18px; font-weight: 500; }
.total span { color: #B2BFC7; font-size: 13px; }
.total-fig { color: #4DEBFF; font-size: 36px; font-weight: 500; letter-spacing: -.03em; }
.format-head { padding: 56px var(--pad) 24px; }

/* ── Who can enter: pinned while you scroll through the five rules ── */
.enter-list, .enter-art, .enter-count { display: none; }
.enter-stage { display: grid; }
.enter-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px var(--pad) 32px; background: #fff; }
.enter-card + .enter-card { border-top: 1px solid var(--line); }
.enter-card .enter-icon { width: 64px; height: 64px; }
.enter-card h3 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; line-height: normal; }

.enter { --pin-h: 520px; }
.enter.on { height: calc(var(--pin-h) + 4 * 62vh); }
.enter.on .enter-pin { position: sticky; top: max(24px, calc(50vh - var(--pin-h) / 2)); display: grid; grid-template-columns: 5fr 7fr; height: var(--pin-h); background: #fff; }
.enter.on .enter-list { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--bg); }
.enter-list li { flex: 1; }
.enter-list li + li { border-top: 1px solid var(--line); }
.enter-list a { position: relative; display: flex; align-items: center; gap: 20px; height: 100%; padding: 0 var(--pad); color: var(--muted); font-size: 20px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; transition: color 250ms linear, background-color 250ms linear; }
.enter-list a:hover { color: var(--ink); }
.enter-list .num { width: 22px; color: var(--faint); transition: color 250ms linear; }
.enter-list a.now { background: #fff; color: var(--ink); }
.enter-list a.now .num, .enter-list a.past .num { color: var(--teal); }
.enter-list a.past { color: var(--body); }
/* Progress through each rule fills the rail on its left edge */
.enter-bar { position: absolute; left: -1px; top: 0; bottom: 0; width: 3px; background: var(--teal); transform: scaleY(var(--fill, 0)); transform-origin: top; }
.enter.on .enter-stage { position: relative; display: block; overflow: hidden; }
.enter.on .enter-art { position: absolute; left: 48px; top: 48px; display: block; width: 192px; height: 192px; }
.enter-art canvas { position: absolute; left: 0; top: 0; }
.enter.on .enter-card { position: absolute; inset: 0; justify-content: flex-end; gap: 14px; padding: 48px 48px 72px; border: 0; background: none; opacity: 0; visibility: hidden; transform: translateY(28px); transition: opacity 380ms ease, transform 480ms cubic-bezier(.2, .8, .2, 1), visibility 0s linear 480ms; }
.enter.on .enter-card.now { opacity: 1; visibility: visible; transform: none; transition-delay: 120ms, 120ms, 0s; }
.enter.on .enter-card.gone { transform: translateY(-28px); }
.enter.on .enter-icon { visibility: hidden; }
.enter.on .enter-card h3 { font-size: 40px; letter-spacing: -.03em; }
.enter.on .enter-card .copy { max-width: 460px; font-size: 18px; }
.enter.on .enter-count { position: absolute; right: 48px; top: 48px; display: block; color: var(--faint); font-size: 13px; font-weight: 500; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.enter-count b { color: var(--teal); font-weight: 500; }

/* ── The season ── */
/* Fallback: a plain row of six steps */
.season { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 0 var(--pad); }
.season li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-right: 18px; }
.season .rail { position: relative; display: flex; align-items: center; width: 100%; height: 18px; margin-bottom: 6px; }
.season .rail::after { content: ""; flex: 1; height: 2px; background: rgba(5, 148, 168, .35); }
.season li:last-child .rail::after { visibility: hidden; }
.season .rail img { flex: none; width: 14px; height: 14px; }
.season .hot .rail img { width: 42px; height: 42px; margin: -12px; }
.season h3 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; line-height: normal; }
.tl-head, .tl-ruler, .tl-rail, .tl-playhead { display: none; }

/* Scrubbed timeline: the section pins and the months slide up past a fixed playhead */
.tl { --mh: 170px; --pin-h: 560px; --rail-x: 230px; }
.tl.on { height: calc(var(--pin-h) + var(--scrub, 2400px)); }
.tl.on .tl-pin { position: sticky; top: max(24px, calc(50vh - var(--pin-h) / 2)); height: var(--pin-h); display: flex; flex-direction: column; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.tl.on .tl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px var(--pad); border-bottom: 1px solid var(--line); background: var(--bg); }
.tl-now { display: flex; align-items: baseline; gap: 12px; line-height: normal; }
.tl-now b { color: var(--teal); font-size: 22px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tl-now span { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.tl.on .tl-view { position: relative; flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); }
.tl.on .tl-track { position: absolute; left: 0; right: 0; top: 0; height: calc(12 * var(--mh)); will-change: transform; }
/* Ruler down the left: a tick every week, a longer one at each month, and the month names */
.tl.on .tl-ruler { position: absolute; left: 0; top: 0; bottom: 0; display: block; width: calc(var(--rail-x) - 48px);
  background:
    linear-gradient(180deg, var(--field) 2px, transparent 2px) right 0 top 0 / 22px var(--mh) repeat-y,
    linear-gradient(180deg, var(--line) 2px, transparent 2px) right 0 top 0 / 10px calc(var(--mh) / 4) repeat-y; }
.tl-ruler span { position: absolute; left: var(--pad); margin-top: -7px; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .1em; line-height: normal; text-transform: uppercase; white-space: nowrap; transition: color 200ms linear; }
.tl-ruler span.past { color: var(--teal); }
/* Rail: dot-matrix, filled down to the playhead */
.tl.on .tl-rail { position: absolute; top: 0; bottom: 0; left: calc(var(--rail-x) - 2px); display: block; width: 4px; background: repeating-linear-gradient(180deg, rgba(5, 148, 168, .22) 0 4px, transparent 4px 7px); }
.tl-fill { position: absolute; left: 0; right: 0; top: 0; height: var(--at, 0px); background: repeating-linear-gradient(180deg, var(--teal) 0 4px, transparent 4px 7px); }
/* Playhead across the middle */
.tl.on .tl-playhead { position: absolute; left: 0; right: 0; top: 50%; display: block; height: 2px; margin-top: -1px; background: var(--teal); box-shadow: 0 0 0 4px rgba(5, 148, 168, .08); pointer-events: none; }
.tl-playhead::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; background: var(--teal); transform: translate(-50%, -50%) rotate(45deg); }
.tl-playhead::after { content: ""; position: absolute; left: var(--rail-x); top: 50%; width: 14px; height: 14px; border: 2px solid var(--teal); background: #fff; transform: translate(-50%, -50%); }
/* Milestones hang off the rail at their date; phases get a bar like a clip on an editing timeline */
.tl.on .season { position: absolute; inset: 0; display: block; padding: 0; }
.tl.on .season li { position: absolute; left: calc(var(--rail-x) + 36px); right: var(--pad); top: calc(var(--at) * var(--mh) - 9px); max-width: 560px; padding: 0; gap: 8px; opacity: .35; transform: translateX(10px); transition: opacity 350ms ease, transform 450ms cubic-bezier(.2, .8, .2, 1); }
.tl.on .season li.past { opacity: .75; transform: none; }
.tl.on .season li.now { opacity: 1; transform: none; }
.tl.on .season .rail { position: absolute; left: -36px; top: 9px; width: 0; height: 0; margin: 0; }
.tl.on .season .rail::after { display: none; }
.tl.on .season .rail img { position: absolute; left: 0; top: 0; margin: 0; transform: translate(-50%, -50%); transition: transform 300ms cubic-bezier(.3, 1.6, .5, 1); }
.tl.on .season li.now .rail img { transform: translate(-50%, -50%) scale(1.35); }
.tl.on .season li.now:not(.hot) .rail img { filter: drop-shadow(0 0 6px rgba(5, 148, 168, .5)); }
.tl.on .season .hot.now .rail img { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: translate(-50%, -50%) scale(1.6); } }
.tl-span { position: absolute; left: calc(var(--rail-x) - 30px); width: 14px; border-top: 2px solid var(--teal); background: rgba(5, 148, 168, .1); }
.tl-span i { position: absolute; left: 0; right: 0; top: 0; height: var(--done, 0%); background: rgba(5, 148, 168, .28); }
.tl-span b { position: absolute; left: 50%; top: 8px; color: var(--teal); font-size: 10px; font-weight: 600; letter-spacing: .1em; line-height: 1; text-transform: uppercase; white-space: nowrap; writing-mode: vertical-rl; transform: translateX(-50%); }
.tl.on .season h3 { font-size: 26px; letter-spacing: -.02em; }
.tl.on .season .copy { font-size: 15px; }

/* ── Who's building it ── */
.org { gap: 12px; }
.org h3 { font-size: 22px; }
.org-logo { display: flex; align-items: center; height: 36px; }
.org-logo img { width: auto; height: 28px; }
.org-logo.wordmark { color: var(--ink); font-family: Montserrat, Inter, sans-serif; font-size: 18px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.advisors { display: grid; grid-template-columns: 1fr 1fr; }
.advisors article { display: flex; align-items: center; gap: 20px; padding: 28px var(--pad); }
.advisors article + article { border-left: 1px solid var(--line); }
.advisors img { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--pale); }
.advisors article > div { display: flex; flex-direction: column; gap: 6px; }
.advisors h3 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; line-height: normal; }

/* ── Pipeline ── */
.pipeline { position: relative; height: 120px; }
.pipeline img { position: absolute; left: 0; top: 0; width: 100%; max-width: none; height: 120px; }

/* ── Own the optimistic future ── */
.get { display: flex; background: var(--pale); }
.get-title { display: flex; flex: none; flex-direction: column; gap: 16px; width: 360px; padding: 40px 32px 40px var(--pad); border-right: 1px solid var(--pale-line); }
.get-title h3 { font-size: 40px; font-weight: 500; letter-spacing: -.03em; line-height: normal; }
.stage-illo { position: relative; width: 198px; }
.stage-illo img { width: 198px; height: 162px; }
.get-items { display: flex; flex: 1; min-width: 0; }
.get-items li { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: 16px; min-width: 0; padding: 40px var(--pad); }
.get-items li + li { border-left: 1px solid var(--pale-line); }
.get-items h4 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; line-height: normal; }
.get-items .copy { font-size: 15px; }
.ways { margin-top: 32px; }
.section-cta { display: flex; justify-content: flex-end; padding: 32px var(--pad) 0; }

/* ── Close ── */
.close .col { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 160px 0 0; overflow: hidden; text-align: center; }
.echo { color: var(--muted); font-size: 18px; }
.echo b { color: var(--teal); font-weight: 600; }
.close h2 { max-width: 1150px; padding: 0 var(--pad); font-family: Montserrat, Inter, sans-serif; font-size: 76px; font-weight: 700; line-height: 1.04; letter-spacing: -.03em; }
.close-sub { color: var(--body); font-size: 19px; }
.close .actions { align-items: center; margin-top: 0; }
.copy-email { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--field); background: var(--bg); font-size: 15px; font-weight: 500; line-height: normal; cursor: pointer; }
.copy-email .state { padding: 3px 8px; background: var(--pale); color: var(--teal); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.copy-email:hover { border-color: var(--teal); }
.sunrise { position: relative; width: 100%; height: 220px; }
.sunrise img { position: absolute; left: 0; top: 0; width: 100%; max-width: none; height: 221px; }

/* ── Footer ── */
.footer { display: flex; flex-direction: column; gap: 24px; padding: 40px 120px; background: #fff; border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; }
.brand.small img { width: 148px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 13px; line-height: normal; }
.footer-links a, .footer-links button { padding: 0; border: 0; background: none; color: var(--body); text-decoration: none; cursor: pointer; }
.footer-links button { color: var(--teal); font-weight: 500; }
.footer-links a:hover { color: var(--teal); }
.legal { color: var(--faint); font-size: 11px; line-height: 1.6; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }

/* ── Partner modal ── */
.modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(23, 26, 28, .45); }
.modal-dialog { position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 37px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 48px rgba(0, 0, 0, .1); }
.modal-form, .modal-thanks { display: flex; flex-direction: column; gap: 20px; }
.modal-thanks[hidden], .modal-form[hidden] { display: none; }
.modal-thanks { align-items: flex-start; }
.modal-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; }
.modal-top h2 { font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.modal-close { padding: 0; border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 500; cursor: pointer; }
.modal-close:hover { color: var(--ink); }
.modal-lead { color: var(--body); font-size: 15px; line-height: 1.5; }
.modal-dialog form { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.modal-dialog form > label, .row2 { width: 100%; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-dialog label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
.modal-dialog input[type="text"], .modal-dialog input[type="email"], .modal-dialog textarea, .modal-dialog select { width: 100%; padding: 12px 14px; border: 1px solid var(--field); border-radius: 0; background: #fff; font-size: 14px; font-weight: 400; line-height: normal; }
.modal-dialog textarea { height: 88px; resize: vertical; }
.modal-dialog button[type="submit"]:disabled { opacity: .6; cursor: default; }
.form-error { color: #B42318; font-size: 13px; font-weight: 500; }
.form-error a { color: inherit; }
.fine a { color: var(--teal); font-size: 12px; }

/* ── Tablet ── */
@media (max-width: 1199px) {
  :root { --sec-y: 104px; }
  .nav-row, .footer { padding-left: var(--edge); padding-right: var(--edge); }
  .nav-links { gap: 20px; }
  .hero h1 { font-size: 60px; }
  .shead .h-xl { font-size: 48px; }
  .panel > img { left: 50%; transform: translateX(-50%); }
  .panel.hopeful > img { left: 50%; }
  .cells.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cells.five > .cell:nth-child(n) { border-left: 0; }
  .cells.five > .cell:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line); }
  .cells.five > .cell:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .fig { width: 240px; }
  .bridge { grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); }
  .morph img { width: 116px; height: 95px; }
  .morph.on img { margin: -60px 0 0 -58px; }
  .fig > p { font-size: 56px; }
  .purse-fig { font-size: 56px; }
  .season { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .tl:not(.on) .season li:nth-child(3) .rail::after { visibility: hidden; }
  .get { flex-direction: column; }
  .get-title { width: auto; border-right: 0; border-bottom: 1px solid var(--pale-line); }
  .close h2 { font-size: 60px; }
}

/* ── Phone ── */
@media (max-width: 899px) {
  :root { --edge: 16px; --sec-y: 80px; --pad: 16px; }
  .nav-row { position: relative; flex-wrap: wrap; min-height: 64px; padding: 12px var(--edge); }
  .brand img { width: 150px; }
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--edge) 16px; background: #fff; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 12px; }
  .hero .col { gap: 48px; padding: 72px var(--pad) 64px; }
  .badge { font-size: 10px; letter-spacing: .06em; }
  .badge-text, .badge-when { padding: 6px 8px; }
  .badge-load { display: none; }
  .hero h1 { margin-top: 24px; font-size: clamp(34px, 7.4vw, 56px); }
  .hero-sub { margin-top: 20px; font-size: 19px; }
  .hero-lede { font-size: 16px; }
  .actions { margin-top: 32px; }
  .game-window { margin: 0 calc(var(--pad) * -1 + 8px); }
  .title-tag { display: none; }
  .game-status { text-align: left; }
  .objective { display: none; }
  .hud { left: 10px; top: 10px; gap: 10px; padding: 6px 10px; font-size: 12px; }
  .controls { gap: 10px; padding: 6px 10px; }
  .keycap, .keycap button { padding: 6px 10px; font-size: 13px; }
  .keycap button { padding: 0 4px; }
  .presented { flex-wrap: wrap; margin-top: -16px; }
  .presented-note { flex-basis: 100%; margin-left: 0; font-size: 14px; }
  .shead { padding-bottom: 36px; }
  .shead h2, .shead .h-xl { font-size: clamp(30px, 5.6vw, 42px); }
  .stats, .cells.three, .cells.five, .bridge, .compare, .advisors { grid-template-columns: 1fr; }
  .bridge { padding: 20px var(--pad); }
  .morph { height: 200px; }
  .morph.on .morph-label { bottom: 6px; }
  .press > .label { width: auto; padding: 0 14px; }
  .press a { width: 150px; }
  .stats > div:nth-child(n), .cells.three > .cell:nth-child(n), .cells.five > .cell:nth-child(n) { border-left: 0; }
  .stats > div + div, .cells.three > .cell + .cell, .cells.five > .cell + .cell, .advisors article + article { border-left: 0; border-top: 1px solid var(--line); }
  .stats b { font-size: 40px; }
  .winner-fig { font-size: 52px; }
  .year-two-copy { font-size: 21px; }
  .panel.hopeful { border-left: 0; border-top: 1px solid var(--line); }
  .panel { height: 260px; }
    .beats li { flex-wrap: wrap; gap: 16px 20px; padding: 32px var(--pad); }
  .beats .body { flex-basis: calc(100% - 40px); }
  .beats h3 { font-size: 22px; }
  .fig { width: 100%; align-items: flex-start; padding-left: 40px; }
  .fig > p { font-size: 48px; }
  .purse { flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 24px; font-size: 17px; }
  .purse-fig { font-size: 48px; }
  .split-bar { gap: 2px; }
  .total { padding: 20px var(--pad); }
  .total-fig { font-size: 28px; }
  .format-head { padding-top: 40px; }
  .enter { --pin-h: 470px; }
  .enter.on .enter-pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .enter.on .enter-list { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); }
  .enter-list li + li { border-top: 0; border-left: 1px solid var(--line); }
  .enter-list a { justify-content: center; padding: 14px 0; }
  .enter-list .enter-name { display: none; }
  .enter-bar { left: 0; right: 0; top: auto; bottom: -1px; width: auto; height: 3px; transform: scaleX(var(--fill, 0)); transform-origin: left; }
  .enter.on .enter-art { left: var(--pad); top: 24px; width: 128px; height: 128px; }
  .enter.on .enter-card { padding: 24px var(--pad) 32px; }
  .enter.on .enter-card h3 { font-size: 28px; }
  .enter.on .enter-card .copy { font-size: 16px; }
  .enter.on .enter-count { right: var(--pad); top: 24px; }
  .season { grid-template-columns: 1fr; row-gap: 28px; }
  .season .rail::after { display: none; }
  .tl { --mh: 190px; --pin-h: 540px; --rail-x: 132px; }
  .tl.on .tl-head { flex-direction: column; gap: 4px; }
  .tl.on .season li { left: calc(var(--rail-x) + 28px); }
  .tl.on .season .rail { left: -28px; }
  .tl-ruler span { left: 12px; font-size: 10px; letter-spacing: .08em; }
  .tl.on .season h3 { font-size: 22px; }
  .get-items { flex-direction: column; }
  .get-items li { padding: 28px var(--pad); }
  .get-items li + li { border-left: 0; border-top: 1px solid var(--pale-line); }
  .section-cta { justify-content: flex-start; }
  .pipeline { height: 64px; }
  .pipeline img { height: 64px; }
  .close .col { padding-top: 96px; }
  .close h2 { font-size: clamp(36px, 7.4vw, 56px); }
  .echo { font-size: 16px; padding: 0 var(--pad); }
  .close-sub { font-size: 16px; padding: 0 var(--pad); }
  .close .actions { padding: 0 var(--pad); }
  .fig small { white-space: normal; }
  .sunrise { height: 140px; }
  .sunrise img { left: 50%; width: 760px; height: 140px; transform: translateX(-50%); }
  .footer { padding: 32px var(--edge); }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .brand.small { flex-wrap: wrap; gap: 10px; }
  .modal-dialog { padding: 24px; }
  .row2 { grid-template-columns: 1fr; }
}

/* ── Small phones ── */
@media (max-width: 599px) {
  .actions { flex-direction: column; align-self: stretch; }
  .hero .actions .btn { width: 100%; }
  .save-bar { flex-wrap: wrap; }
}

/* ── Very narrow phones: the game's controls bar keeps just the keycaps ── */
@media (max-width: 399px) {
  .controls { gap: 6px; padding: 5px 6px; }
  .controls .key { gap: 0; font-size: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .badge-load i:nth-child(-n + 4) { background: var(--teal); }
  .badge-load i { animation: none; }
  .ticker-row { animation: none; flex-wrap: wrap; width: auto; }
  .ticker-row a[aria-hidden] { display: none; }
  .play-prompt, .status img, .tl.on .season .hot.now .rail img { animation: none; }
  .split-bar.pending span { transform: none; }
  .waffle.pending i.on { background: var(--teal); transform: none; }
}
