/* Zombies In Europe (/z): "Bunker Broadcast".
   Underground European Emergency Command Broadcast Terminal: riveted obsidian-slate & gunmetal
   chassis, recessed CRT wells, glowing phosphor-amber & bio-emerald telemetry, signal-crimson
   alerts and gore, zero manila paper, zero parchment, zero yellow hazard tape. Mobile first. */

@font-face {
  font-family: 'Dossier Display';
  src: url('../../assets/fonts/dossier-display.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'Dossier Small';
  src: url('../../assets/fonts/dossier-small.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../../assets/fonts/lato-regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../../assets/fonts/lato-bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #161220;
  --ink: #1a1424;
  --gray1: #2b2538;
  --gray2: #3d364b;
  --gray3: #524b60;
  --zinc0: #26304a;
  --zinc1: #3a4a68;
  --zinc2: #586c8a;
  --zinc3: #8296ae;
  --zinc4: #b6c6d2;
  --navy0: #151b38;
  --ochre1: #b98132;
  --ochre2: #dca848;
  --ochre3: #f3d46e;
  --ochre4: #fff3ad;
  --green0: #13292e;
  --green1: #1c4a35;
  --ichor0: #1f6a24;
  --ichor1: #4fc22a;
  --ichor2: #a8ff3e;
  --earth0: #2d1a24;
  --rust0: #561e32;
  --crim1: #a1203c;
  --crim2: #e03c44;
  --crim3: #ff6660;
  --plum0: #3a1d4a;
  --plum1: #682c78;
  --purple: #9a52c4;
  --lilac: #c890ea;
  --stone5: #f3e8c8;
  --white: #f7f1e6;

  /* One art pixel of the game's UI art, in CSS px. */
  --u: 2px;
  --bar: 58px;
  --gutter: 16px;
  --wrap: 1160px;
  --sec: 64px;
  --sec-tight: 32px;
  /* Dossier Small labels: 1x on narrow screens (2-3x DPR keeps them crisp), 2x from 1024px. */
  --label: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pop: cubic-bezier(0.22, 1.35, 0.36, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --steel: var(--bg) url('../assets/ui/steel-tile.png') 0 0 / 320px 192px;
  --steel-dark: var(--ink) url('../assets/ui/steel-tile-dark.png') 0 0 / 320px 192px;
  --rail: url('../assets/ui/telemetry-rail.png') 0 0 / 64px 8px repeat-x;
  --shadow-lift: 0 18px 40px rgba(8, 6, 16, 0.56);
  --shadow-card: 0 14px 30px rgba(8, 6, 16, 0.48);
}
@media (min-width: 700px) {
  :root {
    --gutter: 24px;
    --sec: 88px;
    --sec-tight: 44px;
  }
}
@media (min-width: 1024px) {
  :root {
    --label: 20px;
  }
}
@media (min-width: 1600px) {
  :root {
    --wrap: 1320px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + var(--safe-t) + 12px);
  background: var(--bg);
  scrollbar-color: var(--zinc2) var(--ink);
  scrollbar-width: thin;
  accent-color: var(--ochre3);
}
html.is-locked {
  overflow: hidden;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--ink);
}
::-webkit-scrollbar-thumb {
  background: var(--zinc1);
  border: 2px solid var(--ink);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ochre2);
}
::selection {
  background: var(--ochre3);
  color: var(--ink);
}
body {
  margin: 0;
  background: var(--steel);
  color: var(--white);
  caret-color: var(--ochre3);
  font:
    400 17px/1.6 Lato,
    system-ui,
    sans-serif;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
img,
video,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ochre3);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
a:hover {
  color: var(--ochre4);
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
p {
  text-wrap: pretty;
}
h1,
h2,
h3 {
  overflow-wrap: break-word;
  text-wrap: balance;
}
:focus-visible {
  outline: 3px solid var(--ochre3);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: 8px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ochre3);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 8px;
}
.pix,
.spr,
.ui,
.pixbtn,
.street canvas {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.hero__art img,
.shot img,
.postcard__map,
.trailer__poster img,
video,
.lightbox img {
  image-rendering: auto;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
html.touch .only-mouse,
html.mouse .only-touch {
  display: none;
}

/* ------------------------------------------------------------------ game UI art */
.ui {
  display: inline-block;
  width: var(--uw, auto);
  height: var(--uh, auto);
  background-repeat: no-repeat;
  vertical-align: middle;
}
img.ui {
  max-width: none;
}
.pixbtn {
  --f: 0;
  display: inline-block;
  flex: none;
  width: var(--uw);
  height: var(--uh);
  padding: 0;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: calc(var(--f) * var(--uw) * -1) 0;
  touch-action: manipulation;
  filter: drop-shadow(0 8px 18px rgba(8, 6, 16, 0.55));
}
.pixbtn:hover {
  --f: 1;
}
.pixbtn:active {
  --f: 2;
}
.pixbtn:disabled {
  --f: 3;
  cursor: default;
}
.pixbtn:focus-visible {
  outline-offset: 4px;
}

/* ------------------------------------------------------------------ type */
/* Dossier Display: one font pixel = 1/16 em, strict multiples of 16px (32/48/64). */
.h-pixel {
  --fp: 0.0625em;
  font:
    400 32px/1.15 'Dossier Display',
    Lato,
    sans-serif;
  color: var(--white);
  text-transform: uppercase;
  text-shadow:
    0 var(--fp) 0 var(--ink),
    var(--fp) 0 0 var(--ink),
    calc(var(--fp) * -1) 0 0 var(--ink),
    0 calc(var(--fp) * -1) 0 var(--ink),
    0 calc(var(--fp) * 2) 0 var(--ink);
}
.h-small {
  font:
    400 20px/1.25 'Dossier Small',
    Lato,
    sans-serif;
  text-transform: uppercase;
  color: var(--ochre3);
  letter-spacing: 0.1em;
}
.lede {
  margin-top: 14px;
  max-width: 65ch;
  color: var(--zinc4);
  font-size: 18px;
  line-height: 1.58;
}
@media (min-width: 700px) {
  .h-pixel {
    font-size: 48px;
  }
}
@media (min-width: 1100px) {
  .h-pixel {
    font-size: 64px;
  }
}
@media (min-width: 1600px) {
  .lede {
    font-size: 19px;
  }
}

.iconbtn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--zinc1);
  background: var(--gray1);
  color: var(--white);
  transition:
    border-color 0.18s var(--ease),
    color 0.18s var(--ease),
    background 0.18s var(--ease);
}
.iconbtn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  shape-rendering: crispEdges;
}
.iconbtn:hover {
  color: var(--ochre3);
  border-color: var(--ochre2);
  background: var(--gray2);
}
.iconbtn:disabled {
  opacity: 0.35;
  cursor: default;
}

.social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.social a {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  transition: transform 0.16s var(--ease);
}
.social a:hover {
  transform: translateY(-2px);
}
.social--bar {
  gap: 2px;
}
.social--bar a {
  min-width: 40px;
  min-height: 40px;
}
@media (max-width: 419px) {
  .social--bar a {
    min-width: 34px;
  }
}
@media (max-width: 359px) {
  .topbar .js-share {
    display: none;
  }
  .social--bar a {
    min-width: 30px;
  }
}
.social--hero {
  gap: 6px;
}
.social--hero a {
  min-width: 56px;
  min-height: 56px;
}

/* ------------------------------------------------------------------ top bar */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  height: calc(var(--bar) + var(--safe-t));
  padding: var(--safe-t) max(var(--gutter), env(safe-area-inset-right)) 0
    max(var(--gutter), env(safe-area-inset-left));
}
.topbar::before,
.topbar::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--steel-dark);
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}
.topbar::after {
  inset: auto 0 -6px;
  height: 6px;
  background: var(--rail);
  background-size: 48px 6px;
}
.topbar.is-solid::before,
.topbar.is-solid::after {
  opacity: 1;
}
.topbar .iconbtn {
  border-color: transparent;
  background: transparent;
}
.topbar .iconbtn:hover {
  border-color: var(--zinc1);
  background: var(--gray1);
}
.topbar__logo {
  margin-right: auto;
  text-decoration: none;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.28s var(--ease),
    transform 0.28s var(--ease);
}
.topbar.is-solid .topbar__logo {
  opacity: 1;
  transform: none;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font:
    400 16px/1 'Dossier Display',
    Lato,
    sans-serif;
  text-transform: uppercase;
  color: var(--white);
}
.wordmark i {
  font-style: normal;
  color: var(--ochre4);
  text-shadow:
    1px 0 0 var(--ink),
    -1px 0 0 var(--ink),
    0 2px 0 var(--crim1),
    0 3px 0 var(--ink);
}
.wordmark b {
  font-weight: 400;
  padding: 4px 8px 3px;
  background: var(--crim1);
  color: var(--ochre4);
  border: 1px solid var(--crim2);
  text-shadow: 0 1px 0 var(--ink);
}
@media (max-width: 519px) {
  .wordmark b {
    display: none;
  }
}
@media (min-width: 820px) {
  .wordmark {
    font-size: 32px;
  }
  .wordmark b {
    font-size: 16px;
    padding: 5px 10px 4px;
  }
}
.topbar__nav {
  display: none;
}
.topbar__nav a {
  padding: 8px 10px;
  color: var(--zinc4);
  text-decoration: none;
  font:
    400 10px/1 'Dossier Small',
    Lato,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}
.topbar__nav a:hover {
  color: var(--ochre4);
}
.topbar__nav a[aria-current] {
  color: var(--ochre3);
  box-shadow: inset 0 -3px 0 var(--crim2);
}
@media (min-width: 1024px) {
  .topbar__nav {
    display: flex;
    gap: 2px;
  }
  .topbar__nav a {
    font-size: 10px;
    padding: 8px 7px;
  }
}
@media (min-width: 1560px) {
  .topbar__nav {
    gap: 4px;
  }
  .topbar__nav a {
    font-size: 20px;
    padding: 8px 10px;
  }
}
.topbar__store {
  display: none;
}
@media (min-width: 640px) {
  .topbar__store {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 11px 0 8px;
    background: var(--ochre3);
    color: var(--ink);
    border: 2px solid var(--ink);
    text-decoration: none;
    white-space: nowrap;
    font:
      400 10px/1 'Dossier Small',
      Lato,
      sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow:
      inset 0 -3px 0 var(--ochre1),
      0 2px 0 var(--ink);
    transition:
      transform 0.14s var(--ease),
      filter 0.18s;
  }
  .topbar__store:hover {
    color: var(--ink);
    filter: brightness(1.08);
    transform: translateY(-1px);
  }
  .topbar__store:active {
    transform: translateY(1px);
  }
  .topbar__store img {
    flex: none;
  }
}

/* ------------------------------------------------------------------ hero */
.hero {
  --p: 0;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--bar) + var(--safe-t) + 28px) var(--gutter) 120px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}
.hero__art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
  transform: translateY(calc(var(--p) * 16%)) scale(calc(1.02 + var(--p) * 0.08));
  filter: brightness(calc(0.84 - var(--p) * 0.36));
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(22, 18, 32, 0.72), transparent 22%, transparent 64%, var(--bg) 100%),
    radial-gradient(95% 75% at 50% 44%, rgba(22, 18, 32, 0.72), rgba(22, 18, 32, 0.28) 72%);
}
@media (min-width: 960px) {
  .hero__shade {
    background:
      linear-gradient(to bottom, rgba(22, 18, 32, 0.6), transparent 20%, transparent 72%, var(--bg) 100%),
      linear-gradient(to left, rgba(22, 18, 32, 0.95) 0%, rgba(22, 18, 32, 0.84) 40%, rgba(22, 18, 32, 0.25) 64%, transparent 78%);
  }
}
.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  text-align: center;
  transform: translateY(calc(var(--p) * -12%));
  opacity: calc(1 - var(--p) * 1.35);
}
.hero__logo {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 580px;
}
.hero__logo .pix {
  filter: drop-shadow(0 16px 32px rgba(8, 6, 16, 0.78));
}
.hero__stamp {
  position: relative;
  margin: -8px 0 0;
  transform: rotate(-4deg);
  filter: drop-shadow(0 10px 22px rgba(8, 6, 16, 0.72));
}
.hero__sub {
  margin-top: 16px;
  font:
    400 20px/1.25 'Dossier Small',
    Lato,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ochre3);
  text-shadow: 0 2px 6px rgba(10, 8, 18, 0.8);
}
.hero__tag {
  margin-top: 8px;
  max-width: 34ch;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(10, 8, 18, 0.85);
}
.disclaimer {
  margin-top: 16px;
  font-size: 14px;
  color: var(--zinc4);
}
@media (min-width: 960px) {
  .hero__content {
    align-items: flex-start;
    width: min(580px, 46vw);
    margin: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 0 auto;
    text-align: left;
  }
  .hero__logo {
    justify-content: flex-start;
  }
  .hero__stamp {
    align-self: flex-end;
    margin: -24px -8px 4px 0;
    transform: rotate(-6deg);
  }
  .hero__tag {
    font-size: 22px;
  }
}
@media (min-width: 1400px) {
  .hero__sub {
    font-size: 30px;
  }
  .hero__tag {
    font-size: 24px;
  }
}

/* Platforms: 3 Bunker Broadcast hardware plates (iPhone & iPad, Mac, Android). */
.platforms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
  max-width: 540px;
  margin-top: 18px;
}
.platforms li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 8px;
  border-style: solid;
  border-width: calc(var(--u) * 6) calc(var(--u) * 6) calc(var(--u) * 7) calc(var(--u) * 6);
  border-image: url('../assets/ui/panel-leather.png') 28 28 32 28 fill stretch;
  color: var(--white);
  filter: drop-shadow(0 10px 22px rgba(8, 6, 16, 0.5));
}
.platforms__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
}
.platforms__state {
  font:
    400 13px/1.25 Lato,
    system-ui,
    sans-serif;
  color: var(--zinc4);
}
.platforms__soon {
  color: var(--ochre3);
  font-weight: 700;
}
.platforms__soon::before,
.platforms__live::before {
  content: '· ';
}
.platforms__live {
  color: var(--ichor2);
  font-weight: 700;
}
.platforms li.is-live {
  padding: 0;
  transition: transform 0.16s var(--ease);
}
.platforms li.is-live a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 0 8px;
  color: inherit;
  text-decoration: none;
}
.platforms li.is-live:hover,
.platforms li.is-live:focus-within {
  transform: translateY(-2px);
  border-image-source: url('../assets/ui/panel-brass.png');
  border-image-slice: 24 24 28 24 fill;
}
.platforms li.is-live:hover .platforms__live {
  text-decoration: underline;
}
/* Visitor's active platform: anodized gunmetal & phosphor-amber command plaque. */
.platforms li.is-you {
  border-image-source: url('../assets/ui/panel-brass.png');
  border-image-slice: 24 24 28 24 fill;
  border-width: calc(var(--u) * 5) calc(var(--u) * 6) calc(var(--u) * 6) calc(var(--u) * 6);
  padding: 2px 8px;
}
.platforms li.is-live.is-you {
  padding: 0;
}
.platforms li.is-live.is-you a {
  padding: 2px 8px;
}
.platforms li.is-you .platforms__name {
  color: var(--ochre4);
}
.platforms li.is-you .platforms__state {
  color: var(--white);
}
.platforms li.is-you .platforms__soon,
.platforms li.is-you .platforms__live {
  color: var(--ichor2);
}
.platforms__hint {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ochre3);
}
@media (min-width: 520px) {
  .platforms {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 580px;
    margin-top: 22px;
  }
  .platforms li {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 4px 8px;
    border-width: calc(var(--u) * 7) calc(var(--u) * 7) calc(var(--u) * 8) calc(var(--u) * 7);
    text-align: center;
  }
  .platforms li.is-live {
    padding: 0;
  }
  .platforms li.is-live a {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 4px 8px;
  }
  .platforms li.is-you {
    border-width: calc(var(--u) * 6) calc(var(--u) * 6) calc(var(--u) * 7) calc(var(--u) * 6);
    padding: 6px 10px;
  }
  .platforms li.is-live.is-you {
    padding: 0;
  }
  .platforms li.is-live.is-you a {
    padding: 6px 10px;
  }
}
@media (min-width: 1024px) {
  .platforms {
    gap: 12px;
  }
  .platforms__soon,
  .platforms__live {
    display: block;
    margin-top: 2px;
  }
  .platforms__soon::before,
  .platforms__live::before {
    content: none;
  }
}
.zbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 20px 0 14px;
  border: 2px solid var(--ink);
  text-decoration: none;
  font:
    400 20px/1 'Dossier Small',
    Lato,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  touch-action: manipulation;
  transition:
    transform 0.14s var(--ease),
    filter 0.18s;
}
.zbtn--store {
  background: var(--ochre3);
  color: var(--ink);
  box-shadow:
    inset 0 -4px 0 var(--ochre1),
    inset 0 3px 0 var(--ochre4),
    0 8px 18px rgba(8, 6, 16, 0.55);
}
.zbtn--store:hover {
  color: var(--ink);
  filter: brightness(1.07);
  transform: translateY(-2px);
}
.zbtn--store:active {
  transform: translateY(2px);
  box-shadow: inset 0 -2px 0 var(--ochre1);
}
.zbtn--store img {
  flex: none;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 16px;
  margin-top: 24px;
}
@media (min-width: 960px) {
  .hero__ctas {
    justify-content: flex-start;
  }
}

/* Emergency Broadcast Crawl Bar (replaces crooked yellow quarantine tape). */
.ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: stretch;
  background: var(--ink);
  border-top: 2px solid var(--ochre2);
  border-bottom: 2px solid var(--zinc1);
  box-shadow: 0 -10px 28px rgba(8, 6, 16, 0.65);
}
.ticker__badge {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--crim1);
  color: var(--white);
  border-right: 2px solid var(--ink);
  font:
    700 12px/1 Lato,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.ticker__badge i {
  width: 8px;
  height: 8px;
  background: var(--ochre4);
  animation: blink 1s steps(2) infinite;
}
.ticker__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: crawl 85s linear infinite;
}
.ticker__row {
  display: flex;
  align-items: center;
  padding: 10px 0;
  white-space: nowrap;
  font:
    700 13px/1 Lato,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ochre3);
}
.ticker__row span {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
}
.ticker__row span::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--crim2);
}
@media (min-width: 1024px) {
  .ticker__badge {
    padding: 12px 18px;
    font:
      400 20px/1 'Dossier Small',
      Lato,
      sans-serif;
  }
  .ticker__row {
    padding: 12px 0;
    font:
      400 20px/1 'Dossier Small',
      Lato,
      sans-serif;
    letter-spacing: 0.1em;
  }
}
@keyframes crawl {
  to {
    transform: translateX(-50%);
  }
}
@keyframes blink {
  50% {
    opacity: 0.15;
  }
}

/* ------------------------------------------------------------------ street toy */
.street {
  padding: var(--sec) 0 0;
}
.street__frame {
  margin-top: 28px;
}
.street__stage {
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  background: var(--gray1);
  border: 3px solid var(--zinc1);
  outline: 2px solid var(--ink);
  box-shadow: var(--shadow-lift);
}
.street canvas {
  cursor: crosshair;
}
.street__hud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 12px var(--gutter);
  background: var(--navy0);
  border-bottom: 2px solid var(--ochre2);
  position: relative;
  z-index: 1;
  font:
    400 20px/1 'Dossier Small',
    Lato,
    sans-serif;
  color: var(--zinc4);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.hud__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hud__item b {
  font-weight: 400;
  color: var(--ochre4);
}
.hud__item--hate b {
  color: var(--crim3);
}
.hud__icon {
  --uw: 26px;
  --uh: 26px;
}
.hud__integrity {
  margin-left: auto;
}
.hud__bar {
  display: block;
  width: 108px;
  height: 14px;
  padding: 2px;
  background: var(--ink);
  border: 1px solid var(--zinc2);
}
.hud__bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--ichor1);
  box-shadow: inset 0 -2px 0 var(--ichor0);
  transition: width 0.25s steps(5), background 0.2s;
}
.hud__bar i[data-state='warn'] {
  background: var(--ochre2);
  box-shadow: inset 0 -2px 0 var(--ochre1);
}
.hud__bar i[data-state='crit'] {
  background: var(--crim2);
  box-shadow: inset 0 -2px 0 var(--crim1);
}
.street__over {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 12px var(--gutter);
  background: rgba(22, 18, 32, 0.86);
}
.street__over[hidden] {
  display: none;
}
.street__card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  padding: 16px 22px;
  background: var(--gray1);
  border: 2px solid var(--crim2);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-lift);
}
.street__card-body {
  display: grid;
  justify-items: center;
  gap: 6px;
}
.street__morph {
  padding: 4px;
  background: var(--navy0);
  border: 2px solid var(--crim1);
}
.street__stamp {
  position: absolute;
  top: -20px;
  right: -24px;
  rotate: 6deg;
}
.street__over-title {
  font:
    400 20px/1 'Dossier Small',
    Lato,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--crim3);
}
.street__over-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  font-size: 15px;
  color: var(--zinc4);
  font-variant-numeric: tabular-nums;
}
.street__over-stats b {
  color: var(--white);
}
.street__over-best {
  color: var(--ichor2);
  font-weight: 700;
}
.street__over-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
@media (max-width: 600px) {
  .street__card {
    padding: 12px 14px;
    gap: 8px;
  }
  .street__stamp,
  .street__morph {
    display: none;
  }
}
.street__toast {
  position: absolute;
  left: 50%;
  top: 58%;
  translate: -50% -50%;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--ochre4);
  border: 2px solid var(--ochre2);
  font:
    700 13px/1.2 Lato,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  max-width: calc(100% - 24px);
  pointer-events: none;
  box-shadow: var(--shadow-card);
}
@media (min-width: 700px) {
  .street__toast {
    font:
      400 20px/1.1 'Dossier Small',
      Lato,
      sans-serif;
    white-space: nowrap;
  }
}
@media (max-width: 560px) {
  .street__hud {
    font: 700 13px/1 Lato, system-ui, sans-serif;
    letter-spacing: 0.03em;
    gap: 8px 12px;
  }
  .hud__icon {
    --uw: 14px;
    --uh: 14px;
  }
  .hud__bar {
    width: 68px;
  }
}

/* ------------------------------------------------------------------ trailer */
.trailer {
  padding: var(--sec) 0 0;
}
.trailer__poster {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 8px;
  border: 2px solid var(--zinc2);
  background: var(--gray1);
  box-shadow: var(--shadow-lift);
  transition: border-color 0.24s var(--ease);
}
.trailer__poster::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--rail);
  background-size: 48px 6px;
}
.trailer__poster:hover {
  border-color: var(--ochre3);
}
.trailer__poster img {
  width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  filter: brightness(0.86);
  transition: filter 0.3s var(--ease);
}
.trailer__poster:hover img {
  filter: brightness(1);
}
.trailer__play {
  --f: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  background-position: calc(var(--f) * var(--uw) * -1) 0;
  filter: drop-shadow(0 12px 24px rgba(8, 6, 16, 0.72));
}
.trailer__poster:hover .trailer__play {
  --f: 1;
}
.trailer__poster:active .trailer__play {
  --f: 2;
}
.trailer__len {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 5px 8px;
  background: var(--ink);
  border: 1px solid var(--zinc2);
  font:
    700 13px/1 Lato,
    system-ui,
    sans-serif;
  font-variant-numeric: tabular-nums;
  color: var(--ochre4);
}

/* ------------------------------------------------------------------ story */
.story {
  padding: var(--sec) 0 0;
}
.story__grid {
  position: relative;
  max-width: var(--wrap);
  margin: 28px auto 0;
  padding: 0 var(--gutter);
}
.story__screen {
  position: sticky;
  top: calc(var(--bar) + var(--safe-t));
  z-index: 2;
  margin: 0 calc(var(--gutter) * -1);
  padding: 12px var(--gutter) 20px;
  background: linear-gradient(rgba(22, 18, 32, 0.96) 85%, transparent);
}
.screen {
  position: relative;
  aspect-ratio: 1280 / 590;
  background: var(--navy0);
  border: 3px solid var(--zinc2);
  outline: 2px solid var(--ink);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.screen__vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s var(--ease);
}
.screen__vid.is-on {
  opacity: 1;
}
.screen__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(21, 27, 56, 0.16) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.screen__rec {
  position: absolute;
  left: 12px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  background: rgba(22, 18, 32, 0.88);
  border: 1px solid var(--zinc2);
  font:
    700 12px/1 Lato,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ochre4);
}
.screen__rec i {
  width: 7px;
  height: 7px;
  background: var(--crim2);
  animation: blink 1s steps(2) infinite;
}
.story__steps {
  position: relative;
  padding: 10px 0 8vh;
}
.step {
  min-height: 44vh;
  min-height: 44svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 0;
}
/* Bunker Broadcast tactical sub-display card (panel-paper = dark steel + left navy/amber rail). */
.memo {
  position: relative;
  max-width: 36em;
  padding: 18px 20px 20px 16px;
  border-style: solid;
  border-width: calc(var(--u) * 4) calc(var(--u) * 4) calc(var(--u) * 5) calc(var(--u) * 10);
  border-image: url('../assets/ui/panel-paper.png') 16 16 20 40 fill stretch;
  color: var(--white);
  filter: drop-shadow(0 14px 28px rgba(8, 6, 16, 0.5));
  opacity: 0.72;
  transition: opacity 0.35s var(--ease);
}
.step.is-on .memo {
  opacity: 1;
}
.step__title {
  font:
    400 32px/1.1 'Dossier Display',
    Lato,
    sans-serif;
  text-transform: uppercase;
  color: var(--ochre4);
}
.memo p {
  margin-top: 10px;
  color: var(--zinc4);
}
.meters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.meter {
  flex: 1 1 150px;
  padding: 10px 12px;
  background: var(--navy0);
  border: 2px solid var(--zinc1);
}
.meter span {
  display: flex;
  align-items: center;
  gap: 6px;
  font:
    700 12px/1 Lato,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--zinc4);
}
.meter b {
  display: block;
  margin-top: 8px;
  font:
    400 32px/1 'Dossier Display',
    Lato,
    sans-serif;
  color: var(--ochre3);
  font-variant-numeric: tabular-nums;
}
.meter:first-child b {
  color: var(--crim3);
}
.meter__bar {
  display: block;
  margin-top: 8px;
  background-position: calc(var(--uw) * -4) 0;
  max-width: 100%;
}

/* Live Minister-to-Zombie Defeat Broadcast Monitor inside Story Step 4 */
.morph-feed {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--navy0);
  border: 2px solid var(--crim1);
}
.morph-feed__crt {
  position: relative;
  flex: none;
  padding: 4px;
  background: var(--ink);
  border: 2px solid var(--crim2);
  overflow: hidden;
}
.morph-feed__crt::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(21, 27, 56, 0.25) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.morph-feed__meta {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.morph-feed__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font:
    700 12px/1 Lato,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--crim3);
}
.morph-feed__status i {
  width: 7px;
  height: 7px;
  background: var(--crim2);
  animation: blink 1s steps(2) infinite;
}
.morph-feed__meta p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--stone5);
}

@media (min-width: 960px) {
  .story__grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 56px;
  }
  .story__screen {
    order: 2;
    top: calc(50vh - 14vw + var(--bar) / 2);
    align-self: start;
    margin: 0;
    padding: 0;
    background: none;
  }
  .story__steps {
    padding: 2vh 0 6vh;
  }
  .step {
    min-height: 54vh;
  }
}
@media (min-width: 1100px) {
  .step__title {
    font-size: 48px;
  }
  .memo p {
    font-size: 17px;
  }
}

/* ------------------------------------------------------------------ carousels */
.carousel {
  position: relative;
  margin-top: 14px;
}
.carousel__track {
  --card: min(82vw, 336px);
  display: flex;
  gap: 20px;
  padding: 36px calc(50% - var(--card) / 2) 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline-offset: -4px;
}
.carousel__track::-webkit-scrollbar {
  display: none;
}
.carousel__track > li {
  flex: none;
  width: var(--card);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transition:
    transform 0.4s var(--ease),
    opacity 0.4s var(--ease);
}
html.js .carousel__track > li:not(.is-active) {
  transform: scale(0.95);
  opacity: 0.76;
}
@media (min-width: 1024px) {
  .carousel__track {
    --edge: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
    gap: 26px;
    padding-inline: var(--edge);
    scroll-padding-inline: var(--edge);
  }
  .carousel__track > li {
    scroll-snap-align: start;
  }
  html.js .carousel__track > li:not(.is-active) {
    transform: none;
    opacity: 1;
  }
}
@media (hover: hover) {
  .carousel__track {
    cursor: grab;
  }
  .carousel__track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
  }
}
.carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.carousel__dots {
  display: flex;
  gap: 6px;
}
.carousel__dots i {
  width: 8px;
  height: 8px;
  background: var(--zinc1);
  border: 1px solid var(--ink);
  transition:
    background 0.2s var(--ease),
    width 0.2s var(--ease);
}
.carousel__dots i.is-on {
  width: 22px;
  background: var(--ochre3);
}

/* ------------------------------------------------------------------ units: tactical terminals */
.units {
  padding: var(--sec) 0 var(--sec-tight);
}
@media (min-width: 1024px) {
  .units__track {
    --card: 344px;
  }
}
.dossier {
  position: relative;
  padding: 12px 12px 14px;
  border-style: solid;
  border-width: calc(var(--u) * 5) calc(var(--u) * 6) calc(var(--u) * 7) calc(var(--u) * 5);
  border-image: url('../assets/ui/panel-manila.png') 20 24 28 20 fill stretch;
  color: var(--white);
  filter: drop-shadow(0 14px 26px rgba(8, 6, 16, 0.5));
  cursor: pointer;
}
.dossier__tab {
  position: absolute;
  top: -32px;
  left: 10px;
  padding: 5px 10px 4px;
  border-style: solid;
  border-width: calc(var(--u) * 3) calc(var(--u) * 4) 0 calc(var(--u) * 4);
  border-image: url('../assets/ui/folder-tab.png') 12 16 0 16 fill stretch;
  font:
    700 12px/1 Lato,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  color: var(--ochre4);
  letter-spacing: 0.1em;
}
.dossier__art {
  position: relative;
  display: grid;
  place-items: end center;
  height: 184px;
  padding-bottom: 18px;
  background:
    url('../assets/ui/barbed-wire.png') 0 12px / 96px 18px repeat-x,
    linear-gradient(to bottom, transparent 74%, rgba(22, 18, 32, 0.5) 74%),
    linear-gradient(var(--navy0), var(--ink));
  border: 2px solid var(--zinc1);
  overflow: hidden;
}
.dossier__art::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 90px;
  height: 10px;
  translate: -50% 0;
  background: rgba(10, 8, 18, 0.55);
  clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
}
.dossier__art > .spr,
.dossier__art > .spr-slot {
  position: relative;
  z-index: 1;
}
.dossier__name {
  margin-top: 14px;
  font:
    400 32px/1 'Dossier Display',
    Lato,
    sans-serif;
  text-transform: uppercase;
  color: var(--white);
}
.dossier__role {
  margin-top: 8px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ochre3);
}
.dossier__quip {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--zinc4);
}
.dossier__foot {
  margin-top: 10px;
  font:
    700 12px/1.2 Lato,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--crim3);
}
.seal {
  position: absolute;
  top: 22px;
  right: 8px;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(8, 6, 16, 0.65));
}

/* Single authored motion moment: backlit CRT badges snap in once on entry. */
html.js .seal,
html.js .suspect__stamp {
  opacity: 0;
}
html.js .is-stamped .seal,
html.js .suspect.in .suspect__stamp {
  animation: slam 0.42s 0.2s var(--pop) both;
}
html.js .hero__stamp {
  animation: slam-hero 0.48s 0.65s var(--pop) both;
}
@keyframes slam {
  from {
    opacity: 0;
    transform: scale(2) rotate(-8deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes slam-hero {
  0% {
    opacity: 0;
    scale: 2.2;
  }
  70% {
    opacity: 1;
    scale: 0.96;
  }
  100% {
    opacity: 1;
    scale: 1;
  }
}

/* ------------------------------------------------------------------ sprites */
.spr {
  --s: 3;
  --n: 1;
  --w: 16;
  --h: 16;
  --dur: 0.8s;
  display: inline-block;
  width: calc(var(--w) * var(--s) * 1px);
  height: calc(var(--h) * var(--s) * 1px);
  background-repeat: no-repeat;
  background-size: calc(var(--w) * var(--n) * var(--s) * 1px) calc(var(--h) * var(--s) * 1px);
  animation: sprite var(--dur) steps(var(--n)) infinite;
}
/* A clickable sprite sits in a slot sized to its resting strip (js/poke.js), so playing a
   differently cropped action strip never changes the layout around it. */
.spr-slot {
  position: relative;
  display: inline-block;
  flex: none;
  vertical-align: bottom;
}
.spr-slot > .spr {
  position: absolute;
  left: 0;
  bottom: 0;
}
@keyframes sprite {
  from {
    background-position: 0 0;
  }
  to {
    background-position: calc(var(--w) * var(--n) * var(--s) * -1px) 0;
  }
}

/* ------------------------------------------------------------------ zombie bio-scan lineup */
.lineup {
  padding: var(--sec-tight) 0 var(--sec);
}
.lineup__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--wrap);
  margin: 28px auto 0;
  padding: 0 var(--gutter);
}
.suspect {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 8px 8px 14px;
  background: var(--gray1);
  border: 2px solid var(--zinc1);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
.suspect:hover {
  border-color: var(--ochre2);
}
.suspect__board {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 118px;
  padding: 14px 0 12px;
  background:
    repeating-linear-gradient(to top, rgba(130, 150, 174, 0.14) 0 1px, transparent 1px 18px),
    linear-gradient(var(--navy0), var(--ink));
  border: 2px solid var(--ink);
  overflow: hidden;
}
.suspect__board::before {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background: rgba(10, 8, 18, 0.5);
}
.suspect__board > .spr:not(.suspect__puff),
.suspect__board > .spr-slot {
  position: relative;
  z-index: 1;
}
.suspect__puff {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  translate: -50% 0;
  pointer-events: none;
  animation-iteration-count: 1 !important;
  animation-fill-mode: forwards !important;
}
.suspect b {
  display: block;
  margin: 12px 4px 0;
  font:
    700 14px/1.25 Lato,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ochre4);
}
.suspect > span:not(.suspect__board) {
  margin: 6px 4px 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--zinc4);
}
.suspect--wanted {
  border-color: var(--crim2);
}
.suspect--wanted .suspect__board {
  background:
    repeating-linear-gradient(to top, rgba(255, 102, 96, 0.16) 0 1px, transparent 1px 18px),
    linear-gradient(var(--rust0), var(--earth0));
}
.suspect--wanted b {
  color: var(--crim3);
}
.suspect--wanted > span:not(.suspect__board) {
  color: var(--white);
  font-weight: 700;
}
.suspect__stamp {
  position: absolute;
  top: 14px;
  right: 6px;
  z-index: 3;
  pointer-events: none;
}
@media (min-width: 640px) {
  .suspect__board {
    min-height: 148px;
  }
  .lineup__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .suspect > span:not(.suspect__board) {
    font-size: 14px;
  }
}
@media (min-width: 1080px) {
  .lineup__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

/* ------------------------------------------------------------------ cities */
.cities {
  padding: var(--sec) 0;
}
.cities__track {
  --card: min(86vw, 540px);
}
.postcard {
  border-style: solid;
  border-width: calc(var(--u) * 5) calc(var(--u) * 6) calc(var(--u) * 7) calc(var(--u) * 5);
  border-image: url('../assets/ui/panel-manila.png') 20 24 28 20 fill stretch;
  color: var(--white);
  filter: drop-shadow(0 16px 32px rgba(8, 6, 16, 0.52));
}
.postcard__scene {
  --o: 0;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
  border: 2px solid var(--zinc1);
}
.postcard__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateX(calc(var(--o) * -4%)) scale(1.03);
  transition: scale 0.75s var(--ease);
}
.postcard.is-active .postcard__map {
  scale: 1.06;
}
.postcard__stamp {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 10px;
  background: rgba(22, 18, 32, 0.9);
  border: 1px solid var(--ochre2);
  color: var(--ochre4);
  font:
    700 12px/1 Lato,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.postcard__body {
  padding: 14px 8px 6px;
}
.postcard__city {
  font:
    400 32px/1 'Dossier Display',
    Lato,
    sans-serif;
  text-transform: uppercase;
  color: var(--white);
}
.postcard__tag {
  margin-top: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ochre3);
}
.postcard__marks {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--zinc4);
}
.postcard__marks b {
  color: var(--crim3);
}
.mercs {
  margin-top: 52px;
  text-align: center;
}
.mercs__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 24px 16px;
  margin-top: 24px;
}
.mercs__row li {
  flex: 0 0 calc((100% - 32px) / 3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
@media (min-width: 760px) {
  .mercs__row {
    gap: 24px 22px;
  }
  .mercs__row li {
    flex: none;
  }
}
.mercs__row b {
  font:
    700 13px/1.25 Lato,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stone5);
}

/* ------------------------------------------------------------------ follow: command plaques */
.follow {
  position: relative;
  padding: calc(var(--sec) + 12px) 0;
  background: var(--steel-dark);
}
.follow::before,
.follow::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: var(--rail);
}
.follow::after {
  inset: auto 0 0;
}
/* Brief tactical overview (GEO/SEO summary block) */
.brief {
  padding: var(--sec-tight) 0 0;
}
.brief__box {
  display: grid;
  gap: 14px;
  padding: 22px 24px;
  background: var(--navy0);
  border: 2px solid var(--zinc1);
  border-left: 4px solid var(--ochre2);
  box-shadow: var(--shadow-card);
}
.brief__lead {
  color: var(--zinc4);
  font-size: 16px;
  line-height: 1.6;
  max-width: 78ch;
}
.brief__lead strong {
  color: var(--white);
}
.brief__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.brief__facts li {
  padding: 6px 10px;
  background: var(--gray1);
  border: 1px solid var(--zinc1);
  font-size: 14px;
  color: var(--white);
}
.brief__facts strong {
  color: var(--ichor2);
}
.brief__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 4px;
}
.brief__links a {
  font-weight: 700;
  font-size: 15px;
  color: var(--ochre3);
}
.brief__links a:hover {
  color: var(--ochre4);
}
.store-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px 16px;
  margin-top: 24px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--navy0), var(--ink));
  border: 2px solid var(--ochre2);
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.16s var(--ease),
    border-color 0.18s var(--ease);
  touch-action: manipulation;
}
.store-banner:hover,
.store-banner:focus-visible {
  color: var(--white);
  border-color: var(--ochre4);
  transform: translateY(-3px);
}
.store-banner__icon {
  filter: drop-shadow(0 4px 10px rgba(8, 6, 16, 0.55));
}
.store-banner__text {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.store-banner__title {
  font:
    400 20px/1.15 'Dossier Small',
    Lato,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ochre4);
}
.store-banner__meta {
  font-size: 15px;
  line-height: 1.45;
  color: var(--zinc4);
}
.store-banner__cta {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 12px 20px 10px;
  background: var(--ochre3);
  color: var(--ink);
  border: 2px solid var(--ink);
  font:
    400 10px/1 'Dossier Small',
    Lato,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: inset 0 -3px 0 var(--ochre1);
}
@media (min-width: 720px) {
  .store-banner {
    grid-template-columns: auto 1fr auto;
    padding: 20px 24px;
    gap: 18px 22px;
  }
  .store-banner__cta {
    grid-column: auto;
    justify-self: end;
    padding: 14px 22px 12px;
    font-size: 20px;
  }
}
.discord-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px 14px;
  margin-top: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--plum0), var(--ink));
  border: 2px solid var(--purple);
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.16s var(--ease),
    border-color 0.18s var(--ease);
  touch-action: manipulation;
}
.discord-banner:hover,
.discord-banner:focus-visible {
  color: var(--white);
  border-color: var(--lilac);
  transform: translateY(-3px);
}
.discord-banner__icon {
  filter: drop-shadow(0 4px 10px rgba(8, 6, 16, 0.55));
}
.discord-banner__text {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.discord-banner__title {
  font:
    400 20px/1.15 'Dossier Small',
    Lato,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lilac);
}
.discord-banner__meta {
  font-size: 14px;
  line-height: 1.45;
  color: var(--zinc4);
}
.discord-banner__cta {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 10px 18px 8px;
  background: var(--purple);
  color: var(--white);
  border: 2px solid var(--ink);
  font:
    400 10px/1 'Dossier Small',
    Lato,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: inset 0 -3px 0 var(--plum1);
}
@media (min-width: 720px) {
  .discord-banner {
    grid-template-columns: auto 1fr auto;
    padding: 18px 24px;
    gap: 16px 20px;
  }
  .discord-banner__cta {
    grid-column: auto;
    justify-self: end;
    padding: 12px 20px 10px;
    font-size: 20px;
  }
}
.faq-sec {
  padding: 0 0 var(--sec);
}
.follow__list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}
.channel {
  --accent: var(--crim1);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 10px 12px;
  border-style: solid;
  border-width: calc(var(--u) * 6) calc(var(--u) * 6) calc(var(--u) * 7) calc(var(--u) * 6);
  border-image: url('../assets/ui/panel-brass.png') 24 24 28 24 fill stretch;
  color: var(--white);
  text-decoration: none;
  filter: drop-shadow(0 12px 24px rgba(8, 6, 16, 0.5));
  transition: transform 0.18s var(--ease);
  touch-action: manipulation;
}
.channel--x {
  --accent: var(--zinc0);
}
.channel--tiktok {
  --accent: var(--navy0);
}
.channel--youtube {
  --accent: var(--crim1);
}
.channel--instagram {
  --accent: var(--rust0);
}
.channel__icon {
  filter: drop-shadow(0 4px 10px rgba(8, 6, 16, 0.5));
}
.channel__text {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.channel__name {
  font:
    400 20px/1 'Dossier Small',
    Lato,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ochre4);
}
.channel__handle {
  overflow: hidden;
  font-size: 15px;
  color: var(--zinc4);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.channel__cta {
  padding: 10px 14px;
  background: var(--accent);
  border: 1px solid var(--ochre2);
  color: var(--white);
  font:
    700 12px/1 Lato,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.channel:hover,
.channel:focus-visible {
  transform: translateY(-3px);
}
.channel:active {
  transform: translateY(1px);
}
@media (max-width: 359px) {
  .channel {
    grid-template-columns: auto 1fr;
  }
  .channel__cta {
    display: none;
  }
}
@media (min-width: 820px) {
  .follow__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .channel {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    padding: 20px 14px 18px;
    text-align: center;
  }
  .channel__cta {
    padding: 10px 20px;
    font-size: 13px;
  }
}
@media (min-width: 1100px) {
  .follow__list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ------------------------------------------------------------------ screenshots: CRT captures */
.shots {
  padding: var(--sec) 0;
}
.shots__grid {
  display: grid;
  gap: 22px;
  max-width: var(--wrap);
  margin: 28px auto 0;
  padding: 0 var(--gutter);
}
.shots__more {
  display: none;
}
@media (max-width: 699px) {
  html.js .shots__grid > li:nth-child(n + 5) {
    display: none;
  }
  html.js .shots__more {
    display: flex;
    justify-content: center;
    margin-top: 24px;
  }
}
.shot a {
  display: block;
  overflow: hidden;
  padding: 8px 8px 12px;
  background: var(--gray1);
  border: 2px solid var(--zinc1);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.shot a:hover,
.shot a:focus-visible {
  transform: translateY(-3px);
  border-color: var(--ochre2);
}
.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 2px solid var(--ink);
}
.shot__cap {
  display: block;
  margin-top: 10px;
  padding: 0 4px;
  font:
    700 14px/1.35 Lato,
    system-ui,
    sans-serif;
  color: var(--ochre3);
}
@media (min-width: 700px) {
  .shots__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .shot--wide {
    grid-column: span 2;
  }
}

/* ------------------------------------------------------------------ footer */
.footer {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 56px var(--gutter) calc(110px + var(--safe-b));
  background: var(--steel-dark);
  text-align: center;
  color: var(--zinc4);
  font-size: 14px;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: var(--rail);
}
.footer .social {
  margin: 4px 0;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 4px;
}
.footer__links a {
  padding: 6px 4px;
  color: var(--ochre3);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.footer__links a:hover,
.footer__links a[aria-current] {
  color: var(--ochre4);
  border-bottom-color: var(--ochre3);
}
.footer__small {
  font-size: 13px;
  color: var(--zinc4);
  max-width: 60ch;
}
.langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  margin-top: 2px;
}
.langs a {
  padding: 6px 8px;
  color: var(--zinc4);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.18s var(--ease);
}
.langs a:hover,
.langs a:focus-visible {
  color: var(--ochre4);
}
.langs a[aria-current] {
  color: var(--ochre3);
  font-weight: 700;
}
@media (min-width: 820px) {
  .footer {
    padding-bottom: 56px;
  }
}

/* ------------------------------------------------------------------ mobile dock */
.dock {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + var(--safe-b));
  z-index: 45;
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--ink);
  border: 2px solid var(--zinc1);
  border-top: 3px solid var(--ochre2);
  box-shadow: var(--shadow-lift);
  transform: translateY(calc(100% + 30px));
  transition: transform 0.4s var(--ease);
}
.dock.is-on {
  transform: none;
}
.dock button,
.dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  border: 0;
  padding: 0 12px;
  font:
    700 12px/1 Lato,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.dock svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.dock__store {
  background: var(--ochre3);
  color: var(--ink);
  border: 1px solid var(--ochre4);
  padding: 0 10px 0 8px;
}
.dock__store img {
  flex: none;
}
.dock__trailer {
  background: var(--crim1);
  color: var(--white);
  border: 1px solid var(--crim2);
}
.dock__demo {
  background: var(--gray1);
  color: var(--ochre4);
  border: 1px solid var(--ochre2);
}
@media (max-width: 459px) {
  .dock .dock__label {
    display: none;
  }
  .dock button,
  .dock a {
    padding: 0 10px;
  }
}
@media (max-width: 399px) {
  .dock .dock__get {
    display: none;
  }
  .dock__social img {
    max-width: 24px;
    max-height: 24px;
  }
}
.dock__social {
  flex: 1;
  gap: 0;
  min-width: 0;
  background: var(--gray1);
}
.dock__social li {
  flex: 1;
}
.dock .dock__social a {
  min-width: 0;
  padding: 0;
}
.dock__share {
  background: var(--zinc0);
  color: var(--ochre4);
  width: 46px;
}
@media (min-width: 820px) {
  .dock {
    display: none;
  }
}

/* ------------------------------------------------------------------ dialogs */
.modal,
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(22, 18, 32, 0.96);
  color: var(--white);
}
.modal::backdrop,
.lightbox::backdrop {
  background: rgba(22, 18, 32, 0.72);
}
.modal[open] {
  display: grid;
  place-items: center;
  animation: fade 0.25s var(--ease);
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
.modal video {
  width: min(94vw, calc(88dvh * 16 / 9));
  max-height: 88dvh;
  background: var(--ink);
  border: 3px solid var(--ochre2);
  box-shadow: var(--shadow-lift);
}
.modal__close {
  position: absolute;
  top: calc(12px + var(--safe-t));
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--ochre2);
  background: var(--gray1);
  color: var(--ochre4);
}
.modal__close:hover {
  background: var(--crim1);
  border-color: var(--crim2);
}
.lightbox[open] {
  display: flex;
  flex-direction: column;
  animation: fade 0.25s var(--ease);
}
.lightbox__track {
  flex: 1;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.lightbox__track::-webkit-scrollbar {
  display: none;
}
.lightbox__track figure {
  flex: none;
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 68px 16px 12px;
  scroll-snap-align: center;
}
.lightbox__track img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 2px solid var(--zinc2);
}
.lightbox__nav {
  display: none;
}
@media (hover: hover) and (min-width: 700px) {
  .lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    translate: 0 -50%;
    border: 2px solid var(--zinc2);
    background: var(--ink);
    color: var(--ochre3);
  }
  .lightbox__nav:hover {
    border-color: var(--ochre3);
    background: var(--gray1);
  }
  .lightbox__nav:disabled {
    opacity: 0.3;
    cursor: default;
  }
  .lightbox__nav svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    shape-rendering: crispEdges;
  }
  .lightbox__nav--prev {
    left: 16px;
  }
  .lightbox__nav--next {
    right: 16px;
  }
}
.lightbox__count {
  margin-right: 12px;
  color: var(--ochre3);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.lightbox__caption {
  padding: 12px 16px calc(18px + var(--safe-b));
  text-align: center;
  font-size: 15px;
  color: var(--stone5);
}

/* ------------------------------------------------------------------ toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + var(--safe-b));
  z-index: 60;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  background: var(--ochre3);
  color: var(--ink);
  border: 2px solid var(--ink);
  font:
    700 13px/1.3 Lato,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-card);
  translate: -50% 20px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s var(--ease),
    translate 0.25s var(--ease);
}
.toast.is-on {
  opacity: 1;
  translate: -50% 0;
}

/* ------------------------------------------------------------------ Read-mode subpages (/z/support, /z/privacy) */
body.subpage {
  padding-top: calc(var(--bar) + var(--safe-t));
  background: var(--bg);
}
body.subpage .topbar::before,
body.subpage .topbar::after,
body.subpage .topbar__logo {
  opacity: 1;
  transform: none;
}
body.subpage .topbar__nav {
  display: flex;
  gap: 2px;
}
@media (max-width: 639px) {
  body.subpage .topbar__nav a {
    padding: 8px 6px;
    font:
      700 12px/1 Lato,
      system-ui,
      sans-serif;
    letter-spacing: 0.04em;
  }
  body.subpage .social--bar {
    display: none;
  }
}
.crumbs {
  padding: 20px 0 0;
  font-size: 14px;
  color: var(--zinc4);
}
.crumbs a {
  color: var(--ochre3);
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
}
.crumbs span[aria-hidden] {
  margin: 0 8px;
  color: var(--zinc2);
}
.doc-hero {
  padding: 28px 0 36px;
  border-bottom: 2px solid var(--gray2);
}
.doc-hero .lede {
  margin-top: 16px;
}
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--zinc4);
}
.doc-meta strong {
  color: var(--ochre3);
}
.doc-sec {
  padding: 40px 0 72px;
}
.doc-wrap {
  max-width: 820px;
}
.callout {
  padding: 18px 20px;
  background: var(--navy0);
  border: 2px solid var(--ochre2);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  box-shadow: var(--shadow-card);
}
.callout strong {
  color: var(--ochre4);
}
.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}
@media (min-width: 680px) {
  .spec-grid {
    grid-template-columns: 1fr 1.15fr 1.35fr;
  }
}
.spec-tile {
  padding: 14px 16px;
  background: var(--gray1);
  border: 2px solid var(--zinc1);
  min-width: 0;
}
.spec-tile dt {
  font:
    700 12px/1.2 Lato,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ochre3);
}
.spec-tile dd {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--white);
  overflow-wrap: anywhere;
}
.spec-tile code {
  display: inline-block;
  max-width: 100%;
  font-size: 13px;
  color: var(--ochre4);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
}
.doc-h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  font:
    400 32px/1.15 'Dossier Display',
    Lato,
    sans-serif;
  text-transform: uppercase;
  color: var(--white);
}
.faq__list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.faq__item {
  background: var(--gray1);
  border: 2px solid var(--zinc1);
  transition: border-color 0.18s var(--ease);
}
.faq__item[open] {
  border-color: var(--ochre2);
}
.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: '+';
  flex: none;
  font:
    700 20px/1 Lato,
    system-ui,
    sans-serif;
  color: var(--ochre3);
}
.faq__item[open] summary::after {
  content: '−';
  color: var(--crim3);
}
.faq__body {
  padding: 0 18px 18px;
  color: var(--zinc4);
  font-size: 16px;
  line-height: 1.62;
  max-width: 68ch;
}
.faq__body p + p {
  margin-top: 10px;
}
.faq__body strong {
  color: var(--white);
}
.faq__body code,
.prose code {
  padding: 2px 6px;
  background: var(--navy0);
  border: 1px solid var(--zinc1);
  color: var(--ochre4);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}
.prose {
  margin-top: 28px;
  max-width: 68ch;
}
.prose h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ochre4);
}
.prose p {
  color: var(--zinc4);
  font-size: 16px;
  line-height: 1.68;
}
.prose p + p,
.prose ul + p,
.prose p + ul {
  margin-top: 12px;
}
.prose ul {
  list-style: disc;
  padding-left: 22px;
  color: var(--zinc4);
  font-size: 16px;
  line-height: 1.65;
}
.prose li + li {
  margin-top: 8px;
}
.prose strong {
  color: var(--white);
}
.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 2px solid var(--gray2);
}
.doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--gray1);
  border: 2px solid var(--ochre2);
  color: var(--ochre4);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.doc-btn:hover {
  background: var(--ochre3);
  color: var(--ink);
}
.doc-btn--primary {
  background: var(--crim1);
  border-color: var(--crim2);
  color: var(--white);
}
.doc-btn--primary:hover {
  background: var(--crim2);
  color: var(--white);
}

/* ------------------------------------------------------------------ /z/demo/ browser demo */
.doc-hero--demo {
  padding: 18px 0 20px;
}
.doc-hero--demo .h-pixel {
  font-size: 32px;
}
.doc-hero--demo .lede {
  margin-top: 8px;
  max-width: none;
  font-size: 16px;
}
.kicker {
  font:
    400 var(--label)/1.2 'Dossier Small',
    Lato,
    sans-serif;
  text-transform: uppercase;
  color: var(--ochre3);
  margin-bottom: 10px;
}
.demo-sec {
  padding: 20px 0 8px;
}
.demo-sec .wrap {
  max-width: min(1400px, 100%);
}
.demo-stage {
  width: 100%;
  background: var(--ink);
  border: 2px solid var(--zinc1);
  border-top: 3px solid var(--ochre2);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.demo-stage__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 8px 12px;
  background: var(--gray1);
  border-bottom: 2px solid var(--ink);
}
.demo-stage__meta {
  font:
    400 var(--label)/1.2 'Dossier Small',
    Lato,
    sans-serif;
  text-transform: uppercase;
  color: var(--stone5);
}
.demo-stage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.demo-stage__btn {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--zinc1);
  background: var(--ink);
  color: var(--ochre3);
  font:
    700 12px/1 Lato,
    system-ui,
    sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.demo-stage__btn:hover,
.demo-stage__btn:focus-visible {
  border-color: var(--ochre2);
  color: var(--ochre4);
}
.demo-stage__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 19.5 / 9;
  background: var(--ink);
}
.demo-stage:fullscreen {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
}
.demo-stage:fullscreen .demo-stage__viewport {
  flex: 1;
  aspect-ratio: auto;
}
.demo-stage:fullscreen .demo-stage__hint {
  display: none;
}
.demo-stage__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--ink);
}
.demo-stage__hint {
  padding: 8px 12px;
  background: var(--gray1);
  border-top: 1px solid var(--ink);
  font-size: 13px;
  line-height: 1.4;
  color: var(--zinc4);
}
@media (max-width: 699px) {
  .demo-sec .wrap {
    padding: 0;
  }
  .demo-stage {
    border-left: 0;
    border-right: 0;
  }
}

/* ------------------------------------------------------------------ language offer */
.lang-offer {
  position: fixed;
  left: 50%;
  top: calc(var(--bar) + var(--safe-t) + 10px);
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100vw - 20px);
  padding: 6px 6px 6px 14px;
  translate: -50% 0;
  background: var(--ink);
  border: 2px solid var(--ochre2);
  box-shadow: var(--shadow-lift);
  font-size: 14px;
  color: var(--white);
}
.lang-offer[hidden] {
  display: none;
}
.lang-offer__go {
  flex: none;
  padding: 9px 12px;
  background: var(--ochre3);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.lang-offer__go:hover {
  background: var(--ochre4);
  color: var(--ink);
}
.lang-offer__close {
  flex: none;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--zinc4);
  font-size: 22px;
}
.lang-offer__close:hover {
  color: var(--ochre4);
}

/* ------------------------------------------------------------------ localized buttons & stamps */
/* English /z/ uses authored pixel-art PNG buttons and stamps. Non-English /z/<lang>/ pages
   render crisp Bunker Broadcast CSS buttons & backlit CRT stamps so every CTA and badge is
   fully localized in the visitor's language. */
html:not(:lang(en)) .pixbtn {
  width: auto;
  height: auto;
  min-height: 60px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  background: var(--gray1);
  color: var(--ochre4);
  text-decoration: none;
  font:
    700 15px/1.15 Lato,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  filter: none;
  box-shadow:
    inset 0 -4px 0 var(--ink),
    inset 0 2px 0 var(--zinc1),
    0 0 0 1px var(--zinc2),
    0 8px 18px rgba(8, 6, 16, 0.55);
  transition:
    transform 0.14s var(--ease),
    filter 0.18s;
}
html:not(:lang(en)) .pixbtn:hover {
  color: var(--white);
  filter: brightness(1.1);
  transform: translateY(-2px);
}
html:not(:lang(en)) .pixbtn:active {
  transform: translateY(2px);
}
html:not(:lang(en)) .pixbtn[data-ui='btn-demo'] {
  background: var(--crim1);
  color: var(--white);
  box-shadow:
    inset 0 -4px 0 var(--rust0),
    inset 0 2px 0 var(--crim2),
    0 8px 18px rgba(8, 6, 16, 0.55);
}
html:not(:lang(en)) .street__over-btns .pixbtn,
html:not(:lang(en)) .shots__more .pixbtn {
  min-height: 44px;
  padding: 0 16px;
  font-size: 13px;
}
html:not(:lang(en)) .pixbtn .sr-only {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
}

.zstamp {
  display: inline-block;
  padding: 6px 14px;
  border: 3px solid currentColor;
  font:
    800 16px/1.1 Lato,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow:
    inset 0 0 0 2px rgba(22, 18, 32, 0.72),
    0 8px 20px rgba(8, 6, 16, 0.65);
}
.zstamp--outnow {
  background: rgba(19, 41, 46, 0.94);
  color: var(--ichor2);
  font-size: 18px;
  padding: 8px 16px;
}
.zstamp--overrun {
  background: rgba(45, 26, 36, 0.96);
  color: var(--crim3);
}
.zstamp--approved {
  background: rgba(21, 27, 56, 0.92);
  color: var(--ochre3);
  font-size: 13px;
  padding: 5px 10px;
  transform: rotate(-8deg);
}
.zstamp--infected {
  background: rgba(19, 41, 46, 0.94);
  color: var(--ichor2);
  font-size: 13px;
  padding: 5px 10px;
  transform: rotate(-8deg);
}

/* ------------------------------------------------------------------ CJK & Cyrillic typography */
:lang(zh) {
  --font-i18n: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC',
    'Source Han Sans SC', sans-serif;
}
:lang(ja) {
  --font-i18n: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', 'Noto Sans JP',
    sans-serif;
}
:lang(ko) {
  --font-i18n: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
}
:lang(ru) {
  --font-i18n: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
:is(:lang(zh), :lang(ja), :lang(ko), :lang(ru)) {
  --label: 13px;
  font-family: Lato, var(--font-i18n);
}
@media (min-width: 1024px) {
  :is(:lang(zh), :lang(ja), :lang(ko), :lang(ru)) {
    --label: 15px;
  }
}
:is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(ru)) body {
  font-family: Lato, var(--font-i18n);
  line-height: 1.65;
}
html:lang(ko) body,
html:lang(ko) h1,
html:lang(ko) h2,
html:lang(ko) h3,
html:lang(ko) p,
html:lang(ko) li {
  word-break: keep-all;
}
:is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(ru))
  :is(.h-pixel, .doc-h2, .step__title, .dossier__name, .postcard__city, .zstamp) {
  font-family: 'Dossier Display', var(--font-i18n);
  font-weight: 800;
  line-height: 1.24;
}
:is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(ru)) .h-pixel {
  --fp: 2px;
  font-size: 30px;
}
@media (min-width: 700px) {
  :is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(ru)) .h-pixel {
    --fp: 3px;
    font-size: 42px;
  }
}
@media (min-width: 1100px) {
  :is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(ru)) .h-pixel {
    font-size: 50px;
  }
}
:is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(ru))
  :is(.doc-h2, .step__title, .dossier__name, .postcard__city) {
  font-size: 26px;
}
:is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(ru))
  :is(
    .h-small,
    .kicker,
    .topbar__nav a,
    .topbar__store,
    .hero__sub,
    .zbtn,
    .pixbtn,
    .ticker__badge,
    .ticker__row,
    .street__hud,
    .street__over-title,
    .screen__rec,
    .meter span,
    .postcard__stamp,
    .mercs__row b,
    .store-banner__title,
    .store-banner__cta,
    .discord-banner__title,
    .discord-banner__cta,
    .channel__cta,
    .demo-stage__meta,
    .toast
  ) {
  font-family: 'Dossier Small', var(--font-i18n);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
:is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(ru)) .topbar__nav a {
  font-size: 13px;
}
@media (min-width: 1560px) {
  :is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(ru)) .topbar__nav a {
    font-size: 15px;
  }
}
:is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(ru)) .topbar__store {
  font-size: 12px;
}
:is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(ru)) .hero__sub {
  font-size: 18px;
}
:is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(ru)) .zbtn {
  font-size: 15px;
}
:is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(ru))
  :is(.ticker__badge, .ticker__row, .street__hud, .street__over-title, .h-small, .discord-banner__title) {
  font-size: 15px;
}
:is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(ru)) .discord-banner__cta {
  font-size: 14px;
}
@media (max-width: 520px) {
  :is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(ru)) .street__hud {
    font-size: 13px;
  }
}

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .ticker__track,
  .spr {
    animation: none;
  }
  .hero__art img,
  .hero__content {
    transform: none;
    opacity: 1;
  }
}
