/* ══════════════════════════════════════════════════════════════
   GHOST IN THE SHELL — 25th Anniversary Blu-ray
   Section 9 collector interface · design system
   ══════════════════════════════════════════════════════════════ */

:root {
  --bg: #020a09;
  --bg-2: #04120f;
  --panel: rgba(7, 26, 21, 0.72);
  --panel-hard: #051410;
  --line: rgba(61, 255, 158, 0.22);
  --line-strong: rgba(61, 255, 158, 0.55);
  --phos: #3dff9e;
  --phos-dim: #1d8f5c;
  --cyan: #38e1ff;
  --amber: #ffb454;
  --magenta: #ff3d81;
  --text: #d7f5e7;
  --text-dim: #79a794;
  --font-display: 'Michroma', 'IBM Plex Mono', monospace;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --nav-h: 58px;
  --gutter: clamp(18px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--phos); text-decoration: none; }
button { font-family: var(--font-mono); cursor: pointer; }

::selection { background: var(--phos); color: #02110b; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 300;
  background: var(--phos); color: #02110b; padding: 8px 14px;
  font-weight: 700; font-size: 12px; letter-spacing: 0.08em;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

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

/* ── global overlays ─────────────────────────────────────── */

.scanlines {
  position: fixed; inset: 0; z-index: 120; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(0, 0, 0, 0.14) 2px 4px
  );
  mix-blend-mode: multiply;
  opacity: 0.55;
}

.vignette {
  position: fixed; inset: 0; z-index: 119; pointer-events: none;
  background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(1, 6, 5, 0.55) 100%);
}

/* ── boot sequence ───────────────────────────────────────── */

.boot {
  position: fixed; inset: 0; z-index: 200;
  background: #010806;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  transition: opacity 0.55s ease, visibility 0.55s;
}
.boot.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.boot-inner {
  width: min(640px, 100%);
  border: 1px solid var(--line);
  background: rgba(3, 14, 11, 0.9);
  padding: 22px 24px 18px;
  box-shadow: 0 0 60px rgba(61, 255, 158, 0.08), inset 0 0 40px rgba(61, 255, 158, 0.03);
}

.boot-head {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.22em; color: var(--cyan);
  border-bottom: 1px solid var(--line); padding-bottom: 12px;
}
.boot-dot { width: 8px; height: 8px; background: var(--phos); border-radius: 50%; animation: blink 1s steps(2) infinite; }

.boot-log {
  font-family: var(--font-mono);
  font-size: 12.5px; line-height: 1.9;
  color: var(--phos);
  min-height: 190px;
  padding: 14px 0;
  white-space: pre-wrap;
}
.boot-log .ok { color: var(--text-dim); }
.boot-log .warn { color: var(--amber); }

.boot-bar { height: 10px; border: 1px solid var(--line-strong); padding: 2px; }
.boot-bar-fill {
  height: 100%; width: 0%;
  background: repeating-linear-gradient(90deg, var(--phos) 0 6px, transparent 6px 9px);
  transition: width 0.18s linear;
}

.boot-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; font-size: 12px; letter-spacing: 0.18em; color: var(--phos);
}
.boot-skip {
  background: none; border: 1px solid var(--line); color: var(--text-dim);
  font-size: 11px; letter-spacing: 0.18em; padding: 6px 12px;
  transition: color 0.2s, border-color 0.2s;
}
.boot-skip:hover { color: var(--phos); border-color: var(--line-strong); }

/* ── HUD nav ─────────────────────────────────────────────── */

.hud-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: 0 var(--gutter);
  background: linear-gradient(to bottom, rgba(2, 10, 9, 0.92), rgba(2, 10, 9, 0.78));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.hud-nav-left { display: flex; align-items: center; gap: 12px; color: var(--phos); }
.nav-mark { width: 26px; height: 26px; flex: none; }
.nav-id { display: flex; flex-direction: column; line-height: 1.3; }
.nav-id strong { font-size: 11.5px; letter-spacing: 0.14em; color: var(--text); }
.nav-id span { font-size: 9.5px; letter-spacing: 0.3em; color: var(--text-dim); }

.hud-nav-links { display: flex; gap: 4px; }
.hud-nav-links a {
  font-size: 11px; letter-spacing: 0.16em; color: var(--text-dim);
  padding: 8px 12px; position: relative;
  transition: color 0.2s;
}
.hud-nav-links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px;
  height: 1px; background: var(--phos); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s;
}
.hud-nav-links a:hover, .hud-nav-links a.is-active { color: var(--phos); }
.hud-nav-links a:hover::after, .hud-nav-links a.is-active::after { transform: scaleX(1); }
.hud-nav-links a.nav-cta { border: 1px solid var(--line-strong); color: var(--phos); margin-left: 6px; }
.hud-nav-links a.nav-cta::after { display: none; }
.hud-nav-links a.nav-cta:hover { background: rgba(61, 255, 158, 0.1); }

.hud-nav-right { display: flex; align-items: center; gap: 16px; }
.nav-clock { font-size: 11.5px; letter-spacing: 0.14em; color: var(--cyan); }
.nav-led { font-size: 9.5px; letter-spacing: 0.24em; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.nav-led i { width: 7px; height: 7px; background: var(--phos); border-radius: 50%; animation: blink 1.6s steps(2) infinite; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 1px solid var(--line); padding: 10px 9px;
}
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--phos); transition: transform 0.25s, opacity 0.25s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── shared section chrome ───────────────────────────────── */

.panel { position: relative; }

.section {
  padding: clamp(72px, 10vh, 120px) var(--gutter);
  max-width: 1340px;
  margin: 0 auto;
}

.section-head {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: clamp(30px, 5vh, 54px);
}
.section-index {
  font-size: 11px; letter-spacing: 0.3em; color: var(--cyan);
  border: 1px solid rgba(56, 225, 255, 0.35); padding: 5px 10px; flex: none;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.4vw, 34px);
  letter-spacing: 0.12em; color: var(--text);
  text-shadow: 0 0 24px rgba(61, 255, 158, 0.25);
  white-space: nowrap;
}
.section-rule { flex: 1; height: 1px; background: linear-gradient(to right, var(--line-strong), transparent); }

.section-lede { max-width: 720px; color: var(--text-dim); margin-bottom: 34px; }
.section-lede strong { color: var(--amber); }

/* decrypt reveal base state (JS animates in) */
[data-decrypt] { opacity: 0; }
[data-decrypt].is-live { opacity: 1; }
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ── hero ────────────────────────────────────────────────── */

.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(61, 255, 158, 0.06), transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(56, 225, 255, 0.05), transparent 60%),
    var(--bg);
}

.hero-rain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; pointer-events: none; }

.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(61, 255, 158, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 255, 158, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, black 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1340px; margin: 0 auto; width: 100%;
}

.hero-eyebrow { font-size: 11px; letter-spacing: 0.3em; color: var(--cyan); margin-bottom: 20px; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 8.2vw, 108px);
  line-height: 1.02;
  letter-spacing: 0.04em;
  color: var(--text);
  text-shadow: 0 0 40px rgba(61, 255, 158, 0.3);
  margin-bottom: 14px;
}
.hero-title-line { display: block; }
.hero-title-mid {
  font-size: 0.38em; letter-spacing: 0.5em; color: var(--phos);
  padding-left: 0.2em;
}

.hero-jp { font-size: 14px; letter-spacing: 0.5em; color: var(--text-dim); margin-bottom: 8px; }
.hero-jp span { letter-spacing: 0.2em; font-size: 11px; }
.hero-sub { font-size: 13px; letter-spacing: 0.24em; color: var(--phos); margin-bottom: 26px; }

.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.hero-chips li {
  font-size: 10.5px; letter-spacing: 0.18em; color: var(--text);
  border: 1px solid var(--line); padding: 7px 12px;
  background: rgba(61, 255, 158, 0.05);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block; font-size: 11.5px; letter-spacing: 0.2em; font-weight: 700;
  padding: 14px 22px; border: 1px solid var(--phos);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-solid { background: var(--phos); color: #02110b; }
.btn-solid:hover { box-shadow: 0 0 28px rgba(61, 255, 158, 0.45); }
.btn-ghost { background: transparent; color: var(--phos); }
.btn-ghost:hover { background: rgba(61, 255, 158, 0.12); }

/* hero cover */
.hero-cover { position: relative; justify-self: end; width: min(360px, 100%); }
.hero-cover-frame {
  position: relative;
  border: 1px solid var(--line-strong);
  padding: 10px;
  background: rgba(4, 16, 13, 0.6);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(61, 255, 158, 0.07);
  transform: perspective(1100px) rotateY(var(--tilt-x, 0deg)) rotateX(var(--tilt-y, 0deg));
  transition: transform 0.18s ease-out;
}
.hero-cover-frame img { width: 100%; filter: saturate(0.92) contrast(1.04); }
.corner { position: absolute; width: 18px; height: 18px; border: 2px solid var(--phos); }
.corner.tl { top: -4px; left: -4px; border-right: 0; border-bottom: 0; }
.corner.tr { top: -4px; right: -4px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: -4px; left: -4px; border-right: 0; border-top: 0; }
.corner.br { bottom: -4px; right: -4px; border-left: 0; border-top: 0; }

.hero-cover-scan {
  position: absolute; left: 10px; right: 10px; top: 10px; height: 26%;
  background: linear-gradient(to bottom, transparent, rgba(61, 255, 158, 0.16), transparent);
  animation: scan-sweep 4.5s linear infinite;
  pointer-events: none;
}
.hero-cover-cap { margin-top: 14px; font-size: 10px; letter-spacing: 0.26em; color: var(--text-dim); text-align: center; }

.hero-scrollcue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 9.5px; letter-spacing: 0.34em; color: var(--text-dim);
}
.hero-scrollcue i {
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, var(--phos), transparent);
  animation: cue-drop 1.8s ease-in-out infinite;
}

/* ── overview ────────────────────────────────────────────── */

.overview-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.lede { font-size: 17px; color: var(--text); margin-bottom: 20px; }
.lede em, .lede strong { color: var(--phos); font-style: normal; }
.overview-main p:not(.lede) { color: var(--text-dim); margin-bottom: 20px; }
.overview-main p strong { color: var(--text); }

.overview-quote {
  border-left: 2px solid var(--phos);
  padding: 6px 0 6px 20px; margin-top: 30px;
  color: var(--text); font-size: 15.5px;
  background: linear-gradient(to right, rgba(61, 255, 158, 0.05), transparent);
}

.dossier {
  border: 1px solid var(--line); background: var(--panel);
  padding: 24px;
}
.dossier-title { font-size: 12px; letter-spacing: 0.3em; color: var(--cyan); margin-bottom: 18px; }
.dossier-list > div {
  display: grid; grid-template-columns: 118px 1fr; gap: 12px;
  padding: 10px 0; border-bottom: 1px dashed rgba(61, 255, 158, 0.14);
}
.dossier-list > div:last-child { border-bottom: 0; }
.dossier-list dt { font-size: 10px; letter-spacing: 0.2em; color: var(--text-dim); padding-top: 2px; }
.dossier-list dd { font-size: 13px; color: var(--text); }

/* ── specs ───────────────────────────────────────────────── */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.spec-card {
  border: 1px solid var(--line); background: var(--panel);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.spec-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--phos), transparent 70%);
  opacity: 0.6;
}
.spec-video { grid-column: span 4; }
.spec-audio { grid-column: span 2; grid-row: span 2; }
.spec-subs { grid-column: span 2; }
.spec-region { grid-column: span 2; }
.spec-disc { grid-column: span 2; }

.spec-card-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.spec-card-head h3 { font-size: 12.5px; letter-spacing: 0.26em; color: var(--text); font-weight: 700; }
.spec-tag {
  font-size: 9.5px; letter-spacing: 0.2em; color: var(--cyan);
  border: 1px solid rgba(56, 225, 255, 0.35); padding: 4px 8px; white-space: nowrap;
}
.spec-tag-ok { color: var(--phos); border-color: var(--line-strong); }

/* video diagram */
.video-diagram svg { width: 100%; height: auto; margin-bottom: 16px; }
.vd-outer { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.vd-frame { fill: rgba(61, 255, 158, 0.05); stroke: var(--phos); stroke-width: 1.2; }
.vd-scan { stroke: var(--cyan); stroke-width: 1.4; opacity: 0.9; animation: vd-scan 3.2s ease-in-out infinite; }
.vd-text { fill: var(--text); font-family: var(--font-mono); font-size: 15px; letter-spacing: 0.2em; }
.vd-dim { fill: var(--text-dim); font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.18em; }

.bitrate-head { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: 0.2em; color: var(--text-dim); margin-bottom: 8px; }
.bitrate-head strong { color: var(--phos); font-size: 13px; }
.bitrate-bar { position: relative; height: 12px; border: 1px solid var(--line); }
.bitrate-fill {
  height: 100%; width: var(--fill, 0%);
  background: repeating-linear-gradient(90deg, var(--phos) 0 5px, rgba(61, 255, 158, 0.35) 5px 8px);
  transition: width 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bitrate-tick { position: absolute; top: -3px; bottom: -3px; width: 1px; background: rgba(215, 245, 231, 0.35); }
.bitrate-scale { display: flex; justify-content: space-between; font-size: 9px; color: var(--text-dim); margin-top: 5px; letter-spacing: 0.1em; }

.spec-rows { list-style: none; margin-top: 16px; }
.spec-rows li {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 8px 0; border-bottom: 1px dashed rgba(61, 255, 158, 0.14);
  font-size: 12px;
}
.spec-rows li:last-child { border-bottom: 0; }
.spec-rows span { color: var(--text-dim); letter-spacing: 0.18em; font-size: 10px; padding-top: 2px; flex: none; }
.spec-rows strong { color: var(--text); font-weight: 500; text-align: right; }

/* audio */
.wave { width: 100%; height: 54px; display: block; margin-bottom: 18px; border: 1px solid var(--line); background: rgba(2, 10, 9, 0.5); }

.audio-track { border: 1px solid var(--line); margin-bottom: 12px; }
.audio-track-btn {
  width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px;
  background: rgba(61, 255, 158, 0.04); border: 0; color: var(--text);
  padding: 13px 14px; text-align: left;
  transition: background 0.2s;
}
.audio-track-btn:hover { background: rgba(61, 255, 158, 0.1); }
.at-name { font-size: 11.5px; letter-spacing: 0.14em; font-weight: 700; }
.at-meta { font-size: 9.5px; letter-spacing: 0.18em; color: var(--cyan); grid-column: 1; }
.at-chev { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 8px; height: 8px; border-right: 2px solid var(--phos); border-bottom: 2px solid var(--phos); transform: rotate(45deg); transition: transform 0.25s; }
.audio-track-btn[aria-expanded="true"] .at-chev { transform: rotate(-135deg); }
.audio-track-body {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  border-top: 1px solid transparent;
}
.audio-track.is-open .audio-track-body { max-height: 420px; border-top-color: var(--line); }
.audio-track-body p { font-size: 12.5px; color: var(--text-dim); padding: 0 14px 16px; }

.chmap {
  position: relative; height: 130px; margin: 14px;
  border: 1px dashed rgba(61, 255, 158, 0.25);
}
.ch {
  position: absolute; width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid var(--phos); color: var(--phos); font-size: 10px; letter-spacing: 0.08em;
  background: rgba(61, 255, 158, 0.08);
  animation: ch-pulse 2.4s ease-in-out infinite;
}
.ch.fl { top: 12px; left: 14px; }
.ch.c { top: 6px; left: 50%; transform: translateX(-50%); }
.ch.fr { top: 12px; right: 14px; }
.ch.lfe { top: 52px; left: 50%; transform: translateX(-50%); border-color: var(--cyan); color: var(--cyan); animation-delay: 0.4s; }
.ch.sl { bottom: 12px; left: 26px; animation-delay: 0.8s; }
.ch.sr { bottom: 12px; right: 26px; animation-delay: 0.8s; }
.ch-seat {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  font-size: 8.5px; letter-spacing: 0.3em; color: var(--text-dim);
}
.chmap-2 { height: 100px; }
.chmap-2 .ch-seat { bottom: 24px; }

/* subtitle matrix */
.matrix { width: 100%; border-collapse: collapse; font-size: 12px; }
.matrix th, .matrix td { border: 1px solid var(--line); padding: 11px 10px; text-align: left; }
.matrix thead th { font-size: 9.5px; letter-spacing: 0.22em; color: var(--text-dim); background: rgba(61, 255, 158, 0.05); }
.matrix tbody th { letter-spacing: 0.14em; font-size: 11px; color: var(--text); }
.m-yes { color: var(--phos); }
.m-no { color: var(--text-dim); }
.spec-note { font-size: 11.5px; color: var(--text-dim); margin-top: 14px; line-height: 1.7; }

/* region */
.region-lock { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.region-cell {
  border: 1px solid var(--line); padding: 16px 8px; text-align: center;
  color: var(--text-dim);
}
.region-cell span { display: block; font-family: var(--font-display); font-size: 26px; margin-bottom: 6px; }
.region-cell em { font-style: normal; font-size: 8.5px; letter-spacing: 0.22em; }
.region-on { border-color: var(--phos); color: var(--phos); background: rgba(61, 255, 158, 0.08); box-shadow: 0 0 24px rgba(61, 255, 158, 0.12) inset; }

/* disc gauge */
.disc-gauge svg { width: 120px; margin: 0 auto 6px; display: block; }
.dg-ring { fill: none; stroke: rgba(61, 255, 158, 0.15); stroke-width: 7; }
.dg-fill {
  fill: none; stroke: var(--phos); stroke-width: 7;
  stroke-dasharray: 326.7; stroke-dashoffset: 326.7;
  transform: rotate(-90deg); transform-origin: center;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.dg-hub { fill: rgba(61, 255, 158, 0.05); stroke: var(--line-strong); stroke-width: 1; }
.dg-text { fill: var(--text); font-family: var(--font-mono); font-size: 15px; font-weight: 700; }
.dg-sub { fill: var(--text-dim); font-family: var(--font-mono); font-size: 6.5px; letter-spacing: 0.2em; }
.is-in .dg-fill, .spec-card.armed .dg-fill { stroke-dashoffset: 40; }

/* ── gallery ─────────────────────────────────────────────── */

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.shot {
  position: relative; border: 1px solid var(--line); background: var(--panel-hard);
  padding: 0; overflow: hidden; display: block; width: 100%;
  aspect-ratio: 16 / 9;
  opacity: 0;
}
.shot img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: saturate(0.9);
}
.shot::after {
  /* thermoptic shimmer sweep */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(61, 255, 158, 0.22) 46%, rgba(56, 225, 255, 0.28) 52%, transparent 66%);
  transform: translateX(-120%);
  pointer-events: none;
}
.shot.is-in { animation: shot-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.shot.is-in::after { animation: shimmer 0.9s ease 0.25s forwards; }
.shot:hover img { transform: scale(1.045); filter: saturate(1.1) contrast(1.05); }
.shot:hover::after { animation: shimmer 0.9s ease forwards; }
.shot-id {
  position: absolute; top: 8px; left: 8px;
  font-size: 9px; letter-spacing: 0.24em; color: var(--phos);
  background: rgba(2, 10, 9, 0.8); border: 1px solid var(--line); padding: 3px 7px;
}
.shot:nth-child(1), .shot:nth-child(6) { grid-column: span 2; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 180;
  background: rgba(1, 7, 6, 0.94);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 4vh 4vw;
}
.lightbox[hidden] { display: none; }
.lightbox-stage {
  position: relative; max-width: min(1024px, 92vw);
  border: 1px solid var(--line-strong); padding: 8px; background: var(--panel-hard);
  overflow: hidden;
}
.lightbox-stage img { max-height: 62vh; width: auto; max-width: 100%; margin: 0 auto; }
.lightbox-scan {
  position: absolute; inset: 8px; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(61, 255, 158, 0.05) 3px 5px);
}
.lightbox-stage.is-swap img { animation: lb-scan 0.4s ease; }
.lightbox-cap { font-size: 12px; letter-spacing: 0.2em; color: var(--text); text-align: center; }
.lightbox-ui { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; }
.lightbox-ui button {
  background: none; border: 1px solid var(--line); color: var(--phos);
  font-size: 10.5px; letter-spacing: 0.2em; padding: 10px 16px;
  transition: background 0.2s;
}
.lightbox-ui button:hover { background: rgba(61, 255, 158, 0.12); }
#lb-count { font-size: 11px; letter-spacing: 0.24em; color: var(--text-dim); }

/* ── archive (disc contents) ─────────────────────────────── */

.archive { max-width: 920px; }
.arc-file { border: 1px solid var(--line); margin-bottom: 10px; background: var(--panel); }
.arc-btn {
  width: 100%; display: grid;
  grid-template-columns: 26px 1fr auto auto;
  gap: 12px; align-items: center;
  background: none; border: 0; color: var(--text);
  padding: 16px 18px; text-align: left;
  transition: background 0.2s;
}
.arc-btn:hover { background: rgba(61, 255, 158, 0.07); }
.arc-icon { color: var(--phos); transition: transform 0.25s; font-size: 12px; }
.arc-btn[aria-expanded="true"] .arc-icon { transform: rotate(90deg); }
.arc-name { font-size: 13px; letter-spacing: 0.14em; font-weight: 700; }
.arc-size { font-size: 10.5px; letter-spacing: 0.16em; color: var(--cyan); }
.arc-state { font-size: 9px; letter-spacing: 0.26em; color: var(--text-dim); border: 1px solid var(--line); padding: 4px 8px; }
.arc-file.is-decrypted .arc-state { color: var(--phos); border-color: var(--line-strong); }
.arc-state-warn { color: var(--amber); border-color: rgba(255, 180, 84, 0.4); }
.arc-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.arc-file.is-decrypted .arc-body { max-height: 260px; }
.arc-body p { font-size: 13px; color: var(--text-dim); padding: 0 18px 18px 56px; }
.arc-empty .arc-name { color: var(--amber); }
.arc-print .arc-name { color: var(--cyan); }

/* ── editions ────────────────────────────────────────────── */

.editions-grid {
  display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(26px, 4vw, 56px); align-items: start;
}

.packshot-flip {
  position: relative; width: min(340px, 100%); margin: 0 auto;
  aspect-ratio: 1594 / 2006;
  perspective: 1200px;
}
.pack-face {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border: 1px solid var(--line-strong); padding: 8px; background: var(--panel-hard);
  transition: transform 0.8s cubic-bezier(0.3, 0.7, 0.2, 1);
}
.pack-face img { width: 100%; height: calc(100% - 30px); object-fit: cover; object-position: top; }
.pack-face figcaption { font-size: 9.5px; letter-spacing: 0.26em; color: var(--text-dim); text-align: center; padding-top: 9px; }
.pack-back { transform: rotateY(180deg); }
.packshot-flip.is-flipped .pack-front { transform: rotateY(-180deg); }
.packshot-flip.is-flipped .pack-back { transform: rotateY(0deg); }
.packshot-ui { text-align: center; margin-top: 20px; }
.packshot-ui p { font-size: 11.5px; color: var(--text-dim); margin-top: 14px; letter-spacing: 0.06em; }

.compare { border: 1px solid var(--line); background: var(--panel); padding: 24px; }
.compare-title { font-size: 12.5px; letter-spacing: 0.26em; margin-bottom: 20px; color: var(--text); }
.compare-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.compare-tabs [role="tab"] {
  background: none; border: 1px solid var(--line); color: var(--text-dim);
  padding: 10px 16px; font-size: 11.5px; letter-spacing: 0.16em; font-weight: 700;
  transition: all 0.2s;
}
.compare-tabs [role="tab"] span { display: block; font-size: 8.5px; letter-spacing: 0.22em; font-weight: 400; margin-top: 3px; }
.compare-tabs [role="tab"][aria-selected="true"] {
  border-color: var(--phos); color: var(--phos); background: rgba(61, 255, 158, 0.08);
  box-shadow: 0 0 20px rgba(61, 255, 158, 0.1);
}
.cmp-panel.is-active { animation: cmp-in 0.45s ease; }
.cmp-row {
  display: grid; grid-template-columns: 130px 1fr minmax(120px, auto);
  gap: 14px; align-items: center; padding: 9px 0;
  border-bottom: 1px dashed rgba(61, 255, 158, 0.12);
}
.cmp-row:last-child { border-bottom: 0; }
.cmp-row > span { font-size: 9.5px; letter-spacing: 0.2em; color: var(--text-dim); }
.cmp-row strong { font-size: 11.5px; color: var(--text); font-weight: 500; text-align: right; }
.cmp-bar { height: 10px; border: 1px solid var(--line); position: relative; }
.cmp-bar i {
  display: block; height: 100%; width: var(--w, 0%);
  background: repeating-linear-gradient(90deg, var(--phos) 0 4px, rgba(61, 255, 158, 0.3) 4px 7px);
  transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cmp-bar-warn i { background: repeating-linear-gradient(90deg, var(--amber) 0 4px, rgba(255, 180, 84, 0.3) 4px 7px); }
.cmp-panel > p { font-size: 12.5px; color: var(--text-dim); margin-top: 16px; line-height: 1.7; }

.compare-covers { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.compare-covers img {
  width: 74px; height: auto; border: 1px solid var(--line);
  filter: saturate(0.85); transition: filter 0.3s, transform 0.3s;
}
.compare-covers img:hover { filter: saturate(1.1); transform: translateY(-4px); }
.compare-note { font-size: 10.5px; letter-spacing: 0.08em; color: var(--text-dim); margin-top: 16px; }

/* packshot variant thumbs */
.packshot-thumbs { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.pack-thumb {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--line); color: var(--text-dim);
  font-size: 8.5px; letter-spacing: 0.2em; padding: 7px;
  transition: border-color 0.2s, color 0.2s;
}
.pack-thumb img { width: 44px; height: 56px; object-fit: cover; }
.pack-thumb.is-on, .pack-thumb:hover { border-color: var(--phos); color: var(--phos); }

/* ── verdict ─────────────────────────────────────────────── */

.verdict-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 56px); align-items: start;
}

.readouts { border: 1px solid var(--line); background: var(--panel); padding: 26px; }
.readouts-title { font-size: 11.5px; letter-spacing: 0.24em; color: var(--text); margin-bottom: 26px; }
.readouts-title span { display: block; font-size: 9px; color: var(--cyan); letter-spacing: 0.22em; margin-top: 6px; }
.readout { margin-bottom: 20px; }
.readout-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 7px; }
.readout-head span { font-size: 10px; letter-spacing: 0.26em; color: var(--text-dim); width: 76px; }
.readout-num, .readout-num-static { font-family: var(--font-display); font-size: 22px; color: var(--phos); }
.readout-head em { font-style: normal; font-size: 10px; color: var(--text-dim); }
.readout-track { height: 8px; border: 1px solid var(--line); }
.readout-track i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(to right, var(--phos-dim), var(--phos));
  box-shadow: 0 0 14px rgba(61, 255, 158, 0.35);
  transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.readouts.is-in .readout-track i, .readouts.armed .readout-track i { width: var(--score); }
.readout-na .readout-num-static { color: var(--amber); }
.readout-overall { border-top: 1px solid var(--line); padding-top: 18px; }
.readout-overall .readout-num { font-size: 30px; color: var(--cyan); }
.readout-overall .readout-track i { background: linear-gradient(to right, #1b7f8f, var(--cyan)); box-shadow: 0 0 14px rgba(56, 225, 255, 0.35); }
.readouts-user { font-size: 11.5px; color: var(--text-dim); margin-top: 22px; letter-spacing: 0.04em; }
.readouts-user strong { color: var(--text); }

.reviewex blockquote {
  border: 1px solid var(--line); border-left: 3px solid var(--phos);
  background: var(--panel); padding: 18px 20px; margin-bottom: 16px;
}
.reviewex blockquote p { font-size: 13.5px; color: var(--text); }
.reviewex cite { display: block; font-style: normal; font-size: 10px; letter-spacing: 0.24em; color: var(--cyan); margin-top: 10px; }
.reviewex-title { font-size: 12px; letter-spacing: 0.2em; color: var(--amber); margin-bottom: 22px; line-height: 1.8; }
.reviewex .btn { margin-top: 8px; }

/* ── acquire ─────────────────────────────────────────────── */

.acquire-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.acq-card {
  display: flex; flex-direction: column; gap: 10px;
  border: 1px solid var(--line); background: var(--panel);
  padding: 26px 22px; color: var(--text);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
a.acq-card:hover {
  border-color: var(--phos); transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(61, 255, 158, 0.08);
}
.acq-vendor { font-size: 10px; letter-spacing: 0.3em; color: var(--cyan); }
.acq-price { font-family: var(--font-display); font-size: 30px; color: var(--phos); }
.acq-note { font-size: 10.5px; letter-spacing: 0.12em; color: var(--text-dim); line-height: 1.7; }
.acq-go { font-size: 10px; letter-spacing: 0.26em; color: var(--phos); margin-top: auto; padding-top: 12px; border-top: 1px dashed rgba(61, 255, 158, 0.18); }
.acq-static .acq-go { color: var(--text-dim); }

/* ── footer ──────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(4, 18, 15, 0.6), #010806);
  padding: 54px var(--gutter) 34px;
}
.footer-grid {
  max-width: 1340px; margin: 0 auto 34px;
  display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: clamp(26px, 4vw, 60px);
}
.footer-brand { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.14em; color: var(--phos); margin-bottom: 14px; }
.footer p { font-size: 12px; color: var(--text-dim); max-width: 460px; }
.footer em { color: var(--text); font-style: normal; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col span { font-size: 9.5px; letter-spacing: 0.3em; color: var(--cyan); margin-bottom: 6px; }
.footer-col a { font-size: 12px; color: var(--text-dim); transition: color 0.2s; }
.footer-col a:hover { color: var(--phos); }
.footer-egg { font-size: 10.5px !important; margin-top: 10px; }
.footer-egg kbd {
  border: 1px solid var(--line-strong); padding: 1px 7px; color: var(--phos);
  font-family: var(--font-mono); font-size: 10px;
}
.footer-line {
  max-width: 1340px; margin: 0 auto; padding-top: 22px;
  border-top: 1px dashed rgba(61, 255, 158, 0.15);
  font-size: 9.5px; letter-spacing: 0.22em; color: var(--text-dim); text-align: center;
}

/* ── thermoptic easter egg ───────────────────────────────── */

body[data-thermoptic="on"] main,
body[data-thermoptic="on"] .footer,
body[data-thermoptic="on"] .hud-nav {
  opacity: 0.14;
  filter: saturate(1.6) hue-rotate(12deg) blur(0.6px);
  transition: opacity 0.6s, filter 0.6s;
}
body main, body .footer, body .hud-nav { transition: opacity 0.6s, filter 0.6s; }
body[data-thermoptic="on"]::after {
  content: "THERMOPTIC CAMOUFLAGE ENGAGED — PRESS T TO RE-MATERIALIZE";
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 160; font-size: 10px; letter-spacing: 0.3em; color: var(--cyan);
  background: rgba(2, 10, 9, 0.85); border: 1px solid rgba(56, 225, 255, 0.4);
  padding: 10px 18px; white-space: nowrap;
  animation: glitch-nudge 2.2s steps(3) infinite;
}

/* ── keyframes ───────────────────────────────────────────── */

@keyframes blink { 50% { opacity: 0.15; } }
@keyframes scan-sweep { 0% { top: 10px; } 100% { top: calc(100% - 26% - 10px); } }
@keyframes cue-drop { 0%, 100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes vd-scan { 0%, 100% { transform: translateY(-36px); } 50% { transform: translateY(36px); } }
@keyframes ch-pulse { 0%, 100% { box-shadow: 0 0 0 rgba(61, 255, 158, 0.5); } 50% { box-shadow: 0 0 14px rgba(61, 255, 158, 0.5); } }
@keyframes shot-in {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); }
}
@keyframes shimmer { to { transform: translateX(120%); } }
@keyframes lb-scan {
  0% { opacity: 0; clip-path: inset(48% 0 48% 0); filter: brightness(2.4) saturate(0); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); filter: none; }
}
@keyframes cmp-in { 0% { opacity: 0; transform: translateX(12px); } 100% { opacity: 1; transform: none; } }
@keyframes glitch-nudge {
  0%, 88%, 100% { transform: translateX(-50%); }
  90% { transform: translateX(calc(-50% - 3px)) skewX(-4deg); }
  94% { transform: translateX(calc(-50% + 3px)); }
}

/* glitch pulse on section titles (restrained: brief, infrequent) */
.section-title.glitching { animation: title-glitch 0.28s steps(2) 1; }
@keyframes title-glitch {
  0% { text-shadow: 2px 0 var(--magenta), -2px 0 var(--cyan); transform: translateX(0); }
  33% { text-shadow: -3px 0 var(--magenta), 3px 0 var(--cyan); transform: translateX(2px); clip-path: inset(10% 0 62% 0); }
  66% { text-shadow: 2px 0 var(--cyan), -2px 0 var(--magenta); transform: translateX(-2px); clip-path: inset(58% 0 8% 0); }
  100% { text-shadow: 0 0 24px rgba(61, 255, 158, 0.25); transform: none; clip-path: none; }
}

/* ── responsive ──────────────────────────────────────────── */

@media (max-width: 1080px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-video, .spec-audio, .spec-subs, .spec-region, .spec-disc { grid-column: auto; grid-row: auto; }
  .spec-video { grid-column: span 2; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .shot:nth-child(1), .shot:nth-child(6) { grid-column: span 1; }
  .verdict-grid, .editions-grid { grid-template-columns: 1fr; }
  .acquire-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hud-nav-links {
    position: fixed; top: var(--nav-h); right: 0; left: 0;
    flex-direction: column; gap: 0;
    background: rgba(2, 10, 9, 0.97);
    border-bottom: 1px solid var(--line-strong);
    padding: 10px var(--gutter) 18px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .hud-nav-links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .hud-nav-links a { padding: 13px 4px; font-size: 13px; border-bottom: 1px dashed rgba(61, 255, 158, 0.12); }
  .hud-nav-links a.nav-cta { margin: 10px 0 0; text-align: center; }
  .nav-burger { display: flex; }
  .nav-clock { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cover { justify-self: center; width: min(300px, 84vw); order: -1; }
  .overview-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 560px) {
  body { font-size: 14px; }
  .section { padding: 60px var(--gutter); }
  .section-title { white-space: normal; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .hero-title { font-size: clamp(34px, 11vw, 52px); }
  .hero-actions .btn { width: 100%; text-align: center; }
  .arc-btn { grid-template-columns: 20px 1fr auto; }
  .arc-size { display: none; }
  .cmp-row { grid-template-columns: 92px 1fr; }
  .cmp-row strong { grid-column: 1 / -1; text-align: left; }
  .region-cell span { font-size: 20px; }
  .lightbox-stage img { max-height: 48vh; }
  body[data-thermoptic="on"]::after { font-size: 8px; white-space: normal; text-align: center; max-width: 86vw; }
}

/* ── 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;
  }
  [data-reveal], [data-decrypt] { opacity: 1 !important; transform: none !important; }
  .shot { opacity: 1 !important; }
  .hero-rain { display: none; }
  .hero-cover-scan { display: none; }
  .dg-fill { stroke-dashoffset: 40; }
  .readout-track i { width: var(--score) !important; }
}
