/* Vulcan's Inferno — site shell styles (site.css)
   Design tokens live on :root and are shared with lobby.css / map.css.
   Dark theme only. */

/* =========================================================
   1. TOKENS
   ========================================================= */
:root {
  /* required shared tokens */
  --bg: #070504;
  --panel: #120c09;
  --ink: #f6efe2;
  --muted: #b9a993;
  --line: rgba(232, 184, 96, .18);
  --gold: #e9b85c;
  --ember: #ff6a1f;
  --font-display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 16px;

  /* extended palette */
  --bg-2: #0b0705;
  --panel-2: #1a120d;
  --panel-3: #22170f;
  --ink-dim: #e3d6c0;
  --line-strong: rgba(232, 184, 96, .38);
  --gold-hi: #ffe2a0;
  --gold-lo: #9c6a24;
  --ember-hi: #ffb347;
  --lava: #ff3d0a;
  --violet: #b598ff;
  --violet-lo: #6c4fd1;
  --danger: #ff8a73;
  --ok: #8fe3ad;

  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-1: 0 10px 30px -12px rgba(0, 0, 0, .8);
  --shadow-2: 0 30px 80px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(232, 184, 96, .08);
  --glow-ember: 0 0 40px -6px rgba(255, 106, 31, .55);
  --ease: cubic-bezier(.2, .8, .2, 1);

  --strip-h: 32px;
  --bar-h: 60px;
  --header-h: calc(var(--strip-h) + var(--bar-h));
  --gutter: 16px;
  --wrap: 1240px;

  --corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56' fill='none' stroke='%23e9b85c' stroke-linecap='round'%3E%3Cpath d='M1.5 54V16C1.5 8 8 1.5 16 1.5h38' stroke-width='1.3'/%3E%3Cpath d='M7 54V20c0-7.5 5.5-13 13-13h34' stroke-width='.7' opacity='.5'/%3E%3Cpath d='M13 34c0-11.5 9.5-21 21-21' stroke-width='.8' opacity='.65'/%3E%3Cpath d='M18.5 18.5c3-3.2 8-3.2 10.2 0s.2 7.4-3.8 6.4-3.2-5.4 0-5' stroke-width='1.1'/%3E%3Ccircle cx='16' cy='16' r='2.1' fill='%23ffe2a0' stroke='none'/%3E%3Ccircle cx='54' cy='1.5' r='1.3' fill='%23e9b85c' stroke='none'/%3E%3Ccircle cx='1.5' cy='54' r='1.3' fill='%23e9b85c' stroke='none'/%3E%3C/svg%3E");
  --corner-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56' fill='none' stroke='%23e9b85c' stroke-linecap='round'%3E%3Cg transform='matrix(-1 0 0 1 56 0)'%3E%3Cpath d='M1.5 54V16C1.5 8 8 1.5 16 1.5h38' stroke-width='1.3'/%3E%3Cpath d='M7 54V20c0-7.5 5.5-13 13-13h34' stroke-width='.7' opacity='.5'/%3E%3Cpath d='M13 34c0-11.5 9.5-21 21-21' stroke-width='.8' opacity='.65'/%3E%3Cpath d='M18.5 18.5c3-3.2 8-3.2 10.2 0s.2 7.4-3.8 6.4-3.2-5.4 0-5' stroke-width='1.1'/%3E%3Ccircle cx='16' cy='16' r='2.1' fill='%23ffe2a0' stroke='none'/%3E%3Ccircle cx='54' cy='1.5' r='1.3' fill='%23e9b85c' stroke='none'/%3E%3Ccircle cx='1.5' cy='54' r='1.3' fill='%23e9b85c' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  --corner-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56' fill='none' stroke='%23e9b85c' stroke-linecap='round'%3E%3Cg transform='matrix(1 0 0 -1 0 56)'%3E%3Cpath d='M1.5 54V16C1.5 8 8 1.5 16 1.5h38' stroke-width='1.3'/%3E%3Cpath d='M7 54V20c0-7.5 5.5-13 13-13h34' stroke-width='.7' opacity='.5'/%3E%3Cpath d='M13 34c0-11.5 9.5-21 21-21' stroke-width='.8' opacity='.65'/%3E%3Cpath d='M18.5 18.5c3-3.2 8-3.2 10.2 0s.2 7.4-3.8 6.4-3.2-5.4 0-5' stroke-width='1.1'/%3E%3Ccircle cx='16' cy='16' r='2.1' fill='%23ffe2a0' stroke='none'/%3E%3Ccircle cx='54' cy='1.5' r='1.3' fill='%23e9b85c' stroke='none'/%3E%3Ccircle cx='1.5' cy='54' r='1.3' fill='%23e9b85c' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  --corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56' fill='none' stroke='%23e9b85c' stroke-linecap='round'%3E%3Cg transform='matrix(-1 0 0 -1 56 56)'%3E%3Cpath d='M1.5 54V16C1.5 8 8 1.5 16 1.5h38' stroke-width='1.3'/%3E%3Cpath d='M7 54V20c0-7.5 5.5-13 13-13h34' stroke-width='.7' opacity='.5'/%3E%3Cpath d='M13 34c0-11.5 9.5-21 21-21' stroke-width='.8' opacity='.65'/%3E%3Cpath d='M18.5 18.5c3-3.2 8-3.2 10.2 0s.2 7.4-3.8 6.4-3.2-5.4 0-5' stroke-width='1.1'/%3E%3Ccircle cx='16' cy='16' r='2.1' fill='%23ffe2a0' stroke='none'/%3E%3Ccircle cx='54' cy='1.5' r='1.3' fill='%23e9b85c' stroke='none'/%3E%3Ccircle cx='1.5' cy='54' r='1.3' fill='%23e9b85c' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  --meander: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='16' viewBox='0 0 24 16' fill='none' stroke='%23e9b85c' stroke-width='1.2'%3E%3Cpath d='M0 14.6h4V1.4h14.4v9.8H9.2V5.6h5'/%3E%3Cpath d='M4 14.6h20'/%3E%3C/svg%3E");
  --marble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560'%3E%3Cfilter id='m' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0045 .011' numOctaves='5' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .93 0 0 0 0 .76 0 0 0 0 .45 1 0 0 0 0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0 0 .55 0 0 0 0 .4 0 0 0'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='560' height='560' filter='url(%23m)' opacity='.075'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .5 -.1'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");

  color-scheme: dark;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --bar-h: 68px; --gutter: 32px; } }

/* =========================================================
   2. BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.has-modal { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background-color: var(--bg);
  background-image: var(--marble);
  background-size: 560px 560px;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold-hi); text-decoration-color: rgba(255, 226, 160, .4); text-underline-offset: 3px; }
a:hover { color: #fff3d2; text-decoration-color: currentColor; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
strong { color: #fff8ea; font-weight: 700; }
::selection { background: rgba(255, 106, 31, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
main { display: block; }
/* Focused controls and anchor jumps clear the fixed bar and, on phones, the dock (WCAG 2.4.11). */
html { scroll-padding-top: calc(var(--bar-h) + 8px); scroll-padding-bottom: calc(var(--dock-h, 0px) + 8px); }
section[id], [id="top"] { scroll-margin-top: 0; }
#status, #hero-status { scroll-margin-top: 8px; }

/* =========================================================
   3. UTILITIES
   ========================================================= */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px;
  background: var(--gold); color: #1a0d03; font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #1a0d03; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0; }
.fine { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.gold-num {
  font-family: var(--font-display); font-weight: 800;
  background: linear-gradient(180deg, #fff3cf 0%, #ffd27a 40%, #e7a23e 70%, #b8701f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 140, 40, .35));
}
.seal-chip {
  display: inline-flex; align-items: center; gap: .32em; padding: .14em .5em .14em .42em; border-radius: 99px;
  vertical-align: .08em; line-height: 1; white-space: nowrap;
  background: linear-gradient(180deg, #1a110b, #0b0705); border: 1px solid rgba(233, 184, 92, .55);
  box-shadow: inset 0 1px 0 rgba(255, 226, 160, .12);
}
.seal-chip svg { width: .78em; height: .78em; color: var(--gold); }
.seal-chip > span[aria-hidden] { font: 400 .82em/1 var(--font-ui); letter-spacing: -.06em; color: rgba(233, 184, 92, .62); }
.seal-caption { margin: 0; font: 700 12px/1.2 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.shimmer {
  background-image:
    linear-gradient(105deg, transparent 42%, rgba(255, 250, 232, .95) 50%, transparent 58%),
    linear-gradient(180deg, #fff0c8 0%, #f2c46c 45%, #c98a34 100%);
  background-size: 300% 100%, 100% 100%;
  background-position: 100% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* One sweep when the heading is revealed, then still (a looping sweep read as a loading state). */
.is-in .shimmer { animation: shimmer 4s var(--ease) .2s 1; }
.shimmer-violet {
  background-image:
    linear-gradient(105deg, transparent 42%, rgba(245, 240, 255, .95) 50%, transparent 58%),
    linear-gradient(180deg, #f1e9ff 0%, #c7b1ff 50%, #8b6be8 100%);
}
@keyframes shimmer {
  0% { background-position: 100% 0, 0 0; }
  30%, 100% { background-position: 0% 0, 0 0; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font: 700 12px/1.2 var(--font-ui); letter-spacing: .28em; text-transform: uppercase; color: var(--ember-hi);
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember-hi));
}
.eyebrow::after { transform: scaleX(-1); }
.eyebrow-violet { color: var(--violet); }
.eyebrow-violet::before, .eyebrow-violet::after { background: linear-gradient(90deg, transparent, var(--violet)); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px;
  font: 600 12px/1 var(--font-ui); letter-spacing: .02em; color: var(--ink-dim);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.chip-sealed { color: var(--gold-hi); border-color: rgba(233, 184, 92, .35); background: rgba(233, 184, 92, .08); }
.chip-q { color: var(--muted); }
.badge-18 {
  display: inline-grid; place-items: center; min-width: 30px; height: 20px; padding: 0 6px; margin-right: 6px;
  border-radius: 99px; border: 1px solid rgba(255, 138, 115, .65); color: #ffb4a3;
  font: 800 12px/1 var(--font-ui); letter-spacing: .02em; vertical-align: 1px;
}
.badge-18-lg { min-width: 46px; height: 46px; border-radius: 50%; font-size: 15px; border-width: 2px; margin: 0; }

/* gold gradient frame + filigree corners */
.frame-gold { position: relative; isolation: isolate; }
.frame-gold::before, .sealed-modal::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(155deg, rgba(255, 226, 160, .95), rgba(233, 184, 92, .28) 28%, rgba(233, 184, 92, .08) 55%, rgba(255, 150, 70, .6) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.frame-gold::after, .sealed-modal::after {
  content: ""; position: absolute; inset: 7px; pointer-events: none; z-index: 2; opacity: .9;
  background:
    var(--corner-tl) top left / 42px 42px no-repeat,
    var(--corner-tr) top right / 42px 42px no-repeat,
    var(--corner-bl) bottom left / 42px 42px no-repeat,
    var(--corner-br) bottom right / 42px 42px no-repeat;
}

/* =========================================================
   4. CONTROLS
   ========================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 12px; border: 0; cursor: pointer;
  font: 700 15px/1 var(--font-ui); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .25s, background-color .25s, color .25s, border-color .25s;
  -webkit-tap-highlight-color: transparent; overflow: hidden; isolation: isolate;
}
.btn svg { flex: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-molten {
  color: #1f0b02;
  background: linear-gradient(180deg, #ffd27a 0%, #ff9a3c 38%, #ff6a1f 70%, #d9420c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, .85), inset 0 -2px 0 rgba(120, 30, 0, .45),
              0 0 0 1px rgba(255, 190, 110, .55), 0 12px 32px -10px rgba(255, 90, 20, .85);
  text-shadow: 0 1px 0 rgba(255, 220, 160, .55);
}
.btn-molten::after {
  content: ""; position: absolute; inset: -2px auto -2px -60%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 240, .75), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn-molten:hover { color: #1f0b02; box-shadow: inset 0 1px 0 rgba(255, 244, 214, .9), inset 0 -2px 0 rgba(120, 30, 0, .45), 0 0 0 1px rgba(255, 210, 140, .8), 0 16px 44px -10px rgba(255, 100, 20, 1); transform: translateY(-1px); }
.btn-molten:hover::after { left: 120%; }
.btn-ghost {
  color: var(--gold-hi); background: rgba(18, 12, 9, .55);
  border: 1px solid rgba(233, 184, 92, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-ghost:hover { color: #fff3d2; border-color: var(--gold-hi); background: rgba(233, 184, 92, .12); box-shadow: 0 0 24px -6px rgba(233, 184, 92, .5); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-sq { padding: 0 14px; }
.btn[disabled] { cursor: progress; opacity: .85; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; cursor: pointer;
  border-radius: 12px; border: 1px solid var(--line); background: rgba(18, 12, 9, .6); color: var(--gold-hi);
  transition: border-color .2s, background-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--line-strong); background: rgba(233, 184, 92, .1); color: #fff3d2; }
.link-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; cursor: pointer;
  font: 600 14px/1.3 var(--font-ui); color: var(--gold-hi); text-decoration: underline; text-decoration-color: rgba(255, 226, 160, .35); text-underline-offset: 4px;
}
.link-btn:hover { color: #fff3d2; text-decoration-color: currentColor; }
/* 44px touch targets without moving the line: the box grows, the negative margin hands the space back. */
.link-btn { min-height: 44px; margin-block: -9px; }
.strip-link, .join-fine a, .join-affirm a { padding-block: 15px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.link-quiet { color: var(--muted); font-weight: 500; font-size: 13px; }
.field {
  width: 100%; min-width: 0; height: 52px; padding: 0 16px; border-radius: 12px;
  font: 500 16px/1.2 var(--font-ui); color: var(--ink);
  background: rgba(8, 5, 4, .78); border: 1px solid rgba(233, 184, 92, .3);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field::placeholder { color: #8d7f6d; }
.field:hover { border-color: rgba(233, 184, 92, .5); }
.field:focus { outline: none; border-color: var(--gold-hi); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5), 0 0 0 3px rgba(233, 184, 92, .22); }
.field[aria-invalid="true"] { border-color: var(--danger); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5), 0 0 0 3px rgba(255, 138, 115, .18); }
.field[readonly] { color: var(--gold-hi); background: rgba(233, 184, 92, .06); }
.field-lg { height: 58px; font-size: 17px; }
.field-label { display: block; margin: 0 0 8px; font: 600 13px/1.2 var(--font-ui); letter-spacing: .04em; color: var(--ink-dim); }
.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(40, 12, 2, .25); border-top-color: #2a0d02; animation: spin .7s linear infinite;
}
.btn-ghost .spinner { border-color: rgba(255, 226, 160, .25); border-top-color: var(--gold-hi); }
.is-loading .spinner { display: inline-block; }
.is-loading .btn-ico { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   5. LOCKUP
   ========================================================= */
.lockup {
  display: inline-flex; flex-direction: column; align-items: center; line-height: 1;
  color: inherit; text-decoration: none; margin: 0; font-weight: 400;
}
.lockup-vulcans {
  display: block; font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  color: var(--gold); letter-spacing: .5em; padding-left: .5em;
}
.lockup-inferno {
  display: block; font-family: var(--font-display); font-weight: 900; letter-spacing: .1em; padding-left: .1em;
  background: linear-gradient(180deg, #fff7dd 0%, #ffe09a 22%, #f0b350 46%, #b46a1c 64%, #e9a845 82%, #ffd889 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lockup-sm .lockup-vulcans { font-size: 8.5px; margin-bottom: 3px; letter-spacing: .62em; padding-left: .62em; }
.lockup-sm .lockup-inferno { font-size: 21px; letter-spacing: .16em; padding-left: .16em; }
.lockup-md .lockup-vulcans { font-size: 11px; margin-bottom: 5px; }
.lockup-md .lockup-inferno { font-size: 34px; }
.lockup-sm:hover .lockup-inferno, .lockup-md:hover .lockup-inferno { filter: drop-shadow(0 0 12px rgba(255, 140, 40, .5)); }
.lockup-xl { position: relative; }
.lockup-xl .lockup-vulcans {
  display: flex; align-items: center; gap: .9em;
  font-size: clamp(12px, 2.4vw, 22px); letter-spacing: .7em; padding-left: .7em; margin-bottom: clamp(4px, 1vw, 12px);
  color: var(--gold-hi);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .95), 0 0 12px rgba(0, 0, 0, .9), 0 0 26px rgba(0, 0, 0, .7), 0 0 34px rgba(255, 140, 50, .35);
}
.lockup-xl .lockup-vulcans::before, .lockup-xl .lockup-vulcans::after {
  content: ""; width: clamp(28px, 6vw, 90px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold));
}
.lockup-xl .lockup-vulcans::after { transform: scaleX(-1); margin-left: -.7em; }
.lockup-xl .lockup-inferno {
  font-size: clamp(54px, 15.2vw, 188px); letter-spacing: .08em; padding-left: .08em; line-height: .92;
  filter: drop-shadow(0 2px 0 rgba(60, 20, 0, .9)) drop-shadow(0 0 34px rgba(255, 110, 25, .55));
}

/* =========================================================
   6. HEADER + DRAWER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: transform .35s var(--ease);
}
.strip {
  height: var(--strip-h); display: flex; align-items: center; justify-content: center; padding: 0 12px;
  background: linear-gradient(90deg, #2a0b02, #6b1a04 30%, #8a2a06 50%, #6b1a04 70%, #2a0b02);
  border-bottom: 1px solid rgba(255, 150, 70, .35);
  overflow: hidden;
}
.strip-text {
  margin: 0; font: 600 12px/1.2 var(--font-ui); color: #ffe7c9; letter-spacing: .02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.strip-date { font-family: var(--font-display); font-weight: 800; color: var(--gold-hi); margin-right: 6px; letter-spacing: .06em; }
.strip-dash { margin-right: 6px; opacity: .7; }
.strip-link { color: #fff; margin-left: 6px; font-weight: 700; }
.bar {
  height: var(--bar-h); display: flex; align-items: center; gap: 16px;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(7, 5, 4, .78), rgba(7, 5, 4, .45));
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.site-header.is-scrolled { transform: translateY(calc(var(--strip-h) * -1)); }
.site-header.is-scrolled .bar { background: rgba(8, 5, 4, .9); border-bottom-color: var(--line); box-shadow: 0 10px 30px -18px #000; }
.bar .lockup { flex: none; margin-right: auto; }
.nav { display: none; }
.nav ul { display: flex; gap: 2px; list-style: none; }
.nav a {
  position: relative; display: block; padding: 10px 13px; border-radius: 8px;
  font: 600 14px/1 var(--font-ui); color: var(--ink-dim); text-decoration: none; letter-spacing: .01em;
  transition: color .2s, background-color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--ember), var(--gold-hi)); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.nav a[aria-current="true"] { color: var(--gold-hi); }
.nav a[aria-current="true"]::after { transform: scaleX(1); }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.bar-count {
  display: none; align-items: center; gap: 8px; font: 600 12.5px/1 var(--font-ui); color: var(--ink-dim);
  padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); white-space: nowrap;
}
.bar-count-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 rgba(255, 106, 31, .6); animation: pulse 2.2s infinite; }
.bar-cta-long { display: none; }
.bar-cta { padding: 0 14px; }
@media (min-width: 420px) { .bar-cta-long { display: inline; } .bar-cta-short { display: none; } }
@media (min-width: 1024px) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .bar { gap: 20px; }
  .bar .lockup { margin-right: 8px; }
  .nav { margin-right: auto; }
}
@media (min-width: 1320px) { .bar-count:not([hidden]) { display: inline-flex; } }
.strip-long { display: none; }
@media (min-width: 640px) { .strip-long { display: inline; } .strip-short { display: none; } }
@media (max-width: 380px) { .strip-text { font-size: 12px; } }
@media (max-width: 339px) { .strip-link { display: none; } }

.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0;
  width: min(380px, 88vw); height: 100%; max-height: 100%; max-width: 100%;
  background: linear-gradient(180deg, #140d09, #070504 60%); color: var(--ink);
  border-left: 1px solid var(--line-strong);
  box-shadow: -30px 0 80px -20px #000;
}
.drawer::backdrop { background: rgba(4, 2, 1, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.drawer[open] { animation: drawer-in .35s var(--ease); }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
.drawer-inner { display: flex; flex-direction: column; min-height: 100%; padding: 14px 20px max(24px, env(safe-area-inset-bottom)); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-nav { list-style: none; counter-reset: none; }
.drawer-nav a {
  display: flex; align-items: baseline; gap: 14px; padding: 15px 4px; border-bottom: 1px solid var(--line);
  font: 700 21px/1.1 var(--font-display); color: var(--ink); text-decoration: none; letter-spacing: .02em;
}
.drawer-nav a:hover { color: var(--gold-hi); }
.dn-num { width: 34px; font: 700 12px/1 var(--font-display); color: var(--ember-hi); letter-spacing: .1em; }
.drawer-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.drawer-stat { margin: 0; text-align: center; color: var(--ink-dim); font-size: 14px; }

/* =========================================================
   7. HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(660px, 100vh); min-height: max(660px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 24px) 0 clamp(36px, 6vh, 64px);
  background: #050302;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
  /* tiny inline placeholder so the first frame is the gate, never a black box */
  background: #050302 url("data:image/webp;base64,UklGRpoAAABXRUJQVlA4II4AAABwBQCdASogABIAPu1kqE2ppaOiMAgBMB2JYgCdMoM8FT+AsOrIRp0rtHMvCfE9HVJ004AQAP7w0eShXodnR4YibKR2jRiC0L0fw9Gk3l/Ocz9bpsTQlDOsNEHYtcMHLC81JQrBNO0m+7b/QdRNfb6ho94ovKOIWJ1RQS9sjCfl7BzbbIm55BzLqPxJxUAA") 50% 100% / cover no-repeat;
}
@media (max-aspect-ratio: 1/1) { .hero-media { background-image: url("data:image/webp;base64,UklGRqAAAABXRUJQVlA4IJQAAACQBQCdASoSACAAPu1gp02ppaMiMAgBMB2JYgCdMt1s/EmPU6ZYyJGxiCH9Euz85MVhAbeu9gD+8qlGczU0dwAM42qd/VMJwUny68oS+eFSOlaujXIYFfjk/iv1YARI+ZBnaJhQldSjrOyFClnUuiZUpFIzosbcSrIaKcy7kjF1cEVpQVkibOusM5OrEcJHZ4ACr1AA"); } }
.hero-media picture { display: contents; }
.hero-img {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 150%; max-width: none;
  object-fit: cover; object-position: 50% 100%;
  will-change: transform;
}
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 38% 46% at 50% 58%, rgba(255, 140, 40, .22), transparent 70%),
    radial-gradient(ellipse 70% 30% at 50% 100%, rgba(255, 70, 10, .25), transparent 70%);
  mix-blend-mode: screen; animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 3, 2, .82) 0%, rgba(5, 3, 2, .25) 22%, rgba(5, 3, 2, 0) 40%, rgba(5, 3, 2, .55) 66%, rgba(7, 5, 4, .96) 90%, var(--bg) 100%),
    radial-gradient(ellipse 120% 80% at 50% 50%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}
.hero-content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-content::after {
  /* scrim behind the lockup so VULCAN'S reads over the bright seam of the doors */
  content: ""; position: absolute; z-index: -1; left: 50%; top: -110px; bottom: -30px; width: min(1180px, 150%); transform: translateX(-50%);
  pointer-events: none; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(5, 3, 2, .78), rgba(5, 3, 2, .5) 55%, rgba(5, 3, 2, .16) 76%, transparent 90%);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px 7px 12px;
  border-radius: 99px; border: 1px solid rgba(255, 170, 90, .35); background: rgba(20, 8, 3, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 700 12px/1 var(--font-ui); letter-spacing: .22em; text-transform: uppercase; color: #ffd9b0;
}
.hk-text { white-space: nowrap; }
/* The trailer folds into the kicker pill: a compact play, click-to-play with sound only after the click. */
.hk-play {
  position: relative; display: inline-flex; align-items: center; gap: 7px; margin: -5px -6px -5px 4px; padding: 3px 6px 3px 12px;
  border: 0; border-left: 1px solid rgba(255, 170, 90, .32); background: none; cursor: pointer; white-space: nowrap;
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--gold-hi);
}
.hk-play::before { content: ""; position: absolute; inset: -10px -8px; }
.hk-play .play-ring { width: 22px; height: 22px; box-shadow: 0 0 0 3px rgba(255, 140, 50, .16), 0 0 12px rgba(255, 106, 31, .55); transition: transform .2s var(--ease); }
.hk-play .play-ring svg { margin-left: 1px; }
.hk-play .dur { color: #d9c3a3; font-weight: 600; }
.hk-play:hover { color: #fff3dc; }
.hk-play:hover .play-ring { transform: scale(1.1); }
@media (max-width: 479px) {
  .hero-kicker { gap: 6px; max-width: 100%; box-sizing: border-box; padding: 7px 10px 7px 11px; font-size: 11px; letter-spacing: .06em; }
  .hk-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .hk-play { flex: none; padding-left: 10px; gap: 6px; }
  .hk-play-label { font-size: 0; }
  .hk-play-label .dur { font-size: 11px; }
}
/* Phones under 400px: the play ring alone (the button's aria-label still gives the 57 s length). */
@media (max-width: 399px) { .hk-play-label .dur { display: none; } }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--ember); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 106, 31, .65); }
  70% { box-shadow: 0 0 0 10px rgba(255, 106, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 31, 0); }
}
.hero-tag {
  margin: clamp(14px, 2vw, 22px) 0 10px; font: 600 clamp(17px, 2.2vw, 26px)/1.25 var(--font-display);
  color: #fff3dc; letter-spacing: .04em; text-shadow: 0 2px 20px rgba(0, 0, 0, .9);
}
.hero-pitch {
  max-width: 620px; margin: 0 auto 20px; font-size: clamp(15px, 1.5vw, 17.5px); line-height: 1.6;
  color: var(--ink-dim); text-shadow: 0 1px 14px rgba(0, 0, 0, .95);
}
.hero-offer {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 0; max-width: 760px; margin: clamp(14px, 2vw, 22px) 0 10px;
  font: 600 clamp(21px, 1.85vw, 26px)/1.3 var(--font-ui); color: #fff1dc; text-shadow: 0 1px 12px rgba(0, 0, 0, .95);
}
.hero-offer strong { color: var(--gold-hi); font-weight: 700; }
.hero-offer strong { text-wrap: balance; }
/* The qualifier sits on its own quieter line under the offer. */
.hero-offer-note { flex-basis: 100%; margin-top: 4px; font: 500 clamp(13px, .94vw, 13.5px)/1.4 var(--font-ui); letter-spacing: .02em; color: var(--muted); }
.hero-friend {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 7px 14px; border-radius: 99px;
  font: 600 13px/1 var(--font-ui); color: var(--gold-hi); background: rgba(233, 184, 92, .1); border: 1px solid rgba(233, 184, 92, .4);
}
.hero-count { width: 100%; max-width: 360px; }
.hero-count-line { margin: 8px 0 0; font-size: 14px; color: var(--ink-dim); text-shadow: 0 1px 10px #000; }
.hero-count-line strong { color: var(--gold-hi); }
.mini-bar { height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(233, 184, 92, .12); }
.mini-bar i, [data-progress-fill] { display: block; height: 100%; width: calc(var(--p, 0) * 100%); border-radius: inherit; transition: width 1.4s var(--ease); }
.mini-bar i { background: linear-gradient(90deg, var(--lava), var(--ember-hi), var(--gold-hi)); box-shadow: 0 0 12px rgba(255, 120, 30, .8); }
.play-ring {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ffd27a, #ff6a1f 70%); color: #2a0d02;
  box-shadow: 0 0 0 4px rgba(255, 140, 50, .18), 0 0 18px rgba(255, 106, 31, .6);
}
.play-ring svg { margin-left: 2px; }
@media (max-width: 759px) {
  /* phone: the doorway light sits right behind the copy, so give the text a soft scrim */
  .hero-content::before {
    content: ""; position: absolute; z-index: -1; left: -16px; right: -16px; top: -24px; bottom: -16px; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(5, 3, 2, .55) 14%, rgba(5, 3, 2, .62) 86%, transparent);
  }
}
@media (min-width: 760px) {
  .hero-count { max-width: 330px; }
  .hero-count-line { text-align: left; }
}
@media (max-height: 760px) and (min-width: 760px) {
  .lockup-xl .lockup-inferno { font-size: clamp(54px, 12vw, 140px); }
  .hero-pitch { margin-bottom: 18px; }
}

/* =========================================================
   7b. FAST ANSWERS strip
   ========================================================= */
.fast { position: relative; z-index: 2; padding: 28px 0 8px; }
.fast-title { margin: 0 0 12px; font: 700 12px/1 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fast-grid { display: grid; gap: 10px; margin: 0; grid-template-columns: 1fr; }
.fast-tile { padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(26, 18, 13, .8), rgba(14, 9, 7, .85)); }
.fast-tile dt { margin: 0 0 6px; font: 700 12px/1.2 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.fast-tile dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-dim); }
.fast-tile a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 640px) { .fast-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .fast-grid { grid-template-columns: repeat(4, 1fr); } }

/* =========================================================
   8. JOIN (shared by all sign-up forms)
   ========================================================= */
.join { width: 100%; }
.join-row { display: flex; flex-direction: column; gap: 10px; }
.join-row .btn { flex: none; }
@media (min-width: 480px) { .join-row { flex-direction: row; } }
.join-hero {
  max-width: 560px; padding: 10px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 13, 9, .72), rgba(10, 7, 5, .78));
  border: 1px solid rgba(233, 184, 92, .3);
  box-shadow: 0 30px 60px -30px #000, 0 0 50px -20px rgba(255, 106, 31, .4);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.join-hero .join-fine { margin: 10px 4px 2px; text-align: left; }
.join-msg { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-dim); text-align: left; }
.join-msg:empty { display: none; }
.join-hero .join-msg, .join-modal .join-msg { margin: 10px 4px 0; }
.join-full .join-msg { margin-top: 12px; }
.join-msg.is-error { color: var(--danger); }
.join-msg.is-ok { color: var(--ok); }
.join-msg .link-btn { margin-left: 6px; font-size: 13.5px; }
/* Every form message sits right under its input: between field and button when stacked,
   on its own line under both when the row is side by side. */
.join-row { flex-wrap: wrap; }
.join-row > p.join-msg { margin: -2px 2px 0; }
@media (min-width: 480px) {
  .join-row > .field { flex: 1 1 0%; }
  .join-row > p.join-msg { order: 3; flex: 0 0 100%; }
}
@media (max-width: 559.98px) { .join-modal .join-row > p.join-msg { order: 0; flex: none; } }
.join-full .field + p.join-msg { margin: -4px 0 12px; }
.join-fine { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 12px 0 0; }
.join-fine a { color: var(--ink-dim); }
.join-done-compact { padding: 8px 6px; text-align: left; }
.jdc-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 15px; color: var(--ink); }
.jdc-line svg { flex: none; color: var(--ok); }
.jdc-line strong { font-family: var(--font-display); color: var(--gold-hi); font-size: 18px; }
.jdc-founder {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 99px;
  font: 800 12px/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: #2a1004;
  background: linear-gradient(180deg, #ffe2a0, #e9b85c);
}
.jdc-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.join-done-hero { padding: 10px 8px 6px; text-align: left; }
.join-done-hero:focus { outline: none; }
.jdh-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; margin-bottom: 12px; }
.jdh-top .jdc-line { flex-wrap: nowrap; align-items: flex-start; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ok); }
.jdh-pos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font: 600 16px/1.2 var(--font-ui); color: var(--ink); }
.jdh-pos .gold-num { font-size: 26px; }
.join-done-hero .field-label { margin-bottom: 6px; }
.join-done-hero .share-out { margin: 8px 0 14px; }
.jdh-wallet { padding-top: 12px; border-top: 1px solid var(--line); }
.jdh-wallet .field { height: 46px; font-size: 16px; } /* 16px: iOS never zooms on focus */
.jdh-wallet .btn { height: 46px; }
.jdh-wallet .wallet-done { margin-bottom: 2px; }
.jdh-hint { color: var(--muted); font-weight: 500; letter-spacing: 0; }
.jdh-opt { margin-right: 4px; padding: 2px 7px; border-radius: 99px; border: 1px solid var(--line); font: 700 10.5px/1.4 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); vertical-align: 1px; }
.join-done-hero .jdc-link { margin-top: 10px; }
.btn-copy, [data-copy] { min-width: 112px; }
.leave-confirm { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--ink-dim); }
.leave-yes { color: var(--danger); text-decoration-color: rgba(255, 138, 115, .5); font-size: 13px; }
.leave-confirm .link-btn { font-size: 13px; }

/* =========================================================
   9. PROMO CAROUSEL
   ========================================================= */
.promos { position: relative; padding: 16px 0 24px; z-index: 2; }
.carousel { position: relative; }
.car-viewport {
  display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2); background: #0c0806;
}
@media (prefers-reduced-motion: reduce) { .car-viewport { scroll-behavior: auto; } }
.car-viewport::-webkit-scrollbar { display: none; }
.car-viewport:focus-visible { outline-offset: 4px; border-radius: var(--radius-lg); }
.car-slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always;
  display: flex; flex-direction: column; overflow: hidden; background: #0c0806;
}
.car-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 72% 50%; }
.car-slide::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 16 / 10; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, #0c0806 100%);
}
.car-copy { position: relative; z-index: 1; padding: 14px 20px 24px; margin-top: 0; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.car-tag {
  display: inline-flex; align-items: center; gap: 7px; margin: 0 0 12px; padding: 6px 11px; border-radius: 99px;
  font: 700 12px/1 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi);
  background: rgba(233, 184, 92, .1); border: 1px solid rgba(233, 184, 92, .32);
}
.car-tag-violet { color: #dccfff; background: rgba(181, 152, 255, .1); border-color: rgba(181, 152, 255, .38); }
.car-title { font: 700 clamp(25px, 3.4vw, 46px)/1.08 var(--font-display); letter-spacing: .01em; margin: 0 0 12px; color: #fff6e4; text-wrap: balance; }
.car-title .gold-num { font-size: 1.15em; }
.car-text { color: var(--ink-dim); font-size: clamp(15px, 1.4vw, 17px); max-width: 460px; margin: 0 0 20px; }
.car-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.car-fine { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.car-controls { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.car-dots { flex: 1; display: flex; justify-content: center; gap: 6px; }
.car-dot {
  position: relative; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; background: none; cursor: pointer;
}
.car-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(233, 184, 92, .3); transition: background-color .2s, transform .2s; }
.car-dot[aria-current="true"]::before { background: var(--gold-hi); transform: scale(1.3); box-shadow: 0 0 10px rgba(255, 200, 100, .7); }
.car-dot-label { display: none; }
.car-dot i { display: none; }
.car-pause .ico-play { display: none; }
.carousel.is-paused .car-pause .ico-play { display: block; }
.carousel.is-paused .car-pause .ico-pause { display: none; }
@media (min-width: 760px) {
  .car-slide { min-height: clamp(420px, 40vw, 520px); justify-content: center; }
  .car-img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-position: 100% 50%; }
  .car-slide::after {
    aspect-ratio: auto; inset: 0;
    background:
      linear-gradient(90deg, #0a0605 0%, rgba(10, 6, 5, .94) 30%, rgba(10, 6, 5, .55) 52%, rgba(10, 6, 5, 0) 72%),
      linear-gradient(0deg, rgba(10, 6, 5, .6), transparent 30%);
  }
  .car-copy { margin: 0; padding: clamp(32px, 4.5vw, 64px); max-width: 56%; justify-content: center; flex: none; }
  .car-actions { margin-top: 0; }
  .car-dots { gap: 8px; }
  .car-dot {
    width: auto; height: 40px; padding: 0 14px; border-radius: 10px; overflow: hidden;
    font: 600 13px/1 var(--font-ui); color: var(--muted); background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
    transition: color .2s, border-color .2s, background-color .2s;
  }
  .car-dot::before { display: none; }
  .car-dot-label { display: block; }
  .car-dot:hover { color: var(--ink); border-color: var(--line-strong); }
  .car-dot[aria-current="true"] { color: var(--gold-hi); border-color: rgba(233, 184, 92, .55); background: rgba(233, 184, 92, .08); }
  .car-dot i { display: block; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--ember), var(--gold-hi)); }
  .car-dot[aria-current="true"] i { width: 100%; }
  .carousel.is-running .car-dot[aria-current="true"] i { animation: car-progress var(--car-ms, 7000ms) linear forwards; }
}
@keyframes car-progress { from { width: 0; } to { width: 100%; } }

/* =========================================================
   10. SECTIONS
   ========================================================= */
.section { position: relative; padding: clamp(44px, 4.4vw, 60px) 0; }
.section + .section::before, .markets-band + .section::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: min(640px, 80%); height: 16px; opacity: .32; pointer-events: none;
  background: var(--meander) center / 24px 16px repeat-x;
  -webkit-mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}
.sec-head { max-width: 780px; margin: 0 auto clamp(24px, 3.2vw, 36px); text-align: center; }
.sec-head-left { margin-left: 0; text-align: left; }
.sec-title { font: 700 clamp(30px, 4.6vw, 58px)/1.08 var(--font-display); letter-spacing: .01em; color: var(--gold); text-wrap: balance; margin: 0 0 16px; }
.sec-lede { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-dim); margin: 0 auto; max-width: 660px; text-wrap: pretty; }
.sec-head-left .sec-lede { margin-left: 0; }

/* =========================================================
   11. STORY
   ========================================================= */
.story { background: linear-gradient(180deg, var(--bg) 0%, #0a0604 50%, var(--bg) 100%); }
.story-stage { display: none; }
#story .sec-head { max-width: 1200px; }
#story .sec-title { font-size: clamp(30px, 3.5vw, 50px); }
/* Phones/tablets: the four chapters are a swipeable row (scroll-snap, next card peeks) instead of a 2,000px column. */
.chapters {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 340px); gap: 12px;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; align-items: start;
}
.chapters::-webkit-scrollbar { display: none; }
.chapter {
  position: relative; padding: 0 0 4px; border-radius: var(--radius-lg); overflow: hidden; scroll-snap-align: start;
  background: linear-gradient(180deg, var(--panel), #0b0705); border: 1px solid var(--line);
}
.chapter-media { margin: 0; position: relative; }
.chapter-media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.chapter-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, var(--panel) 100%); }
.chapter-num, .chapter-title, .chapter > p, .chapter-cta { padding-left: 16px; padding-right: 16px; }
.chapter-num { margin: 10px 0 6px; font: 700 12px/1 var(--font-display); letter-spacing: .3em; text-transform: uppercase; color: var(--ember-hi); }
.chapter-title { font: 700 clamp(21px, 2.2vw, 26px)/1.12 var(--font-display); color: #fff3dc; margin: 0 0 6px; }
.chapter > p:not(.chapter-num) { color: var(--ink-dim); font-size: 15px; line-height: 1.5; margin-bottom: 14px; }
.chapter-cta { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 14px; }
/* Phones/tablets: each card hugs its own text (no stretched empty run), and the section ends with them (no empty band before the map). */
@media (max-width: 899.98px) {
  .section.story { padding-bottom: 12px; }
}
/* Desktop: one fixed frame that cross-fades beside a short chapter list (no sticky stage, no scroll-jacking). */
@media (min-width: 900px) {
  .story-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 3.4vw, 52px); align-items: center; }
  .story-stage { display: block; }
  .stage-frame { position: relative; aspect-ratio: 16 / 11; max-height: 470px; border-radius: var(--radius-lg); overflow: hidden; background: #0b0705; box-shadow: var(--shadow-2); }
  .stage-frame::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 4;
    background: linear-gradient(160deg, rgba(255, 226, 160, .7), rgba(233, 184, 92, .12) 40%, rgba(255, 140, 60, .5));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  }
  /* The incoming still fades in on top; the outgoing one waits underneath until it is covered (no dip to black). */
  .stage-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease .8s; }
  .stage-img.is-active { z-index: 1; opacity: 1; transition-delay: 0s; }
  .stage-vignette { position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse at 50% 45%, transparent 50%, rgba(0, 0, 0, .6)), linear-gradient(0deg, rgba(0, 0, 0, .65), transparent 30%); }
  .stage-hud {
    position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 3; display: flex; align-items: center; gap: 14px;
    font: 700 13px/1 var(--font-display); letter-spacing: .2em; color: var(--gold-hi);
  }
  .stage-track { flex: 1; height: 2px; background: rgba(255, 255, 255, .15); border-radius: 2px; overflow: hidden; }
  .stage-track i { display: block; height: 100%; width: calc(var(--p, .25) * 100%); background: linear-gradient(90deg, var(--ember), var(--gold-hi)); transition: width .6s var(--ease); }
  .stage-total { color: var(--muted); }
  .chapters { grid-auto-flow: row; grid-auto-columns: auto; gap: 2px; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
  .chapter {
    display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: baseline;
    padding: 8px 0 8px 20px; border: 0; border-left: 2px solid var(--line); border-radius: 0; background: none; overflow: visible;
    transition: border-color .5s ease;
  }
  .chapter > :not(.chapter-cta) { opacity: .55; transition: opacity .5s ease; }
  .chapter.is-active { border-left-color: var(--ember); }
  .chapter.is-active > * { opacity: 1; }
  .chapter > .chapter-num { opacity: .8; } /* eyebrow stays >= 4.5:1 when its chapter is dimmed */
  .chapter.is-active > .chapter-num { opacity: 1; }
  .chapter-media { display: none; }
  .chapter-num, .chapter-title, .chapter > p, .chapter-cta { padding-left: 0; padding-right: 0; }
  .chapter-num { margin: 0; font-size: 11px; }
  .chapter > p:not(.chapter-num), .chapter-cta { grid-column: 1 / -1; }
  .chapter > p:not(.chapter-num) { font-size: 15px; max-width: 540px; margin-bottom: 0; }
  .chapter-cta { margin-top: 12px; padding-bottom: 0; }
}

/* =========================================================
   12. MAP + LOBBY shells (content owned by map.js / lobby.js)
   ========================================================= */
.map-section, .lobby-section { padding-bottom: clamp(48px, 7vw, 96px); }
.map-section .sec-head, .lobby-section .sec-head { margin-bottom: clamp(24px, 3vw, 36px); }
#map-root, #lobby-root { position: relative; }

/* =========================================================
   14. FOUNDERS
   ========================================================= */
.founders {
  overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(255, 106, 31, .16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(233, 184, 92, .08), transparent 70%),
    linear-gradient(180deg, #080504, #0c0705 50%, #080504);
}
.founders-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.founders-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 85% 40%; opacity: .2;
  -webkit-mask: radial-gradient(ellipse 70% 80% at 75% 40%, #000 20%, transparent 75%);
  mask: radial-gradient(ellipse 70% 80% at 75% 40%, #000 20%, transparent 75%);
}
.founders-grid { display: grid; gap: 40px; }
.founders-offer .eyebrow { margin-bottom: 14px; }
.founders-title { color: #fff3dc; text-align: left; margin-bottom: 26px; }
.founders-title .gold-num { font-size: 1.12em; }
.perks { list-style: none; display: grid; gap: 14px; margin-bottom: 32px; }
.perks li { display: flex; gap: 16px; align-items: flex-start; }
.perk-ico {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--gold-hi);
  background: radial-gradient(circle at 30% 25%, rgba(255, 190, 90, .25), rgba(233, 184, 92, .05)); border: 1px solid rgba(233, 184, 92, .35);
  box-shadow: inset 0 1px 0 rgba(255, 230, 170, .2);
}
.perks strong { display: block; font-size: 17px; margin-bottom: 3px; }
.perks span { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; }
.gate {
  padding: 22px 20px; border-radius: var(--radius-lg); background: rgba(10, 6, 5, .7); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.gate-head { display: grid; gap: 8px; margin-bottom: 18px; }
.gate-kicker { margin: 0; font: 700 12px/1.2 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--ember-hi); }
.gate-title { font: 700 clamp(24px, 2.6vw, 30px)/1.12 var(--font-display); color: #fff3dc; letter-spacing: .01em; text-wrap: balance; }
.gate-title strong {
  font-weight: 800; font-size: 1.22em; margin-right: .08em;
  background: linear-gradient(180deg, #fff3cf 0%, #ffd27a 40%, #e7a23e 72%, #b8701f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gate-count { margin: 0; color: var(--ink-dim); font-size: 14.5px; }
.gate-count strong { font: 800 17px/1 var(--font-display); color: var(--gold-hi); margin-right: 2px; font-variant-numeric: tabular-nums; }
.gate-bar { position: relative; padding-bottom: 30px; }
.gate-track { position: relative; height: 14px; border-radius: 99px; background: #170f0a; overflow: hidden; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .8), 0 0 0 1px rgba(233, 184, 92, .2); }
.gate-fill {
  position: relative;
  background: linear-gradient(90deg, #8f1e03, var(--lava) 30%, var(--ember) 60%, var(--ember-hi) 85%, var(--gold-hi));
  box-shadow: 0 0 18px rgba(255, 106, 31, .9);
}
.gate-fill::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .0) 0 10px, rgba(255, 240, 200, .22) 10px 16px);
  animation: flow 1.6s linear infinite;
}
@keyframes flow { from { background-position: 0 0; } to { background-position: 34px 0; } }
.stats-zero .gate-fill, .stats-zero .road-progress [data-progress-fill] { width: 10px; animation: ember-wait 2.4s ease-in-out infinite; }
@keyframes ember-wait { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.gate-mark { position: absolute; top: -4px; height: 22px; width: 2px; background: var(--gold-hi); box-shadow: 0 0 8px rgba(255, 220, 150, .8); }
.gate-mark span { position: absolute; top: 28px; transform: translateX(-50%); white-space: nowrap; font: 700 12px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-hi); }
.gate-mark-founders { left: 33.333%; }
.gate-mark-end { right: 0; }
.gate-mark-end span { transform: translateX(-100%); left: 2px; }
.gate-note { margin: 4px 0 0; font-size: 15px; color: var(--ink-dim); }
.founders-card { border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(28, 19, 13, .96), rgba(12, 8, 6, .98)); box-shadow: var(--shadow-2), 0 0 80px -30px rgba(255, 106, 31, .45); }
.join-full { position: relative; z-index: 3; padding: clamp(26px, 4vw, 40px) clamp(20px, 3.5vw, 40px); }
.card-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 700 12px/1.25 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ember-hi); }
.card-title { font: 700 clamp(26px, 3vw, 34px)/1.1 var(--font-display); color: #fff3dc; margin: 0 0 10px; }
.card-sub { color: var(--ink-dim); font-size: 15.5px; margin-bottom: 22px; }
.join-full .field { margin-bottom: 12px; }
.card-stat { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.card-stat p { margin: 8px 0 0; font-size: 14px; color: var(--ink-dim); }
.card-stat strong { color: var(--gold-hi); }
.join-full .join-fine { font-size: 13px; }
.join-left { margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(143, 227, 173, .38); background: rgba(143, 227, 173, .07); }
.join-left:focus { outline: none; }

/* success panel */
.join-done-full:focus { outline: none; }
.done-head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.done-medal { position: relative; flex: none; width: 92px; height: 92px; }
.done-medal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.done-medal .seal-ring-svg, .sealed-seal .seal-ring-svg { animation: spin 40s linear infinite; }
.done-kicker { margin: 0 0 6px; font: 700 12px/1.2 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--ok); }
.done-title { font: 700 clamp(30px, 4vw, 44px)/1 var(--font-display); color: #fff3dc; margin: 0; }
.done-badge {
  display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 6px 11px; border-radius: 99px;
  font: 800 12px/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: #2a1004;
  background: linear-gradient(180deg, #ffe7ae, #e9b85c 60%, #c88a35); box-shadow: 0 0 22px -4px rgba(255, 190, 90, .7);
}
.done-sub { color: var(--ink-dim); font-size: 15px; margin: 0 0 20px; }
.done-sub:empty { display: none; }
.done-block { padding: 18px 0; border-top: 1px solid var(--line); }
.share-row { display: flex; gap: 8px; }
.share-row .field { font-size: 16px; height: 48px; flex: 1 1 auto; min-width: 0; }
.share-row .btn { height: 48px; flex: none; }
/* Phones: the link gets its own row so the whole ref code shows; Copy + share sit underneath. */
@media (max-width: 559.98px) {
  .share-row { flex-wrap: wrap; }
  .share-row .field { flex: 1 1 100%; padding: 0 12px; font-size: 15px; }
  .share-row .btn-copy { flex: 1 1 auto; }
}
.copy-label { font-size: 14px; }
.share-out { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.share-pill {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 99px; text-decoration: none;
  font: 600 13px/1 var(--font-ui); color: var(--ink-dim); border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
}
.share-pill:hover { color: #fff; border-color: var(--line-strong); }
.done-refs { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.done-refs strong { color: var(--gold-hi); font-size: 15px; }
.step-tag { margin: 0 0 6px; font: 700 12px/1 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.step-title { font: 700 20px/1.2 var(--font-display); color: var(--gold-hi); margin: 0 0 6px; }
.step-sub { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.wallet-step .join-msg { margin-top: 10px; }
.wallet-done { display: grid; justify-items: start; gap: 8px; margin: 0; }
.pyr-badge {
  display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 6px 11px; border-radius: 99px;
  font: 700 11.5px/1.2 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi);
  background: rgba(233, 184, 92, .12); border: 1px solid rgba(233, 184, 92, .4);
}
.pyr-badge svg { flex: none; color: var(--gold); }
.wallet-done-line { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-dim); }
.wallet-done-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--ok); font-weight: 600; font-size: 14.5px; }
.wallet-done .mono { color: var(--ink-dim); font-weight: 500; margin-left: 4px; }
.done-foot { margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
@media (min-width: 1000px) {
  .founders-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
}

/* =========================================================
   15. TOKEN
   ========================================================= */
.token { overflow: hidden; isolation: isolate; }
.token-bg { position: absolute; inset: 0; z-index: -1; }
.token-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; -webkit-mask: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); mask: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); }
.token-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 50% 55%, rgba(7, 5, 4, .55), rgba(7, 5, 4, .9)); }
.token-head .sec-lede { max-width: 600px; }
/* One card, three verdicts: decided / not decided / never. */
.token-card {
  display: grid; grid-template-columns: 1fr; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(28, 19, 13, .94), rgba(12, 8, 6, .97)); box-shadow: var(--shadow-2), 0 0 80px -40px rgba(255, 106, 31, .5);
}
.tk-col { position: relative; padding: 22px 20px; }
.tk-col + .tk-col { border-top: 1px solid var(--line); }
.tk-label { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 800 12.5px/1.2 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; }
.tk-ico { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; }
.tk-ico .dot-q { margin: 0; border-color: currentColor; }
.tk-yes .tk-label { color: var(--ok); }
.tk-open .tk-label { color: var(--gold-hi); }
.tk-never .tk-label { color: var(--danger); }
.tk-list { list-style: none; display: grid; gap: 8px; }
.tk-list li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.45; color: #fff1dc; }
.tk-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; }
.tk-yes .tk-list li::before { background: var(--ok); opacity: .8; }
.tk-never .tk-list li::before { background: var(--danger); opacity: .8; }
.tk-sub { margin: 0 0 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink-dim); }
.tk-sub strong { color: var(--gold-hi); }
.tk-paths { list-style: none; display: grid; gap: 6px; margin: 0 0 12px; }
.path { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.path h4 { margin: 0 0 1px; font: 700 15.5px/1.2 var(--font-display); color: #fff3dc; }
.path p { margin: 0; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.path-glyph {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  font: 800 13px/1 var(--font-display); color: var(--gold-hi);
  background: radial-gradient(circle at 35% 30%, rgba(255, 200, 110, .25), rgba(233, 184, 92, .04)); border: 1px solid rgba(233, 184, 92, .4);
}
.dot-q { flex: none; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: transparent; border: 1.5px solid var(--muted); }
.token-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 20px; }
.token-fine { flex: 1 1 320px; max-width: 620px; margin: 0; padding: 12px 14px; border-left: 2px solid rgba(233, 184, 92, .45); background: rgba(233, 184, 92, .04); border-radius: 0 10px 10px 0; }
.token-foot .btn { flex: none; }
@media (max-width: 639px) { .token-foot .btn { width: 100%; } }
@media (min-width: 900px) {
  .token-card { grid-template-columns: 1fr 1.25fr 1fr; }
  .tk-col { padding: 30px 28px; }
  .tk-col + .tk-col { border-top: 0; border-left: 1px solid var(--line); }
  .tk-open { background: rgba(233, 184, 92, .035); }
}

/* =========================================================
   16. LICENCE
   ========================================================= */
.licence-grid { display: grid; gap: 32px; align-items: center; }
.licence-art { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.licence-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 50%; }
.licence-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(0, 0, 0, .55)); }
.licence-art figcaption {
  position: absolute; left: 16px; top: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 99px; background: rgba(8, 5, 4, .75); border: 1px solid rgba(233, 184, 92, .4);
  font: 700 12px/1 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi);
}
.licence-copy .sec-title { text-align: left; }
.status-card {
  margin: 4px 0 22px; padding: 20px 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(40, 20, 8, .7), rgba(18, 10, 6, .8)); border: 1px solid rgba(255, 160, 80, .35);
  box-shadow: 0 0 40px -20px rgba(255, 106, 31, .6);
}
.status-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 800 12px/1 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--ember-hi); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember-hi); animation: pulse 2s infinite; }
.status-text { margin: 0; font-size: 17px; color: #fff1dc; line-height: 1.55; }
.lic-steps { list-style: none; display: grid; gap: 0; margin-bottom: 20px; }
.lic-steps li { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 0 0 18px 0; }
.lic-steps li:not(:last-child)::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.lic-dot { flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--bg); }
.lic-steps .is-current .lic-dot { border-color: var(--ember-hi); background: var(--ember); box-shadow: 0 0 12px var(--ember); }
.lic-steps strong { display: block; font-size: 16px; }
.lic-steps span { display: block; font-size: 13.5px; color: var(--muted); }
.licence-note { color: var(--muted); font-size: 15px; margin: 0; }
@media (min-width: 900px) { .licence-grid { grid-template-columns: 1fr 1fr; gap: 64px; } .licence-art img { aspect-ratio: 5 / 6; } }

/* =========================================================
   17. PREDICTION MARKETS partner band (slim)
   ========================================================= */
.markets-band { position: relative; padding: clamp(40px, 4.4vw, 56px) 0; background: linear-gradient(90deg, transparent, rgba(181, 152, 255, .2), transparent) top / 100% 1px no-repeat, linear-gradient(90deg, transparent, rgba(181, 152, 255, .2), transparent) bottom / 100% 1px no-repeat, linear-gradient(180deg, rgba(11, 8, 18, 0), rgba(11, 8, 18, .94) 35%, rgba(11, 8, 18, .94) 65%, rgba(11, 8, 18, 0)); }
.markets-band-inner { display: grid; gap: 10px; justify-items: start; max-width: 880px; }
.markets-band .eyebrow { margin: 0; }
.band-title { margin: 0; font: 700 clamp(24px, 3vw, 34px)/1.15 var(--font-display); color: #fff3dc; }
.band-text { margin: 0 0 6px; color: var(--ink-dim); font-size: 16px; max-width: 60ch; }
@media (min-width: 900px) {
  .markets-band-inner { grid-template-columns: 1fr auto; column-gap: 40px; align-items: end; }
  .markets-band-inner > :not(.btn) { grid-column: 1; }
  .markets-band-inner > .btn { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}

/* =========================================================
   19. ROADMAP
   ========================================================= */
.road { list-style: none; position: relative; max-width: 1040px; margin: 0 auto; --lx: 19px; }
.road-step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding-bottom: 10px; }
.road-step::before { content: ""; position: absolute; left: var(--lx); top: 0; bottom: 0; width: 2px; background: rgba(233, 184, 92, .16); }
.road-step:first-child::before { top: 22px; }
.road-step:last-child::before { bottom: auto; height: 22px; }
.road-step.is-done::before { background: linear-gradient(180deg, var(--gold), var(--ember)); box-shadow: 0 0 10px rgba(255, 120, 40, .6); }
.road-node {
  grid-column: 1; grid-row: 1; position: relative; z-index: 1; display: grid; place-items: center; justify-self: center;
  width: 34px; height: 34px; margin-top: 6px; border-radius: 50%; color: #2a1004;
  background: #120c09; border: 2px solid rgba(233, 184, 92, .35);
}
.is-done .road-node { background: linear-gradient(180deg, #ffe2a0, #e9b85c); border-color: #ffe2a0; box-shadow: 0 0 18px rgba(255, 200, 100, .55); }
.is-now .road-node { border-color: var(--ember-hi); background: #2a0f04; }
.road-pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--ember); animation: pulse 1.8s infinite; }
.road-big .road-node { color: var(--ember-hi); border-color: rgba(255, 150, 70, .6); }
.road-card {
  grid-column: 2; grid-row: 1; padding: 13px 16px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(26, 18, 13, .8), rgba(14, 9, 7, .85)); border: 1px solid var(--line);
}
.road-state { margin: 0 0 5px; font: 700 12px/1 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.is-done .road-state { color: var(--ok); }
.is-now .road-state { color: var(--ember-hi); }
.road-card h3 { font: 700 clamp(18px, 1.8vw, 21px)/1.2 var(--font-display); color: #fff3dc; margin: 0 0 4px; }
.road-card p:not(.road-state) { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); text-align: left; }
.is-now .road-card { border-color: rgba(255, 150, 70, .45); box-shadow: 0 0 40px -18px rgba(255, 106, 31, .6); }
.road-big .road-card { border-color: rgba(233, 184, 92, .45); background: linear-gradient(180deg, rgba(48, 22, 8, .85), rgba(18, 10, 6, .9)); }
.road-big .road-state { color: var(--gold-hi); }
.road-progress { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.road-progress .mini-bar { flex: 1; height: 6px; }
@media (min-width: 900px) {
  .road { --lx: 50%; }
  .road-step { grid-template-columns: 1fr 56px 1fr; gap: 0; padding-bottom: 8px; }
  .road-step::before { transform: translateX(-1px); }
  .road-node { grid-column: 2; }
  .road-step:nth-child(odd) .road-card { grid-column: 1; }
  .road-step:nth-child(even) .road-card { grid-column: 3; }
  .road-step + .road-step { margin-top: -52px; }
}

/* =========================================================
   20. FAQ
   ========================================================= */
.faq-wrap { max-width: 880px; }
.section.faq { padding-bottom: clamp(32px, 4vw, 56px); }
.faq-tools { display: flex; justify-content: flex-end; margin: -14px 0 6px; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px; cursor: pointer; list-style: none;
  font: 600 17px/1.35 var(--font-ui); color: var(--ink); transition: color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--gold-hi); }
.qa summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .3s var(--ease), background-color .2s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--gold-hi); transform: translate(-50%, -50%); border-radius: 2px; }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.qa[open] summary { color: var(--gold-hi); }
.qa[open] summary i { background: rgba(233, 184, 92, .12); transform: rotate(180deg); }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa-a { padding: 0 4px 22px; color: var(--ink-dim); font-size: 16px; max-width: 760px; }
.qa[open] .qa-a { animation: qa-in .35s var(--ease); }
.faq-more { border-bottom: 1px solid var(--line); }
.faq-more > summary {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 4px; cursor: pointer; list-style: none;
  font: 700 13px/1.2 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.faq-more > summary::-webkit-details-marker { display: none; }
.faq-more > summary::after { content: ""; width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.faq-more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-more > summary:hover { color: var(--gold-hi); }
.faq-more[open] > summary { border-bottom: 1px solid var(--line); }
.faq-more > .qa:last-child { border-bottom: 0; }
@keyframes qa-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* =========================================================
   21. TL;DR
   ========================================================= */
.tldr { position: relative; overflow: hidden; isolation: isolate; padding: clamp(56px, 7vw, 96px) 0; text-align: center; }
.tldr-bg { position: absolute; inset: 0; z-index: -1; }
.tldr-bg img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; will-change: transform; }
.tldr-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(7, 5, 4, .55) 30%, rgba(7, 5, 4, .6) 70%, var(--bg) 100%), radial-gradient(ellipse at 50% 50%, rgba(7, 5, 4, .35), rgba(7, 5, 4, .85)); }
.tldr-inner { max-width: 1120px; }
.tldr-label { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 99px; border: 1px solid rgba(255, 170, 90, .45); font: 800 12px/1 var(--font-ui); letter-spacing: .3em; color: var(--ember-hi); background: rgba(20, 8, 3, .5); }
.tldr-text { font: 600 clamp(18px, 1.75vw, 25px)/1.4 var(--font-ui); color: #fff3dc; text-shadow: 0 2px 30px rgba(0, 0, 0, .9); margin: 0 auto 24px; max-width: 1080px; text-wrap: balance; }
.tldr-text em { font-style: normal; color: var(--ember-hi); text-shadow: 0 0 30px rgba(255, 106, 31, .6); }
.tldr-cta-line { font: 700 clamp(18px, 2vw, 22px)/1.3 var(--font-display); color: var(--gold); letter-spacing: .08em; margin: 0 0 26px; }

/* =========================================================
   22. FOOTER
   ========================================================= */
.site-footer { position: relative; background: #050302; padding: 0 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.meander {
  height: 16px; opacity: .4; background: var(--meander) center / 24px 16px repeat-x; margin-bottom: 31px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.foot-top { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.foot-brand { grid-column: 1 / -1; }
.foot-brand .lockup { align-items: flex-start; }
.foot-brand .lockup-vulcans { padding-left: 0; }
.foot-brand p { margin: 12px 0; color: var(--muted); font-size: 14.5px; max-width: 360px; }
.foot-badges { display: flex; align-items: center; gap: 12px; }
.foot-rg { font-size: 13px; color: var(--ink-dim); font-weight: 600; }
.foot-h { margin: 0 0 8px; font: 700 12px/1 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.foot-nav ul { list-style: none; display: grid; gap: 0; margin: 0; padding: 0; }
.foot-nav a { display: inline-block; padding: 5px 0; color: var(--ink-dim); text-decoration: none; font-size: 14px; line-height: 1.35; }
.foot-nav a:hover { color: var(--gold-hi); }
.disclaimers { display: grid; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.disclaimers p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.disclaimers a { color: var(--ink-dim); }
.licence-line { color: var(--ink-dim) !important; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 16px; font-size: 13px; color: var(--muted); }
.foot-bottom p { margin: 0; }
.foot-bottom a { color: var(--muted); }
@media (max-width: 759px) {
  .site-footer .meander { margin-bottom: 16px; }
  .foot-top { gap: 16px; padding-bottom: 16px; }
  /* 18+ badge sits beside the wordmark instead of on its own row. */
  .foot-brand { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; }
  .foot-brand > * { grid-column: 1 / -1; }
  .foot-brand > .lockup { grid-column: 1; grid-row: 1; }
  .foot-brand > .foot-badges { grid-column: 2; grid-row: 1; flex-direction: column; gap: 4px; }
  .foot-brand .foot-rg { font-size: 11.5px; line-height: 1.25; text-align: center; max-width: 100px; }
  .foot-brand p { margin: 10px 0 0; }
  .foot-nav a { padding: 3px 0; }
  .disclaimers { gap: 6px; padding: 14px 0; }
  .disclaimers p { line-height: 1.45; }
  .foot-bottom { padding-top: 12px; }
}
@media (min-width: 760px) {
  .foot-top { grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
  .foot-brand { grid-column: auto; }
  .disclaimers { grid-template-columns: 1fr 1fr; gap: 12px 40px; }
}

/* =========================================================
   23. DOCK + TOAST
   ========================================================= */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(10, 6, 5, .85), rgba(7, 5, 4, .97)); border-top: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.dock.is-on { transform: none; }
.dock-inner { display: flex; align-items: center; gap: 12px; max-width: 640px; margin: 0 auto; }
.dock-stat { flex: 1; min-width: 0; margin: 0; font-size: 13px; line-height: 1.3; color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 479px) { .dock-stat .dock-more { display: none; } }
.dock-stat strong { color: var(--gold-hi); }
@media (min-width: 1024px) { .dock { display: none !important; } }
.toast {
  position: fixed; left: 50%; top: calc(var(--header-h) + 12px); bottom: auto; z-index: 300; transform: translate(-50%, -8px); opacity: 0;
  max-width: calc(100vw - 32px); padding: 11px 18px; border-radius: 99px; background: #1d140e; border: 1px solid var(--line-strong); color: var(--ink);
  font: 600 14px/1.2 var(--font-ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: var(--shadow-1); transition: opacity .25s, transform .25s; pointer-events: none;
}
html.dock-on .toast { top: auto; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translate(-50%, 8px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   24. MODALS
   ========================================================= */
dialog.modal {
  padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible;
  width: calc(100% - 24px); max-width: 940px; max-height: calc(100% - 24px);
}
dialog.modal::backdrop { background: rgba(4, 2, 1, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
dialog.modal[open] > * { animation: modal-in .4s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 5; background: rgba(8, 5, 4, .75); }
/* Sealed modal: frame + close live on the dialog, outside the scroller, so they stay put while the content scrolls */
.sealed-modal { border-radius: var(--radius-lg); }
.sealed-modal::before, .sealed-modal::after { z-index: 6; }
.sealed-modal::after { opacity: 1; }
.sealed-modal[open]::before, .sealed-modal[open]::after { animation: modal-in .4s var(--ease); }
.sealed-modal > .modal-close { z-index: 7; }
.sealed-inner {
  position: relative; display: grid; grid-template-columns: 1fr; border-radius: var(--radius-lg); overflow: hidden auto;
  scrollbar-width: thin; scrollbar-color: rgba(233, 184, 92, .35) transparent;
  max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
  background: linear-gradient(180deg, #1a110c, #0b0705); box-shadow: 0 40px 120px -20px #000, 0 0 100px -40px rgba(255, 106, 31, .6);
}
.sealed-art { position: relative; min-height: 210px; max-height: 40svh; aspect-ratio: 5 / 4; overflow: hidden; background: #0b0705; }
.sealed-art-bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); max-width: none; object-fit: cover; filter: blur(22px) brightness(.45) saturate(1.2); }
/* The whole thumbnail (baked title included) sits over its own blurred copy: no crop, no flat letterbox. */
.sealed-art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; filter: brightness(.92) saturate(.95) drop-shadow(0 18px 34px rgba(0, 0, 0, .7)); }
.sealed-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .5) 100%), linear-gradient(0deg, rgba(11, 7, 5, .96), transparent 11%); }
.sealed-chains { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sealed-chains::before, .sealed-chains::after {
  content: ""; position: absolute; left: -10%; right: -10%; top: 50%; height: 12px;
  background: linear-gradient(180deg, rgba(255, 226, 160, .7), rgba(120, 70, 20, .9) 30%, rgba(30, 16, 8, .95) 50%, rgba(120, 70, 20, .9) 70%, rgba(255, 226, 160, .6));
  box-shadow: 0 6px 18px rgba(0, 0, 0, .7); transform: rotate(-16deg);
}
.sealed-chains::after { transform: rotate(16deg); }
.sealed-seal {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 116px; height: 116px; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle at 40% 35%, #2a170c, #0d0806 70%);
  box-shadow: 0 0 0 4px rgba(10, 6, 4, .9), 0 0 0 5px rgba(233, 184, 92, .5), 0 18px 40px rgba(0, 0, 0, .8), 0 0 60px rgba(255, 120, 40, .45);
}
.sealed-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sealed-body { position: relative; z-index: 3; padding: 22px 20px 24px; }
.sealed-section { margin: 0 0 8px; font: 700 12px/1 var(--font-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--ember-hi); }
.sealed-title { font: 700 clamp(26px, 3.2vw, 36px)/1.1 var(--font-display); color: #fff3dc; margin: 0 0 12px; overflow-wrap: anywhere; }
.sealed-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 14px; padding: 0; list-style: none; }
.sealed-tags li { padding: 5px 10px; border-radius: 99px; font: 600 12px/1.2 var(--font-ui); color: var(--ink-dim); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.jdc-spot > span { font-weight: 600; }
.jdc-spot strong { margin-left: 2px; }
.join-modal .jdc-link { margin-top: 12px; }
.sealed-status {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 8px 12px; border-radius: 10px;
  font: 700 13px/1 var(--font-ui); color: var(--gold-hi); background: rgba(233, 184, 92, .08); border: 1px solid rgba(233, 184, 92, .35);
}
.sealed-line { color: var(--ink-dim); font-size: 15.5px; margin-bottom: 18px; }
.sealed-concept { margin: -4px 0 12px; font: 600 12.5px/1.45 var(--font-ui); color: var(--gold); opacity: .9; }
.sealed-concept[hidden] { display: none; }
.join-modal .join-row { flex-direction: column; }
.join-modal .join-fine { margin-top: 10px; }
/* "Why can't I play yet?" explainer: open on the first game click of a visit, a toggle after */
.sealed-line[hidden] { display: none; }
.sealed-why { margin: 0 0 18px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.sealed-why > summary {
  display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 14px; cursor: pointer; list-style: none;
  font: 700 14.5px/1.2 var(--font-ui); color: var(--gold-hi); border-radius: 14px;
}
.sealed-why > summary::-webkit-details-marker { display: none; }
.sealed-why > summary:hover { color: #fff3d2; }
.sealed-why > summary:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.sealed-why .why-chev { margin-left: auto; transition: transform .25s var(--ease); }
.sealed-why[open] .why-chev { transform: rotate(180deg); }
.why-list { display: grid; gap: 10px; margin: 0; padding: 2px 14px 4px; list-style: none; }
.why-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.why-list svg { margin-top: 2px; color: var(--ember-hi); }
.why-list p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-dim); }
.why-list strong { color: #fff3dc; }
.why-tldr { margin: 10px 14px 0; padding: 10px 0 12px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; color: var(--ink-dim); font-style: italic; }
.why-tldr .link-btn { font-style: normal; font-size: 13.5px; padding: 6px 0; }
.sealed-modal.is-why .sealed-status { display: none; }
.sealed-modal.is-why .sealed-line { margin-bottom: 14px; }
@media (max-width: 819.98px) {
  /* Phones: the seal becomes a corner badge so the art stays visible. */
  .sealed-seal { left: 14px; top: 14px; width: 60px; height: 60px; transform: none; box-shadow: 0 0 0 3px rgba(10, 6, 4, .9), 0 0 0 4px rgba(233, 184, 92, .5), 0 10px 24px rgba(0, 0, 0, .8), 0 0 30px rgba(255, 120, 40, .4); }
  .sealed-chains { display: none; }
  /* Rows sized to their content: an auto row was squeezed by the scroller's max-height, so the body overlapped the art's baked title. */
  .sealed-inner { grid-auto-rows: max-content; }
  /* Explain mode on phones: smaller art so the list and the form both fit. */
  .sealed-modal.is-why .sealed-art { aspect-ratio: auto; height: 18svh; min-height: 104px; max-height: 150px; }
  .sealed-modal.is-why .sealed-seal { width: 48px; height: 48px; }
  .sealed-modal.is-why .sealed-tags { display: none; }
  .sealed-modal.is-why .sealed-title { margin-bottom: 10px; }
  .sealed-modal.is-why .sealed-body { padding-top: 16px; padding-bottom: 0; }
  /* The sign-up form stays pinned to the bottom while the list scrolls under it. */
  .sealed-modal.is-why .join-modal:has(> .join-form:not([hidden])) {
    position: sticky; bottom: 0; z-index: 4; width: auto; margin: 0 -20px; padding: 14px 20px calc(16px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(14, 9, 6, .82), #0e0906 14px); border-top: 1px solid var(--line);
  }
  .sealed-modal.is-why .join-modal:has(> .join-form[hidden]) { padding-bottom: 24px; }
  .sealed-modal.is-why .join-modal .join-fine { margin-top: 8px; font-size: 13px; }
}
@media (min-width: 560px) { .join-modal .join-row { flex-direction: row; } }
@media (min-width: 820px) {
  .sealed-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  /* Portrait box matching the 2:3 thumbnails, top-aligned, so no blurred band shows above or below the art. */
  .sealed-art { aspect-ratio: 2 / 3; min-height: 0; max-height: none; align-self: start; }
  .sealed-art::after { background: radial-gradient(ellipse at 50% 50%, transparent 50%, rgba(0, 0, 0, .5) 100%), linear-gradient(270deg, rgba(11, 7, 5, .9), transparent 12%); }
  .sealed-body { padding: 44px 40px 36px 34px; display: flex; flex-direction: column; justify-content: center; }
  .sealed-seal { width: 140px; height: 140px; }
  .sealed-modal.is-why .sealed-body { padding-top: 34px; padding-bottom: 28px; }
}
/* Join sheet: centred card on desktop, bottom sheet on phones */
dialog.join-sheet { max-width: 520px; }
.sheet-inner {
  position: relative; overflow: hidden auto; overscroll-behavior: contain; border-radius: var(--radius-lg);
  max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 26px 22px 22px;
  background: linear-gradient(180deg, #1a110c, #0b0705); border: 1px solid rgba(233, 184, 92, .35);
  box-shadow: 0 40px 120px -20px #000, 0 0 100px -40px rgba(255, 106, 31, .6);
  scrollbar-width: thin; scrollbar-color: rgba(233, 184, 92, .35) transparent;
}
.sheet-grab { display: none; }
.sheet-title { margin: 0 0 6px; padding-right: 48px; font: 700 clamp(24px, 3vw, 30px)/1.15 var(--font-display); color: #fff3dc; }
.sheet-sub { margin: 0 0 16px; font-size: 14.5px; line-height: 1.45; color: var(--ink-dim); }
.join-sheet-box .join-msg { margin: 10px 2px 0; }
.join-sheet-box .join-left { margin: 0 2px 14px; padding-right: 48px; }
.join-done-sheet { text-align: left; }
.join-done-sheet .jdh-top { padding-right: 48px; }
.join-done-sheet:focus { outline: none; }
.join-done-sheet .done-sub { font-size: 14.5px; margin-bottom: 14px; }
.join-done-sheet .field-label { margin-bottom: 6px; }
.join-done-sheet .share-out { margin: 8px 0 14px; }
.join-done-sheet .done-foot { margin-top: 14px; }
.join-affirm { margin: 8px 2px 0; font-size: 13px; line-height: 1.45; color: var(--ink-dim); text-align: left; }
.join-full .join-affirm { margin: 10px 0 0; text-align: center; }
.join-affirm-in { color: var(--ink-dim); }
@media (max-width: 719px) {
  dialog.join-sheet { width: 100%; max-width: none; margin: auto 0 0; max-height: calc(100% - 32px); }
  dialog.join-sheet .sheet-inner {
    border-radius: 22px 22px 0 0; border-bottom: 0; padding: 22px 16px calc(18px + env(safe-area-inset-bottom));
    max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  }
  .sheet-grab { display: block; width: 44px; height: 4px; margin: -8px auto 14px; border-radius: 4px; background: rgba(233, 184, 92, .4); }
  dialog.join-sheet[open] > * { animation: sheet-up .32s var(--ease); }
}
@keyframes sheet-up { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
/* Pantheon VIP tier ladder: names only, every perk sealed */
dialog.pantheon-sheet { max-width: 600px; }
.pantheon-tiers { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pt-tier {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 8px; align-items: center;
  padding: 9px 10px; border-radius: 12px; border: 1px solid rgba(233, 184, 92, .18);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
}
.pt-num { grid-row: span 2; display: grid; place-items: center; height: 34px; border-radius: 9px; border: 1px solid rgba(233, 184, 92, .35); font: 700 12px/1 var(--font-display); letter-spacing: .02em; color: var(--gold-hi); background: rgba(233, 184, 92, .07); }
.pt-name { font: 700 16px/1.2 var(--font-display); color: #fff3dc; overflow-wrap: anywhere; }
/* One caption under the ladder says the perks are sealed; each tier keeps only a lock glyph. */
.pt-tier { grid-template-columns: 34px minmax(0, 1fr) auto; }
.pt-num { grid-row: auto; }
.pt-lock { flex: none; color: var(--muted); opacity: .85; }
.pt-caption { display: flex; align-items: center; justify-content: center; gap: 6px; margin: -6px 0 16px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.pt-caption svg { flex: none; opacity: .85; }
.pt-tier:last-child { border-color: rgba(233, 184, 92, .55); background: linear-gradient(180deg, rgba(233, 184, 92, .14), rgba(233, 184, 92, .03)); }
.pantheon-join { padding-top: 16px; border-top: 1px solid rgba(233, 184, 92, .18); }
.pantheon-join-title { margin: 0 0 10px; font: 700 15px/1.3 var(--font-ui); color: var(--ink); }
@media (max-width: 519px) {
  .pantheon-tiers { grid-template-columns: 1fr; gap: 5px; }
  .pt-tier { grid-template-columns: 30px minmax(0, 1fr) auto; padding: 6px 10px 6px 7px; column-gap: 10px; }
  .pt-num { grid-row: auto; height: 28px; font-size: 11px; }
  .pt-name { font-size: 15.5px; }
}

.trailer-modal { max-width: 1100px; }
.trailer-inner { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: 0 40px 120px -20px #000, 0 0 0 1px var(--line-strong); }
.trailer-frame { background: #000; }
.trailer-frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.trailer-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: #0b0705; }
.trailer-foot p { margin: 0; font: 600 15px/1.3 var(--font-display); color: var(--gold-hi); }
.trailer-transcript { padding: 0 18px 14px; background: #0b0705; font-size: 14px; color: #cdbda4; }
.trailer-transcript summary { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; cursor: pointer; font: 700 12px/1 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: #e6d2b2; list-style: none; }
.trailer-transcript summary::-webkit-details-marker { display: none; }
.trailer-transcript summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .2s var(--ease); }
.trailer-transcript[open] summary::before { transform: rotate(45deg); }
.trailer-transcript summary:hover { color: var(--gold-hi); }
.trailer-transcript ol { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; max-height: 32vh; overflow-y: auto; line-height: 1.5; }
.trailer-transcript li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; }
.tt-time { font-variant-numeric: tabular-nums; color: var(--gold); font-weight: 600; }

/* =========================================================
   25. LEGAL PAGES
   ========================================================= */
.page-legal .site-header { position: sticky; }
.legal-bar-link { font: 600 14px/1 var(--font-ui); color: var(--ink-dim); text-decoration: none; display: none; }
.legal-bar-link:hover { color: var(--gold-hi); }
@media (min-width: 640px) { .legal-bar-link { display: inline-flex; align-items: center; gap: 6px; } }
.legal-hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 40px); text-align: center; overflow: hidden; isolation: isolate; }
.legal-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255, 106, 31, .16), transparent 70%); }
.legal-hero .sec-title { margin-bottom: 10px; }
.legal-hero p { color: var(--muted); margin: 0; font-size: 14px; }
.legal { max-width: 800px; padding-bottom: clamp(64px, 8vw, 110px); }
.legal-card { padding: clamp(22px, 4vw, 44px); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(26, 18, 13, .8), rgba(12, 8, 6, .9)); border: 1px solid var(--line); }
.legal h2 { font: 700 clamp(21px, 2.4vw, 26px)/1.2 var(--font-display); color: var(--gold); margin: 34px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font: 700 17px/1.3 var(--font-ui); color: #fff3dc; margin: 20px 0 8px; }
.legal p, .legal li { color: var(--ink-dim); font-size: 16px; }
.legal ul { padding-left: 22px; margin: 0 0 1em; display: grid; gap: 6px; }
.legal li::marker { color: var(--gold); }
.legal .callout { padding: 16px 18px; border-radius: 12px; border-left: 3px solid var(--ember-hi); background: rgba(255, 106, 31, .07); color: #fff1dc; margin: 0 0 1.2em; }
.legal-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.legal-toc a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 99px; text-decoration: none; font: 600 13.5px/1 var(--font-ui); color: var(--ink-dim); border: 1px solid var(--line); }
.legal-toc a[aria-current="page"] { color: var(--gold-hi); border-color: rgba(233, 184, 92, .55); background: rgba(233, 184, 92, .08); }
.help-list { list-style: none !important; padding: 0 !important; display: grid; gap: 10px; }
.help-list li { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.help-list a { font-weight: 700; }

/* =========================================================
   26. REVEALS
   ========================================================= */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal].reveal-now { transition: none; }
html.js .road-step:nth-child(even)[data-reveal] { transition-delay: .08s; }

/* =========================================================
   27. REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .shimmer { animation: none; background-position: 100% 0, 0 0; }
  .hero-img, .tldr-bg img { transform: none !important; }
  .embers { display: none; }
}
html.dock-on .bar-cta { display: none; }

/* Footer socials (owner-filled const in site.js; hidden while empty) */
.foot-social { display: flex; gap: 14px; margin: 10px 0 0; }
.foot-social a, .foot-brand p a { color: var(--gold-hi); }

/* Founders form fine print: the four required lines as a readable list (13px+, high contrast). */
.join-fine.join-terms { margin: 18px 0 0; font-size: 13px; line-height: 1.55; color: #d4c4ab; text-align: left; }
.terms-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.terms-list li { position: relative; padding-left: 18px; }
.terms-list li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 6px rgba(233, 184, 92, .45); }
.terms-list .tl-18 strong { color: #fff1dc; }
.join-terms a { color: #f0dcc0; }
.terms-privacy { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(233, 184, 92, .16); font-size: 13px; color: #c4b49b; }
#hero-fine { text-wrap: balance; }
@media (min-width: 760px) { .hero-kicker { margin-bottom: 24px; } }
