/* Doublespeak v10 — Four-Role Board (Bauhaus / Swiss).
   Aesthetic target: graphic-system poster — heavy primary colors per role, geometric type.
   IA: BIG hero (giant) + 4-column board grouped by chapter_role + L2 left slide-in panel + L3 storyDrawer untouched.
   PRESERVES the 3 layers AND keeps hero as the largest element. Distinct from all prior variants. */

:root {
  /* Bauhaus / Swiss palette — primary colors as role accents */
  --paper:        #f9f7f0;        /* near-white warm paper (skill says don't use pure #fff) */
  --sheet:        #ffffff;
  --ink:          #0a0a0a;        /* deep near-black */
  --muted:        #555047;
  --faint:        #8a8275;
  --line:         #d4cfbf;
  --line-strong:  #0a0a0a;
  --highlight:    #f0eadb;

  /* Role primaries */
  --role-seed:    #dc2626;        /* SEED-AMPLIFY red */
  --role-lead:    #f59e0b;        /* STATE-LEADS yellow-amber */
  --role-grss:    #1d4ed8;        /* GRASSROOTS blue */
  --role-slnt:    #0a0a0a;        /* SILENCE black */

  /* Compatibility aliases for inherited main CSS */
  --red:          var(--role-seed);
  --red-soft:     #fbe7e3;
  --amber:        var(--role-lead);

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

  /* Helvetica Neue heavy throughout — Swiss / Bauhaus voice */
  --font-display: "Helvetica Neue", "Helvetica Neue Bold", Helvetica, Arial, sans-serif;
  --font-text:    "Helvetica Neue", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    ui-monospace, "SF Mono", Menlo, "JetBrains Mono", 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; }
}

/* =====================================================================
   v10 OVERRIDES — Bauhaus / Swiss Four-Role Board
   ===================================================================== */

/* HERO — make it BIGGER than main (constraint B: hero is the largest element) */
.hero { padding: clamp(60px, 8vh, 120px) var(--pad-x) clamp(40px, 6vh, 80px); border-bottom: 4px solid var(--ink); }
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  color: var(--ink); text-transform: uppercase; font-weight: 700;
}
.hero-eyebrow::before { background: var(--role-seed); height: 4px; }
.hero-thesis {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 8.5vw, 156px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 24px 0 0;
}
.hero-thesis em {
  color: var(--role-seed);
  font-style: normal;
  display: inline-block;
  transform: translateY(-0.04em);
}
.hero-conclusion {
  margin-top: clamp(32px, 4vh, 56px);
  font-size: clamp(18px, 1.6vw, 24px); line-height: 1.45;
  color: var(--ink);
  border-left: 6px solid var(--role-seed);
  padding-left: 22px;
  max-width: 60ch;
  font-weight: 500;
}
.hero-conclusion strong { font-weight: 800; }
.hero-stats {
  margin-top: clamp(40px, 5vh, 60px);
  border-top: 2px solid var(--ink);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  padding-top: 24px;
}
.hero-stat { border-right: 2px solid var(--ink); padding: 0 24px 0 0; }
.hero-stat:last-child { border-right: 0; padding-right: 0; }
.hero-stat .v {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 4.4vw, 68px); line-height: 1;
  letter-spacing: -0.03em; color: var(--ink);
  display: block;
}
.hero-stat .l { display: block; margin-top: 12px; font-size: 14px; color: var(--ink); max-width: 28ch; font-weight: 500; }
.hero-stat .n { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* OPS section overrides */
.v10-ops {
  padding: clamp(40px, 6vh, 80px) var(--pad-x) clamp(40px, 6vh, 80px);
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}
.v10-ops-intro {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: clamp(28px, 4vh, 48px);
  max-width: var(--max);
}
.v10-ops .section-eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  color: var(--role-seed); text-transform: uppercase; font-weight: 700;
}
.v10-ops-headline {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(36px, 4.4vw, 68px); line-height: 0.98;
  letter-spacing: -0.025em; color: var(--ink);
  margin: 0;
}

/* The 4-column board */
.v10-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
  align-items: start;
}
.v10-col {
  display: flex; flex-direction: column;
  border: 2px solid var(--ink);
  background: var(--sheet);
  min-width: 0;
}
.v10-col-head {
  padding: clamp(14px, 1.8vh, 22px) clamp(14px, 1.4vw, 22px);
  color: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.v10-col.col-seed .v10-col-head { background: var(--role-seed); }
.v10-col.col-lead .v10-col-head { background: var(--role-lead); color: var(--ink); }
.v10-col.col-grss .v10-col-head { background: var(--role-grss); }
.v10-col.col-slnt .v10-col-head { background: var(--role-slnt); }

.v10-col-head .ch-num {
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  letter-spacing: 0.18em; opacity: 0.85;
  margin-bottom: 6px;
}
.v10-col-head .ch-label {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(18px, 1.5vw, 22px); line-height: 1.05;
  letter-spacing: -0.005em;
}
.v10-col-head .ch-stats {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em;
  margin-top: 10px; opacity: 0.95;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline;
}
.ch-stat-sep { opacity: 0.5; }

.v10-col-cards {
  display: flex; flex-direction: column;
  gap: 0;
}

/* CLUSTER CARD (overrides .cluster-row when .v10-card class also present) */
.cluster-row.v10-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(14px, 1.8vh, 22px) clamp(14px, 1.4vw, 22px);
  text-decoration: none;
  color: var(--ink);
  background: var(--sheet);
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-left: 6px solid var(--ink);
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
  position: relative;
  /* Reset main's cluster-row grid layout */
  grid-template-columns: none;
}
.cluster-row.v10-card:last-child { border-bottom: 0; }
.cluster-row.v10-card:hover {
  background: var(--highlight);
  padding-left: clamp(18px, 1.8vw, 26px);
  padding-right: 0;
  transform: none;
}
.cluster-row.v10-card.is-faded { opacity: 0.32; pointer-events: none; }
.cluster-row.v10-card.is-active { background: var(--ink); color: var(--paper); }

.cluster-row.v10-card.role-seed { border-left-color: var(--role-seed); }
.cluster-row.v10-card.role-lead { border-left-color: var(--role-lead); }
.cluster-row.v10-card.role-grss { border-left-color: var(--role-grss); }
.cluster-row.v10-card.role-slnt { border-left-color: var(--role-slnt); }

.v10-card-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--muted); text-transform: uppercase;
  font-weight: 700;
}
.cluster-row.v10-card.is-active .v10-card-head { color: var(--paper); opacity: 0.85; }
.v10-card-num { color: var(--ink); }
.cluster-row.v10-card.is-active .v10-card-num { color: var(--paper); }
.v10-card-vol { font-variant-numeric: tabular-nums; }
.v10-card-vol b { font-weight: 700; color: var(--ink); }
.cluster-row.v10-card.is-active .v10-card-vol b { color: var(--paper); }

.v10-card-name {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.1; letter-spacing: -0.012em;
  color: var(--ink); margin: 0;
}
.cluster-row.v10-card.is-active .v10-card-name { color: var(--paper); }
.v10-card-punch {
  font-family: var(--font-text); font-weight: 400;
  font-size: 13px; line-height: 1.45;
  color: var(--muted); margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.cluster-row.v10-card.is-active .v10-card-punch { color: var(--paper); opacity: 0.85; }

/* RU% bar — Russia signal salient (constraint D) */
.v10-card-russig {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.cluster-row.v10-card.is-active .v10-card-russig { border-top-color: rgba(255, 255, 255, 0.3); }
.rs-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
}
.rs-label { color: var(--muted); text-transform: uppercase; font-weight: 700; }
.cluster-row.v10-card.is-active .rs-label { color: var(--paper); opacity: 0.7; }
.rs-val {
  color: var(--ink); font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.cluster-row.v10-card.is-active .rs-val { color: var(--paper); }
.rs-val-source {
  font-family: var(--font-text); font-weight: 600;
  text-transform: none; letter-spacing: 0;
  font-size: 11px;
  text-align: right;
  max-width: 60%;
  line-height: 1.25;
}
.rs-bar {
  height: 6px; background: var(--line); position: relative;
}
.cluster-row.v10-card.is-active .rs-bar { background: rgba(255, 255, 255, 0.2); }
.rs-bar-fill {
  display: block; height: 100%;
  background: var(--role-seed);
}
.cluster-row.v10-card.role-lead .rs-bar-fill { background: var(--role-lead); }
.cluster-row.v10-card.role-grss .rs-bar-fill { background: var(--role-grss); }
.cluster-row.v10-card.role-slnt .rs-bar-fill { background: var(--ink); }
.rs-bar-prc { margin-top: 2px; }
.rs-bar-fill-prc { background: var(--ink); opacity: 0.55; }
.cluster-row.v10-card.is-active .rs-bar-fill-prc { background: var(--paper); opacity: 0.55; }

.v10-card-cta {
  display: flex; justify-content: flex-end; align-items: center; gap: 6px;
  margin-top: 4px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 700;
  color: var(--muted);
}
.cluster-row.v10-card:hover .v10-card-cta { color: var(--role-seed); }
.cluster-row.v10-card.is-active .v10-card-cta { color: var(--paper); opacity: 0.85; }
.cta-arrow { transition: transform 0.15s; }
.cluster-row.v10-card:hover .cta-arrow { transform: translateX(4px); }

/* L2 LEFT slide-in panel */
.v10-leftpanel {
  position: fixed;
  left: 0; top: 52px; bottom: 96px;
  width: min(1100px, 86vw);
  background: var(--sheet);
  color: var(--ink);
  border-right: 4px solid var(--ink);
  box-shadow: 24px 0 60px rgba(10, 10, 10, 0.25);
  z-index: 100;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.v10-leftpanel.is-open { transform: translateX(0); }
.v10-leftpanel[hidden] { display: block; }

.v10p-loading {
  padding: 48px 28px; color: var(--muted);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.v10p-error { color: var(--role-seed); }

.v10p-close {
  position: sticky; top: 0; left: 0;
  z-index: 5;
  display: block; width: 100%;
  background: var(--ink); color: var(--paper);
  border: 0; padding: 12px 18px;
  font: 800 11px var(--font-display); letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; text-align: left;
  transition: background 0.15s;
}
.v10p-close:hover { background: var(--role-seed); }

/* Cluster detail content rendered inside the left panel — keep main's structure but tighten for narrow panel */
.v10-leftpanel .cluster-detail {
  background: transparent; border: 0; padding: 0;
}
.v10-leftpanel .cluster-back-wrap { display: none; }
.v10-leftpanel .cluster-banner {
  padding: clamp(20px, 3vh, 30px) clamp(20px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
}
.v10-leftpanel .cluster-name {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 3vw, 44px); line-height: 1;
  letter-spacing: -0.025em; color: var(--ink);
  margin: 14px 0 12px;
}
.v10-leftpanel .cluster-punch {
  font-family: var(--font-text); font-weight: 500;
  font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5;
  color: var(--ink);
  border-left: 4px solid var(--role-seed);
  padding-left: 16px; margin: 0 0 18px;
}
.v10-leftpanel .cluster-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  border-top: 1px solid var(--line); padding-top: 16px;
}
@media (max-width: 880px) {
  .v10-leftpanel .cluster-stats { grid-template-columns: repeat(2, 1fr); }
}
.v10-leftpanel .cstat .v {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(20px, 2vw, 30px); line-height: 1; color: var(--ink);
}
.v10-leftpanel .cstat .l {
  display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase;
}
.v10-leftpanel .cluster-triad,
.v10-leftpanel .stories-section {
  padding: clamp(18px, 2.4vh, 24px) clamp(20px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
}

/* Story drawer (L3) — sit above the v10 left panel via z-index 300+ from main CSS */
.drawer { z-index: 300; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .v10-board { grid-template-columns: repeat(2, 1fr); }
  .hero-thesis { font-size: clamp(48px, 9vw, 100px); }
}
@media (max-width: 720px) {
  .v10-board { grid-template-columns: 1fr; }
  .v10-leftpanel { width: 100%; max-width: 100%; }
}

/* end v10 */
