/* ============================================================
   SLOPAGANDIST — house style
   Muckraker broadsheet × hall-of-shame gallery.
   ============================================================ */

:root {
  --cream: #f3ede0;
  --cream-2: #ece4d2;
  --paper: #f8f4ea;
  --ink: #181410;
  --ink-soft: #463e33;
  --ink-faint: #7a7061;
  --red: #b02418;
  --red-dark: #7e1a12;
  --ochre: #c6963e;
  --rule: 1px solid var(--ink);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --shadow-card: 6px 6px 0 rgba(24, 20, 16, 0.16);
  --shadow-card-hover: 10px 12px 0 rgba(24, 20, 16, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  background:
    linear-gradient(rgba(243, 237, 224, 0.86), rgba(243, 237, 224, 0.86)),
    url('../img/texture/paper.jpg');
  background-size: auto, 640px;
  -webkit-font-smoothing: antialiased;
}

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

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

a { color: var(--red-dark); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.55rem 1.25rem;
  background: var(--ink);
  color: var(--cream);
  border-bottom: 3px solid var(--red);
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--cream);
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  background: var(--red);
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1;
}
.brand-word {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.brand-word em { color: var(--red); font-style: normal; }
.topbar-nav { display: flex; gap: 1.1rem; margin-left: auto; }
.topbar-nav a {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.18s;
  white-space: nowrap;
  flex: 0 0 auto;
}
.topbar-nav a:hover { border-color: var(--red); color: #fff; }
.topbar-nav .nav-cta { color: var(--ochre); }
.topbar-meta .est {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: var(--rule);
  padding: clamp(3rem, 8vw, 6.5rem) 1.25rem clamp(2.5rem, 6vw, 4.5rem);
}
.hero-inner { max-width: 1060px; margin: 0 auto; position: relative; z-index: 2; }
.hero-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-dark);
  border-top: 3px double var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 0.45rem 0;
  margin: 0 0 1.4rem;
}
.masthead {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(3rem, 11.5vw, 9.2rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 1.2rem;
  text-wrap: balance;
}
.masthead-dot { color: var(--red); }
.hero-etym {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  border: var(--rule);
  background: var(--paper);
  padding: 0.7rem 1rem;
  margin: 0 0 1.6rem;
  box-shadow: var(--shadow-card);
}
.ety-word { font-weight: 600; color: var(--red-dark); }
.ety-ipa { color: var(--ink-faint); }
.ety-pos { font-style: italic; color: var(--ink-soft); }
.ety-def { flex-basis: 100%; color: var(--ink-soft); }
.hero-mission {
  max-width: 46ch;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  line-height: 1.55;
  margin: 0 0 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.4rem; }

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
}
.btn-red { background: var(--red); border-color: var(--red-dark); color: var(--cream); box-shadow: 4px 4px 0 var(--ink); }
.btn-red:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: 4px 4px 0 rgba(24,20,16,0.18); }
.btn-ghost:hover { transform: translate(-2px, -2px); background: var(--ink); color: var(--cream); }
.btn-big { font-size: 1rem; padding: 1.05rem 1.8rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: var(--rule);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}
.stat { padding: 0.9rem 1rem; border-right: var(--rule); }
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1;
  color: var(--red-dark);
}
.stat dd { margin: 0.25rem 0 0; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

.hero-halftone {
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: url('../img/texture/halftone-band.jpg') repeat-x bottom / auto 100%;
  opacity: 0.16;
  pointer-events: none;
  z-index: 1;
}

/* ---------- wire ticker ---------- */
.wire {
  display: flex;
  align-items: stretch;
  background: var(--red);
  color: var(--cream);
  border-bottom: var(--rule);
  overflow: hidden;
}
.wire-label {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0.55rem 1rem;
  background: var(--ink);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}
.wire-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  white-space: nowrap;
  padding: 0.55rem 0 0.55rem 2rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  animation: wire-scroll 60s linear infinite;
  will-change: transform;
}
.wire:hover .wire-track { animation-play-state: paused; }
.wire-item { display: inline-flex; align-items: center; gap: 3.5rem; }
.wire-item::after { content: '◆'; color: var(--ochre); font-size: 0.6rem; }
@keyframes wire-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- generic sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 1.25rem; border-bottom: var(--rule); scroll-margin-top: 60px; }
.empty-state, .controls { scroll-margin-top: 70px; }
.section > * { max-width: 1060px; margin-left: auto; margin-right: auto; }
.section-ink { background: var(--ink); color: var(--cream); }
.section-ink .section-title { color: var(--cream); }
.section-ink .section-intro { color: #cfc6b4; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.section-no {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 0.15rem 0.45rem;
  flex: 0 0 auto;
}
.section-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
  margin: 0;
  white-space: nowrap;
}
.section-rule { flex: 1 1 auto; border-top: 3px double currentColor; opacity: 0.5; }
.section-intro { max-width: 62ch; margin-top: 0; margin-bottom: 2rem; color: var(--ink-soft); }

/* ---------- manifesto ---------- */
.manifesto-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.5;
  margin-top: 0;
}
.manifesto-copy p { margin: 0 0 1.1rem; }
.manifesto-copy .signoff {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--red-dark);
  letter-spacing: 0.06em;
}
.manifesto-fig, .method-fig {
  margin: 0;
  border: var(--rule);
  background: var(--paper);
  padding: 0.6rem;
  box-shadow: var(--shadow-card);
  transform: rotate(0.6deg);
}
.manifesto-fig img, .method-fig img { border: 1px solid var(--ink-soft); filter: sepia(0.18) contrast(1.02); }
figcaption {
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--ink-soft);
  padding-top: 0.55rem;
}
.fig-credit { display: block; color: var(--ink-faint); font-size: 0.62rem; }

/* ---------- field guide ---------- */
.species-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.1rem;
}
.species {
  border: 1px solid #5a5044;
  background: #201a14;
  padding: 1.2rem 1.2rem 1.1rem;
  position: relative;
  transition: transform 0.18s, border-color 0.18s, background 0.18s;
}
.species:hover { transform: translateY(-4px); border-color: var(--ochre); background: #241d16; }
.species::before {
  content: '';
  position: absolute;
  top: 0.5rem; right: 0.5rem;
  width: 10px; height: 10px;
  border-top: 2px solid var(--red);
  border-right: 2px solid var(--red);
}
.species-name { font-family: var(--serif); font-weight: 800; font-size: 1.25rem; margin: 0 0 0.15rem; color: var(--cream); }
.species-latin { font-family: var(--mono); font-style: italic; font-size: 0.72rem; color: var(--ochre); letter-spacing: 0.08em; margin: 0 0 0.7rem; }
.species-desc { font-size: 0.92rem; line-height: 1.55; color: #cfc6b4; margin: 0; }

/* ---------- registry controls ---------- */
.controls {
  border: var(--rule);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  padding: 1rem 1.1rem 0.8rem;
  margin-bottom: 2rem;
  position: sticky;
  top: 52px;
  z-index: 40;
}
.control-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.search-wrap {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 2px solid var(--ink);
  background: var(--cream);
  padding: 0 0.8rem;
}
.search-icon { font-size: 1.15rem; color: var(--red-dark); }
.search-wrap input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 0.85rem;
  padding: 0.7rem 0;
  color: var(--ink);
  outline: none;
}
.sort-wrap { display: flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.sort-wrap select {
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 0.55rem 0.6rem;
  border: 2px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.chip:hover { transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.chip .chip-count { color: var(--red); margin-left: 0.3rem; }
.chip[aria-pressed="true"] .chip-count { color: var(--ochre); }
.result-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  min-height: 1.4rem;
}
.reset-btn, .linklike {
  background: none;
  border: none;
  color: var(--red-dark);
  font-family: var(--mono);
  font-size: 0.72rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
}
.card {
  border: var(--rule);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover, .card:focus-visible {
  transform: translate(-3px, -4px) rotate(-0.3deg);
  box-shadow: var(--shadow-card-hover);
  outline: none;
}
.card:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.card-plate {
  position: relative;
  overflow: hidden;
  border-bottom: var(--rule);
  aspect-ratio: 4 / 3;
  background: var(--cream-2);
}
.card-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.25) saturate(0.85) contrast(1.02);
  transition: transform 0.35s ease, filter 0.35s ease;
}
.card:hover .card-plate img { transform: scale(1.045); filter: sepia(0.05) saturate(1); }
.card-no {
  position: absolute;
  top: 0.55rem;
  left: 0.6rem;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
}
.card-year {
  position: absolute;
  top: 0.55rem;
  right: 0.6rem;
  background: var(--red);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.68rem;
  padding: 0.2rem 0.5rem;
}
.card-body { padding: 0.95rem 1.05rem 1.05rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card-cat {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-dark);
}
.card-name {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.28rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.card-epithet { font-size: 0.88rem; color: var(--ink-soft); font-style: italic; margin: 0; flex: 1; }
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  border-top: 1px dashed var(--ink-faint);
  padding-top: 0.6rem;
  margin-top: 0.35rem;
}
.slop-meter { display: inline-flex; align-items: center; gap: 0.4rem; }
.slop-meter-label { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.slop-pips { display: inline-flex; gap: 2.5px; }
.slop-pip { width: 7px; height: 11px; background: var(--cream-2); border: 1px solid var(--ink-soft); }
.slop-pip.on { background: var(--red); border-color: var(--red-dark); }
.card-open {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.15s, transform 0.15s;
}
.card:hover .card-open { color: var(--red); transform: translateX(3px); }

.empty-state {
  border: 2px dashed var(--ink-faint);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--ink-soft);
}
.empty-big { font-family: var(--serif); font-weight: 800; font-size: 1.6rem; margin: 0 0 0.4rem; color: var(--ink); }

/* ---------- method ---------- */
.ledger { margin: 0; padding-left: 1.3rem; }
.ledger li { margin-bottom: 1rem; padding-left: 0.4rem; }
.ledger li::marker { font-family: var(--mono); color: var(--red); font-weight: 600; }
.method-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; }
.method .method-fig { background: #241d16; border-color: #5a5044; transform: rotate(-0.6deg); }
.method .method-fig figcaption { color: #b7ac97; }
.method .method-fig .fig-credit { color: #7d7263; }

/* ---------- CTA ---------- */
.cta { background: var(--red); color: var(--cream); border-bottom: var(--rule); }
.cta-inner { text-align: center; max-width: 760px; }
.cta-kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ochre); margin: 0 0 0.9rem; }
.cta-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 1.1rem;
}
.cta-copy { font-family: var(--serif); font-size: 1.12rem; line-height: 1.6; margin: 0 auto 1.7rem; max-width: 56ch; color: #f8e9dd; }
.cta .btn-red { background: var(--ink); border-color: var(--ink); color: var(--cream); box-shadow: 5px 5px 0 rgba(0,0,0,0.35); }
.cta .btn-red:hover { background: #000; }
.cta-fine { font-family: var(--mono); font-size: 0.7rem; color: #f0d9c8; margin: 1.3rem 0 0; letter-spacing: 0.05em; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #cfc6b4; padding: 2.8rem 1.25rem 0; }
.footer-grid {
  max-width: 1060px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 2rem;
}
.footer-brand p { font-size: 0.86rem; line-height: 1.6; margin: 0.8rem 0 0; max-width: 44ch; }
.footer-col h3 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 0.7rem;
}
.footer-col a { display: block; color: #cfc6b4; text-decoration: none; font-size: 0.86rem; padding: 0.18rem 0; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col p { font-size: 0.78rem; line-height: 1.6; margin: 0; }
.footer-rule {
  max-width: 1060px;
  margin: 0 auto;
  border-top: 1px solid #4a4136;
  padding: 0.9rem 0 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: #7d7263;
}

/* ---------- dossier overlay ---------- */
.dossier-overlay[hidden] { display: none; }
.dossier-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 12, 9, 0.72);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  padding: 1.2rem;
  overflow-y: auto;
}
.dossier {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100vh - 2.4rem);
  overflow-y: auto;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 12px 14px 0 rgba(0, 0, 0, 0.45);
  animation: dossier-in 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}
@keyframes dossier-in {
  from { transform: translateY(26px) scale(0.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.dossier-close {
  position: sticky;
  top: 0.7rem;
  float: right;
  margin: 0.7rem 0.7rem 0 0;
  z-index: 5;
  width: 2.4rem;
  height: 2.4rem;
  border: 2px solid var(--ink);
  background: var(--red);
  color: var(--cream);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.dossier-close:hover { transform: rotate(90deg); background: var(--red-dark); }
.dossier-body { padding: 0 0 2rem; }

.d-head { padding: 1.6rem 2rem 1.2rem; border-bottom: 3px double var(--ink); position: relative; }
.d-kicker { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red-dark); margin: 0 0 0.5rem; }
.d-name { font-family: var(--serif); font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 2.8rem 0.5rem 0; }
.d-epithet { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink-soft); margin: 0; }
.d-stamp {
  position: absolute;
  right: 1.6rem;
  bottom: 1.1rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 3px;
  padding: 0.25rem 0.55rem;
  transform: rotate(-6deg);
  opacity: 0.9;
}
.d-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: var(--rule);
  font-family: var(--mono);
  font-size: 0.7rem;
}
.d-meta > div { padding: 0.6rem 1.1rem; border-right: 1px dashed var(--ink-faint); }
.d-meta dt { color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.58rem; margin-bottom: 0.15rem; }
.d-meta dd { margin: 0; }
.d-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.d-tag { border: 1px solid var(--ink-soft); padding: 0.08rem 0.4rem; font-size: 0.62rem; }

.d-main { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.6rem; padding: 1.4rem 2rem 0; }
.d-section-title {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-dark);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.3rem;
  margin: 0 0 0.8rem;
}
.d-main p { margin: 0 0 1rem; font-size: 0.95rem; }
.d-gun {
  border-left: 4px solid var(--red);
  background: var(--cream-2);
  padding: 0.9rem 1.1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  margin: 0 0 1rem;
}
.d-exhibit { margin: 0 0 1.1rem; border: var(--rule); background: var(--cream); padding: 0.45rem; }
.d-exhibit img { width: 100%; filter: sepia(0.12); }
.d-exhibit figcaption { font-size: 0.62rem; padding-top: 0.4rem; }
.d-sources { margin: 0; padding: 0; list-style: none; }
.d-sources li {
  border-bottom: 1px dashed var(--ink-faint);
  padding: 0.55rem 0;
  font-size: 0.84rem;
}
.d-sources li:last-child { border-bottom: 0; }
.d-src-outlet { font-family: var(--mono); font-size: 0.72rem; color: var(--red-dark); text-transform: uppercase; letter-spacing: 0.08em; display: block; }
.d-plate-thumb { margin-top: 1.1rem; border: var(--rule); }
.d-plate-thumb img { width: 100%; filter: sepia(0.2); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.card { opacity: 0; transform: translateY(16px); }
.card.in { opacity: 1; transform: none; transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.18s ease; }
.card.in:hover { transform: translate(-3px, -4px) rotate(-0.3deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wire-track { animation: none; }
  .reveal, .card { opacity: 1; transform: none; transition: none; }
  .dossier { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .manifesto-grid, .method-grid, .d-main { grid-template-columns: 1fr; }
  .topbar-meta { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: var(--rule); }
}
@media (max-width: 640px) {
  .topbar { flex-wrap: wrap; gap: 0.5rem 1rem; padding: 0.5rem 0.9rem; }
  .topbar-nav { order: 3; width: 100%; overflow-x: auto; gap: 0.9rem; padding-bottom: 0.2rem; }
  .section-title { white-space: normal; }
  .controls { position: static; padding: 0.8rem; }
  .card-grid { grid-template-columns: 1fr; }
  .d-head, .d-main { padding-left: 1.1rem; padding-right: 1.1rem; }
  .d-stamp { position: static; display: inline-block; margin-top: 0.7rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .wire-track { animation-duration: 40s; }
}
