/* ═══════════════════════════════════════════════════════════
   CCRU / Machine Metabolism — dark design system
   Full rewrite. HTML class names preserved from markup.
   Two dialects: Archive (serif) · Instrument (mono).
   ══════════════════════════════════════════════════════════ */

/* ─── §1 — Design tokens ──────────────────────────────────── */
:root {
  /* backgrounds */
  --c-void:      #08090a;
  --c-carbon:    #0c0d0f;
  --c-graphite:  #141619;
  --c-steel:     #1c1f23;
  --c-steel-2:   #262a30;
  --c-rule:      #2a2e34;
  --c-rule-soft: #1e2126;
  --c-bruise:    #0f1420;

  /* ink */
  --ink-1: #d8d6cf;
  --ink-2: #9a978e;
  --ink-3: #66645e;
  --ink-4: #3d3c38;

  /* accents — signal, not decoration */
  --acc-amber:    #c68a2a;
  --acc-amber-hi: #e4a43a;
  --acc-acid:     #8ea829;
  --acc-cyan:     #4a7a88;

  /* type */
  --serif:  "EB Garamond", "Hoefler Text", "Times New Roman", serif;
  --mono:   "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;
  --grotesk: "IBM Plex Sans", "Helvetica Neue", sans-serif;

  /* legacy aliases — keep for any inline references */
  --font-serif: var(--serif);
  --font-sans:  var(--grotesk);
  --font-mono:  var(--mono);

  /* structural */
  --max-width: 1220px;
  --measure: 72ch;

  /* shadows — minimal in dark mode */
  --shadow-soft: 0 1px 4px rgba(0,0,0,0.4);
  --shadow-hard: 0 2px 12px rgba(0,0,0,0.5);

  /* radius — zero everywhere (sharp edges) */
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
}

/* ─── §2 — Reset / base ───────────────────────────────────── */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink-1);
  font-family: var(--serif);
  line-height: 1.64;
  background-color: var(--c-carbon);
  background-image:
    linear-gradient(to right,  rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* subtle scanline */
body::after {
  content: "";
  position: fixed; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0, transparent 3px,
    rgba(255,255,255,0.007) 3px,
    rgba(255,255,255,0.007) 4px
  );
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 9000;
}

body.is-command-open { overflow: hidden; }

a {
  color: inherit;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.18em;
}

a:focus,
button:focus,
input:focus,
select:focus {
  outline: 2px solid var(--acc-amber);
  outline-offset: 2px;
}

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

button, input, select { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink-1);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--ink-2);
}

/* ─── §3 — Utility classes ────────────────────────────────── */
.mono  { font-family: var(--mono); }
.grot  { font-family: var(--grotesk); }
.serif { font-family: var(--serif); }
.uc    { text-transform: uppercase; letter-spacing: 0.18em; }
.tab   { font-variant-numeric: tabular-nums; }
.hair      { height: 1px; background: var(--c-rule); border: 0; }
.hair-soft { height: 1px; background: var(--c-rule-soft); border: 0; }

.skip-link {
  position: absolute;
  top: -40px; left: 0;
  padding: 8px 16px;
  background: var(--c-graphite);
  color: var(--ink-1);
  font-family: var(--mono);
  font-size: 11px;
  text-decoration: none;
  z-index: 200;
  border: 1px solid var(--c-rule);
}
.skip-link:focus { top: 0; }

/* ─── §4 — Page shell ─────────────────────────────────────── */
.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1;
  padding: 0;
}

.site-main > .breadcrumbs {
  width: 100%;
  margin: 0;
}

/* ─── §5 — Masthead ───────────────────────────────────────── */
.site-header {
  padding: 20px 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--c-rule);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--c-carbon);
  /* background-color only so the grid behind shows through slightly */
  background-image: none;
}

.site-header__inner,
.site-header__inner--slim {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* amber diamond logo mark */
.site-branding__mark {
  width: 14px;
  height: 14px;
  border: 1px solid var(--acc-amber);
  transform: rotate(45deg);
  flex-shrink: 0;
  display: block;
}

.site-branding__home,
.site-branding__name {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-1);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}

.site-branding__tagline,
.site-branding__sub {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10.5px;
  margin: 0;
  white-space: nowrap;
}

.site-branding__div { color: var(--ink-4); }

/* nav */
.site-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  color: var(--ink-2);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--mono);
  font-size: 11px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 120ms ease, border-color 120ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus {
  color: var(--ink-1);
  border-color: var(--c-rule);
}

.site-nav__link[aria-current="page"],
.site-nav__link--current {
  color: var(--acc-amber);
  border-color: var(--acc-amber);
}

/* masthead actions */
.masthead-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.masthead-actions__button,
.masthead-actions__search {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--c-rule);
  color: var(--ink-3);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  text-decoration: none;
  transition: color 120ms, border-color 120ms;
  white-space: nowrap;
}

.masthead-actions__button:hover,
.masthead-actions__search:hover {
  color: var(--acc-amber);
  border-color: var(--acc-amber);
}

/* ─── §6 — Signal ribbon ──────────────────────────────────── */
.signal-ribbon {
  border-bottom: 1px solid var(--c-rule);
  height: 28px;
  overflow: hidden;
  background: var(--c-carbon);
}

.signal-ribbon__track {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: ribbon-scroll 40s linear infinite;
}

.signal-ribbon__item {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  padding: 0 24px;
  border-right: 1px solid var(--c-rule-soft);
  flex-shrink: 0;
  line-height: 28px;
}

.signal-ribbon__item--acid  { color: var(--acc-acid); }
.signal-ribbon__item--amber { color: var(--acc-amber); }

@keyframes ribbon-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── §7 — Telemetry strip ────────────────────────────────── */
.telemetry-strip {
  border-bottom: 1px solid var(--c-rule);
  padding: 14px 48px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  font-family: var(--mono);
  color: var(--ink-3);
  background: var(--c-carbon);
}

.telemetry-strip__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.telemetry-strip__key {
  font-size: 9.5px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.telemetry-strip__val {
  color: var(--ink-1);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.telemetry-strip__val--acid  { color: var(--acc-acid); }
.telemetry-strip__val--amber { color: var(--acc-amber); }

/* ─── §8 — Breadcrumbs ────────────────────────────────────── */
.breadcrumbs {
  padding: 10px 48px;
  border-bottom: 1px solid var(--c-rule-soft);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10.5px;
}

.breadcrumbs ol a {
  color: var(--ink-3);
  text-decoration: none;
}

.breadcrumbs ol a:hover { color: var(--ink-2); }

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--ink-4);
}

.breadcrumbs li[aria-current="page"] { color: var(--ink-2); }

/* ─── §9 — Command palette ────────────────────────────────── */
[data-command-palette] {
  position: fixed;
  inset: 0;
  z-index: 120;
  /* visibility via [hidden] attribute */
}

[data-command-palette][hidden] { display: none; }
[data-command-palette]:not([hidden]) { display: block; }

.command-palette__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 10, 0.82);
  border: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.command-palette__panel {
  position: relative;
  width: min(860px, calc(100% - 2rem));
  margin: 64px auto 0;
  padding: 24px 28px;
  background: var(--c-graphite);
  border: 1px solid var(--c-rule);
  color: var(--ink-1);
  box-shadow: 0 24px 56px rgba(0,0,0,0.5);
}

.command-palette__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 20px;
}

.command-palette__header .eyebrow { color: var(--acc-amber); }

.command-palette__title {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-1);
  line-height: 1.1;
}

.command-palette__close {
  padding: 6px 14px;
  background: transparent;
  border: 1px solid var(--c-rule);
  color: var(--ink-2);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
}
.command-palette__close:hover { border-color: var(--acc-amber); color: var(--ink-1); }

.command-palette__search {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--c-rule);
  background: var(--c-steel);
}

.command-palette__body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

.command-palette__group {
  padding: 14px 16px;
  border: 1px solid var(--c-rule-soft);
  background: var(--c-carbon);
}

.command-palette__group-title {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}

.command-palette__shortcut-grid,
.command-palette__utility-grid {
  display: grid;
  gap: 6px;
}

.command-palette__shortcut,
.command-palette__utility {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 12px;
  border: 1px solid var(--c-rule-soft);
  background: transparent;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
  text-decoration: none;
  cursor: pointer;
  min-height: 2.4rem;
}
.command-palette__shortcut:hover,
.command-palette__utility:hover {
  background: var(--c-steel);
  color: var(--ink-1);
  border-color: var(--c-rule);
}

/* ─── §10 — Hero — frontpage (V1 control room) ────────────── */
.hero,
.hero--frontpage {
  border-bottom: 1px solid var(--c-rule);
  position: relative;
  margin-bottom: 0;
  box-shadow: none;
  border-radius: 0;
  background: var(--c-carbon);
}

.hero--frontpage {
  display: grid;
  grid-template-columns: 180px 1fr 360px;
  border: none;
  border-bottom: 1px solid var(--c-rule);
  padding: 0;
}

.hero__margin-col {
  padding: 48px 20px;
  border-right: 1px solid var(--c-rule-soft);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  line-height: 1.8;
}

.hero__vol-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 9.5px;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.hero__classification {
  margin-top: 120px;
  border-top: 1px solid var(--c-rule);
  padding-top: 12px;
}

.hero__copy {
  padding: 64px 56px 72px;
}

.hero__eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--acc-amber);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 40px;
  display: block;
}

.hero h1,
.hero__copy h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 5vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink-1);
}

.hero h1 em,
.hero__copy h1 em {
  font-style: italic;
  color: var(--ink-2);
}

.hero__lede,
.page-intro__lede {
  margin: 40px 0 0;
  max-width: 520px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
}

/* G.5 — magazine-style standfirst for section/person/concept hero ledes:
   italic serif, larger size, mid-grey on near-black, slight indent.
   Curated 60–90w hero_lede sets the page voice; the longer-form intro
   (body's first paragraph) still flows in the article column. */
.page-intro--section .page-intro__lede,
.page-intro--person .page-intro__lede,
.page-intro--concept .page-intro__lede {
  font-style: italic;
  font-size: clamp(20px, 1.85vw, 24px);
  line-height: 1.5;
  color: #d8d6cf;
  max-width: 600px;
  padding-left: 14px;
  border-left: 2px solid var(--c-rule-soft);
}



.hero__side-panel {
  padding: 24px 28px;
  border: 1px solid var(--c-rule-soft);
  background: var(--c-graphite);
  font-size: 15px;
}







.hero__actions-sep { color: var(--ink-4); }

.hero__visual-stack {
  display: grid;
  gap: 16px;
  padding: 20px;
}

/* right telemetry column */
.hero__telemetry-col {
  border-left: 1px solid var(--c-rule-soft);
  padding: 48px 28px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
}

.hero__telemetry-col-label {
  font-size: 9.5px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  display: block;
}

.hero__stat-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-rule-soft);
}

.hero__stat-key { color: var(--ink-2); }
.hero__stat-val { color: var(--ink-1); font-variant-numeric: tabular-nums; }
.hero__stat-val--amber { color: var(--acc-amber-hi); }

/* ─── §11a — Longform identity (Phase 5G-B wiki-mode title block) ─
   Single semantic header replacing essay-header (guides) and
   page-intro--split (works/sections/concepts/people/collections).
   The hero image is now an inline figure below this block, not a
   side-by-side panel — see .longform-hero-figure further down. */
.longform-identity {
  border-bottom: 1px solid var(--c-rule);
  background: var(--c-carbon);
  padding: 64px clamp(24px, 4vw, 56px) 56px;
  display: grid;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.longform-identity__copy { max-width: 720px; }
.longform-identity__h1 {
  margin: 8px 0 12px;
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--ink-1);
  font-family: var(--serif);
}
.longform-identity__head { color: var(--ink-1); }
.longform-identity__tail { color: var(--ink-2); font-style: italic; }
.longform-identity__lede {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 65ch;
}
.longform-identity--section .longform-identity__lede,
.longform-identity--person .longform-identity__lede,
.longform-identity--concept .longform-identity__lede {
  font-style: italic;
}
.longform-identity__bridge {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 60ch;
}
.longform-identity__alt {
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.longform-identity__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, max-content));
  gap: 8px 24px;
  margin: 8px 0 0;
  padding: 0;
}
.longform-identity__meta > div { display: grid; gap: 2px; }
.longform-identity__meta dt {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  margin: 0;
}
.longform-identity__meta dd {
  margin: 0;
  font-size: 11.5px;
  color: var(--ink-2);
}
.longform-identity__keywords {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  line-height: 1.6;
}
.longform-identity__related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
}
.longform-identity__related a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 120ms;
}
.longform-identity__related a:hover { color: var(--acc-amber); }

/* Primary claims — Phase 5G-F.1 wiki-mode numbered prose list.
   Replaces the 2-column .editorial-card grid that primary_claims_section
   previously emitted. Numbered counter sits in the gutter; each claim
   reads as a single body paragraph with a bold lead and inline
   example/source. */
.primary-claims {
  list-style: none;
  counter-reset: primary-claim;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.primary-claims > li.primary-claim {
  counter-increment: primary-claim;
  position: relative;
  padding-left: 48px;
  min-height: 28px;
}
.primary-claims > li.primary-claim::before {
  content: counter(primary-claim, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  line-height: 1.6;
}
.primary-claims > li.primary-claim > p { margin: 0; }
.primary-claims .primary-claim__example,
.primary-claims .primary-claim__source {
  color: var(--ink-3);
  font-size: 0.94em;
}
.primary-claims .primary-claim__example em {
  font-style: italic;
  color: var(--ink-2);
}
.primary-claims .primary-claim__source a { color: var(--ink-2); }
.primary-claims .primary-claim__source a:hover { color: var(--acc-amber); }

/* Misreadings — Phase 5G-F wiki-mode definition list. Replaces the
   2-column confusion-card grid that common_confusion_callout and
   what_gets_distorted_section previously emitted. Wiki-style dt/dd
   pair: bold misreading title, flowing-prose explanation. */
.misreadings-list {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.misreadings-list dt {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-1);
  font-weight: 500;
  margin: 0;
}
.misreadings-list dd {
  margin: 4px 0 0;
  padding: 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* Worked examples — Phase 5G-F.3 wiki-mode plain list. Replaces
   the 2-column editorial-card grid that concrete_examples_section
   previously emitted. Each example reads as a body paragraph: bold
   linked title + monospace type label + a one-sentence note. */
.worked-examples-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.worked-examples-list > li.worked-example > p { margin: 0; }
.worked-examples-list .worked-example__title {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink-1);
}
.worked-examples-list .worked-example__title a {
  color: var(--ink-1);
  text-decoration: underline;
  text-decoration-color: var(--c-rule);
  text-underline-offset: 2px;
  transition: text-decoration-color 120ms;
}
.worked-examples-list .worked-example__title a:hover { text-decoration-color: var(--acc-amber); }
.worked-examples-list .worked-example__kind {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-left: 6px;
}

/* Compare-module — Phase 5G-F.3 wiki-mode. Drops the surrounding
   editorial-card tile and the eyebrow chips on each side; keeps a
   responsive 2-col paired-grid because the side-by-side comparison
   IS the load-bearing content. */
.compare-module {
  margin: 16px 0 0;
}
.compare-module > h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.35;
  color: var(--ink-1);
}
.compare-module__side > p { margin: 0 0 6px; }
.compare-module__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.paired-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

/* Pull-quote — Phase 5G-F.3 wiki-mode. Drops the .pull-quote-module
   amber-bar tile + EDITORIAL CLAIM eyebrow + diamond marker that
   the previous render emitted. A plain blockquote with a thin left
   rule and serif italic body. */
.pull-quote {
  margin: 20px 0;
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--c-rule);
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-2);
}
.pull-quote > p {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
}

/* Directory list — Phase 5H-B.1 wiki-mode. Replaces the
   directory-card grids on index pages (/concepts, /works, /guides,
   /people, /sections, /collections, /exhibits, /reading-paths) and
   on text/record pages (section_backlinks_block,
   text_section_overview). Each entry is a single body paragraph
   pair (title + description); the wrapper is a plain <ul>. */
.directory-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.directory-list__count {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.directory-list__item {
  padding: 4px 0;
}
.directory-list__item--rich {
  padding: 6px 0 10px;
}
.directory-list__title {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink-1);
}
.directory-list__title a {
  color: var(--ink-1);
  text-decoration: underline;
  text-decoration-color: var(--c-rule);
  text-underline-offset: 3px;
  transition: text-decoration-color 120ms;
}
.directory-list__title a:hover { text-decoration-color: var(--acc-amber); }
.directory-list__kind {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-left: 6px;
}
.directory-list__item > p {
  margin: 2px 0;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.directory-list__question {
  font-size: 13px;
  color: var(--ink-3);
}
.directory-section {
  margin: 0 auto;
  max-width: 1120px;
  padding: 24px clamp(20px, 4vw, 56px);
}

/* Extract passages — Phase 5H-C.1 wiki-mode. Replaces the
   .extract-card tile chrome used on record/concept/work pages.
   Slim cite line + plain blockquote with thin left rule +
   optional commentary paragraph. Same shape as .pull-quote but
   slightly tighter and with explicit cite + commentary slots. */
.extract-passage {
  margin: 20px 0;
}
.extract-passage__cite {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}
.extract-passage__quote,
.key-passage__quote {
  margin: 0;
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--c-rule);
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-2);
}
.extract-passage__quote > p,
.key-passage__quote > p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}
.extract-passage__commentary {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.key-passage__cite {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

/* Editorial lists — Phase 5J-A wiki-mode. Replaces .editorial-card--compact
   + .editorial-grid--compact grids across argument_map_section,
   best_moments_section, theme_spans_section, chart_shelf_section
   (link-cards branch), reading_path_notices_section, route_forks_section,
   related_questions_section, transcript_map_section, facsimile_evidence_section,
   and the editorial_cards(compact=True) generic path. Each entry is one
   <li> with serif title + monospace eyebrow + body-prose <p> note.
   Same family as worked-examples-list / directory-list / misreadings-list. */
.editorial-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.editorial-list--numbered {
  list-style: decimal;
  padding-left: 32px;
}
.editorial-list--numbered > li::marker {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}
.editorial-list__item {
  padding: 4px 0;
}
.editorial-list__title {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink-1);
}
.editorial-list__title a {
  color: var(--ink-1);
  text-decoration: underline;
  text-decoration-color: var(--c-rule);
  text-underline-offset: 2px;
  transition: text-decoration-color 120ms;
}
.editorial-list__title a:hover { text-decoration-color: var(--acc-amber); }
.editorial-list__eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin: 0 0 4px;
}
.editorial-list__item > p {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.editorial-list__item > p.editorial-list__eyebrow,
.editorial-list__item > p.editorial-list__title { margin-top: 0; }
.editorial-list__kind {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-left: 6px;
}

/* References — Phase 5G-E wiki-mode. Single bottom section consolidating
   internal archive evidence + external outbound links. Numbered ordered
   list for internal records (matches body footnote markers). */
.references > h3 {
  margin: 18px 0 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.references-list {
  margin: 8px 0 0;
  padding-left: 32px;
  display: grid;
  gap: 10px;
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.references-list > li.reference {
  padding-left: 4px;
}
.references-list > li.reference::marker {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}
.references-list .reference__kind {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-left: 4px;
}
.references-list a {
  color: var(--ink-1);
  text-decoration: underline;
  text-decoration-color: var(--c-rule);
  text-underline-offset: 2px;
  transition: text-decoration-color 120ms;
}
.references-list a:hover { text-decoration-color: var(--acc-amber); }
.references-external {
  margin: 8px 0 0;
}

/* Inline footnote marker — Phase 5G-G. Replaces the FIG. I/II/III
   inline evidence-panel boxes. Reads as a small superscript [N]
   that scrolls to #ref-N when clicked. */
.ref-marker {
  font-family: var(--mono);
  font-size: 0.7em;
  letter-spacing: 0.04em;
  vertical-align: super;
  line-height: 0;
  margin-left: 2px;
}
.ref-marker a {
  color: var(--acc-amber);
  text-decoration: none;
  padding: 0 2px;
}
.ref-marker a:hover { text-decoration: underline; }

/* Inline hero figure below the title block (replaces the side-by-side
   visual-anchor that previously sat in the hero's right column). */
.longform-hero-figure {
  margin: 0 auto;
  max-width: 1120px;
  padding: 24px clamp(24px, 4vw, 56px) 32px;
  border-bottom: 1px solid var(--c-rule-soft);
  background: var(--c-carbon);
}
.longform-hero-figure .page-graphic { margin: 0; }
.longform-hero-figure .page-graphic img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
@media (max-width: 760px) {
  .longform-identity { padding: 40px 16px 32px; gap: 16px; }
  .longform-hero-figure { padding: 16px 16px 24px; }
}

/* ─── §11 — Page intro (interior pages) ──────────────────── */
.page-intro {
  border-bottom: 1px solid var(--c-rule);
  background: var(--c-carbon);
  padding: 0;
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: none;
  border-left: none;
  border-right: none;
  border-top: none;
}





.page-intro--layout-route-led    { grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr); }
.page-intro--layout-front-page   { grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr); }
.page-intro--layout-essay-split  { grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr); }
.page-intro--layout-cluster-split,
.page-intro--layout-cluster-atlas { grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr); }
.page-intro--layout-dossier-split  { grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); }
.page-intro--layout-reference-split { grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr); }
.page-intro--layout-edition-split   { grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr); }
.page-intro--layout-poster          { grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr); }



.page-intro h1,
.hero h1 {
  margin: 0 0 6px;
  font-size: clamp(32px, 4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.page-intro--person h1,
.page-intro--concept h1,
.page-intro--collection h1,
.page-intro--work h1 {
  font-size: clamp(28px, 3vw, 52px);
}

/* exhibit / dark panel variant */




/* ─── §12 — Visual anchor (decorative right panel) ───────── */
.visual-anchor {
  display: grid;
  gap: 12px;
  padding: 28px;
  background: var(--c-graphite);
  border-left: 1px solid var(--c-rule-soft);
  color: var(--ink-1);
  border-radius: 0;
}

.visual-anchor--poster,
.visual-anchor--cinematic,
.visual-anchor--editorial,
.visual-anchor--dossier,
.visual-anchor--reference,
.visual-anchor--cluster,
.visual-anchor--signal,
.visual-anchor--atlas-slab,
.visual-anchor--poster-grid,
.visual-anchor--signal-track,
.visual-anchor--dossier-band { background: var(--c-graphite); }

.visual-anchor--edition,
.visual-anchor--edition-sheet {
  background: var(--c-steel);
  border-color: var(--c-rule);
}

.visual-anchor--front-page { padding: 20px; }

.visual-anchor--feature-split {
  grid-template-columns: minmax(0, 0.86fr) minmax(220px, 1.14fr);
  align-items: start;
}

.visual-anchor__header { display: grid; gap: 4px; }

.visual-anchor__meta {
  margin: 0;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.84rem;
}

.visual-anchor__thesis {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  max-width: 36ch;
}

.visual-anchor__quote {
  margin: 4px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--acc-amber);
  max-width: 24ch;
  font-size: 1.15rem;
  line-height: 1.15;
  font-style: italic;
  color: var(--ink-2);
}

.page-graphic {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--c-rule-soft);
  background: var(--c-steel);
}

.page-graphic img {
  width: 100%;
  background: var(--c-graphite);
}

.page-graphic__caption {
  margin: 0;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.84rem;
}

.page-graphic__source,
.page-graphic__rights,
.page-graphic__link {
  margin: 0;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.page-graphic--chart { background: var(--c-void); }

/* G.6 — hero plate compression on section / person / concept pages.
   The substantive body now sits at the top of the article; the hero
   plate shouldn't dominate the viewport above it. Cap height at 360px
   on desktop, 280px on mobile, with object-fit:cover preserving the
   crop's intent. Other page kinds (guides, exhibits, works editions,
   reading paths, home, collections) keep their original treatment. */


@media (max-width: 760px) {
  .page-intro--split .page-graphic img {
    max-height: 280px;
  }
}

/* G.6+ — eliminate the black gap above the body on every split-layout
   page-intro. The page-intro is a 2-col grid: left column is title +
   lede + bridge (~400–600px), right column is the visual-anchor with
   header (eyebrow + motif + thesis + quote) + hero plate +
   evidence-strip (~600–800px). When the right column is taller, CSS
   Grid extends the page-intro container to match — leaving a visible
   gap at the bottom of the LEFT column before the body starts below.
   Fix: strip the ancillary blocks from the visual anchor everywhere
   the split layout is in use, keeping only the hero plate. Evidence
   content survives in the article body's archive_evidence panel;
   thesis/quote/motif were atmospheric. After this rule the visual
   anchor is ≤ 380px (hero plate + tight padding) and the left
   column's lede determines the page-intro height. Affects: section,
   person, concept, work, exhibit, reading-path, collection — every
   page-intro--split variant. Guides use .hero, not .page-intro--split,
   so they're unaffected. */




/* G.6++ — works pages have very short page-intro__copy (just title +
   one-line description), so even with the visual-anchor minimized the
   grid creates a 150–250px gap below the bridge. Fix: stack the
   page-intro vertically on works pages so the visual-anchor renders
   as a banner below the copy. No height mismatch possible. The hero
   plate's max-height: 360px cap (above) keeps the banner compact. */





/* G.6+ — bump the page-graphic citation labels (source / rights /
   internal-link mono captions) from --ink-4 (#3d3c38, near-invisible
   on near-black) to --ink-3 (#66645e, legible). These appear under
   the hero plate in any visual-anchor context. */
.page-graphic__source,
.page-graphic__rights,
.page-graphic__link {
  color: var(--ink-3);
}

/* Tier 1.1 — canonical-anchor entries on /works/canon. Each anchor
   is a sectioned bibliography entry: title (serif h2), byline (mono
   citation), one-paragraph role description, external link. */
.detail-page--canon { padding: 48px 56px; }
@media (max-width: 760px) {
  .detail-page--canon { padding: 32px 24px; }
}
.canon-anchor {
  padding: 32px 0;
  border-top: 1px solid var(--c-rule-soft);
}
.canon-anchor:first-child { border-top: none; padding-top: 0; }
.canon-anchor h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  color: var(--ink-1);
}
.canon-anchor__subtitle { font-style: italic; font-weight: 400; color: var(--ink-2); }
.canon-anchor__byline {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.canon-anchor__role {
  margin: 0 0 12px;
  max-width: 70ch;
  font-family: var(--serif);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: var(--ink-2);
}
.canon-anchor__link {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.canon-anchor__link a { color: var(--acc-amber); }
.canon-anchor:target {
  background: rgba(186, 145, 60, 0.06);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}

.page-graphic__fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-graphic__fallback li {
  padding: 4px 8px;
  border: 1px solid var(--c-rule-soft);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.8rem;
}

/* ─── §13 — Catalog band (intro banner on index pages) ────── */
.catalog-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 0;
  border-bottom: 1px solid var(--c-rule);
  background: var(--c-carbon);
  padding: 0;
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: none;
}

.catalog-band--search,
.catalog-band--records,
.catalog-band--works { background: var(--c-carbon); }

.catalog-band__copy {
  padding: 48px 56px;
  position: relative;
  z-index: 1;
}

.catalog-band__lede {
  margin: 0 0 12px;
  font-size: clamp(17px, 1.5vw, 22px);
  color: var(--ink-2);
  font-family: var(--serif);
}

.catalog-band__bridge {
  max-width: 44rem;
  margin-top: 12px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
}

.catalog-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.catalog-band__visual {
  position: relative;
  min-height: 200px;
  background: var(--c-graphite);
  border-left: 1px solid var(--c-rule-soft);
}

/* Tier 2 — give every index page a real backdrop image instead of the
   procedural amber-line ribbon. Universal default lays the home atlas
   plate behind the catalog-band__visual; per-variant rules override
   with a more thematically-appropriate plate. The procedural grid +
   ribbon stay as a tech-overlay (lower opacity, screen blend) so the
   editorial-tech feel survives without dominating. */
.catalog-band__visual {
  background-color: var(--c-graphite);
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0.78);
  min-height: 360px;
  background-image:
    linear-gradient(rgba(8, 8, 7, 0.6), rgba(8, 8, 7, 0.6)),
    url('/static/generated/heroes/home/home.webp');
}
.catalog-band--section-index .catalog-band__visual {
  background-image:
    linear-gradient(rgba(8, 8, 7, 0.55), rgba(8, 8, 7, 0.55)),
    url('/static/generated/heroes/home/home.webp');
}
.catalog-band--guide-index .catalog-band__visual {
  background-image:
    linear-gradient(rgba(8, 8, 7, 0.55), rgba(8, 8, 7, 0.55)),
    url('/static/generated/heroes/sections/theory-fiction-and-cyberstyle.webp');
}
.catalog-band--works .catalog-band__visual {
  background-image:
    linear-gradient(rgba(8, 8, 7, 0.55), rgba(8, 8, 7, 0.55)),
    url('/static/generated/heroes/sections/warwick-and-formation.webp');
}
/* Per-page overrides for the generic catalog-band--index variant
   (used by /people, /concepts, /collections, /reading-paths, /exhibits).
   Selectors target the body breadcrumb path attribute or fall back to
   the universal default above. */
body[data-path^="/people"] .catalog-band--index .catalog-band__visual {
  background-image:
    linear-gradient(rgba(8, 8, 7, 0.55), rgba(8, 8, 7, 0.55)),
    url('/static/generated/heroes/people/nick-land.webp');
}
body[data-path^="/concepts"] .catalog-band--index .catalog-band__visual {
  background-image:
    linear-gradient(rgba(8, 8, 7, 0.55), rgba(8, 8, 7, 0.55)),
    url('/static/generated/heroes/concepts/hyperstition.webp');
}
body[data-path^="/exhibits"] .catalog-band--index .catalog-band__visual {
  background-image:
    linear-gradient(rgba(8, 8, 7, 0.55), rgba(8, 8, 7, 0.55)),
    url('/static/generated/heroes/sections/hyperstition-and-fiction-making.webp');
}
body[data-path^="/reading-paths"] .catalog-band--index .catalog-band__visual {
  background-image:
    linear-gradient(rgba(8, 8, 7, 0.55), rgba(8, 8, 7, 0.55)),
    url('/static/generated/heroes/sections/accelerationism-branches-and-debates.webp');
}
body[data-path^="/collections"] .catalog-band--index .catalog-band__visual {
  background-image:
    linear-gradient(rgba(8, 8, 7, 0.55), rgba(8, 8, 7, 0.55)),
    url('/static/generated/heroes/sections/capital-meltdown-and-cybernetic-modernity.webp');
}
.catalog-band--search .catalog-band__visual,
.catalog-band--records .catalog-band__visual {
  background-image:
    linear-gradient(rgba(8, 8, 7, 0.55), rgba(8, 8, 7, 0.55)),
    url('/static/generated/heroes/sections/numogram-and-occult-numeracy.webp');
}
/* The procedural grid + ribbon layer over the image — keep them but
   tone down so they read as tech-overlay rather than the main visual. */
.catalog-band__grid { opacity: 0.45; }
.catalog-band__ribbon { opacity: 0.55; mix-blend-mode: screen; }

.catalog-band__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
}

.catalog-band__ribbon {
  position: absolute; inset: 0;
  clip-path: polygon(0 65%, 26% 49%, 48% 57%, 66% 34%, 100% 48%, 100% 62%, 66% 48%, 48% 69%, 24% 58%, 0 74%);
  background: linear-gradient(90deg, rgba(198, 138, 42, 0.5), rgba(74, 122, 136, 0.4));
}

.catalog-band__lines { position: absolute; inset: 0; }

/* ─── §14 — Catalog shelf (dark band for clusters) ────────── */
.catalog-shelf {
  display: grid;
  gap: 24px;
  background: var(--c-void);
  border: none;
  border-top: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
  color: var(--ink-1);
  padding: 48px;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}






.catalog-shelf .directory-card,
.catalog-shelf .feature-card,
.catalog-shelf .collection-card {
  background: var(--c-graphite);
  color: var(--ink-1);
  border: none;
}

/* ─── §15 — Eyebrow ──────────────────────────────────────── */
.eyebrow {
  display: block;
  margin: 0 0 10px;
  color: var(--acc-amber);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Phase 3b (2026-05-08): function-label H2 demotion. Used inside body
   sections as a small mono label that introduces a section without
   claiming heading-level structure. See §6.1 of the cleanup brief v2. */
.section-label {
  display: block;
  margin: 0 0 12px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.section-label strong {
  color: var(--ink-2);
  font-weight: 500;
}

/* Phase 3c (2026-05-08): RelatedRoutes — single nav block per page,
   footer position. brief §5.1, §7.2. Two-column list of "Type · Title"
   links, no per-link descriptions. */
.related-routes {
  margin: 64px 0 32px;
  padding: 24px 0 0;
  border-top: 1px solid var(--ink-4);
}
.related-routes__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 24px;
}
.related-routes__link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  text-decoration: none;
  color: var(--ink-1);
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease, color 120ms ease;
}
.related-routes__link:hover,
.related-routes__link:focus-visible {
  border-bottom-color: var(--acc-amber);
  color: var(--acc-amber);
  outline: none;
}
.related-routes__type {
  flex: 0 0 auto;
  min-width: 76px;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.related-routes__title {
  font-size: 15px;
  line-height: 1.4;
}
@media (max-width: 760px) {
  .related-routes__list { grid-template-columns: 1fr; }
}

/* Phase 3c: metadata-footer — single per-page footer carrying citation,
   rights/provenance (works only), backlinks, build badge. brief §5.11. */
.metadata-footer {
  margin: 48px 0 0;
  padding: 32px 0 24px;
  border-top: 1px solid var(--ink-4);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}
.metadata-footer__block { margin: 0 0 24px; }
.metadata-footer__block:last-child { margin-bottom: 0; }
.metadata-footer__block--rights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.metadata-footer__block-side { min-width: 0; }
.metadata-footer__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.metadata-footer__pill {
  padding: 4px 12px;
  background: var(--c-graphite);
  border: 1px solid var(--ink-4);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-2);
  font-size: 12px;
  transition: border-color 120ms ease, color 120ms ease;
}
.metadata-footer__pill:hover,
.metadata-footer__pill:focus-visible {
  border-color: var(--acc-amber);
  color: var(--acc-amber);
  outline: none;
}
.metadata-footer__list {
  margin: 0;
}
.metadata-footer__list > div {
  margin-bottom: 8px;
}
.metadata-footer__list dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.metadata-footer__list dd {
  margin: 2px 0 0;
  color: var(--ink-2);
}
.metadata-footer__citation {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  margin: 0;
  word-break: break-word;
}
@media (max-width: 760px) {
  .metadata-footer__block--rights { grid-template-columns: 1fr; }
}

/* ─── §16 — Detail sections ──────────────────────────────── */
.detail-page {
  padding: 48px 56px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}

.detail-page h2 { font-size: 28px; margin: 0 0 16px; }
.detail-page h3 { font-size: 22px; }

/* Body argument sections: no tile, typographic flow only.
   Phase 5 F-visual: previously these shared the tile rule with
   callout-panels, which made every consecutive section read as a
   stacked card. Body sections now flow continuously; only deliberate
   callouts and panels keep the tile treatment. */
.detail-section {
  margin-top: 36px;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* Phase 5G-F.4 (wiki-mode): the hairline divider between consecutive
   body sections is removed. The H2 heading + comfortable margin-top
   on the heading (set elsewhere) is enough section break for a
   wiki-shape reading rhythm. Two horizontal lines between sections
   (hairline + amber dash above H2) read as over-emphasised in the
   user's review of the G.E/G.G preview. */
.detail-section + .detail-section:not(.callout-panel):not(.citation-box):not(.context-note):not(.next-steps):not(.related-panel):not(.related-block):not(.archive-evidence-panel):not(.evidence-panel) {
  margin-top: 24px;
}

/* Callouts and panels keep the tile treatment but tighten padding. */
.callout-panel,
.next-steps,
.related-block,
.detail-tags,
.citation-box,
.context-note,
.archive-evidence-panel,
.related-panel,
.reading-path-shortlist,
.reading-path-steps {
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--c-rule);
  background: var(--c-graphite);
  border-radius: 0;
  box-shadow: none;
}

.detail-section > h2 { margin-top: 0; }



/* dark-panel variant */




/* callout accents */
.callout,
.context-note { background: var(--c-graphite); border-color: var(--c-rule); }



/* G.6 — quick-answer demotion. Body essay now sits above; the quick-
   answer panel switches from a competing block to a tight margin-style
   callout for the impatient reader. Smaller padding, smaller font,
   muted text colour, slightly narrower measure. The 3px amber rule
   remains so it stays recognisable as a callout. */







/* G.1c — keep callout panels inside their column at every breakpoint:
   defensive box-sizing (the global `*` reset already provides it, but cement
   it locally so a future override can't strip the amber rule), allow long
   tokens to wrap, and tighten padding at narrow viewports so the
   border-left + content + border-right doesn't run off the edge. */
.callout-panel {
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .callout-panel { padding: 18px 18px 18px 20px; }
}

/* blockquote within detail sections */
blockquote,
.exergue {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-2);
  border-left: 1px solid var(--acc-amber);
  padding: 0 0 0 24px;
  margin: 0 0 32px;
}

blockquote cite,
.exergue__source {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
  color: var(--ink-3);
}







/* ─── §17 — Longform / reference shell ───────────────────── */
.longform-shell,
.reference-shell {
  display: grid;
  /* F1 (frontend review 2026-05-07): tightened from minmax(0, 1fr) 280px so
     the body content sits flush against the rail instead of leaving a
     ~400px-wide void in the middle of the page on inner pages. Variants
     `--with-marginalia` and `--home` override below. */
  grid-template-columns: minmax(0, 720px) 280px;
  justify-content: center;
  gap: 0;
  align-items: start;
}

/* 3-col variant for guides with marginalia */
.longform-shell--with-marginalia {
  grid-template-columns: 280px minmax(0, 1fr) 320px;
}

.longform-shell--with-marginalia .longform-main { order: 2; }
.longform-shell--with-marginalia .longform-rail  { order: 1; }
.longform-shell--with-marginalia .longform-marginalia-col { order: 3; }

/* home page: hide rail (hero handles columns) */
.longform-shell--home {
  grid-template-columns: 1fr;
}
.longform-shell--home .longform-rail { display: none; }

.longform-main,
.reference-main {
  min-width: 0;
  padding: 0;
}



/* Phase 5J-followup (2026-05-12): left ToC rail sticks during scroll
   so it stays visible alongside the body, matching the marginalia
   column's already-sticky behaviour. Applied to .longform-rail
   directly so both the 2-col (.longform-shell) and 3-col
   (.longform-shell--with-marginalia) layouts get the sticky behaviour. */
.longform-rail {
  position: sticky;
  top: 72px;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  align-self: start;
}

/* When rail is ordered first (in --with-marginalia) */
.longform-shell--with-marginalia .longform-rail {
  border-left: none;
  border-right: 1px solid var(--c-rule-soft);
}

/* marginalia column */
.longform-marginalia-col {
  padding: 56px 28px 72px;
  border-left: 1px solid var(--c-rule-soft);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  line-height: 1.7;
  position: sticky;
  top: 72px;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  align-self: start;
}

/* ─── §18 — TOC navigation ────────────────────────────────── */
.page-toc,
.provenance-box {
  padding: 16px;
  border: 1px solid var(--c-rule-soft);
  background: var(--c-graphite);
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 16px;
}

.page-toc__details { display: none; }

.page-toc__nav h2,
.provenance-box h2 {
  margin: 0 0 12px;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  font-family: var(--mono);
  font-weight: 400;
}

.page-toc__details summary {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
}

.page-toc__nav ol,
.page-toc__details ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-toc__nav ol a,
.page-toc__details ol a {
  display: block;
  color: var(--ink-3);
  text-decoration: none;
  padding: 5px 0 5px 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  border-left: 1px solid transparent;
  margin-left: -10px;
}

.page-toc__nav ol a:hover,
.page-toc__details ol a:hover,
.page-toc__nav ol a[aria-current="true"] {
  color: var(--acc-amber);
  border-left-color: var(--acc-amber);
}

/* Editor profile card — /about page editor identity block with portrait
   thumbnail + bio. Originally added 2026-05-03; restored 2026-05-12. */
.editor-profile-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(198,138,42,0.08), transparent 38%),
    #101215;
  border-left: 3px solid var(--acc-amber);
}

.editor-portrait {
  margin: 0;
  display: grid;
  gap: 8px;
  align-content: start;
}

.editor-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--c-rule);
  background: #050607;
  filter: saturate(0.82) contrast(1.04);
}

.editor-portrait figcaption {
  color: var(--ink-3);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.editor-profile-card__body h2 { margin: 0 0 8px; }
.editor-profile-card__role {
  color: var(--acc-amber);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .editor-profile-card { grid-template-columns: 1fr; }
}

/* ─── §19 — Meta list ─────────────────────────────────────── */
.meta-list { margin: 0; }

.meta-list div {
  padding: 8px 0;
  border-bottom: 1px solid var(--c-rule-soft);
}

.meta-list dt {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.meta-list dd {
  margin: 4px 0 0;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
}

/* ─── §20 — Grids ─────────────────────────────────────────── */
.feature-grid,
.collection-grid,
.card-grid,
.route-grid,
.editorial-grid,
.catalog-strip,
.next-steps__grid,
.key-links-grid,
.semantic-result-grid,
.record-journey-grid,
.filter-panel {
  display: grid;
  gap: 1px;         /* 1px gap with bg color = inset border lines */
  background: var(--c-rule);
}

.feature-grid,
.collection-grid,
.card-grid,
.next-steps__grid,
.key-links-grid,
.semantic-result-grid,
.record-journey-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.route-grid,
.editorial-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}







/* card-grid for records uses gap, not inset borders */
.card-grid--records {
  background: transparent;
  gap: 0;
  border-top: 1px solid var(--c-rule-soft);
}

/* ─── §21 — Cards ─────────────────────────────────────────── */




/* remove warm-paper overrides */
.route-card,
.cluster-card { background: var(--c-graphite); }

.directory-card,
.feature-card,
.collection-card { position: relative; overflow: hidden; }

/* remove old gradient top strip */
.directory-card::before,
.feature-card::before,
.collection-card::before { display: none; }

/* spotlight / dark-section variants */










/* record card */
.record-card {
  background: transparent;
  border-bottom: 1px solid var(--c-rule-soft);
  padding: 14px 0;
}

.record-card h2 { font-family: var(--serif); font-size: 18px; color: var(--ink-1); margin: 0 0 6px; }
.record-card p  { font-family: var(--serif); font-size: 14px; color: var(--ink-2); margin: 0; }

.record-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

/* semantic result card */
.semantic-result-card { background: var(--c-graphite); }
.semantic-result-card h3 { font-size: 18px; }
.semantic-result-card p  { color: var(--ink-2); font-size: 15px; }

.semantic-result-card__meta { margin-bottom: 8px; }
.semantic-result-card__chips,
.semantic-result-card__actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.semantic-result-card__actions a { text-decoration: none; }

/* journey card */
.record-journey-card h2 { margin-bottom: 8px; }

/* ─── §22 — Section heading ──────────────────────────────── */
.section-heading { margin-bottom: 24px; }
.section-heading h2 { font-size: 32px; margin: 0 0 10px; }
.section-heading p:last-child { max-width: 62ch; color: var(--ink-2); margin: 0; }

/* G.7 — gutter on the section-band group blocks used by /sections and
   /guides indexes. The class previously had no rule, so its eyebrow
   ("RESEARCH BAND"), heading, intro, and card-grid sat flush against
   the viewport edge. Match the standard 48px / 56px page padding;
   tighten on narrow viewports to match .detail-page (32 / 24). */
.section-band {
  padding: 48px 56px;
}

@media (max-width: 760px) {
  .section-band {
    padding: 32px 24px;
  }
}

/* ─── §23 — Section / route strip ────────────────────────── */
.section-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
}

.section-grid--guides {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
  padding: 56px 48px;
  border-bottom: 1px solid var(--c-rule);
}

.route-strip,
.source-clusters {
  padding: 56px 48px;
}

.route-strip--full-bleed { background: var(--c-graphite); }
.route-strip--full-bleed::before,
.timeline--ribbon::before { display: none; }

/* ─── §24 — Timeline ─────────────────────────────────────── */
.timeline { padding: 48px; border-bottom: 1px solid var(--c-rule); }

.timeline-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  display: grid;
  gap: 1px;
  background: var(--c-rule);
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.timeline-item {
  border-left: 3px solid var(--acc-amber);
  background: var(--c-graphite);
  border-radius: 0;
  padding: 20px 24px;
}

.timeline-item__label {
  margin: 0 0 8px;
  color: var(--acc-amber);
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 400;
}

/* timeline ribbon variant */
.timeline--ribbon {
  background: var(--c-void);
  border-top: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
  overflow-x: auto;
}

.timeline--ribbon .timeline-list {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  min-width: max-content;
  background: transparent;
}

.timeline--ribbon .timeline-item {
  flex-shrink: 0;
  border-left: 1px solid var(--c-rule-soft);
  border-bottom: none;
  padding-right: 40px;
  min-width: 180px;
}

/* ─── §25 — Chart module ─────────────────────────────────── */


.chart-modules { display: grid; gap: 16px; }

.chart-module {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--c-graphite);
  color: var(--ink-1);
  border: 1px solid var(--c-rule);
  border-radius: 0;
}

.chart-module__header,
.chart-module__meta { display: grid; gap: 8px; }

.chart-module__header h3,
.chart-shelf__links h3 { margin: 0; line-height: 1; }

.chart-module__header h3 { font-size: clamp(24px, 2vw, 36px); }

.chart-module__subtitle  { margin: 0; color: var(--ink-3); }
.chart-module__thesis    { margin: 0; color: var(--ink-2); }
.chart-module__caveat,
.chart-module__method    { margin: 0; color: var(--ink-3); font-family: var(--mono); font-size: 11px; }

.chart-module__annotations,
.chart-module__sources {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 4px;
}

.chart-module__annotations li,
.chart-module__sources li { margin: 0; color: var(--ink-3); font-family: var(--mono); font-size: 11px; }

.chart-module__downloads { display: flex; flex-wrap: wrap; gap: 8px; }

.chart-shelf { display: grid; gap: 16px; }
.chart-shelf__feature { display: grid; gap: 12px; }
.chart-shelf__links {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--c-steel);
  border: 1px solid var(--c-rule-soft);
}

.chart-shelf__jump { margin: 0; color: var(--ink-3); font-family: var(--mono); font-size: 11px; }

.faq-block__item + .faq-block__item {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--c-rule-soft);
}
.faq-block__item h3 { margin: 0 0 8px; line-height: 1.2; }
.faq-block__item p  { margin: 0; }

/* ─── §26 — Record browser / search ─────────────────────── */
.record-browser,
.semantic-search-shell {
  display: grid;
  gap: 0;
  background: var(--c-void);
  color: var(--ink-1);
  border-top: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}

.record-browser > *,
.semantic-search-shell > * { padding: 24px 48px; }

.record-browser .results-toolbar,
.semantic-search-shell .results-toolbar,
.record-browser .results-toolbar__note,
.semantic-search-shell .results-toolbar__note,
.record-browser .semantic-search__fallback,
.semantic-search-shell .semantic-search__fallback { color: var(--ink-3); }

/* ─── §27 — Filters ──────────────────────────────────────── */
.filter-panel {
  display: grid;
  gap: 16px;
  background: transparent;
  padding: 0;
}

.filter-field { display: grid; gap: 6px; }

.site-search__label,
.filter-field label {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-bottom: 4px;
}

.site-search__input,
.filter-field input,
.filter-field select {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--c-rule);
  background: var(--c-graphite);
  color: var(--ink-1);
  font-family: var(--mono);
  font-size: 11px;
  border-radius: 0;
  outline: none;
  appearance: none;
}

.site-search__input:focus,
.filter-field input:focus,
.filter-field select:focus { border-color: var(--acc-amber); }

.record-browser .site-search__input,
.semantic-search-shell .site-search__input,
.record-browser .filter-field input,
.record-browser .filter-field select,
.semantic-search-shell .filter-field input,
.semantic-search-shell .filter-field select {
  background: var(--c-steel);
  border-color: var(--c-rule);
  color: var(--ink-1);
}

.record-browser .utility-link,
.semantic-search-shell .utility-link {
  color: var(--acc-amber);
}

.command-palette__search .site-search__input {
  background: var(--c-steel);
  color: var(--ink-1);
  border-color: var(--c-rule);
}

.semantic-search__form {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  align-items: end;
  display: grid;
  gap: 16px;
}

.semantic-search__query { grid-column: 1 / -1; }

.semantic-search__toggle,
.filter-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.semantic-search__quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 48px;
}

.semantic-search__fallback {
  margin: 0;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
}

.results-toolbar {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 12px 0;
}

.results-toolbar__note { color: var(--ink-3); margin-top: 4px; }

.semantic-result-group { margin-bottom: 40px; }

/* ─── §28 — Buttons ──────────────────────────────────────── */
.site-search__button,
.button,
a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 20px;
  border: 1px solid var(--c-rule);
  background: transparent;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  transition: color 100ms, border-color 100ms;
}

.site-search__button:hover,
.button:hover,
a.button:hover { color: var(--ink-1); border-color: var(--acc-amber); }

.button--secondary {
  color: var(--ink-3);
  border-color: var(--c-rule-soft);
}
.button--secondary:hover { color: var(--ink-1); border-color: var(--acc-amber); }

.utility-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--c-rule-soft);
  color: var(--acc-amber);
  font-family: var(--mono);
  font-size: 10.5px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  border-radius: 0;
}
.utility-link:hover { border-color: var(--acc-amber); color: var(--acc-amber-hi); }

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 16px;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 4px 12px;
  border: 1px solid var(--c-rule-soft);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  border-radius: 0;
}

.pagination__link:hover,
.pagination__link:focus { color: var(--ink-1); border-color: var(--c-rule); }

.pagination__link[aria-current="page"] {
  color: var(--acc-amber);
  border-color: var(--acc-amber);
}

/* ─── §29 — Chips / badges / meta ────────────────────────── */
.chip-list,
.record-card__meta,
.semantic-result-card__meta,
.text-page__badges,
.text-work__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  list-style: none;
  margin: 0;
}

.chip-list li,
.record-card__meta span,
.semantic-result-card__meta span,
.status-badge {
  padding: 3px 8px;
  border: 1px solid var(--c-rule-soft);
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.semantic-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid var(--c-rule-soft);
  background: transparent;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
}
.semantic-chip:hover { color: var(--acc-amber); border-color: var(--acc-amber); }

.status-badge--provisional { color: var(--acc-amber); border-color: var(--acc-amber); }
.status-badge--support     { color: var(--acc-cyan);  border-color: var(--acc-cyan); }

/* ─── §30 — Extract cards ────────────────────────────────── */
.extract-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--c-rule);
}

.extract-card {
  padding: 20px 24px;
  border: none;
  background: var(--c-graphite);
  border-radius: 0;
}

.extract-card__header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.extract-card__role,
.reading-step__meta {
  margin: 0;
  color: var(--acc-amber);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.extract-card__source,
.inline-meta {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
}

.extract-card__quote {
  margin: 0;
  padding: 2px 0 2px 16px;
  border-left: 1px solid var(--acc-amber);
}

.extract-card__quote p {
  margin: 0;
  font-style: italic;
  color: var(--ink-2);
}

/* ─── §31 — Dossier rail ─────────────────────────────────── */




/* ─── §32 — Reading paths ─────────────────────────────────── */
.reading-path-shortlist,
.reading-path-steps {
  background: var(--c-graphite);
}

.reading-path-shortlist ol,
.reading-path-steps ol {
  display: grid;
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.reading-step {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  padding-left: 12px;
  background: var(--c-graphite);
}

.reading-step__type {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.reading-step::before {
  content: "";
  position: absolute;
  inset: 16px auto 16px 8px;
  width: 1px;
  background: var(--acc-amber);
}

.reading-step__node {
  position: relative;
  z-index: 1;
  padding-top: 2px;
  min-width: 0;
  word-break: break-word;
  font-size: 10.5px;
}

.reading-step__node::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 6px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--acc-amber);
  background: var(--c-carbon);
  border-radius: 0;
  transform: rotate(45deg);
}

.reading-step__content { min-width: 0; }
.reading-step--shortlist .reading-step__node::before { border-color: var(--acc-cyan); }

/* ─── §33 — Evidence strip ───────────────────────────────── */
.evidence-strip { display: grid; gap: 12px; }
.evidence-strip h2 { margin: 0; font-size: 16px; }
.evidence-strip__grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.evidence-strip__item { display: grid; gap: 8px; }

/* ─── §33.1 — Page supporting band (Phase 5 F-visual) ─────
   Freestanding band rendered below page-intro--split, carrying the
   editorial illustration + evidence-strip extracted from
   visual-anchor so they no longer stretch the hero's grid row and
   leave the copy column with a visible centre-column blank. */



@media (max-width: 760px) {
  .page-supporting-band { padding: 20px 16px; gap: 16px; }
}

/* ─── §34 — Text subcluster ──────────────────────────────── */
.text-subcluster {
  background: var(--c-graphite);
  border: 1px solid var(--c-rule-soft);
  padding: 16px 20px;
  border-radius: 0;
}

.text-subcluster summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
}

.text-subcluster summary::-webkit-details-marker { display: none; }

.text-work-list,
.text-section-card__clusters,
.text-section-card__samples,
.transcript-nav-list {
  margin: 12px 0 0;
  padding-left: 16px;
}

.text-work {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

/* ─── §35 — Data table ────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; }

.data-table th,
.data-table td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid var(--c-rule-soft);
  font-family: var(--mono);
  font-size: 11px;
}

.data-table th {
  color: var(--ink-3);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* ─── §36 — New components: signal / instrument ──────────── */

/* Marginalia notes */
.marginalia-note {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--c-rule-soft);
}

.marginalia-note__time {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 9.5px;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.marginalia-note__time--accent { color: var(--acc-amber); }
.marginalia-note__body { color: var(--ink-2); line-height: 1.6; }
.marginalia-note__cite { margin-top: 8px; color: var(--ink-3); font-size: 10px; }
.marginalia-note__link { margin-top: 8px; color: var(--acc-amber); }

/* Evidence panel (inline chart interruption) */
.evidence-panel {
  margin: 56px -24px;
  border: 1px solid var(--c-rule);
  background: var(--c-void);
  padding: 24px 28px 20px;
}

.evidence-panel__header {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.evidence-panel__fig-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.evidence-panel__caption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  border-top: 1px solid var(--c-rule-soft);
  padding-top: 12px;
  line-height: 1.6;
}

/* Dossier header strip */
.dossier-header {
  border-top: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
}

/* Dropcap + amber paragraph end mark */
.dropcap::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 94px;
  line-height: 0.86;
  color: var(--ink-1);
  padding-right: 14px;
  padding-top: 4px;
  font-weight: 400;
}

.para-end::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--acc-amber);
  margin-left: 6px;
  transform: translateY(-2px);
  vertical-align: middle;
}

/* Reading page file-card header */
.reading-page-header {
  border-bottom: 1px solid var(--c-rule);
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
}

/* ─── §37 — Site footer ───────────────────────────────────── */
.site-footer {
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  border-top: 1px solid var(--c-rule);
  background: var(--c-carbon);
}

.site-footer p { max-width: 76ch; margin: 0; color: var(--ink-3); }
.site-footer a { color: var(--ink-3); text-decoration: none; }
.site-footer a:hover { color: var(--acc-amber); }

/* ─── §38 — Misc / provenance ────────────────────────────── */
.provenance-box { font-family: var(--mono); font-size: 10.5px; }
.provenance-box h2 { margin: 0 0 10px; }
.provenance-box p  { color: var(--ink-3); margin: 0; font-size: 10.5px; }

.citation-box {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}

.citation-box h2 { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-3); margin: 0 0 10px; }

.bullet-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 18px;
}

.split-section,
.metadata-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.record-browser__enhancement-note {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  padding: 12px 0;
}

/* ─── §39 — Media queries ─────────────────────────────────── */
@media (min-width: 941px) {
  .chart-module {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    align-items: start;
  }
  .chart-module__header,
  .chart-module .page-graphic { grid-column: 1; }
  .chart-module__meta {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
  }
  .chart-shelf {
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
    align-items: start;
  }
}

@media (max-width: 1200px) {
  .hero--frontpage { grid-template-columns: 1fr 320px; }
  .hero__margin-col { display: none; }
}

@media (max-width: 1040px) {
  .site-header { padding: 16px 24px; }
  .site-branding__sub,
  .site-branding__div { display: none; }

  .hero--frontpage,
  .catalog-band,
  .page-intro--split,
  .section-grid,
  .command-palette__body,
  .longform-shell,
  .longform-shell--with-marginalia,
  .reference-shell {
    grid-template-columns: 1fr !important;
  }

  .longform-shell--with-marginalia .longform-marginalia-col,
  .longform-shell--with-marginalia .longform-rail { display: none; }

  .hero__telemetry-col { display: none; }

  .telemetry-strip { grid-template-columns: repeat(3, 1fr); }

  .longform-rail,
  .reference-rail { position: static; max-height: none; }

  .page-toc__nav { display: none; }
  .page-toc__details { display: block; }
}

@media (max-width: 760px) {
  .site-header { padding: 14px 20px; }

  /* nav collapses — hamburger takes over */
  .site-nav         { display: none; }
  .site-nav__toggle { display: inline-flex; }

  /* signal ribbon: slow + fade-mask (keep visible) */
  .signal-ribbon__track { animation-duration: 90s; }
  .signal-ribbon {
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }

  /* telemetry strip wraps to 3 cols (keep visible) */
  .telemetry-strip { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }

  .breadcrumbs { padding: 10px 20px; }

  .hero__copy { padding: 40px 24px 48px; }
  .hero h1, .hero__copy h1 { font-size: 48px; line-height: 0.96; }
  .hero__lede { font-size: 17px; }

  .page-intro__copy { padding: 32px 24px; }

  .detail-page,
  .route-strip,
  .source-clusters,
  .timeline { padding: 32px 24px; }

  .catalog-band__copy { padding: 32px 24px; }
  .catalog-shelf { padding: 32px 24px; }

  .section-grid--guides { padding: 32px 24px; }

  .command-palette__panel {
    width: calc(100% - 1rem);
    margin-top: 48px;
    padding: 16px 18px;
  }
  .command-palette__body { grid-template-columns: 1fr; }

  .feature-grid,
  .collection-grid,
  .card-grid,
  .route-grid,
  .editorial-grid,
  .catalog-shelf__grid,
  .next-steps__grid,
  .key-links-grid,
  .semantic-result-grid,
  .record-journey-grid,
  .extract-grid,
  .timeline-list {
    grid-template-columns: 1fr !important;
  }

  .reading-step { grid-template-columns: 1fr; }

  .site-footer { padding: 16px 20px; flex-direction: column; align-items: flex-start; }
}

/* ─── §40 — Hero sparkline ────────────────────────────────── */
.hero-sparkline {
  display: block;
  width: 100%;
  max-width: 360px;
  margin-top: 24px;
  height: auto;
}
.hero-sparkline text {
  font-family: var(--mono);
  font-size: 8px;
  fill: var(--ink-4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-sparkline__grid   { stroke: var(--c-rule); stroke-width: 0.5; }
.hero-sparkline__human  {
  stroke: var(--ink-3);
  stroke-width: 0.75;
  stroke-dasharray: 3 4;
  fill: none;
}
.hero-sparkline__machine {
  stroke: var(--acc-amber);
  stroke-width: 1.25;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  /* pathLength≈600 → dasharray matches → clean draw sweep */
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: hero-spark-draw 2200ms cubic-bezier(0.32, 0.72, 0.28, 1) 160ms forwards;
}
.hero-sparkline__dot {
  fill: var(--acc-amber);
  stroke: var(--c-carbon);
  stroke-width: 1.25;
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-spark-dot 520ms ease-out 2360ms backwards;
}
.hero-sparkline__value,
.hero-sparkline__terminal {
  animation: hero-spark-fade 500ms ease-out 2400ms backwards;
}
.hero-sparkline__value    { fill: var(--acc-amber); }
.hero-sparkline__terminal { stroke: var(--acc-amber); stroke-width: 0.6; fill: none; }

@keyframes hero-spark-draw { to { stroke-dashoffset: 0; } }
@keyframes hero-spark-dot  { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }
@keyframes hero-spark-fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .hero-sparkline__machine,
  .hero-sparkline__dot,
  .hero-sparkline__value,
  .hero-sparkline__terminal {
    animation: none !important;
    stroke-dashoffset: 0 !important;
    opacity: 1 !important;
  }
}

/* ─── §41 — Hero corner calibration ticks ─────────────────── */
/* .hero already has position: relative */
.corner-ticks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.corner-ticks span {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--acc-amber);
  border-style: solid;
  border-width: 0;
  opacity: 0;
  animation: corner-tick-in 900ms cubic-bezier(0.32, 0.72, 0.28, 1) 200ms forwards;
}
.corner-ticks span:nth-child(1) {
  top: 16px; left: 16px;
  border-top-width: 1px; border-left-width: 1px;
}
.corner-ticks span:nth-child(2) {
  top: 16px; right: 16px;
  border-top-width: 1px; border-right-width: 1px;
  animation-delay: 280ms;
}
.corner-ticks span:nth-child(3) {
  bottom: 16px; left: 16px;
  border-bottom-width: 1px; border-left-width: 1px;
  animation-delay: 360ms;
}
.corner-ticks span:nth-child(4) {
  bottom: 16px; right: 16px;
  border-bottom-width: 1px; border-right-width: 1px;
  animation-delay: 440ms;
}
@keyframes corner-tick-in {
  0%   { opacity: 0; transform: scale(1.4); }
  100% { opacity: 0.85; transform: scale(1); }
}
/* narrow viewport — shrink ticks */
@media (max-width: 768px) {
  .corner-ticks span { width: 16px; height: 16px; }
  .corner-ticks span:nth-child(1),
  .corner-ticks span:nth-child(2) { top: 10px; }
  .corner-ticks span:nth-child(3),
  .corner-ticks span:nth-child(4) { bottom: 10px; }
  .corner-ticks span:nth-child(1),
  .corner-ticks span:nth-child(3) { left: 10px; }
  .corner-ticks span:nth-child(2),
  .corner-ticks span:nth-child(4) { right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .corner-ticks span { animation: none; opacity: 0.85; }
}

/* ─── §42 — Hamburger nav toggle (desktop: hidden) ────────── */
.site-nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--c-rule);
  width: 36px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}
.site-nav__toggle-bar {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--acc-amber);
}
.site-nav--open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--c-carbon);
  border-bottom: 1px solid var(--c-rule);
  padding: 20px 24px;
  gap: 18px;
  z-index: 20;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ─── §43 — Responsive breakpoints (designer handoff) ─────── */

/* 900px — archive rows simplify, hero cols stack */
@media (max-width: 900px) {
  /* archive row: keep num + title + duration only */
  .archive-row {
    grid-template-columns: 56px 1fr 48px;
    gap: 12px;
  }
  .archive-row__date,
  .archive-row__type,
  .archive-row__tags  { display: none; }
  .archive-row__title { font-size: 16px; }

  /* hero: drop margin + telemetry columns, stack them below */
  .hero--frontpage { grid-template-columns: 1fr; }
  .hero__margin-col,
  .hero__telemetry-col {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--c-rule-soft);
    padding: 28px 24px;
  }
}

/* 480px — final tuck */
@media (max-width: 480px) {
  .hero--frontpage    { padding: 40px 20px 48px; }
  .hero h1,
  .hero__copy h1      { font-size: 40px; }
  .telemetry-strip    { grid-template-columns: repeat(2, 1fr); }
  .site-branding__sub { display: none; }
}

/* ─── §44 — Cover plate (FIG. 00, full-bleed band) ──────────── */
.cover-plate {
  position: relative;
  height: 460px;
  border-bottom: 1px solid var(--c-rule);
  background: #0a0b0d;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-plate__weave {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg,
      #111316 0 2px,
      #0d0f12 2px 14px),
    radial-gradient(ellipse at center,
      rgba(198,138,42,0.04) 0%,
      transparent 60%);
  opacity: 0.85;
}

.cover-plate__crosshair {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cover-plate__crosshair-h,
.cover-plate__crosshair-v {
  position: absolute;
  background: var(--c-rule);
  opacity: 0.5;
}
.cover-plate__crosshair-h {
  left: 0; right: 0; top: 50%;
  height: 1px;
}
.cover-plate__crosshair-v {
  top: 0; bottom: 0; left: 50%;
  width: 1px;
}
.cover-plate__crosshair-dot {
  position: absolute;
  width: 8px; height: 8px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--acc-amber);
  border-radius: 50%;
  background: transparent;
  animation: cover-plate-pulse 3.5s ease-in-out infinite;
}

@keyframes cover-plate-pulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 0.9; transform: translate(-50%, -50%) scale(1.6); }
}

.cover-plate__label {
  position: absolute;
  top: 20px;
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.2em;
  z-index: 2;
}
.cover-plate__label--left  { left: 24px; }
.cover-plate__label--right { right: 24px; color: var(--acc-amber); }

.cover-plate__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px;
  max-width: 720px;
}

.cover-plate__eyebrow {
  font-size: 10px;
  color: var(--acc-amber);
  letter-spacing: 0.2em;
  margin-bottom: 14px;
}

.cover-plate__caption {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.corner-ticks--plate span {
  width: 14px;
  height: 14px;
  border-color: var(--acc-amber);
  z-index: 3;
}

@media (max-width: 768px) {
  .cover-plate { height: 320px; }
  .cover-plate__caption { font-size: 11px; }
}

/* ─── §45 — Dual doors (Archive | Metabolism) ──────────────── */
.dual-doors {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  border-bottom: 1px solid var(--c-rule);
}

.dual-doors__divider {
  background: var(--c-rule);
}

.dual-doors__door {
  padding: 64px 56px 56px;
}

.dual-doors__door--metab {
  background: #0a0b0d;
}

.dual-doors__kicker {
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.dual-doors__title-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 36px;
  line-height: 1.1;
  margin: 0 0 40px;
  color: var(--ink-1);
  letter-spacing: -0.005em;
}

.dual-doors__title-h2--mono {
  font-family: var(--mono);
  font-style: normal;
  font-size: 28px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.dual-doors__list {
  display: grid;
  margin-bottom: 28px;
}

.dual-doors__row {
  display: grid;
  grid-template-columns: 64px 1fr 80px;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--c-rule-soft);
  align-items: baseline;
  text-decoration: none;
  color: inherit;
  transition: background 120ms;
}

.dual-doors__row:hover {
  background: rgba(198, 138, 42, 0.04);
}

.dual-doors__row:last-child {
  border-bottom: 1px solid var(--c-rule-soft);
}

.dual-doors__num {
  font-size: 11px;
  color: var(--ink-3);
}

.dual-doors__title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-1);
  line-height: 1.25;
}

.dual-doors__row:hover .dual-doors__title {
  color: var(--acc-amber);
}

.dual-doors__dur {
  font-size: 10.5px;
  color: var(--ink-3);
  text-align: right;
}

.dual-doors__more {
  display: inline-block;
  margin-top: 20px;
  font-size: 10.5px;
  color: var(--acc-amber);
  text-decoration: none;
  letter-spacing: 0.18em;
}
.dual-doors__more:hover { color: var(--acc-amber-hi); }

.dual-doors__bars {
  display: grid;
  gap: 22px;
  margin-bottom: 8px;
}

.dual-doors__bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--ink-2);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.dual-doors__bar-track {
  position: relative;
  height: 8px;
  background: var(--c-steel);
  border: 1px solid var(--c-rule-soft);
}

.dual-doors__bar-fill {
  position: absolute;
  inset: 1px auto 1px 0;
  background: var(--acc-amber);
  transform-origin: left;
  animation: dual-doors-bar-grow 1200ms cubic-bezier(0.22, 0.7, 0.3, 1) backwards;
}
.dual-doors__bar-fill--acid  { background: var(--acc-acid); }
.dual-doors__bar-fill--amber { background: var(--acc-amber); }

@keyframes dual-doors-bar-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.dual-doors__bar:nth-child(1) .dual-doors__bar-fill { animation-delay: 80ms; }
.dual-doors__bar:nth-child(2) .dual-doors__bar-fill { animation-delay: 160ms; }
.dual-doors__bar:nth-child(3) .dual-doors__bar-fill { animation-delay: 240ms; }
.dual-doors__bar:nth-child(4) .dual-doors__bar-fill { animation-delay: 320ms; }
.dual-doors__bar:nth-child(5) .dual-doors__bar-fill { animation-delay: 400ms; }
.dual-doors__bar:nth-child(6) .dual-doors__bar-fill { animation-delay: 480ms; }

.dual-doors__bar-threshold {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: 50%;
  width: 1px;
  background: var(--ink-4);
}

@media (max-width: 900px) {
  .dual-doors {
    grid-template-columns: 1fr;
  }
  .dual-doors__divider {
    height: 1px;
    width: 100%;
    background: var(--c-rule);
  }
  .dual-doors__door { padding: 40px 32px; }
  .dual-doors__title-h2 { font-size: 28px; }
  .dual-doors__title-h2--mono { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .dual-doors__bar-fill { animation: none; transform: scaleX(1); }
  .cover-plate__crosshair-dot { animation: none; opacity: 0.6; }
}

/* ─── §46 — Essay-style 3-col title block (CONTENTS | TITLE | ABSTRACT) ─── */

/* File-card strip above the title row. A kicker of three mono columns:
   section · filed / rev / kind / read-time · classification. Cream-light on
   a near-black band to feel like an onion-skin cover sheet. */
.reading-page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  padding: 16px clamp(24px, 4vw, 48px);
  border-top: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
  background: var(--c-carbon);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.reading-page-header__col { min-width: 0; }
.reading-page-header__col--left  { text-align: left; color: var(--ink-2); }
.reading-page-header__col--center { text-align: center; color: var(--ink-3); }
.reading-page-header__col--right { text-align: right; color: var(--ink-3); letter-spacing: 0.18em; }

/* The essay header: two rigid full-bleed columns (Contents | Title).
   Phase 5 F-visual: the abstract column was moved out of this grid
   into the longform-shell's marginalia-col so a tall abstract no
   longer stretches the title row and leaves the centre column with a
   visible blank below the meta byline. */




/* Left — CONTENTS tracker */










/* Centre — TITLE column */











/* Right — ABSTRACT panel (slightly deeper ground for cover-sheet feel) */









/* Responsive collapse: at narrower viewports the Contents tracker
   tucks beneath the title column so the big serif headline still
   breathes. The abstract panel now lives in the longform-marginalia-col
   (Phase 5 F-visual) and has its own responsive behaviour below. */
@media (max-width: 1100px) {
  .essay-header {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .essay-header::before { display: none; }
  .essay-contents {
    border-top: 1px solid var(--c-rule-soft);
  }
  .essay-title { padding-bottom: 40px; }
}

/* The marginalia column normally hides at <=1040px (see media query
   earlier — alongside longform-rail). The essay-abstract is now in
   that column on guide pages; keep it visible by promoting the
   column to block flow at narrow viewports while still hiding the
   supplementary marginalia notes. */
@media (max-width: 1040px) {
  .longform-shell--with-marginalia .longform-marginalia-col {
    display: block;
  }
  .longform-shell--with-marginalia .longform-marginalia-col > .marginalia-note {
    display: none;
  }
}
@media (max-width: 640px) {
  .reading-page-header {
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: left;
  }
  .reading-page-header__col--center,
  .reading-page-header__col--right { text-align: left; }
}

/* ─── §47 — Longform body polish (dropcap, paragraph rhythm) ─── */

/* Generous measure for the centre reading column inside the essay layout */
.longform-shell--with-marginalia .longform-main { padding: 0 clamp(24px, 3vw, 56px); }
.longform-shell--with-marginalia .longform-main .detail-section { max-width: 68ch; }

/* Phase 5G-F.2 (wiki-mode): the editorial drop-cap on first body
   paragraph and the amber-square end-mark have been removed. Reference
   sites (Wikipedia, etc.) don't use these flourishes; they draw
   attention away from continuous-prose reading. The .detail-section--lead
   server-side marker is retained for now in case any other rule needs
   it (none currently). */

/* Richer blockquote — treat as exergue when inside a body section */
.detail-section blockquote,
.longform-main blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
  color: var(--ink-2);
  border-left: 1px solid var(--acc-amber);
  padding: 4px 0 4px 28px;
  margin: 40px 0 40px;
  position: relative;
}
.detail-section blockquote::before,
.longform-main blockquote::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0;
  width: 9px;
  height: 9px;
  background: var(--acc-amber);
  transform: translate(-50%, 0) rotate(45deg);
}
.detail-section blockquote cite,
.longform-main blockquote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
  color: var(--ink-3);
  letter-spacing: 0.08em;
}

/* Body section headings — more editorial, less cardlike */
.longform-main .detail-section > h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
  color: var(--ink-1);
  padding-left: 0;
}
/* Phase 5G-F.4 (wiki-mode): the amber-dash decoration above H2 is
   removed. Together with the inter-section hairline drop, this gives
   each body section a single clean H2 + paragraph break rather than
   a layered "rule + dash + heading" stack. */

/* Body paragraph rhythm */
.longform-main .detail-section > p,
.longform-main .detail-section > .paragraph-block > p {
  font-family: var(--serif);
  font-size: clamp(16.5px, 1.3vw, 18.5px);
  line-height: 1.65;
  color: var(--ink-1);
  margin: 0 0 22px;
  max-width: 68ch;
}

/* Inline links within body */
.longform-main .detail-section p a {
  color: var(--ink-1);
  text-decoration: underline;
  text-decoration-color: var(--acc-amber);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
.longform-main .detail-section p a:hover { color: var(--acc-amber-hi); }

/* ─── §48 — Archive index (tabular rows for works / records) ─── */
.archive-index {
  padding: 0 clamp(24px, 4vw, 48px) 72px;
  background: var(--c-carbon);
}

.archive-index__header {
  display: grid;
  grid-template-columns: 56px 96px 112px 1fr 220px 64px;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-rule);
  margin: 8px 0 4px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.archive-index__intro {
  padding: 40px 0 8px;
  max-width: 72ch;
}
.archive-index__intro .eyebrow { margin-bottom: 10px; }
.archive-index__intro h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--ink-1);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.archive-index__intro p { color: var(--ink-2); font-size: 15px; margin: 0; max-width: 66ch; }

.archive-row {
  display: grid;
  grid-template-columns: 56px 96px 112px 1fr 220px 64px;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-rule-soft);
  transition: background-color 120ms;
}
.archive-row:hover { background: rgba(198, 138, 42, 0.03); }

.archive-row__num {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}
.archive-row__date {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.archive-row__type {
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}
.archive-row__type--essay,
.archive-row__type--guide,
.archive-row__type--text        { color: var(--acc-amber); }
.archive-row__type--exhibit     { color: var(--acc-cyan); }
.archive-row__type--transcript,
.archive-row__type--audio,
.archive-row__type--video       { color: var(--acc-acid); }

.archive-row__title {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.25;
  color: var(--ink-1);
  font-weight: 400;
  margin: 0;
}
.archive-row__title a {
  color: inherit;
  text-decoration: none;
  transition: color 100ms;
}
.archive-row__title a:hover { color: var(--acc-amber-hi); }
.archive-row__sub {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 13.5px;
  color: var(--ink-3);
  font-style: italic;
  line-height: 1.4;
}

.archive-row__tags {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.archive-row__dur {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ─── §49 — Chart-module polish (dossier / instrument tone) ─── */

/* Override the older §25 chart-module with a dossier-file aesthetic:
   dark graphite ground, mono labels, amber ratio bars, corner ticks. */
.chart-module {
  position: relative;
  padding: 28px 32px 24px;
  background: #0a0b0d;
  border: 1px solid var(--c-rule);
  border-radius: 0;
  box-shadow: none;
}

.chart-module::before,
.chart-module::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--acc-amber);
  opacity: 0.35;
  pointer-events: none;
}
.chart-module::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.chart-module::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.chart-module__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-rule-soft);
  margin-bottom: 20px;
}
.chart-module__header h3 {
  font-family: var(--mono);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink-1);
  text-transform: none;
}
.chart-module__subtitle {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.chart-module__thesis {
  color: var(--ink-2);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  margin-top: 8px;
  grid-column: 1 / -1;
}

.chart-module__caveat,
.chart-module__method {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}

.chart-module__annotations,
.chart-module__sources {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  border-top: 1px solid var(--c-rule-soft);
  padding-top: 14px;
}
.chart-module__annotations li::before,
.chart-module__sources li::before {
  content: "▪ ";
  color: var(--acc-amber);
  margin-right: 6px;
}

/* Dossier ratio bar — used inside chart modules for quantitative rows */
.dossier-ratio {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
}
.dossier-ratio__key { color: var(--ink-2); letter-spacing: 0.06em; }
.dossier-ratio__val {
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.dossier-ratio__val--acid  { color: var(--acc-acid); }
.dossier-ratio__val--amber { color: var(--acc-amber-hi); }

.dossier-ratio-bar {
  position: relative;
  height: 16px;
  background: #0f1115;
  border: 1px solid var(--c-rule-soft);
  grid-column: 1 / -1;
}

.dossier-ratio-bar__fill {
  position: absolute;
  top: 2px; bottom: 2px; left: 0;
  background: var(--acc-amber);
  transition: width 260ms ease-out;
}
.dossier-ratio-bar__fill--acid  { background: var(--acc-acid); }
.dossier-ratio-bar__fill--amber-hi { background: var(--acc-amber-hi); }

.dossier-ratio-bar__threshold {
  position: absolute;
  top: -3px; bottom: -3px;
  left: 20%;
  width: 1px;
  background: var(--ink-3);
}

/* ─── §50 — Evidence panel polish (inline FIG. interruption) ─── */
.evidence-panel {
  margin: 48px calc(-1 * clamp(12px, 2vw, 24px));
  border: 1px solid var(--c-rule);
  background: #0a0b0d;
  padding: 24px 28px 20px;
  position: relative;
}
.evidence-panel::before,
.evidence-panel::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid var(--acc-amber);
  opacity: 0.45;
  pointer-events: none;
}
.evidence-panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.evidence-panel::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.evidence-panel__header {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.evidence-panel__fig-label { color: var(--acc-amber); }

.evidence-panel__body { margin: 4px 0 12px; }

.evidence-panel__caption {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  border-top: 1px solid var(--c-rule-soft);
  padding-top: 12px;
  line-height: 1.55;
}
.evidence-panel__caption a {
  color: var(--acc-amber);
  text-decoration: none;
}
.evidence-panel__caption a:hover { color: var(--acc-amber-hi); text-decoration: underline; }

.external-index-panel {
  margin-top: 32px;
}

.external-index {
  display: grid;
  gap: 12px;
}

.external-index__row {
  display: grid;
  grid-template-columns: minmax(84px, 104px) 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-rule-soft);
}

.external-index__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.external-index__label {
  color: var(--ink-3);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.external-index__value {
  min-width: 0;
}

.external-index__value > a {
  color: var(--ink-0);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  line-height: 1.45;
}

.external-index__value > a:hover {
  color: var(--acc-amber-hi);
  border-bottom-color: var(--acc-amber);
}

.external-index__meta {
  margin-top: 5px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.5;
}

.external-index__meta a {
  color: var(--acc-amber);
  text-decoration: none;
}

.external-index__meta a:hover {
  color: var(--acc-amber-hi);
  text-decoration: underline;
}

.external-index--empty p {
  margin: 0;
  color: var(--ink-2);
}

/* ─── §51 — OpenAI-generated source image surfaces ──────────────
   Photographic plates land beneath / inside structural CSS chrome so the
   editorial register stays visible even if an image fails to load. All
   selectors degrade gracefully: missing file → CSS-only fallback. */

/* §51.1 Cover-plate hero band: photo ground layered under the existing weave. */
.cover-plate {
  background:
    linear-gradient(180deg, rgba(8,9,10,0.55) 0%, rgba(8,9,10,0.92) 90%),
    url('/static/generated/openai-source/home/fig-00-cover-plate.webp') center / cover no-repeat,
    #0a0b0d;
}
/* Keep the diagonal weave but lighten so the photo reads through. */
.cover-plate__weave { opacity: 0.45; mix-blend-mode: overlay; }
.cover-plate__inner { position: relative; z-index: 3; }
.cover-plate__inner::before {
  /* darken a small disc behind the caption text so it stays legible */
  content: "";
  position: absolute;
  inset: -28px -56px;
  background: radial-gradient(ellipse at center, rgba(8,9,10,0.85) 0%, rgba(8,9,10,0.0) 75%);
  z-index: -1;
}

/* §51.2 Dual-doors metabolism door: thermographic plate as ghost ground. */
.dual-doors__door--metab {
  position: relative;
  background-color: #0a0b0d;
  background-image:
    linear-gradient(180deg, rgba(10,11,13,0.86) 0%, rgba(10,11,13,0.92) 100%),
    url('/static/generated/openai-source/home/dual-doors-metabolism-ground.webp');
  background-size: auto, cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: normal, normal;
}
.dual-doors__door--metab > * { position: relative; z-index: 1; }

/* §51.3 Essay sigil — sits at top of the abstract column on guide pages. */







/* §51.4 Exhibit poster plate — full-bleed strip above the page-intro. */
.exhibit-poster-plate-wrap {
  position: relative;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--c-rule);
  background: #050607;
  overflow: hidden;
}
.exhibit-poster-plate {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.04) brightness(0.92);
}
.exhibit-poster-plate__caption {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 9px;
  color: var(--ink-3);
  letter-spacing: 0.22em;
  background: rgba(8,9,10,0.65);
  padding: 4px 8px;
  border: 1px solid var(--c-rule);
}

/* §51.5 Person portrait plate — sits inside dossier-rail. */

.person-portrait-plate {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 6px auto 8px;
  border: 1px solid var(--c-rule);
  background: #0a0b0d;
  filter: contrast(1.05);
}
.person-portrait-plate__caption {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  color: var(--ink-3);
  letter-spacing: 0.22em;
}

/* §51.6 Work edition plate — landscape strip above the page-intro. */
.work-edition-plate-wrap {
  position: relative;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--c-rule);
  background: #050607;
  overflow: hidden;
}
.work-edition-plate {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.05) brightness(0.94);
}
.work-edition-plate__caption {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 9px;
  color: var(--ink-3);
  letter-spacing: 0.22em;
  background: rgba(8,9,10,0.65);
  padding: 4px 8px;
  border: 1px solid var(--c-rule);
}

/* §51.7 Evidence-panel xerox texture — overlay behind the SVG body.
   Only renders when the file exists; otherwise the CSS resolves to no
   image. The screen blend keeps the SVG ink readable. */
.evidence-panel__body {
  position: relative;
  isolation: isolate;
}
.evidence-panel__body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/static/generated/openai-source/evidence/evidence-panel-xerox-texture.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.10;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}
.evidence-panel__body > * { position: relative; z-index: 1; }

/* §51.8 Mobile guards for the new plates */
@media (max-width: 900px) {
  .essay-sigil { margin: 0 -12px 16px; padding: 14px 14px 10px; }
  .exhibit-poster-plate { max-height: 320px; }
  .work-edition-plate   { max-height: 240px; }
}
  .exhibit-poster-plate { max-height: 320px; }
  .work-edition-plate   { max-height: 240px; }
}

/* §52 Best-of-both-worlds merge: restore Review4 catalog atlas gates.
   These overrides deliberately sit late in the file so Phase 5F visual
   work stays intact while catalog/index pages stop regressing into
   dark empty rectangles or orphaned card rows. */
.catalog-band__ribbon { display: none !important; }

.catalog-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.catalog-band__action,
.catalog-band__action.utility-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(198, 138, 42, 0.42);
  background:
    linear-gradient(135deg, rgba(198, 138, 42, 0.13), rgba(8, 9, 10, 0.82)),
    rgba(12, 13, 15, 0.88);
  color: var(--acc-amber);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 0 1px rgba(216, 214, 207, 0.035);
}

.catalog-band__action:hover,
.catalog-band__action:focus-visible {
  border-color: rgba(228, 164, 58, 0.82);
  color: var(--ink-1);
  background:
    linear-gradient(135deg, rgba(198, 138, 42, 0.24), rgba(20, 22, 25, 0.92)),
    rgba(20, 22, 25, 0.95);
  box-shadow:
    0 0 0 1px rgba(228, 164, 58, 0.18),
    0 0 22px rgba(198, 138, 42, 0.16);
}

.catalog-band__visual {
  position: relative;
  min-height: clamp(260px, 34vw, 420px);
  background-color: var(--c-graphite);
  background-blend-mode: normal;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0.9) contrast(1.12) brightness(1.12);
  border-left: 1px solid var(--c-rule-soft);
  background-image:
    linear-gradient(90deg, rgba(8, 9, 10, 0.08), rgba(8, 9, 10, 0.54)),
    linear-gradient(rgba(8, 8, 7, 0.12), rgba(8, 8, 7, 0.12)),
    url('/static/generated/heroes/home/home.webp');
}

.catalog-band--section-index .catalog-band__visual {
  background-image:
    linear-gradient(90deg, rgba(8, 9, 10, 0.06), rgba(8, 9, 10, 0.5)),
    linear-gradient(rgba(8, 8, 7, 0.08), rgba(8, 8, 7, 0.08)),
    url('/static/generated/heroes/home/home.webp');
}

.catalog-band--guide-index .catalog-band__visual {
  background-image:
    linear-gradient(90deg, rgba(8, 9, 10, 0.08), rgba(8, 9, 10, 0.54)),
    linear-gradient(rgba(8, 8, 7, 0.12), rgba(8, 8, 7, 0.12)),
    url('/static/generated/heroes/sections/theory-fiction-and-cyberstyle.webp');
}

.catalog-band--works .catalog-band__visual {
  background-image:
    linear-gradient(90deg, rgba(8, 9, 10, 0.08), rgba(8, 9, 10, 0.54)),
    linear-gradient(rgba(8, 8, 7, 0.12), rgba(8, 8, 7, 0.12)),
    url('/static/generated/heroes/sections/warwick-and-formation.webp');
}

body[data-path^="/people"] .catalog-band--index .catalog-band__visual {
  background-image:
    linear-gradient(90deg, rgba(8, 9, 10, 0.08), rgba(8, 9, 10, 0.54)),
    linear-gradient(rgba(8, 8, 7, 0.12), rgba(8, 8, 7, 0.12)),
    url('/static/generated/heroes/people/nick-land.webp');
}

body[data-path^="/concepts"] .catalog-band--index .catalog-band__visual {
  background-image:
    linear-gradient(90deg, rgba(8, 9, 10, 0.08), rgba(8, 9, 10, 0.54)),
    linear-gradient(rgba(8, 8, 7, 0.12), rgba(8, 8, 7, 0.12)),
    url('/static/generated/heroes/concepts/hyperstition.webp');
}

body[data-path^="/exhibits"] .catalog-band--index .catalog-band__visual {
  background-image:
    linear-gradient(90deg, rgba(8, 9, 10, 0.08), rgba(8, 9, 10, 0.54)),
    linear-gradient(rgba(8, 8, 7, 0.12), rgba(8, 8, 7, 0.12)),
    url('/static/generated/heroes/sections/hyperstition-and-fiction-making.webp');
}

body[data-path^="/reading-paths"] .catalog-band--index .catalog-band__visual {
  background-image:
    linear-gradient(90deg, rgba(8, 9, 10, 0.08), rgba(8, 9, 10, 0.54)),
    linear-gradient(rgba(8, 8, 7, 0.12), rgba(8, 8, 7, 0.12)),
    url('/static/generated/heroes/sections/accelerationism-branches-and-debates.webp');
}

body[data-path^="/collections"] .catalog-band--index .catalog-band__visual {
  background-image:
    linear-gradient(90deg, rgba(8, 9, 10, 0.08), rgba(8, 9, 10, 0.54)),
    linear-gradient(rgba(8, 8, 7, 0.12), rgba(8, 8, 7, 0.12)),
    url('/static/generated/heroes/sections/capital-meltdown-and-cybernetic-modernity.webp');
}

.catalog-band__grid {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
}

.catalog-band__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 18%, rgba(198, 138, 42, 0.12), transparent 28%),
    radial-gradient(circle at 78% 62%, rgba(142, 168, 41, 0.08), transparent 32%),
    linear-gradient(90deg, rgba(8, 9, 10, 0.7), transparent 28%, transparent 72%, rgba(8, 9, 10, 0.78)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.026) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
  opacity: 0.72;
}

.catalog-band__atlas {
  position: absolute;
  inset: 28px 36px;
  pointer-events: none;
  background:
    linear-gradient(26deg, transparent 0 22%, rgba(198, 138, 42, 0.34) 22.3% 22.7%, transparent 23% 43%, rgba(142, 168, 41, 0.22) 43.3% 43.7%, transparent 44% 100%),
    linear-gradient(154deg, transparent 0 36%, rgba(198, 138, 42, 0.24) 36.2% 36.55%, transparent 37% 66%, rgba(216, 214, 207, 0.12) 66.2% 66.5%, transparent 67% 100%);
}

.catalog-band__trace {
  position: absolute;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(228, 164, 58, 0), rgba(228, 164, 58, 0.76), rgba(142, 168, 41, 0.48));
  box-shadow: 0 0 22px rgba(198, 138, 42, 0.22);
}

.catalog-band__trace--a { left: 16%; top: 69%; width: 42%; transform: rotate(-31deg); }
.catalog-band__trace--b { left: 35%; top: 41%; width: 44%; transform: rotate(18deg); }
.catalog-band__trace--c {
  left: 54%;
  top: 59%;
  width: 36%;
  transform: rotate(-24deg);
  background: linear-gradient(90deg, rgba(142, 168, 41, 0), rgba(142, 168, 41, 0.62), rgba(216, 214, 207, 0.32));
}

.catalog-band__node {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(228, 164, 58, 0.9);
  border-radius: 50%;
  background: rgba(228, 164, 58, 0.5);
  box-shadow: 0 0 0 6px rgba(198, 138, 42, 0.1), 0 0 28px rgba(228, 164, 58, 0.38);
  z-index: 2;
}

.catalog-band__node--a { left: 15%; top: 68%; }
.catalog-band__node--b { left: 34%; top: 40%; }
.catalog-band__node--c { left: 54%; top: 58%; }
.catalog-band__node--d { left: 72%; top: 24%; }
.catalog-band__node--e {
  left: 86%;
  top: 45%;
  background: rgba(142, 168, 41, 0.42);
  border-color: rgba(142, 168, 41, 0.86);
}

.catalog-band__label {
  position: absolute;
  z-index: 3;
  padding: 5px 8px;
  border: 1px solid rgba(198, 138, 42, 0.32);
  background: rgba(8, 9, 10, 0.74);
  color: rgba(235, 232, 224, 0.86);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.catalog-band__label--a { left: 9%; top: 73%; }
.catalog-band__label--b { left: 28%; top: 29%; }
.catalog-band__label--c { right: 11%; top: 18%; }
.catalog-band__label--d { right: 5%; bottom: 27%; }
.catalog-band__label--e {
  left: 52%;
  bottom: 13%;
  color: rgba(188, 222, 69, 0.86);
  border-color: rgba(142, 168, 41, 0.46);
}

.section-band {
  padding: 48px 56px;
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 93% 22%, rgba(142, 168, 41, 0.055), transparent 24%),
    linear-gradient(90deg, rgba(198, 138, 42, 0.035), transparent 18%, transparent 82%, rgba(142, 168, 41, 0.04)),
    var(--c-void);
  border-bottom: 1px solid var(--c-rule);
}

.section-heading .section-band__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--acc-amber);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
}

.section-band__glyph {
  width: 13px;
  height: 13px;
  display: inline-block;
  border: 1px solid rgba(142, 168, 41, 0.82);
  box-shadow: 0 0 0 5px rgba(142, 168, 41, 0.08), 0 0 18px rgba(142, 168, 41, 0.22);
  transform: rotate(45deg);
}

.section-index-nav {
  position: sticky;
  top: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 14px 56px;
  border-bottom: 1px solid var(--c-rule);
  background: linear-gradient(90deg, rgba(8, 9, 10, 0.96), rgba(20, 22, 25, 0.94)), var(--c-carbon);
  backdrop-filter: blur(12px);
}

.section-index-nav__label {
  color: var(--acc-amber);
  font-size: 12px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.section-index-nav__links {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.section-index-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(216, 214, 207, 0.13);
  color: var(--ink-2);
  background: rgba(12, 13, 15, 0.7);
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}

.section-index-nav a span {
  color: var(--acc-green);
  letter-spacing: 0.12em;
}

.section-index-nav a:hover,
.section-index-nav a:focus-visible {
  color: var(--ink-1);
  border-color: rgba(142, 168, 41, 0.55);
  box-shadow: 0 0 18px rgba(142, 168, 41, 0.12);
}

.section-card-grid { align-items: stretch; }

@media (min-width: 980px) {
  .section-card-grid--count-5 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    background: transparent;
    gap: 1px;
  }

  .section-card-grid--count-5 > .section-directory-card {
    flex: 0 1 calc((100% - 2px) / 3);
  }

  .section-card-grid--count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section-index-nav {
    grid-template-columns: 1fr;
    padding: 12px 24px;
  }
  .section-band { padding: 36px 24px; }
  .catalog-band__label { font-size: 10px; }
}

/* §53 Guide compression + source moments restored from the previous-good
   editorial pass. */
.guide-summary-band {
  background:
    linear-gradient(90deg, rgba(198, 138, 42, 0.1), transparent 42%),
    #101215;
  border-left: 3px solid var(--acc-amber);
}

.guide-summary-band__answer {
  margin: 0 0 20px;
  max-width: 68ch;
  color: var(--ink-1);
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
}

.guide-summary-band__list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--c-rule);
  border: 1px solid var(--c-rule);
}

.guide-summary-band__item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 20px;
  background: var(--c-graphite);
}

.guide-summary-band__item strong {
  display: block;
  color: var(--ink-1);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.25;
}

.guide-summary-band__item p {
  margin: 8px 0 0;
  color: var(--ink-2);
}

.guide-summary-band__num {
  color: var(--acc-amber);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.guide-summary-band__source {
  margin-top: 12px !important;
  color: var(--ink-3) !important;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-summary-band__source a {
  color: var(--ink-2);
}

.guide-source-moments {
  background:
    linear-gradient(90deg, rgba(198, 138, 42, 0.08), transparent 34%),
    var(--c-graphite);
}

.source-moment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--c-rule);
  margin-top: 22px;
  align-items: stretch;
}

.source-moment-card {
  position: relative;
  padding: 24px 26px 22px;
  background: #0a0b0d;
  border-left: 2px solid rgba(198, 138, 42, 0.7);
}

.source-moment-card--inline {
  margin: 30px 0;
  border: 1px solid var(--c-rule);
  border-left: 2px solid var(--acc-amber);
}

.source-moment-card__header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.source-moment-card__role {
  margin: 0;
  color: var(--acc-amber);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.source-moment-card__source {
  margin: 0;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.55;
  text-align: right;
}

.source-moment-card__source a {
  color: var(--ink-2);
  text-decoration: none;
}

.source-moment-card__source a:hover {
  color: var(--acc-amber-hi);
  text-decoration: underline;
}

.source-moment-card__quote {
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 1px solid rgba(198, 138, 42, 0.58);
}

.source-moment-card__quote p {
  margin: 0;
  max-width: 70ch;
  color: var(--ink-1);
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  font-style: italic;
}

.source-moment-card__commentary {
  margin: 18px 0 0;
  color: var(--ink-2);
}

.source-moment-card__rights {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--c-rule-soft);
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.editor-profile {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.editor-profile__portrait {
  margin: 0;
  border: 1px solid rgba(198, 138, 42, 0.42);
  background: rgba(12, 13, 15, 0.86);
  padding: 10px;
}

.editor-profile__portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.editor-profile__portrait figcaption {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.longform-mode {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}

.longform-identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
  gap: clamp(22px, 4vw, 54px);
  align-items: end;
  padding-bottom: clamp(18px, 3vw, 30px);
  border-bottom: 1px solid rgba(198, 138, 42, 0.2);
}

.longform-identity__copy {
  max-width: 72ch;
}

.longform-identity h1 {
  margin: 0;
  color: var(--ink-1);
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.longform-identity__lede {
  margin: clamp(18px, 3vw, 28px) 0 0;
  max-width: 68ch;
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.42;
}

.longform-identity__bridge {
  max-width: 68ch;
  color: var(--ink-3);
}

.longform-identity__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 22px 0 0;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.longform-identity__meta div {
  display: flex;
  gap: 8px;
}

.longform-identity__meta dt {
  color: var(--ink-4);
}

.longform-identity__meta dd {
  margin: 0;
  color: var(--ink-2);
}

.longform-identity__media > * {
  max-height: 260px;
  overflow: hidden;
}

.longform-contents {
  border: 1px solid rgba(198, 138, 42, 0.16);
  background: rgba(13, 15, 17, 0.62);
  padding: 14px 16px;
}

.longform-contents ol {
  columns: 2;
  column-gap: 28px;
  margin: 8px 0 0;
  padding-left: 20px;
}

.longform-contents a {
  color: var(--ink-2);
}

.longform-mode + .longform-mode {
  margin-top: clamp(34px, 5vw, 68px);
  padding-top: clamp(24px, 4vw, 42px);
  border-top: 1px solid rgba(198, 138, 42, 0.24);
}

.longform-mode__title {
  margin: 0;
  color: var(--ink-1);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
}

.longform-mode--evidence,
.longform-mode--navigation {
  background:
    linear-gradient(90deg, rgba(198, 138, 42, 0.075), transparent 38%),
    rgba(14, 16, 18, 0.42);
  border: 1px solid rgba(198, 138, 42, 0.12);
  padding: clamp(18px, 3vw, 30px);
}

.longform-evidence-disclosure {
  border: 1px solid rgba(198, 138, 42, 0.22);
  background:
    linear-gradient(135deg, rgba(198, 138, 42, 0.09), transparent 34%),
    rgba(5, 7, 8, 0.42);
}

.longform-evidence-disclosure > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  cursor: pointer;
  color: var(--ink-1);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.longform-evidence-disclosure > summary::marker {
  color: var(--gold);
}

.longform-evidence-disclosure > summary small {
  color: var(--ink-3);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.longform-evidence-disclosure__body {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  padding: 0 16px 16px;
}

@media (max-width: 720px) {
  .longform-identity {
    grid-template-columns: 1fr;
  }

  .longform-contents ol {
    columns: 1;
  }

  .editor-profile {
    grid-template-columns: 1fr;
  }
}
