/* Doublespeak v23 — Phylogeny. Earthy editorial · Iowan Old Style + Avenir Next. */

:root {
  --paper:        #f6f4ef;
  --sheet:        #ffffff;
  --ink:          #0d0d0d;
  --muted:        #5a554d;
  --faint:        #97918a;
  --line:         #d8d2c5;
  --line-strong:  #1a1a1a;
  --red:          #b91c1c;
  --red-soft:     #fbe7e3;
  --amber:        #b35a00;
  --highlight:    #f4ecdc;

  --max:          1440px;
  --pad-x:        clamp(24px, 4vw, 80px);

  --font-display: "Tiempos Headline", "Source Serif Pro", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-text:    "Inter", "Helvetica Neue", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", "SF Mono", "Menlo", "Consolas", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: 56px;     /* room for fixed top bar */
  padding-bottom: 72px;  /* covers default bottom bar (56) + clearance */
}
a { color: inherit; }
button { font: inherit; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ===== Bars ===== */

.bar {
  position: fixed; left: 0; right: 0;
  background: var(--sheet);
  z-index: 50;
  display: flex; align-items: center;
}
.bar-top {
  top: 0; height: 56px;
  border-bottom: 1px solid var(--line-strong);
  padding: 0 var(--pad-x);
  gap: 24px;
}
.bar-top .brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand-mark {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-mono); font-weight: 700; font-size: 12px;
  letter-spacing: 0.02em;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 20px; letter-spacing: 0.005em;
}

.bar-nav {
  display: flex; gap: 6px; margin-left: auto;
}
.bar-nav a {
  padding: 8px 12px;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.bar-nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
@media (max-width: 720px) {
  .bar-nav { display: none; }
}

.bar-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  padding-left: 18px; border-left: 1px solid var(--line);
  height: 28px;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2f8c4a;
}
.status-dot.is-offline { background: var(--faint); }

.bar-bottom {
  bottom: 0;
  flex-direction: column; align-items: stretch;
  border-top: 1px solid var(--line-strong);
  padding: 8px var(--pad-x);
  gap: 0;
  transition: padding 0.2s ease;
}
.bar-bottom.is-engaged { padding: 12px var(--pad-x) 14px; gap: 8px; }

.bar-bottom-skus {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}
.bar-bottom.is-engaged .bar-bottom-skus {
  max-height: 32px; opacity: 1;
}
.bar-bottom-skus span { display: inline-flex; align-items: center; gap: 6px; }
.bar-bottom-skus span::before {
  content: ""; width: 6px; height: 6px; background: var(--red); border-radius: 50%;
}

.bar-bottom-form {
  display: flex; gap: 8px; align-items: stretch;
}
.bar-bottom-form input[type="email"] {
  flex: 1;
  height: 40px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  padding: 0 14px;
  font: inherit; font-size: 14px;
  color: var(--ink);
  outline: none;
}
.bar-bottom-form input[type="email"]:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px var(--red-soft);
}
.lead-submit {
  height: 40px;
  padding: 0 22px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
}
.lead-submit:hover { background: var(--red); border-color: var(--red); }
.lead-qr {
  height: 40px; width: 40px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  cursor: pointer;
}
.lead-qr svg { width: 20px; height: 20px; fill: currentColor; }
.lead-qr:hover { background: var(--ink); color: var(--paper); }

.bar-bottom-msg {
  font-size: 12px; color: var(--muted);
  min-height: 0;
  margin: 0;
  transition: margin-top 0.15s, min-height 0.15s;
}
.bar-bottom-msg:not(:empty) {
  min-height: 16px;
  margin-top: 6px;
}
.bar-bottom-msg.is-error  { color: var(--red); }
.bar-bottom-msg.is-thanks { color: #1f6b35; }

/* ===== Loading state ===== */
.app-loading {
  padding: 200px var(--pad-x);
  text-align: center;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--faint);
}

/* ===== Section frame ===== */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 8vh, 120px) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.section:last-of-type { border-bottom: 0; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red); font-weight: 600;
  margin-bottom: 18px;
}
.section-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15; letter-spacing: -0.005em;
  margin: 0 0 24px; max-width: 28ch;
}

/* ===== HERO ===== */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vh, 80px) var(--pad-x) clamp(40px, 5vh, 64px);
  border-bottom: 2px solid var(--ink);
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--red);
}
.hero-thesis {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}
.hero-thesis span {
  display: block;
  text-wrap: balance;
}
.hero-thesis span + span { margin-top: 4px; }
.hero-thesis em {
  color: var(--red);
  font-style: italic;
}
.hero-conclusion {
  margin-top: 36px;
  font-size: clamp(17px, 1.4vw, 22px); line-height: 1.5;
  color: var(--ink);
  max-width: 64ch;
  border-left: 3px solid var(--ink);
  padding-left: 18px;
}
.hero-conclusion strong { font-weight: 600; }

.hero-stats {
  margin-top: clamp(48px, 7vh, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}
.hero-stat {
  border-right: 1px solid var(--line);
  padding: 28px 24px 0 0;
}
.hero-stat:last-child { border-right: 0; padding-right: 0; }
.hero-stat .v {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1; letter-spacing: -0.02em;
  display: block;
  font-feature-settings: "tnum" on, "lnum" on;
}
.hero-stat .l {
  display: block; margin-top: 12px;
  font-size: 14px; line-height: 1.4; color: var(--ink);
  max-width: 28ch;
}
.hero-stat .n {
  display: block; margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0; }
  .hero-stat:last-child { border-bottom: 0; }
}

/* ===== HOW BUILT ===== */

.how-headline { max-width: 36ch; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}
.how-step {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 22px 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.how-step .tag {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.12em; color: var(--red); font-weight: 700;
}
.how-step .title {
  font-family: var(--font-display);
  font-size: 20px; line-height: 1.2;
}
.how-step .body {
  font-size: 14px; line-height: 1.55; color: var(--muted);
}
@media (max-width: 980px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .how-grid { grid-template-columns: 1fr; } }

/* ===== DIFFERENTIATOR ===== */

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  margin-top: 8px;
}
.diff-col {
  border-right: 1px solid var(--line);
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--paper);
}
.diff-col:last-child { border-right: 0; }
.diff-col.highlight {
  background: var(--ink);
  color: var(--paper);
}
.diff-col .label {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.diff-col.highlight .label { color: #d6cfbf; }
.diff-col .row {
  font-family: var(--font-display);
  font-size: 19px; line-height: 1.25;
  padding: 8px 0;
  border-top: 1px dashed var(--line);
}
.diff-col.highlight .row { border-top-color: #3a3833; }
.diff-col .row:nth-child(2) { border-top: 0; }
.diff-footnote {
  margin-top: 18px;
  font-size: 13px; color: var(--muted);
  font-style: italic;
}
@media (max-width: 880px) { .diff-grid { grid-template-columns: 1fr; }
  .diff-col { border-right: 0; border-bottom: 1px solid var(--line); }
  .diff-col:last-child { border-bottom: 0; }
}

/* ===== CLUSTER STACK (the case) ===== */

.ops {
  background: var(--sheet);
}
.ops-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
  align-items: end;
}
.ops-intro p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; }
@media (max-width: 880px) { .ops-intro { grid-template-columns: 1fr; gap: 16px; } }

.cluster-stack {
  border-top: 2px solid var(--ink);
}
.cluster-row {
  display: grid;
  grid-template-columns: 88px 1fr 320px 56px;
  gap: 32px;
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--line-strong);
  align-items: start;
  cursor: pointer;
  transition: background 0.18s, padding 0.18s;
  position: relative;
}
.cluster-row:hover {
  background: var(--highlight);
  padding-left: 12px;
  padding-right: 12px;
}
.cluster-row:hover .cluster-arrow { color: var(--red); }
.cluster-row .num {
  font-family: var(--font-mono);
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--red);
  font-weight: 600;
  padding-top: 4px;
}
.cluster-row .body {
  display: flex; flex-direction: column; gap: 8px;
}
.cluster-row .name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.1;
  margin: 0;
}
.cluster-row .role {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.cluster-row .punch {
  font-family: var(--font-display);
  font-size: 18px; line-height: 1.45;
  margin-top: 4px;
  color: var(--ink);
  max-width: 64ch;
}
.cluster-row .fp {
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.cluster-row .fp .fp-row {
  display: flex; justify-content: space-between; gap: 12px;
  letter-spacing: 0.04em;
}
.cluster-row .fp .fp-row b {
  color: var(--ink);
  font-weight: 600;
  font-feature-settings: "tnum" on, "lnum" on;
}
.cluster-row .fp .fp-bar {
  display: flex; gap: 2px; align-items: center;
  height: 10px;
}
.cluster-row .fp .fp-bar i {
  display: block; height: 100%;
  background: var(--ink);
}
.cluster-row .fp .fp-bar i.alt    { background: var(--red); }
.cluster-row .fp .fp-bar i.muted  { background: var(--line-strong); }
.cluster-row .fp .fp-cap {
  font-size: 12px; color: var(--faint);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.cluster-row .cluster-arrow {
  align-self: center;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--muted);
  text-align: right;
  transition: color 0.18s, transform 0.18s;
}
.cluster-row:hover .cluster-arrow { transform: translateX(4px); }

@media (max-width: 980px) {
  .cluster-row {
    grid-template-columns: 56px 1fr;
    gap: 18px;
  }
  .cluster-row .fp { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px dashed var(--line); padding-top: 14px; }
  .cluster-row .cluster-arrow { display: none; }
}

/* ===== WHY NOW ===== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}
.why-item {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 28px 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.why-item .label {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--red); font-weight: 700;
  letter-spacing: 0.1em;
}
.why-item .head {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.7vw, 26px); line-height: 1.2;
}
.why-item .body {
  font-size: 14px; line-height: 1.55; color: var(--muted);
}
@media (max-width: 800px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== BUYERS ===== */

.buyers {
  background: var(--ink); color: var(--paper);
  border-bottom: 0;
}
.buyers .section-eyebrow { color: #f0d4d0; }
.buyers ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid #3a3833;
}
.buyers li {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.3;
  padding: 24px 28px 28px 0;
  border-right: 1px solid #3a3833;
}
.buyers li:last-child { border-right: 0; padding-right: 0; }
@media (max-width: 880px) {
  .buyers ul { grid-template-columns: 1fr; }
  .buyers li { padding: 18px 0; border-right: 0; border-bottom: 1px solid #3a3833; }
  .buyers li:last-child { border-bottom: 0; }
}

/* ===== ARCHIVE PROOF ===== */

.archive {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.archive .archive-numbers {
  display: flex; flex-direction: column; gap: 14px;
  border-left: 4px solid var(--red);
  padding-left: 24px;
}
.archive .big {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  font-feature-settings: "tnum" on, "lnum" on;
  letter-spacing: -0.02em;
}
.archive .big-sub {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.archive p {
  font-size: 16px; line-height: 1.6; color: var(--ink);
  max-width: 56ch;
}
.archive .archive-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 20px;
  padding: 12px 18px;
  background: var(--ink); color: var(--paper);
  text-decoration: none;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--ink);
  cursor: pointer;
}
.archive .archive-cta:hover { background: var(--red); border-color: var(--red); }
.archive .archive-cta::after { content: "→"; font-family: var(--font-display); font-size: 20px; line-height: 1; }
@media (max-width: 880px) { .archive { grid-template-columns: 1fr; gap: 32px; } }

/* ===== CONTACT ===== */

.contact-skus {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}
.contact-sku {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 24px 28px;
}
.contact-sku h3 {
  font-family: var(--font-display);
  font-size: 22px; margin: 0 0 10px;
  line-height: 1.2;
}
.contact-sku p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }
@media (max-width: 880px) { .contact-skus { grid-template-columns: 1fr; } }

/* ===== FOOTER ===== */

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px var(--pad-x) 56px;
  font-size: 12px; line-height: 1.55; color: var(--muted);
  display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.foot .credit { color: var(--ink); font-weight: 600; }

/* ===== QR popover ===== */
.qr-popover {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  background: rgba(13, 13, 13, 0.6);
  z-index: 100;
}
.qr-popover[hidden] { display: none; }
.qr-popover-card {
  background: var(--sheet);
  padding: 32px 32px 24px;
  border: 1px solid var(--line-strong);
  max-width: 360px; width: 100%;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.qr-popover-card strong {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red);
}
.qr-canvas {
  width: 220px; height: 220px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 12px; color: var(--faint);
}
.qr-canvas svg { display: block; }
.qr-popover-card p {
  font-size: 13px; color: var(--muted); margin: 0;
}
.qr-close {
  background: var(--ink); color: var(--paper);
  border: 0; padding: 10px 22px;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
}
.qr-url-text {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
  text-align: center;
  padding: 8px 12px;
  background: var(--paper);
  border: 1px dashed var(--line);
  max-width: 100%;
}

/* ===== L1 cluster row faded state (during L2 expansion) ===== */
.cluster-row.is-faded {
  opacity: 0.32;
  transition: opacity 0.18s, background 0.15s, padding 0.18s;
}
.cluster-row.is-faded:hover {
  opacity: 1;
  background: var(--highlight);
}
.cluster-row.is-active {
  background: var(--ink);
  color: var(--paper);
  padding-left: 12px; padding-right: 12px;
}
.cluster-row.is-active .role,
.cluster-row.is-active .fp,
.cluster-row.is-active .fp-cap { color: #d6cfbf; }
.cluster-row.is-active .num         { color: #f0a8a4; }
.cluster-row.is-active .punch       { color: var(--paper); }
.cluster-row.is-active .fp .fp-row b { color: var(--paper); }
.cluster-row.is-active .cluster-arrow { color: var(--paper); transform: rotate(90deg); }

/* ===== L2: cluster detail (in-place expansion) ===== */

.cluster-detail {
  background: var(--paper);
  border-top: 0;
  border-bottom: 2px solid var(--ink);
  padding: clamp(48px, 7vh, 96px) var(--pad-x) clamp(48px, 6vh, 80px);
  margin: 0;
  max-width: 100%;
}
.cluster-detail-loading {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint);
  padding: 80px 0;
}

.cluster-banner {
  max-width: var(--max);
  margin: 0 auto 40px;
  padding: 0;
}
.back-link {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  margin-bottom: 28px;
  transition: color 0.15s, border-color 0.15s;
}
.back-link:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Inside cluster-detail, keep the back link reachable when the visitor
   has scrolled deep into the stories grid. The link is a direct child of
   .cluster-detail (not nested inside .cluster-banner) so its sticky
   containing block spans the whole section. */
.cluster-back-wrap {
  position: sticky;
  top: 64px;
  z-index: 4;
  max-width: var(--max);
  margin: 0 auto 24px;
  pointer-events: none;
}
.cluster-back-wrap .back-link {
  pointer-events: auto;
  background: var(--paper);
  padding: 6px 12px 6px 0;
  margin: 0;
}
.cluster-banner-top {
  display: flex; gap: 24px; align-items: baseline; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.cluster-banner .vol { color: var(--red); font-weight: 700; }
.cluster-banner .role-tag { color: var(--ink); }
.cluster-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.05; letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.cluster-punch {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.4;
  margin: 0 0 32px;
  max-width: 60ch;
  border-left: 3px solid var(--red);
  padding-left: 18px;
  color: var(--ink);
}
.cluster-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}
.cstat {
  border-right: 1px solid var(--line);
  padding: 18px 18px 18px 0;
}
.cstat:last-child { border-right: 0; padding-right: 0; }
.cstat .v {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px); line-height: 1;
  font-feature-settings: "tnum" on, "lnum" on;
  letter-spacing: -0.01em;
}
.cstat .l {
  display: block; margin-top: 8px;
  font-size: 13px; color: var(--muted);
}
@media (max-width: 880px) {
  .cluster-stats { grid-template-columns: repeat(2, 1fr); }
}

/* L2 triad: sub-narratives | volume map | source signature */
.cluster-triad {
  max-width: var(--max);
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}
.triad-cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 24px 28px;
  display: flex; flex-direction: column;
  background: var(--sheet);
}
.triad-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); font-weight: 700;
  margin-bottom: 14px;
}
@media (max-width: 980px) {
  .cluster-triad { grid-template-columns: 1fr; }
}

/* sub-narratives list */
.subnarr-list {
  list-style: none; padding: 0; margin: 0;
}
.subnarr-item {
  padding: 12px 0;
  border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
}
.subnarr-item:first-child { border-top: 0; }
.subnarr-label {
  font-family: var(--font-display);
  font-size: 16px; line-height: 1.3;
  flex: 1;
}
.subnarr-count {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--muted);
  white-space: nowrap;
}
.subnarr-count b {
  color: var(--ink); font-weight: 700;
  font-feature-settings: "tnum" on, "lnum" on;
}
.subnarr-more {
  padding: 12px 0 4px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--faint); text-transform: uppercase;
}

/* volume map */
.vmap-bars {
  display: flex; align-items: flex-end; gap: 3px;
  height: 160px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0;
  margin-bottom: 6px;
}
.vmap-bar {
  flex: 1; background: var(--ink); min-height: 1px;
}
.vmap-bar.spike { background: var(--red); }
.vmap-labels {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px; color: var(--faint); letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.vmap-cap {
  font-size: 12px; color: var(--muted); line-height: 1.45;
  margin-top: auto;
}

/* source signature */
.sig-list { list-style: none; padding: 0; margin: 0 0 16px; }
.sig-row {
  padding: 10px 0;
  border-top: 1px dashed var(--line);
}
.sig-row:first-child { border-top: 0; }
.sig-row-top {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 13px; color: var(--ink);
  margin-bottom: 6px;
}
.sig-row-top b {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" on, "lnum" on;
  color: var(--ink); font-weight: 700;
}
.sig-row.alt .sig-row-top b { color: var(--red); }
.sig-row.muted .sig-row-top { color: var(--muted); }
.sig-bar { height: 4px; background: var(--line); }
.sig-bar i { display: block; height: 100%; background: var(--ink); }
.sig-row.alt .sig-bar i { background: var(--red); }
.sig-row.muted .sig-bar i { background: var(--line-strong); }

/* stories grid */
.stories-section {
  max-width: var(--max);
  margin: 0 auto;
}
.stories-head {
  border-top: 2px solid var(--ink);
  padding-top: 24px;
  margin-bottom: 24px;
}
.stories-head .section-eyebrow { margin-bottom: 8px; }
.stories-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px); line-height: 1.2;
  margin: 0;
}
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.story-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 20px 22px;
  background: var(--sheet);
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column; gap: 6px;
  transition: background 0.15s;
}
.story-card:hover { background: var(--highlight); }
.story-card.is-open {
  background: var(--ink); color: var(--paper);
}
.story-card.is-open .story-vol { color: #f0a8a4; }
.story-card.is-open .story-sub,
.story-card.is-open .story-frame,
.story-card.is-open .story-date { color: #d6cfbf; }

.story-vol {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); font-weight: 700;
}
.story-title {
  font-family: var(--font-display);
  font-size: 18px; line-height: 1.25;
  margin: 4px 0 6px;
}
.story-sub {
  font-size: 13px; color: var(--muted); margin: 0;
  line-height: 1.5;
}
.story-foot {
  margin-top: auto; padding-top: 10px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--muted);
}
.story-foot .story-frame {
  text-transform: uppercase;
  color: var(--red); font-weight: 700;
  text-align: right;
}

/* ===== L3: story drawer ===== */

.drawer {
  position: fixed; inset: 56px 0 88px 0;
  background: rgba(13, 13, 13, 0.45);
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.drawer.is-open {
  pointer-events: auto;
  opacity: 1;
}
.drawer-backdrop {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(880px, 65vw);
  background: var(--paper);
  overflow: auto;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
  border-left: 1px solid var(--ink);
  box-shadow: -8px 0 32px rgba(13, 13, 13, 0.18);
}
.drawer.is-open .drawer-panel { transform: translateX(0); }

.drawer-head {
  position: sticky; top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line-strong);
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 28px;
  z-index: 5;
}
.drawer-crumbs {
  display: flex; gap: 8px; align-items: baseline;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.drawer-crumbs .sep { color: var(--faint); }
.drawer-close {
  width: 36px; height: 36px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  font-size: 22px; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
}
.drawer-close:hover { background: var(--ink); color: var(--paper); }

.drawer-sibs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--line-strong);
}
.drawer-sibs .sib {
  padding: 18px 20px;
  text-decoration: none; color: inherit;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.drawer-sibs .sib:last-child { border-right: 0; }
.drawer-sibs .sib:hover { background: var(--highlight); }
.drawer-sibs .sib.next { text-align: right; }
.drawer-sibs .sib span {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--muted); letter-spacing: 0.08em;
  text-transform: uppercase;
}
.drawer-sibs .sib strong {
  font-family: var(--font-display); font-weight: 400;
  font-size: 15px; line-height: 1.3; color: var(--ink);
}

/* ===== Block renderers ===== */

#drawerContent {
  padding: 0 28px 32px;
}
#drawerContent .block { margin: 36px 0; }
#drawerContent .block .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); font-weight: 700;
  margin-bottom: 12px;
}
#drawerContent .block h1,
#drawerContent .block h2,
#drawerContent .block h3,
#drawerContent .block h4 {
  font-family: var(--font-display); font-weight: 400;
  margin: 0 0 12px;
}
#drawerContent .block .body p { margin: 0 0 10px; line-height: 1.6; }
#drawerContent .block .body strong { font-weight: 600; }
#drawerContent .ref {
  background: var(--highlight);
  padding: 1px 4px;
  border-radius: 1px;
  font-style: normal;
}

.block-masthead {
  border-bottom: 1px solid var(--ink); padding-bottom: 24px; margin-top: 24px !important;
}
.block-masthead .vol {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.block-masthead h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  margin: 12px 0 16px;
}
.block-masthead h1 em { color: var(--red); font-style: italic; }
.block-masthead .lede {
  font-size: 16px; line-height: 1.55; color: var(--ink);
}
.block-masthead .meta-lines {
  margin-top: 16px;
  display: flex; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase;
}

.block-tldr {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 22px 24px;
}
.block-tldr h2 { font-size: 22px; line-height: 1.25; }
.block-tldr .body { font-size: 15px; }

.block-findings { display: grid; gap: 18px; }
.block-findings .item {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}
.block-findings .item .label {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--red); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.block-findings .item h3 { font-size: 18px; margin: 6px 0 10px; }
.block-findings .item .body { font-size: 14px; color: var(--muted); }

.block-callout {
  padding: 18px 22px;
  border-left: 4px solid var(--red);
  background: var(--red-soft);
}
.block-callout.tone-info     { border-left-color: #275f9b; background: #e8eff6; }
.block-callout.tone-warning  { border-left-color: var(--amber); background: #fff0df; }
.block-callout.tone-dark     { border-left-color: var(--ink); background: rgba(13, 13, 13, 0.05); }
.block-callout h3 { font-size: 18px; margin: 4px 0 8px; }
.block-callout .body { font-size: 14px; }

.block-compare-quote .compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.block-compare-quote .col {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 18px;
}
.block-compare-quote .lab {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--red);
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
}
.block-compare-quote .attrib {
  font-size: 12px; color: var(--muted);
  margin: 4px 0 10px;
}
.block-compare-quote .text { font-size: 14px; line-height: 1.55; }
.block-compare-quote .obs {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--muted);
}
@media (max-width: 600px) {
  .block-compare-quote .compare-grid { grid-template-columns: 1fr; }
}

.block-comparison-table { font-size: 13px; }
.ctable { width: 100%; border-collapse: collapse; }
.ctable th, .ctable td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.ctable thead th { background: var(--sheet); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; }
.ctable thead th.hi { color: var(--red); }
.ctable thead th small { display: block; font-weight: 400; color: var(--muted); margin-top: 2px; }
.ctable tbody th { font-family: var(--font-mono); font-weight: 600; background: var(--sheet); }
.ctable td.e-bold      { font-weight: 700; }
.ctable td.e-muted     { color: var(--muted); }
.ctable td.e-highlight { background: var(--highlight); }
.ctable td.e-absent    { color: var(--faint); font-style: italic; }

.block-stat-grid .sg-grid {
  display: grid; gap: 0;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.block-stat-grid .sg-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.block-stat-grid .sg-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.block-stat-grid .sg-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.block-stat-grid .sg-item {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
}
.block-stat-grid .sg-v {
  font-family: var(--font-display);
  font-size: 26px; line-height: 1;
  font-feature-settings: "tnum" on, "lnum" on;
}
.block-stat-grid .sg-l { font-size: 12px; color: var(--ink); margin-top: 6px; }
.block-stat-grid .sg-n { font-size: 12px; color: var(--muted); margin-top: 4px; }

.block-spotlight .cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.block-spotlight .card {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 14px;
}
.block-spotlight .card h4 { font-size: 16px; margin: 4px 0 6px; }
.block-spotlight .card .sub { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.block-spotlight .card .body { font-size: 13px; line-height: 1.5; }
.block-spotlight .card .meta { font-size: 12px; color: var(--faint); margin-top: 6px; font-family: var(--font-mono); }

.block-prose .body { font-size: 15px; line-height: 1.6; }
.block-break {
  border: 0; height: 0;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}
.block-break.style-thin   { border-top: 1px solid var(--line); }
.block-break.style-dashed { border-top: 1px dashed var(--line-strong); }

.block-viz { background: var(--sheet); border: 1px solid var(--line); padding: 16px; }
.block-viz .viz-title { font-family: var(--font-display); font-size: 18px; margin-bottom: 4px; }
.block-viz .viz-sub   { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.block-viz .viz-cap   { font-size: 12px; color: var(--faint); margin-top: 8px; font-family: var(--font-mono); }
.block-viz .viz-placeholder {
  border: 1px dashed var(--line-strong);
  padding: 32px; text-align: center;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--faint);
}
.vbars {
  display: flex; align-items: end; gap: 2px;
  height: 140px;
  border-bottom: 1px solid var(--ink);
}
.vbars .vbar { flex: 1; background: var(--ink); min-height: 1px; }
.vbars .vbar.spike { background: var(--red); }
.vbars-labels {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px; color: var(--faint); margin-top: 6px;
}
.vbars-legend {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px; color: var(--muted);
  margin-top: 8px;
}
.vbars-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.vbars-swatch { display: inline-block; width: 10px; height: 10px; background: var(--ink); }
.vbars-swatch.spike { background: var(--red); }
.swimlane-svg { width: 100%; height: auto; display: block; }
.post-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.post-table th, .post-table td {
  border-bottom: 1px solid var(--line);
  padding: 6px 8px;
  text-align: left;
  vertical-align: top;
}
.post-table thead th {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.post-table .pt-time { font-family: var(--font-mono); white-space: nowrap; color: var(--muted); }
.post-table .pt-acc strong { display: block; font-weight: 600; }
.post-table .pt-acc span { font-size: 12px; color: var(--muted); }
.post-table .pt-text { line-height: 1.45; }
.post-table .pt-eng { font-family: var(--font-mono); white-space: nowrap; color: var(--muted); }
.post-table-more {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--muted);
  margin-top: 8px;
  text-align: center;
}

/* ===== Archive viewer ===== */

.archive-frame {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(32px, 5vh, 64px) var(--pad-x);
}
.archive-frame .back-link { margin-bottom: 32px; }

.archive-split {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  height: calc(100vh - 56px - 88px - 200px);
  min-height: 520px;
}
.archive-list {
  border: 1px solid var(--line-strong);
  background: var(--sheet);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.archive-list-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper);
}
.archive-list-head h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 22px; line-height: 1.2;
  margin: 8px 0 6px;
}
.archive-list-blurb {
  font-size: 13px; color: var(--muted);
  margin: 0; line-height: 1.5;
}
.archive-weeks {
  list-style: none; padding: 0; margin: 0;
  overflow-y: auto;
  flex: 1;
}
.archive-week {
  padding: 14px 20px;
  border-bottom: 1px dashed var(--line);
  border-left: 4px solid transparent;
  cursor: pointer;
  transition: background 0.12s, border-left-color 0.12s;
}
.archive-week:hover { background: var(--highlight); }
.archive-week.is-active {
  background: var(--highlight);
  border-left-color: var(--red);
  padding-left: 16px;  /* compensates for 4px border so text stays aligned */
}
.archive-week.is-active .aw-week { color: var(--red); }
.aw-top {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.06em;
}
.aw-week  { color: var(--red); font-weight: 700; }
.aw-date  { color: var(--muted); }
.aw-headline {
  font-family: var(--font-display);
  font-size: 14px; line-height: 1.35;
  margin: 6px 0 4px;
}
.aw-pages {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--faint); letter-spacing: 0.06em; text-transform: uppercase;
}
.archive-empty {
  padding: 24px 20px; font-size: 13px; color: var(--muted); line-height: 1.5;
}

.archive-viewer {
  border: 1px solid var(--line-strong);
  background: var(--sheet);
  position: relative;
  overflow: hidden;
}
.archive-pdf {
  width: 100%; height: 100%; border: 0; display: block;
}
.archive-empty-pane {
  padding: 48px 32px;
  font-size: 14px; line-height: 1.6;
  color: var(--muted);
}
.archive-empty-pane h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 28px; margin: 8px 0 16px; color: var(--ink);
}

@media (max-width: 980px) {
  .archive-split {
    grid-template-columns: 1fr;
    height: auto;
  }
  .archive-viewer { min-height: 480px; }
}

/* === v23 OVERRIDES (Phylogeny — vintage botanical / Linnaean cladogram) === */

:root {
  --paper:        #efe9d8;          /* warm parchment, more yellow than v20 limestone */
  --sheet:        #f7f1de;
  --ink:          #1a1108;          /* sepia-black */
  --ink-soft:     #4a3a26;          /* sepia */
  --hair:         #8a6e3a;          /* mid-sepia for branches */
  --muted:        #5e4a30;
  --faint:        #a89578;
  --line:         #c0ad84;
  --line-strong:  #1a1108;
  --highlight:    #e0d4ad;

  --crimson:      #8a0d1e;
  --rust-spec:    #8a3a1c;          /* SEED — sepia-rust specimen ink */
  --mustard:      #8b6e1a;          /* LEAD — dried-mustard */
  --leaf:         #4a663a;          /* GRSS — moss-leaf */
  --specimen-blue:#3a4a64;          /* SLNT — pressed specimen blue */

  /* Aliases */
  --red:          var(--rust-spec);
  --red-soft:     #e0c2b0;
  --amber:        var(--mustard);
  --rust:         var(--rust-spec);
  --ochre:        var(--mustard);
  --copper:       var(--mustard);
  --moss:         var(--leaf);
  --slate:        var(--specimen-blue);
  --saffron:      var(--mustard);
  --orange:       var(--rust-spec);
  --canary:       var(--mustard);
  --olive:        var(--leaf);
  --orchid:       var(--specimen-blue);
  --news-red:     var(--rust-spec);
  --sienna:       var(--rust-spec);
  --forest:       var(--leaf);
  --mauve:        var(--specimen-blue);
  --sienna-burnt: var(--rust-spec);
  --amber-raw:    var(--mustard);
  --jade-dark:    var(--leaf);
  --indigo-lapis: var(--specimen-blue);
  --mta-red:      var(--rust-spec);
  --mta-orange:   var(--mustard);
  --mta-green:    var(--leaf);
  --mta-purple:   var(--specimen-blue);
  --bcred:        var(--rust-spec);
  --bcblue:       var(--specimen-blue);
  --bcgreen:      var(--leaf);
  --bcyellow:     var(--mustard);

  --max:          1680px;
  --pad-x:        clamp(20px, 3.4vw, 56px);

  --font-display: "Cochin", "Hoefler Text", "Cambria", "Constantia", Georgia, serif;
  --font-text:    "Cochin", "Hoefler Text", Georgia, serif;
  --font-sans:    "Trebuchet MS", "Avenir", "Lucida Sans Unicode", system-ui, sans-serif;
  --font-headline:"Cochin", "Hoefler Text", Georgia, serif;
  --font-mono:    "Andale Mono", "Courier New", "Menlo", monospace;
}

body { background: var(--paper); color: var(--ink); font-family: var(--font-text); font-feature-settings: "kern" on, "liga" on, "onum" on; }
.bar-top { background: var(--paper); border-bottom: 1px solid var(--ink); height: 52px; }
.bar-bottom { background: var(--paper); border-top: 1px solid var(--ink); }
.brand-mark { background: var(--ink); color: var(--paper); font-family: var(--font-display); font-weight: 700; }
.brand-name { color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.005em; }
.bar-nav { display: none; }
.bar-status { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.status-dot { background: var(--rust); }
.bar-bottom-skus { font-family: var(--font-sans); font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.bar-bottom-skus span::before { content: "▸ "; color: var(--rust); }
#leadEmail { background: var(--sheet); color: var(--ink); border: 1px solid var(--ink); font-family: var(--font-sans); font-size: 14px; }
#leadEmail:focus { border-color: var(--rust); }
#leadEmail::placeholder { color: var(--faint); font-style: italic; font-family: var(--font-text); }
.lead-submit { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); font: 600 12px var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; }
.lead-submit:hover { background: var(--rust); border-color: var(--rust); }
.lead-qr { border-color: var(--ink); color: var(--ink); }
.lead-qr:hover { border-color: var(--rust); color: var(--rust); }
.app-loading { font-family: var(--font-display); color: var(--muted); padding: 80px 32px; font-size: 22px; }
#appMain { width: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(16px, 2.4vh, 28px) var(--pad-x); }

.v23-mast { border-bottom: 1px solid var(--ink); padding-bottom: clamp(20px, 2.6vh, 32px); margin-bottom: clamp(20px, 2.4vh, 28px); }
.v23-mast-strip { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); padding-bottom: clamp(16px, 2vh, 24px); border-bottom: 1px solid var(--line); margin-bottom: clamp(16px, 2vh, 24px); }
.ms-mark { color: var(--rust); font-weight: 700; }
.ms-sep { color: var(--faint); }
.v23-hero-lines { display: flex; flex-direction: column; gap: clamp(0px, 0.2vh, 4px); }
.v23-line { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.8vw, 64px); line-height: 1.06; letter-spacing: -0.018em; color: var(--ink); margin: 0; text-wrap: balance; }
.v23-period { color: var(--rust); font-style: normal; display: inline-block; }
.v23-thesis { font-family: var(--font-text); font-style: italic; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.5; color: var(--muted); margin: clamp(20px, 2.6vh, 32px) 0 0; max-width: 80ch; border-left: 4px solid var(--rust); padding-left: 18px; }
.v23-thesis strong { color: var(--ink); font-weight: 600; font-style: normal; }
.v23-cue { display: block; margin-top: 8px; font-style: normal; color: var(--ink); font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.04em; }

/* ===== Hero adjustments — bigger to dominate v16 wall ===== */
.v23-line { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4.6vw, 78px); line-height: 1.04; letter-spacing: -0.02em; color: var(--ink); margin: 0; text-wrap: balance; }
.v23-period { color: var(--rust); font-style: normal; display: inline-block; }
.v23-thesis { font-family: var(--font-text); font-style: italic; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.55; color: var(--muted); margin: clamp(20px, 2.6vh, 32px) 0 0; max-width: 78ch; border-left: 3px solid var(--rust); padding-left: 18px; }
.v23-thesis strong { color: var(--ink); font-weight: 600; font-style: normal; }
.v23-cue { display: block; margin-top: 10px; font-style: normal; color: var(--ink); font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.03em; line-height: 1.5; }

/* ===== Phylogeny: vintage botanical cladogram ===== */
.v23-tree {
  margin-top: clamp(14px, 1.8vh, 22px);
  padding: clamp(20px, 2.4vh, 32px) clamp(16px, 2vw, 28px);
  border: 1.5px solid var(--ink);
  background: var(--sheet);
  position: relative;
  /* Botanical-plate plate corners */
}
.v23-tree::before, .v23-tree::after {
  content: "❦"; position: absolute; font-family: serif; font-size: 24px; color: var(--ink-soft); opacity: 0.65;
}
.v23-tree::before { top: 8px; left: 14px; }
.v23-tree::after  { bottom: 8px; right: 14px; }

.v23-svg { width: 100%; height: auto; max-height: clamp(720px, 96vh, 1100px); display: block; }

/* SVG header text */
.v23-svg-title { font-family: var(--font-display); font-style: italic; font-size: 22px; font-weight: 400; fill: var(--ink); letter-spacing: 0.04em; }
.v23-svg-meta  { font-family: var(--font-display); font-style: italic; font-size: 13px; fill: var(--muted); letter-spacing: 0.06em; }

/* Tree branches */
.v23-trunk        { stroke: var(--ink); fill: none; }
.v23-branch       { fill: none; opacity: 0.9; }
.v23-branch-leaf  { stroke-dasharray: 0; }

/* Clade markers (rotated diamonds) */
.v23-clade-mark   { transition: stroke-width 0.18s; }
.v23-clade-name   { font-family: var(--font-display); font-style: italic; font-size: 16px; font-weight: 400; fill: var(--ink); letter-spacing: 0.005em; }
.v23-clade-code   { font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }

/* Root */
.v23-root-mark    { fill: var(--ink); }
.v23-root-eyebrow { font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; fill: var(--ink-soft); }
.v23-root-name    { font-family: var(--font-display); font-style: italic; font-size: 22px; font-weight: 400; fill: var(--ink); }
.v23-root-meta    { font-family: var(--font-mono); font-size: 11px; fill: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* Leaves (specimens) */
.v23-leaf { cursor: pointer; outline: 0; transition: opacity 0.18s; }
.v23-leaf-hit { cursor: pointer; }
.v23-leaf-mark { transition: r 0.18s, stroke-width 0.18s; }
.v23-leaf:hover .v23-leaf-mark, .v23-leaf.is-hovered .v23-leaf-mark, .v23-leaf.is-active .v23-leaf-mark { r: 8; stroke-width: 3; }
.v23-leaf-num   { font-family: var(--font-mono); font-size: 12px; fill: var(--muted); font-weight: 700; letter-spacing: 0.04em; }
.v23-leaf-name  { font-family: var(--font-display); font-style: italic; font-size: 18px; font-weight: 400; fill: var(--ink); letter-spacing: 0.005em; }
.v23-leaf-stat  { font-family: var(--font-mono); font-size: 11px; fill: var(--muted); letter-spacing: 0.04em; }
.v23-leaf:hover .v23-leaf-name, .v23-leaf.is-hovered .v23-leaf-name, .v23-leaf.is-active .v23-leaf-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.v23-leaf:focus-visible .v23-leaf-mark { stroke-width: 4; }

/* Plate caption + legend */
.v23-legend {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: clamp(20px, 2.4vw, 36px);
  margin-top: clamp(28px, 3vh, 44px);
  padding: clamp(20px, 2.4vh, 32px) clamp(8px, 1.4vw, 18px);
  border-top: 1px solid var(--ink);
}
.v23-legend-block { display: flex; flex-direction: column; gap: 10px; max-width: 60ch; }
.v23-legend-eyebrow { font-family: var(--font-display); font-style: italic; font-size: 18px; font-weight: 400; color: var(--rust-spec); letter-spacing: 0.04em; }
.v23-legend-text { font-family: var(--font-text); font-size: clamp(14px, 1.1vw, 16px); line-height: 1.6; color: var(--ink); margin: 0; }
.v23-legend-clades { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.v23-legend-clades li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 10px 0; border-top: 1px dashed var(--line); }
.v23-legend-clades li:first-child { border-top: 0; padding-top: 0; }
.v23-leg-mark { width: 14px; height: 14px; margin-top: 4px; transform: rotate(45deg); background: var(--paper); border: 2px solid var(--ink); }
.v23-legend-clades li.role-seed .v23-leg-mark { border-color: var(--rust-spec); }
.v23-legend-clades li.role-lead .v23-leg-mark { border-color: var(--mustard); }
.v23-legend-clades li.role-grss .v23-leg-mark { border-color: var(--leaf); }
.v23-legend-clades li.role-slnt .v23-leg-mark { border-color: var(--specimen-blue); }
.v23-leg-text { font-family: var(--font-text); font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.v23-leg-text strong { font-family: var(--font-display); font-style: italic; font-size: 16px; font-weight: 400; color: var(--ink); display: block; margin-bottom: 2px; }
.v23-leg-text em { font-style: italic; color: var(--ink-soft); }
.v23-leg-meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }

@media (max-width: 980px) {
  .v23-svg { max-height: 720px; }
  .v23-legend { grid-template-columns: 1fr; }
}

.v23-backdrop { position: fixed; inset: 52px 0 80px 0; background: rgba(21, 17, 13, 0.6); backdrop-filter: blur(3px); z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.28s ease; }
.v23-backdrop.is-open { opacity: 1; pointer-events: auto; }
.v23-panel { position: fixed; left: 0; right: 0; bottom: 80px; top: clamp(120px, 18vh, 200px); background-color: #fbf8ee; background-image: linear-gradient(180deg, #fbf8ee 0%, #f3efe6 100%); color: var(--ink); border-top: 4px solid var(--rust); box-shadow: 0 -32px 80px rgba(21, 17, 13, 0.45); z-index: 110; overflow-y: auto; isolation: isolate; transform: translateY(calc(100% + 96px)); transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1); }
.v23-panel.is-open { transform: translateY(0); }
.v23-panel[hidden] { display: block; }
.v23p-loading { padding: 48px 28px; color: var(--muted); font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.v23p-error { color: var(--crimson); }
.v23p-close { position: sticky; top: 0; left: 0; z-index: 5; display: block; width: 100%; background: var(--ink); color: var(--paper); border: 0; padding: 14px 22px; font: 700 12px var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; text-align: left; transition: background 0.15s; }
.v23p-close:hover { background: var(--rust); }

.v23-panel .cluster-detail { background: transparent; border: 0; padding: 0; }
.v23-panel .cluster-back-wrap { display: none; }
.v23-panel .cluster-banner { padding: clamp(20px, 3vh, 32px) clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.v23-panel .cluster-banner-top { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 16px; }
.v23-panel .cluster-banner-top .vol { color: var(--rust); font-weight: 700; }
.v23-panel .cluster-banner-top .role-tag { color: var(--ochre); font-weight: 700; }
.v23-panel .cluster-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 48px); line-height: 1; color: var(--ink); margin: 0 0 12px; letter-spacing: -0.012em; }
.v23-panel .cluster-punch { font-family: var(--font-text); font-weight: 500; font-size: clamp(15px, 1.3vw, 20px); line-height: 1.5; color: var(--ink); border-left: 4px solid var(--rust); padding-left: 16px; margin: 0 0 18px; }
.v23-panel .cluster-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.v23-panel .cstat .v { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 36px); line-height: 1; color: var(--ink); font-variant-numeric: oldstyle-nums; }
.v23-panel .cstat .l { display: block; margin-top: 6px; font-family: var(--font-sans); font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.v23-panel .cluster-triad,
.v23-panel .stories-section { padding: clamp(18px, 2.4vh, 24px) clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.v23-panel .triad-eyebrow { font-family: var(--font-sans); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); }

.v23-ancillary { margin-top: clamp(48px, 6vh, 80px); padding-top: clamp(36px, 4.5vh, 56px); border-top: 1px solid var(--ink); opacity: 0.78; }
.v23-ancillary .section-eyebrow { color: var(--rust); font-family: var(--font-sans); }
.v23-ancillary .section-headline { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3vw, 44px); }

.drawer { z-index: 300; }
.drawer-panel { background: var(--sheet); color: var(--ink); border-left: 1px solid var(--ink); }
.qr-popover-card { background: var(--sheet); color: var(--ink); border: 1px solid var(--ink); font-family: var(--font-text); }
.qr-popover-card strong { font-family: var(--font-display); font-weight: 700; }
.qr-close { background: var(--ink); color: var(--paper); font-family: var(--font-sans); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.qr-close:hover { background: var(--rust); }

@media (max-width: 980px) {
  .v23-line { font-size: clamp(28px, 6.4vw, 48px); }
  .v23-svg { max-height: 460px; }
}

/* ============================================================================
   v21 — CONSISTENCY PASS
   Bring ancillary, L2 panel, and L3 drawer into the broadcast / decision-desk
   register established by the hero + Phylogeny:
     - heavy ink rules (2–4 px) instead of soft hairlines
     - Futura ALL-CAPS labels with broad letter-spacing
     - Times New Roman bold tabular numerals for headline statistics
     - role-colour accents (red / blue / green / yellow) cycled per cell
   ============================================================================ */

/* ---------- ANCILLARY ---------- */

/* Continuation, not afterword. Replace the demoted opacity with a broadcast
   strip header that reads as a programme break. */
.v23-ancillary {
  opacity: 1;
  margin-top: clamp(40px, 5vh, 64px);
  padding-top: 0;
  border-top: 4px solid var(--ink);
  position: relative;
}
.v23-ancillary::before {
  content: "AFTER THE CALL · METHOD · OUTLOOK · BUREAU · ENROLLMENT · ARCHIVE";
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  padding: 10px clamp(12px, 2vw, 22px);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v23-ancillary .section {
  max-width: 100%;
  border-bottom: 1px solid var(--ink);
  padding: clamp(40px, 6vh, 72px) clamp(12px, 2vw, 22px);
}
.v23-ancillary .section:last-of-type { border-bottom: 0; }

.v23-ancillary .section-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: var(--bcred);
  padding: 6px 10px;
  font-weight: 700;
  margin: 0 0 22px;
}
.v23-ancillary .section-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 36px;
  max-width: 30ch;
  color: var(--ink);
}

/* HOW BUILT: 4 step cards with role-coloured top borders (matches .v23-call) */
.v23-ancillary .how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1vw, 14px);
  border: 0;
}
.v23-ancillary .how-step {
  background: var(--sheet);
  border: 2px solid var(--ink);
  border-top-width: 8px;
  padding: clamp(14px, 1.6vw, 22px);
  display: flex; flex-direction: column; gap: 12px;
}
.v23-ancillary .how-step:nth-child(1) { border-top-color: var(--bcred); }
.v23-ancillary .how-step:nth-child(2) { border-top-color: var(--bcblue); }
.v23-ancillary .how-step:nth-child(3) { border-top-color: var(--bcgreen); }
.v23-ancillary .how-step:nth-child(4) { border-top-color: var(--bcyellow); }
.v23-ancillary .how-step .tag {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.v23-ancillary .how-step:nth-child(1) .tag { color: var(--bcred); }
.v23-ancillary .how-step:nth-child(2) .tag { color: var(--bcblue); }
.v23-ancillary .how-step:nth-child(3) .tag { color: var(--bcgreen); }
.v23-ancillary .how-step:nth-child(4) .tag { color: #a87000; }
.v23-ancillary .how-step .title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.v23-ancillary .how-step .body {
  font-family: var(--font-text);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* DIFF: 3 columns; highlight column inverted broadcast-style */
.v23-ancillary .diff-grid {
  border: 0;
  border-top: 4px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0;
}
.v23-ancillary .diff-col {
  background: var(--paper);
  border-right: 1px solid var(--ink);
  padding: 22px clamp(14px, 1.6vw, 22px) 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.v23-ancillary .diff-col:last-child { border-right: 0; }
.v23-ancillary .diff-col.highlight {
  background: var(--ink);
  color: var(--paper);
  position: relative;
}
.v23-ancillary .diff-col.highlight::before {
  content: "";
  position: absolute;
  top: -4px; left: 0; right: 0;
  height: 4px;
  background: var(--bcred);
}
.v23-ancillary .diff-col .label {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.v23-ancillary .diff-col.highlight .label {
  color: var(--bcred);
  border-bottom-color: rgba(255,255,255,0.18);
}
.v23-ancillary .diff-col .row {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(15.5px, 1.35vw, 18.5px);
  line-height: 1.3;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
}
.v23-ancillary .diff-col.highlight .row {
  border-top-color: rgba(255,255,255,0.18);
}
.v23-ancillary .diff-col .row:nth-child(2) { border-top: 0; }
.v23-ancillary .diff-footnote {
  font-family: var(--font-text);
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-top: 18px;
}

/* WHY-NOW: 4 cells with scoreboard ordinals */
.v23-ancillary .why-grid {
  border: 0;
  border-top: 4px solid var(--ink);
  border-left: 0;
  grid-template-columns: repeat(2, 1fr);
}
.v23-ancillary .why-item {
  background: var(--paper);
  border: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 22px clamp(16px, 1.8vw, 26px) 28px;
  gap: 10px;
}
.v23-ancillary .why-item:nth-child(2n) { border-right: 0; }
.v23-ancillary .why-item:nth-last-child(-n+2) { border-bottom: 0; }
.v23-ancillary .why-item .label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.01em;
  font-feature-settings: "tnum" on;
  color: var(--ink);
  margin: 0;
}
.v23-ancillary .why-item:nth-child(1) .label { color: var(--bcred); }
.v23-ancillary .why-item:nth-child(2) .label { color: var(--bcblue); }
.v23-ancillary .why-item:nth-child(3) .label { color: var(--bcgreen); }
.v23-ancillary .why-item:nth-child(4) .label { color: #a87000; }
.v23-ancillary .why-item .head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
}
.v23-ancillary .why-item .body {
  font-family: var(--font-text);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* BUYERS: dark band with broadcast strip */
.v23-ancillary .buyers {
  background: var(--ink);
  color: var(--paper);
  border-top: 0;
  border-bottom: 1px solid var(--ink);
  padding-top: clamp(56px, 7vh, 80px);
  position: relative;
}
.v23-ancillary .buyers::before {
  content: "WHO THIS IS FOR · 03 ENTRIES";
  position: absolute;
  top: 0; left: 0; right: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bcyellow);
  background: #1a1a1a;
  padding: 10px clamp(12px, 2vw, 22px);
  font-weight: 700;
}
.v23-ancillary .buyers .section-eyebrow { display: none; }
.v23-ancillary .buyers ul {
  border-top: 4px solid var(--bcyellow);
  grid-template-columns: repeat(3, 1fr);
}
.v23-ancillary .buyers li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.25;
  color: var(--paper);
  padding: 22px clamp(16px, 1.8vw, 26px) 28px 0;
  border-right: 1px solid #2a2a2a;
}
.v23-ancillary .buyers li:first-child { padding-left: 0; }
.v23-ancillary .buyers li:last-child { border-right: 0; padding-right: 0; }

/* ARCHIVE: scoreboard numbers, broadcast CTA */
.v23-ancillary .archive {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.v23-ancillary .archive .archive-numbers {
  display: flex; flex-direction: column;
  border: 0;
  border-left: 6px solid var(--bcred);
  padding-left: clamp(16px, 2vw, 28px);
  gap: 0;
}
.v23-ancillary .archive .big {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.022em;
  font-feature-settings: "tnum" on;
  color: var(--ink);
}
.v23-ancillary .archive .big:nth-of-type(1) { color: var(--bcred); }
.v23-ancillary .archive .big:nth-of-type(2) { color: var(--ink); }
.v23-ancillary .archive .big-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin: 4px 0 18px;
}
.v23-ancillary .archive .big-sub:last-of-type { margin-bottom: 0; }
.v23-ancillary .archive p {
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 56ch;
  margin: 0 0 24px;
}
.v23-ancillary .archive-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 18px;
  background: var(--bcred);
  color: #fff;
  border: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}
.v23-ancillary .archive-cta:hover { background: var(--ink); border-color: var(--ink); }
.v23-ancillary .archive-cta::after {
  content: "→"; font-family: var(--font-sans); font-size: 18px; line-height: 1;
}

/* CONTACT: 3 SKUs as colour-banded call cards */
.v23-ancillary .contact-skus {
  border: 0;
  border-top: 4px solid var(--ink);
  border-left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.v23-ancillary .contact-sku {
  background: var(--paper);
  border-right: 1px solid var(--ink);
  border-bottom: 0;
  padding: 26px clamp(16px, 1.8vw, 26px) 30px;
  position: relative;
}
.v23-ancillary .contact-sku::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
}
.v23-ancillary .contact-sku:nth-child(1)::before { background: var(--bcred); }
.v23-ancillary .contact-sku:nth-child(2)::before { background: var(--bcblue); }
.v23-ancillary .contact-sku:nth-child(3)::before { background: var(--bcgreen); }
.v23-ancillary .contact-sku:last-child { border-right: 0; }
.v23-ancillary .contact-sku h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 8px 0 12px;
  color: var(--ink);
}
.v23-ancillary .contact-sku p {
  font-family: var(--font-text);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* FOOTER */
.v23-ancillary .foot {
  border-top: 4px solid var(--ink);
  padding: 18px clamp(12px, 2vw, 22px);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  background: var(--paper);
}
.v23-ancillary .foot .credit {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.18em;
}

/* ---------- L2 PANEL: precinct report ---------- */

.v23-panel {
  background-color: var(--paper);
  background-image: none;
  border-top: 4px solid var(--ink);
  box-shadow: 0 -32px 80px rgba(10, 10, 10, 0.45);
}
.v23-panel.role-seed { border-top-color: var(--bcred); }
.v23-panel.role-lead { border-top-color: var(--bcblue); }
.v23-panel.role-grss { border-top-color: var(--bcgreen); }
.v23-panel.role-slnt { border-top-color: var(--bcyellow); }

.v23p-close {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.22em;
}
.v23p-close:hover { background: var(--bcred); }
.v23-panel.role-lead .v23p-close:hover { background: var(--bcblue); }
.v23-panel.role-grss .v23p-close:hover { background: var(--bcgreen); }
.v23-panel.role-slnt .v23p-close:hover { background: var(--bcyellow); color: #2a1f00; }

.v23-panel .cluster-banner {
  padding: clamp(24px, 3.4vh, 36px) clamp(20px, 3vw, 40px);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.v23-panel .cluster-banner-top {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 18px;
  gap: 16px;
  flex-wrap: wrap;
}
.v23-panel .cluster-banner-top .vol {
  background: var(--bcred);
  color: #fff;
  padding: 5px 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.v23-panel.role-lead .cluster-banner-top .vol { background: var(--bcblue); }
.v23-panel.role-grss .cluster-banner-top .vol { background: var(--bcgreen); }
.v23-panel.role-slnt .cluster-banner-top .vol { background: var(--bcyellow); color: #2a1f00; }
.v23-panel .cluster-banner-top .role-tag {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.22em;
}
.v23-panel.role-seed .cluster-banner-top .role-tag { color: var(--bcred); }
.v23-panel.role-lead .cluster-banner-top .role-tag { color: var(--bcblue); }
.v23-panel.role-grss .cluster-banner-top .role-tag { color: var(--bcgreen); }
.v23-panel.role-slnt .cluster-banner-top .role-tag { color: #a87000; }

.v23-panel .cluster-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink);
}
.v23-panel .cluster-punch {
  font-family: var(--font-headline);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(15px, 1.3vw, 20px);
  line-height: 1.4;
  color: var(--ink);
  border-left: 4px solid var(--bcred);
  padding-left: 16px;
  margin: 0 0 24px;
  max-width: 64ch;
}
.v23-panel.role-lead .cluster-punch { border-left-color: var(--bcblue); }
.v23-panel.role-grss .cluster-punch { border-left-color: var(--bcgreen); }
.v23-panel.role-slnt .cluster-punch { border-left-color: var(--bcyellow); }

/* Cluster stats: scoreboard tabular */
.v23-panel .cluster-stats {
  border: 0;
  border-top: 4px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  padding: 0;
}
.v23-panel .cstat {
  border-right: 1px solid var(--ink);
  padding: 16px clamp(14px, 1.6vw, 22px) 20px;
}
.v23-panel .cstat:last-child { border-right: 0; }
.v23-panel .cstat .v {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.01em;
  font-feature-settings: "tnum" on;
  font-variant-numeric: normal;
  color: var(--ink);
}
.v23-panel.role-seed .cstat:first-child .v { color: var(--bcred); }
.v23-panel.role-lead .cstat:first-child .v { color: var(--bcblue); }
.v23-panel.role-grss .cstat:first-child .v { color: var(--bcgreen); }
.v23-panel.role-slnt .cstat:first-child .v { color: #a87000; }
.v23-panel .cstat .l {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
  font-weight: 700;
}

/* Triad cells */
.v23-panel .cluster-triad {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 0;
  margin: 0;
}
.v23-panel .triad-cell {
  border-right: 1px solid var(--ink);
  border-bottom: 0;
  padding: 22px clamp(14px, 1.8vw, 24px) 28px;
  background: var(--paper);
}
.v23-panel .triad-cell:last-child { border-right: 0; }
.v23-panel .triad-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  background: transparent;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--ink);
  margin: 0 0 14px;
}

/* Sub-narrative list */
.v23-panel .subnarr-item {
  border-top: 1px dashed var(--ink);
  padding: 10px 0;
}
.v23-panel .subnarr-item:first-child { border-top: 0; }
.v23-panel .subnarr-label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
}
.v23-panel .subnarr-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.v23-panel .subnarr-count b { color: var(--ink); font-weight: 700; }
.v23-panel .subnarr-more {
  border-top: 1px dashed var(--ink);
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

/* Volume map */
.v23-panel .vmap-bars {
  border-bottom: 2px solid var(--ink);
}
.v23-panel .vmap-bar { background: var(--ink); }
.v23-panel .vmap-bar.spike { background: var(--bcred); }
.v23-panel.role-lead .vmap-bar.spike { background: var(--bcblue); }
.v23-panel.role-grss .vmap-bar.spike { background: var(--bcgreen); }
.v23-panel.role-slnt .vmap-bar.spike { background: var(--bcyellow); }
.v23-panel .vmap-labels {
  font-family: var(--font-mono);
  font-size: 11px;
}
.v23-panel .vmap-cap {
  font-family: var(--font-text);
  font-size: 12.5px;
  color: var(--muted);
}

/* Source signature */
.v23-panel .sig-row {
  border-top: 1px dashed var(--ink);
  padding: 12px 0;
}
.v23-panel .sig-row:first-child { border-top: 0; }
.v23-panel .sig-row-top { font-family: var(--font-text); font-size: 13px; color: var(--ink); }
.v23-panel .sig-row-top b {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" on;
  color: var(--ink);
  font-weight: 700;
}
.v23-panel .sig-row.alt .sig-row-top b { color: var(--bcred); }
.v23-panel.role-lead .sig-row.alt .sig-row-top b { color: var(--bcblue); }
.v23-panel.role-grss .sig-row.alt .sig-row-top b { color: var(--bcgreen); }
.v23-panel.role-slnt .sig-row.alt .sig-row-top b { color: #a87000; }
.v23-panel .sig-bar {
  background: var(--line);
  height: 6px;
}
.v23-panel .sig-bar i { background: var(--ink); }
.v23-panel .sig-row.alt .sig-bar i { background: var(--bcred); }
.v23-panel.role-lead .sig-row.alt .sig-bar i { background: var(--bcblue); }
.v23-panel.role-grss .sig-row.alt .sig-bar i { background: var(--bcgreen); }
.v23-panel.role-slnt .sig-row.alt .sig-bar i { background: var(--bcyellow); }

/* Stories grid */
.v23-panel .stories-section {
  padding: clamp(28px, 3.6vh, 44px) clamp(20px, 3vw, 40px) clamp(40px, 5vh, 64px);
  border-bottom: 0;
}
.v23-panel .stories-head {
  border-top: 4px solid var(--ink);
  padding-top: 22px;
  margin-bottom: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.v23-panel .stories-head .section-eyebrow {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  padding: 6px 10px;
  margin: 0;
}
.v23-panel .stories-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

.v23-panel .stories-grid {
  border: 0;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0;
}
.v23-panel .story-card {
  background: var(--sheet);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 16px clamp(14px, 1.6vw, 22px) 20px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}
.v23-panel .story-card:hover { background: var(--highlight); }
.v23-panel .story-card.is-open {
  background: var(--ink);
  color: var(--paper);
}
.v23-panel .story-vol {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bcred);
}
.v23-panel.role-lead .story-vol { color: var(--bcblue); }
.v23-panel.role-grss .story-vol { color: var(--bcgreen); }
.v23-panel.role-slnt .story-vol { color: #a87000; }
.v23-panel .story-card.is-open .story-vol { color: var(--bcyellow); }
.v23-panel .story-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.22;
  margin: 4px 0 6px;
  color: inherit;
  letter-spacing: -0.005em;
}
.v23-panel .story-sub {
  font-family: var(--font-text);
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.v23-panel .story-card.is-open .story-sub,
.v23-panel .story-card.is-open .story-frame,
.v23-panel .story-card.is-open .story-date { color: #d6cfbf; }
.v23-panel .story-foot {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 10px;
  margin-top: auto;
}
.v23-panel .story-foot .story-frame {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bcred);
  font-weight: 700;
}
.v23-panel.role-lead .story-foot .story-frame { color: var(--bcblue); }
.v23-panel.role-grss .story-foot .story-frame { color: var(--bcgreen); }
.v23-panel.role-slnt .story-foot .story-frame { color: #a87000; }

/* ---------- L3 DRAWER: tabular news article ---------- */

.drawer-panel {
  background: var(--paper);
  border-left: 4px solid var(--ink);
  font-family: var(--font-text);
}
.drawer-head {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  padding: 14px clamp(20px, 2vw, 28px);
}
.drawer-crumbs {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
}
.drawer-crumbs .sep { color: var(--bcred); }
.drawer-close {
  width: 36px; height: 36px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  font-size: 18px;
}
.drawer-close:hover { background: var(--bcred); }

#drawerContent { padding: 0 clamp(20px, 2vw, 28px) 32px; }
#drawerContent .block { margin: 32px 0; }
#drawerContent .block .eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: var(--bcred);
  padding: 5px 9px;
  margin: 0 0 14px;
}
#drawerContent .block h1,
#drawerContent .block h2,
#drawerContent .block h3,
#drawerContent .block h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.005em;
}

.block-masthead {
  border-bottom: 4px solid var(--ink);
  padding-bottom: 22px;
  margin: 8px 0 28px !important;
}
.block-masthead .vol {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.block-masthead h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
  color: var(--ink);
}
.block-masthead h1 em {
  color: var(--bcred);
  font-style: italic;
  font-family: var(--font-headline);
  font-weight: 700;
}
.block-masthead .lede {
  font-family: var(--font-headline);
  font-weight: 700;
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
}
.block-masthead .meta-lines {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 16px;
}

.block-tldr {
  background: var(--sheet);
  border: 0;
  border-left: 6px solid var(--bcred);
  padding: 18px 22px;
}
.block-tldr h2 {
  font-size: 20px;
  margin: 0 0 8px;
}
.block-tldr .body { font-size: 14.5px; line-height: 1.55; }

.block-findings { display: grid; gap: 22px; }
.block-findings .item {
  border-top: 4px solid var(--ink);
  padding-top: 14px;
}
.block-findings .item:nth-child(4n+1) { border-top-color: var(--bcred); }
.block-findings .item:nth-child(4n+2) { border-top-color: var(--bcblue); }
.block-findings .item:nth-child(4n+3) { border-top-color: var(--bcgreen); }
.block-findings .item:nth-child(4n+4) { border-top-color: var(--bcyellow); }
.block-findings .item .label {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
}
.block-findings .item:nth-child(4n+1) .label { color: var(--bcred); }
.block-findings .item:nth-child(4n+2) .label { color: var(--bcblue); }
.block-findings .item:nth-child(4n+3) .label { color: var(--bcgreen); }
.block-findings .item:nth-child(4n+4) .label { color: #a87000; }
.block-findings .item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin: 6px 0 10px;
}

.block-callout {
  border: 0;
  border-left: 6px solid var(--bcred);
  background: rgba(209, 0, 0, 0.06);
  padding: 16px 22px;
}
.block-callout.tone-info {
  border-left-color: var(--bcblue);
  background: rgba(26, 76, 160, 0.06);
}
.block-callout.tone-warning {
  border-left-color: var(--bcyellow);
  background: rgba(230, 160, 0, 0.08);
}
.block-callout.tone-dark {
  border-left-color: var(--ink);
  background: rgba(13, 13, 13, 0.04);
}
.block-callout h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin: 4px 0 8px;
}

.block-compare-quote .compare-grid { gap: 0; }
.block-compare-quote .col {
  background: var(--sheet);
  border: 0;
  border-top: 4px solid var(--ink);
  padding: 18px 18px 20px;
}
.block-compare-quote .col + .col { border-left: 1px solid var(--ink); }
.block-compare-quote .col:first-child { border-top-color: var(--bcred); }
.block-compare-quote .col:last-child { border-top-color: var(--bcblue); }
.block-compare-quote .lab {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}
.block-compare-quote .col:first-child .lab { color: var(--bcred); }
.block-compare-quote .col:last-child .lab { color: var(--bcblue); }
.block-compare-quote .attrib {
  font-family: var(--font-mono);
  font-size: 11px;
}
.block-compare-quote .text {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.5;
}
.block-compare-quote .obs {
  font-family: var(--font-text);
  font-size: 12.5px;
  border-top: 1px dashed var(--ink);
}

.ctable th, .ctable td {
  border: 1px solid var(--ink);
  padding: 9px 12px;
}
.ctable thead th {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.ctable thead th.hi { background: var(--bcred); color: #fff; }
.ctable thead th small { color: var(--paper); opacity: 0.7; }
.ctable tbody th {
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.ctable td.e-bold { font-weight: 700; font-family: var(--font-headline); }
.ctable td.e-highlight { background: rgba(230, 160, 0, 0.14); }
.ctable td.e-absent { font-style: italic; color: var(--muted); }

.block-stat-grid .sg-grid {
  border: 0;
  border-top: 4px solid var(--ink);
}
.block-stat-grid .sg-item {
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-left: 0;
  padding: 14px 16px 18px;
}
.block-stat-grid .sg-v {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  font-feature-settings: "tnum" on;
  color: var(--ink);
}
.block-stat-grid .sg-l {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  margin-top: 8px;
}
.block-stat-grid .sg-n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.block-spotlight .cards { gap: 8px; }
.block-spotlight .card {
  background: var(--sheet);
  border: 0;
  border-top: 4px solid var(--ink);
  padding: 14px 14px 16px;
}
.block-spotlight .card:nth-child(4n+1) { border-top-color: var(--bcred); }
.block-spotlight .card:nth-child(4n+2) { border-top-color: var(--bcblue); }
.block-spotlight .card:nth-child(4n+3) { border-top-color: var(--bcgreen); }
.block-spotlight .card:nth-child(4n+4) { border-top-color: var(--bcyellow); }
.block-spotlight .card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  margin: 4px 0 6px;
}
.block-spotlight .card .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.block-prose .body { font-family: var(--font-text); font-size: 15px; line-height: 1.62; }

.block-break {
  border: 0;
  border-top: 2px solid var(--ink);
  margin: 32px 0;
}
.block-break.style-dashed { border-top: 1px dashed var(--ink); }

.block-viz {
  background: var(--sheet);
  border: 0;
  border-top: 4px solid var(--ink);
  padding: 16px;
}
.block-viz .viz-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.block-viz .viz-sub { font-family: var(--font-text); font-size: 12.5px; color: var(--muted); }
.block-viz .viz-cap { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.vbars { border-bottom: 2px solid var(--ink); }
.vbars .vbar { background: var(--ink); }
.vbars .vbar.spike { background: var(--bcred); }
.vbars-labels { font-family: var(--font-mono); font-size: 11px; }
.vbars-legend { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.vbars-swatch.spike { background: var(--bcred); }

.post-table { border-top: 1px solid var(--ink); }
.post-table thead th {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
}
.post-table th, .post-table td { border-bottom: 1px solid var(--line); padding: 8px 10px; }

.drawer-sibs {
  border-top: 4px solid var(--ink);
  margin-top: 36px;
}
.drawer-sibs .sib { border-right: 1px solid var(--ink); padding: 18px 20px; }
.drawer-sibs .sib:last-child { border-right: 0; }
.drawer-sibs .sib span {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bcred);
}
.drawer-sibs .sib strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
}

#drawerContent .ref {
  background: rgba(230, 160, 0, 0.18);
  padding: 1px 4px;
  border-radius: 0;
  font-style: normal;
}

/* ---------- BARS / FORM / QR ---------- */

.bar-bottom { border-top-width: 2px; }
.lead-submit { background: var(--bcred); border-color: var(--bcred); color: #fff; letter-spacing: 0.16em; }
.lead-submit:hover { background: var(--ink); border-color: var(--ink); }

.bar-bottom-skus span::before { color: var(--bcred); }

.qr-popover-card {
  background: var(--sheet);
  border: 4px solid var(--ink);
  border-radius: 0;
}
.qr-popover-card strong {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: 6px 10px;
  letter-spacing: 0.22em;
  font-weight: 700;
}
.qr-canvas { background: #fff; border: 1px solid var(--ink); }
.qr-close { background: var(--ink); color: var(--paper); letter-spacing: 0.18em; }
.qr-close:hover { background: var(--bcred); }

/* ---------- ARCHIVE VIEWER (split-pane) ---------- */

.archive-frame .back-link {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
}
.archive-list, .archive-viewer {
  border: 2px solid var(--ink);
  background: var(--sheet);
}
.archive-list-head {
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}
.archive-list-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.005em;
}
.archive-list-blurb { font-family: var(--font-text); font-size: 13px; color: var(--muted); }
.archive-week {
  border-bottom: 1px dashed var(--ink);
  border-left: 4px solid transparent;
}
.archive-week:hover { background: var(--highlight); }
.archive-week.is-active {
  background: var(--highlight);
  border-left-color: var(--bcred);
}
.archive-week.is-active .aw-week { color: var(--bcred); }
.aw-week {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bcred);
}
.aw-date { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.aw-headline {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.32;
  margin: 6px 0 4px;
}
.aw-pages {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

@media (max-width: 980px) {
  .v23-ancillary .how-grid { grid-template-columns: repeat(2, 1fr); }
  .v23-ancillary .why-grid { grid-template-columns: 1fr; }
  .v23-ancillary .why-item:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--ink); }
  .v23-ancillary .why-item:last-child { border-bottom: 0; }
  .v23-ancillary .diff-grid { grid-template-columns: 1fr; }
  .v23-ancillary .diff-col { border-right: 0; border-bottom: 1px solid var(--ink); }
  .v23-ancillary .diff-col:last-child { border-bottom: 0; }
  .v23-ancillary .contact-skus { grid-template-columns: 1fr; }
  .v23-ancillary .contact-sku { border-right: 0; border-bottom: 1px solid var(--ink); }
  .v23-ancillary .contact-sku:last-child { border-bottom: 0; }
  .v23-ancillary .archive { grid-template-columns: 1fr; }
  .v23-ancillary .buyers ul { grid-template-columns: 1fr; }
  .v23-ancillary .buyers li {
    border-right: 0; border-bottom: 1px solid #2a2a2a;
    padding: 18px 0;
  }
  .v23-ancillary .buyers li:last-child { border-bottom: 0; }
  .v23-panel .cluster-stats { grid-template-columns: repeat(2, 1fr); }
  .v23-panel .cluster-triad { grid-template-columns: 1fr; }
  .v23-panel .triad-cell { border-right: 0; border-bottom: 1px solid var(--ink); }
  .v23-panel .triad-cell:last-child { border-bottom: 0; }
}
