/* Metro Mystery — one stylesheet for every page.
   Every color below is from the ENDESGA 32 palette (https://lospec.com/palette-list/endesga-32).
   Fonts are self-hosted (SIL OFL): Silkscreen for display, Nunito for body text. */

@font-face { font-family: "Silkscreen"; src: url("/assets/fonts/silkscreen-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url("/assets/fonts/silkscreen-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  /* ENDESGA 32 */
  --e-night: #181425;
  --e-ink: #262b44;
  --e-slate: #3a4466;
  --e-steel: #5a6988;
  --e-fog: #8b9bb4;
  --e-mist: #c0cbdc;
  --e-white: #ffffff;
  --e-paper: #ead4aa;
  --e-sand: #e4a672;
  --e-tan: #b86f50;
  --e-rust: #733e39;
  --e-umber: #3e2731;
  --e-crimson: #a22633;
  --e-red: #e43b44;
  --e-orange: #f77622;
  --e-gold: #feae34;
  --e-yellow: #fee761;
  --e-green: #63c74d;
  --e-leaf: #3e8948;
  --e-pine: #265c42;
  --e-deep: #193c3e;
  --e-navy: #124e89;
  --e-blue: #0099db;
  --e-cyan: #2ce8f5;
  --e-plum: #68386c;
  --e-magenta: #b55088;
  --e-coral: #f6757a;
  --e-neon: #ff0044;

  /* roles */
  --bg: var(--e-night);
  --surface: var(--e-ink);
  --raised: var(--e-slate);
  --line: var(--e-slate);
  --text: var(--e-mist);
  --muted: var(--e-fog);
  --head: var(--e-white);
  --accent: var(--e-orange);
  --accent-2: var(--e-blue);
  --ok: var(--e-green);
  --err: var(--e-coral);

  --px: 4px;
  --wrap: 1180px;
  --font-px: "Silkscreen", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
.pixel { image-rendering: pixelated; }
a { color: var(--e-cyan); text-underline-offset: 3px; }
a:hover { color: var(--e-yellow); }
h1, h2, h3 { font-family: var(--font-px); color: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong, b { color: var(--head); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt { margin-top: 18px; }
.ice { color: var(--e-cyan); }
.ember { color: var(--e-orange); }
.gold { color: var(--e-gold); }
:focus-visible { outline: var(--px) solid var(--e-yellow); outline-offset: 3px; }
::selection { background: var(--e-magenta); color: var(--e-white); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--e-yellow); color: var(--e-night); padding: 10px 14px; font-family: var(--font-px); text-decoration: none; }
.skip:focus { top: 12px; }

/* pixel frame: a stepped border made from box-shadows, no rounded corners */
.frame {
  background: var(--surface);
  box-shadow:
    0 calc(var(--px) * -1) 0 0 var(--line),
    0 var(--px) 0 0 var(--line),
    calc(var(--px) * -1) 0 0 0 var(--line),
    var(--px) 0 0 0 var(--line);
}

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--e-night); border-bottom: var(--px) solid var(--e-ink); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--head); text-decoration: none; font-family: var(--font-px); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.brand img { width: 32px; height: 32px; image-rendering: pixelated; }
.brand:hover { color: var(--e-yellow); }
.nav-links { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.nav-links a { display: block; padding: 8px 10px; color: var(--text); text-decoration: none; font-family: var(--font-px); font-size: .85rem; }
.nav-links a:hover { color: var(--e-yellow); }
.nav-links a[aria-current="page"] { color: var(--e-white); box-shadow: inset 0 calc(var(--px) * -1) 0 var(--accent); }
.nav-links .nav-cta { background: var(--accent); color: var(--e-night); box-shadow: var(--px) var(--px) 0 var(--e-rust); margin-left: 6px; }
.nav-links .nav-cta:hover { background: var(--e-gold); color: var(--e-night); }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; background: var(--surface); color: var(--head);
    border: 0; padding: 10px 12px; font: 700 .8rem var(--font-px); cursor: pointer;
    box-shadow: var(--px) var(--px) 0 var(--e-slate);
  }
  .menu-btn i, .menu-btn i::before, .menu-btn i::after { display: block; width: 16px; height: 3px; background: currentColor; position: relative; }
  .menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; }
  .menu-btn i::before { top: -6px; }
  .menu-btn i::after { top: 6px; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--e-night); border-bottom: var(--px) solid var(--e-ink); padding: 8px 16px 16px; gap: 2px; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 8px; font-size: .95rem; }
  .nav-links .nav-cta { margin: 8px 0 0; text-align: center; }
}
@media (min-width: 861px) { .nav-links { display: flex !important; } }

/* ---------- buttons, pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border: 0; cursor: pointer; text-decoration: none;
  font: 700 .95rem/1 var(--font-px); letter-spacing: .02em;
  transition: transform .08s steps(2), box-shadow .08s steps(2);
}
.btn:active { transform: translate(var(--px), var(--px)); box-shadow: 0 0 0 transparent; }
.btn-ember { background: var(--e-orange); color: var(--e-night); box-shadow: var(--px) var(--px) 0 var(--e-rust); }
.btn-ember:hover { background: var(--e-gold); color: var(--e-night); }
.btn-ghost { background: var(--e-ink); color: var(--e-white); box-shadow: inset 0 0 0 var(--px) var(--e-slate), var(--px) var(--px) 0 var(--e-night); }
.btn-ghost:hover { color: var(--e-yellow); box-shadow: inset 0 0 0 var(--px) var(--e-fog), var(--px) var(--px) 0 var(--e-night); }
.btn-blue { background: var(--e-blue); color: var(--e-night); box-shadow: var(--px) var(--px) 0 var(--e-navy); }
.btn-blue:hover { background: var(--e-cyan); color: var(--e-night); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.btns.center { justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: var(--e-ink); color: var(--e-paper); font: 700 .75rem/1.2 var(--font-px); box-shadow: inset 0 0 0 2px var(--e-slate); }
.pill .dot { width: 8px; height: 8px; background: var(--e-green); animation: blink 1.2s steps(2) infinite; }
.pill.soon .dot { background: var(--e-gold); }
@keyframes blink { 50% { opacity: .25; } }
.eyebrow { font: 700 .8rem/1.2 var(--font-px); color: var(--e-gold); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--e-mist); max-width: 60ch; }

/* ---------- sections ---------- */
section { padding: clamp(56px, 8vw, 104px) 0; }
section.alt { background: var(--e-ink); }
section.tight { padding: 40px 0; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.rule { height: var(--px); border: 0; margin: 0; background: repeating-linear-gradient(90deg, var(--e-orange) 0 16px, var(--e-gold) 16px 32px, var(--e-blue) 32px 48px, var(--e-cyan) 48px 64px); }

/* ---------- home hero ---------- */
.hero { position: relative; padding: 0; overflow: hidden; background: var(--e-night); }
.hero-art { position: absolute; inset: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; image-rendering: pixelated; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--e-night) 0%, rgb(24 20 37 / .92) 38%, rgb(24 20 37 / .55) 70%, rgb(24 20 37 / .35) 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(24px, 4vw, 56px); align-items: center; min-height: min(760px, 92vh); padding: clamp(40px, 6vw, 80px) 0; }
.hero h1 .hl { color: var(--e-orange); }
.hero-game { width: 100%; }
.hero-game .game-cap { display: flex; justify-content: space-between; gap: 8px; font: 700 .72rem/1.2 var(--font-px); color: var(--e-fog); margin: 18px 0 0; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-art::after { background: linear-gradient(180deg, rgb(24 20 37 / .7) 0%, rgb(24 20 37 / .9) 45%, var(--e-night) 100%); }
}

/* ---------- game cards ---------- */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 24px; }
.game {
  display: flex; flex-direction: column; color: var(--text); text-decoration: none; background: var(--e-ink);
  box-shadow: inset 0 0 0 var(--px) var(--e-slate), 6px 6px 0 var(--e-night);
  transition: transform .12s steps(3), box-shadow .12s steps(3);
}
a.game:hover, .game:focus-within { transform: translate(-3px, -3px); box-shadow: inset 0 0 0 var(--px) var(--e-orange), 9px 9px 0 var(--e-rust); color: var(--text); }
.game .art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: var(--px) solid var(--e-slate); }
.game .art img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.game .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.game h3 { margin: 0; font-size: 1.25rem; }
.game p { margin: 0; color: var(--e-mist); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tags li { font: 700 .68rem/1 var(--font-px); padding: 6px 8px; background: var(--e-night); color: var(--e-paper); }
.game .go { margin-top: auto; padding-top: 8px; font: 700 .9rem var(--font-px); color: var(--e-orange); }
.game .links { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 12px; }
.game.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.game.wide .art { aspect-ratio: auto; min-height: 280px; border-bottom: 0; border-right: var(--px) solid var(--e-slate); }
@media (max-width: 760px) {
  .game.wide { grid-template-columns: 1fr; }
  .game.wide .art { aspect-ratio: 16 / 9; min-height: 0; border-right: 0; border-bottom: var(--px) solid var(--e-slate); }
}

/* ---------- feature band (Dual Fuse on home) ---------- */
.band { position: relative; overflow: hidden; }
.band .bg { position: absolute; inset: 0; }
.band .bg img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.band .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(24 20 37 / .2), rgb(24 20 37 / .78) 55%, var(--e-night)); }
.band .wrap { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 520px); }
.band .copy { grid-column: 2; }
.band .df-logo { width: min(420px, 100%); margin: 6px 0 18px; }
@media (max-width: 860px) {
  .band .wrap { grid-template-columns: 1fr; }
  .band .copy { grid-column: 1; }
  .band .bg::after { background: linear-gradient(180deg, rgb(24 20 37 / .35), rgb(24 20 37 / .92) 55%, var(--e-night)); }
  .band { padding-top: 220px; }
}
.facts { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 18px 0 0; }
.facts li { background: var(--e-night); box-shadow: inset 0 0 0 2px var(--e-slate); padding: 10px 14px; min-width: 110px; }
.facts b { display: block; font: 700 1.5rem/1 var(--font-px); color: var(--e-gold); }
.facts span { font-size: .85rem; color: var(--e-fog); }

/* ---------- split (image + copy) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split .pic { box-shadow: inset 0 0 0 var(--px) var(--e-slate), 8px 8px 0 var(--e-night); background: var(--e-night); padding: var(--px); }
.split .pic img { image-rendering: pixelated; width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.values li { background: var(--e-ink); padding: 16px 18px; box-shadow: inset var(--px) 0 0 var(--e-orange); }
.values li:nth-child(2n) { box-shadow: inset var(--px) 0 0 var(--e-blue); }
.values li:nth-child(3n) { box-shadow: inset var(--px) 0 0 var(--e-green); }
.values b { display: block; font-family: var(--font-px); margin-bottom: 4px; }
.values span { color: var(--e-mist); }

/* ---------- signup ---------- */
.signup { display: flex; flex-wrap: wrap; gap: 12px; max-width: 560px; margin-top: 24px; }
.signup.center { margin-inline: auto; justify-content: center; }
.signup input[type="email"] {
  flex: 1 1 240px; min-width: 0; padding: 13px 14px; border: 0; background: var(--e-night); color: var(--e-white);
  font: 400 1rem var(--font-body); box-shadow: inset 0 0 0 var(--px) var(--e-slate);
}
.signup input[type="email"]:focus { box-shadow: inset 0 0 0 var(--px) var(--e-yellow); outline: 0; }
.signup input::placeholder { color: var(--e-steel); }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup-note { flex-basis: 100%; margin: 0; font-size: .9rem; color: var(--e-fog); }
.signup-note.ok { color: var(--ok); }
.signup-note.err { color: var(--err); }
.signup-note a { color: inherit; }
.cta-final { text-align: center; background: var(--e-ink); }
.cta-final .lede { margin-inline: auto; }

/* ---------- page header (inner pages) ---------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); background: var(--e-ink); border-bottom: var(--px) solid var(--e-slate); }
.page-head h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.page-head .lede { margin-bottom: 0; }

/* ---------- prose (legal, support) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose h3 { font-size: 1rem; margin-top: 1.6em; color: var(--e-paper); }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; vertical-align: top; border-bottom: 2px solid var(--e-slate); }
.prose th { font: 700 .78rem var(--font-px); color: var(--e-paper); background: var(--e-ink); }
.note { background: var(--e-ink); padding: 14px 18px; box-shadow: inset var(--px) 0 0 var(--e-gold); }
.email { font-family: var(--font-body); font-weight: 800; color: var(--e-yellow); overflow-wrap: anywhere; }
p.email { font-size: 1.3rem; }

/* ---------- press kit ---------- */
.kit { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 40px; align-items: start; }
.kit dl { margin: 0; display: grid; gap: 14px; background: var(--e-ink); padding: 20px; box-shadow: inset 0 0 0 var(--px) var(--e-slate); position: sticky; top: 90px; }
.kit dt { font: 700 .72rem var(--font-px); color: var(--e-gold); text-transform: uppercase; }
.kit dd { margin: 2px 0 0; color: var(--e-white); }
@media (max-width: 860px) { .kit { grid-template-columns: 1fr; } .kit dl { position: static; } }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0 0 1.5em; }
.thumbs a { display: block; color: var(--text); text-decoration: none; font-size: .85rem; background: var(--e-ink); box-shadow: inset 0 0 0 2px var(--e-slate); }
.thumbs a:hover { box-shadow: inset 0 0 0 2px var(--e-orange); color: var(--e-yellow); }
.thumbs img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; image-rendering: pixelated; }
.thumbs .logo-bg { background: var(--e-night); padding: 18px; aspect-ratio: 16 / 10; display: grid; place-items: center; }
.thumbs .logo-bg img { aspect-ratio: auto; object-fit: contain; max-height: 100%; }
.thumbs span { display: block; padding: 8px 10px; }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.lost .lede { margin-inline: auto; }
.lost .code { font: 700 clamp(4rem, 16vw, 9rem)/1 var(--font-px); color: var(--e-orange); text-shadow: 6px 6px 0 var(--e-rust); margin: 0 0 12px; }

/* ---------- Dual Fuse page ---------- */
.game-hero { position: relative; overflow: hidden; text-align: center; padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 90px); background: var(--e-night); }
.game-hero .bg { position: absolute; inset: 0; }
.game-hero .bg img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.game-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(24 20 37 / .55), rgb(24 20 37 / .82) 60%, var(--e-night)); }
.game-hero .wrap { position: relative; }
.game-hero h1 { margin: 18px auto 8px; }
.game-hero .logo { width: min(620px, 92%); margin-inline: auto; }
.tagline { font: 700 clamp(1.1rem, 2.4vw, 1.5rem)/1.3 var(--font-px); color: var(--e-white); margin-bottom: 14px; }
.game-hero .lede { margin-inline: auto; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; counter-reset: step; }
.steps li { background: var(--e-ink); padding: 22px; box-shadow: inset 0 var(--px) 0 var(--e-blue); counter-increment: step; }
.steps li:nth-child(2) { box-shadow: inset 0 var(--px) 0 var(--e-orange); }
.steps li:nth-child(3) { box-shadow: inset 0 var(--px) 0 var(--e-magenta); }
.steps li::before { content: "0" counter(step); display: block; font: 700 1.6rem var(--font-px); color: var(--e-steel); margin-bottom: 6px; }
.steps p { margin: 0; color: var(--e-mist); }

.lab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 860px) { .lab { grid-template-columns: 1fr; } }
.lab-side { background: var(--e-night); padding: 18px; box-shadow: inset 0 0 0 2px var(--e-slate); }
.lab-side h3 { font-size: .9rem; }
.el-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.el { display: flex; align-items: center; gap: 8px; padding: 10px; border: 0; cursor: pointer; background: var(--e-ink); color: var(--e-mist); font: 700 .78rem var(--font-px); text-align: left; box-shadow: inset 0 0 0 2px var(--e-slate); }
.el i { width: 12px; height: 12px; background: var(--c, var(--e-fog)); flex: none; }
.el:hover { color: var(--e-white); }
.el[aria-pressed="true"] { color: var(--e-white); box-shadow: inset 0 0 0 2px var(--c, var(--e-fog)); background: var(--e-slate); }
.lab-result { display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 28px 22px; background: var(--e-night); box-shadow: inset 0 var(--px) 0 var(--ca, var(--e-orange)), inset 0 calc(var(--px) * -1) 0 var(--cb, var(--e-blue)), inset 0 0 0 2px var(--e-slate); }
.lab-result .pair { font: 700 .78rem var(--font-px); color: var(--e-fog); margin: 0 0 8px; }
.lab-result .name { font: 700 clamp(1.4rem, 3vw, 2rem)/1.15 var(--font-px); color: var(--e-yellow); margin: 0 0 10px; }
.lab-result .desc { margin: 0; color: var(--e-mist); }
.lab-result.pop .name { animation: pop .3s steps(3); }
@keyframes pop { 0% { transform: scale(.85); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.feature { background: var(--e-ink); padding: 22px; box-shadow: inset 0 0 0 2px var(--e-slate); }
.feature .num { display: block; font: 700 2rem/1 var(--font-px); color: var(--e-orange); margin-bottom: 10px; }
.feature p { margin: 0; color: var(--e-mist); }

.tracks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tracks span { font: 700 .75rem var(--font-px); padding: 6px 10px; background: var(--e-night); color: var(--e-paper); }
.roster { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.roster li { background: var(--e-night); padding: 10px; text-align: center; box-shadow: inset 0 0 0 2px var(--e-slate); }
.roster img { width: 100%; aspect-ratio: 9 / 10; object-fit: contain; image-rendering: pixelated; }
.roster b { display: block; font: 700 .8rem var(--font-px); margin-top: 6px; }
.roster span { font-size: .8rem; color: var(--e-fog); }

.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.shots figure { margin: 0; }
.shots .big { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr 1fr; } .shots .big { grid-column: 1 / -1; grid-row: auto; } }
.shot { display: block; width: 100%; padding: 0; border: 0; background: var(--e-night); cursor: zoom-in; box-shadow: inset 0 0 0 2px var(--e-slate); }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot:hover { box-shadow: 0 0 0 2px var(--e-orange); }
.shots figcaption { font-size: .85rem; color: var(--e-fog); margin-top: 6px; }
dialog.lightbox { padding: 12px; border: 0; background: var(--e-night); max-width: min(1280px, 96vw); box-shadow: 0 0 0 var(--px) var(--e-slate); color: var(--text); }
dialog.lightbox::backdrop { background: rgb(24 20 37 / .9); }
dialog.lightbox form { text-align: right; margin-bottom: 10px; }

.bosses { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.bosses li { background: var(--e-night); padding: 10px; text-align: center; box-shadow: inset 0 0 0 2px var(--e-slate); }
.bosses img { width: 100%; aspect-ratio: 394 / 258; object-fit: contain; image-rendering: pixelated; }
.bosses b { display: block; font: 700 .8rem var(--font-px); margin-top: 6px; }

.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--e-ink); box-shadow: inset 0 0 0 2px var(--e-slate); }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font: 700 .95rem var(--font-px); color: var(--e-white); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--e-orange); font-size: 1.3rem; }
.faq details[open] summary::after { content: "-"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--e-mist); }

/* ---------- footer ---------- */
footer { background: var(--e-night); border-top: var(--px) solid var(--e-ink); padding: 44px 0 36px; font-size: .92rem; }
footer .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .about { grid-column: 1 / -1; } }
footer h2 { font-size: .8rem; color: var(--e-gold); margin-bottom: 12px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer a { color: var(--e-mist); text-decoration: none; }
footer a:hover { color: var(--e-yellow); text-decoration: underline; }
footer .about p { color: var(--e-fog); max-width: 36ch; }
footer .legal { margin-top: 32px; padding-top: 18px; border-top: 2px solid var(--e-ink); color: var(--e-steel); font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  a.game:hover, .game:focus-within { transform: none; }
}

/* ---------- real game screenshots: true colors, smooth scaling ---------- */
img.real, .game .art img.real, .band .bg img.real, .game-hero .bg img.real, .thumbs img.real { image-rendering: auto; }
.game .art img.real { object-position: center top; }
.gallery { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 110px), 1fr)); gap: 8px; }
.gallery .shot { height: 100%; }
.gallery .shot img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: var(--e-night); }
.game.wide .gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 120px), 1fr)); }
.thumbs img.real { object-fit: contain; background: var(--e-night); }
