/* =============================================================
   Studio ASK — site stylesheet
   Theme: nuclear control room + electronics. Dark graphite base,
   reactor green as the live accent, cyan for electronics/ice,
   amber for warning lamps.
   ============================================================= */

:root {
  --bg: #0f171b;
  --bg-2: #121c22;
  --panel: #172329;
  --panel-2: #1c2b33;
  --line: #243642;
  --line-strong: #33505e;

  --ink: #e6f1ec;
  --ink-2: #aebfc6;
  --dim: #6f8790;

  --core: #8dff4a;      /* reactor green */
  --core-dim: #5fd62b;
  --cyan: #5bd9ff;      /* electronics / ice */
  --amber: #ffb43c;     /* warning lamp */
  --red: #ff5a4e;

  --accent: var(--core);
  --accent-ink: #0b1a07;

  --font-display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 4px;
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

body[data-accent="cyan"]  { --accent: var(--cyan);  --accent-ink: #04202b; }
body[data-accent="amber"] { --accent: var(--amber); --accent-ink: #2a1800; }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* PCB grid, fixed behind everything, faded toward the edges */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(93, 140, 160, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 140, 160, .10) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 100%);
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.05rem; font-weight: 600; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--dim); }
.note { font-size: .95rem; color: var(--dim); font-style: italic; }
.prose { max-width: 66ch; color: var(--ink-2); }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; list-style: square; }
.prose li { margin: .35em 0; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--line { border-top: 1px solid var(--line); }
.section__head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p { color: var(--ink-2); font-size: 1.1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.split--flip > :first-child { order: 2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: .8rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover {
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent),
              0 0 28px color-mix(in srgb, var(--accent) 35%, transparent);
}
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-2); background: rgba(255,255,255,.04); }
.btn--sm { padding: .55rem .9rem; font-size: .85rem; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.is-scrolled {
  background: rgba(15, 23, 27, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.nav.is-open {
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand img { height: 26px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 1.6rem; }
.nav__menu a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink-2);
  text-decoration: none;
  padding: .3rem 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__menu a:not(.btn):hover, .nav__menu a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sub navigation on game pages */
.subnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  background: rgba(15, 23, 27, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.subnav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a:not(.btn) {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: .85rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.subnav a:not(.btn):hover, .subnav a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.subnav .btn { margin-left: auto; flex: 0 0 auto; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 56px) 0 56px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.hero__video.is-playing { opacity: 1; }
/* Heavier scrim than the game hero: the copy and the schematic both sit on top. */
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,23,27,.94) 0%, rgba(15,23,27,.82) 45%, rgba(15,23,27,.62) 100%),
    linear-gradient(180deg, rgba(15,23,27,.72) 0%, rgba(15,23,27,.5) 45%, var(--bg) 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero__copy h1 { max-width: 12ch; }
.hero__copy .lead { margin-top: 1.25rem; }
.hero__glow {
  position: absolute;
  width: 900px; height: 900px;
  right: -300px; top: -200px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 60%);
  pointer-events: none;
}

/* Schematic (the signature element) */
.schematic { width: 100%; height: auto; overflow: visible; }
.schematic .trace {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.1s var(--ease) forwards;
}
.schematic .trace:nth-child(1) { animation-delay: .05s; }
.schematic .trace:nth-child(2) { animation-delay: .15s; }
.schematic .trace:nth-child(3) { animation-delay: .25s; }
.schematic .trace:nth-child(4) { animation-delay: .35s; }
.schematic .trace:nth-child(5) { animation-delay: .45s; }
.schematic .trace:nth-child(6) { animation-delay: .55s; }
.schematic .trace:nth-child(7) { animation-delay: .65s; }
.schematic .trace:nth-child(8) { animation-delay: .75s; }
.schematic .parts { opacity: 0; animation: fade .8s var(--ease) .5s forwards; }
.schematic .part { fill: var(--panel-2); stroke: var(--line-strong); stroke-width: 2; }
.schematic .via { fill: var(--bg); stroke: var(--line-strong); stroke-width: 2; }
.schematic .label { font-family: var(--font-mono); font-size: 11px; fill: var(--dim); letter-spacing: .04em; }
.schematic .flows { opacity: 0; animation: fade .8s var(--ease) 1.5s forwards; }
.schematic .flow {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 7 15;
  animation: flow 2.6s linear infinite;
}
.schematic .flow--hot   { stroke: var(--amber); }
.schematic .flow--steam { stroke: var(--cyan); }
.schematic .flow--water { stroke: #3f95b3; }
.schematic .flow--power { stroke: var(--core); stroke-dasharray: 3 12; animation-duration: 1.4s; }
.schematic .flow--rev   { animation-direction: reverse; }
.schematic .glow { opacity: 0; animation: fade 1s var(--ease) 1.7s forwards, pulse 3.2s ease-in-out 2.7s infinite; }
.schematic .core { fill: var(--core); filter: url(#glowFilter); }
.schematic .rods { animation: rods 7s ease-in-out infinite; }
.schematic .rod { stroke: var(--ink-2); stroke-width: 3; stroke-linecap: round; }

@keyframes draw  { to { stroke-dashoffset: 0; } }
@keyframes fade  { to { opacity: 1; } }
@keyframes flow  { to { stroke-dashoffset: -44; } }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes rods  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Status panel under hero copy */
.status {
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 85%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: .92rem;
}
.status__head {
  display: flex;
  justify-content: space-between;
  padding: .6rem 1rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--dim);
}
.status li {
  display: grid;
  grid-template-columns: 12px 1.3fr 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: .85rem 1rem;
  border-top: 1px solid var(--line);
}
.status li a:not(.led) { color: var(--ink); font-weight: 500; text-decoration: none; }
.status li a:not(.led):hover { color: var(--accent); }
.status__eta { color: var(--ink-2); white-space: nowrap; }
.status .btn { justify-self: end; }
.led {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--core);
  box-shadow: 0 0 8px var(--core);
  animation: blink 2.4s ease-in-out infinite;
}
.led--cyan  { background: var(--cyan);  box-shadow: 0 0 8px var(--cyan);  animation-delay: 1.2s; }
.led--amber { background: var(--amber); box-shadow: 0 0 8px var(--amber); }

/* ---------- Framed media ---------- */
.frame {
  display: block;
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.frame img, .frame video { width: 100%; height: auto; }
.frame--corners::before, .frame--corners::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--accent);
  pointer-events: none;
  z-index: 2;
}
.frame--corners::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.frame--corners::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ---------- Game feature blocks (home) ---------- */
.feature {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(40px, 6vw, 80px) 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature__media { grid-column: 1 / 8; }
.feature__body  { grid-column: 8 / -1; }
.feature--flip .feature__media { grid-column: 6 / -1; order: 2; }
.feature--flip .feature__body  { grid-column: 1 / 6; order: 1; }
.feature__logo { max-height: 110px; width: auto; margin-bottom: 1.25rem; }
.feature__body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.feature__body p { color: var(--ink-2); }
.feature__body .note { margin-top: 1.25rem; }

/* ---------- Gallery + lightbox ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery a {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 13, 16, .94);
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(94vw, 1500px);
  max-height: 86vh;
  width: auto; height: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lightbox__btn {
  position: absolute;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(23, 35, 41, .9);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox__btn:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: .85rem; color: var(--dim); }

/* ---------- Press kit inquiry cards ---------- */
.kits { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kit {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1.25rem;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color .2s;
}
.kit:hover { border-color: var(--line-strong); }
.kit img { max-height: 120px; width: auto; }
.kit p { color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--accent);
  font-weight: 500;
  transition: transform .25s var(--ease), background .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.faq details p { padding: 0 0 1.4rem; color: var(--ink-2); max-width: 66ch; }

/* ---------- Game page hero ---------- */
.gamehero {
  position: relative;
  min-height: 92vh;
  padding: calc(var(--nav-h) + 80px) 0 64px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.gamehero__bg { position: absolute; inset: 0; z-index: -1; }
.gamehero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gamehero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.gamehero__video.is-playing { opacity: 1; }
.gamehero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,23,27,.55) 0%, rgba(15,23,27,.15) 35%, rgba(15,23,27,.92) 85%, var(--bg) 100%),
    linear-gradient(90deg, rgba(15,23,27,.75) 0%, rgba(15,23,27,.2) 60%);
}
.gamehero__logo { max-width: 520px; width: 100%; margin-bottom: 1.5rem; filter: drop-shadow(0 8px 30px rgba(0,0,0,.6)); }
.gamehero .lead { max-width: 58ch; color: var(--ink); }
.gamehero__meta {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.gamehero__meta div { font-size: .95rem; }
.gamehero__meta dt { font-family: var(--font-mono); font-size: .75rem; color: var(--ink-2); letter-spacing: .04em; }
.gamehero__meta dd { margin: .15rem 0 0; font-family: var(--font-display); font-weight: 600; }

/* ---------- Feature checklist ---------- */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: .9rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  color: var(--ink-2);
}
.checklist li::before {
  content: "";
  width: 18px; height: 18px;
  margin-top: 3px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 8px 8px no-repeat;
}

/* ---------- Video row ---------- */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.videos video { width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* ---------- Wishlist band ---------- */
.band {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    var(--bg-2);
}
.band__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.band h2 { max-width: 16ch; }
.band .steam-badge { max-width: 240px; margin-top: 1.5rem; }
.steam-widget { width: 100%; height: 190px; border: 0; border-radius: var(--radius); }

/* ---------- Press kit ---------- */
.presskit { display: grid; grid-template-columns: 330px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.factsheet {
  position: sticky;
  top: calc(var(--nav-h) + 62px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 1.4rem;
}
.factsheet h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.factsheet dl { margin: 0; font-size: .9rem; }
.factsheet dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .05em; color: var(--dim); margin-top: .9rem; }
.factsheet dd { margin: .15rem 0 0; color: var(--ink); overflow-wrap: anywhere; }
.factsheet dd a { color: var(--ink); text-decoration-color: var(--line-strong); }
.factsheet dd a:hover { color: var(--accent); }
.pk-block { padding: 2.25rem 0; border-top: 1px solid var(--line); }
.pk-block:first-child { border-top: 0; padding-top: 0; }
.pk-block h3 { margin-bottom: 1rem; }
.pk-block .prose { max-width: 70ch; }
.assets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.asset {
  display: grid;
  grid-template-rows: 1fr auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.asset__preview { display: grid; place-items: center; padding: 22px; min-height: 150px; background: repeating-conic-gradient(rgba(255,255,255,.035) 0 25%, transparent 0 50%) 0 0 / 22px 22px; }
.asset__preview--dark { background: #0a0f12; }
.asset__preview img { max-height: 110px; width: auto; }
.asset__meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 1rem; border-top: 1px solid var(--line); font-size: .88rem; }
.asset__meta span { color: var(--ink-2); }
.spec { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec th, .spec td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-family: var(--font-mono); font-weight: 500; font-size: .75rem; letter-spacing: .05em; color: var(--dim); }
.spec td:first-child { color: var(--ink-2); width: 120px; }
.spec-tabs { display: flex; gap: .5rem; margin-bottom: 1rem; }
.spec-tabs button {
  font-family: var(--font-display); font-weight: 600; font-size: .85rem;
  padding: .5rem .9rem; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: transparent; color: var(--ink-2); cursor: pointer;
}
.spec-tabs button[aria-selected="true"] { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.spec-panel[hidden] { display: none; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { font-family: var(--font-mono); font-size: .78rem; padding: .3rem .6rem; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--ink-2); }
.linklist li { padding: .5rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.linklist span { color: var(--dim); font-size: .9rem; }

/* ---------- Timeline (old games) ---------- */
.timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.timeline li { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.timeline li h4 { margin-bottom: .3rem; }
.timeline li p { color: var(--ink-2); font-size: .95rem; }

/* ---------- Footer / contact ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(48px, 7vw, 88px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.footer__brand img { height: 30px; width: auto; margin-bottom: 1.25rem; }
.footer__tag { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); max-width: 20ch; }
.footer__mail { display: inline-block; margin-top: 1rem; font-size: 1.05rem; }
.footer h4 { margin-bottom: 1rem; color: var(--ink); }
.footer__col a { display: inline-block; padding: .3rem 0; color: var(--ink-2); text-decoration: none; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 1.1rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--dim);
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
.gallery[data-reveal-stagger] a { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.gallery[data-reveal-stagger].in a { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__schematic { max-width: 640px; margin: 0 auto; }
  .presskit { grid-template-columns: 1fr; }
  .factsheet { position: static; }
  .feature__media, .feature--flip .feature__media { grid-column: 1 / -1; order: 1; }
  .feature__body, .feature--flip .feature__body { grid-column: 1 / -1; order: 2; }
  .band__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: .5rem var(--gutter) 1.25rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav.is-open .nav__menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav__menu a:not(.btn) { padding: .8rem 0; width: 100%; border-bottom: 1px solid var(--line) !important; }
  .nav__menu .btn { margin-top: 1rem; }
  .split, .split--flip { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .gallery, .gallery--3 { grid-template-columns: repeat(2, 1fr); }
  .kits, .checklist, .videos, .assets, .timeline { grid-template-columns: 1fr; }
  .status li { grid-template-columns: 12px 1fr; }
  .status li .status__eta { grid-column: 2; white-space: normal; }
  .status li .btn { grid-column: 2; justify-self: start; }
  .gamehero { min-height: 70vh; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .gallery, .gallery--3 { grid-template-columns: 1fr; }
  .lightbox__prev, .lightbox__next { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .schematic .trace { stroke-dashoffset: 0; }
  .schematic .parts, .schematic .flows, .schematic .glow { opacity: 1; }
  [data-reveal], .gallery[data-reveal-stagger] a { opacity: 1; transform: none; }
  .gamehero__video, .hero__video { display: none; }
}
