@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Jost:wght@300;400;500;600&family=Oswald:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: 'Valve Oracle';
  src: url('fonts/valve-oracle-semibold.woff') format('woff');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Valve Oracle';
  src: url('fonts/valve-oracle-medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #10100f;
  --bg-2: #161513;
  --surface: #191816;
  --paper: #d7cbb5;
  --paper-dim: #b9ad98;
  --red: #a83d35;
  --red-leaf: #8f3129;
  --muted: #898176;
  --muted-2: #6c665c;
  --line: #312d28;
  --line-soft: #262320;

  --font-display: 'Valve Oracle', 'Cormorant Garamond', serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;

  --pad: clamp(20px, 5vw, 96px);
  --rule: 1px solid var(--line);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--red); color: #f4ecdd; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline-offset: 4px; }

/* ---------- shared atoms ---------- */

.wrap { padding-inline: var(--pad); }
.rule { height: 1px; background: var(--line); width: 100%; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}

.mono {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.01em;
}

.serif-lede {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.1vw, 27px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--paper-dim);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 1px solid var(--red);
  color: var(--paper);
  background: linear-gradient(180deg, rgba(168, 61, 53, .16), rgba(168, 61, 53, .06));
  transition: background .35s ease, color .35s ease, letter-spacing .35s ease;
}
.btn:hover { background: var(--red); color: #f7efe2; letter-spacing: .3em; }
.btn--ghost { border-color: var(--line); background: none; color: var(--paper-dim); }
.btn--ghost:hover { border-color: var(--paper-dim); background: rgba(215, 203, 181, .06); color: var(--paper); }

.btn--dl { border-color: var(--red); background: linear-gradient(180deg, rgba(168, 61, 53, .3), rgba(168, 61, 53, .12)); }
.btn--dl svg { flex: none; opacity: .85; transition: transform .3s ease; }
.btn--dl:hover svg { transform: translateY(2px); }
.btn--dl:hover { background: var(--red); }
.btn--wide { width: 100%; justify-content: center; padding-block: 17px; }
.btn-size {
  margin-left: auto;
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--muted);
  border-left: 1px solid rgba(168, 61, 53, .5);
  padding-left: 12px;
}
.btn--dl:hover .btn-size, .btn--dl:hover svg { color: inherit; }
.btn--wide .btn-size { margin-left: 0; }

.hl { color: #d9a49b !important; }

.kicker {
  font-family: var(--font-heading);
  font-size: 9.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.redact {
  background: var(--paper);
  color: transparent;
  padding: 0 .28em;
  border-radius: 1px;
  transition: color .25s ease, background .25s ease;
  cursor: help;
}
.redact:hover { background: rgba(215, 203, 181, .12); color: var(--paper); }

/* ---------- grain + vignette ---------- */

.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 60;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 5s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1.5%, 1%); }
  50% { transform: translate(1%, -1.5%); }
  75% { transform: translate(-1%, -1%); }
  100% { transform: translate(0, 0); }
}

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

/* ---------- header ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--pad);
  background: rgba(16, 16, 15, .78);
  backdrop-filter: blur(14px) saturate(.8);
  border-bottom: 1px solid var(--line-soft);
  transition: transform .45s ease, background .45s ease;
}
.topbar.hide { transform: translateY(-102%); }

.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 132px; opacity: .95; }
.brand-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
.brand-meta b { font-family: var(--font-heading); font-size: 10px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--paper-dim); }
.brand-meta span { font-size: 10px; letter-spacing: .18em; color: var(--muted-2); text-transform: uppercase; }

.nav { display: flex; gap: 30px; }
.nav a {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding-block: 4px;
  transition: color .3s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.nav a:hover { color: var(--paper); }
.nav a:hover::after { transform: scaleX(1); }

.top-actions { display: flex; align-items: center; gap: 18px; }
.clock { font-family: var(--font-heading); font-size: 10px; letter-spacing: .2em; color: var(--muted-2); }
.top-actions .btn { padding: 10px 18px; font-size: 10px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px var(--pad) 54px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: -8% -4%;
  z-index: 0;
  background: url('assets/bg-building.jpg') center 42% / cover no-repeat;
  filter: grayscale(.35) contrast(1.06) brightness(.62) saturate(.85);
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 16, 15, .92) 0%, rgba(16, 16, 15, .28) 34%, rgba(16, 16, 15, .72) 72%, var(--bg) 100%),
    linear-gradient(90deg, rgba(16, 16, 15, .88), transparent 58%);
}

.hero-portrait {
  position: absolute;
  z-index: 1;
  right: clamp(-70px, -1vw, -10px);
  bottom: clamp(24px, 5vh, 60px);
  width: min(40vw, 560px);
  padding: 9px 9px 34px;
  background: #1a1917;
  border: 1px solid #34302b;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 2px 0 rgba(215, 203, 181, .1) inset;
  rotate: -1.3deg;
  will-change: transform;
  pointer-events: none;
}
.hero-portrait img {
  width: 100%;
  filter: grayscale(.5) contrast(1.06) brightness(.92) sepia(.16);
}
.hero-portrait::before {
  content: '';
  position: absolute;
  z-index: 3;
  top: -11px;
  left: 50%;
  translate: -50% 0;
  width: 86px;
  height: 20px;
  background: rgba(215, 203, 181, .24);
  border: 1px solid rgba(215, 203, 181, .2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .5);
  backdrop-filter: blur(2px);
  rotate: -3deg;
}
.hero-portrait .plate-no {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 16px;
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(247, 239, 226, .82);
  mix-blend-mode: difference;
}
.hero-portrait .plate-stamp {
  position: absolute;
  z-index: 4;
  right: 84px;
  bottom: 40px;
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #c05a4d;
  background: rgba(16, 16, 15, .38);
  border: 2px solid rgba(192, 90, 77, .95);
  padding: 5px 9px;
  rotate: -9deg;
}
.hero-portrait::after {
  content: 'PLATE 3 — the alley off Amos St., 4:10 a.m.';
  position: absolute;
  left: 11px;
  bottom: 10px;
  font-family: var(--font-heading);
  font-size: 8.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-inner { position: relative; z-index: 2; width: 100%; }

.stamp-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}
.chip {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--paper-dim);
  border: 1px solid var(--line);
  background: rgba(16, 16, 15, .5);
  padding: 6px 12px;
}
.chip--red { border-color: rgba(168, 61, 53, .62); color: #d9a49b; background: rgba(16, 16, 15, .55); }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(46px, 10.4vw, 168px);
  line-height: .84;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: .52em;
  letter-spacing: -.01em;
  text-transform: none;
  color: var(--red);
  display: block;
  margin-top: .1em;
}

.hero-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  align-items: baseline;
  max-width: 620px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.hero-sub p {
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--paper-dim);
  max-width: 440px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  margin-top: 44px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.hero-meta div { display: flex; flex-direction: column; gap: 3px; }
.hero-meta dt { font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-2); }
.hero-meta dd { font-family: var(--font-heading); font-size: 12px; letter-spacing: .14em; color: var(--paper-dim); }

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: var(--pad);
  bottom: 54px;
  writing-mode: vertical-rl;
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-cue::after {
  content: '';
  width: 1px;
  height: 54px;
  background: linear-gradient(var(--muted-2), transparent);
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { opacity: .25; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- ticker ---------- */

.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding-block: 11px;
}
.ticker-track { display: flex; gap: 46px; width: max-content; animation: slide 46s linear infinite; }
.ticker-track span {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.ticker-track span b { color: var(--red); font-weight: 500; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

section { position: relative; }

.sec-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px var(--pad);
  align-items: end;
  padding-block: 76px 38px;
  border-top: 1px solid var(--line);
}
.sec-head .num {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  color: var(--muted-2);
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.sec-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 62px);
  line-height: .94;
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.sec-head h2 em { font-family: var(--font-serif); font-style: italic; text-transform: none; color: var(--red); font-weight: 500; }
.sec-head .lede { max-width: 40ch; padding-bottom: 6px; }

/* ---------- clipping (torn newspaper cut) ---------- */

.clipping {
  position: relative;
  grid-column: 1;
  justify-self: start;
  align-self: start;
  max-width: 430px;
  margin: 42px 0 0 clamp(0px, 6vw, 92px);
  padding: 16px 20px 18px;
  background: #dccfb6;
  color: #1e1b17;
  rotate: -1.6deg;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .5);
  isolation: isolate;
  clip-path: polygon(0 5%, 3% 1%, 21% 4%, 47% 0, 71% 4%, 91% 1%, 100% 6%, 99% 95%, 85% 99%, 59% 96%, 35% 100%, 13% 96%, 1% 99%);
}
.clipping::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('assets/tex-paper.jpg') center / 700px repeat;
  opacity: .5;
  mix-blend-mode: multiply;
}
.clipping .cut-kicker {
  font-family: var(--font-heading);
  font-size: 8.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #4e483e;
  border-bottom: 1px solid #4e483e;
  padding-bottom: 5px;
  margin-bottom: 9px;
  display: block;
}
.clipping p {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -.005em;
  color: #17150f;
}
.clipping p em { font-family: var(--font-serif); font-style: italic; text-transform: none; color: #8c2f26; }
.clipping .cut-body {
  font-family: var(--font-serif);
  font-size: 13.5px;
  line-height: 1.44;
  color: #322d25;
  margin-top: 8px;
  text-transform: none;
  letter-spacing: 0;
}
.clipping::after {
  content: 'Evening Oracle · 8 June';
  display: block;
  margin-top: 10px;
  font-family: var(--font-heading);
  font-size: 8px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #5b5449;
}

/* ---------- coordinates ---------- */

.coords {
  font-family: var(--font-heading);
  font-size: 9.5px;
  letter-spacing: .2em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.person .coords { display: block; margin-top: 7px; padding-top: 6px; border-top: 1px solid var(--line-soft); }

/* ---------- the case ---------- */

.case-grid {
  display: grid;
  grid-template-columns: 1.35fr .95fr;
  gap: 12px var(--pad);
  padding-bottom: 86px;
}
.case-col p + p { margin-top: 1.05em; }
.case-col p { color: var(--paper-dim); font-size: 16px; }

.case-col .drop::first-letter {
  font-family: var(--font-display);
  font-size: 4.2em;
  float: left;
  line-height: .78;
  padding: .06em .12em 0 0;
  color: var(--paper);
}

.aside-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(25, 24, 22, .9), rgba(16, 16, 15, .9));
  padding: 22px;
  align-self: start;
  position: sticky;
  top: 96px;
}
.aside-card h3 { font-family: var(--font-heading); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.aside-card dl { display: grid; gap: 14px; margin-top: 16px; }
.aside-card .row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; }
.aside-card dt { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); }
.aside-card dd { font-family: var(--font-heading); font-size: 12px; letter-spacing: .1em; color: var(--paper-dim); }
.aside-card .note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-serif); font-style: italic; font-size: 14px; color: var(--muted); }

.pull {
  grid-column: 1 / -1;
  margin-top: 46px;
  padding: 30px 0 0 clamp(0px, 6vw, 92px);
  border-top: 1px solid var(--line);
}
.pull blockquote {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.18;
  font-style: italic;
  color: var(--paper);
  max-width: 26ch;
}
.pull cite { display: block; margin-top: 16px; font-family: var(--font-heading); font-style: normal; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

/* ---------- persons ---------- */

.persons { padding-bottom: 90px; }
.persons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px 22px;
}

.person { position: relative; }
.person-figure {
  position: relative;
  background: #0c0c0b;
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 4 / 4.2;
}
.person-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 14%;
  filter: grayscale(1) contrast(1.14) brightness(.9) sepia(.22);
  transform: scale(1.02);
  transition: filter .6s ease, transform .8s ease;
}
.person:hover .person-figure img { filter: grayscale(.35) contrast(1.06) brightness(1) sepia(.06); transform: scale(1.07); }
.person-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(8, 8, 7, .88));
  pointer-events: none;
}
.tape {
  position: absolute;
  z-index: 2;
  top: -8px;
  left: 50%;
  translate: -50% 0;
  width: 74px;
  height: 17px;
  background: rgba(215, 203, 181, .16);
  border: 1px solid rgba(215, 203, 181, .18);
  backdrop-filter: blur(2px);
  rotate: -2.4deg;
}
.person-no {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 12px;
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--paper-dim);
  mix-blend-mode: difference;
}
.person-tag {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  left: 12px;
  right: 12px;
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #cf8f84;
}
.person h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-top: 13px;
  line-height: 1.05;
}
.person .role { font-family: var(--font-heading); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); margin-top: 6px; }
.person .dossier { font-size: 13px; color: var(--muted); margin-top: 9px; line-height: 1.5; }

/* ---------- oracle (paper) ---------- */

.oracle {
  position: relative;
  background: var(--paper);
  color: #23211c;
  border-block: 1px solid #0b0b0a;
  padding-block: 58px 62px;
  isolation: isolate;
  clip-path: polygon(
    0 0, 100% 0, 100% calc(100% - 14px),
    96% 100%, 92% calc(100% - 16px), 88% calc(100% - 6px), 84% calc(100% - 18px),
    79% calc(100% - 5px), 74% calc(100% - 15px), 69% calc(100% - 4px), 64% calc(100% - 17px),
    59% calc(100% - 7px), 54% calc(100% - 16px), 49% calc(100% - 3px), 44% calc(100% - 15px),
    39% calc(100% - 6px), 34% calc(100% - 18px), 29% calc(100% - 5px), 24% calc(100% - 14px),
    19% calc(100% - 4px), 14% calc(100% - 17px), 9% calc(100% - 6px), 5% calc(100% - 15px),
    2% calc(100% - 4px), 0 calc(100% - 12px)
  );
}
.oracle::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('assets/tex-paper.jpg') center / 1180px repeat;
  opacity: .34;
  mix-blend-mode: multiply;
  filter: contrast(1.05);
}
.oracle .wrap { position: relative; }
.oracle-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 3px double #23211c;
  padding-bottom: 14px;
  margin-bottom: 8px;
}
.oracle-head .mast {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}
.oracle-head img {
  width: min(238px, 42vw);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 42%;
  border: 3px solid #e4dac6;
  outline: 1px solid #23211c;
  padding: 0;
  filter: grayscale(1) contrast(1.15) brightness(.72) sepia(.18);
}
.oracle-head .mast-text { padding-bottom: 6px; }
.oracle-head .mast-text b {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.1;
}
.oracle-head .mast-text span { font-family: var(--font-heading); font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: #4b463c; }
.oracle-head .meta { text-align: right; font-family: var(--font-heading); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; line-height: 1.9; color: #4b463c; }
.oracle-sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  border-bottom: 1px solid #23211c;
  padding-block: 8px;
  color: #4b463c;
}
.oracle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.1fr;
  gap: 0;
  margin-top: 30px;
  border-left: 1px solid #23211c;
}
.oracle-col { position: relative; padding: 6px 24px 10px; border-right: 1px solid #23211c; }
.oracle-col h3 {
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 14px;
  text-wrap: balance;
}
.oracle-col p { font-family: var(--font-serif); font-size: 15.5px; line-height: 1.52; color: #332f28; }
.oracle-col p + p { margin-top: .7em; }
.oracle-col .redact { background: #23211c; }
.oracle-col .redact:hover { background: rgba(35, 33, 28, .1); color: #23211c; }
.oracle-fig { position: relative; margin-top: 14px; border: 1px solid #23211c; padding: 5px; }
.oracle-fig img { width: 100%; filter: grayscale(1) contrast(1.35) brightness(.95); }
.oracle-fig figcaption { font-family: var(--font-heading); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: #4b463c; padding-top: 6px; }
.oracle-kicker {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--red-leaf);
  margin-bottom: 8px;
}

.oracle-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 30px;
  padding-top: 10px;
  border-top: 1px solid #23211c;
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #4b463c;
}

/* ---------- protocol ---------- */

.protocol { padding-bottom: 90px; }
.steps { border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 74px 1fr 1.15fr;
  gap: 24px var(--pad);
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background .4s ease;
}
.step:hover { background: rgba(215, 203, 181, .025); }
.step-no { font-family: var(--font-display); font-size: 42px; line-height: .82; color: #4a453e; }
.step h3 { font-family: var(--font-display); font-size: clamp(19px, 2vw, 26px); text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; }
.step .label { font-family: var(--font-heading); font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--red); margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 15px; }
.step .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.step .tags span { font-family: var(--font-heading); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); border: 1px solid var(--line-soft); padding: 4px 8px; }

/* ---------- access ---------- */

.access {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 78% 0%, rgba(168, 61, 53, .14), transparent 62%),
    var(--bg-2);
  padding-block: 64px 58px;
}
.access-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px var(--pad); align-items: start; }
.access h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.2vw, 76px);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: -.015em;
}
.access h2 em { font-family: var(--font-serif); font-style: italic; text-transform: none; color: var(--red); }
.access h2.big { max-width: 12ch; }
.access p.lede,
.access p.serif-lede { margin-top: 22px; max-width: 44ch; }
.access p.small { margin-top: 16px; font-size: 13.5px; color: var(--muted-2); max-width: 42ch; line-height: 1.6; }
.access-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.access-chips .round-stamp { margin-right: 6px; }

.dl-req { margin-top: 26px; border-top: 1px solid var(--line-soft); max-width: 40ch; }
.dl-req li {
  list-style: none;
  display: flex;
  gap: 10px;
  padding-block: 9px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--muted-2);
}
.dl-req li::before { content: '—'; color: var(--red); flex: none; }

.dl-status {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted-2);
}
.dl-status span {
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #94a883;
  margin-right: 8px;
}

.dl-card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(25, 24, 22, .96), rgba(16, 16, 15, .96));
  padding: 22px 24px 24px;
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, .9);
}
.dl-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/tex-paper.jpg') center / 900px repeat;
  opacity: .12;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.dl-card > * { position: relative; }
.dl-card-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.dl-card-head .kicker { margin-bottom: 6px; }
.dl-card-head h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--paper);
  word-break: break-all;
}
.dl-seal {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(168, 61, 53, .55);
  color: rgba(217, 164, 155, .9);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .04em;
}
.dl-spec { display: grid; gap: 9px; padding-block: 18px; }
.dl-spec div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.dl-spec dt { font-family: var(--font-heading); font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-2); }
.dl-spec dd { font-family: var(--font-heading); font-size: 12px; letter-spacing: .1em; color: var(--paper-dim); text-align: right; }
.dl-hash {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted-2);
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
  margin-bottom: 18px;
  word-break: break-all;
}
.dl-hash span { flex: none; font-family: var(--font-heading); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.dl-note { margin-top: 12px; font-size: 11px; letter-spacing: .05em; color: var(--muted-2); text-align: center; min-height: 15px; }
.dl-note.is-live { color: #94a883; }
.dl-mirrors { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-soft); }
.dl-mirrors a { font-family: var(--font-heading); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; }
.dl-mirrors a:hover { color: var(--paper); border-bottom-color: var(--red); }

/* ---------- footer ---------- */

.site-foot { border-top: 1px solid var(--line); padding-block: 44px 30px; background: var(--bg); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px var(--pad); padding-bottom: 30px; }
.foot-top img { width: 118px; opacity: .5; margin-bottom: 14px; }
.foot-top p { font-size: 12.5px; color: var(--muted-2); max-width: 40ch; line-height: 1.65; }
.foot-col h4 { font-family: var(--font-heading); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot-col a { display: block; font-size: 13px; color: var(--muted-2); padding-block: 3px; transition: color .25s ease; }
.foot-col a:hover { color: var(--paper); }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-heading);
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- stamps ---------- */

.stamp {
  position: absolute;
  z-index: 4;
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(168, 61, 53, .82);
  border: 2px solid rgba(168, 61, 53, .82);
  padding: 8px 14px;
  rotate: -7deg;
  mix-blend-mode: screen;
  pointer-events: none;
}
.stamp--paper { color: rgba(143, 49, 41, .8); border-color: rgba(143, 49, 41, .8); mix-blend-mode: multiply; }

.round-stamp {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 1px solid rgba(215, 203, 181, .3);
  outline: 1px solid rgba(215, 203, 181, .16);
  outline-offset: 4px;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 7.5px;
  line-height: 1.5;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(215, 203, 181, .5);
  rotate: -8deg;
}
.round-stamp b {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: rgba(215, 203, 181, .82);
  margin-block: 2px;
  padding-block: 3px;
  border-block: 1px solid rgba(215, 203, 181, .24);
}

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav { display: none; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .lede { grid-column: 1; }
  .sec-head .num { font-size: 44px; }
  .case-grid, .access-grid { grid-template-columns: 1fr; }
  .clipping { grid-column: 1; margin-left: 0; max-width: 440px; }
  .pull { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .persons-grid { grid-template-columns: repeat(3, 1fr); }
  .oracle-grid { grid-template-columns: 1fr 1fr; }
  .oracle-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .oracle-head img { width: min(238px, 60vw); }
  .oracle-head .meta { text-align: left; }
  .oracle-col { border-bottom: 1px solid #23211c; padding-block: 16px; }
  .step { grid-template-columns: 56px 1fr; }
  .step > div:last-child { grid-column: 2; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .hero-portrait { display: none; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(16, 16, 15, .92) 0%, rgba(16, 16, 15, .4) 40%, rgba(16, 16, 15, .82) 78%, var(--bg) 100%);
  }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .brand-meta, .clock { display: none; }
  .hero { padding-top: 96px; min-height: 92svh; }
  .hero-portrait { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .hero-meta { gap: 12px 22px; }
  .persons-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .oracle-grid { grid-template-columns: 1fr; }
  .oracle-head .mast { flex-direction: column; align-items: flex-start; gap: 10px; }
  .oracle-head img { width: min(238px, 74vw); }
  .oracle-head .mast-text { padding-bottom: 0; }
  .oracle-head .mast-text b { font-size: 17px; }
  .scroll-cue { display: none; }
  .step { grid-template-columns: 44px 1fr; padding-block: 20px; }
  .foot-top { grid-template-columns: 1fr; }
  .stamp { display: none; }
  .access { padding-block: 54px 60px; }
  .access h2.big { max-width: none; }
  .dl-card { padding: 18px 16px 18px; }
  .btn--dl { font-size: 10.5px; letter-spacing: .16em; padding-inline: 12px; gap: 10px; }
  .btn--wide { padding-block: 16px; }
  .btn-size { white-space: nowrap; padding-left: 10px; }
  .dl-req, .access p.small { display: none; }
  .access-chips { margin-top: 24px; }
  .access-chips .round-stamp { width: 88px; height: 88px; font-size: 6.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}



/* ---- field receipt (post-download modal) ---- */
.receipt {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.receipt.is-open { opacity: 1; visibility: visible; }
.receipt-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 5, .82);
  backdrop-filter: blur(3px);
}
.receipt-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(25, 24, 22, .99), rgba(16, 16, 15, .99));
  padding: 26px 26px 22px;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .95);
  transform: translateY(14px);
  transition: transform .34s cubic-bezier(.2, .7, .2, 1);
}
.receipt.is-open .receipt-card { transform: translateY(0); }
.receipt-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/tex-paper.jpg') center / 900px repeat;
  opacity: .12;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.receipt-card > * { position: relative; }
.receipt-x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: none;
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.receipt-x:hover { color: var(--paper); border-color: var(--muted-2); }
.receipt-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.receipt-head .kicker { margin-bottom: 6px; }
.receipt-head h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: .05em;
  color: var(--paper);
  padding-right: 26px;
}
.receipt-lede { margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--paper-dim); }
.receipt-key {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px dashed rgba(168, 61, 53, .5);
  background: rgba(168, 61, 53, .07);
}
.receipt-key-label {
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.receipt-key code {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: .32em;
  color: #d9a49b;
}
.receipt-copy {
  margin-left: auto;
  border: 1px solid var(--line);
  background: none;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 7px 11px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.receipt-copy:hover { color: var(--paper); border-color: var(--muted-2); }
.receipt-steps { margin-top: 18px; padding-left: 18px; display: grid; gap: 11px; }
.receipt-steps li { font-size: 13.5px; line-height: 1.55; color: var(--paper-dim); }
.receipt-steps b { color: var(--paper); font-weight: 600; }
.receipt-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}
.receipt-hash {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 10.5px;
  color: var(--muted-2);
  word-break: break-all;
}
.receipt-hash span {
  flex: none;
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.receipt-actions { margin-top: 20px; display: grid; gap: 12px; justify-items: center; }
.receipt-again {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.receipt-again:hover { color: var(--paper); border-color: var(--muted-2); }

body.is-locked { overflow: hidden; }

@media (max-width: 640px) {
  .receipt-card { padding: 22px 18px 18px; }
  .receipt-key code { font-size: 15px; letter-spacing: .24em; }
  .receipt-steps li { font-size: 13px; }
}
