/*
 * Athlattice home, round 2. Published at athlattice.com.
 * Structure follows the owner's reference (a cinematic product-launch page: HUD hero with
 * live telemetry, ticker, part explorer, modes chart, finish switcher, spec sheet, booking
 * form, wordmark footer). Colours are the app's own tokens (DESIGN.md "The Departure Board"):
 * flap black ground, pad and steel panels, one amber lamp for now and act.
 */
@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations");
}
@font-face {
  font-family: "Martian Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(fonts/martian-mono-latin-wght-normal.woff2) format("woff2-variations");
}

:root {
  --ground: #0c0d0f;      /* flap black */
  --pad: #17191c;         /* pad tray */
  --steel: #1f2124;       /* app ground */
  --key: #2f3237;
  --line: #3a3e44;
  --rule: rgb(58 62 68 / 0.62);
  --text: #f4f5f6;
  --soft: #c9cdd2;
  --muted: #a3a9b1;
  --dim: #767d86;       /* lifted from the app's #6f767f to reach 4.5:1 on flap black (launch, 27 Nov 2026) */
  --amber: #f2a900;
  --now-ink: #121212;
  --six: #84c4a0;
  --hinge: rgb(242 169 0 / 0.85);
  --sans: "Archivo Variable", ui-sans-serif, system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --edge: 32px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  color-scheme: dark;
}
@media (max-width: 760px) { :root { --edge: 20px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ground); color: var(--text);
  font: 400 16px/1.55 var(--sans); overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
::selection { background: var(--amber); color: var(--now-ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.mono { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.mono-sm { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.wide { font-stretch: 125%; font-variation-settings: "wdth" 125; }
.display {
  margin: 0; font-weight: 800; text-transform: uppercase; line-height: 0.98; letter-spacing: 0.01em;
  font-stretch: 125%; font-variation-settings: "wdth" 125;
}
.h2 {
  margin: 0; font-weight: 700; line-height: 1.02; letter-spacing: 0.035em;
  font-size: clamp(36px, 4.6vw, 66px); font-stretch: 112%; font-variation-settings: "wdth" 112;
  text-wrap: balance;
}
.lede { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 30em; text-wrap: pretty; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.eyebrow .n { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--amber); }
.eyebrow .bar { width: 32px; height: 1px; background: var(--line); }
.eyebrow .t { font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.fig { font-family: var(--mono); font-weight: 500; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.unit { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); margin-left: 6px; }

.page { max-width: 1440px; margin: 0 auto; padding-inline: var(--edge); }
section { position: relative; }
.sec { padding-top: 168px; }
@media (max-width: 760px) { .sec { padding-top: 112px; } }
.sec-head { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 40px; align-items: end; margin-bottom: 64px; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; } }

/* ---------- live dot ---------- */
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; }
.dot.pulse { animation: live 1.8s ease-in-out infinite; }
@keyframes live { 50% { opacity: 0.25; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 30; height: 64px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-inline: var(--edge);
  transition: background-color 240ms ease, box-shadow 240ms ease;
}
.nav.solid { background: rgb(12 13 15 / 0.94); box-shadow: 0 1px 0 var(--rule); }
.mark { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.mark-tile {
  position: relative; width: 26px; height: 26px; border-radius: 6px; background: var(--ground);
  box-shadow: 0 0 0 2px var(--amber); display: grid; place-items: center;
  font: 900 17px/1 var(--sans); font-stretch: 70%; font-variation-settings: "wdth" 70; color: #fff;
}
.mark-tile::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--hinge); }
.mark-word { font-weight: 700; font-size: 15px; letter-spacing: 0.3em; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.nav-links { display: flex; gap: 40px; }
.nav-links a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--soft); transition: color 160ms ease; }
.nav-cta {
  justify-self: end; display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 18px;
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  transition: box-shadow 160ms ease, transform 120ms var(--ease-out);
}
.nav-cta:active { transform: scale(0.97); }
.menu-btn { display: none; justify-self: end; width: 40px; height: 40px; place-items: center; }
.menu-btn i { display: block; width: 18px; height: 1.5px; background: var(--text); margin: 4px auto; transition: transform 200ms var(--ease-out), opacity 120ms; }
.menu-open .menu-btn i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-open .menu-btn i:nth-child(2) { opacity: 0; }
.menu-open .menu-btn i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.menu {
  position: fixed; inset: 64px 0 0; z-index: 29; background: var(--ground); padding: 24px var(--edge);
  display: flex; flex-direction: column; gap: 4px; visibility: hidden; opacity: 0; transition: opacity 200ms ease, visibility 0s 200ms;
}
.menu-open .menu { visibility: visible; opacity: 1; transition: opacity 200ms ease; }
.menu a { font-weight: 700; font-size: 30px; letter-spacing: 0.04em; text-transform: uppercase; font-stretch: 112%; font-variation-settings: "wdth" 112; padding: 14px 0; box-shadow: 0 1px 0 var(--rule); }
.menu a.go { margin-top: 24px; box-shadow: none; display: inline-flex; align-items: center; gap: 10px; color: var(--amber); font-size: 18px; letter-spacing: 0.2em; }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--text); }
  .nav-cta:hover { box-shadow: inset 0 0 0 1px var(--amber); }
}
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: grid; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: max(820px, 100svh); padding-top: 76px; overflow: hidden;
  display: flex; flex-direction: column;
}
.hero-floor { position: absolute; inset: 0; pointer-events: none; }
.hero-floor svg { position: absolute; left: 50%; bottom: 96px; width: 1800px; height: 340px; transform: translateX(-50%); }
.hero-lamp {
  position: absolute; left: 50%; top: 270px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgb(244 245 246 / 0.07), transparent); pointer-events: none;
}
.hero-head { position: relative; text-align: center; }
.hero-kicker { display: inline-flex; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--soft); }
.hero-kicker b { color: var(--amber); font-weight: 400; }
.hero h1 { font-size: clamp(36px, 6.4vw, 94px); margin-top: 18px; letter-spacing: 0.015em; }
.hero h1 .l2 { display: block; color: var(--muted); }
.hero h1 .l1 { display: block; }

.stage { position: relative; flex: 1; min-height: 500px; margin-top: 8px; }
.hud {
  position: absolute; left: 50%; top: 18px; bottom: 34px; width: min(840px, 62vw); transform: translateX(-50%);
}
.hud::before, .hud::after, .hud i::before, .hud i::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid var(--muted); opacity: 0.6;
}
.hud::before { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.hud::after { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.hud i::before { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.hud i::after { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.hud-foot { position: absolute; left: 0; right: 0; bottom: -28px; display: flex; justify-content: space-between; }
.hud-foot .mono-sm { color: var(--dim); }
.hud-foot .live { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); }

.phone-slot { position: absolute; left: 50%; top: 4px; bottom: 0; transform: translateX(-50%); display: flex; align-items: center; }

/* Callouts: label, value, a leader to the part */
.co { position: absolute; z-index: 2; }
.co .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
.co .v { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--text); margin-top: 6px; white-space: nowrap; }
.co .lead { position: absolute; height: 1px; background: rgb(163 169 177 / 0.45); top: 40px; }
.co .lead::after { content: ""; position: absolute; top: -2.5px; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.co.l .lead { left: 0; } .co.l .lead::after { right: -3px; }
.co.r { text-align: right; } .co.r .lead { right: 0; } .co.r .lead::after { left: -3px; }

.telemetry { position: absolute; left: var(--edge); top: 52px; width: 200px; }
.tl-big { display: flex; align-items: baseline; margin: 14px 0 22px; white-space: nowrap; }
.tl-big .fig { font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.tl-row { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; box-shadow: 0 -1px 0 var(--rule); }
.tl-row + .meter, .tl-row + .segs { margin: 10px 0 20px; }
.tl-row .fig { font-size: 11px; letter-spacing: 0.14em; }
.meter { height: 2px; background: var(--key); position: relative; overflow: hidden; }
.meter b { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--amber); transform-origin: left; transition: transform 420ms var(--ease-out); }
.segs { display: grid; gap: 4px; }
.segs i { height: 4px; background: var(--key); transition: background-color 200ms ease; }
.segs i.on { background: var(--amber); }
.segs.s10 { grid-template-columns: repeat(10, 1fr); }
.segs.s6 { grid-template-columns: repeat(6, 1fr); }

.stats { position: absolute; right: var(--edge); top: 70px; width: 210px; }
.stats .row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; box-shadow: 0 1px 0 var(--rule); }
.stats .row .fig { font-size: 13px; letter-spacing: 0.08em; }
.stats .segs { margin-top: 14px; }

.hero-foot {
  position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 16px var(--edge) 18px; box-shadow: 0 -1px 0 var(--rule);
}
.scroll-cue { display: flex; align-items: center; gap: 14px; }
.scroll-cue .line { position: relative; width: 1px; height: 40px; background: var(--key); overflow: hidden; }
.scroll-cue .line::after { content: ""; position: absolute; inset: 0; background: var(--amber); animation: cue 2.4s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.tap { text-align: center; }
.tap-label { display: flex; align-items: center; justify-content: center; gap: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; }
.tap-label .chev { color: var(--amber); }
.tap-keys { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.tk {
  min-width: 40px; height: 34px; padding: 0 8px; border-radius: 6px; background: var(--pad); box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  transition: transform 120ms var(--ease-out), box-shadow 160ms ease, background-color 160ms ease;
}
.tk:active { transform: scale(0.94); }
.tk.b4 { background: #fff; color: var(--ground); box-shadow: none; }
.tk.b6 { background: var(--six); color: var(--ground); box-shadow: none; }
.tk.out { background: var(--amber); color: var(--now-ink); box-shadow: none; }
.tk.wd { color: var(--amber); }
@media (hover: hover) and (pointer: fine) { .tk:hover { box-shadow: inset 0 0 0 1px var(--muted); } .tk.b4:hover, .tk.b6:hover, .tk.out:hover { box-shadow: inset 0 0 0 2px rgb(12 13 15 / 0.35); } }
.ball-count { justify-self: end; text-align: right; }
.ball-count .fig { display: block; font-size: 15px; margin-top: 6px; letter-spacing: 0.12em; }

/* ---------- the phone (a rebuilt score screen, the app's own tokens) ---------- */
.phone {
  --w: 286px; width: var(--w); font-size: calc(var(--w) / 30);
  border-radius: calc(var(--w) * 0.13); padding: calc(var(--w) * 0.035); background: #050506;
  box-shadow: 0 0 0 1px #2a2d31, 0 40px 80px rgb(0 0 0 / 0.55);
  position: relative;
}
.screen {
  position: relative; overflow: hidden; border-radius: calc(var(--w) * 0.1); background: #1f2124; color: #f4f5f6;
  font-family: var(--sans); line-height: 1.2; padding: 2.9em 1.1em 1em;
}
.screen::before { content: ""; position: absolute; top: 0.7em; left: 50%; width: 7em; height: 1.9em; border-radius: 1em; background: #050506; transform: translateX(-50%); }
.sc-top { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; }
.sc-title { font-weight: 700; font-size: 1.35em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-sub { font-size: 0.95em; color: #a3a9b1; margin-top: 0.15em; }
.sc-live { display: inline-flex; align-items: center; gap: 0.4em; background: var(--amber); color: var(--now-ink); border-radius: 0.35em; padding: 0.3em 0.55em; font-weight: 900; font-size: 0.95em; letter-spacing: 0.14em; font-stretch: 125%; font-variation-settings: "wdth" 125; }
.sc-live .dot { width: 0.5em; height: 0.5em; background: #6b4a00; }
.sc-team { text-align: center; margin: 0.8em 0 0.5em; font-weight: 900; font-size: 1em; letter-spacing: 0.3em; font-stretch: 125%; font-variation-settings: "wdth" 125; }
.sc-board { display: grid; grid-template-columns: auto auto 1fr; gap: 0.6em; align-items: end; }
.sc-lab { font-weight: 800; font-size: 0.75em; letter-spacing: 0.16em; color: #a3a9b1; margin-bottom: 0.35em; font-stretch: 125%; font-variation-settings: "wdth" 125; white-space: nowrap; }
.flaps { display: flex; gap: 0.18em; align-items: center; }
.flap {
  position: relative; display: inline-grid; place-items: center; overflow: hidden;
  background: #0c0d0f; color: #fff; border-radius: 0.14em;
  font-weight: 900; font-stretch: 70%; font-variation-settings: "wdth" 70; line-height: 1;
  width: 0.74em; height: 1.12em;
}
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--hinge); }
@media (min-resolution: 2dppx) { .flap::after { height: 0.5px; } }
.flap span { display: block; }
.flap.flip span { animation: flip 260ms var(--ease-out); }
@keyframes flip { from { transform: translateY(-38%); opacity: 0; } }
.slash { font-weight: 900; color: #6f767f; font-stretch: 70%; font-variation-settings: "wdth" 70; }
.sc-runs { font-size: 3.05em; }
.sc-overs { font-size: 1.75em; }
.sc-overs .dotsep { font-weight: 900; color: #a3a9b1; font-size: 0.8em; }
.sc-side { justify-self: end; display: grid; grid-template-columns: auto auto; gap: 0.1em 0.6em; font-size: 0.88em; align-self: center; white-space: nowrap; }
.sc-side dt { color: #a3a9b1; }
.sc-side dd { margin: 0; text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.sc-side .ahead { grid-column: 1 / -1; text-align: right; color: #3fbf6a; font-weight: 700; font-size: 0.95em; }
.sc-need { display: flex; align-items: center; gap: 0.55em; margin: 0.7em 0 0.5em; font-weight: 700; font-size: 1.3em; }
.sc-need .dot { width: 0.5em; height: 0.5em; }
.sc-rows { box-shadow: 0 -1px 0 #3a3e44; }
.sc-row { display: flex; align-items: center; gap: 0.6em; padding: 0.55em 0; box-shadow: 0 1px 0 #3a3e44; }
.sc-row .pill { width: 0.35em; height: 1.2em; border-radius: 1em; background: transparent; }
.sc-row.on .pill { background: var(--amber); }
.sc-row .nm { flex: 1; font-weight: 600; font-size: 1.25em; letter-spacing: 0.03em; text-transform: uppercase; font-stretch: 88%; font-variation-settings: "wdth" 88; }
.sc-row .sc { font-weight: 800; font-size: 1.3em; font-variant-numeric: tabular-nums; }
.sc-row .sc small { font-size: 0.75em; color: #a3a9b1; font-weight: 700; }
.sc-bowl { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.75em; font-size: 1.05em; }
.sc-bowl b { font-weight: 700; }
.sc-bowl span { color: #a3a9b1; }
.sc-bowl .fg { font-weight: 800; color: #f4f5f6; font-variant-numeric: tabular-nums; }
.over { display: flex; gap: 0.35em; margin: 0.6em 0 0.9em; min-height: 2.6em; }
.cell {
  position: relative; width: 2.6em; height: 2.6em; border-radius: 0.3em; background: #0c0d0f; color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 1em; font-stretch: 70%; font-variation-settings: "wdth" 70;
}
.cell > b { font-size: 1.45em; }
.cell::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--hinge); }
.cell.dotb > b { width: 0.42em; height: 0.42em; border-radius: 50%; background: #fff; font-size: 1em; }
.cell.c4 { background: #fff; color: #0c0d0f; }
.cell.c6 { background: var(--six); color: #0c0d0f; }
.cell.cw { background: var(--amber); color: var(--now-ink); }
.cell.cx { color: var(--amber); font-stretch: 125%; font-variation-settings: "wdth" 125; }
.cell.cx > b { font-size: 0.95em; }
.cell.next { background: transparent; box-shadow: inset 0 0 0 0.16em var(--amber); }
.cell.next::after, .cell.c4::after, .cell.c6::after, .cell.cw::after { display: none; }
.cell.in { animation: cellin 280ms var(--ease-out); }
@keyframes cellin { from { transform: scale(0.9); opacity: 0; } }
.pad { margin: 0 -1.2em -1em; padding: 0.8em 0.8em 1em; background: #17191c; box-shadow: 0 -1px 0 #3a3e44; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.45em; }
.pk {
  height: 3.3em; border-radius: 0.45em; background: #2f3237; color: #f4f5f6; font-weight: 900; font-size: 1em;
  display: grid; place-items: center; transition: transform 110ms var(--ease-out), filter 110ms ease;
}
.pk > b { font-size: 1.8em; font-stretch: 70%; font-variation-settings: "wdth" 70; }
.pk:active { transform: scale(0.95); filter: brightness(1.15); }
.pk.b4 { background: #fff; color: #0c0d0f; }
.pk.b6 { background: linear-gradient(#b4e0c6, #5f9f7d); color: #0c0d0f; }
.pk.out { grid-column: span 2; background: var(--amber); color: var(--now-ink); }
.pk.out > b { font-size: 1.45em; letter-spacing: 0.18em; font-stretch: 125%; font-variation-settings: "wdth" 125; }
.pk.sm { height: 2.6em; }
.pk.sm > b { font-size: 1em; font-stretch: 100%; font-variation-settings: "wdth" 100; font-weight: 700; }
.pk.amb > b { color: var(--amber); }
/* the in-phone sheet: next batter, typed name, Do you mean */
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; background: #26292d; border-radius: 1.4em 1.4em 0 0;
  padding: 0.8em 1.2em 1.4em; box-shadow: 0 -12px 32px rgb(0 0 0 / 0.35);
  transform: translateY(105%); transition: transform 320ms var(--ease-out);
}
.sheet.open { transform: none; }
.sheet .handle { width: 3.4em; height: 0.35em; border-radius: 1em; background: #3a3e44; margin: 0 auto 0.9em; }
.sheet .h4 { margin: 0 0 0.6em; font-size: 1.35em; font-weight: 700; }
.sheet .field { height: 3.2em; border-radius: 0.6em; background: #2f3237; display: flex; align-items: center; padding: 0 0.9em; font-size: 1.25em; }
.sheet .caret { display: inline-block; width: 1px; height: 1.1em; background: var(--amber); margin-left: 2px; animation: live 1s steps(1) infinite; }
.sheet .ask { margin-top: 0.8em; display: grid; gap: 0.5em; opacity: 0; transition: opacity 200ms ease; }
.sheet .ask.show { opacity: 1; }
.sheet .ask p { margin: 0; font-weight: 700; font-size: 1.1em; }
.sheet .opt { height: 3em; border-radius: 0.5em; background: #2f3237; display: flex; align-items: center; justify-content: space-between; padding: 0 0.9em; font-weight: 600; font-size: 1.1em; }
.sheet .opt.pick { box-shadow: inset 0 0 0 0.14em var(--amber); }
.sheet .opt small { color: #a3a9b1; font-weight: 400; }
.sheet .no { height: 3em; border-radius: 0.5em; background: #1f2124; display: grid; place-items: center; font-size: 1em; color: #c9cdd2; }
.result {
  position: absolute; inset: auto 0 0; z-index: 4; background: #26292d; padding: 1.4em 1.2em 1.6em; border-radius: 1.4em 1.4em 0 0;
  transform: translateY(105%); transition: transform 320ms var(--ease-out); text-align: center;
}
.result.open { transform: none; }
.result p { margin: 0 0 1em; font-weight: 800; font-size: 1.4em; letter-spacing: 0.04em; text-transform: uppercase; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.result button { height: 3.2em; padding: 0 1.6em; border-radius: 0.5em; background: var(--amber); color: var(--now-ink); font-weight: 800; font-size: 1.1em; }

/* hero on narrow screens: the reference's phone composition */
@media (max-width: 1180px) {
  .co { display: none; }
}
@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 96px; }
  .hero h1 { font-size: clamp(34px, 9.4vw, 64px); font-stretch: 100%; font-variation-settings: "wdth" 100; }
  .stage { min-height: 0; display: flex; flex-direction: column; align-items: center; margin-top: 20px; padding-inline: var(--edge); }
  .hud { order: 1; }
  .telemetry { order: 2; }
  .hud { position: relative; left: auto; top: auto; bottom: auto; transform: none; width: 100%; padding: 22px 0 40px; display: flex; justify-content: center; }
  .phone-slot { position: static; transform: none; }
  .phone { --w: min(260px, 66vw); }
  .telemetry { position: static; width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 0 28px; margin-top: 8px; align-items: end; }
  .telemetry .tl-head { grid-column: 1 / -1; }
  .telemetry .tl-big { grid-row: span 2; margin: 10px 0 0; }
  .telemetry .tl-big .fig { font-size: 38px; }
  .telemetry .hide-sm { display: none; }
  .stats { display: none; }
  .hero-foot { grid-template-columns: 1fr; padding-top: 22px; margin-top: 26px; }
  .scroll-cue, .ball-count { display: none; }
  .tap-keys { flex-wrap: wrap; }
  .tk { min-width: 44px; height: 44px; }
}

/* ---------- ticker ---------- */
.ticker { position: relative; overflow: hidden; padding: 26px 0; box-shadow: 0 -1px 0 var(--rule), 0 1px 0 var(--rule); }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker ul { display: flex; align-items: center; gap: 44px; margin: 0; padding: 0 22px; list-style: none; }
.ticker li {
  display: flex; align-items: center; gap: 44px; white-space: nowrap; font-weight: 600; font-size: 36px; line-height: 1;
  text-transform: uppercase; letter-spacing: 0.06em; font-stretch: 112%; font-variation-settings: "wdth" 112;
}
.ticker li:nth-child(even) { color: var(--dim); }
.ticker li::after { content: ""; width: 8px; height: 8px; background: var(--dim); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .ticker:hover .ticker-track { animation-play-state: paused; } }
@media (max-width: 760px) { .ticker li { font-size: 24px; } .ticker { padding: 18px 0; } }

/* ---------- 01 part explorer ---------- */
.explorer { position: relative; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; height: 620px; background: var(--ground); }
.explorer .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgb(58 62 68 / 0.22) 1px, transparent 1px), linear-gradient(90deg, rgb(58 62 68 / 0.22) 1px, transparent 1px); background-size: 48px 48px; }
.views { position: absolute; inset: 0 0 0 420px; }
.view { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: scale(1.03); transition: opacity 420ms ease, transform 620ms var(--ease-out), visibility 0s 420ms; }
.view.on { opacity: 1; visibility: visible; transform: none; transition: opacity 420ms ease, transform 620ms var(--ease-out); }
.view-meta { position: absolute; right: 26px; top: 24px; text-align: right; display: grid; gap: 8px; z-index: 2; }
.view-meta .mono-sm { color: var(--soft); }
.ex-card {
  position: absolute; left: 24px; top: 24px; bottom: 24px; width: 372px; z-index: 2; background: var(--pad); border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--rule); padding: 20px; display: flex; flex-direction: column;
}
.ex-img { height: 196px; border-radius: 6px; overflow: hidden; background: var(--steel); }
.ex-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity 300ms ease; }
.ex-tag { display: flex; justify-content: space-between; margin-top: 22px; }
.ex-tag .t { color: var(--amber); }
.ex-card h3 { margin: 12px 0 10px; font-weight: 700; font-size: 22px; letter-spacing: 0.05em; font-stretch: 112%; font-variation-settings: "wdth" 112; line-height: 1.2; }
.ex-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--soft); }
.ex-figs { margin-top: auto; padding-top: 18px; box-shadow: 0 -1px 0 var(--rule); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ex-figs .mono-sm { font-size: 11px; letter-spacing: 0.14em; white-space: nowrap; }
.ex-figs .fig { display: block; font-size: 17px; margin-top: 8px; }
.ex-figs .fig small { font-size: 11px; color: var(--muted); margin-left: 4px; letter-spacing: 0.1em; }
.tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.tab { text-align: left; padding-top: 18px; position: relative; color: var(--muted); transition: color 200ms ease; }
.tab::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--rule); }
.tab .prog { position: absolute; inset: 0 0 auto; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.tab.on { color: var(--text); }
.tab:not(.on) .nm { opacity: 0.72; }
.tab.on .prog { transform: scaleX(1); }
.touring .tab.on .prog { animation: prog var(--tour, 7s) linear forwards; }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tab .mono-sm { color: inherit; }
.tab .nm { display: block; margin-top: 10px; font-weight: 600; font-size: 16px; letter-spacing: 0.2em; text-transform: uppercase; font-stretch: 112%; font-variation-settings: "wdth" 112; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) and (pointer: fine) { .tab:hover { color: var(--soft); } }

/* close-ups: rebuilt app fragments at a big scale */
.cu { font-size: 18px; color: #f4f5f6; flex: none; }
.cu-pad { position: absolute; inset: 0; overflow: hidden; }
.cu-pad img { position: absolute; width: 104%; left: -2%; bottom: -40px; max-width: none; transform-origin: 50% 100%; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateY(-36px) scale(1.04); } }
.cu-shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--ground) 0, rgb(12 13 15 / 0) 30%), linear-gradient(90deg, var(--ground) 0, transparent 14%); }
.ui-panel { background: #26292d; border-radius: 16px; box-shadow: 0 0 0 1px #3a3e44; }
.cu-ask { width: 470px; padding: 26px; }
.cu-ask .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.cu-ask .h4 { margin: 8px 0 16px; font-size: 24px; font-weight: 700; }
.cu-ask .field { height: 54px; border-radius: 10px; background: #2f3237; display: flex; align-items: center; padding: 0 16px; font-size: 20px; }
.cu-ask .field .caret { display: inline-block; width: 2px; height: 24px; background: var(--amber); margin-left: 2px; animation: live 1s steps(1) infinite; }
.cu-ask .ask { margin-top: 16px; padding: 14px; border-radius: 10px; background: #1f2124; display: grid; gap: 10px; }
.cu-ask .ask p { margin: 0; font-weight: 700; font-size: 16px; }
.cu-ask .opt { height: 50px; border-radius: 8px; background: #2f3237; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-weight: 600; font-size: 16px; box-shadow: inset 0 0 0 2px var(--amber); }
.cu-ask .opt small { color: #a3a9b1; font-weight: 400; font-size: 13px; }
.cu-ask .no { height: 46px; border-radius: 8px; background: #2f3237; display: grid; place-items: center; font-size: 14px; color: #c9cdd2; }
.cu-added { margin-top: 16px; display: grid; gap: 6px; font-size: 13px; color: var(--soft); }
.cu-added span { display: flex; justify-content: space-between; padding: 8px 0; box-shadow: 0 1px 0 #3a3e44; }
.cu-added b { color: var(--text); font-weight: 600; }

.cu-off { display: grid; gap: 18px; width: 470px; }
.cu-off .bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.cu-off .light { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
.cu-off .light i { width: 12px; height: 12px; border-radius: 50%; background: #e0533f; animation: live 1.4s ease-in-out infinite; }
.ring { width: 64px; height: 64px; }
.ring circle { fill: none; stroke-width: 4; }
.ring .bg { stroke: #2f3237; }
.ring .fg { stroke: var(--amber); stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: 176; transform: rotate(-90deg); transform-origin: center; }
.view.on .ring .fg { animation: ring 2.8s var(--ease-out) forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.cu-off .saved { display: flex; align-items: center; gap: 16px; padding: 18px 20px; font-size: 15px; }
.cu-off .saved b { display: block; font-size: 17px; }
.cu-off .saved span { color: #a3a9b1; }
.cu-off .q { padding: 6px 20px; }
.cu-off .q div { display: flex; justify-content: space-between; padding: 12px 0; box-shadow: 0 1px 0 #3a3e44; font-size: 14px; }
.cu-off .q div:last-child { box-shadow: none; }
.cu-off .q em { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--amber); text-transform: uppercase; }

.cu-hand { display: grid; grid-template-columns: 170px 90px 170px; align-items: center; gap: 10px; }
.mini { height: 300px; border-radius: 26px; background: #050506; padding: 8px; box-shadow: 0 0 0 1px #2a2d31; }
.mini > div { height: 100%; border-radius: 20px; background: #1f2124; padding: 30px 14px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.mini .who { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
.mini .st { font-weight: 700; font-size: 15px; }
.mini .flaps { font-size: 34px; }
.mini .note { color: #a3a9b1; margin-top: auto; line-height: 1.4; }
.mini.dim > div { opacity: 0.55; }
.hand-arrow { display: grid; place-items: center; gap: 8px; }
.hand-arrow svg { width: 70px; height: 20px; }
.hand-arrow path { stroke: var(--amber); stroke-width: 1.5; fill: none; stroke-dasharray: 6 6; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -12; } }
.pin { margin-top: 10px; display: flex; gap: 8px; justify-content: center; font-size: 40px; }

.cu-fix { width: 500px; }
.cu-fix .over { gap: 8px; margin: 0 0 18px; font-size: 18px; }
.cu-fix .cell.sel { box-shadow: 0 0 0 3px var(--amber); }
.cu-fix .ui-panel { padding: 22px; }
.cu-fix .h4 { margin: 0 0 14px; font-size: 20px; font-weight: 700; }
.cu-fix .diff { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.cu-fix .diff div { border-radius: 10px; background: #2f3237; padding: 14px; }
.cu-fix .diff small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.cu-fix .diff b { font-size: 18px; }
.cu-fix .diff .arrow { color: var(--amber); font-size: 20px; }
.cu-fix .reason { margin-top: 14px; font-size: 14px; color: #c9cdd2; padding: 12px 14px; border-radius: 10px; background: #1f2124; }
.cu-fix .noted { margin-top: 14px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cu-fix .noted b { color: var(--text); font-weight: 500; }

@media (max-width: 1100px) {
  .explorer { height: auto; }
  .views { position: relative; inset: auto; height: 420px; overflow: hidden; }
  .ex-card { position: relative; inset: auto; width: auto; margin: 12px; }
  .ex-img { display: none; }
  .ex-figs { margin-top: 18px; }
  .view-meta { display: none; }
  .cu { transform: scale(0.72); }
  .tabs { gap: 8px; }
  .tab .nm { font-size: 11px; letter-spacing: 0.14em; }
}
@media (max-width: 560px) {
  .views { height: 340px; }
  .cu { transform: scale(0.62); }
}

/* ---------- 02 ways to play ---------- */
.modes-sec { padding-bottom: 40px; }
.modes-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.modes-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; opacity: 0.62; animation: kb 30s ease-in-out infinite alternate; }
.modes-bg img.rain { opacity: 0; transition: opacity 600ms ease; animation: none; object-position: 50% 60%; }
@keyframes kb { to { transform: scale(1.08) translateX(-1.5%); } }
.modes-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ground) 0%, rgb(12 13 15 / 0.72) 26%, rgb(12 13 15 / 0.55) 60%, var(--ground) 100%), linear-gradient(90deg, rgb(12 13 15 / 0.9) 0, rgb(12 13 15 / 0.25) 55%, rgb(12 13 15 / 0.6) 100%); }
.modes { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 140px; align-items: start; position: relative; }
.mode-list { margin: 0; padding: 0; list-style: none; box-shadow: 0 -1px 0 var(--rule); }
.mode { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 0 4px; padding: 26px 0; box-shadow: 0 1px 0 var(--rule); text-align: left; width: 100%; color: var(--dim); transition: color 200ms ease; }
.mode .nm { font-weight: 600; font-size: 28px; letter-spacing: 0.12em; text-transform: uppercase; font-stretch: 118%; font-variation-settings: "wdth" 118; line-height: 1; }
.mode .ds { grid-column: 2; font-size: 15px; color: var(--soft); margin-top: 10px; display: none; }
.mode .dot { background: var(--dim); }
.mode.on { color: var(--text); }
.mode.on .ds { display: block; }
.mode.on .dot { background: var(--amber); }
@media (hover: hover) and (pointer: fine) { .mode:hover { color: var(--soft); } }
.chart-panel { background: rgb(23 25 28 / 0.86); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--rule); padding: 28px; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.chart-head .mono-sm b { color: var(--text); font-weight: 400; }
.legend { display: flex; gap: 18px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 2px; background: var(--text); }
.legend i.ch { background: var(--amber); }
.chart { width: 100%; height: auto; margin-top: 18px; overflow: visible; }
.chart text { font-family: var(--mono); font-size: 11px; fill: var(--muted); letter-spacing: 0.08em; }
.chart .gl { stroke: rgb(58 62 68 / 0.6); stroke-width: 1; }
.chart .w1 { fill: none; stroke: var(--text); stroke-width: 2; stroke-linejoin: round; }
.chart .w2 { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linejoin: round; }
.chart .tg { stroke: var(--soft); stroke-width: 1; stroke-dasharray: 4 5; }
.chart .cut { stroke: var(--soft); stroke-width: 1; stroke-dasharray: 3 4; }
.chart .wk { fill: var(--ground); stroke: var(--text); stroke-width: 1.5; }
.chart .wk2 { fill: var(--ground); stroke: var(--amber); stroke-width: 1.5; }
.chart path.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.1s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; padding-top: 22px; box-shadow: 0 -1px 0 var(--rule); }
.chart-figs .fig { display: block; font-size: 30px; margin-top: 10px; line-height: 1; }
.chart-figs .fig small { font-size: 11px; color: var(--muted); margin-left: 6px; letter-spacing: 0.1em; }
@media (max-width: 1000px) { .modes { grid-template-columns: minmax(0, 1fr); gap: 40px; } .mode .nm { font-size: 22px; } .chart-figs .fig { font-size: 22px; } }

/* ---------- 03 two boards ---------- */
.skins { border-radius: 18px; box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; background: var(--ground); transition: background-color 420ms ease; }
.skins[data-skin="daylight"] { background: #e3e5e8; }
.skins-top { display: flex; justify-content: space-between; gap: 24px; padding: 30px 32px 0; }
.skins-top h3 { margin: 10px 0 0; font-weight: 700; font-size: 36px; letter-spacing: 0.12em; text-transform: uppercase; font-stretch: 118%; font-variation-settings: "wdth" 118; }
.skins-top p { margin: 0; max-width: 300px; text-align: right; font-size: 15px; color: var(--soft); }
.skins[data-skin="daylight"] .skins-top h3, .skins[data-skin="daylight"] .skins-top p { color: #111315; }
.skins[data-skin="daylight"] .skins-top .mono-sm { color: #464c54; }
.phones { display: flex; justify-content: center; align-items: center; gap: 36px; padding: 40px 32px 50px; }
.shot { border-radius: 30px; padding: 8px; background: #050506; box-shadow: 0 0 0 1px #2a2d31, 0 30px 60px rgb(0 0 0 / 0.45); flex: none; }
.shot img { width: 230px; height: auto; border-radius: 23px; aspect-ratio: 1170 / 1992; object-fit: cover; transition: opacity 260ms ease; }
.shot.mid img { width: 280px; }
.shot.fade img { opacity: 0; }
.skins-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 32px; box-shadow: 0 -1px 0 var(--rule); flex-wrap: wrap; }
.skins[data-skin="daylight"] .skins-bar { box-shadow: 0 -1px 0 #b9bec5; }
.swatches { display: flex; gap: 10px; }
.sw { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 18px 0 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; transition: box-shadow 160ms ease, transform 120ms var(--ease-out); }
.sw:active { transform: scale(0.97); }
.sw i { width: 32px; height: 32px; border-radius: 50%; position: relative; overflow: hidden; }
.sw i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--hinge); }
.sw.board i { background: #1f2124; box-shadow: inset 0 0 0 1px #3a3e44; }
.sw.day i { background: #f1f2f4; box-shadow: inset 0 0 0 1px #b9bec5; }
.sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--amber); }
.skins[data-skin="daylight"] .sw { color: #111315; box-shadow: inset 0 0 0 1px #b9bec5; }
.skins[data-skin="daylight"] .sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px #8a5800; }
.skins-bar .side { display: flex; gap: 22px; align-items: center; }
.skins-bar .go { color: var(--amber); }
.skins[data-skin="daylight"] .skins-bar .go { color: #8a5800; }
.skins[data-skin="daylight"] .skins-bar .mono-sm { color: #464c54; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--rule); }
.tiles > div { padding: 30px 28px 34px; }
.tiles > div + div { box-shadow: -1px 0 0 var(--rule); }
.tiles svg { width: 22px; height: 22px; stroke: var(--amber); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tiles h3 { margin: 28px 0 10px; font-weight: 600; font-size: 16px; letter-spacing: 0.12em; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.tiles p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (max-width: 1000px) {
  .phones { gap: 14px; padding: 30px 12px 36px; }
  .shot.side { display: none; }
  .shot.mid img { width: min(260px, 64vw); }
  .tiles { grid-template-columns: 1fr; }
  .tiles > div + div { box-shadow: 0 -1px 0 var(--rule); }
  .skins-top { flex-direction: column; padding: 24px 20px 0; }
  .skins-top p { text-align: left; }
  .skins-bar { padding: 16px 20px; }
}

/* ---------- 04 spec sheet ---------- */
.bigfigs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--rule); }
.bigfigs > div { padding: 32px 28px 30px; }
.bigfigs > div + div { box-shadow: -1px 0 0 var(--rule); }
.bigfigs .fig { display: block; margin-top: 18px; font-size: 64px; line-height: 1; letter-spacing: -0.02em; }
.bigfigs .fig small { font-size: 14px; color: var(--muted); margin-left: 10px; letter-spacing: 0.06em; }
.spec { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; margin-top: 64px; align-items: start; }
.drawing { position: sticky; top: 88px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; background-image: linear-gradient(rgb(58 62 68 / 0.18) 1px, transparent 1px), linear-gradient(90deg, rgb(58 62 68 / 0.18) 1px, transparent 1px); background-size: 40px 40px; }
.drawing svg { display: block; width: 100%; height: auto; }
.drawing text { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; fill: var(--soft); }
.drawing .dim { stroke: var(--muted); stroke-width: 1; }
.drawing .shotl { stroke-width: 1.5; stroke-linecap: round; }
.drawing .dfoot { display: flex; justify-content: space-between; padding: 18px 28px; box-shadow: 0 -1px 0 var(--rule); }
.sheetc { border-radius: 16px; box-shadow: inset 0 0 0 1px var(--rule); padding: 8px 30px 30px; }
.sheetc h3 { display: flex; gap: 14px; margin: 30px 0 6px; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.sheetc h3 b { color: var(--amber); font-weight: 600; }
.sheetc dl { margin: 0; }
.sheetc dl div { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); gap: 16px; padding: 13px 0; box-shadow: 0 1px 0 var(--rule); font-size: 15px; }
.sheetc dt { color: var(--muted); }
.sheetc dd { margin: 0; text-align: right; color: var(--text); }
@media (max-width: 1000px) {
  .bigfigs { grid-template-columns: 1fr 1fr; }
  .bigfigs > div:nth-child(3) { box-shadow: 0 -1px 0 var(--rule); }
  .bigfigs > div:nth-child(4) { box-shadow: -1px 0 0 var(--rule), 0 -1px 0 var(--rule); }
  .bigfigs .fig { font-size: 42px; }
  .bigfigs > div { padding: 22px 18px; }
  .spec { grid-template-columns: 1fr; margin-top: 32px; }
  .drawing { position: relative; top: auto; }
  .sheetc { padding: 0 18px 22px; }
  .sheetc dl div { grid-template-columns: 1fr; gap: 2px; }
  .sheetc dd { text-align: left; }
}

/* ---------- 05 score it ---------- */
.book { margin-top: 168px; padding: 150px 0 120px; box-shadow: 0 -1px 0 var(--rule), 0 1px 0 var(--rule); overflow: hidden; }
.book-bg { position: absolute; inset: 0; pointer-events: none; }
.book-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; opacity: 0.32; filter: grayscale(0.35) brightness(0.8); }
.book-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ground) 0%, rgb(12 13 15 / 0.82) 45%, rgb(12 13 15 / 0.55) 100%), linear-gradient(0deg, var(--ground) 0, transparent 30%); }
.book .page { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 556px); gap: 100px; align-items: start; }
.book h2 { font-size: clamp(40px, 6.2vw, 92px); font-stretch: 118%; font-variation-settings: "wdth" 118; }
.book .lede { font-size: 18px; margin-top: 30px; color: var(--soft); }
.meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.meta .mono-sm b { color: var(--text); font-weight: 400; }
.meta .sep { width: 1px; background: var(--line); }
.benefits { display: grid; grid-template-columns: 1fr 1fr; margin-top: 44px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--rule); max-width: 680px; background: rgb(12 13 15 / 0.6); }
.benefits > div { padding: 24px 22px 26px; }
.benefits > div:nth-child(even) { box-shadow: -1px 0 0 var(--rule); }
.benefits > div:nth-child(n+3) { box-shadow: 0 -1px 0 var(--rule); }
.benefits > div:nth-child(4) { box-shadow: -1px 0 0 var(--rule), 0 -1px 0 var(--rule); }
.benefits svg { width: 20px; height: 20px; stroke: var(--amber); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.benefits h3 { margin: 18px 0 6px; font-size: 15px; font-weight: 600; }
.benefits p { margin: 0; font-size: 15px; color: var(--muted); }
.form { border-radius: 16px; background: rgb(23 25 28 / 0.92); box-shadow: inset 0 0 0 1px var(--rule); padding: 32px; }
.form-top { display: flex; justify-content: space-between; margin-bottom: 26px; }
.form-top .mock { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.form label { display: block; }
.form .lab { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.form .lab em { font-style: normal; letter-spacing: 0.06em; text-transform: none; color: var(--dim); margin-left: 6px; }
.form input, .form select {
  width: 100%; height: 50px; border-radius: 8px; border: 1px solid var(--line); background: #1f2124; color: var(--text);
  font: 400 16px var(--sans); padding: 0 16px; transition: border-color 160ms ease; appearance: none; -webkit-appearance: none;
}
.form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a3a9b1' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form input::placeholder { color: #6f767f; }
.form input:focus, .form select:focus { outline: none; border-color: var(--amber); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .f { margin-bottom: 20px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: grid; place-items: center; gap: 2px; height: 62px; border-radius: 8px; border: 1px solid var(--line); text-align: center; font-size: 15px; transition: border-color 160ms ease, background-color 160ms ease; cursor: pointer; }
.seg span small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.seg input:checked + span { border-color: var(--amber); background: rgb(242 169 0 / 0.08); }
.seg input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.submit {
  width: 100%; height: 56px; margin-top: 8px; border-radius: 999px; background: var(--amber); color: var(--now-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  transition: transform 120ms var(--ease-out), filter 160ms ease;
}
.submit:active { transform: scale(0.98); }
.submit svg { width: 14px; height: 14px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .submit:hover { filter: brightness(1.06); } .submit:hover svg { transform: translate(2px, -2px); } }
.form .note { margin: 14px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.form .note.sent { color: var(--amber); }
@media (max-width: 1000px) {
  .book { padding: 90px 0 70px; margin-top: 112px; }
  .book .page { grid-template-columns: 1fr; gap: 44px; }
  .benefits { grid-template-columns: 1fr; }
  .benefits > div:nth-child(n) { box-shadow: 0 -1px 0 var(--rule); }
  .benefits > div:first-child { box-shadow: none; }
  .form { padding: 22px; }
  .form .row2 { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- footer ---------- */
.foot { padding-top: 120px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 40px; }
.foot-grid p { color: var(--muted); max-width: 26em; margin: 22px 0 26px; font-size: 15px; }
.foot-grid .go { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; }
.foot-grid .go svg { width: 12px; height: 12px; }
.foot .h4 { margin: 4px 0 22px; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.foot li a, .foot li span { font-size: 15px; color: var(--soft); transition: color 160ms ease; }
.foot li { display: flex; justify-content: space-between; gap: 16px; max-width: 360px; }
.foot li em { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.foot li em.live { color: var(--amber); }
@media (hover: hover) and (pointer: fine) { .foot li a:hover { color: var(--text); } }
.wordmark {
  margin: 80px -0.04em 0; font-weight: 800; text-transform: uppercase; line-height: 0.8; color: #16181b;
  font-size: 14.9vw; letter-spacing: -0.01em; font-stretch: 100%; font-variation-settings: "wdth" 100;
  white-space: nowrap; -webkit-user-select: none; user-select: none;
}
@media (min-width: 1440px) { .wordmark { font-size: 215px; } }
.legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 0 30px; box-shadow: 0 -1px 0 var(--rule); }
.legal .mono-sm { color: var(--dim); }
.legal a.mono-sm:hover { color: var(--text); }
.credits { max-width: 72ch; padding-bottom: 30px; font-size: 12px; color: var(--dim); }
.credits a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr; } .foot { padding-top: 80px; } .wordmark { margin-top: 50px; } }

/* ---------- reveal (only when script runs) ---------- */
.js [data-rv] > * { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-rv].in > * { opacity: 1; transform: none; }
.js .hero-head > *, .js .hero .stage, .js .hero-foot { animation: rise 900ms var(--ease-out) both; }
.js .hero-head > :nth-child(2) { animation-delay: 90ms; }
.js .hero .stage { animation-delay: 220ms; }
.js .hero-foot { animation-delay: 380ms; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker ul + ul { display: none; }
  .ticker ul { flex-wrap: wrap; row-gap: 14px; }
  .ticker li { white-space: normal; font-size: clamp(20px, 5.4vw, 36px); }
  .js [data-rv] > * { transform: none; }
  .modes-bg img, .cu-pad img { animation: none; }
}

/* phones: section headings keep to two lines */
@media (max-width: 560px) {
  .h2 { font-size: clamp(25px, 7.3vw, 34px); font-stretch: 100%; font-variation-settings: "wdth" 100; letter-spacing: 0.01em; }
  .hud-foot { bottom: 6px; left: 28px; right: 28px; }
  .cu-pad img { bottom: -110px; }
  .meta .sep { display: none; }
  .meta { gap: 10px; flex-direction: column; }
}

/* =====================================================================
   Round 3: one app, many games
   ===================================================================== */

/* ---------- the hero film (pinned; the scroll passes the ball) ---------- */
.hero2 { position: relative; height: 330vh; }
.hero2 .pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
#lattice { position: absolute; inset: 0; display: block; }
.hero2 .hero-floor svg { bottom: 70px; opacity: 0.8; }
.hero2 .hero-head { position: relative; z-index: 2; padding-top: 84px; text-align: center; pointer-events: none; }
.hero2 h1 { font-size: clamp(36px, 6.4vw, 94px); margin-top: 18px; letter-spacing: 0.015em; }
.hero2 h1 .l1 { display: block; }
.hero2 h1 .l2 { display: block; color: var(--muted); }
.hud2 { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 1; }
.hud2::before, .hud2::after, .hud2 i::before, .hud2 i::after { content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid var(--muted); opacity: 0.6; }
.hud2::before { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.hud2::after { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.hud2 i::before { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.hud2 i::after { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.callouts { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.co2 { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; transition: opacity 300ms ease; }
.co2.on { opacity: 1; }
.knit .co2.on { opacity: 0; }
.co2 .k, .co2 .v { position: absolute; left: 14px; white-space: nowrap; font-family: var(--mono); text-transform: uppercase; background: rgb(12 13 15 / 0.82); padding: 2px 6px; margin: 0 -6px; border-radius: 3px; }
.co2 .k { bottom: 58px; font-size: 11px; letter-spacing: 0.18em; color: var(--muted); }
.co2 .v { bottom: 38px; font-size: 12px; letter-spacing: 0.1em; color: var(--text); }
.co2 .v.soon { color: var(--soft); }
.co2.on .v:not(.soon) { color: var(--amber); }
.co2 .lead2 { position: absolute; left: 0; bottom: 4px; width: 1px; height: 64px; background: rgb(163 169 177 / 0.5); }
.co2 .lead2::after { content: ""; position: absolute; left: -3px; bottom: -6px; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.co2.on .lead2::after { background: var(--amber); }
.co2.l .k, .co2.l .v { left: auto; right: 14px; text-align: right; }
.co2.dn .lead2 { bottom: auto; top: 4px; }
.co2.dn .lead2::after { bottom: auto; top: -6px; }
.co2.dn .k { bottom: auto; top: 52px; }
.co2.dn .v { bottom: auto; top: 72px; }
.t2 { left: var(--edge); top: auto; bottom: 170px; z-index: 2; }
.t2 .tl-big .fig { font-size: 34px; text-transform: uppercase; letter-spacing: 0.02em; }
.t2 .fig.live, .s2 .fig.live { color: var(--amber); }
.segs.s5 { grid-template-columns: repeat(5, 1fr); margin: 10px 0 20px; }
.s2 { right: var(--edge); top: auto; bottom: 150px; z-index: 2; width: 230px; }
.s2 .row .fig { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.s2 .row.on .mono-sm { color: var(--text); }
.hf2 { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }
.ruler { display: flex; gap: 4px; justify-content: center; margin-top: 10px; }
.ruler button {
  position: relative; height: 34px; padding: 0 12px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  transition: color 160ms ease, box-shadow 160ms ease, transform 120ms var(--ease-out);
}
.ruler button:active { transform: scale(0.96); }
.ruler button.past { color: var(--soft); }
.ruler button.on { color: var(--now-ink); background: var(--amber); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .ruler button:not(.on):hover { box-shadow: inset 0 0 0 1px var(--muted); color: var(--text); } }
@media (max-width: 1180px) { .co2 .lead2 { height: 48px; } .co2 .k { bottom: 44px; } .co2 .v { bottom: 26px; } .co2.dn .k { top: 38px; } .co2.dn .v { top: 56px; } }
@media (max-width: 900px) {
  .hero2 { height: 280vh; }
  .hero2 .hero-head { padding-top: 92px; }
  .hero2 h1 { font-size: clamp(34px, 10vw, 64px); font-stretch: 100%; font-variation-settings: "wdth" 100; }
  .hero-kicker { font-size: 10px; letter-spacing: 0.18em; gap: 8px; }
  .co2 .v { font-size: 11px; }
  .t2 { position: absolute; left: var(--edge); right: var(--edge); width: auto; bottom: 150px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .t2 .tl-head { grid-column: 1 / -1; }
  .t2 .tl-big { margin: 8px 0 6px; grid-column: 1 / -1; }
  .t2 .tl-big .fig { font-size: 28px; }
  .t2 .segs.s5 { grid-column: 1 / -1; margin: 8px 0 0; }
  .t2 .tl-row .fig { letter-spacing: 0.04em; }
  .s2 { display: none; }
  .hf2 { padding-top: 14px; }
  .ruler { flex-wrap: wrap; }
  .ruler button { height: 40px; padding: 0 10px; }
}
@media (max-width: 420px) { .ruler button { padding: 0 7px; letter-spacing: 0.06em; font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .hero2 { height: auto; } .hero2 .pin { position: relative; } }

/* ---------- 01 sports: switcher + the playable rig ---------- */
.switch { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 10px; }
.sp { position: relative; text-align: left; padding: 18px 0 4px; color: var(--muted); box-shadow: inset 0 1px 0 var(--rule); transition: color 200ms ease; }
.sp::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease-out); }
.sp.on { color: var(--text); }
.sp.on::before { transform: scaleX(1); }
.sp .mono-sm { color: inherit; }
.sp .nm { display: block; margin-top: 10px; font-weight: 600; font-size: 18px; letter-spacing: 0.16em; text-transform: uppercase; font-stretch: 112%; font-variation-settings: "wdth" 112; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp em { display: inline-block; margin-top: 8px; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.sp em.live { color: var(--amber); }
.sp.soon { cursor: default; color: var(--dim); }
@media (hover: hover) and (pointer: fine) { button.sp:not(.on):hover { color: var(--soft); } }
.rig { position: relative; height: 700px; display: flex; flex-direction: column; overflow: hidden; }
.rig .hero-floor svg { bottom: 80px; }
.rig .stage { flex: 1; }
.rig:not([data-sport="football"]) [data-for="football"],
.rig[data-sport="football"] [data-for="cricket"] { display: none !important; }
.rig .phone { animation: phonein 420ms var(--ease-out); }
@keyframes phonein { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
@media (max-width: 900px) {
  .switch { gap: 8px; }
  .sp .nm { font-size: 12px; letter-spacing: 0.1em; }
  .sp em { font-size: 9.5px; letter-spacing: 0.08em; }
  .rig { height: auto; }
}
@media (max-width: 560px) {
  .switch { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 4px; }
  .sp[data-sport] { grid-column: span 3; }
  .sp[data-sport] .nm { font-size: 17px; letter-spacing: 0.12em; }
  .sp[data-sport] em { font-size: 11px; letter-spacing: 0.14em; }
  .sp.soon { grid-column: span 2; padding-top: 12px; }
  .sp.soon .mono-sm { display: none; }
  .sp.soon .nm { margin-top: 0; font-size: 11px; letter-spacing: 0.06em; }
  .sp.soon em { margin-top: 4px; font-size: 9.5px; letter-spacing: 0.06em; }
}

/* the football screen, rebuilt from the app's (scoreboard and clock, Goal per side, Card/Sub/Injury/Pause) */
.fb .fb-board { margin-top: 1em; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.5em; padding: 1em 0.8em; border-radius: 1em; background: #0c0d0f; }
.fb-team { display: grid; gap: 0.5em; justify-items: start; }
.fb-team.r { justify-items: end; }
.fb-team > span { font-weight: 900; font-size: 0.85em; letter-spacing: 0.2em; font-stretch: 125%; font-variation-settings: "wdth" 125; }
.fb-goals { font-size: 3.1em; }
.fb-goals .flap { background: #1f2124; }
.fb-clock { display: grid; justify-items: center; gap: 0.3em; }
.fb-time { font-weight: 900; font-size: 2.1em; font-stretch: 70%; font-variation-settings: "wdth" 70; font-variant-numeric: tabular-nums; }
.fb-time.over { color: var(--amber); }
.fb-status { font-weight: 700; font-size: 0.8em; letter-spacing: 0.12em; color: rgb(255 255 255 / 0.6); white-space: nowrap; }
.fb-goalkeys { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; margin-top: 0.9em; }
.fk { height: 3.2em; border-radius: 0.5em; background: #2f3237; color: #f4f5f6; display: grid; place-items: center; transition: transform 110ms var(--ease-out), filter 110ms ease; }
.fk:active { transform: scale(0.96); filter: brightness(1.15); }
.fk b { font-weight: 700; font-size: 1.15em; }
.fk.goal { height: 5em; background: var(--amber); color: var(--now-ink); align-content: center; gap: 0.1em; }
.fk.goal b { font-weight: 900; font-size: 1.5em; }
.fk.goal small { font-weight: 600; font-size: 0.95em; }
.fb-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5em; margin-top: 0.5em; }
.fb-log { list-style: none; margin: 0.9em 0 0; padding: 0; min-height: 13.4em; display: grid; align-content: start; }
.fb-log li { display: grid; grid-template-columns: 2.6em 5.8em 1fr; align-items: center; gap: 0.4em; padding: 0.55em 0; box-shadow: 0 1px 0 #3a3e44; font-size: 1.02em; }
.fb-log li.in { animation: cellin 300ms var(--ease-out); }
.fb-log .m { font-weight: 800; font-variant-numeric: tabular-nums; color: #a3a9b1; }
.fb-log .t { white-space: nowrap; font-weight: 900; font-size: 0.78em; letter-spacing: 0.14em; font-stretch: 125%; font-variation-settings: "wdth" 125; }
.fb-log .t.goal { color: var(--amber); }
.fb-log .t.yel::before, .fb-log .t.red::before { content: ""; display: inline-block; width: 0.6em; height: 0.8em; border-radius: 0.1em; margin-right: 0.4em; vertical-align: -0.1em; background: #f5c400; }
.fb-log .t.red::before { background: #e0533f; }
.fb-log .d { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-opts { display: grid; gap: 0.5em; }
.fb-opts div { height: 3em; border-radius: 0.5em; background: #2f3237; display: flex; align-items: center; justify-content: space-between; padding: 0 0.9em; font-weight: 600; font-size: 1.1em; transition: box-shadow 160ms ease; }
.fb-opts div small { color: #a3a9b1; font-weight: 400; }
.fb-opts div.pick { box-shadow: inset 0 0 0 0.14em var(--amber); }

/* ---------- 03 four ways to play: one picture each ---------- */
.gv-panel { min-height: 560px; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.gv { display: none; flex: 1; padding-top: 22px; }
.gv.on { display: block; animation: gvin 520ms var(--ease-out); }
@keyframes gvin { from { opacity: 0; transform: translateY(12px); } }
.no-sign { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.no-sign li { display: grid; gap: 4px; padding: 14px 0; box-shadow: 0 1px 0 var(--rule); }
.no-sign li:first-child { box-shadow: 0 -1px 0 var(--rule), 0 1px 0 var(--rule); }
.no-sign b { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }
.no-sign span { font-size: 15px; color: var(--soft); }
.gv-scratch, .gv-flex { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px; align-items: start; }
.share-card { border-radius: 14px; background: #0c0d0f; box-shadow: 0 0 0 1px #3a3e44, 0 24px 48px rgb(0 0 0 / 0.45); padding: 20px; transform: rotate(-1.5deg); }
.gv.on .share-card { animation: cardin 700ms var(--ease-out); }
@keyframes cardin { from { transform: rotate(-6deg) translateY(30px); opacity: 0; } }
.sh-top { display: flex; justify-content: space-between; }
.sh-res { margin: 12px 0 14px; font-weight: 800; font-size: 20px; letter-spacing: 0.02em; }
.sh-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sh-sides > div { display: grid; gap: 6px; justify-items: start; }
.sh-sides > .r { justify-items: end; }
.sh-n { font-weight: 900; font-size: 11px; letter-spacing: 0.22em; font-stretch: 125%; font-variation-settings: "wdth" 125; color: var(--muted); }
.sh-f { font-size: 34px; }
.sh-f .flap { background: #1f2124; }
.sh-o { font-size: 12px; color: var(--muted); }
.sh-worm { width: 100%; height: 64px; margin: 14px 0 10px; }
.sh-worm path { fill: none; stroke-width: 2; stroke-linejoin: round; }
.sh-worm .w1 { stroke: var(--soft); }
.sh-worm .w2 { stroke: var(--amber); }
.sh-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--soft); flex-wrap: wrap; }
.side-list, .squad, .xi { padding: 18px; }
.sl-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; white-space: nowrap; }
.side-list ol, .xi ol { margin: 0; padding: 0; list-style: none; counter-reset: n; }
.side-list li, .xi li { counter-increment: n; display: flex; align-items: center; gap: 12px; padding: 9px 0; box-shadow: 0 1px 0 #3a3e44; font-weight: 600; font-size: 15px; letter-spacing: 0.03em; text-transform: uppercase; font-stretch: 88%; font-variation-settings: "wdth" 88; }
.side-list li::before, .xi li::before { content: counter(n, decimal-leading-zero); font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }
.side-list li.new { animation: cellin 360ms var(--ease-out); }
.side-list li.new::after { content: "joined"; margin-left: auto; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.14em; color: var(--amber); text-transform: uppercase; }
.sl-type { margin-top: 12px; display: grid; gap: 8px; }
.sl-field { height: 44px; border-radius: 8px; background: #2f3237; display: flex; align-items: center; padding: 0 14px; font-size: 16px; }
.sl-field .caret { display: inline-block; width: 2px; height: 20px; background: var(--amber); margin-left: 2px; animation: live 1s steps(1) infinite; }
.sl-ask { font-size: 14px; color: var(--soft); padding: 10px 14px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--amber); opacity: 0; transition: opacity 200ms ease; }
.sl-ask.show { opacity: 1; }
.gv-named { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.squad ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.squad li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; background: #2f3237; font-size: 13px; color: var(--muted); }
.squad li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--line); flex: none; }
.squad li.in { color: var(--text); }
.squad li.in::before { background: var(--amber); box-shadow: none; }
.xi li { font-size: 14px; padding: 7px 0; }
.xi li em { margin-left: auto; font-style: normal; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.gv.on .xi li { animation: gvin 420ms var(--ease-out) both; }
.xi-note { margin: 12px 0 0; font-size: 13px; color: var(--soft); }
.gv-cups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.tbl caption { text-align: left; padding-bottom: 10px; }
.tbl th { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-align: right; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl td { padding: 10px 6px; text-align: right; border-bottom: 1px solid rgb(58 62 68 / 0.6); }
.tbl td:last-child { font-weight: 700; }
.tbl tr.q td:first-child { color: var(--text); font-weight: 700; }
.tbl tr.q td:first-child::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-right: 8px; vertical-align: 2px; }
.tbl tr:not(.q) td { color: var(--muted); }
.bracket { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; position: relative; }
.br-col { display: grid; gap: 22px; position: relative; }
.br-col:first-child::after { content: ""; position: absolute; right: -14px; top: 25%; bottom: 25%; width: 14px; border: 1px solid var(--line); border-left: 0; border-radius: 0 6px 6px 0; }
.br-game { display: grid; gap: 1px; border-radius: 8px; overflow: hidden; background: var(--line); }
.br-game > span { display: flex; justify-content: space-between; padding: 9px 12px; background: #1f2124; font-size: 13px; font-weight: 600; }
.br-game em { font-style: normal; padding: 8px 12px; background: #17191c; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--amber); line-height: 1.5; }
.br-game.final em { color: var(--soft); }
.gv.on .br-game { animation: gvin 500ms var(--ease-out) both; }
.gv.on .br-col.fin .br-game { animation-delay: 220ms; }
@media (max-width: 1000px) {
  .gv-panel { min-height: 0; }
  .gv-scratch, .gv-flex, .gv-named, .gv-cups { grid-template-columns: 1fr; }
  .share-card { transform: none; }
  .bracket { grid-template-columns: 1fr; gap: 14px; }
  .br-col:first-child::after { display: none; }
}

/* =====================================================================
   Round 4: the hero film (pictogram athletes, one continuous shot)
   ===================================================================== */
.hero4 { height: 640vh; }
#film { position: absolute; inset: 0; display: block; }
.film-head { position: relative; z-index: 2; padding-top: 84px; text-align: center; pointer-events: none; }
.tagline {
  position: absolute; left: var(--edge); right: var(--edge); top: 49%; z-index: 2; margin: 0; text-align: center;
  font-weight: 600; font-size: clamp(18px, 2.2vw, 30px); letter-spacing: 0.02em; color: var(--soft); text-wrap: balance;
}
.js .tagline { opacity: 0; }
.frame-hud { position: absolute; left: var(--edge); right: var(--edge); top: 76px; bottom: 112px; pointer-events: none; z-index: 1; }
.frame-hud::before, .frame-hud::after, .frame-hud i::before, .frame-hud i::after { content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid var(--muted); opacity: 0.55; }
.frame-hud::before { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.frame-hud::after { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.frame-hud i::before { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.frame-hud i::after { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.co3 { transition: opacity 240ms ease; z-index: 2; }
.t4 { top: 150px; bottom: auto; }
.hero4 .s2 { top: 150px; bottom: auto; }
.hero4.ending .t4, .hero4.ending .s2, .hero4.ending .co3 { opacity: 0 !important; transition: opacity 400ms ease; }
.hero4 .t4, .hero4 .s2 { transition: opacity 400ms ease; }
@media (max-width: 900px) {
  .hero4 { height: 600vh; }
  .film-head { padding-top: 88px; }
  .t4 { display: none; }
  .tagline { top: 46%; font-size: 17px; }
  .frame-hud { top: 128px; bottom: 150px; }
  .hero4.ending .t4 { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero4 { height: 100svh; min-height: 640px; } .tagline { opacity: 1; } }

/* =====================================================================
   Round 5: the hero film plays like a video (one screen tall, no scroll pin)
   ===================================================================== */
.hero4 { height: 100vh; height: 100svh; min-height: 620px; }
.hero4 .pin { position: relative; height: 100%; min-height: 620px; }
.film-prog { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: rgb(58 62 68 / 0.5); overflow: hidden; }
.film-prog i { position: absolute; inset: 0; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); }
.film-ctl { display: flex; align-items: center; gap: 14px; }
.fc-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px 0 11px; border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--line); color: var(--text);
  transition: box-shadow 160ms ease, transform 120ms var(--ease-out);
}
.fc-btn:active { transform: scale(0.96); }
.fc-btn svg { width: 14px; height: 14px; fill: currentColor; display: none; }
.fc-btn[data-state="playing"] .i-pause, .fc-btn[data-state="paused"] .i-play, .fc-btn[data-state="ended"] .i-replay { display: block; }
.fc-btn[data-state="paused"], .fc-btn[data-state="ended"] { color: var(--amber); box-shadow: inset 0 0 0 1px rgb(242 169 0 / 0.6); }
.fc-btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.fc-time { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .fc-btn:hover { box-shadow: inset 0 0 0 1px var(--muted); } }
@media (max-width: 900px) {
  .hero4 { height: 100vh; height: 100svh; }
  .hf2 .film-ctl { position: absolute; left: var(--edge); top: 8px; z-index: 1; }
  .hf2 .fc-label, .hf2 .fc-time { display: none; }
  .hf2 .fc-btn { width: 36px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .hero4 { height: 100svh; min-height: 620px; } .hero4 .pin { position: relative; } }

/* =====================================================================
   Round 6: the film ends on our logo: one row of ten flap cells (Departure Board)
   Size and place come from r4-film.js (buildLogo), so the canvas mesh knits exactly these cells.
   ===================================================================== */
.logo-row { position: absolute; z-index: 2; opacity: 0; pointer-events: none; font-family: var(--sans); }
.logo-row .flap { position: absolute; top: 0; display: grid; border-radius: max(3px, 0.045em); box-shadow: 0 0.02em 0.05em rgb(0 0 0 / 0.35); }
.logo-row .flap span { transform-origin: 50% 50%; backface-visibility: hidden; will-change: transform; }
.hero4 .tagline { color: var(--text); }
.hero4 .pin { margin-top: 0; } /* an older .pin rule (the PIN digits) gave the film a 10px dark strip on top */
.hero4 .hero-foot { animation: none; } /* round 6c: the control bar is there from the first frame */

/* Round 7: a side panel fades while the ball, a hoop, a goal or an athlete passes behind it */
.hero4 .t4.dodge, .hero4 .s2.dodge { opacity: 0 !important; }

/* ---------- launch (27 Nov 2026): legal links in every footer ---------- */
.legal-links { display: flex; gap: 24px; flex-wrap: wrap; }
.legal-links a { padding-block: 14px; margin-block: -14px; }
.legal-links a.mono-sm { color: var(--muted); }
.legal-links a.mono-sm:hover { color: var(--text); }
/* the giant footer word is decoration: drawn from data-word so contrast checkers do not read it as text */
.wordmark[data-word]::before { content: attr(data-word); }
