/* ═══ GHOST IN THE SHELL — COLLECTOR DOSSIER ═══ */

@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jbm-400.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jbm-700.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Michroma';
  src: url('fonts/michroma-400.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'DotGothic';
  src: url('fonts/dotgothic-400.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}

:root {
  --bg: #04080a;
  --bg2: #071114;
  --panel: #0a1518;
  --line: #133a2f;
  --grid: rgba(0, 255, 170, 0.06);
  --green: #00ff9c;
  --green-dim: #1a8f66;
  --cyan: #4ce1ff;
  --amber: #ffc857;
  --red: #ff4c5e;
  --text: #c9e8d8;
  --text-dim: #6e9b87;
  --mono: 'JetBrains Mono', monospace;
  --disp: 'Michroma', sans-serif;
  --jp: 'DotGothic', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
}

::selection { background: rgba(0,255,156,.25); color: #eafff4; }

/* ambient layers */
#rain-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: .5;
}
.scanlines {
  position: fixed; inset: 0; z-index: 40; pointer-events: none;
  background: repeating-linear-gradient(
    0deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px
  );
  mix-blend-mode: multiply;
}
.vignette {
  position: fixed; inset: 0; z-index: 39; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55) 100%);
}

.hero, .section, .footer { position: relative; z-index: 1; }

/* ═══ BOOT OVERLAY ═══ */
.boot-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: #02060a;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s ease;
}
.boot-overlay.done { opacity: 0; pointer-events: none; }
.boot-log {
  font-family: var(--mono);
  font-size: 13px; line-height: 1.9;
  color: var(--green);
  width: min(560px, 88vw);
  text-shadow: 0 0 8px rgba(0,255,156,.5);
  white-space: pre-wrap;
}
.boot-log .ok { color: var(--cyan); }
.boot-log .warn { color: var(--amber); }

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 6vh 5vw 4vh;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  max-width: 1300px; margin: 0 auto; width: 100%;
}

.art-frame {
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(0,255,156,.12), 0 24px 80px rgba(0,0,0,.7);
  overflow: hidden;
}
.art-frame img { display: block; width: 100%; height: auto; filter: saturate(1.08) contrast(1.04); }
.art-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(76,225,255,.14) 46%, rgba(0,255,156,.2) 50%, rgba(76,225,255,.14) 54%, transparent 70%);
  background-size: 250% 100%;
  animation: shimmer 6s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}
@keyframes shimmer {
  0%, 100% { background-position: 110% 0; }
  50% { background-position: -10% 0; }
}
.art-hud-tl, .art-hud-br {
  position: absolute;
  font-size: 10px; letter-spacing: .18em;
  color: var(--cyan);
  background: rgba(2,10,12,.72);
  padding: 3px 8px;
  border: 1px solid rgba(76,225,255,.3);
}
.art-hud-tl { top: 10px; left: 10px; }
.art-hud-br { bottom: 10px; right: 10px; }

.hero-copy { min-width: 0; }
.hero-kicker {
  font-size: 11px; letter-spacing: .3em; color: var(--green);
  border-left: 3px solid var(--green); padding-left: 12px;
  margin-bottom: 18px;
}
.jp-title {
  font-family: var(--jp);
  font-size: clamp(28px, 4.5vw, 52px);
  color: var(--green);
  text-shadow: 0 0 22px rgba(0,255,156,.45);
  margin-bottom: 4px;
}
.main-title {
  font-family: var(--disp);
  font-size: clamp(30px, 5.2vw, 68px);
  line-height: 1.02;
  color: #eafff4;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.main-title span { display: block; }
.main-title span:last-child {
  color: var(--cyan);
  text-shadow: 0 0 28px rgba(76,225,255,.35);
}
.hero-sub {
  font-size: 12px; letter-spacing: .22em; color: var(--amber);
  margin-bottom: 26px;
}

.hero-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 26px;
}
.chip {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(10,21,24,.8);
  padding: 8px 14px;
  min-width: 92px;
}
.chip-label { font-size: 9px; letter-spacing: .2em; color: var(--text-dim); }
.chip-val { font-size: 13px; font-weight: 700; color: var(--green); }

.hero-synopsis {
  max-width: 56ch;
  color: var(--text);
  margin-bottom: 30px;
  font-size: 14.5px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .18em; font-weight: 700;
  padding: 13px 26px;
  text-decoration: none;
  border: 1px solid var(--green);
  position: relative;
  transition: box-shadow .2s, background .2s, transform .1s;
  display: inline-block;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #03110b; background: var(--green);
}
.btn-primary:hover { box-shadow: 0 0 24px rgba(0,255,156,.55); }
.btn-ghost { color: var(--green); background: transparent; }
.btn-ghost:hover { background: rgba(0,255,156,.1); box-shadow: 0 0 18px rgba(0,255,156,.3); }

.hero-scrollhint {
  position: absolute; bottom: 22px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px; letter-spacing: .4em; color: var(--text-dim);
  display: flex; align-items: center; gap: 10px;
}
.hero-scrollhint span {
  display: inline-block; width: 1px; height: 34px;
  background: linear-gradient(var(--green), transparent);
  animation: dive 1.8s ease-in-out infinite;
}
@keyframes dive {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══ SECTIONS ═══ */
.section {
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(60px, 9vh, 110px) 5vw;
}
.sec-head {
  display: flex; align-items: baseline; gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.sec-index {
  font-family: var(--disp);
  font-size: 13px; color: var(--cyan);
  border: 1px solid rgba(76,225,255,.4);
  padding: 4px 9px;
}
.sec-title {
  font-family: var(--disp);
  font-size: clamp(17px, 2.4vw, 26px);
  letter-spacing: .04em;
  color: #eafff4;
}
.sec-status {
  margin-left: auto;
  font-size: 10px; letter-spacing: .2em; color: var(--green);
  display: flex; align-items: center; gap: 8px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 1.6s ease-in-out infinite;
  display: inline-block;
}
@keyframes pulse { 50% { opacity: .3; } }

.sec-intro { color: var(--text-dim); margin: -18px 0 28px; font-size: 13.5px; }
.subhead {
  font-family: var(--disp); font-size: 13px; color: var(--green);
  letter-spacing: .08em; margin: 40px 0 18px;
}
.subhead-note { color: var(--text-dim); font-family: var(--mono); font-size: 11px; letter-spacing: 0; }

/* ═══ OVERVIEW ═══ */
.overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}
.overview-copy .lede {
  font-size: 17px; color: #eafff4;
  margin-bottom: 18px;
  border-left: 3px solid var(--cyan);
  padding-left: 16px;
}
.overview-copy p { margin-bottom: 14px; font-size: 14px; }
.overview-copy strong { color: var(--cyan); }

.fact-table { display: flex; flex-direction: column; }
.fact {
  display: grid; grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 7px 12px;
  border-bottom: 1px solid rgba(19,58,47,.5);
  font-size: 12.5px;
}
.fact:nth-child(odd) { background: rgba(10,21,24,.55); }
.fact dt { color: var(--text-dim); font-size: 10px; letter-spacing: .16em; padding-top: 2px; }
.fact dd { color: var(--text); }

/* timeline */
.timeline-block { margin-top: 40px; }
.timeline {
  display: flex; align-items: flex-end; gap: 4px;
  height: 110px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 16px 18px 26px;
  position: relative;
}
.tl-bar {
  flex: 1;
  background: linear-gradient(to top, rgba(0,255,156,.15), rgba(0,255,156,.75));
  border-top: 2px solid var(--green);
  position: relative;
  cursor: default;
  transition: filter .15s;
  min-width: 0;
}
.tl-bar.key-op {
  background: linear-gradient(to top, rgba(255,200,87,.15), rgba(255,200,87,.8));
  border-top-color: var(--amber);
}
.tl-bar:hover { filter: brightness(1.5); }
.tl-bar .tl-tip {
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: #020d09;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 10px;
  padding: 4px 8px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .15s;
  z-index: 5;
}
.tl-bar:hover .tl-tip { opacity: 1; }
.tl-bar .tl-label {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%);
  font-size: 9px; color: var(--text-dim);
}
.tl-split {
  position: absolute; top: -6px; bottom: -6px;
  width: 1px;
  background: repeating-linear-gradient(var(--cyan) 0 4px, transparent 4px 8px);
}
.tl-split-label {
  position: absolute; top: -26px;
  transform: translateX(-50%);
  font-size: 9px; letter-spacing: .14em; color: var(--cyan);
}
.timeline-legend {
  display: flex; gap: 26px; flex-wrap: wrap;
  margin-top: 12px;
  font-size: 10px; letter-spacing: .12em; color: var(--text-dim);
}
.tl-swatch {
  display: inline-block; width: 10px; height: 10px;
  margin-right: 6px; vertical-align: -1px;
}
.tl-ep { background: rgba(0,255,156,.7); }
.tl-key { background: rgba(255,200,87,.8); }
.tl-total { margin-left: auto; color: var(--cyan); }

/* ═══ SPEC HUD ═══ */
.spec-hud { display: flex; flex-direction: column; gap: 14px; }
.spec-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10,21,24,.9), rgba(7,17,20,.9));
}
.spec-panel[data-open] { border-color: rgba(0,255,156,.45); box-shadow: 0 0 30px rgba(0,255,156,.07); }
.spec-panel-head {
  width: 100%;
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: none; border: none;
  color: var(--text);
  font-family: var(--mono);
  cursor: pointer;
  text-align: left;
}
.spec-panel-head:hover { background: rgba(0,255,156,.05); }
.spec-glyph { color: var(--green); font-size: 17px; }
.spec-panel-title { font-family: var(--disp); font-size: 13px; letter-spacing: .1em; color: #eafff4; }
.spec-peek { margin-left: auto; font-size: 11px; color: var(--text-dim); letter-spacing: .1em; }
.spec-caret {
  width: 9px; height: 9px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
  transition: transform .25s;
  flex: none;
}
.spec-panel[data-open] .spec-caret { transform: rotate(225deg); }
.spec-panel-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
  overflow: hidden;
}
.spec-panel[data-open] .spec-panel-body { grid-template-rows: 1fr; }
.spec-panel-body > * { min-height: 0; overflow: hidden; }
.spec-panel-body {
  padding: 0 20px;
}
.spec-panel[data-open] .spec-panel-body { padding-bottom: 24px; }

.spec-rows { display: flex; flex-direction: column; margin: 12px 0 8px; }
.spec-rows > div {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 12px; padding: 6px 0;
  border-bottom: 1px dotted rgba(19,58,47,.7);
  font-size: 12.5px;
}
.spec-rows dt { color: var(--text-dim); font-size: 10px; letter-spacing: .16em; padding-top: 2px; }
.spec-rows dd { color: var(--green); }

.bitrate-scope, .waveform-scope, .region-readout { margin-top: 20px; }
.scope-label { font-size: 9px; letter-spacing: .22em; color: var(--text-dim); margin-bottom: 8px; }
.scope-bars {
  display: flex; align-items: flex-end; gap: 3px;
  height: 64px;
  border: 1px solid var(--line);
  background: #050d10;
  padding: 8px 10px;
}
.scope-bars i {
  flex: 1;
  background: linear-gradient(to top, rgba(76,225,255,.2), var(--cyan));
  display: block;
  min-height: 3px;
  animation: barlive 2.2s ease-in-out infinite;
}
@keyframes barlive {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.35); }
}
.scope-axis {
  display: flex; justify-content: space-between;
  font-size: 9px; color: var(--text-dim); margin-top: 4px;
}

.audio-table, .subs-matrix, .compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 12px 0 8px;
}
.audio-table th, .subs-matrix th, .compare-table th {
  text-align: left;
  font-size: 9px; letter-spacing: .2em; font-weight: 400;
  color: var(--text-dim);
  padding: 6px 10px;
  border-bottom: 1px solid var(--line);
}
.audio-table td, .subs-matrix td, .compare-table td {
  padding: 7px 10px;
  border-bottom: 1px solid rgba(19,58,47,.45);
}
.audio-table tr:hover td, .subs-matrix tr:hover td { background: rgba(0,255,156,.04); }
.audio-table td:first-child, .subs-matrix td:first-child { color: #eafff4; }
.subs-matrix td { text-align: center; }
.subs-matrix td:first-child, .subs-matrix th:first-child { text-align: left; }
.yes { color: var(--green); }
.no { color: var(--text-dim); opacity: .55; }

.channel-diagram {
  position: relative;
  height: 170px;
  border: 1px solid var(--line);
  background: #050d10;
  margin-top: 18px;
}
.ch {
  position: absolute;
  width: 34px; height: 34px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(76,225,255,.08);
  animation: chping 3s ease-in-out infinite;
}
@keyframes chping { 50% { box-shadow: 0 0 12px rgba(76,225,255,.5); } }
.ch-lf { top: 12px; left: 22%; }
.ch-c  { top: 8px;  left: 50%; transform: translateX(-50%); border-color: var(--green); color: var(--green); }
.ch-rf { top: 12px; right: 22%; }
.ch-ls { top: 48%; left: 8%; }
.ch-rs { top: 48%; right: 8%; }
.ch-lb { bottom: 14px; left: 24%; }
.ch-rb { bottom: 14px; right: 24%; }
.ch-lfe {
  position: absolute;
  bottom: 8px; left: 50%; transform: translateX(-50%);
  font-size: 9px; letter-spacing: .2em; color: var(--amber);
  border: 1px dashed var(--amber);
  padding: 3px 8px;
}
.ch-listener {
  position: absolute; top: 58%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border: 1px solid rgba(0,255,156,.5);
  border-radius: 50%;
}
.ch-listener span {
  position: absolute; inset: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,156,.7), transparent 70%);
  animation: pulse 2s infinite;
}
#waveform { width: 100%; height: 56px; display: block; border: 1px solid var(--line); background: #050d10; }

.region-chips { display: flex; align-items: center; gap: 10px; }
.rc {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  border: 1px solid var(--line);
}
.rc-on { border-color: var(--green); color: var(--green); box-shadow: 0 0 10px rgba(0,255,156,.25); }
.rc-label { font-size: 10px; letter-spacing: .14em; color: var(--text-dim); margin-left: 8px; }

/* ═══ FRAME VIEWER ═══ */
.viewer-stage {
  position: relative;
  border: 1px solid var(--line);
  background: #020608;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
#frame-canvas { display: block; width: 100%; height: auto; }
.viewer-hud-top, .viewer-hud-bottom {
  position: absolute; left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 10px 14px;
  font-size: 10px; letter-spacing: .18em;
  color: var(--cyan);
  background: linear-gradient(rgba(2,8,10,.8), transparent);
  pointer-events: none;
}
.viewer-hud-top { top: 0; }
.viewer-hud-bottom {
  bottom: 0;
  background: linear-gradient(transparent, rgba(2,8,10,.85));
  color: var(--green);
}
.viewer-controls {
  display: flex; align-items: center; gap: 14px;
  margin-top: 14px; flex-wrap: wrap;
}
.vbtn {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  background: none; color: var(--green);
  border: 1px solid var(--line);
  padding: 9px 16px;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
}
.vbtn:hover { background: rgba(0,255,156,.1); box-shadow: 0 0 14px rgba(0,255,156,.2); }
.frame-tabs { display: flex; gap: 6px; flex: 1; justify-content: center; flex-wrap: wrap; }
.ftab {
  width: 42px; height: 6px;
  border: none;
  background: var(--line);
  cursor: pointer;
  transition: background .2s;
}
.ftab.active { background: var(--green); box-shadow: 0 0 8px rgba(0,255,156,.6); }

/* ═══ DISC CONTENTS ═══ */
.discs-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 40px);
}
.disc-label {
  font-family: var(--disp); font-size: 13px;
  color: var(--cyan);
  margin-bottom: 14px;
  letter-spacing: .06em;
}
.disc-label span { font-family: var(--mono); font-size: 10px; color: var(--text-dim); letter-spacing: .1em; }
.file-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.file-node {
  border: 1px solid var(--line);
  background: var(--panel);
}
.file-node-head {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  background: none; border: none;
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12.5px;
  cursor: pointer;
  text-align: left;
}
.file-node-head:hover { background: rgba(0,255,156,.05); }
.file-lock { font-size: 11px; color: var(--amber); flex: none; transition: color .3s; }
.file-node.decrypted .file-lock { color: var(--green); }
.file-name { letter-spacing: .04em; }
.file-size { margin-left: auto; font-size: 10px; color: var(--text-dim); flex: none; }
.file-body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.file-node.decrypted .file-body { max-height: 200px; }
.file-body-inner {
  padding: 4px 14px 14px 40px;
  font-size: 12px; color: var(--text-dim);
}
.file-body-inner em { color: var(--green); font-style: normal; }

/* ═══ EDITIONS ═══ */
.edition-tabs { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.etab {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  padding: 10px 20px;
  background: none; color: var(--text-dim);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all .2s;
}
.etab.active {
  color: #03110b; background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(0,255,156,.35);
}
.edition-stage {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}
.edition-cover {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.edition-cover img { display: block; width: 100%; height: auto; transition: opacity .3s; }
.cover-sheen {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.07) 50%, transparent 60%);
  background-size: 220% 100%;
  animation: shimmer 7s ease-in-out infinite;
  pointer-events: none;
}
.edition-detail h3 {
  font-family: var(--disp); font-size: 17px; color: #eafff4;
  margin-bottom: 6px;
}
.ed-price {
  font-size: 22px; color: var(--green); font-weight: 700;
  margin-bottom: 16px;
}
.ed-price span { font-size: 11px; color: var(--text-dim); font-weight: 400; letter-spacing: .1em; }
.edition-detail ul { list-style: none; margin-bottom: 18px; }
.edition-detail li {
  padding: 7px 0 7px 22px;
  position: relative;
  font-size: 13px;
  border-bottom: 1px dotted rgba(19,58,47,.6);
}
.edition-detail li::before {
  content: '▸';
  position: absolute; left: 0;
  color: var(--green);
}
.ed-note { font-size: 11.5px; color: var(--amber); letter-spacing: .04em; }

.art-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.art-strip figure {
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.art-strip img { display: block; width: 100%; height: auto; transition: transform .5s ease, filter .5s ease; }
.art-strip figure:hover img { transform: scale(1.04); filter: saturate(1.25); }
.art-strip figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  font-size: 9px; letter-spacing: .22em;
  color: var(--cyan);
  background: linear-gradient(transparent, rgba(2,8,10,.9));
  padding: 22px 10px 8px;
}

/* ═══ REVIEWS ═══ */
.score-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}
.score-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.score-cat { font-size: 9px; letter-spacing: .26em; color: var(--text-dim); margin-bottom: 14px; }
.score-value {
  font-family: var(--disp);
  font-size: 34px;
  color: var(--green);
  text-shadow: 0 0 20px rgba(0,255,156,.4);
}
.score-max { font-size: 13px; color: var(--text-dim); }
.score-bar {
  height: 5px;
  background: rgba(19,58,47,.6);
  margin-top: 16px;
  position: relative;
}
.score-bar i {
  position: absolute; inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--green-dim), var(--green));
  box-shadow: 0 0 8px rgba(0,255,156,.5);
  width: 0;
  transition: width 1.2s cubic-bezier(.2,.8,.2,1);
}
.score-note { font-size: 10px; color: var(--text-dim); margin-top: 10px; }

.quote-wall {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.quote-wall blockquote {
  border-left: 3px solid var(--green);
  background: var(--panel);
  padding: 20px;
}
.quote-wall p { font-size: 13px; margin-bottom: 12px; color: var(--text); }
.quote-wall cite { font-size: 9px; letter-spacing: .18em; color: var(--cyan); font-style: normal; }

.comparison { margin-top: 40px; }
.cmp-good { color: var(--green); }
.cmp-bad { color: var(--red); opacity: .85; }

/* ═══ PURCHASE ═══ */
.buy-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.buy-card {
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 22px;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.buy-card:hover {
  border-color: var(--green);
  box-shadow: 0 0 24px rgba(0,255,156,.18);
  transform: translateY(-2px);
}
.buy-vendor { font-family: var(--disp); font-size: 12px; color: #eafff4; letter-spacing: .06em; }
.buy-price { font-size: 24px; font-weight: 700; color: var(--green); }
.buy-note { font-size: 10.5px; color: var(--text-dim); }
.buy-cta { font-size: 10px; letter-spacing: .16em; color: var(--cyan); margin-top: 10px; }
.buy-card:hover .buy-cta { color: var(--green); }

/* ═══ FOOTER ═══ */
.footer {
  border-top: 1px solid var(--line);
  padding: 52px 5vw 90px;
  text-align: center;
}
.jp-mark {
  font-family: var(--jp);
  font-size: 30px; color: var(--green);
  opacity: .8;
  margin-bottom: 18px;
}
.foot-line { font-size: 10px; letter-spacing: .1em; color: var(--text-dim); margin-bottom: 8px; max-width: 720px; margin-left: auto; margin-right: auto; }
.foot-signal {
  margin-top: 22px;
  font-size: 10px; letter-spacing: .3em; color: var(--green);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}

/* glitch pulse on section titles when scrolled into view */
.sec-title.decrypted-now { animation: glitchin .45s steps(3) 1; }
@keyframes glitchin {
  0% { transform: translateX(0); filter: none; }
  25% { transform: translateX(-3px); filter: hue-rotate(90deg); }
  50% { transform: translateX(2px) skewX(3deg); }
  75% { transform: translateX(-1px); filter: hue-rotate(-40deg); }
  100% { transform: none; filter: none; }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 300px; }
  .overview-grid { grid-template-columns: 1fr; }
  .discs-grid { grid-template-columns: 1fr; }
  .score-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-wall { grid-template-columns: 1fr; }
  .buy-grid { grid-template-columns: repeat(2, 1fr); }
  .edition-stage { grid-template-columns: 1fr; }
  .edition-cover { max-width: 280px; }
  .spec-peek { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .hero { padding-top: 9vh; }
  .hero-chips .chip { min-width: 78px; padding: 6px 10px; }
  .art-strip { grid-template-columns: 1fr; }
  .score-grid, .buy-grid { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 1fr; gap: 2px; }
  .spec-rows > div { grid-template-columns: 1fr; gap: 2px; }
  .timeline { padding: 10px 8px 24px; }
  .tl-bar .tl-label { display: none; }
  .tl-bar:nth-child(odd) .tl-label { display: block; }
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  .art-shimmer, .cover-sheen { animation: none; opacity: .3; }
  .hero-scrollhint span, .pulse-dot, .ch, .scope-bars i { animation: none; }
  html { scroll-behavior: auto; }
  .score-bar i { transition: none; }
}
