/* Dubshot — one match, top to bottom. Gold on smoke. */
:root {
  --ash: #0c0907;          /* burnt umber night, from the smoke shadows */
  --ash-2: #16110c;
  --ash-3: #221a12;
  --smoke: #ece6da;        /* warm smoke white */
  --dust: #a99d88;         /* secondary text */
  --line: rgba(236, 230, 218, 0.16);
  --mark: #ffffff;
  --gold: #e8c76a;
  --gold-hi: #fff6df;
  --gold-lo: #8c6a24;
  --ember: #ffb347;        /* the storm warning, used sparingly */
  --gold-grad: linear-gradient(180deg, #fff6df 0%, #f6dd95 28%, #e8c76a 47%, #8c6a24 53%, #c79f48 68%, #f3d98c 100%);
  --display: "Saira Extra Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --ui: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --hud-h: 64px;
  --chamfer: 10px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hud-h); }
body {
  margin: 0;
  background: var(--ash);
  color: var(--smoke);
  font: 500 1.0625rem/1.55 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 900; }
button { font: inherit; color: inherit; }

/* Film grain over everything: cinematic, very quiet. */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.055;
  mix-blend-mode: overlay;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--ash); padding: 10px 14px; font-weight: 700;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Type ---------- */
/* The DUBSHOT wordmark is bold white, like the game's title screen (owner, 1 Nov). Gold is kept for the win: "You got the dub" + the buttons. */
.mark { color: var(--mark); -webkit-text-fill-color: var(--mark); }
.gold {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.sheen {
  background-image:
    linear-gradient(100deg, transparent 38%, rgba(255, 252, 240, 0.95) 50%, transparent 62%),
    var(--gold-grad);
  background-size: 260% 100%, 100% 100%;
  background-position: var(--sx, 160%) 0, 0 0;
  background-repeat: no-repeat;
}
.h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.1rem, 8.6vw, 8.25rem);
  line-height: 0.86;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* ---------- Buttons: chamfered like in-game UI ---------- */
.btn {
  --c: var(--chamfer);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font: 700 0.95rem/1 var(--ui); letter-spacing: 0.06em;
  text-decoration: none; cursor: pointer; border: 0;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: transform 0.18s ease, filter 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; fill: currentColor; }
.btn-gold { background: var(--gold-grad); color: #1b1307; }
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(236, 230, 218, 0.08);
  color: var(--smoke);
  box-shadow: inset 0 0 0 1px rgba(236, 230, 218, 0.38);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(236, 230, 218, 0.16); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.8rem; --c: 7px; }
.btn:active { transform: translateY(1px); }

/* ---------- HUD ---------- */
.hud {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--hud-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.hud.is-scrolled {
  background: rgba(12, 9, 7, 0.72);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.hud-mark {
  justify-self: start;
  font: 900 1.6rem/1 var(--display); letter-spacing: 0.08em; text-decoration: none;
  color: var(--mark);
}
.hud-phase {
  display: flex; align-items: center; gap: 10px;
  font: 600 0.86rem/1 var(--ui); letter-spacing: 0.04em; color: var(--dust);
}
.hud-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hud-right { justify-self: end; display: flex; align-items: center; gap: 18px; }
.alive { display: flex; align-items: baseline; gap: 6px; font: 600 0.82rem/1 var(--ui); color: var(--dust); }
.alive b {
  font: 800 1.9rem/1 var(--display); color: var(--smoke);
  font-variant-numeric: tabular-nums; min-width: 1.15em; text-align: right;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}
.alive.is-hit b { color: var(--ember); text-shadow: 0 0 14px rgba(255, 179, 71, 0.7); }
.alive.is-last b { color: var(--gold); text-shadow: 0 0 18px rgba(232, 199, 106, 0.8); }

/* ---------- Shared bits ---------- */
.shade { position: absolute; inset: 0; pointer-events: none; }
.tag {
  position: absolute; right: var(--gutter); bottom: 22px; z-index: 3;
  font: 600 0.72rem/1 var(--ui); letter-spacing: 0.08em; color: rgba(236, 230, 218, 0.62);
  padding: 6px 9px; box-shadow: inset 0 0 0 1px rgba(236, 230, 218, 0.22);
  background: rgba(12, 9, 7, 0.35);
}
.tag-inline { position: static; display: inline-block; margin: 18px var(--gutter) 0; }
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.sec { position: relative; padding: clamp(96px, 14vw, 180px) 0; }
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 56px; align-items: end;
  padding: 0 var(--gutter); margin-bottom: clamp(40px, 6vw, 72px);
}
.sec-head p { max-width: 34em; color: var(--dust); font-size: 1.125rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 620px; overflow: hidden;
  display: grid; align-items: end;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.shade-hero {
  background:
    radial-gradient(120% 80% at 50% 38%, transparent 30%, rgba(12, 9, 7, 0.55) 75%, rgba(12, 9, 7, 0.92) 100%),
    linear-gradient(180deg, rgba(12, 9, 7, 0.55) 0%, transparent 22%, transparent 48%, rgba(12, 9, 7, 0.9) 88%, var(--ash) 100%);
}
.flare {
  position: absolute; left: -10%; right: -10%; top: 50%; height: 3px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 140, 0.0) 10%, rgba(255, 226, 160, 0.95) 48%, #fff 50%, rgba(255, 226, 160, 0.95) 52%, rgba(255, 214, 140, 0) 90%, transparent);
  filter: blur(1.5px);
  box-shadow: 0 0 40px 8px rgba(255, 196, 92, 0.35);
  opacity: 0; pointer-events: none;
}
.hero-copy {
  position: relative; z-index: 3;
  padding: 0 var(--gutter) clamp(84px, 12vh, 132px);
  display: grid; justify-items: center; text-align: center;
}
.title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(5.4rem, 21vw, 19rem);
  line-height: 0.8; letter-spacing: 0.035em; margin-right: -0.035em;
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.55));
}
.tagline {
  margin-top: clamp(14px, 2vw, 24px);
  font: 600 clamp(0.9rem, 1.6vw, 1.15rem)/1.2 var(--ui); letter-spacing: 0.42em; margin-right: -0.42em;
  text-transform: uppercase; color: var(--smoke);
}
.lede { margin-top: 14px; color: var(--dust); font-size: 1.05rem; }
.cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.scroll-cue {
  position: absolute; left: var(--gutter); bottom: 22px; z-index: 3;
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  font: 600 0.78rem/1 var(--ui); letter-spacing: 0.08em; color: rgba(236, 230, 218, 0.7);
}
.scroll-cue i { position: relative; width: 1px; height: 38px; background: rgba(236, 230, 218, 0.25); overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--gold); animation: cue 2.2s cubic-bezier(.6, 0, .3, 1) infinite;
}
@keyframes cue { to { top: 110%; } }

/* ---------- The drop (pinned, scrubbed) ---------- */
.drop { position: relative; background: var(--ash); }
.drop-pin { position: relative; height: 100svh; overflow: hidden; }
.drop-canvas, .drop-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop-still { display: none; }
.shade-drop {
  background:
    linear-gradient(90deg, rgba(12, 9, 7, 0.72) 0%, rgba(12, 9, 7, 0.25) 46%, transparent 70%),
    linear-gradient(180deg, var(--ash) 0%, transparent 16%, transparent 80%, var(--ash) 100%);
}
.beats { position: absolute; inset: 0; z-index: 2; }
.beat {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%);
  max-width: min(760px, 86vw); opacity: 0;
}
.beat p { margin-top: 20px; max-width: 26em; color: var(--smoke); font-size: 1.15rem; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
.beat .h2 { text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45); }
.altimeter {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 2;
  display: flex; align-items: center; gap: 14px;
}
.alt-track { position: relative; width: 4px; height: min(44vh, 360px); background: rgba(236, 230, 218, 0.18); }
.alt-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: var(--gold-grad); box-shadow: 0 0 12px rgba(232, 199, 106, 0.6); }
.alt-read { font: 600 0.9rem/1 var(--ui); color: var(--dust); }
.alt-read b { display: block; font: 800 2.6rem/1 var(--display); color: var(--smoke); font-variant-numeric: tabular-nums; min-width: 2.2em; }

/* ---------- Arsenal ---------- */
.arsenal { background: radial-gradient(90% 70% at 30% 55%, #2a1f12 0%, var(--ash) 70%); overflow: hidden; }
.armory { display: grid; gap: 22px; padding: 0 var(--gutter); }
.gun-view {
  position: relative; aspect-ratio: 21 / 9; min-height: 300px; max-height: 64vh; width: 100%;
  touch-action: pan-y; overflow: hidden;
}
.gun-view::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(46% 52% at 50% 58%, rgba(232, 199, 106, 0.18), transparent 72%);
  pointer-events: none;
}
.gun-ghost {
  position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%);
  font: 900 clamp(7rem, 23vw, 22rem)/0.8 var(--display); letter-spacing: 0.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(232, 199, 106, 0.22);
  pointer-events: none; user-select: none; transition: opacity 0.35s ease;
}
.gun-ghost.is-swapping { opacity: 0; }
.gun-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.gun-view canvas:active { cursor: grabbing; }
.gun-fallback { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; display: none; }
.gun-view.is-fallback canvas { display: none; }
.gun-view.is-fallback .gun-fallback { display: block; }
.gun-view.is-fallback .drag-hint { display: none; }
.drag-hint {
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  font: 600 0.78rem/1 var(--ui); letter-spacing: 0.08em; color: rgba(236, 230, 218, 0.55);
}
.gun-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px 64px; align-items: start; margin-top: 18px; }
.gun-numbers .stats { margin-top: 4px; }
.gun-class { font: 600 0.95rem/1 var(--ui); color: var(--gold); letter-spacing: 0.04em; }
.gun-name {
  margin-top: 10px; font: 900 clamp(2.6rem, 4.6vw, 4.2rem)/0.9 var(--display); text-transform: uppercase;
}
.gun-blurb { margin-top: 14px; color: var(--dust); max-width: 30em; min-height: 3.1em; }
.stats { margin: 26px 0 0; display: grid; gap: 14px; }
.stat { display: grid; grid-template-columns: 7.5em 1fr 5.5em; align-items: center; gap: 14px; }
.stat dt { font: 600 0.9rem/1 var(--ui); color: var(--dust); }
.stat dd { margin: 0; }
.stat .bar { position: relative; height: 6px; background: rgba(236, 230, 218, 0.12); overflow: hidden; }
.stat .bar i {
  position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold-grad);
  transition: width 0.7s cubic-bezier(.2, .8, .2, 1);
}
.stat .num { font: 700 1.05rem/1 var(--display); letter-spacing: 0.03em; text-align: right; font-variant-numeric: tabular-nums; }
.rarity { margin-top: 30px; padding-top: 22px; box-shadow: 0 -1px 0 var(--line); }
.rarity p { color: var(--dust); font-size: 0.95rem; max-width: 30em; }
.rarity-row { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rarity-row li {
  font: 700 0.8rem/1 var(--ui); letter-spacing: 0.04em; padding: 8px 10px 8px 22px; position: relative;
  background: rgba(236, 230, 218, 0.05);
}
.rarity-row li::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; transform: rotate(45deg); background: currentColor; }
.r0 { color: #c4c8c9; } .r1 { color: #63d88a; } .r2 { color: #5ca8ff; } .r3 { color: #bd7aff; } .r4 { color: #f1c75b; }
.gun-picker {
  display: flex; justify-content: center; gap: 10px; overflow-x: auto; padding: 4px 2px 10px;
  scrollbar-width: none; scroll-snap-type: x proximity;
}
.gun-picker::-webkit-scrollbar { display: none; }
.pick {
  --c: 8px;
  flex: 1 0 auto; min-width: 150px; scroll-snap-align: start;
  display: grid; gap: 6px; text-align: left; padding: 14px 16px; cursor: pointer; border: 0;
  background: rgba(236, 230, 218, 0.05); color: var(--dust);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background-color 0.2s ease, color 0.2s ease;
}
.pick b { font: 800 1.35rem/1 var(--display); color: var(--smoke); text-transform: uppercase; letter-spacing: 0.02em; }
.pick span { font: 600 0.8rem/1 var(--ui); }
.pick:hover { background: rgba(236, 230, 218, 0.1); }
.pick[aria-selected="true"] { background: rgba(232, 199, 106, 0.16); color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }

/* ---------- Fight reel ---------- */
.fight { background: var(--ash); }
.reel {
  display: grid; gap: 14px; padding: 0 var(--gutter);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
}
.clip { position: relative; margin: 0; overflow: hidden; background: var(--ash-2); }
.clip video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
/* Reticle corners: the frame is a scope, not a card. */
.clip::before, .clip::after {
  content: ""; position: absolute; width: 22px; height: 22px; z-index: 2; pointer-events: none;
  border-color: rgba(232, 199, 106, 0.85); border-style: solid; border-width: 0;
}
.clip::before { left: 12px; top: 12px; border-left-width: 2px; border-top-width: 2px; }
.clip::after { right: 12px; bottom: 12px; border-right-width: 2px; border-bottom-width: 2px; }
.clip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 48px 20px 18px; font-weight: 600; font-size: 1rem; line-height: 1.35;
  background: linear-gradient(180deg, transparent, rgba(12, 9, 7, 0.88));
}
.clip-a { grid-column: 1 / span 8; grid-row: span 2; }
.clip-a video { aspect-ratio: auto; height: 100%; min-height: 100%; }
.clip-b { grid-column: 9 / span 4; }
.clip-c { grid-column: 9 / span 4; }
.clip-d { grid-column: 3 / span 10; }
.clip-d video { aspect-ratio: 21 / 9; }

/* ---------- Storm ---------- */
.storm { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.shade-storm { background: linear-gradient(180deg, var(--ash) 0%, transparent 18%, transparent 70%, rgba(12, 9, 7, 0.75) 100%); z-index: 1; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.ring-storm { fill: rgba(150, 40, 20, 0.34); }
.ring-edge { fill: none; stroke: var(--ember); stroke-width: 3; filter: drop-shadow(0 0 8px rgba(255, 179, 71, 0.9)); vector-effect: non-scaling-stroke; }
.storm-copy {
  position: absolute; left: var(--gutter); bottom: clamp(70px, 14vh, 150px); z-index: 2; max-width: 760px;
}
.storm-copy > p:last-child { margin-top: 20px; max-width: 28em; font-size: 1.15rem; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7); }
.storm-warn {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 700 0.9rem/1 var(--ui); letter-spacing: 0.06em; color: var(--ember);
}
.storm-warn::before { content: ""; width: 9px; height: 9px; background: var(--ember); transform: rotate(45deg); animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* ---------- Arena ---------- */
.arena { background: linear-gradient(180deg, var(--ash) 0%, #0f1213 50%, var(--ash) 100%); }
.arena-grid {
  display: grid; padding: 0 var(--gutter); gap: 14px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-template-areas: "a copy" "a b";
}
.arena-a { grid-area: a; }
.arena-a video { aspect-ratio: auto; height: 100%; }
.arena-b { grid-area: b; }
.arena-copy { grid-area: copy; align-self: end; padding: 24px 0 24px clamp(0px, 3vw, 40px); }
.arena-copy p { margin-top: 20px; color: var(--dust); max-width: 26em; font-size: 1.125rem; }

/* ---------- The dub ---------- */
.dub { position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: grid; place-items: center; text-align: center; }
.dub .bg-video { filter: contrast(1.08) saturate(1.12) sepia(0.12); }
.shade-dub { background: radial-gradient(70% 60% at 50% 50%, rgba(12, 9, 7, 0.2), rgba(12, 9, 7, 0.82) 100%), linear-gradient(180deg, var(--ash) 0%, transparent 15%, transparent 85%, var(--ash) 100%); }
.dub-copy { position: relative; z-index: 2; padding: 0 var(--gutter); }
.dub-title {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(4.4rem, 15vw, 14rem); line-height: 0.8; letter-spacing: 0.01em;
  filter: drop-shadow(0 8px 40px rgba(0, 0, 0, 0.6));
}
.dub-copy p { margin: 26px auto 0; max-width: 28em; font-size: 1.2rem; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8); }

/* ---------- Trailer ---------- */
.trailer { padding-top: clamp(48px, 8vw, 96px); }
.trailer-card {
  position: relative; display: block; width: calc(100% - 2 * var(--gutter)); margin: 0 auto; padding: 0; border: 0;
  cursor: pointer; overflow: hidden; background: var(--ash-2); aspect-ratio: 21 / 9;
}
.trailer-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(.2, .8, .2, 1), filter 0.4s ease; filter: brightness(0.78); }
.trailer-card:hover img { transform: scale(1.03); filter: brightness(0.9); }
.trailer-play {
  position: absolute; left: 50%; top: 50%; width: clamp(76px, 9vw, 120px); aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(12, 9, 7, 0.35); box-shadow: inset 0 0 0 2px var(--gold), 0 0 40px rgba(232, 199, 106, 0.35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform 0.3s ease;
}
.trailer-card:hover .trailer-play { transform: translate(-50%, -50%) scale(1.06); }
.trailer-play svg { width: 34%; fill: var(--gold); margin-left: 8%; }
.trailer-label {
  position: absolute; left: clamp(18px, 3vw, 40px); bottom: clamp(16px, 3vw, 34px); text-align: left;
  font: 900 clamp(1.8rem, 4vw, 3.4rem)/0.9 var(--display); text-transform: uppercase;
}
.trailer-label small { display: block; margin-top: 8px; font: 600 0.9rem/1 var(--ui); text-transform: none; color: var(--dust); letter-spacing: 0.02em; }

.player {
  width: min(1280px, 94vw); max-width: none; padding: 0; border: 0; background: #000; color: var(--smoke);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.8);
}
.player::backdrop { background: rgba(6, 5, 4, 0.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.player video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.player-close {
  position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border: 0; cursor: pointer;
  background: transparent; display: grid; place-items: center;
}
.player-close svg { width: 20px; stroke: var(--smoke); stroke-width: 1.8; fill: none; }

/* ---------- Phone ---------- */
.phone {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 40px 56px; align-items: center;
  padding-left: var(--gutter); padding-right: var(--gutter);
  background: radial-gradient(60% 70% at 72% 50%, #2b2013 0%, var(--ash) 72%);
}
.phone-copy p { margin-top: 22px; max-width: 26em; color: var(--dust); font-size: 1.125rem; }
.plats { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 10px; }
.plats li {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px 11px 13px;
  font: 700 0.95rem/1 var(--ui); box-shadow: inset 0 0 0 1px rgba(236, 230, 218, 0.3);
}
.plats svg { width: 18px; height: 18px; fill: var(--smoke); }
.device-stage { perspective: 1400px; display: grid; place-items: center; padding: 20px 0; }
.device {
  position: relative; width: min(100%, 760px); aspect-ratio: 2.165; border-radius: 9% / 19%;
  padding: 2.1% ; background: linear-gradient(145deg, #3a3128, #0d0b09 40%, #1c1712 70%, #4a3c2a);
  box-shadow: 0 0 0 1px rgba(232, 199, 106, 0.35), 0 40px 90px rgba(0, 0, 0, 0.7), 0 0 120px rgba(232, 199, 106, 0.12);
  transform-style: preserve-3d; transform: rotateY(-16deg) rotateX(9deg) rotateZ(-2deg);
}
.device-screen { width: 100%; height: 100%; border-radius: 7.4% / 16%; overflow: hidden; background: #000; }
.device-screen img { width: 100%; height: 100%; object-fit: cover; }
.device-island {
  position: absolute; left: 3.4%; top: 50%; width: 2.2%; height: 22%; transform: translateY(-50%);
  border-radius: 99px; background: #050403;
}
.phone .tag-inline { grid-column: 1 / -1; margin: 0; justify-self: start; }

/* ---------- Waitlist ---------- */
.join { position: relative; min-height: 100svh; overflow: hidden; display: grid; align-items: center; }
.shade-join { background: linear-gradient(90deg, rgba(12, 9, 7, 0.94) 0%, rgba(12, 9, 7, 0.78) 42%, rgba(12, 9, 7, 0.15) 75%), linear-gradient(180deg, var(--ash) 0%, transparent 18%, transparent 82%, var(--ash) 100%); }
.join-panel { position: relative; z-index: 2; padding: clamp(96px, 12vw, 160px) var(--gutter); max-width: 760px; }
.join-lede { margin-top: 22px; max-width: 30em; font-size: 1.15rem; color: var(--smoke); }
#form { margin-top: 34px; }
.label { display: block; font: 600 0.9rem/1 var(--ui); color: var(--dust); margin-bottom: 10px; letter-spacing: 0.02em; }
.field {
  display: flex; gap: 0; max-width: 620px;
  box-shadow: inset 0 0 0 1px rgba(236, 230, 218, 0.4);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
  background: rgba(12, 9, 7, 0.6);
}
.field input {
  flex: 1; min-width: 0; height: 60px; padding: 0 18px; border: 0; background: transparent; color: var(--smoke);
  font: 600 1.1rem/1 var(--ui);
}
.field input::placeholder { color: rgba(236, 230, 218, 0.4); }
.field input:focus { outline: none; }
.field:focus-within { box-shadow: inset 0 0 0 2px var(--gold); }
.field .btn { min-height: 60px; clip-path: none; }
.plat { border: 0; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.plat legend { float: left; margin: 0 14px 0 0; }
.plat label { position: relative; cursor: pointer; }
.plat input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.plat span {
  display: inline-block; padding: 11px 16px; font: 700 0.9rem/1 var(--ui);
  box-shadow: inset 0 0 0 1px rgba(236, 230, 218, 0.3); color: var(--dust);
  transition: all 0.2s ease;
}
.plat input:checked + span { background: rgba(232, 199, 106, 0.16); box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); }
.plat input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 16px; min-height: 1.4em; font-weight: 600; color: var(--ember); }
.fine { margin-top: 6px; font-size: 0.88rem; color: var(--dust); max-width: 34em; }
.fine a { color: var(--smoke); }
.joined-alive { font: 600 0.95rem/1 var(--ui); color: var(--dust); margin-bottom: 18px; }
.joined-alive b { font: 800 2.4rem/1 var(--display); color: var(--gold); margin-right: 6px; }
.joined p:not(.joined-alive) { margin-top: 22px; font-size: 1.15rem; max-width: 28em; }
.joined .btn { margin-top: 28px; }
#submit[aria-busy="true"] { filter: saturate(0.4) brightness(0.85); cursor: progress; }

/* ---------- Maker + footer ---------- */
.maker {
  padding: clamp(72px, 9vw, 120px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px 56px; align-items: center;
}
.maker-shot { margin: 0; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.maker-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(1.05) contrast(1.05); }
.maker-shot::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(232, 199, 106, 0.3); pointer-events: none; }
.maker-title { font: 900 clamp(2.2rem, 4vw, 3.6rem)/0.92 var(--display); text-transform: uppercase; max-width: 12em; }
.maker p { margin: 18px 0 26px; color: var(--dust); max-width: 30em; }
.foot { padding: 56px var(--gutter) calc(48px + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 var(--line); display: grid; gap: 18px; }
.foot-mark { font: 900 clamp(3rem, 9vw, 7rem)/0.8 var(--display); letter-spacing: 0.06em; color: var(--mark); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 26px; font-weight: 600; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--gold); }
.foot-fine { font-size: 0.85rem; color: var(--dust); max-width: 60em; }
.foot-fine a { color: var(--dust); }

/* ---------- Phone ---------- */
@media (max-width: 900px) {
  :root { --hud-h: 58px; }
  .hud { grid-template-columns: auto 1fr; }
  .hud-phase { display: none; }
  .hud-right { gap: 12px; }
  .hud-mark { font-size: 1.35rem; }
  .alive b { font-size: 1.6rem; }
  .sec-head { grid-template-columns: 1fr; }
  .gun-view { aspect-ratio: 16 / 10; min-height: 0; }
  .gun-card { grid-template-columns: 1fr; gap: 24px; }
  .gun-picker { justify-content: flex-start; }
  .gun-ghost { font-size: 26vw; -webkit-text-stroke-width: 1px; }
  .pick { min-width: 132px; }
  .stat { grid-template-columns: 6.5em 1fr 4.8em; }
  .reel { grid-template-columns: 1fr; }
  .clip-a, .clip-b, .clip-c, .clip-d { grid-column: auto; grid-row: auto; }
  .clip-a video, .clip-d video { aspect-ratio: 16 / 9; height: auto; }
  .arena-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "a" "b"; }
  .arena-a video { aspect-ratio: 16 / 9; height: auto; }
  .arena-copy { padding: 0 0 18px; }
  .trailer-card { aspect-ratio: 16 / 10; }
  .shade-join { background: linear-gradient(180deg, var(--ash) 0%, rgba(12, 9, 7, 0.55) 30%, rgba(12, 9, 7, 0.92) 70%, var(--ash) 100%); }
  .maker { grid-template-columns: 1fr; }
  .phone { grid-template-columns: 1fr; }
  .device { transform: rotateY(-10deg) rotateX(6deg); }
  .altimeter { right: 14px; }
  .alt-read b { font-size: 1.8rem; }
  .beat { top: auto; bottom: 16vh; transform: none; }
}
@media (max-width: 520px) {
  .hud .btn-sm { padding: 0 12px; font-size: 0.74rem; }
  .alive span { display: none; }
  .tagline { letter-spacing: 0.26em; margin-right: -0.26em; }
  .title { font-size: 25vw; }
  .cta-row { flex-direction: column; width: 100%; max-width: 340px; }
  .field { flex-direction: column; clip-path: none; box-shadow: none; background: transparent; gap: 10px; }
  .field input { box-shadow: inset 0 0 0 1px rgba(236, 230, 218, 0.4); background: rgba(12, 9, 7, 0.6); }
  .field input:focus { box-shadow: inset 0 0 0 2px var(--gold); }
  .field .btn { clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer)); }
  .scroll-cue span { display: none; }
}

/* ---------- Animated page (html.motion, set by boot.js): hide what the entrance reveals ---------- */
.motion #title, .motion #tagline, .motion #lede, .motion #heroCta { opacity: 0; animation: failsafe 0.4s 4s forwards; }
/* If the scripts never arrive, the hero still shows itself after 4 s. */
@keyframes failsafe { to { opacity: 1; } }

/* ---------- Static page: no pins, no scrubs (reduced motion, or the animation library failed) ---------- */
html:not(.motion) .drop-canvas { display: none; }
html:not(.motion) .drop-pin { height: auto; min-height: 100svh; overflow: clip; }
html:not(.motion) .drop-still { display: block; position: sticky; top: 0; height: 100svh; margin-bottom: -100svh; }
html:not(.motion) .beats { position: relative; display: grid; gap: 0; padding: 0; }
html:not(.motion) .beat { min-height: 90svh; display: flex; flex-direction: column; justify-content: center; }
html:not(.motion) .beat { position: relative; left: auto; top: auto; bottom: auto; transform: none; opacity: 1; max-width: none; padding: 0 var(--gutter); }
html:not(.motion) .altimeter { display: none; }

@media (prefers-reduced-motion: reduce) {
  .scroll-cue i::after, .storm-warn::before { animation: none; }
  .hero-video { display: none; }
  .hero { background: url("/media/hero.jpg") center / cover no-repeat; }
  * { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Privacy + 404 ---------- */
.doc-main { max-width: 720px; margin: 0 auto; padding: calc(var(--hud-h) + 72px) var(--gutter) 96px; }
.doc-main h2 { margin: 44px 0 12px; font: 800 1.7rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; color: var(--gold); }
.doc-main p, .doc-main li { color: var(--smoke); max-width: 36em; }
.doc-main p + p { margin-top: 14px; }
.doc-main ul { padding-left: 1.2em; display: grid; gap: 6px; }
.doc-main a { color: var(--gold); }
.doc-lede { margin-top: 22px; font-size: 1.2rem; }
.doc-date { margin-top: 40px; color: var(--dust) !important; font-size: 0.9rem; }
.lost { min-height: 100svh; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 45%, #2a1a10, var(--ash) 70%); }
.lost-main { padding: 48px var(--gutter); text-align: center; display: grid; justify-items: center; }
.lost-lede { margin: 22px 0 32px; color: var(--dust); font-size: 1.15rem; max-width: 28em; }
