/* Gali — field guide, roadmap and notice board.
   One palette, two typefaces, one idea: the page is a descent from the island surface into the mine. */

@font-face { font-family: "Jersey 15"; src: url(../fonts/Jersey15_400Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url(../fonts/ChakraPetch_500Medium.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url(../fonts/ChakraPetch_600SemiBold.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --sea: #0b2a5e;
  --night: #070d20;
  --deep: #04070f;
  --panel: #0f1c3f;
  --panel2: #172b58;
  --line: #2a4480;
  --trim: #c9a24e;
  --gold: #ffcf4a;
  --gold-hi: #ffe7a3;
  --gold-lo: #a8650f;
  --teal: #3ee6ff;
  --skr: #c7f284;
  --red: #ff4d5e;
  --pink: #ff5fa2;
  --text: #f2f5ff;
  --soft: #d3dbef;
  --muted: #8ea2cc;
  --px: 4px;
  --gutter: clamp(20px, 5vw, 72px);
  --wide: 1240px;
  --read: 66ch;
  --depth: 0;            /* 0 at the surface, 1 at the bottom of the page; set by script */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--deep);
  font: 500 17px/1.6 "Chakra Petch", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
.px { image-rendering: pixelated; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--night); }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The sky-to-cave backdrop. Script moves --depth from 0 to 1 as you scroll. */
.backdrop {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% calc(110% - var(--depth) * 40%), rgba(255, 170, 60, calc(var(--depth) * 0.16)), transparent 60%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--sea) calc((1 - var(--depth)) * 100%), var(--deep)) 0%,
      color-mix(in srgb, var(--night) calc((1 - var(--depth)) * 100%), var(--deep)) 100%);
}
.backdrop::after {
  /* faint dither so big flat fields still read as pixel art */
  content: ""; position: absolute; inset: 0; opacity: .07;
  background-image: radial-gradient(#fff 1px, transparent 1.2px);
  background-size: 8px 8px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

/* ---------- type ---------- */
h1, h2, h3, .display { font-family: "Jersey 15", "Chakra Petch", monospace; font-weight: 400; line-height: .95; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(48px, 7.4vw, 104px); color: var(--gold); text-shadow: 0 var(--px) 0 var(--gold-lo); }
h3 { font-size: clamp(30px, 3.4vw, 40px); color: var(--text); }
p { margin: 0; max-width: var(--read); }
p + p { margin-top: 14px; }
.lede { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.5; color: var(--soft); }
strong { color: var(--text); font-weight: 600; }
code { font: 600 .9em "Chakra Petch", monospace; color: var(--skr); background: rgba(15, 28, 63, .8); padding: 1px 6px; overflow-wrap: anywhere; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
section { position: relative; }
.chapter { padding-block: clamp(96px, 14vh, 168px); }
.chapter-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vh, 72px); }
.chapter-head .lede { max-width: 54ch; }

/* stepped pixel corners: one shape language for every control */
.stepped {
  clip-path: polygon(var(--px) 0, calc(100% - var(--px)) 0, calc(100% - var(--px)) var(--px), 100% var(--px), 100% calc(100% - var(--px)), calc(100% - var(--px)) calc(100% - var(--px)), calc(100% - var(--px)) 100%, var(--px) 100%, var(--px) calc(100% - var(--px)), 0 calc(100% - var(--px)), 0 var(--px), var(--px) var(--px));
}

.btn {
  --bg: var(--gold); --fg: var(--night); --shade: var(--gold-lo);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px 15px; border: 0; cursor: pointer; text-decoration: none;
  font: 600 16px/1 "Chakra Petch", sans-serif; color: var(--fg); background: var(--bg);
  box-shadow: inset 0 calc(-1 * var(--px)) 0 var(--shade);
  transition: transform .12s steps(2), filter .12s;
}
.btn:hover { color: var(--fg); filter: brightness(1.08); transform: translateY(-2px); }
.btn:active { transform: translateY(2px); box-shadow: inset 0 0 0 var(--shade); }
.btn.ghost { --bg: rgba(23, 43, 88, .85); --fg: var(--text); --shade: #0a1530; backdrop-filter: blur(6px); }
.btn.small { padding: 9px 14px 11px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; filter: none; }
.btn svg { width: 16px; height: 16px; }

/* ---------- top bar ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 2px solid transparent;
}
.bar.scrolled { background: rgba(5, 9, 22, .78); backdrop-filter: blur(12px); padding-block: 10px; border-color: rgba(42, 68, 128, .6); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold); font: 400 30px/1 "Jersey 15", monospace; }
.brand img { width: 34px; height: 34px; }
.bar nav { display: flex; gap: 4px; }
.bar nav a { color: var(--soft); text-decoration: none; padding: 8px 12px; font-weight: 600; font-size: 15px; position: relative; }
.bar nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s steps(5); }
.bar nav a:hover, .bar nav a[aria-current="true"] { color: var(--text); }
.bar nav a[aria-current="true"]::after, .bar nav a:hover::after { transform: scaleX(1); }
.bar .menu-btn { display: none; }

/* ---------- depth gauge (desktop) ---------- */
.gauge {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40;
  width: 64px; height: min(52vh, 440px); pointer-events: none;
  display: flex; flex-direction: column; align-items: flex-end;
  opacity: 0; transition: opacity .6s;
}
.gauge.on { opacity: 1; }
.gauge .rule { position: relative; flex: 1; width: 14px; background: repeating-linear-gradient(to bottom, var(--line) 0 2px, transparent 2px 22px); border-right: 2px solid var(--line); }
.gauge .rule::before { content: ""; position: absolute; right: -2px; top: 0; width: 2px; height: calc(var(--depth) * 100%); background: var(--gold); }
.gauge .bob { position: absolute; right: 8px; top: calc(var(--depth) * 100%); width: 12px; height: 12px; background: var(--gold); transform: translateY(-50%); box-shadow: 0 0 0 3px var(--deep), 0 0 18px rgba(255, 207, 74, .7); }
.gauge output { font: 400 22px/1 "Jersey 15", monospace; color: var(--gold); margin-top: 12px; white-space: nowrap; text-shadow: 0 2px 0 var(--deep); }
.gauge small { font: 600 11px/1.2 "Chakra Petch", sans-serif; color: var(--muted); margin-top: 4px; text-align: right; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 92svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; image-rendering: pixelated; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 7, 15, .55) 0%, rgba(4, 7, 15, 0) 22%),
    linear-gradient(0deg, rgba(4, 7, 15, .97) 4%, rgba(4, 7, 15, .55) 42%, rgba(4, 7, 15, .1) 70%);
}
.hero .wrap { padding-bottom: clamp(128px, 17vh, 168px); padding-top: 120px; }
.hero .mark { width: min(560px, 78vw); height: auto; filter: drop-shadow(0 10px 0 rgba(0, 0, 0, .35)); }
.hero .tag { font-size: clamp(21px, 2.4vw, 30px); line-height: 1.35; margin-top: 18px; max-width: 30ch; color: var(--text); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero .meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero .meta i { width: 8px; height: 8px; background: var(--skr); display: inline-block; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
/* the surface: a strip of pixel grass and dirt at the hero's edge, so the next layer visibly starts here */
.soil {
  position: absolute; left: 0; right: 0; bottom: 0; height: 36px; z-index: 1; pointer-events: none;
  background:
    linear-gradient(#4f9a3a, #4f9a3a) top / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, #3b7a2c 0 8px, transparent 8px 24px) 0 8px / 100% 4px no-repeat,
    repeating-linear-gradient(90deg, #6b4a32 0 12px, #5a3a24 12px 20px, #7a5638 20px 32px) 0 12px / 100% 24px no-repeat;
  box-shadow: 0 -10px 30px rgba(4, 7, 15, .5);
}
.soil::after {
  content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 12px;
  background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(0, 0, 0, .25) 18px 22px, transparent 22px 40px, rgba(255, 207, 74, .55) 40px 44px, transparent 44px 70px);
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 52px; z-index: 2; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 14px;
  font: 400 26px/1 "Jersey 15", monospace; color: var(--gold); text-decoration: none; white-space: nowrap;
  background: rgba(4, 7, 15, .82); box-shadow: inset 0 0 0 2px rgba(255, 207, 74, .55);
  transition: opacity .4s, transform .4s var(--ease-out);
  animation: bob 1.6s steps(4) infinite;
}
.scroll-cue:hover { color: var(--gold-hi); box-shadow: inset 0 0 0 2px var(--gold); }
.scroll-cue .pick { width: 26px; height: 26px; image-rendering: pixelated; transform-origin: 40% 90%; animation: swing 1.6s steps(3) infinite; }
.scroll-cue .chev { display: grid; gap: 1px; }
.scroll-cue .chev i { width: 12px; height: 12px; border-right: 4px solid var(--gold); border-bottom: 4px solid var(--gold); transform: rotate(45deg) scale(.8); opacity: .25; animation: cascade 1.2s steps(1) infinite; }
.scroll-cue .chev i:nth-child(2) { animation-delay: .2s; }
.scroll-cue .chev i:nth-child(3) { animation-delay: .4s; }
.scroll-cue.call { animation: bob 1.6s steps(4) infinite, call 1s steps(5) 2; }
.scroll-cue.gone { opacity: 0; pointer-events: none; transform: translate(-50%, 20px); }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }
@keyframes swing { 0% { transform: rotate(-35deg); } 50% { transform: rotate(20deg); } 100% { transform: rotate(-35deg); } }
@keyframes cascade { 0%, 100% { opacity: .25; } 30% { opacity: 1; } }
@keyframes call { 50% { box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 10px rgba(255, 207, 74, .25), 0 0 40px rgba(255, 207, 74, .6); } }
@keyframes nudge { 50% { transform: translateY(6px) rotate(45deg); } }

/* load sequence: pixel curtain + stepped entrances */
.curtain { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.intro .hero .mark, .intro .hero .tag, .intro .hero .cta, .intro .hero .meta { opacity: 0; }
.ready .hero .mark { animation: drop .7s steps(7) both .35s; }
.ready .hero .tag { animation: rise .6s var(--ease-out) both .85s; }
.ready .hero .cta { animation: rise .6s var(--ease-out) both 1.05s; }
.ready .hero .meta { animation: rise .6s var(--ease-out) both 1.25s; }
@keyframes drop { from { transform: translateY(-60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(22px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- statement: words light up as you scroll ---------- */
.statement { padding-block: clamp(120px, 22vh, 240px); }
.statement p { font: 400 clamp(40px, 6.2vw, 92px)/1.02 "Jersey 15", monospace; max-width: 18ch; color: var(--text); }
.statement .w { color: rgba(142, 162, 204, .22); transition: color .25s steps(3); }
.statement .w.lit { color: var(--text); }
.statement .w.gold.lit { color: var(--gold); }

/* ---------- watch ---------- */
.reel { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: start; }
.screen { position: relative; background: #000; overflow: hidden; }
.screen video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.screen .play {
  position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; border: 0; padding: 0;
  background: linear-gradient(0deg, rgba(4, 7, 15, .85), rgba(4, 7, 15, .05) 55%);
}
.screen .play span {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 22px 18px; background: var(--gold); color: var(--night);
  font: 600 17px/1 "Chakra Petch", sans-serif; box-shadow: inset 0 -4px 0 var(--gold-lo);
  transition: transform .15s steps(2);
}
.screen .play:hover span { transform: scale(1.06); }
.screen .play svg { width: 18px; height: 18px; }
.screen.playing .play { display: none; }
.caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; }
.caption b { font: 400 28px/1 "Jersey 15", monospace; color: var(--text); }
.caption span { color: var(--muted); font-size: 15px; }

/* ---------- world scrollytelling ---------- */
.world .stage { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); }
.world .frame { position: sticky; top: calc(50vh - min(25vw, 280px) * .5625 - 40px); align-self: start; }
.world .frame-in { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; box-shadow: 0 0 0 var(--px) var(--panel2), 0 30px 80px rgba(0, 0, 0, .55); }
.world .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s steps(5); image-rendering: pixelated; }
.world .frame video.on { opacity: 1; }
.world .frame .rail { display: flex; gap: 6px; margin-top: 16px; }
.world .frame .rail i { flex: 1; height: 6px; background: var(--panel2); position: relative; overflow: hidden; }
.world .frame .rail i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s steps(6); }
.world .frame .rail i.done::after, .world .frame .rail i.on::after { transform: scaleX(1); }
.world .frame .now { display: flex; justify-content: space-between; margin-top: 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.world .frame .now b { color: var(--gold); font-weight: 600; }
.world .steps { display: grid; }
.world .step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding-block: 8vh; opacity: .32; transition: opacity .4s; }
.world .step.on { opacity: 1; }
.world .step .kicker { font: 400 22px/1 "Jersey 15", monospace; color: var(--teal); margin-bottom: 10px; }
.world .step h3 { font-size: clamp(40px, 4.4vw, 64px); color: var(--gold); text-shadow: 0 var(--px) 0 var(--gold-lo); }
.world .step p { margin-top: 18px; color: var(--soft); }
.world .step ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: var(--read); }
.world .step li { padding-left: 24px; position: relative; color: var(--soft); }
.world .step li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--gold); }

/* ---------- try a round ---------- */
.try .layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.try .layout > div:first-child { position: sticky; top: 96px; }
/* the practice island: the game's own art, claims tinted on a canvas */
.isle { position: relative; background: #0b2a5e; box-shadow: 0 0 0 var(--px) var(--panel2), 0 30px 80px rgba(0, 0, 0, .5); overflow: hidden; }
.isle canvas { width: 100%; height: auto; aspect-ratio: 313 / 203; image-rendering: pixelated; cursor: pointer; touch-action: manipulation; }
.isle-hint {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); margin: 0; pointer-events: none;
  font: 400 22px/1 "Jersey 15", monospace; color: var(--gold); white-space: nowrap;
  padding: 8px 12px 6px; background: rgba(4, 7, 15, .82); box-shadow: inset 0 0 0 2px rgba(255, 207, 74, .5);
  animation: hintbob 1.6s steps(4) infinite; transition: opacity .3s;
}
@keyframes hintbob { 50% { transform: translate(-50%, -4px); } }
.isle-hint.gone { opacity: 0; }
.grid25 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 14px; background: rgba(4, 7, 15, .6); box-shadow: 0 0 0 var(--px) var(--panel2); }
.spot {
  position: relative; aspect-ratio: 1; border: 0; cursor: pointer; padding: 0;
  background: #1d3a2a; box-shadow: inset 0 -6px 0 #10241a, inset 0 0 0 2px #2b5a3c;
  display: grid; place-items: center; font: 400 22px/1 "Jersey 15", monospace; color: rgba(242, 245, 255, .55);
  transition: transform .1s steps(2);
}
.spot:hover { transform: translateY(-2px); }
.spot .shaft { position: absolute; width: 38%; height: 30%; bottom: 22%; background: #0a0f0c; box-shadow: 0 -4px 0 #5a3a24; }
.spot b { position: relative; z-index: 1; }
.spot .star { position: absolute; top: 4px; right: 6px; font-size: 14px; color: var(--gold); opacity: 0; }
.show-solo .spot.solo .star { opacity: 1; }
.spot[aria-pressed="true"] { background: #0e3d4a; box-shadow: inset 0 -6px 0 #062631, inset 0 0 0 3px var(--teal); color: var(--text); }
.spot.scan { background: #4a3b10; box-shadow: inset 0 -6px 0 #2a2008, inset 0 0 0 3px var(--gold); }
.spot.win { background: var(--gold); box-shadow: inset 0 -6px 0 var(--gold-lo), 0 0 30px rgba(255, 207, 74, .8); color: var(--night); animation: thump .5s steps(4); }
.spot.dim { filter: brightness(.45) saturate(.6); }
@keyframes thump { 40% { transform: scale(1.12); } }
.try .readout { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.try .readout output { font: 400 26px/1.1 "Jersey 15", monospace; color: var(--text); min-height: 1.2em; }
.try .readout output.good { color: var(--gold); }
.try .controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.coin { position: fixed; z-index: 90; width: 10px; height: 10px; background: var(--gold); box-shadow: inset -2px -2px 0 var(--gold-lo); pointer-events: none; }
.newbie { margin-top: 26px; padding: 22px 22px 20px; background: rgba(9, 16, 38, .92); box-shadow: inset 0 0 0 2px var(--panel2); }
.newbie h3 { font-size: 32px; color: var(--gold); }
.newbie > p { margin-top: 10px; color: var(--text); }
.newbie ol { list-style: none; margin: 16px 0 0; padding: 0; counter-reset: n; display: grid; gap: 12px; }
.newbie li { counter-increment: n; position: relative; padding-left: 40px; color: var(--soft); font-size: 16px; }
.newbie li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; font: 400 20px/1 "Jersey 15", monospace; color: var(--night); background: var(--teal); }
.newbie li b { color: var(--text); font-weight: 600; }
.newbie .example { margin-top: 18px; padding: 14px 16px; background: rgba(255, 207, 74, .08); border-left: var(--px) solid var(--gold); }
.newbie .example > b { font: 400 22px/1 "Jersey 15", monospace; color: var(--gold); }
.newbie .example p { margin-top: 8px; font-size: 15.5px; color: var(--soft); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 30px; border-top: 2px solid var(--panel2); }
.facts div { padding: 18px 18px 18px 0; border-bottom: 2px solid var(--panel2); }
.facts dt { font: 400 34px/1 "Jersey 15", monospace; color: var(--gold); }
.facts dd { margin: 6px 0 0; color: var(--soft); font-size: 15px; }

/* ---------- field guide (docs) ---------- */
.guide .layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
.guide .layout > *, .world .stage > *, .try .layout > * { min-width: 0; }
.shaft { position: sticky; top: 96px; align-self: start; }
.shaft ol { list-style: none; margin: 0; padding: 0; position: relative; }
.shaft ol::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 16px; width: 12px;
  background:
    linear-gradient(var(--line), var(--line)) left / 2px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) right / 2px 100% no-repeat,
    repeating-linear-gradient(to bottom, transparent 0 10px, var(--line) 10px 12px);
  opacity: .7;
}
.shaft a { display: grid; grid-template-columns: 44px 1fr; align-items: center; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.shaft a b { font: 400 16px/1 "Jersey 15", monospace; width: 44px; text-align: center; padding: 4px 0 2px; background: var(--deep); border: 2px solid var(--line); position: relative; }
.shaft a span { padding-left: 12px; }
.shaft a:hover { color: var(--text); }
.shaft a[aria-current="true"] { color: var(--gold); }
.shaft a[aria-current="true"] b { background: var(--gold); border-color: var(--gold); color: var(--night); }
.floor { padding-bottom: 72px; margin-bottom: 72px; border-bottom: 2px solid rgba(42, 68, 128, .5); }
.floor:last-child { border-bottom: 0; margin-bottom: 0; }
.floor > header { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.floor > header .depth { font: 400 20px/1 "Jersey 15", monospace; color: var(--muted); border: 2px solid var(--line); padding: 4px 8px 2px; }
.floor h3 { font-size: clamp(36px, 4vw, 52px); color: var(--gold); text-shadow: 0 var(--px) 0 var(--gold-lo); }
.floor h4 { font: 600 19px/1.3 "Chakra Petch", sans-serif; margin: 34px 0 6px; color: var(--text); }
.floor ul, .floor ol { margin: 14px 0 0; padding-left: 22px; max-width: var(--read); color: var(--soft); }
.floor li + li { margin-top: 8px; }
.floor p { color: var(--soft); }
.floor p.lede { color: var(--text); }
ol.sequence { list-style: none; padding: 0; counter-reset: s; }
ol.sequence li { counter-increment: s; position: relative; padding-left: 52px; margin-top: 18px; }
ol.sequence li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; display: grid; place-items: center; font: 400 24px/1 "Jersey 15", monospace; color: var(--night); background: var(--teal); }
.note { margin-top: 22px; max-width: var(--read); padding: 16px 20px; background: rgba(15, 28, 63, .78); border-left: var(--px) solid var(--trim); color: var(--soft); }
.note.warn { border-left-color: var(--red); }
.table { overflow-x: auto; margin-top: 18px; max-width: 820px; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
.table.wide table { min-width: 620px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 2px solid rgba(42, 68, 128, .7); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 14px; }
td { color: var(--soft); }
td:first-child { color: var(--text); font-weight: 600; }
.games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin-top: 22px; border-top: 2px solid rgba(42, 68, 128, .7); }
.games article { padding: 20px 0; border-bottom: 2px solid rgba(42, 68, 128, .7); }
.games h4 { margin: 0; font: 400 30px/1 "Jersey 15", monospace; color: var(--text); }
.games .line { color: var(--gold); font-size: 15px; margin-top: 6px; }
.games p { font-size: 16px; margin-top: 10px; }

.verify { margin-top: 26px; padding: 20px; background: rgba(4, 7, 15, .65); box-shadow: 0 0 0 2px var(--panel2); max-width: 760px; }
.verify h4 { margin-top: 0; }
.verify label { display: block; font-weight: 600; font-size: 14px; color: var(--muted); margin-top: 12px; }
.verify input { width: 100%; margin-top: 6px; }
.verify .row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.verify output { font-weight: 600; }
.verify output.ok { color: var(--skr); }
.verify output.bad { color: var(--red); }

input, textarea, select {
  font: 500 16px/1.4 "Chakra Petch", sans-serif; color: var(--text); background: #060b1a;
  border: 2px solid var(--line); padding: 11px 13px; border-radius: 0; width: 100%;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); }
textarea { resize: vertical; min-height: 96px; }
::placeholder { color: #5f74a3; }

.rack { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 22px; max-width: 820px; }
.rack figure { margin: 0; text-align: center; padding: 12px 4px 10px; background: rgba(15, 28, 63, .6); position: relative; }
.rack figure::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--r, var(--line)); }
.rack img { width: 64px; height: 64px; margin: 0 auto; transition: transform .2s steps(3); }
.rack figure:hover img { transform: translateY(-6px) scale(1.08); }
.rack figcaption { font-size: 12px; line-height: 1.3; color: var(--muted); margin-top: 8px; }
.rack figcaption b { display: block; color: var(--skr); }
.r-common { --r: #8ea2cc; } .r-rare { --r: var(--teal); } .r-epic { --r: #b86bff; } .r-legendary { --r: var(--gold); }

details { max-width: var(--read); border-bottom: 2px solid rgba(42, 68, 128, .7); }
details:first-of-type { border-top: 2px solid rgba(42, 68, 128, .7); margin-top: 10px; }
summary { cursor: pointer; padding: 15px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 28px/.7 "Jersey 15", monospace; color: var(--gold); transition: transform .2s steps(3); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 16px; }

/* ---------- roadmap: a mine-cart line drawn by scroll ---------- */
.roadmap .track { position: relative; }
.roadmap svg.line { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.roadmap svg.line path.bed { stroke: rgba(42, 68, 128, .7); }
.roadmap svg.line path.lit { stroke: var(--gold); }
.roadmap .cart { position: absolute; left: 0; top: 0; width: 44px; height: 32px; margin: -26px 0 0 -22px; pointer-events: none; transition: transform .1s linear; z-index: 2; }
.stations { position: relative; display: grid; gap: clamp(64px, 12vh, 140px); padding: 20px 0 40px; }
.station { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 8vw, 140px); align-items: start; }
.station:nth-child(even) .card { grid-column: 2; }
.station .card { position: relative; padding: 26px 26px 28px; background: rgba(9, 16, 38, .92); box-shadow: 0 0 0 2px var(--panel2); }
.station .flag { display: inline-flex; align-items: center; gap: 8px; font: 400 22px/1 "Jersey 15", monospace; padding: 6px 10px 4px; background: var(--panel2); color: var(--text); }
.station .flag i { width: 10px; height: 10px; display: inline-block; background: var(--muted); }
.station.live .flag i { background: var(--skr); animation: blink 1.6s steps(2) infinite; }
.station.next .flag i { background: var(--gold); }
.station.launch .flag i { background: var(--teal); animation: blink 1.6s steps(2) infinite; }
.station.launch .card { box-shadow: 0 0 0 2px var(--teal); }
.station.explore .flag i { background: var(--pink); }
.station h3 { margin-top: 16px; font-size: clamp(34px, 3.4vw, 46px); color: var(--gold); }
.station ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.station li { position: relative; padding-left: 26px; color: var(--soft); }
.station li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; box-shadow: inset 0 0 0 2px var(--line); }
.station.live li::before { background: var(--skr); box-shadow: none; }
.station li b { color: var(--text); font-weight: 600; }
.station .card .vote-hint { margin-top: 18px; font-size: 15px; color: var(--muted); }
.station .card { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.station.seen .card { opacity: 1; transform: none; }

/* ---------- notice board ---------- */
.board .tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 0; cursor: pointer; padding: 8px 12px 9px; font-weight: 600; font-size: 14px; color: var(--soft); background: rgba(23, 43, 88, .6); }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--night); }
.whoami { color: var(--muted); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.whoami b { color: var(--skr); }
.avatar { width: 22px; height: 22px; display: inline-grid; grid-template-columns: repeat(5, 1fr); flex: none; }
.avatar i { background: var(--c); }
.composer { padding: 22px; background: rgba(9, 16, 38, .92); box-shadow: 0 0 0 2px var(--panel2); margin-bottom: 30px; }
.composer .row { display: grid; grid-template-columns: 1fr 190px; gap: 12px; }
.composer .foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.composer .foot small { color: var(--muted); font-size: 14px; }
.composer textarea { margin-top: 12px; }
.count { font-variant-numeric: tabular-nums; }
.notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; align-items: start; }
.note-card {
  position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 20px 20px 18px 14px;
  background: #f4ecd2; color: #1b1d2b; transform: rotate(var(--tilt, 0deg));
  box-shadow: 0 10px 0 rgba(0, 0, 0, .25), inset 0 -4px 0 rgba(0, 0, 0, .08);
  transition: transform .25s var(--ease-out);
}
.note-card:hover { transform: rotate(0deg) translateY(-3px); }
.note-card::before { content: ""; position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; background: var(--pin, var(--red)); box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .25); }
.note-card[data-tag="island"] { --pin: var(--teal); background: #e6f3f6; }
.note-card[data-tag="lobby"] { --pin: var(--skr); background: #eef4dc; }
.note-card[data-tag="arcade"] { --pin: var(--pink); background: #f7e6ee; }
.note-card[data-tag="gear"] { --pin: var(--gold); background: #f7edd2; }
.note-card.fresh { animation: pin .5s steps(5); }
@keyframes pin { from { transform: translateY(-30px) rotate(-6deg); opacity: 0; } }
.votes { display: grid; justify-items: center; align-content: start; gap: 2px; }
.votes button { width: 40px; height: 34px; border: 0; cursor: pointer; background: rgba(27, 29, 43, .08); display: grid; place-items: center; color: #3a4060; }
.votes button:hover { background: rgba(27, 29, 43, .16); }
.votes button svg { width: 16px; height: 16px; }
.votes button[aria-pressed="true"].up { background: #1b1d2b; color: var(--gold); }
.votes button[aria-pressed="true"].down { background: #1b1d2b; color: #ff8e9a; }
.votes output { font: 400 28px/1.1 "Jersey 15", monospace; color: #1b1d2b; min-width: 2ch; text-align: center; }
.note-card .tagline { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 13px; font-weight: 600; color: #5a6078; }
.note-card .tagline .t { padding: 2px 8px; background: rgba(27, 29, 43, .08); color: #1b1d2b; }
.note-card h4 { margin: 8px 0 0; font: 600 19px/1.3 "Chakra Petch", sans-serif; color: #12141f; overflow-wrap: anywhere; }
.note-card .body { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: #2c3048; white-space: pre-wrap; overflow-wrap: anywhere; }
.note-card .acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.note-card .acts button { border: 0; background: none; padding: 0; cursor: pointer; font-weight: 600; font-size: 14px; color: #2e4fb3; }
.note-card .acts button.del { color: #b3243a; }
.thread { grid-column: 1 / -1; border-top: 2px dashed rgba(27, 29, 43, .2); padding-top: 12px; margin-top: 4px; }
.reply { padding: 8px 0; }
.reply + .reply { border-top: 1px solid rgba(27, 29, 43, .1); }
.reply .who { font-size: 13px; font-weight: 600; color: #5a6078; }
.reply .who b { color: #1b1d2b; }
.reply p { font-size: 15px; color: #2c3048; margin-top: 2px; white-space: pre-wrap; overflow-wrap: anywhere; }
.thread form { display: flex; gap: 8px; margin-top: 10px; }
.thread input { background: #fffaf0; color: #1b1d2b; border-color: rgba(27, 29, 43, .25); padding: 9px 11px; font-size: 15px; }
.thread input:focus { border-color: #1b1d2b; }
.thread .btn { --bg: #1b1d2b; --fg: var(--gold); --shade: #000; }
.board-state { padding: 40px 24px; text-align: center; color: var(--muted); background: rgba(9, 16, 38, .7); box-shadow: 0 0 0 2px var(--panel2); }
.board-state h3 { color: var(--text); font-size: 34px; margin-bottom: 10px; }
.board-state p { margin: 0 auto; }
.board-state .btn { margin-top: 16px; }
.skeleton { height: 150px; background: linear-gradient(90deg, rgba(23, 43, 88, .4), rgba(23, 43, 88, .75), rgba(23, 43, 88, .4)); background-size: 200% 100%; animation: shimmer 1.4s steps(8) infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.toast { position: fixed; left: 50%; bottom: 24px; visibility: hidden; transform: translate(-50%, calc(100% + 48px)); z-index: 80; padding: 14px 18px; background: var(--panel); color: var(--text); font-weight: 600; box-shadow: 0 0 0 2px var(--line), 0 18px 50px rgba(0, 0, 0, .5); transition: transform .3s steps(4); max-width: calc(100vw - 32px); }
.toast.on { transform: translate(-50%, 0); visibility: visible; }
.toast.bad { box-shadow: 0 0 0 2px var(--red), 0 18px 50px rgba(0, 0, 0, .5); }
.preview-flag { margin-bottom: 18px; padding: 10px 14px; background: rgba(255, 95, 162, .14); border-left: 4px solid var(--pink); color: var(--soft); font-size: 14px; }

/* ---------- team + community ---------- */
.crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; border-top: 2px solid rgba(42, 68, 128, .7); }
.crew a { display: block; padding: 22px 0; border-bottom: 2px solid rgba(42, 68, 128, .7); text-decoration: none; color: var(--text); }
.crew a .portrait { width: 100%; max-width: 200px; height: auto; aspect-ratio: 1; margin-bottom: 16px; box-shadow: 0 0 0 2px var(--panel2); transition: transform .2s steps(3), box-shadow .2s; }
.crew a:hover .portrait { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--gold), 0 10px 0 rgba(0, 0, 0, .35); }
.crew a b { display: block; font: 400 30px/1 "Jersey 15", monospace; color: var(--text); transition: color .2s; }
.crew a span { color: var(--muted); font-size: 15px; }
.crew a:hover b { color: var(--gold); }
.callout { margin-top: clamp(56px, 8vh, 96px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 44px); background: linear-gradient(90deg, rgba(23, 43, 88, .9), rgba(15, 28, 63, .6)); box-shadow: 0 0 0 2px var(--panel2); }
.callout h3 { color: var(--gold); }
.callout p { margin-top: 10px; color: var(--soft); }

footer { padding: 72px 0 56px; color: var(--muted); font-size: 14px; border-top: 2px solid rgba(42, 68, 128, .5); }
footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; }
footer p { max-width: 80ch; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }

/* reveal for headings: a pixel wipe, used only on chapter titles */
.wipe { --cut: 100%; clip-path: inset(0 var(--cut) 0 0); transition: clip-path .7s steps(10); }
.wipe.seen { --cut: 0%; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .gauge { display: none; }
  .reel { grid-template-columns: 1fr; }
  .world .stage { grid-template-columns: minmax(0, 1fr); }
  .world .frame { position: sticky; top: 64px; z-index: 2; background: var(--deep); padding-bottom: 10px; }
  .world .step { min-height: 60vh; }
  .try .layout { grid-template-columns: minmax(0, 1fr); }
  .try .layout > div:first-child { position: static; }
  .guide .layout { grid-template-columns: minmax(0, 1fr); }
  .shaft { display: none; }
  .games { grid-template-columns: 1fr; }
  .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .bar nav { display: none; }
  .bar .menu-btn { display: inline-flex; }
  .bar .play-now { display: none; }
  .bar nav.open { display: flex; position: fixed; inset: 64px 0 auto 0; flex-direction: column; padding: 12px var(--gutter) 22px; background: rgba(5, 9, 22, .97); border-bottom: 2px solid var(--line); }
  .bar nav.open a { padding: 12px 0; font-size: 18px; }
  .bar nav.open a::after { display: none; }
  .station, .station:nth-child(even) .card { grid-template-columns: 1fr; grid-column: auto; }
  .stations { padding-left: 40px; }
  .composer .row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr; }
  .world .step { min-height: auto; padding-block: 36px; opacity: 1; }

  /* ---- phone pass ---- */
  :root { --gutter: 18px; }
  html { scroll-padding-top: 120px; }
  .bar { padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: 10px; }
  .bar::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: calc(var(--depth) * 100%); background: var(--gold); }
  .brand { font-size: 26px; min-height: 44px; }
  .bar .menu-btn { min-height: 44px; padding-inline: 16px; }
  .bar nav.open { inset: calc(64px + env(safe-area-inset-top)) 0 auto 0; max-height: calc(100svh - 64px); overflow-y: auto; }
  .bar nav.open a { min-height: 52px; display: flex; align-items: center; font: 400 30px/1 "Jersey 15", monospace; border-bottom: 2px solid rgba(42, 68, 128, .5); }
  .bar nav.open .nav-beta { display: flex; justify-content: center; margin-top: 18px; font: 600 17px/1 "Chakra Petch", sans-serif; border: 0; min-height: 52px; }

  /* hero: a calmer frame so the words read on a small screen */
  .hero { min-height: 100svh; align-items: end; }
  .hero::after { background: linear-gradient(180deg, rgba(4, 7, 15, .6) 0%, rgba(4, 7, 15, .05) 26%, rgba(4, 7, 15, .2) 40%, rgba(4, 7, 15, .96) 64%); }
  .hero video, .hero .poster { object-position: 50% 30%; height: 62%; }
  .hero .wrap { padding-bottom: 120px; }
  .hero .mark { width: min(300px, 78vw); }
  .hero .tag { font-size: 21px; margin-top: 12px; }
  .hero .cta { flex-direction: column; gap: 10px; margin-top: 22px; }
  .hero .cta .btn { justify-content: center; min-height: 50px; font-size: 17px; }
  .hero .meta { gap: 6px 14px; font-size: 13px; margin-top: 18px; }
  .scroll-cue { bottom: 46px; font-size: 22px; padding: 8px 12px; }

  .statement { padding-block: 88px; }
  .statement p { font-size: clamp(34px, 9.6vw, 44px); }
  .chapter { padding-block: 80px; }
  .chapter-head { margin-bottom: 30px; gap: 14px; }
  h2 { font-size: clamp(46px, 13vw, 60px); }
  .lede { font-size: 18px; }
  .caption b { font-size: 24px; }

  /* the world: a smaller pinned frame leaves room to read */
  .world .frame { top: calc(60px + env(safe-area-inset-top)); margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; }
  .world .frame .now { font-size: 13px; }
  .world .step h3 { font-size: 40px; }

  /* try a round: thumb-sized spots */
  .grid25 { gap: 6px; padding: 10px; }
  .try .controls { display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .try .controls .btn { justify-content: center; min-height: 48px; padding-inline: 8px; }
  .try .readout output { font-size: 22px; }
  .facts dt { font-size: 30px; }

  /* field guide: a sticky row of floors to jump between */
  .floor-chips {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    position: sticky; top: calc(62px + env(safe-area-inset-top)); z-index: 5;
    margin: 0 calc(-1 * var(--gutter)) 24px; padding: 10px var(--gutter);
    background: rgba(4, 7, 15, .92); backdrop-filter: blur(10px); border-bottom: 2px solid rgba(42, 68, 128, .6);
  }
  .floor-chips::-webkit-scrollbar { display: none; }
  .floor-chips a { flex: none; min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; font-weight: 600; font-size: 15px; color: var(--soft); background: rgba(23, 43, 88, .7); text-decoration: none; }
  .floor-chips a[aria-current="true"] { background: var(--gold); color: var(--night); }
  .floor { padding-bottom: 48px; margin-bottom: 48px; }
  .floor h3 { font-size: 40px; }

  /* tables become labelled rows */
  .table, .table.wide { overflow: visible; }
  .table.wide table { min-width: 0; }
  table thead { display: none; }
  table, tbody, tr, td { display: block; width: 100%; }
  tr { padding: 14px 0; border-bottom: 2px solid rgba(42, 68, 128, .7); }
  td { border: 0; padding: 3px 0; }
  td:first-child { font-size: 17px; padding-bottom: 6px; }
  td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
  code { font-size: 13px; }

  .verify { padding: 16px; margin-inline: calc(-1 * var(--gutter) + 6px); }
  .verify .row .btn { min-height: 46px; }
  summary { min-height: 52px; align-items: center; }

  /* notice board */
  .composer { padding: 16px; }
  .composer .foot { flex-direction: column-reverse; align-items: stretch; }
  .composer .foot .btn { justify-content: center; min-height: 50px; }
  input, select, textarea { font-size: 16px; min-height: 48px; }
  .board .tools { flex-direction: column; align-items: stretch; gap: 10px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); min-width: 0; max-width: calc(100% + 2 * var(--gutter)); }
  .whoami { min-width: 0; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; min-height: 44px; padding-inline: 16px; }
  .note-card { grid-template-columns: 48px 1fr; padding: 18px 16px 16px 10px; transform: none; }
  .votes button { width: 44px; height: 44px; }
  .note-card .acts button { min-height: 44px; padding: 0 4px; }
  .thread form { flex-direction: column; }
  .thread .btn { justify-content: center; min-height: 46px; }

  .crew a { padding: 16px 0; }
  .crew a b { font-size: 24px; }
  .callout .btn { justify-content: center; min-height: 50px; }
  footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  footer nav a { min-height: 44px; display: inline-flex; align-items: center; }

  /* a beta button that stays in reach once the hero has scrolled away */
  .dock {
    position: fixed; z-index: 45; left: var(--gutter); right: var(--gutter); bottom: calc(14px + env(safe-area-inset-bottom));
    display: flex; justify-content: center; min-height: 52px; font-size: 17px;
    box-shadow: inset 0 -4px 0 var(--gold-lo), 0 12px 30px rgba(0, 0, 0, .55);
    transform: translateY(160%); transition: transform .3s steps(4);
  }
  .dock.on { transform: none; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
.floor-chips, .nav-beta, .dock { display: none; }
@media (max-width: 760px) { .floor-chips, .dock { display: flex; } }

/* motion off: everything still works, nothing moves on its own */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro .hero .mark, .intro .hero .tag, .intro .hero .cta, .intro .hero .meta { opacity: 1; }
  .wipe { clip-path: none; }
  .station .card { opacity: 1; transform: none; }
  .statement .w { color: var(--text); }
  .statement .w.gold { color: var(--gold); }
  .world .step { opacity: 1; }
}
