/* ============================================================================
   PREY: THE ESCAPE — official site styles
   Vanilla CSS. No frameworks, no build step, no external fonts or images.
   Design language: near-black ground, blood-red light, film-poster typography.
   ========================================================================== */

/* ============================== TOKENS ================================== */
:root {
  --black: #07070a;
  --black-2: #0b0b10;
  --panel: #101017;
  --panel-2: #14141c;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --blood: #b3121a;
  --blood-bright: #e11d24;
  --blood-deep: #6d0a10;
  --ember: #ff6a3d;

  --text: #ece7e1;
  --text-dim: #a8a39d;
  --text-faint: #6f6b68;

  --font-display: "Arial Narrow", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;

  --header-h: 68px;
  --radius: 3px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  --glow: 0 0 40px rgba(179, 18, 26, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================== RESET =================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html,
body { margin: 0; padding: 0; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img,
svg { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol { margin: 0; padding: 0; list-style: none; }

p { margin: 0 0 1.1em; }

h1,
h2,
h3,
h4 { margin: 0 0 0.5em; font-family: var(--font-display); font-weight: 900; line-height: 1.05; }

code,
kbd,
samp { font-family: var(--font-mono); font-size: 0.86em; }

::selection { background: var(--blood); color: #fff; }

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

[hidden] { display: none !important; }

section[id],
header[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ============================ UTILITIES ================================= */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.wrap--narrow { max-width: 860px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 400;
  padding: 10px 18px;
  background: var(--blood);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.skip-link:focus { top: 12px; }

/* ============================ PRELOAD =================================== */
.preload {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, #17070a 0%, #07070a 55%, #000 100%);
  overflow: hidden;
}

.preload__galaxy {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 30% 35%, rgba(179, 18, 26, 0.28), transparent 42%),
    radial-gradient(circle at 70% 65%, rgba(109, 10, 16, 0.4), transparent 46%),
    radial-gradient(circle at 50% 50%, rgba(255, 106, 61, 0.08), transparent 60%);
  filter: blur(20px);
  animation: drift 18s ease-in-out infinite alternate;
}

.preload__ring {
  position: absolute;
  width: min(78vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(225, 29, 36, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(179, 18, 26, 0.25) inset;
  animation: pulse 3.4s ease-in-out infinite;
}
.preload__ring::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}

.preload__text {
  position: relative;
  width: min(90vw, 640px);
  text-align: center;
  padding: 0 20px;
}

.preload__type {
  display: block;
  min-height: 9.6em;
  white-space: pre-wrap;
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 1.6vw, 0.82rem);
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
  color: #c9c2b9;
  text-shadow: 0 0 18px rgba(225, 29, 36, 0.45);
}

.preload__text p {
  margin: 18px 0 0;
  font-size: 0.62rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--blood-bright);
}

/* The preload screen can never trap the page: it fades itself out. */
@keyframes drift {
  from { transform: translate3d(-3%, 2%, 0) scale(1.02); }
  to { transform: translate3d(3%, -2%, 0) scale(1.08); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.99); }
  50% { opacity: 0.95; transform: scale(1.01); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================== FX LAYERS =============================== */
.fx {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  overflow: hidden;
}

.fx__fog {
  position: absolute;
  width: 140%;
  height: 140%;
  left: -20%;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, 0.05), transparent 55%),
    radial-gradient(ellipse at 75% 70%, rgba(179, 18, 26, 0.09), transparent 58%);
  filter: blur(30px);
  opacity: 0.7;
}

.fx__fog--1 { top: -30%; animation: fog-a 42s ease-in-out infinite alternate; }
.fx__fog--2 { top: 10%; animation: fog-b 58s ease-in-out infinite alternate; opacity: 0.45; }

@keyframes fog-a {
  from { transform: translate3d(-4%, 0, 0); }
  to { transform: translate3d(6%, -3%, 0); }
}
@keyframes fog-b {
  from { transform: translate3d(5%, 2%, 0) scale(1.06); }
  to { transform: translate3d(-6%, -2%, 0) scale(1); }
}

.fx__grain {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  animation: grain 6s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-2%, 1%, 0); }
  40% { transform: translate3d(1%, -2%, 0); }
  60% { transform: translate3d(-1%, 2%, 0); }
  80% { transform: translate3d(2%, 1%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.fx__scanlines {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.06) 0px,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px,
    transparent 3px
  );
}

.fx__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(0, 0, 0, 0.62) 100%);
}

.fx__crt {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(120, 220, 255, 0.05), transparent 70%);
  transition: opacity 0.4s ease;
}
html[data-crt="on"] .fx__crt { opacity: 1; animation: crt-flicker 7s steps(4) infinite; }
@keyframes crt-flicker {
  0%, 96%, 100% { opacity: 1; }
  97% { opacity: 0.55; }
  98% { opacity: 0.9; }
}

/* Opt-out / reduced motion: kill every animation at once. */
html[data-fx="off"] .fx__grain,
html[data-fx="off"] .fx__fog,
html[data-fx="off"] .fx__crt,
html[data-fx="off"] .preload__galaxy,
html[data-fx="off"] .preload__ring,
html[data-fx="off"] .preload__ring::after,
html[data-fx="off"] .final__flicker,
html[data-fx="off"] .scroll-hint span { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .fx__fog,
  .fx__grain { display: none; }
}

/* ============================== HEADER ================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(7, 7, 10, 0.94), rgba(7, 7, 10, 0.62) 70%, rgba(7, 7, 10, 0));
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

@supports (backdrop-filter: blur(12px)) {
  .site-header {
    background: rgba(7, 7, 10, 0.66);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom-color: var(--line);
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex-shrink: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 22px rgba(179, 18, 26, 0.45);
}

.brand__text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.94rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand__colon { color: var(--blood-bright); }

/* ---- nav ---- */
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--blood-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover,
.nav a.is-active { color: var(--text); }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }

/* ---- tools ---- */
.site-header__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.chip:hover { color: var(--text); border-color: var(--line-strong); }

.chip[aria-pressed="true"] {
  color: var(--blood-bright);
  border-color: rgba(225, 29, 36, 0.45);
  background: rgba(179, 18, 26, 0.12);
}
.chip[aria-pressed="true"] .chip__dot {
  box-shadow: 0 0 10px var(--blood-bright);
}

/* ---- burger ---- */
.burger {
  display: none;
  width: 42px;
  height: 38px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
}

.burger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* =============================== HERO =================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 74px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg,
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: brightness(0.5) saturate(0.7) contrast(1.12);
  transform: scale(1.06);
  animation: hero-breathe 30s ease-in-out infinite alternate;
}

@keyframes hero-breathe {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.13) translate3d(-1.4%, -1%, 0); }
}

.hero__shade {
  background:
    radial-gradient(ellipse at 22% 40%, rgba(179, 18, 26, 0.34), transparent 55%),
    linear-gradient(to top, var(--black) 4%, rgba(7, 7, 10, 0.82) 42%, rgba(7, 7, 10, 0.45) 78%, rgba(7, 7, 10, 0.72) 100%);
}

.hero__content {
  position: relative;
  max-width: 900px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 7px 15px 7px 9px;
  border: 1px solid rgba(225, 29, 36, 0.35);
  border-radius: 999px;
  background: rgba(179, 18, 26, 0.13);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #f0c9c6;
}

.badge-android {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blood);
  color: #fff;
}

.hero__title {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 8.6vw, 6.6rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 0.94;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.4),
    0 18px 60px rgba(0, 0, 0, 0.85),
    0 0 90px rgba(179, 18, 26, 0.45);
}

.hero__tagline {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(0.68rem, 1.5vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--blood-bright);
}

.hero__desc {
  max-width: 56ch;
  margin: 0 0 34px;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.75;
  color: #cdc6bd;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 30px;
}

.hero__spec {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.pill {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 26px;
  height: 42px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.scroll-hint span {
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: var(--blood-bright);
  animation: hint 1.9s ease-in-out infinite;
}
@keyframes hint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0.2; }
}

/* ============================== BUTTONS ================================= */
.btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.2;
  transition: transform 0.25s var(--ease), box-shadow 0.3s ease,
    background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  will-change: transform;
}

.btn__meta {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  opacity: 0.72;
}

.btn--primary {
  background: linear-gradient(180deg, #d1161f 0%, var(--blood) 55%, #8d0c14 100%);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 18px 40px -18px rgba(225, 29, 36, 0.85);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 26px 55px -20px rgba(225, 29, 36, 1);
}

.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-2px);
}

.btn--quiet {
  padding: 14px 18px;
  color: var(--text-dim);
  letter-spacing: 0.16em;
}
.btn--quiet:hover { color: var(--text); }

.btn--block { display: flex; width: 100%; }

.btn--lg { padding: 19px 40px; font-size: 0.9rem; }

.btn--download .btn__label { display: block; }

.btn.is-loading { pointer-events: none; opacity: 0.82; }

/* ============================== SECTIONS ================================ */
.section {
  position: relative;
  padding: clamp(72px, 9vw, 124px) 0;
  border-top: 1px solid var(--line);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(179, 18, 26, 0.07), transparent 62%);
}

.section > .wrap { position: relative; }

.kicker {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blood-bright);
}

.section__title {
  margin: 0 0 40px;
  font-size: clamp(1.9rem, 4.4vw, 3.3rem);
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: #fff;
  max-width: 22ch;
}

.section__title--big {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  max-width: none;
}

.section__sub {
  margin: -26px 0 42px;
  max-width: 60ch;
  color: var(--text-dim);
  font-size: 1rem;
}

.grid {
  display: grid;
  gap: 54px;
}

.grid--2 { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.grid--align { align-items: start; }

/* ---- prose ---- */
.prose p {
  font-size: 1.02rem;
  color: #c6c0b8;
  line-height: 1.85;
}

.prose strong { color: #fff; font-weight: 600; }

/* ---- fact list ---- */
.fact-list {
  border-top: 1px solid var(--line);
}

.fact-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.fact-list span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  flex-shrink: 0;
}

.fact-list strong {
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

/* ---- story ---- */
.section--story .section__title { max-width: none; letter-spacing: 0.02em; }

.story-card {
  position: relative;
  max-width: 800px;
  padding: 42px 44px 36px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--blood);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(20, 20, 28, 0.95), rgba(10, 10, 15, 0.9)),
    radial-gradient(circle at 100% 0%, rgba(179, 18, 26, 0.22), transparent 60%);
  box-shadow: var(--shadow);
}

.story-card p { color: #bdb6ad; line-height: 1.85; }

.story-card__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.18rem, 2.1vw, 1.5rem);
  font-style: italic;
  line-height: 1.6;
  color: #f2ece4 !important;
  padding-bottom: 22px;
  margin-bottom: 22px !important;
  border-bottom: 1px solid var(--line);
}

.story-card__final {
  margin: 26px 0 0 !important;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blood-bright) !important;
}

/* ---- features ---- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature {
  position: relative;
  padding: 34px 30px 30px;
  background: linear-gradient(180deg, #0e0e14, #0a0a0f);
  transition: background 0.35s ease;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--blood-bright), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature:hover { background: linear-gradient(180deg, #15151d, #0b0b11); }
.feature:hover::before { opacity: 1; }

.feature__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(179, 18, 26, 0.1);
  font-size: 1.15rem;
  line-height: 1;
  filter: saturate(0.85);
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.feature p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---- gallery ---- */
.section--shots::before { background: radial-gradient(ellipse at 50% 100%, rgba(179, 18, 26, 0.1), transparent 65%); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px;
}

.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a0a0f;
  cursor: zoom-in;
  transition: transform 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.4s ease;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.9);
  transition: transform 0.6s var(--ease), filter 0.4s ease;
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 55%);
  opacity: 0.85;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.shot__cap {
  position: absolute;
  left: 16px;
  bottom: 13px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.shot__cap::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  margin-right: 9px;
  vertical-align: middle;
  background: var(--blood-bright);
  transition: width 0.3s ease;
}

.shot:hover,
.shot:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(225, 29, 36, 0.55);
  box-shadow: 0 24px 50px -26px rgba(225, 29, 36, 0.7);
}

.shot:hover img,
.shot:focus-visible img {
  transform: scale(1.045);
  filter: brightness(1) saturate(1.05);
}

.shot:hover .shot__cap::before { width: 30px; }

/* ---- trailer placeholder ---- */
.section--trailer .section__title { max-width: none; }

.trailer {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #08080c;
  box-shadow: var(--shadow);
}

.trailer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) saturate(0.55) contrast(1.1);
  transform: scale(1.02);
}

.trailer__frame {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(179, 18, 26, 0.24), transparent 62%);
}

.trailer__play {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(7, 7, 10, 0.55);
  font-size: 1.25rem;
  color: #fff;
  padding-left: 5px;
  box-shadow: 0 0 60px rgba(225, 29, 36, 0.5);
}

.trailer__label {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.6vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #fff;
}

.trailer__note {
  margin: 0;
  max-width: 46ch;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #b9b2a9;
}

/* ---- download ---- */
.dl-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #0f0f16, #0a0a10);
  box-shadow: var(--shadow);
}

.dl-panel__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.dl-panel__head img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 30px -12px rgba(225, 29, 36, 0.8);
}

.dl-panel__head h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dl-panel__file {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  word-break: break-all;
}

.spec {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
}

.spec th,
.spec td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  text-align: left;
  vertical-align: top;
}

.spec th {
  width: 42%;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-right: 14px;
}

.spec td { color: var(--text); }

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tag--warn {
  background: rgba(255, 106, 61, 0.14);
  border: 1px solid rgba(255, 106, 61, 0.35);
  color: #ffb59b;
}

.dl-panel__note {
  margin: 18px 0 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-faint);
}

.dl-panel__note strong { color: var(--text-dim); }

/* ---- install ---- */
.install__title {
  margin: 0 0 22px;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.install__steps { counter-reset: step; }

.install__steps li {
  position: relative;
  counter-increment: step;
  padding: 0 0 22px 46px;
  border-left: 1px solid var(--line);
}

.install__steps li:last-child { border-left-color: transparent; padding-bottom: 0; }

.install__steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -2px;
  transform: translateX(-50%);
  min-width: 30px;
  padding: 2px 6px;
  border: 1px solid rgba(225, 29, 36, 0.45);
  border-radius: 2px;
  background: var(--black);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-align: center;
  color: var(--blood-bright);
}

.install__steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.install__steps span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.install__steps em { color: var(--text); font-style: normal; }

.install__steps code {
  color: #e6b9b6;
  word-break: break-all;
}

.notice {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--blood);
  border-radius: var(--radius);
  background: rgba(179, 18, 26, 0.06);
  font-size: 0.83rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.notice strong { color: var(--text); }

.notice code {
  display: block;
  margin: 8px 0;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 0.7rem;
  line-height: 1.6;
  color: #e8cfc9;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.install__checksum {
  display: block;
  margin-top: 6px;
  font-size: 0.76rem;
  color: var(--text-faint);
}

.install__ok {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #7fd6a0;
}

/* ---- FAQ ---- */
.faq { border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__item h3 { margin: 0; }

.faq__q {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 2px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: left;
  color: var(--text);
  transition: color 0.25s ease;
}

.faq__q::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
  color: var(--blood-bright);
  transition: transform 0.3s var(--ease);
}

.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__q:hover { color: #fff; }

.faq__a {
  padding: 0 2px 22px;
  max-width: 68ch;
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.75;
}

.faq__a p { margin: 0; }

/* ---- contact ---- */
.section--contact .section__title { max-width: none; }

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(20, 20, 28, 0.9), rgba(10, 10, 15, 0.9));
}

.contact-list li + li { margin-top: 16px; }

.contact-list__label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.contact-list__value {
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.contact-list__value:hover {
  color: #fff;
  border-bottom-color: var(--blood-bright);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

/* ---- closing ---- */
.section--final {
  overflow: hidden;
  text-align: center;
  border-top-color: rgba(225, 29, 36, 0.3);
}

.section--final::before {
  background:
    radial-gradient(ellipse at 50% 120%, rgba(179, 18, 26, 0.45), transparent 60%),
    radial-gradient(ellipse at 50% -20%, rgba(179, 18, 26, 0.12), transparent 60%);
}

.final {
  display: grid;
  justify-items: center;
  gap: 26px;
  padding: clamp(20px, 4vw, 50px) 0;
}

.final__flicker {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 106, 61, 0.12), transparent 55%);
  animation: flicker 5.5s steps(3) infinite;
  opacity: 0.6;
}

@keyframes flicker {
  0%, 92%, 100% { opacity: 0.6; }
  93% { opacity: 0.15; }
  95% { opacity: 0.8; }
  97% { opacity: 0.25; }
}

.final__title {
  margin: 0;
  font-size: clamp(1.9rem, 5.4vw, 3.8rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 0 70px rgba(225, 29, 36, 0.55);
}

.final__meta {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ============================== FOOTER ================================== */
.site-footer {
  position: relative;
  padding: 46px 0 40px;
  border-top: 1px solid var(--line);
  background: #050508;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 26px 40px;
}

.site-footer__brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer__brand span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.site-footer__nav a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.25s ease;
}

.site-footer__nav a:hover { color: var(--blood-bright); }

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.site-footer__legal a:hover { color: var(--text); }

.site-footer__made {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--blood);
}

.site-footer__disclaimer {
  grid-column: 1 / -1;
  margin: 0;
  max-width: 72ch;
  font-size: 0.74rem;
  line-height: 1.7;
  color: var(--text-faint);
}

/* ============================== LIGHTBOX ================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: 40px;
  background: rgba(3, 3, 5, 0.93);
  backdrop-filter: blur(10px);
  animation: fade-in 0.28s ease both;
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
}

.lightbox__figure {
  position: relative;
  margin: 0;
  max-width: min(1200px, 100%);
  animation: pop-in 0.32s var(--ease) both;
}

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.97) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.lightbox__img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 40px 120px -40px #000, 0 0 90px rgba(179, 18, 26, 0.35);
  background: #000;
}

.lightbox__cap {
  margin-top: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--text-dim);
}

.lightbox__btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(15, 15, 22, 0.85);
  color: var(--text);
  font-size: 1rem;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.lightbox__btn:hover {
  background: var(--blood);
  border-color: var(--blood-bright);
  transform: scale(1.06);
}

.lightbox__btn--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--close { top: 20px; right: 20px; }

.lightbox__btn--prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__btn--next:hover { transform: translateY(-50%) scale(1.06); }

/* ============================ RESPONSIVE ================================ */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .nav a { font-size: 0.68rem; letter-spacing: 0.14em; }
  .brand__text { font-size: 0.86rem; letter-spacing: 0.12em; }
}

@media (max-width: 940px) {
  .grid--2 { grid-template-columns: 1fr; gap: 38px; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-actions { justify-content: flex-start; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .sticky-aside { position: static; }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    max-height: calc(100svh - var(--header-h));
    padding: 8px 24px 26px;
    overflow-y: auto;
    background: rgba(7, 7, 10, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px #000;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
  }

  .nav a::after { display: none; }
  .nav a.is-active { color: var(--blood-bright); }

  .burger { display: flex; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .wrap { padding: 0 20px; }

  .site-header__tools .chip { display: none; }

  .hero { padding-bottom: 60px; }
  .hero__content { max-width: 100%; }
  .hero__title { font-size: clamp(2.3rem, 12.5vw, 3.4rem); }
  .hero__tagline { letter-spacing: 0.32em; font-size: 0.62rem; }
  .hero__desc { font-size: 0.98rem; }

  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }

  .scroll-hint { display: none; }

  .section { padding: 64px 0; }

  .section__title { margin-bottom: 28px; }
  .section__sub { margin: -14px 0 30px; }

  .story-card { padding: 26px 22px 24px; }

  .gallery { grid-template-columns: 1fr; gap: 10px; }

  .dl-panel { padding: 22px 18px; }
  .dl-panel__head img { width: 54px; height: 54px; }
  .spec th { width: 46%; font-size: 0.58rem; }
  .spec td { font-size: 0.8rem; }

  .install__steps li { padding-left: 38px; }

  .contact-card { padding: 24px 20px; }
  .contact-actions .btn { width: 100%; }

  .lightbox { padding: 16px; }
  .lightbox__btn { width: 40px; height: 40px; }
  .lightbox__btn--prev { left: 8px; }
  .lightbox__btn--next { right: 8px; }
  .lightbox__btn--close { top: 8px; right: 8px; }
  .lightbox__img { max-height: 70vh; }

  .trailer__play { width: 58px; height: 58px; font-size: 1rem; }
  .trailer__note { font-size: 0.76rem; }
}

@media (max-width: 380px) {
  .brand__text { font-size: 0.74rem; letter-spacing: 0.08em; }
  .brand img { width: 28px; height: 28px; }
  .hero__title { font-size: 2.1rem; }
}

/* ============================================================================
   CINEMATIC STORY CHAPTERS
   Story, character, threat, location, discovery and gameplay sections.
   ========================================================================== */

/* ---- shared chapter frame ---- */
.chapter {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 10vw, 140px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.chapter::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225, 29, 36, 0.7), transparent);
}

.chapter > .wrap {
  position: relative;
  z-index: 1;
}

.chapter__index {
  position: absolute;
  top: clamp(20px, 4vw, 46px);
  right: clamp(6px, 2vw, 30px);
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(8rem, 17vw, 17rem);
  font-weight: 900;
  line-height: 0.7;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
}

.chapter__head {
  max-width: 980px;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.chapter__title {
  margin: 0 0 22px;
  font-size: clamp(2.15rem, 6.2vw, 4.9rem);
  line-height: 0.94;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 22px 70px rgba(0, 0, 0, 0.85);
}

.chapter__title em {
  display: block;
  margin-top: 0.16em;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.78em;
  letter-spacing: 0.005em;
  color: var(--blood-bright);
  text-shadow: 0 0 60px rgba(225, 29, 36, 0.35);
}

.chapter__deck {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  line-height: 1.8;
  color: #bdb6ad;
}

.chapter__note {
  max-width: 74ch;
  margin: 34px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}

/* ---- reveal (only when JS + IntersectionObserver are available) ---- */
.has-reveal .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}

.has-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.has-reveal .story-cinema__beats .reveal:nth-child(2) { transition-delay: 0.06s; }
.has-reveal .story-cinema__beats .reveal:nth-child(3) { transition-delay: 0.1s; }
.has-reveal .story-cinema__beats .reveal:nth-child(4) { transition-delay: 0.14s; }
.has-reveal .story-cinema__beats .reveal:nth-child(5) { transition-delay: 0.18s; }

html[data-fx="off"] .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================== STORY =================================== */
.chapter--story {
  background:
    radial-gradient(ellipse at 12% 8%, rgba(179, 18, 26, 0.13), transparent 48%),
    linear-gradient(180deg, #08080c 0%, #07070a 55%, #09080b 100%);
}

.story-cinema {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.story-cinema__plate {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #000;
  box-shadow: 0 40px 100px -50px #000, 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.story-cinema__plate img {
  width: 100%;
  height: clamp(380px, 64vh, 660px);
  object-fit: cover;
  object-position: center;
  filter: brightness(0.62) contrast(1.16) saturate(0.72);
}

.story-cinema__plate::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(4, 4, 7, 0.94), transparent 44%),
    radial-gradient(ellipse at 38% 40%, transparent 35%, rgba(0, 0, 0, 0.45) 100%);
}

.story-cinema__slate {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.66);
}

.story-cinema__plate figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-style: italic;
  color: #d9d2c9;
}

.story-cinema__plate figcaption span {
  display: inline-block;
  margin-right: 10px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-style: normal;
  letter-spacing: 0.16em;
  color: var(--blood-bright);
}

.story-cinema__beats {
  display: grid;
  gap: clamp(38px, 5.2vw, 58px);
}

.beat {
  position: relative;
  padding-left: clamp(20px, 2.6vw, 32px);
  border-left: 1px solid var(--line);
}

.beat::before {
  content: "";
  position: absolute;
  top: 9px;
  left: -3px;
  width: 5px;
  height: 5px;
  background: var(--blood-bright);
  box-shadow: 0 0 14px rgba(225, 29, 36, 0.9);
}

.beat__no {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  letter-spacing: 0.1em;
  color: var(--blood-bright);
}

.beat h3 {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 2.1vw, 1.65rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
}

.beat p {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.82;
  color: #b6afa6;
}

.beat p:last-child { margin-bottom: 0; }
.beat em { color: #ece4da; font-style: italic; }

.beat blockquote {
  margin: 0 0 18px;
  padding: 2px 0 2px 16px;
  border-left: 2px solid rgba(225, 29, 36, 0.55);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  font-style: italic;
  line-height: 1.65;
  color: #eee7dd;
}

/* ---- case notes ---- */
.intel {
  position: relative;
  margin-top: clamp(48px, 7vw, 86px);
  padding: clamp(24px, 3.6vw, 40px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(16, 16, 23, 0.94), rgba(8, 8, 12, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(179, 18, 26, 0.16), transparent 55%);
  box-shadow: var(--shadow);
}

.intel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 33px, rgba(255, 255, 255, 0.025) 34px);
}

.intel > * { position: relative; z-index: 1; }

.intel__title {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.intel__title span {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

.intel__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.intel__grid > div {
  padding: 20px 26px 22px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intel__grid > div:nth-child(3n) {
  padding-right: 0;
  border-right: 0;
}

.intel dt {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blood-bright);
}

.intel dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #b8b1a8;
}

.intel dd strong {
  color: #e3aaa4;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.intel__source {
  margin: 20px 0 0;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  line-height: 1.8;
  color: var(--text-faint);
}

.intel__source strong { color: #d4a7a2; }

/* ============================ CHARACTER DOSSIER ========================= */
.chapter--dossier {
  background:
    radial-gradient(ellipse at 18% 18%, rgba(179, 18, 26, 0.12), transparent 45%),
    radial-gradient(ellipse at 90% 85%, rgba(179, 18, 26, 0.06), transparent 50%),
    #08080c;
}

.dossier {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0b0b10;
  box-shadow: 0 50px 120px -60px #000, 0 0 0 1px rgba(179, 18, 26, 0.12);
}

.dossier__portrait {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: #050508;
}

.dossier__portrait img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.dossier__portrait figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.78);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  line-height: 1.6;
  color: var(--text-faint);
}

.dossier__sheet {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 33px, rgba(255, 255, 255, 0.018) 34px);
}

.dossier__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 1px dashed rgba(225, 29, 36, 0.4);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: #c8a29d;
}

.dossier__top span:last-child { color: #8fcf9f; }

.dossier__name {
  margin: 0.38em 0 0.05em;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  letter-spacing: 0.09em;
  line-height: 0.92;
  color: #fff;
  text-shadow: 0 0 50px rgba(225, 29, 36, 0.25);
}

.dossier__role {
  margin: 0 0 26px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--blood-bright);
}

.dossier__fields {
  margin: 0 0 24px;
  border-top: 1px solid var(--line);
}

.dossier__fields > div {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.dossier__fields dt {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.dossier__fields dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #c5beb5;
}

.dossier__fields dd span {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.dossier__quote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--blood);
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.7;
  color: #ded6cc;
}

.dossier__quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.dossier__stamp {
  position: absolute;
  right: 26px;
  bottom: 20px;
  z-index: 0;
  padding: 7px 15px;
  border: 2px solid rgba(225, 29, 36, 0.62);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: rgba(225, 29, 36, 0.6);
  transform: rotate(-9deg);
  pointer-events: none;
}

.supporting {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 1px;
  margin-top: 26px;
  border: 1px solid var(--line);
  background: var(--line);
}

.person {
  padding: clamp(24px, 3.4vw, 34px);
  background: #0a0a0f;
}

.person__tag {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blood-bright);
}

.person h3 {
  margin: 0 0 4px;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  color: #fff;
}

.person__role {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}

.person > p {
  margin: 0 0 14px;
  font-size: 0.89rem;
  line-height: 1.75;
  color: #b8b1a8;
}

.person blockquote {
  margin: 16px 0 12px;
  padding-left: 14px;
  border-left: 2px solid var(--blood);
  font-family: var(--font-serif);
  font-size: 0.94rem;
  font-style: italic;
  line-height: 1.65;
  color: #e4dbd0;
}

.person__meta {
  margin: 0 !important;
  font-family: var(--font-mono);
  font-size: 0.56rem !important;
  letter-spacing: 0.12em;
  color: var(--text-faint) !important;
}

.person--witness ul { margin-top: 16px; }

.person--witness li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
  line-height: 1.65;
  color: #a9a29a;
}

.person--witness li strong {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  color: var(--text);
}

/* ============================== THREAT ================================== */
.chapter--threat {
  background:
    radial-gradient(ellipse at 76% 12%, rgba(179, 18, 26, 0.23), transparent 52%),
    radial-gradient(ellipse at 10% 90%, rgba(109, 10, 16, 0.18), transparent 55%),
    linear-gradient(180deg, #09080b, #060608);
}

.threat {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border: 1px solid rgba(225, 29, 36, 0.32);
  background: #07070a;
  box-shadow: 0 50px 120px -60px rgba(225, 29, 36, 0.35);
}

.threat__frame {
  position: relative;
  min-height: 540px;
  margin: 0;
  overflow: hidden;
  background: #000;
}

.threat__frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.32) saturate(0.5) contrast(1.2);
  transform: scale(1.02);
}

.threat__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(4, 4, 7, 0.96), transparent 55%),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 4px);
}

.threat__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent 62%);
}

.threat__tag {
  align-self: flex-start;
  padding: 7px 11px;
  border: 1px dashed rgba(225, 29, 36, 0.65);
  background: rgba(0, 0, 0, 0.58);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  color: #ffc2bd;
}

.threat__overlay p {
  max-width: 42ch;
  margin: auto 0 40px;
  font-size: 0.82rem;
  line-height: 1.72;
  color: #c4bdb4;
  text-shadow: 0 2px 14px #000;
}

.threat__frame figcaption {
  position: absolute;
  right: 20px;
  bottom: 16px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}

.threat__readout {
  padding: clamp(24px, 3.6vw, 40px);
  border-left: 1px solid var(--line);
}

.threat__class {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  color: var(--blood-bright);
}

.threat__readout h3 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: 0.02em;
  color: #fff;
}

.threat__readout h3 span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: 0.52em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--blood-bright);
}

.threat__readout > p {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.78;
  color: #b6afa6;
}

.threat-meter {
  display: flex;
  gap: 5px;
  margin: 24px 0 9px;
}

.threat-meter i {
  flex: 1;
  height: 7px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.threat-meter i.is-on {
  background: linear-gradient(90deg, #8d0c14, var(--blood-bright));
  box-shadow: 0 0 16px rgba(225, 29, 36, 0.45);
}

.threat-meter__label {
  margin: 0 !important;
  font-family: var(--font-mono);
  font-size: 0.56rem !important;
  letter-spacing: 0.18em;
  color: var(--text-faint) !important;
}

.threat-meter__label strong {
  color: var(--blood-bright);
  letter-spacing: 0.24em;
}

.threat__quick {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.threat__quick li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  color: #b9b2a9;
}

.threat__quick span {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.threat__quick strong {
  font-weight: 500;
  text-align: right;
}

.threat-files {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 22px;
}

.threat-file {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.2vw, 30px);
  border: 1px solid var(--line);
  border-top: 2px solid rgba(225, 29, 36, 0.55);
  background: linear-gradient(155deg, #0f0f15, #08080c);
}

.threat-file--ghoul {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(179, 18, 26, 0.15), transparent 58%),
    linear-gradient(155deg, #121015, #08080c);
}

.threat-file header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.threat-file__no {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.2em;
  color: var(--text-faint);
}

.threat-file h3 {
  margin: 10px 0 4px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: 0.06em;
  color: #fff;
}

.threat-file header p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  color: var(--blood-bright);
}

.threat-file dl { margin: 10px 0 0; }

.threat-file dl > div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.threat-file dt {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.threat-file dd {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #c0b9b0;
}

.threat-file__note {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: #c68f89;
}

.survival {
  margin-top: 22px;
  padding: clamp(24px, 3.8vw, 38px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(15, 15, 21, 0.94), rgba(7, 7, 10, 0.96)),
    radial-gradient(circle at 0% 100%, rgba(179, 18, 26, 0.12), transparent 55%);
}

.survival__title {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.survival__title span {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.survival ol {
  counter-reset: survival;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 42px;
  margin-top: 20px;
}

.survival li {
  position: relative;
  counter-increment: survival;
  padding: 16px 0 16px 42px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  line-height: 1.68;
  color: #a9a29a;
}

.survival li::before {
  content: counter(survival, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--blood-bright);
}

.survival li strong {
  display: block;
  margin-bottom: 3px;
  font-weight: 600;
  color: #e5ded5;
}

.survival__note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  line-height: 1.8;
  color: var(--text-faint);
}

/* ============================== LOCATIONS =============================== */
.chapter--places {
  background: linear-gradient(180deg, #07070a, #0a0809 60%, #07070a);
}

.places { border-top: 1px solid var(--line); }

.place {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  min-height: 380px;
  border-bottom: 1px solid var(--line);
}

.place__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #000;
}

.place__media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  filter: brightness(0.58) contrast(1.14) saturate(0.72);
  transition: transform 1.1s var(--ease), filter 0.6s ease;
}

.place__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(4, 4, 7, 0.5), transparent 40%),
    linear-gradient(to top, rgba(4, 4, 7, 0.7), transparent 55%);
}

.place:hover .place__media img {
  transform: scale(1.035);
  filter: brightness(0.74) contrast(1.12) saturate(0.82);
}

.place__media figcaption {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.45);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.18em;
  color: #d8d1c8;
}

.place:nth-child(even) .place__media { order: 2; }
.place:nth-child(even) .place__body { order: 1; }

.place__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 48px);
  background: linear-gradient(135deg, rgba(179, 18, 26, 0.055), transparent 62%);
}

.place__no {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(225, 29, 36, 0.45);
}

.place__tag {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.15em;
  color: var(--text-faint);
}

.place h3 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  letter-spacing: 0.04em;
  color: #fff;
}

.place__body > p:not(.place__no):not(.place__tag) {
  margin: 0 0 18px;
  max-width: 46ch;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #b4ada4;
}

.place__body p strong { color: #e4dbd0; font-weight: 600; }

.place__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.place__notes li {
  position: relative;
  padding-left: 9px;
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8f8983;
}

.place__notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 3px;
  height: 3px;
  background: var(--blood-bright);
}

/* =============================== SECRETS ================================ */
.chapter--secrets {
  background:
    radial-gradient(ellipse at 18% 72%, rgba(179, 18, 26, 0.09), transparent 52%),
    linear-gradient(180deg, #07070a, #09090d);
}

.evidence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.clue {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.4vw, 34px);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, #101016, #0a0a0f);
  box-shadow: 0 26px 60px -44px #000;
  transform: rotate(-0.35deg);
  transition: transform 0.45s var(--ease), border-color 0.35s ease;
}

.clue:nth-child(even) { transform: rotate(0.4deg); }

.clue::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 92px;
  height: 16px;
  transform: translateX(-50%);
  background: rgba(224, 214, 194, 0.1);
  border-left: 1px dashed rgba(255, 255, 255, 0.12);
  border-right: 1px dashed rgba(255, 255, 255, 0.12);
}

.clue:hover {
  transform: rotate(0deg) translateY(-3px);
  border-color: rgba(225, 29, 36, 0.38);
}

.clue__no {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--blood-bright);
}

.clue h3 {
  margin: 0 0 12px;
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  letter-spacing: 0.05em;
  color: #fff;
}

.clue p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.78;
  color: #ada69e;
}

.clue__redacted {
  margin-top: 18px !important;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.55rem !important;
  letter-spacing: 0.14em;
  color: var(--text-faint) !important;
}

.clue__redacted span {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  border: 1px solid rgba(225, 29, 36, 0.32);
  background: #000;
  color: #d9a9a4;
  letter-spacing: 0.16em;
}

/* ============================== EXPERIENCE ============================== */
.chapter--experience {
  background:
    radial-gradient(ellipse at 82% 30%, rgba(179, 18, 26, 0.07), transparent 48%),
    linear-gradient(180deg, #07070a, #0a0809);
}

.route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 clamp(46px, 6vw, 70px);
}

.route::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(225, 29, 36, 0.6), var(--line) 60%, transparent);
}

.route li {
  position: relative;
  padding-top: 32px;
}

.route li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--blood-bright);
  background: var(--black);
  box-shadow: 0 0 0 4px rgba(179, 18, 26, 0.1);
}

.route__no {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.16em;
  color: var(--blood-bright);
}

.route h3 {
  margin: 0 0 7px;
  font-size: 0.94rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.route p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.62;
  color: #8f8983;
}

.experience {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(30px, 5vw, 46px) 0;
  border-top: 1px solid var(--line);
}

.experience--reverse .experience__frame { order: 2; }

.experience__frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.experience__frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: brightness(0.66) contrast(1.12) saturate(0.78);
  transition: filter 0.5s ease, transform 0.8s var(--ease);
}

.experience__frame:hover img {
  filter: brightness(0.8) contrast(1.1) saturate(0.88);
  transform: scale(1.02);
}

.experience__frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), transparent);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  color: #cbc4bb;
}

.experience__copy .kicker { margin-bottom: 10px; }

.experience__copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 2.7vw, 2.1rem);
  letter-spacing: 0.02em;
  color: #fff;
}

.experience__copy > p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #b3aca3;
}

.data-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.data-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  color: #c3bcb3;
}

.data-list span {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.data-list strong {
  max-width: 62%;
  font-weight: 500;
  text-align: right;
}

/* ---- feature number (replaces the emoji icon) ---- */
.feature__no {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--blood-bright);
}

/* ===================== CINEMATIC RESPONSIVE ============================= */
@media (max-width: 1180px) {
  .nav { gap: 13px; }
  .nav a { font-size: 0.64rem; letter-spacing: 0.12em; }
  .brand__text { font-size: 0.82rem; letter-spacing: 0.11em; }
}

@media (max-width: 1080px) {
  .dossier { grid-template-columns: minmax(250px, 310px) minmax(0, 1fr); }
  .route { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 16px; }
  .route::before { display: none; }
  .route li { padding-top: 26px; }
  .threat__frame { min-height: 500px; }
  .place__body { padding: 30px 28px; }
}

@media (max-width: 940px) {
  .chapter { padding: 76px 0; }
  .chapter__index { font-size: 9rem; opacity: 0.7; }

  .story-cinema { grid-template-columns: 1fr; }
  .story-cinema__plate { position: relative; top: auto; }
  .story-cinema__plate img { height: auto; aspect-ratio: 16 / 9; }
  .story-cinema__beats { gap: 40px; }

  .intel__grid { grid-template-columns: 1fr 1fr; }
  .intel__grid > div { padding-right: 22px; }
  .intel__grid > div:nth-child(3n) { padding-right: 22px; border-right: 1px solid var(--line); }
  .intel__grid > div:nth-child(2n) { padding-right: 0; border-right: 0; }

  .dossier { grid-template-columns: 1fr; }
  .dossier__portrait { border-right: 0; border-bottom: 1px solid var(--line); }
  .dossier__portrait img { min-height: 0; height: auto; aspect-ratio: 16 / 9; object-position: center 30%; }
  .dossier__stamp { bottom: 16px; right: 18px; }

  .supporting { grid-template-columns: 1fr; }

  .threat { grid-template-columns: 1fr; }
  .threat__frame { min-height: 430px; }
  .threat__readout { border-left: 0; border-top: 1px solid var(--line); }
  .threat-files { grid-template-columns: 1fr; }

  .place { grid-template-columns: 1fr; min-height: 0; }
  .place:nth-child(even) .place__media,
  .place:nth-child(even) .place__body { order: 0; }
  .place__media img { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .place__body { padding: 28px 24px 34px; }
  .place__body > p:not(.place__no):not(.place__tag) { max-width: 62ch; }

  .evidence { grid-template-columns: 1fr; }
  .clue:nth-child(n) { transform: none; }

  .experience { grid-template-columns: 1fr; gap: 26px; }
  .experience--reverse .experience__frame { order: 0; }
  .experience__frame img { aspect-ratio: 16 / 9; }
  .data-list strong { max-width: 70%; }

  .survival ol { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 640px) {
  .chapter { padding: 60px 0; }
  .chapter__index { font-size: 6.5rem; top: 26px; }
  .chapter__head { margin-bottom: 34px; }
  .chapter__title { font-size: clamp(1.95rem, 10.5vw, 2.9rem); }
  .chapter__title em { font-size: 0.72em; }
  .chapter__deck { font-size: 0.94rem; }
  .chapter__note { font-size: 0.62rem; }

  .story-cinema__plate figcaption { font-size: 0.76rem; left: 14px; right: 14px; bottom: 14px; }
  .story-cinema__slate { top: 12px; left: 12px; right: 12px; font-size: 0.5rem; }
  .beat { padding-left: 16px; }
  .beat h3 { font-size: 1.18rem; }
  .beat p { font-size: 0.9rem; }
  .beat blockquote { font-size: 0.98rem; }

  .intel { padding: 20px 18px; }
  .intel__title { font-size: 0.94rem; }
  .intel__title span { display: block; margin: 6px 0 0; }
  .intel__grid { grid-template-columns: 1fr; }
  .intel__grid > div,
  .intel__grid > div:nth-child(2n),
  .intel__grid > div:nth-child(3n) { padding: 16px 0; border-right: 0; }
  .intel__grid > div:last-child { border-bottom: 0; padding-bottom: 0; }

  .dossier__sheet { padding: 22px 18px; }
  .dossier__top { font-size: 0.52rem; }
  .dossier__fields > div { grid-template-columns: 1fr; gap: 3px; padding: 10px 0; }
  .dossier__stamp { position: static; display: inline-block; margin-top: 18px; transform: rotate(-5deg); }
  .dossier__quote { font-size: 0.92rem; }

  .person { padding: 24px 20px; }
  .person--witness li { grid-template-columns: 1fr; gap: 4px; }

  .threat__frame { min-height: 360px; }
  .threat__overlay { padding: 16px; }
  .threat__overlay p { margin-bottom: 34px; font-size: 0.76rem; }
  .threat__readout { padding: 24px 20px; }
  .threat__quick li { display: block; font-size: 0.74rem; }
  .threat__quick span { display: block; margin-bottom: 3px; }
  .threat__quick strong { display: block; text-align: left; }

  .threat-file { padding: 22px 18px; }
  .threat-file dl > div { grid-template-columns: 105px minmax(0, 1fr); gap: 12px; }

  .survival { padding: 22px 18px; }
  .survival__title { font-size: 0.98rem; }
  .survival__title span { display: block; margin: 6px 0 0; }
  .survival li { padding-left: 34px; }

  .place__body { padding: 24px 18px 30px; }
  .place h3 { font-size: 1.65rem; }
  .place__no { font-size: 2.4rem; }

  .clue { padding: 22px 18px; }
  .clue::before { width: 70px; height: 13px; }

  .route { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .route li { padding-top: 22px; }
  .route h3 { font-size: 0.86rem; }

  .experience { padding: 26px 0; }
  .experience__copy h3 { font-size: 1.5rem; }
  .data-list li { display: block; }
  .data-list span { display: block; margin-bottom: 2px; }
  .data-list strong { display: block; max-width: none; text-align: left; }

  .feature__no { margin-bottom: 14px; }
}

@media (max-width: 380px) {
  .chapter__title { font-size: 1.82rem; }
  .route { grid-template-columns: 1fr; }
  .dossier__name { font-size: 2.6rem; }
  .threat__readout h3 { font-size: 1.8rem; }
}

/* ============================== 404 PAGE ================================ */
.not-found {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(179, 18, 26, 0.18), transparent 60%),
    var(--black);
}

.not-found .story-card { max-width: 720px; }
.not-found h1 { color: #fff; }

/* ============================== PRINT =================================== */
@media print {
  .fx,
  .preload,
  .site-header,
  .lightbox,
  .scroll-hint { display: none !important; }
  body { background: #fff; color: #111; }
  .section { border-top: 1px solid #ccc; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.7em; }
}
