/* ============================================================
   VLAD'S VAULT — styles.css
   Dark archival vault meets conspiracy dossier.
   Palette: void #0a0a0e / charcoal #121218 / bone #e6ddc9 /
   blood #b3122f / ember #6e0f1e / gold #a8894f
   ============================================================ */

:root {
  --void: #0a0a0e;
  --charcoal: #121218;
  --bone: #e6ddc9;
  --blood: #b3122f;
  --ember: #6e0f1e;
  --gold: #a8894f;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  --noise-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.26'/%3E%3C/svg%3E");
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  background: var(--void);
  color: var(--bone);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: #2a2a32; border: 2px solid var(--void); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--ember); }

a { transition: color .25s ease; }

/* ---------- persistent overlays (scanlines / vignette / grain) ---------- */
.scanlines {
  position: fixed; inset: 0; z-index: 70; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px);
  opacity: .22;
}
.vignette {
  position: fixed; inset: 0; z-index: 71; pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, transparent 50%, rgba(0,0,0,.62) 100%);
}
.grain {
  position: fixed; inset: -140px; z-index: 72; pointer-events: none;
  background-image: var(--noise);
  opacity: .06;
  animation: grain-jitter 1.1s steps(6) infinite;
}
@keyframes grain-jitter {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-34px, 22px); }
  40% { transform: translate(24px, -38px); }
  60% { transform: translate(-28px, -18px); }
  80% { transform: translate(32px, 26px); }
}

/* ---------- custom red cursor glow (desktop only) ---------- */
#cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 60;
  width: 300px; height: 300px; margin: -150px 0 0 -150px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(179,18,47,.16) 0%, rgba(179,18,47,.05) 42%, transparent 68%);
  mix-blend-mode: screen;
  opacity: 0; transition: opacity .6s ease;
  will-change: transform;
}
body.cursor-on #cursor-glow { opacity: 1; }

/* ---------- fixed nav ---------- */
.vault-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  background: rgba(10,10,14,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(168,137,79,.16);
}
.nav-link {
  font-family: "IBM Plex Mono", monospace;
  font-size: .64rem; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(230,221,201,.55);
}
.nav-link:hover { color: var(--bone); }
.rec-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blood); box-shadow: 0 0 9px var(--blood);
  animation: rec-pulse 1.7s ease-in-out infinite;
}
@keyframes rec-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }

/* ---------- glitch effects ---------- */
.glitch { position: relative; display: inline-block; }
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  color: var(--bone); opacity: 0; pointer-events: none;
}
.glitch::before {
  text-shadow: 3px 0 rgba(255,42,77,.85);
  clip-path: inset(12% 0 46% 0);
  animation: glitch-a 3.6s infinite steps(1);
}
.glitch::after {
  text-shadow: -3px 0 rgba(168,137,79,.85);
  clip-path: inset(58% 0 8% 0);
  animation: glitch-b 2.9s infinite steps(1);
}
@keyframes glitch-a {
  0%, 84%, 100% { transform: none; opacity: 0; }
  86% { transform: translate(-5px, -2px); opacity: .9; }
  90% { transform: translate(4px, 1px); opacity: .9; }
  94% { transform: translate(-3px, 2px); opacity: .9; }
}
@keyframes glitch-b {
  0%, 78%, 100% { transform: none; opacity: 0; }
  81% { transform: translate(5px, 2px); opacity: .9; }
  86% { transform: translate(-4px, -1px); opacity: .9; }
  91% { transform: translate(3px, -2px); opacity: .9; }
}
.glitch.burst::before { animation: none; opacity: .95; transform: translate(-6px, 2px); }
.glitch.burst::after  { animation: none; opacity: .95; transform: translate(6px, -2px); }

.glitch-hover:hover {
  text-shadow: 2px 0 rgba(255,42,77,.75), -2px 0 rgba(168,137,79,.75);
  animation: hover-jit .25s steps(2) 1;
}
@keyframes hover-jit {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1px, 1px); }
  50% { transform: translate(1px, -1px); }
  75% { transform: translate(-1px, -1px); }
  100% { transform: translate(0, 0); }
}

/* ---------- classified stamps ---------- */
.stamp {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  color: var(--blood);
  border: 2px solid var(--blood);
  outline: 1px solid rgba(179,18,47,.45);
  outline-offset: 3px;
  padding: .4rem .9rem;
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
  transform: rotate(-4deg);
  opacity: .85;
  box-shadow: inset 0 0 14px rgba(179,18,47,.22);
  text-shadow: 0 0 8px rgba(179,18,47,.4);
  user-select: none;
}

/* ---------- section headings ---------- */
.kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: .62rem; letter-spacing: .44em; text-transform: uppercase;
  color: var(--gold);
}
.sec-title, .reveal-title { letter-spacing: .14em; }
.gold-rule {
  height: 1px; border: 0;
  background: linear-gradient(90deg, var(--gold), rgba(168,137,79,.05));
  opacity: .65;
}
.gold-rule.center { background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
#embers { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 112%, rgba(110,15,30,.42), transparent 62%),
    radial-gradient(ellipse at 50% -20%, rgba(179,18,47,.08), transparent 55%);
}
.hero-title {
  text-shadow: 0 0 42px rgba(179,18,47,.28), 0 2px 0 rgba(0,0,0,.6);
}
.chev {
  width: 20px; height: 20px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  animation: chev-drop 1.9s ease-in-out infinite;
}
@keyframes chev-drop {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: .9; }
  50% { transform: rotate(45deg) translate(7px, 7px); opacity: .35; }
}

/* ---------- timeline (horizontal ledger) ---------- */
.tl-wrap { position: relative; }

/* horizontal burn progress line above the track */
.tl-progress {
  position: relative; height: 2px; margin: 0 1rem 0.25rem;
  background: rgba(230,221,201,.08);
}
.tl-burn-h {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--blood), var(--ember));
  transform-origin: left center; transform: scaleX(0.02);
  box-shadow: 0 0 14px rgba(179,18,47,.55);
  will-change: transform;
}

/* cinematic edge fades so the track feels contained */
.tl-fade::before, .tl-fade::after {
  content: ''; position: absolute; top: 2.25rem; bottom: 5.25rem;
  width: clamp(1.5rem, 6vw, 5rem); z-index: 4; pointer-events: none;
}
.tl-fade::before { left: 0; background: linear-gradient(to right, var(--void, #0a0a0e), transparent); }
.tl-fade::after { right: 0; background: linear-gradient(to left, var(--void, #0a0a0e), transparent); }

/* the independently scrollable track */
.tl-scroll {
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 2.75rem 1rem 1.25rem;
  cursor: grab;
}
.tl-scroll::-webkit-scrollbar { display: none; }
.tl-scroll.dragging { cursor: grabbing; }
.tl-scroll:focus-visible { outline: 1px solid rgba(179,18,47,.6); outline-offset: 3px; }
.tl-track-h {
  display: flex; align-items: flex-start;
  gap: 1.6rem;
  width: max-content;
  padding: 0 .25rem;
}

.tl-entry {
  position: relative;
  flex: 0 0 auto;
  width: min(300px, 76vw);
}

/* wax seal rides on top of each card */
.tl-seal {
  position: relative; z-index: 3;
  margin: 0 auto -2.25rem;
  width: 72px; height: 72px;
  border-radius: 48% 52% 55% 45% / 52% 46% 54% 48%;
  background: radial-gradient(circle at 36% 30%, #d91c40, var(--blood) 46%, var(--ember) 92%);
  border: 2px solid rgba(110,15,30,.95);
  box-shadow:
    0 5px 16px rgba(0,0,0,.65),
    inset 0 2px 6px rgba(255,255,255,.16),
    inset 0 -4px 9px rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
}
.tl-seal::before {
  content: ''; position: absolute; inset: 7px;
  border-radius: inherit;
  border: 1px solid rgba(230,221,201,.3);
}
.seal-date {
  font-family: "IBM Plex Mono", monospace;
  font-size: .58rem; letter-spacing: .05em; line-height: 1.3;
  color: var(--bone); text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.7);
}

.tl-card {
  position: relative;
  background: rgba(18,18,24,.88);
  background-image: var(--noise-soft);
  background-size: 240px;
  background-blend-mode: overlay;
  border: 1px solid rgba(168,137,79,.18);
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: border-color .4s ease;
}
.tl-card:hover { border-color: rgba(179,18,47,.4); }
.tl-card .tl-head { padding-top: 2.9rem; }

.tl-head {
  width: 100%; text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: transparent; border: 0; color: inherit;
}
.tl-head:focus-visible { outline: 1px solid var(--blood); outline-offset: -1px; }
.tl-plus {
  flex: none;
  font-family: "IBM Plex Mono", monospace;
  color: var(--blood); font-size: 1.15rem; line-height: 1;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.tl-entry.open .tl-plus { transform: rotate(45deg); }

.tl-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .55s cubic-bezier(.22,1,.36,1);
}
.tl-entry.open .tl-body { grid-template-rows: 1fr; }
.tl-body-inner {
  overflow: hidden; min-height: 0;
  opacity: 0; transition: opacity .45s ease .08s;
}
.tl-entry.open .tl-body-inner { opacity: 1; }

/* prev / next archive arrows */
.tl-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 1.4rem; margin-top: 1.5rem;
}
.tl-arrow {
  width: 44px; height: 44px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: "IBM Plex Mono", monospace; font-size: 1rem; line-height: 1;
  color: var(--gold);
  background: rgba(18,18,24,.82);
  border: 1px solid rgba(168,137,79,.35);
  cursor: pointer;
  transition: border-color .3s ease, color .3s ease, box-shadow .3s ease, opacity .3s ease;
}
.tl-arrow:hover { border-color: var(--blood); color: var(--bone); box-shadow: 0 0 18px rgba(179,18,47,.3); }
.tl-arrow:focus-visible { outline: 1px solid var(--blood); outline-offset: 2px; }
.tl-arrow[disabled] { opacity: .3; pointer-events: none; }
.tl-hint {
  font-family: "IBM Plex Mono", monospace;
  font-size: .56rem; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(230,221,201,.35);
}

.lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: .58rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold);
}
.ledger {
  position: relative;
  background-color: rgba(168,137,79,.07);
  background-image: var(--noise-soft);
  background-size: 240px;
  border: 1px solid rgba(168,137,79,.22);
  border-left: 3px solid rgba(168,137,79,.55);
  font-family: "IBM Plex Mono", monospace;
  font-size: .8rem; line-height: 1.75;
  color: rgba(230,221,201,.9);
  padding: 1rem 1.15rem;
}
.whisper {
  font-style: italic;
  color: #cf8692;
  font-size: .95rem; line-height: 1.8;
}
.whisper .quill {
  font-style: normal; color: var(--blood);
  margin-right: .5rem;
  text-shadow: 0 0 10px rgba(179,18,47,.6);
}
.pull-quote {
  border-left: 2px solid var(--gold);
  padding-left: 1.1rem;
  font-style: italic;
  color: rgba(230,221,201,.85);
  font-size: .92rem; line-height: 1.8;
}
.src-line {
  font-family: "IBM Plex Mono", monospace;
  font-size: .66rem; letter-spacing: .04em;
  color: rgba(230,221,201,.42);
}
.src-line a {
  color: rgba(230,221,201,.62);
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}
.src-line a:hover { color: #ff4d66; }



/* ---------- epigraph divider lines (spare taglines) ---------- */
.epigraph {
  font-family: "Cinzel", serif;
  font-style: italic;
  text-align: center;
  color: rgba(168,137,79,.75);
  font-size: clamp(.95rem, 2.2vw, 1.25rem);
  letter-spacing: .1em;
  padding: 4.5rem 1.5rem 0;
  max-width: 46rem;
  margin: 0 auto;
  text-shadow: 0 0 22px rgba(168,137,79,.18);
}

/* ---------- deep dives ---------- */
.dive { position: relative; overflow: hidden; padding: 7.5rem 0; }
.dive-wash {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(155deg, rgba(110,15,30,.30), rgba(10,10,14,0) 55%),
    linear-gradient(0deg, rgba(10,10,14,.55), transparent 42%);
}
.dive-num {
  position: absolute; top: 1.5rem; right: -.5rem;
  font-family: "Cinzel", serif; font-weight: 700;
  font-size: clamp(10rem, 26vw, 21rem); line-height: .9;
  color: rgba(179,18,47,.07);
  pointer-events: none; user-select: none;
  will-change: transform;
}
.dive-title {
  font-family: "Cinzel", serif;
  font-size: clamp(1.55rem, 4vw, 2.9rem);
  letter-spacing: .12em;
  will-change: transform;
}
.dive-prose p {
  color: rgba(230,221,201,.78);
  line-height: 1.9; font-size: .98rem;
  margin-bottom: 1.35rem;
}
.dive-prose p.lead { font-size: 1.12rem; color: rgba(230,221,201,.92); }

/* the Kearns chapter — solemn, desaturated, candle-lit */
.dive.solemn { filter: saturate(.5); }
.dive.solemn .dive-num { color: rgba(168,137,79,.07); }
.dive.solemn .dive-wash {
  background:
    linear-gradient(155deg, rgba(40,32,24,.35), rgba(10,10,14,0) 55%),
    linear-gradient(0deg, rgba(10,10,14,.6), transparent 42%);
}
.candle-glow {
  position: absolute; left: -90px; top: 18%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,176,88,.11), transparent 62%);
  pointer-events: none;
  animation: candle-flicker 3.6s ease-in-out infinite;
}
@keyframes candle-flicker {
  0%, 100% { opacity: .55; transform: scale(1); }
  22% { opacity: .85; transform: scale(1.045); }
  47% { opacity: .48; transform: scale(.975); }
  72% { opacity: .78; transform: scale(1.02); }
}
.lifeline {
  border: 1px solid rgba(168,137,79,.35);
  background: rgba(168,137,79,.06);
  font-style: italic;
  color: rgba(230,221,201,.75);
}

/* ---------- dossier card (token info) ---------- */
.dossier {
  position: relative;
  border: 1px solid rgba(168,137,79,.32);
  background-color: rgba(18,18,24,.96);
  background-image: var(--noise-soft);
  background-size: 240px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 32px 64px rgba(0,0,0,.55);
}
.dossier::before {
  content: ''; position: absolute; inset: 9px;
  border: 1px dashed rgba(168,137,79,.24);
  pointer-events: none;
}
.dossier .stamp { position: absolute; top: -14px; right: 22px; background: var(--void); }
.field-row {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: .35rem 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(230,221,201,.09);
}
.field-k {
  font-family: "IBM Plex Mono", monospace;
  font-size: .58rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold);
}
.field-v {
  font-family: "IBM Plex Mono", monospace;
  font-size: .82rem; color: #e6485e;
  word-break: break-all; text-align: right;
}
.field-v.plain { color: rgba(230,221,201,.85); }
.ph {
  font-family: "IBM Plex Mono", monospace;
  color: #e6485e;
}
.btn-buy {
  position: relative; display: block; text-align: center;
  background: var(--blood); color: var(--bone);
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: .24em; text-transform: uppercase;
  padding: 1rem 1.5rem; font-size: .8rem;
  animation: buy-pulse 2.3s ease-in-out infinite;
}
.btn-buy:hover { background: #d01536; }
@keyframes buy-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(179,18,47,.55); }
  50% { box-shadow: 0 0 28px 7px rgba(179,18,47,.32); }
}
.btn-ghost {
  display: block; text-align: center;
  border: 1px solid rgba(230,221,201,.25);
  color: rgba(230,221,201,.72);
  font-family: "IBM Plex Mono", monospace;
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  padding: .8rem 1rem;
  transition: border-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.btn-ghost:hover {
  border-color: var(--blood); color: var(--bone);
  box-shadow: 0 0 18px rgba(179,18,47,.18);
}
.copy-btn {
  font-family: "IBM Plex Mono", monospace;
  font-size: .56rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(230,221,201,.55);
  border: 1px solid rgba(168,137,79,.35);
  padding: .3rem .6rem;
  cursor: pointer; background: transparent;
  position: relative;
  transition: color .3s ease, border-color .3s ease;
}
.copy-btn:hover { color: var(--bone); border-color: var(--blood); }
.copy-tip {
  position: absolute; top: -1.7rem; right: 0;
  background: var(--blood); color: var(--bone);
  font-size: .56rem; letter-spacing: .12em;
  padding: .22rem .55rem;
  opacity: 0; transition: opacity .25s ease;
  pointer-events: none; white-space: nowrap;
}
.copy-tip.show { opacity: 1; }

/* ---------- manifesto ---------- */
.parchment {
  background-color: rgba(230,221,201,.045);
  background-image: var(--noise-soft), linear-gradient(180deg, rgba(230,221,201,.05), rgba(230,221,201,.015));
  background-size: 240px, cover;
  border: 1px solid rgba(168,137,79,.28);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.article {
  display: flex; gap: 1.1rem; align-items: baseline;
  padding: 1.05rem 1.15rem;
  border: 1px solid transparent;
  transition: border-color .35s ease, box-shadow .35s ease, background-color .35s ease;
}
.article:hover {
  border-color: rgba(179,18,47,.45);
  background-color: rgba(179,18,47,.05);
  box-shadow: inset 0 0 26px rgba(179,18,47,.1), 0 0 22px rgba(179,18,47,.12);
}
.article:hover .art-text { text-shadow: 0 0 16px rgba(179,18,47,.5); color: var(--bone); }
.art-num {
  font-family: "Cinzel", serif;
  color: var(--gold); font-size: 1.25rem;
  min-width: 2.6rem; flex: none;
}
.art-text { color: rgba(230,221,201,.82); line-height: 1.8; transition: text-shadow .35s ease, color .35s ease; }

/* ---------- roadmap ---------- */
.phase {
  position: relative;
  border: 1px solid rgba(168,137,79,.22);
  background-color: rgba(18,18,24,.85);
  background-image: var(--noise-soft);
  background-size: 240px;
  padding: 1.9rem 1.6rem 1.7rem;
  transition: transform .45s cubic-bezier(.22,1,.36,1), border-color .45s ease, box-shadow .45s ease;
}
.phase:hover {
  transform: translateY(-5px);
  border-color: rgba(179,18,47,.5);
  box-shadow: 0 22px 48px rgba(0,0,0,.5);
}
.phase-seal {
  width: 52px; height: 52px;
  border-radius: 47% 53% 55% 45% / 53% 47% 53% 47%;
  background: radial-gradient(circle at 36% 30%, #d91c40, var(--blood) 48%, var(--ember) 92%);
  border: 2px solid rgba(110,15,30,.95);
  box-shadow: 0 4px 12px rgba(0,0,0,.6), inset 0 2px 5px rgba(255,255,255,.15), inset 0 -3px 7px rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  font-family: "Cinzel", serif; color: var(--bone);
  font-size: 1.05rem; text-shadow: 0 1px 3px rgba(0,0,0,.7);
  margin-bottom: 1.2rem;
}

/* ---------- footer ---------- */
.nfa-strip {
  background: var(--blood);
  color: var(--bone);
  overflow: hidden; white-space: nowrap;
  font-family: "IBM Plex Mono", monospace;
  font-size: .68rem; letter-spacing: .34em;
  padding: .65rem 0;
}
.nfa-inner { display: inline-block; animation: nfa-scroll 26s linear infinite; }
@keyframes nfa-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.src-grid a {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: .6rem; line-height: 1.5;
  color: rgba(230,221,201,.38);
  padding: .18rem 0;
  overflow: hidden; text-overflow: ellipsis;
}
.src-grid a:hover { color: #ff4d66; }

/* ---------- sound toggle ---------- */
.sound-toggle {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 80;
  display: flex; align-items: center; gap: .55rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(230,221,201,.4);
  border: 1px solid rgba(230,221,201,.16);
  background: rgba(10,10,14,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: .6rem .95rem;
  cursor: pointer;
  transition: color .3s ease, border-color .3s ease;
}
.sound-toggle:hover { color: rgba(230,221,201,.85); }
.sound-toggle .sound-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.sound-toggle.on { color: rgba(230,221,201,.85); border-color: rgba(179,18,47,.55); }
.sound-toggle.on .sound-dot { background: var(--blood); box-shadow: 0 0 9px var(--blood); }

/* ---------- Elon & the Archive callout ---------- */
.elon-cluster {
  margin-top: 3.5rem;
  border: 1px solid rgba(168,137,79,.28);
  background:
    linear-gradient(180deg, rgba(179,18,47,.06), rgba(10,10,14,0) 40%),
    rgba(18,18,24,.72);
  padding: 2.25rem 1.75rem 2rem;
  position: relative;
}
.elon-cluster::before {
  content: "ARCHIVE EXHIBIT";
  position: absolute; top: -0.65rem; left: 1.25rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: .58rem; letter-spacing: .32em;
  color: var(--gold);
  background: var(--void, #0a0a0e);
  padding: 0 .5rem;
  border: 1px solid rgba(168,137,79,.35);
}
.elon-kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(230,221,201,.5);
}
.elon-title {
  font-family: "Cinzel", serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  letter-spacing: .12em;
  color: var(--bone);
  margin-top: .6rem;
}
.elon-intro {
  font-size: .92rem; line-height: 1.7; color: rgba(230,221,201,.72);
  max-width: 42rem;
}
.elon-group {
  font-family: "IBM Plex Mono", monospace;
  font-size: .6rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold);
  margin: 2rem 0 1rem;
  border-bottom: 1px solid rgba(168,137,79,.2);
  padding-bottom: .45rem;
}
.elon-q { margin: 0 0 1.1rem; }
.elon-q blockquote {
  border-left: 2px solid var(--blood);
  padding: .35rem 0 .35rem 1rem;
  color: rgba(230,221,201,.92);
  font-size: 1rem; line-height: 1.65;
}
.elon-q figcaption {
  font-family: "IBM Plex Mono", monospace;
  font-size: .62rem; letter-spacing: .12em;
  color: rgba(230,221,201,.48);
  padding-left: 1rem; margin-top: .3rem;
}
.elon-q--hero blockquote {
  font-family: "Cinzel", serif;
  font-size: clamp(1.35rem, 3.4vw, 1.9rem);
  letter-spacing: .06em;
  color: #d8cdb2;
  border-left-color: var(--gold);
  text-shadow: 0 0 22px rgba(179,18,47,.35);
}
.elon-q--tweet blockquote {
  font-family: "IBM Plex Mono", monospace;
  font-size: .85rem; line-height: 1.8;
  color: rgba(230,221,201,.85);
  background: rgba(10,10,14,.55);
  border: 1px solid rgba(230,221,201,.08);
  border-left: 2px solid var(--blood);
  padding: .9rem 1.1rem;
}
.elon-src {
  margin-top: 1.75rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: .62rem; letter-spacing: .1em;
  color: rgba(230,221,201,.42);
}
.elon-src a { color: rgba(168,137,79,.85); text-decoration: none; border-bottom: 1px dotted rgba(168,137,79,.4); }
.elon-src a:hover { color: var(--bone); }

/* ---------- Mission strip ---------- */
.mission-strip {
  background: linear-gradient(180deg, rgba(179,18,47,.05), rgba(179,18,47,.02) 70%, rgba(179,18,47,.03));
}
/* seamless bleed from mission into the coin section */
.mission-flow {
  background: linear-gradient(180deg, rgba(179,18,47,.03), rgba(10,10,14,0) 22rem);
  border-top: none;
}

/* ---------- Sticky buy button ---------- */
.sticky-buy {
  position: fixed; bottom: 4.75rem; right: 1.25rem; z-index: 80;
  font-family: "IBM Plex Mono", monospace;
  font-size: .66rem; letter-spacing: .24em; text-transform: uppercase;
  background: var(--blood); color: var(--bone);
  padding: .85rem 1.35rem;
  border: 1px solid rgba(230,221,201,.14);
  box-shadow: 0 12px 32px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(14px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease, background .2s ease;
  text-decoration: none;
}
.sticky-buy.show {
  opacity: 1; transform: none; pointer-events: auto;
  animation: buy-pulse 2.3s ease-in-out infinite;
}
.sticky-buy:hover { background: #d01536; }
@media (max-width: 640px) {
  .sticky-buy { right: 1rem; bottom: 1.25rem; font-size: .6rem; padding: .75rem 1.1rem; }
  /* keep the sound toggle clear of the buy button on small screens */
  .sound-toggle { right: auto; left: 1rem; }
}

/* ---------- Dossier emphasis ---------- */
.dossier {
  border-color: rgba(179,18,47,.42);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 32px 64px rgba(0,0,0,.55), 0 0 46px rgba(179,18,47,.16);
}
.dossier::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blood), transparent);
  pointer-events: none;
}
@media (max-width: 1023px) {
  #coin aside.dossier { order: -1; }
}

/* ---------- no-JS fallback: all entries readable, no chrome that needs JS ---------- */
html:not(.js) .tl-body { grid-template-rows: 1fr; }
html:not(.js) .tl-body-inner { opacity: 1; }
html:not(.js) .tl-plus { display: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .grain, .nfa-inner { animation: none !important; }
  .glitch::before, .glitch::after { display: none; }
}
