/* fablestar v4: the kinetic page. one giant word per screen, grounds flip on the beat, nothing ever sits still. */
@font-face { font-family: "Hamma"; src: url("fonts/hamma-mamma-jamma.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Hamma"; src: url("fonts/velvenda-megablack.woff2") format("woff2"); font-display: swap; unicode-range: U+004C; }
@font-face { font-family: "JBM"; src: url("fonts/jetbrainsmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JBM"; src: url("fonts/jetbrainsmono-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JBM"; src: url("fonts/jetbrainsmono-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --ink: #0a0a0b; --panel: #121214; --line: #2a2a2f; --bone: #ece8dd; --dim: #8b8a86;
  --coral: #e0764f; --gold: #f2b230; --shade: #8f3a1d; --black: #000;
  --pad: clamp(16px, 2.6vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { background: var(--ink); color: var(--bone); font: 400 16px/1.5 "JBM", ui-monospace, monospace; overflow-x: clip; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
main:focus { outline: none; }
a, button { touch-action: manipulation; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 99; background: var(--coral); color: var(--ink); padding: 10px 14px; font-weight: 800; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- pricedown words (inline svg, fixed text only) ---------- */
.pd { display: block; width: 100%; height: auto; overflow: visible; }
.pd .fc, .pd .sh { stroke: var(--black); stroke-width: 30; paint-order: stroke; stroke-linejoin: round; }
.pd .sh { fill: var(--shade); }
.w.b .fc { fill: var(--bone); }
.w.c .fc { fill: var(--coral); }
.w.o .fc { fill: var(--ink); stroke: var(--bone); stroke-width: 22; }
.w.o .sh { fill: none; stroke: var(--shade); stroke-width: 22; }
.w.i .fc { fill: var(--ink); stroke: var(--ink); stroke-width: 10; }
.w.i .sh { fill: var(--ish, var(--coral)); stroke: none; }
.w { transform-box: fill-box; transform-origin: 50% 60%; }
.pds { display: block; height: 100%; width: auto; flex: none; overflow: visible; }
.pds path { fill: none; stroke: currentColor; stroke-width: 9; }

/* ---------- bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; height: calc(52px + env(safe-area-inset-top)); display: flex; align-items: center; gap: 18px; padding: env(safe-area-inset-top) max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left));
  background: var(--ink); border-bottom: 1px solid var(--line); font-size: 14px; }
.brand { display: flex; align-items: center; gap: 8px; flex: none; text-decoration: none; }
.brand .mk { width: 36px; height: 36px; flex: none; display: block; }
.brand .wm { display: block; width: 150px; }
.brand .pd .fc, .brand .pd .sh { stroke-width: 44; }
.stat { display: flex; gap: 14px; align-items: center; color: var(--dim); white-space: nowrap; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live i { width: 9px; height: 9px; background: var(--dim); display: block; }
.live.on i { background: var(--coral); animation: rec 1.1s steps(2) infinite; }
.live.on { color: var(--bone); }
@keyframes rec { 50% { opacity: .15; } }
.bar nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.bar nav a { text-decoration: none; padding: 12px 10px; font-weight: 700; transition: color .2s; }
.bar nav a:hover { color: var(--coral); }
.bar nav a[href="watch.html"] { color: var(--coral); }
.bar nav a[href="watch.html"]:hover { color: var(--gold); }
.xl svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.ca { font: 700 13px "JBM"; color: var(--ink); background: var(--gold); border: 0; padding: 0 12px; min-height: 44px; cursor: pointer; }
.ca:hover { background: var(--coral); }
.xl { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
.xl[hidden], .ca[hidden] { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; padding: 52px var(--pad) 0; isolation: isolate; }
.walls { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-rows: repeat(4, 1fr); align-content: stretch; pointer-events: none; }
.walls.off .row { animation-play-state: paused; }
.walls .row { display: flex; height: 24vh; align-self: center; color: rgba(236, 232, 221, .075); will-change: transform; }
.walls .r1 { animation: marq 38s linear infinite; }
.walls .r2 { animation: marq 30s linear infinite reverse; color: rgba(224, 118, 79, .08); }
.walls .r3 { animation: marq 44s linear infinite; }
.walls .r4 { animation: marq 34s linear infinite reverse; color: rgba(224, 118, 79, .08); }
@keyframes marq { to { transform: translate3d(-50%, 0, 0); } }

/* the beat: three coral bars sweep the frame as the words land, then get out of the way */
.wipe { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.wipe i { position: absolute; left: -10%; width: 120%; height: 3.6vh; background: var(--coral); transform: translateX(-110%) skewX(-24deg); }
.wipe i:nth-child(1) { top: 22%; animation: sweep .62s cubic-bezier(.7, 0, .2, 1) .1s both; }
.wipe i:nth-child(2) { top: 52%; height: 2vh; background: var(--gold); animation: sweep .62s cubic-bezier(.7, 0, .2, 1) .74s both reverse; }
.wipe i:nth-child(3) { top: 74%; animation: sweep .8s cubic-bezier(.7, 0, .2, 1) 2.1s both; }
@keyframes sweep { from { transform: translateX(-110%) skewX(-24deg); } to { transform: translateX(110%) skewX(-24deg); } }

.hin { --hw: min(94vw, calc(64svh / var(--invd))); display: grid; align-content: center; justify-items: center; gap: clamp(16px, 2.4vh, 30px); padding: clamp(18px, 4vh, 48px) 0 clamp(18px, 3vh, 36px); }
.head { width: var(--hw); display: grid; gap: clamp(2px, .6vh, 10px); animation: punch 2.1s linear both; }
.head.m { display: none; }
.head .l .w { animation: slam .85s var(--ease) both; animation-delay: calc((var(--b) + var(--i)) * .38s + .06s); }
.head .l .w .sh { animation: shadow 2.6s ease-in-out infinite alternate; animation-delay: calc((var(--b) + var(--i)) * .2s); }
@keyframes slam { 0% { opacity: 0; transform: scale(1.2) translateY(-6%); } 60% { opacity: .92; } 100% { opacity: 1; transform: none; } }
@keyframes shadow { to { transform: translate(-16px, -12px); } }
/* camera punch on each landing, a shake on the last */
@keyframes punch {
  0%, 9% { transform: none; } 13% { transform: scale(1.012); } 22% { transform: none; }
  28% { transform: scale(1.012); } 37% { transform: none; }
  43% { transform: scale(1.014); } 52% { transform: none; }
  58% { transform: scale(1.014); } 66% { transform: none; }
  73% { transform: scale(1.02) translate(-2px, 1px); } 76% { transform: scale(1.014) translate(2px, -1px); } 80%, 100% { transform: none; }
}
.low { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; width: var(--hw); flex-wrap: wrap; animation: rise .9s ease-out .7s both; }
@keyframes rise { from { opacity: 0; } }
.sub { font-size: clamp(16px, 1.25vw, 21px); color: var(--dim); max-width: 46ch; }
.sub b { color: var(--bone); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border: 2px solid var(--bone); font: 800 17px "JBM"; text-decoration: none; color: var(--bone); background: transparent; position: relative; overflow: hidden; transition: color .25s var(--ease), border-color .25s; }
.btn span { position: relative; z-index: 1; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--bone); transform: translateY(101%); transition: transform .35s var(--ease); }
.btn:hover, .btn:focus-visible { color: var(--ink); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:focus-visible { outline-offset: -7px; outline-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn.hot { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.btn.hot::before { background: var(--gold); }
.btn.big { min-height: 64px; font-size: 19px; padding: 0 34px; }

.clock { display: flex; align-items: baseline; gap: 32px; width: var(--hw); justify-content: flex-end; border-top: 2px solid var(--line); padding-top: clamp(16px, 2.4vh, 26px); animation: rise .9s ease-out .85s both; }
.cl { color: var(--bone); font-weight: 800; font-size: clamp(15px, 1.15vw, 20px); }
.cd, .ecd { font-family: "Hamma", Impact, sans-serif; color: var(--gold); line-height: .9; display: flex; align-items: baseline; font-variant-numeric: tabular-nums; }
.cd { font-size: clamp(44px, 7.4vw, 128px); }
.cd u, .ecd u { text-decoration: none; font: 700 .26em "JBM"; color: var(--dim); margin: 0 .5em 0 .12em; }
.cd u:last-child, .ecd u:last-child { margin-right: 0; }
.cd b, .ecd b { display: inline-block; font-weight: 400; }
.cd b.t, .ecd b.t { animation: flip .45s var(--ease); }
@keyframes flip { from { transform: translateY(-28%); opacity: .2; filter: blur(4px); } }

/* ---------- 2. the race ---------- */
.race .beat { position: relative; min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 28px; padding: 80px var(--pad); overflow: hidden; }
.g-ink { background: var(--ink); --ish: var(--coral); }
.g-coral { background: var(--coral); --ish: var(--bone); color: var(--ink); }
.g-bone { background: var(--bone); --ish: var(--coral); color: var(--ink); }
.race .word { width: min(92vw, calc(100vw - 2 * var(--pad))); }
.race .word .pd { width: 100%; max-height: 58svh; }
.race .cap, .pc .cap, .sub, .pays p, .play .cap { text-wrap: balance; }
.race .cap { font-size: clamp(17px, 1.6vw, 26px); font-weight: 700; text-align: center; max-width: 40ch; }
.g-ink .cap { color: var(--bone); }
.bw { position: absolute; left: 0; height: 16vh; display: flex; color: rgba(236, 232, 221, .12); pointer-events: none; z-index: 0; will-change: transform; }
.bw.top { top: 7vh; } .bw.bot { bottom: 7vh; }
.race .wp { display: none; }
.g-coral .bw, .g-bone .bw { color: rgba(10, 10, 11, .16); }
.race .word, .race .cap { position: relative; z-index: 1; }
.js .race .stage { position: relative; height: 100svh; overflow: hidden; }
.js .race .beat { position: absolute; inset: 0; min-height: 0; isolation: isolate; }
.js .race .beat:nth-child(2) { z-index: 2; } .js .race .beat:nth-child(3) { z-index: 3; } .js .race .beat:nth-child(4) { z-index: 4; }

/* ---------- 3. the plan ---------- */
.plan { background: var(--ink); overflow: hidden; }
.plan .track { display: flex; flex-wrap: wrap; }
.js .plan .track { flex-wrap: nowrap; width: max-content; will-change: transform; }
.pc { width: min(100vw, 1100px); min-height: 100svh; padding: 110px var(--pad) 60px; display: grid; align-content: center; gap: 26px; }
.pc.title h2 { width: min(86vw, 900px); }
.pc .cap { font-size: clamp(17px, 1.5vw, 24px); font-weight: 700; color: var(--dim); max-width: 32ch; }
.days { display: flex; flex-wrap: wrap; }
.js .days { flex-wrap: nowrap; }
.day { width: min(86vw, 640px); min-height: 100svh; padding: 110px var(--pad) 14vh; border-left: 2px solid var(--line); display: grid; align-content: end; gap: 18px; }
.day:not(.ship):not(.now) { opacity: .62; }
.day .chip:empty { display: none; }
.day .num { font: 400 clamp(220px, 52vh, 560px)/.8 "Hamma", Impact, sans-serif; color: var(--bone); }
.day .line { font: 800 clamp(22px, 2.3vw, 38px)/1.15 "JBM"; max-width: 18ch; }
.day .meta { display: flex; gap: 14px; align-items: center; color: var(--dim); font-weight: 700; flex-wrap: wrap; }
.chip { padding: 6px 10px; border: 2px solid currentColor; font-weight: 800; font-size: 14px; }
.day.ship .line { color: var(--bone); }
.day.ship .num { color: var(--gold); }
.day.ship .chip { color: var(--gold); }
.day.now .num { color: var(--coral); }
.day.now .chip { color: var(--coral); }
.day a.pl { font-weight: 800; color: var(--gold); text-underline-offset: 4px; padding: 10px 0; }

/* ---------- 4. the log ---------- */
.log { position: relative; overflow: hidden; background: var(--ink); border-top: 2px solid var(--line); }
.cwall { position: absolute; inset: 0; display: grid; align-content: space-around; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 45%, #000 62%); mask-image: linear-gradient(90deg, transparent 45%, #000 62%); }
.cwall div { white-space: nowrap; font: 800 clamp(48px, 7vw, 120px)/1 "JBM"; color: var(--bone); -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px rgba(236, 232, 221, .06); will-change: transform; }
.cwall div:nth-child(even) { -webkit-text-stroke-color: rgba(224, 118, 79, .16); }
.lin { position: relative; padding: 120px var(--pad) 100px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: start; }
.lin h2 { width: min(100%, 1300px); }
.log .cap { font-weight: 700; color: var(--dim); font-size: clamp(16px, 1.3vw, 20px); }
.nums { width: 100%; display: grid; margin-top: 18px; }
.n { display: flex; align-items: baseline; justify-content: flex-start; gap: 28px; border-top: 2px solid var(--line); padding: clamp(14px, 2.2vh, 24px) 0 clamp(6px, 1vh, 12px); }
.n b { font: 400 clamp(72px, 14vw, 250px)/.86 "Hamma", Impact, sans-serif; color: var(--bone); font-variant-numeric: tabular-nums; }
.n:nth-child(2) b { color: var(--coral); }
.n:nth-child(4) b { color: var(--gold); }
.n span { font: 800 clamp(20px, 2vw, 34px) "JBM"; color: var(--dim); }
@media (min-width: 1200px) { .nums { grid-template-columns: 1fr 1fr; column-gap: 5vw; } }
.log.off .nums { display: none; }

/* ---------- 5. play ---------- */
.play { background: var(--bone); color: var(--ink); --ish: var(--coral); overflow: hidden; }
.play .pin { min-height: 100svh; padding: 100px var(--pad) 70px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-rows: auto auto; align-items: center; gap: 30px 4vw; }
.pw { display: grid; gap: 1vh; }
.pw .pl { display: block; }
.shot { position: relative; display: block; grid-column: 2; grid-row: 1 / span 3; margin-right: calc(-1 * var(--pad)); }
.shot img { display: block; width: 100%; height: auto; }
.play .go { font: 800 clamp(18px, 1.5vw, 24px) "JBM"; color: var(--ink); text-underline-offset: 5px; padding: 10px 0; justify-self: start; }
.play .go { color: var(--ink); font-weight: 800; }
.xi { display: inline-block; width: .95em; height: .95em; vertical-align: -.12em; fill: currentColor; margin-left: .25em; }
.btn[hidden] { display: none; }
.btn.ink { background: var(--ink); border-color: var(--ink); color: var(--bone); justify-self: start; }
.btn.ink::before { background: var(--coral); }
figure.shot { margin: 0; }
.play .cap { grid-column: 1; font-weight: 700; font-size: clamp(16px, 1.3vw, 21px); max-width: 70ch; }

/* ---------- 6. watch ---------- */
.watch { background: var(--ink); padding: 120px var(--pad); display: grid; gap: 34px; justify-items: start; border-top: 2px solid var(--line); }
.watch h2 { width: min(100%, 1250px); }
@media (min-width: 1100px) { .watch { grid-template-columns: 1fr 1.1fr; align-items: center; column-gap: 4vw; } .watch h2 { grid-column: 1; } .watch .now { grid-column: 2; grid-row: 1 / span 2; width: 100%; } .watch .btn { grid-column: 1; } }
.now { width: min(100%, 1200px); border: 2px solid var(--line); background: var(--panel); }
.nh { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 2px solid var(--line); font-weight: 700; }
.dim { color: var(--dim); }
.nt { overflow-wrap: anywhere; padding: 20px 18px 24px; font: 700 clamp(18px, 1.7vw, 28px)/1.4 "JBM"; }
.nt::after { content: ""; display: inline-block; width: .55em; height: 1em; background: var(--coral); vertical-align: -.12em; margin-left: .2em; animation: rec 1s steps(2) infinite; }

/* ---------- 7. pays ---------- */
.pays { background: var(--coral); color: var(--ink); padding: 110px var(--pad); min-height: 100svh; display: grid; gap: 26px; justify-items: start; align-content: center; }
.pays h2 { width: 100%; }
.pays p { font: 800 clamp(19px, 1.9vw, 32px)/1.3 "JBM"; max-width: 36ch; }
.tl { font: 800 clamp(17px, 1.4vw, 22px) "JBM"; text-underline-offset: 5px; padding: 8px 0; }

/* ---------- 8. end ---------- */
.end { position: relative; overflow: hidden; min-height: 100svh; display: grid; place-items: center; isolation: isolate; }
.end .walls { grid-template-rows: repeat(2, 1fr); }
.end .walls .row { height: 34vh; animation: none; }
.ein { display: grid; justify-items: center; gap: clamp(18px, 3vh, 34px); padding: 90px var(--pad); }
.ein h2 { display: grid; gap: 1vh; width: min(92vw, calc(46svh * 3.3)); }
.ein .el { display: block; }
.ein .hm { font: 400 clamp(96px, 17vw, 330px)/.86 "Hamma", Impact, sans-serif; color: var(--coral); -webkit-text-stroke: .025em #000; paint-order: stroke fill; text-shadow: .06em .06em 0 var(--shade); text-align: center; }
.ecd { font-size: clamp(42px, 9vw, 170px); }

.foot { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding: 26px var(--pad) 34px; border-top: 2px solid var(--line); color: var(--dim); font-size: 14px; }
.foot a { padding: 10px 0; }
.foot .na { margin-left: auto; }

/* ---------- 3. plan: detailed days ---------- */
.day { width: min(88vw, 820px); }
.day .num { font-size: clamp(130px, 27vh, 300px); }
.day .dt { font: 800 clamp(26px, 2.6vw, 44px)/1.05 "JBM"; max-width: 20ch; }
.day ul { list-style: none; padding: 0; display: grid; gap: 8px; max-width: 46ch; }
.day li { font: 400 clamp(15px, 1.05vw, 18px)/1.4 "JBM"; color: var(--bone); padding-left: 22px; position: relative; }
.day li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--coral); }
.day.ship li::before { background: var(--gold); }

/* ---------- 3b. the whole game ---------- */
.game { position: relative; background: var(--ink); border-top: 2px solid var(--line); padding: 120px var(--pad) 110px; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vh, 48px); overflow: hidden; }
.gin { display: grid; gap: 26px; }
.game h2 { display: grid; gap: 1vh; width: min(100%, 1500px); }
.game .gl { display: block; }
.game .gl + .gl { width: 66%; }
.lede { font: 700 clamp(18px, 1.6vw, 28px)/1.45 "JBM"; max-width: 58ch; text-wrap: balance; }
.cast { display: grid; grid-template-columns: 1fr 1fr; gap: 0 5vw; max-width: 1500px; }
.lead { display: grid; gap: 10px; border-top: 2px solid var(--line); padding-top: 20px; }
.lead b { font: 400 clamp(40px, 5vw, 92px)/.95 "Hamma", Impact, sans-serif; color: var(--coral); }
.lead + .lead b { color: var(--bone); }
.lead span { font: 400 clamp(16px, 1.2vw, 20px)/1.45 "JBM"; color: var(--dim); max-width: 44ch; }
.story { font: 800 clamp(18px, 1.5vw, 26px)/1.4 "JBM"; max-width: 60ch; }
.gnums { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5vw; }
.gnums .n b { color: var(--bone); font-size: clamp(64px, 9vw, 170px); }
.gnums .n:nth-child(1) b { color: var(--gold); }
.gnums .n span { max-width: 26ch; }
.names { display: grid; gap: 6px; margin: 0 calc(-1 * var(--pad)); overflow: hidden; min-width: 0; }
.names div { white-space: nowrap; font: 800 clamp(34px, 5vw, 92px)/1.05 "JBM"; color: var(--bone); -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px rgba(236, 232, 221, .28); will-change: transform; }
.names div:nth-child(2) { -webkit-text-stroke-color: rgba(224, 118, 79, .55); }
.after { display: grid; gap: 16px; max-width: 1100px; }
.after h3 { font: 800 clamp(22px, 2vw, 34px) "JBM"; color: var(--gold); }
.after ol { padding-left: 1.4em; display: grid; gap: 10px; }
.after li { font: 400 clamp(16px, 1.25vw, 21px)/1.45 "JBM"; }
.after li b { font-weight: 800; }

/* ---------- 5. play: more real frames ---------- */
.frames { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.frames img { display: block; width: 100%; height: auto; }

/* ---------- 7. the money ---------- */
.pays h2 { display: grid; gap: 1vh; width: 100%; }
.pays .big { font: 400 clamp(120px, 24vw, 460px)/.8 "Hamma", Impact, sans-serif; color: var(--ink); -webkit-text-stroke: .02em var(--ink); text-shadow: .045em .045em 0 var(--shade); }
.pays .pl { display: block; width: min(100%, 1300px); }
.pays .pline { font: 800 clamp(19px, 1.8vw, 30px)/1.35 "JBM"; max-width: 46ch; }
.spend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; width: 100%; border-top: 3px solid var(--ink); }
.spend div { display: grid; gap: 8px; align-content: start; padding: 20px 22px 22px 0; }
.spend div + div { padding-left: 22px; border-left: 2px solid rgba(10, 10, 11, .35); }
.spend b { font: 800 clamp(20px, 1.7vw, 30px)/1.1 "JBM"; }
.spend span { font: 400 clamp(15px, 1.1vw, 18px)/1.45 "JBM"; }
.ledger { width: min(100%, 900px); border-top: 2px solid rgba(10, 10, 11, .35); }
.ledger .lrow { display: flex; gap: 24px; justify-content: space-between; padding: 14px 0; border-bottom: 2px solid rgba(10, 10, 11, .2); font: 700 16px "JBM"; }
.pays .dim { color: rgba(10, 10, 11, .7); }

/* ---------- cursor (fine pointers only) ---------- */
.cur { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cur { display: block; position: fixed; left: 0; top: 0; z-index: 90; width: 0; height: 0; pointer-events: none; mix-blend-mode: difference; }
  .js .cur::after { content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; background: var(--coral); transition: transform .25s var(--ease); }
  .js .cur.big::after { transform: scale(4.6); }
}

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .day { width: 90vw; }
  .day .num { font-size: clamp(110px, 32vw, 180px); }
  .cast, .gnums { grid-template-columns: 1fr; }
  .game .gl + .gl { width: 88%; }
  .frames { grid-template-columns: 1fr; }
  .spend { grid-template-columns: 1fr 1fr; }
  .spend div, .spend div + div { padding: 16px 12px 16px 0; border-left: 0; }
  .ledger .lrow { flex-direction: column; gap: 4px; }
  .hin { --hw: min(92vw, calc(52svh / var(--invm))); }
  .stat .live:not(.on) { display: none; }
  .race .wd { display: none; }
  .race .wp { display: grid; gap: 1.2vh; justify-items: center; }
  .race .wp .pd { width: 88vw; max-height: 26svh; }
  .play .pin { grid-template-columns: 1fr; }
  .shot { grid-column: 1; grid-row: auto; margin: 0 calc(-1 * var(--pad)); }
  .ecd { font-size: 17vw; }
  .pays { min-height: 0; padding: 90px var(--pad); }
  .ecd u { font-size: .3em; }
  .bar { gap: 10px; }
  .brand .wm { width: 112px; }
  .brand .mk { width: 30px; height: 30px; }
  .stat .daynum, .stat .live span { display: none; }
  .bar nav a { padding: 12px 5px; font-size: 13px; }
  .bar nav a { white-space: nowrap; }
  .bar nav a[href="#plan"] { display: none; }
  .head.d { display: none; }
  .head.m { display: grid; }
  .head .l .w { animation-name: slam-m; animation-duration: 1.05s; animation-delay: calc((var(--b) + var(--i)) * .46s + .06s); }
  .low { animation-delay: 1.1s; }
  .clock { animation-delay: 1.25s; }
  @keyframes slam-m { 0% { opacity: 0; transform: scale(1.1) translateY(-10%); } 60% { opacity: .9; } 100% { opacity: 1; transform: none; } }
  .low { justify-content: center; text-align: center; }
  .ctas { justify-content: center; }
  .btn { flex: 1 1 140px; white-space: nowrap; padding: 0 14px; font-size: 16px; }
  .clock { flex-direction: column; align-items: center; gap: 4px; }
  .cd { font-size: clamp(36px, 12.4vw, 64px); }
  .pc, .day { min-height: 0; padding: 70px var(--pad) 50px; }
  .js .pc, .js .day { min-height: 100svh; }
  .n { flex-direction: column; align-items: flex-start; gap: 2px; }
  .n span { text-align: left; }
  .foot .na { margin-left: 0; }
}

/* ---------- reduced motion: everything lands, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wipe { display: none; }
}
