/* Survivor Souls home page (KAN-781). The game's world, not a template: soot black, bone text, one gold, ember only
   where fire is. Layout: a fixed WebGL stage (the in-game Knight) under four parts; text in a column on the left on wide
   screens and in the lower half on phones. After them a solid block (scenes, heroes, Realms, launch list) covers it.
   Type: Cinzel Bold (the game's title face) + IM Fell English (the game's book face), self-hosted woff2 (OFL).
   Speed rules: the first screen paints from this file alone (no opacity-0 start for anything above the fold), no
   full-screen filters or backdrop blur over the live canvas, few infinite animations. */

@font-face { font-family: "Cinzel"; src: url("fonts/Cinzel-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fell"; src: url("fonts/IMFellEnglish-Regular.woff2") format("woff2"); font-style: normal; font-display: swap; }
@font-face { font-family: "Fell"; src: url("fonts/IMFellEnglish-Italic.woff2") format("woff2"); font-style: italic; font-display: swap; }

:root {
  color-scheme: dark;
  --soot: #0b0908;
  --ink: #14100d;
  --bone: #e7dcc6;
  --ash: #a39580;
  --dim: #8a7d6b; /* 4.9:1 on --soot: the lowest text contrast on the page */
  --gold: #cfa556;
  --gold-hi: #ecd29a;
  --ember: #d9602c;
  --rule: rgba(207, 165, 86, 0.22);
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --book: "Fell", "Iowan Old Style", Georgia, serif;
  --gutter: clamp(16px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --crosshair: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='9' fill='none' stroke='%23ecd29a' stroke-width='1.5'/%3E%3Cpath d='M16 2v8M16 22v8M2 16h8M22 16h8' stroke='%23ecd29a' stroke-width='1.5'/%3E%3C/svg%3E") 16 16, crosshair;
}

* { box-sizing: border-box; }
html { background: var(--soot); scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--soot);
  color: var(--bone);
  font: 1.125rem/1.6 var(--book);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--gold-hi); text-underline-offset: 3px; }
a:hover { color: #fff3d0; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 2px; }
button { font: inherit; color: inherit; }
::selection { background: rgba(217, 96, 44, 0.45); color: #fff; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h2 { margin: 0 0 16px; font: 700 clamp(1.7rem, 3.6vw, 2.6rem)/1.1 var(--display); letter-spacing: 0.01em; color: var(--bone); text-wrap: balance; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 50;
  padding: 10px 16px; background: var(--gold); color: var(--soot); font: 700 0.85rem/1 var(--display); text-decoration: none; border-radius: 2px;
  transition: top 0.2s;
}
.skip:focus { top: 12px; color: var(--soot); }

/* ---------------------------------------------------------------- Stage and veil */
#stage { position: fixed; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s ease; }
.stage-ready #stage { opacity: 1; }
.no-webgl body.home { background: var(--soot) url("img/shot-horde.webp") center 30% / cover fixed no-repeat; }
.no-webgl [data-stage-only] { display: none; }
.veil {
  position: fixed; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 70% 45%, transparent 35%, rgba(11, 9, 8, 0.5) 75%, rgba(11, 9, 8, 0.9) 100%),
    linear-gradient(90deg, rgba(11, 9, 8, 0.85) 0%, rgba(11, 9, 8, 0.4) 40%, transparent 62%);
}
.no-webgl .veil { background: rgba(11, 9, 8, 0.74); }

/* ---------------------------------------------------------------- Top bar and sound */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px);
  padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gutter) 12px;
  background: linear-gradient(180deg, rgba(11, 9, 8, 0.8), rgba(11, 9, 8, 0));
  transition: background-color 0.4s;
}
.past-stage .topbar { background: var(--soot); box-shadow: 0 1px 0 var(--rule); }
.mark { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; color: var(--gold); text-decoration: none; font: 700 0.86rem/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; }
.mark img { border-radius: 5px; }
.topnav { display: flex; gap: clamp(14px, 2.4vw, 26px); }
.mark, .topnav a, .topbar-join { white-space: nowrap; }
.topnav a, .topbar-join, .sound { color: var(--ash); text-decoration: none; font: 700 0.72rem/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; }
.topnav a:hover, .sound:hover, .topbar-join:hover { color: var(--gold-hi); }
.topbar-join { display: none; }
.sound {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px;
  background: transparent; border: 1px solid var(--rule); border-radius: 2px; cursor: pointer;
}
.sound-icon { width: 18px; height: 18px; flex: none; }
.sound .wave { display: none; }
.sound[aria-pressed="true"] { color: var(--gold-hi); border-color: var(--gold); }
.sound[aria-pressed="true"] .wave { display: inline; }
.sound[aria-pressed="true"] .mute { display: none; }

/* ---------------------------------------------------------------- The four parts over the stage */
main { position: relative; z-index: 1; }
.chapter {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 80px; max-width: 1280px; margin: 0 auto;
}
.chapter + .chapter { min-height: 120vh; }
@media (pointer: fine) { .stage-ready .chapter { cursor: var(--crosshair); } .chapter .leaf, .chapter .cta-row, .chapter p, .chapter h1 { cursor: auto; } }

.hero { position: relative; }
.title {
  margin: 0; font: 700 clamp(3.2rem, 10.5vw, 8.6rem)/0.9 var(--display); letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--gold-hi); text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}
.title span { display: block; white-space: nowrap; }
.title span + span { padding-left: 0.4em; color: var(--gold); }
.lede { max-width: 26ch; margin: 26px 0 0; font-size: clamp(1.25rem, 2.3vw, 1.6rem); font-style: italic; line-height: 1.4; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.soon { font-size: 1rem; line-height: 1.35; color: var(--ash); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border: 0; border-radius: 2px; background: var(--gold); color: #140d06; cursor: pointer;
  font: 700 0.8rem/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  transition: background-color 0.2s;
}
.btn:hover { background: var(--gold-hi); color: #140d06; }
.btn:active { background: #b88f45; }
.btn-big { min-height: 56px; font-size: 0.86rem; }

.hint { display: inline-flex; align-items: center; gap: 10px; margin: 28px 0 0; font-size: 0.98rem; font-style: italic; color: var(--ash); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9); }
.hint-key { width: 18px; height: 18px; flex: none; border: 1px solid var(--ash); border-radius: 50%; position: relative; }
.hint-key::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--ember); }
.reaped {
  position: absolute; right: var(--gutter); top: 92px; margin: 0; padding: 6px 0;
  font: 700 0.72rem/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash);
  border-bottom: 1px solid var(--rule);
}
.reaped b { font-size: 1rem; color: var(--gold-hi); font-variant-numeric: tabular-nums; }

.leaf { max-width: 33rem; }
.leaf p { margin: 0 0 14px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95); }
.leaf h2 { text-shadow: 0 3px 18px rgba(0, 0, 0, 0.85); }
.leaf .aside { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--rule); font-style: italic; color: var(--ash); }

/* Part I: the one-thumb demo and a few of the dead */
.thumb { display: flex; align-items: center; gap: 20px; margin: 22px 0 8px; }
.pad { position: relative; flex: none; width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--rule); background: rgba(11, 9, 8, 0.6); }
.stick { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: var(--bone); animation: stick 4s var(--ease) infinite; }
@keyframes stick { 0%, 8% { transform: translate(0, 0); } 18% { transform: translate(18px, -10px); } 30% { transform: translate(-16px, -14px); } 42%, 100% { transform: translate(0, 0); } }
.thumb-legend { list-style: none; margin: 0; padding: 0; font-size: 1rem; line-height: 1.8; font-style: italic; }
.thumb-legend li { color: var(--dim); }
.thumb-legend .move { animation: legend-move 4s infinite; }
.thumb-legend .stop { animation: legend-stop 4s infinite; }
@keyframes legend-move { 8%, 40% { color: var(--bone); } 0%, 44%, 100% { color: var(--dim); } }
@keyframes legend-stop { 0%, 6%, 46%, 100% { color: var(--gold-hi); } 10%, 42% { color: var(--dim); } }
.bestiary { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule); font-size: 1rem; color: var(--ash); }
.bestiary li { margin: 6px 0; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95); }
.bestiary b { color: var(--bone); font: 700 0.84em/1 var(--display); letter-spacing: 0.04em; margin-right: 4px; }

/* Part II: the pick-one-of-three cards, as in the game */
.cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0 8px; padding: 0; }
.card {
  padding: 16px 14px; border: 1px solid var(--rule); border-radius: 3px; background: rgba(15, 12, 10, 0.9);
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.card b { display: block; margin-bottom: 6px; font: 700 0.84rem/1.2 var(--display); color: var(--gold-hi); }
.card small { display: block; font-size: 0.92rem; line-height: 1.35; color: var(--ash); }
.card.is-picked { border-color: var(--gold); transform: translateY(-6px); }

/* Part III: Realm I as a run of 25 Chambers (tally marks: mini boss, Sanctuary, boss) */
.realm-tag { display: block; margin-bottom: 6px; font-size: 0.5em; letter-spacing: 0.16em; color: var(--gold); }
.track { list-style: none; display: flex; align-items: flex-end; gap: 5px; margin: 24px 0 0; padding: 0; height: 34px; }
.track li { width: 7px; height: 18px; background: rgba(231, 220, 198, 0.42); border-radius: 1px; }
.track .m { background: var(--ash); height: 24px; }
.track .s { width: 7px; height: 7px; margin: 0 1px 4px; border-radius: 50%; background: var(--ember); }
.track .b { width: 10px; height: 34px; background: var(--gold); margin-right: 9px; }
.track .b:last-child { margin-right: 0; background: var(--gold-hi); }
.track-key { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; font-size: 0.92rem; color: var(--ash); }
.track-key li::before { content: ""; display: inline-block; width: 6px; height: 12px; margin-right: 8px; background: rgba(231, 220, 198, 0.42); vertical-align: -1px; }
.track-key .m::before { background: var(--ash); }
.track-key .s::before { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); vertical-align: 1px; }
.track-key .b::before { background: var(--gold); }

/* ---------------------------------------------------------------- After the story (solid; covers the stage) */
.after { position: relative; background: var(--soot); }
.after::before { content: ""; position: absolute; left: 0; right: 0; top: -140px; height: 140px; background: linear-gradient(transparent, var(--soot)); pointer-events: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.scenes, .ledger, .launch { padding-block: clamp(64px, 9vw, 112px); }
.scenes h2 { margin-bottom: clamp(24px, 4vw, 40px); }

/* Scenes: phone plates; a grid on wide screens, a swipe row on phones */
.plates { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.plates figure { margin: 0; }
.plates figure:nth-child(even) { margin-top: 40px; }
.plate { display: block; width: 100%; padding: 0; border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; background: var(--ink); cursor: zoom-in; }
.plate img { display: block; width: 100%; height: auto; }
.plate:hover { border-color: var(--gold); }
.reel { position: relative; cursor: default; }
.reel video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--ink); object-fit: cover; }
.reel-toggle {
  position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--rule); border-radius: 50%; background: rgba(11, 9, 8, 0.8); color: var(--gold-hi); cursor: pointer;
}
.reel-toggle:hover { border-color: var(--gold); }
.reel-toggle svg { width: 20px; height: 20px; }
.reel-toggle .i-pause, .reel.is-playing .reel-toggle .i-play { display: none; }
.reel.is-playing .reel-toggle .i-pause { display: inline; }
.plates figcaption { margin-top: 12px; font-size: 0.98rem; font-style: italic; color: var(--ash); }

/* Heroes and Realms side by side: a ledger, not cards */
.ledger { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); border-top: 1px solid var(--rule); }
.roll { margin: 8px 0 0; }
.roll div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.roll dt { font: 700 0.95rem/1.3 var(--display); color: var(--bone); }
.roll dd { margin: 2px 0 0; font-style: italic; color: var(--ash); }
.realm-list { --accent: #a39580; list-style: none; margin: 8px 0 0; padding: 0; }
.realm-list li {
  display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto; align-items: baseline; gap: 0 14px;
  padding: 12px 0 12px 14px; border-bottom: 1px solid var(--rule); box-shadow: inset 2px 0 0 var(--accent);
}
.realm-list .no { font: 700 0.9rem/1 var(--display); color: var(--accent); }
.realm-list b { font: 700 0.95rem/1.3 var(--display); color: var(--ash); }
.realm-list i { grid-column: 2; font-size: 0.98rem; color: var(--dim); }
.realm-list .state { grid-column: 3; grid-row: 1; font: 700 0.66rem/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.realm-list .open b { color: var(--bone); }
.realm-list .open i { color: var(--ash); }
.realm-list .open .state { color: var(--gold-hi); }
.realm-list li:not(.open) .no { opacity: 0.7; }
.a1 { --accent: #bddbf7; } .a2 { --accent: #6fbf4a; } .a3 { --accent: #e0d2a8; } .a4 { --accent: #f0a03a; } .a5 { --accent: #46b6c2; }
.a6 { --accent: #b04a9a; } .a7 { --accent: #d63a3a; } .a8 { --accent: #cfc23e; } .a9 { --accent: #ff4d1a; } .a10 { --accent: #8a5cff; }

/* Launch list (KAN-345): e-mail, phone choice, Turnstile (shows only when it needs a click), button */
.launch { border-top: 1px solid var(--rule); background: var(--ink); }
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.launch-text p { max-width: 34ch; color: var(--ash); }
.contact { margin-top: 28px; line-height: 1.7; }
.contact a { display: inline-block; padding: 4px 0; }
.waitlist { max-width: 30rem; }
.wl-label, .wl-platform legend { display: block; margin-bottom: 8px; font: 700 0.7rem/1.3 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone); }
.wl-email {
  display: block; width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 2px;
  background: var(--soot); color: var(--bone); font: 400 1.12rem/1.2 var(--book); transition: border-color 0.2s;
}
.wl-email::placeholder { color: var(--dim); }
.wl-email:focus { outline: none; border-color: var(--gold); }
.wl-email[aria-invalid="true"], .wl-email[aria-invalid="true"]:focus { border-color: var(--ember); }
.wl-platform { margin: 20px 0 0; padding: 0; border: 0; min-width: 0; }
.wl-platform small { font: italic 0.95rem/1 var(--book); letter-spacing: 0; text-transform: none; color: var(--ash); }
.wl-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wl-pills label { position: relative; cursor: pointer; }
.wl-pills input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.wl-pills span {
  display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--rule); border-radius: 2px;
  background: var(--soot); font: 700 0.76rem/1 var(--display); letter-spacing: 0.12em; color: var(--ash); transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.wl-pills label:hover span { border-color: var(--gold); color: var(--bone); }
.wl-pills input:checked + span { color: #140d06; border-color: var(--gold); background: var(--gold); }
.wl-pills input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.wl-check iframe { margin-top: 16px; }
.wl-submit { display: flex; width: 100%; margin: 20px 0 0; }
.wl-submit:disabled { opacity: 0.6; cursor: progress; }
.wl-result { margin: 14px 0 0; color: var(--bone); }
.wl-result:empty { margin: 0; }
.wl-result:focus { outline: none; }
.wl-result[data-kind="error"] { color: #ff9a6b; }
.wl-result[data-kind="ok"] { padding: 16px 18px; border: 1px solid var(--gold); border-radius: 2px; color: var(--gold-hi); font-size: 1.15rem; }
.wl-fine { margin: 12px 0 0; font-size: 0.95rem; }
.waitlist.is-done > :not(.wl-result) { display: none; }

.foot {
  position: relative; z-index: 1; background: var(--soot); border-top: 1px solid var(--rule);
  padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 28px; font-size: 0.95rem; color: var(--ash);
}
.foot p { margin: 0; }
.foot-brand { font: 700 0.74rem/1.4 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot nav a { color: var(--ash); padding: 6px 0; }
.foot-note { flex-basis: 100%; font-style: italic; font-size: 0.9rem; color: var(--dim); }

/* Lightbox */
.lightbox { max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: rgba(6, 5, 4, 0.95); color: var(--bone); }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
.lightbox figure { grid-column: 2; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%; max-height: 100dvh; justify-content: center; padding: 56px 0 24px; }
.lightbox img { max-height: calc(100dvh - 140px); width: auto; max-width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--rule); }
.lightbox figcaption { font-style: italic; color: var(--ash); text-align: center; }
.lb-close { position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; width: 48px; height: 48px; border: 1px solid var(--rule); border-radius: 50%; background: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lb-nav { width: 48px; height: 48px; margin: 0 8px; border: 1px solid var(--rule); border-radius: 50%; background: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-prev { grid-column: 1; } .lb-next { grid-column: 3; }

/* ---------------------------------------------------------------- Reveal (js/page.js adds .motion, then .in; never above the fold) */
.motion [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.motion [data-reveal].in { opacity: 1; transform: none; }
.motion .plates figure:nth-child(2) { transition-delay: 0.06s; }
.motion .plates figure:nth-child(3) { transition-delay: 0.12s; }
.motion .plates figure:nth-child(4) { transition-delay: 0.18s; }
.motion .plates figure:nth-child(5) { transition-delay: 0.24s; }

/* ---------------------------------------------------------------- Mid widths */
@media (max-width: 1100px) {
  .plates { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .plates::-webkit-scrollbar { display: none; }
  .plates figure { flex: 0 0 34%; scroll-snap-align: center; }
  .plates figure:nth-child(even) { margin-top: 0; }
  .ledger { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- Phones: Knight in the top half, text in the lower half */
@media (max-width: 760px) {
  body { font-size: 1.06rem; }
  .veil { background: linear-gradient(180deg, rgba(11, 9, 8, 0.2) 0%, transparent 26%, rgba(11, 9, 8, 0.8) 52%, rgba(11, 9, 8, 0.97) 100%); }
  .chapter { justify-content: flex-end; padding: 96px var(--gutter) 72px; }
  .hero { padding-bottom: 56px; }
  .title { font-size: clamp(2.7rem, 14vw, 5.4rem); }
  .lede { font-size: 1.2rem; }
  .cta-row { margin-top: 24px; }
  .cta-row .btn { width: 100%; }
  .hint { margin-top: 18px; }
  .reaped { top: calc(70px + env(safe-area-inset-top, 0px)); }
  .topnav { display: none; }
  .mark { font-size: 0.78rem; letter-spacing: 0.1em; gap: 8px; }
  .topbar-join { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-hi); letter-spacing: 0.1em; }
  .sound-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sound { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .cards { gap: 8px; }
  .card { padding: 12px 10px; }
  .card b { font-size: 0.74rem; }
  .card small { font-size: 0.84rem; }
  .track { gap: 3px; }
  .track li { width: 5px; }
  .track .b { width: 8px; margin-right: 6px; }
  .plates figure { flex: 0 0 64%; }
  .launch-grid { grid-template-columns: 1fr; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lb-nav { position: fixed; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .lb-prev { left: 18px; } .lb-next { right: 18px; }
  .lightbox figure { grid-column: 1; padding: 64px 12px 90px; }
  .lightbox img { max-height: calc(100dvh - 190px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #stage { transition: none; }
  .stick, .thumb-legend li { animation: none !important; }
  .card { transition: none; }
}
