/* Doublespeak v16 — Wall of Phrases. 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; }
}

/* === v16 OVERRIDES (Wall of Phrases) === */

:root {
  --paper:        #faf6ee;
  --sheet:        #ffffff;
  --ink:          #1a1411;
  --muted:        #5e554a;
  --faint:        #a5998a;
  --line:         #d4c8b3;
  --line-strong:  #1a1411;
  --highlight:    #efe7d3;

  --crimson:      #8a0d1e;
  --rust:         #a8412c;
  --copper:       #b87333;
  --moss:         #4a6b56;
  --slate:        #5b6877;

  --tint-seed:    #f0e6d8;
  --tint-lead:    #ede2cc;
  --tint-grss:    #e6ecdf;
  --tint-slnt:    #e2e6ea;

  --red:          var(--rust);
  --red-soft:     #ecd2cb;
  --amber:        var(--copper);

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

  --font-display: "Big Caslon", "ITC Caslon 224", "Hoefler Text", "Cambria", Georgia, serif;
  --font-text:    "Charter", "Hoefler Text", Georgia, serif;
  --font-sans:    "Optima", "Lucida Grande", "Helvetica Neue", system-ui, sans-serif;
  --font-cn:      "Noto Serif TC", "Songti TC", "PingFang TC", "Hiragino Mincho ProN", "Heiti TC", serif;
  --font-mono:    ui-monospace, "SF Mono", 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); }

.v16-mast { border-bottom: 1px solid var(--ink); padding-bottom: clamp(20px, 2.6vh, 32px); margin-bottom: clamp(20px, 2.4vh, 28px); }
.v16-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); }
.v16-hero-lines { display: flex; flex-direction: column; gap: clamp(0px, 0.2vh, 4px); }
.v16-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; }
.v16-period { color: var(--rust); font-style: normal; display: inline-block; }
.v16-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; }
.v16-thesis strong { color: var(--ink); font-weight: 600; font-style: normal; }
.v16-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 ===== */
.v16-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; }
.v16-period { color: var(--rust); font-style: normal; display: inline-block; }
.v16-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; }
.v16-thesis strong { color: var(--ink); font-weight: 600; font-style: normal; }
.v16-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; }

/* ===== Wall: 4 role-bands stacked vertically ===== */
.v16-wall { display: flex; flex-direction: column; gap: clamp(18px, 2.4vh, 32px); margin-top: clamp(16px, 2.4vh, 28px); }
.v16-band { padding: clamp(20px, 2.6vh, 32px) clamp(18px, 2vw, 28px); border: 1px solid var(--ink); position: relative; }
.v16-band.role-seed { background: var(--tint-seed); }
.v16-band.role-lead { background: var(--tint-lead); }
.v16-band.role-grss { background: var(--tint-grss); }
.v16-band.role-slnt { background: var(--tint-slnt); }

.v16-band-head { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 2vw, 28px); align-items: baseline; padding-bottom: clamp(14px, 1.8vh, 20px); margin-bottom: clamp(20px, 2.4vh, 28px); border-bottom: 1px solid var(--ink); }
.v16-band-tag { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); font-weight: 700; padding: 4px 9px; background: var(--ink); color: var(--paper); }
.v16-band.role-seed .v16-band-tag { background: var(--rust); }
.v16-band.role-lead .v16-band-tag { background: var(--copper); }
.v16-band.role-grss .v16-band-tag { background: var(--moss); color: #fff; }
.v16-band.role-slnt .v16-band-tag { background: var(--slate); color: #fff; }
.v16-band-title { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: clamp(20px, 2.4vw, 34px); line-height: 1.18; color: var(--ink); margin: 0; letter-spacing: -0.005em; }
.v16-band-count { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.v16-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: clamp(14px, 1.6vw, 22px); }

.v16-tile { background: var(--sheet); border: 1px solid var(--ink); padding: clamp(16px, 1.8vw, 22px); display: grid; grid-template-rows: auto auto auto auto auto; gap: 10px; cursor: pointer; position: relative; transition: transform 0.18s ease, box-shadow 0.18s ease; outline: 0; }
.v16-tile:hover, .v16-tile:focus-visible, .v16-tile.is-hovered { transform: translateY(-2px); box-shadow: 6px 8px 0 var(--ink); }
.v16-tile:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.v16-tile.is-active { box-shadow: 6px 8px 0 var(--rust); }

.v16-tile-top { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-sans); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.v16-tile-vol { color: var(--ink); font-weight: 700; }
.v16-tile-spike { font-variant-numeric: tabular-nums; }

.v16-hashtag { font-family: var(--font-cn); font-weight: 600; font-size: clamp(18px, 1.7vw, 26px); line-height: 1.2; color: var(--muted); margin: 4px 0 2px; word-break: break-word; letter-spacing: -0.005em; }
.v16-hashtag.is-long { font-size: clamp(15px, 1.4vw, 21px); }
.v16-tile.role-seed .v16-hashtag { color: #7a3527; }
.v16-tile.role-lead .v16-hashtag { color: #7b5028; }
.v16-tile.role-grss .v16-hashtag { color: #3a5847; }
.v16-tile.role-slnt .v16-hashtag { color: #455062; }

.v16-quote { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(20px, 2vw, 30px); line-height: 1.25; color: var(--ink); margin: 4px 0 0; letter-spacing: -0.005em; }

.v16-tile-meta { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 8px; }
.v16-tile-name { font-family: var(--font-sans); font-size: 14.5px; letter-spacing: 0.02em; color: var(--ink); font-weight: 700; line-height: 1.25; }
.v16-tile-stats { display: flex; flex-wrap: wrap; gap: 6px 12px; font-family: var(--font-sans); font-size: 13px; color: var(--muted); align-items: baseline; line-height: 1.35; }
.v16-tile-stats strong { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.v16-stat-sep { color: var(--faint); }
.v16-stat-cited { font-style: italic; }

.v16-tile-cta { font-family: var(--font-sans); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding-top: 8px; border-top: 1px dashed var(--line); margin-top: 4px; opacity: 0.65; transition: color 0.15s, opacity 0.15s; }
.v16-tile:hover .v16-tile-cta, .v16-tile:focus-visible .v16-tile-cta { color: var(--rust); opacity: 1; }

.v16-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; }
.v16-backdrop.is-open { opacity: 1; pointer-events: auto; }
.v16-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); }
.v16-panel[hidden] { pointer-events: none; }
.v16-panel.is-open { transform: translateY(0); }
.v16-panel[hidden] { display: block; }
.v16p-loading { padding: 48px 28px; color: var(--muted); font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.v16p-error { color: var(--crimson); }
.v16p-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; }
.v16p-close:hover { background: var(--rust); }

.v16-panel .cluster-detail { background: transparent; border: 0; padding: 0; }
.v16-panel .cluster-back-wrap { display: none; }
.v16-panel .cluster-banner { padding: clamp(20px, 3vh, 32px) clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.v16-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; }
.v16-panel .cluster-banner-top .vol { color: var(--rust); font-weight: 700; }
.v16-panel .cluster-banner-top .role-tag { color: var(--ochre); font-weight: 700; }
.v16-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; }
.v16-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; }
.v16-panel .cluster-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.v16-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; }
.v16-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; }
.v16-panel .cluster-triad,
.v16-panel .stories-section { padding: clamp(18px, 2.4vh, 24px) clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.v16-panel .triad-eyebrow { font-family: var(--font-sans); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); }

.v16-ancillary { margin-top: clamp(48px, 6vh, 80px); padding-top: clamp(36px, 4.5vh, 56px); border-top: 1px solid var(--ink); opacity: 0.78; }
.v16-ancillary .section-eyebrow { color: var(--rust); font-family: var(--font-sans); }
.v16-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) {
  .v16-line { font-size: clamp(28px, 6.4vw, 48px); }
  .v16-band-head { grid-template-columns: 1fr; }
  .v16-band-count { justify-self: start; }
  .v16-tiles { grid-template-columns: 1fr; }
}
