
:root {
  --font-sans: Arial, Helvetica, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ink: #10100f;
  --paper: #f2eee4;
  --cream: #e6dfd0;
  --white: #fbfaf6;
  --red: #ef493b;
  --red-dark: #cc3026;
  --muted: #746f66;
  --line: rgba(16, 16, 15, .16);
  --shell: min(1240px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans), Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.kicker { margin: 0 0 22px; font: 650 11px/1.2 var(--font-mono), monospace; letter-spacing: .16em; text-transform: uppercase; }
.kicker.light { color: rgba(242, 238, 228, .64); }
.section { padding: 130px 0; }
.section-head { margin-bottom: 68px; }
.split-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 8vw; align-items: end; }
.split-head h2, .manifesto h2, .run-header h2, .ingest-section > .shell > h2 { margin: 0; font-size: clamp(44px, 5.3vw, 78px); line-height: .95; letter-spacing: -.06em; font-weight: 720; }
.split-head > p, .section-head > p { max-width: 520px; margin: 0 0 4px; font-size: 17px; line-height: 1.65; color: var(--muted); }
em { font-family: Georgia, serif; font-weight: 400; }

/* Header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--paper); border-bottom: 1px solid rgba(242,238,228,.18); }
.nav-shell { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; letter-spacing: -.03em; }
.brand strong { color: var(--red); }
.provenance-mark { width: 24px; height: 34px; object-fit: contain; }
.site-header nav { display: flex; align-items: center; height: 100%; gap: 34px; font-size: 13px; font-weight: 600; }
.site-header nav a { display: inline-flex; align-items: center; height: 100%; transition: color .2s ease; }
.site-header nav a:hover { color: var(--red); }
.site-header .nav-project { border-left: 1px solid rgba(242,238,228,.18); padding-left: 34px; gap: 8px; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { min-height: 52px; display: inline-flex; justify-content: center; align-items: center; gap: 26px; padding: 0 22px; border: 1px solid currentColor; font-size: 13px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button span { transition: transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:hover span { transform: translate(3px, -3px); }
.button.primary { background: var(--red); border-color: var(--red); color: #111; }
.button.primary:hover { background: #ff5c4e; }
.button.inverse { color: var(--paper); border-color: rgba(242,238,228,.45); }
.button.inverse:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.text-action {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 0 0 0 16px; border: 1px solid var(--ink); background: transparent;
  font-size: 14px; font-weight: 720; transition: background .18s ease, color .18s ease;
}
.text-action > span, .text-action > b {
  min-width: 42px; align-self: stretch; display: grid; place-items: center; border-left: 1px solid currentColor;
  font-weight: inherit; transition: color .18s ease;
}
.text-action:hover { background: var(--ink); color: var(--paper); }
.text-action:hover > span, .text-action:hover > b { color: var(--red); }
.section-action { display: flex; gap: 12px; align-items: center; margin-top: 44px; }

/* Home hero */
.hero-shell { position: relative; overflow: hidden; min-height: 900px; padding: 170px 0 0; background: var(--ink); color: var(--paper); }
.hero-shell::before { content: ""; position: absolute; width: 680px; height: 680px; left: -230px; bottom: -350px; border: 1px solid rgba(239,73,59,.3); border-radius: 50%; box-shadow: 0 0 0 80px rgba(239,73,59,.025), 0 0 0 160px rgba(239,73,59,.018); }
.hero-grain { position: absolute; inset: 0; opacity: .035; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-grid { min-height: 640px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr); gap: 7vw; align-items: center; position: relative; z-index: 1; }
.hero-copy { padding: 30px 0 72px; }
.hero-copy h1 { max-width: 900px; margin: 0; font-size: clamp(62px, 7.7vw, 118px); line-height: .86; letter-spacing: -.075em; font-weight: 760; }
.hero-lede { max-width: 720px; margin: 40px 0 0; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.55; color: rgba(242,238,228,.74); letter-spacing: -.018em; }
.hero-community-actions .button { flex: 1 1 190px; }
.hero-object { width: 100%; min-height: 472px; padding: 46px 36px 32px; align-self: end; background: var(--red); color: var(--ink); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.hero-object::after { content: ""; position: absolute; width: 390px; height: 390px; right: -210px; top: -150px; border: 1px solid rgba(16,16,15,.22); border-radius: 50%; box-shadow: 0 0 0 55px rgba(16,16,15,.035), 0 0 0 110px rgba(16,16,15,.025); }
.hero-object .provenance-mark { width: 48px; height: 68px; filter: brightness(0); opacity: .85; }
.hero-object p { margin: auto 0 5px; font: 600 13px/1 var(--font-mono), monospace; letter-spacing: .12em; }
.hero-object strong { font-size: clamp(62px, 6vw, 88px); line-height: .78; letter-spacing: -.075em; }
.hero-object > span { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(16,16,15,.3); font: 700 12px/1 var(--font-mono), monospace; }
.hero-rule { height: 86px; border-top: 1px solid rgba(242,238,228,.18); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: rgba(242,238,228,.5); font: 600 10px/1 var(--font-mono), monospace; letter-spacing: .13em; }
.hero-rule span:last-child { text-align: right; }

/* Corpus pulse */
.corpus-intro { background: var(--paper); }
.corpus-pulse { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); display: grid; grid-template-columns: .8fr 1.2fr; }
.corpus-total { padding: 42px 44px 48px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.corpus-total > span, .corpus-total small { font: 600 10px/1.4 var(--font-mono), monospace; letter-spacing: .1em; text-transform: uppercase; }
.corpus-total strong { margin: 30px 0 18px; font-size: clamp(76px, 10vw, 146px); line-height: .75; letter-spacing: -.085em; }
.corpus-total strong em { margin-left: .12em; color: var(--red); font-family: inherit; font-size: .42em; font-style: normal; letter-spacing: -.04em; }
.corpus-total small { color: var(--muted); }
.branch-map { padding: 36px 0 36px 44px; display: flex; flex-direction: column; justify-content: center; gap: 19px; }
.branch > div { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font: 650 11px/1 var(--font-mono), monospace; }
.branch > div b { color: var(--muted); font-weight: 500; }
.branch i { display: block; width: 100%; height: 11px; background: rgba(16,16,15,.08); position: relative; }
.branch i::after { content: ""; display: block; width: var(--branch-width); height: 100%; background: var(--ink); }
.branch-rank-2 i::after { background: var(--red); }
.branch-rank-3 i::after { background: #9b9282; }
.branch-rank-4 i::after { background: #c9beaa; }
.branch-others i::after { min-width: 3px; background: #db725f; }
.corpus-meta { grid-column: 1 / -1; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.corpus-meta span { padding: 17px 18px; border-right: 1px solid var(--line); font: 560 10px/1.2 var(--font-mono), monospace; text-transform: uppercase; color: var(--muted); }
.corpus-meta span:first-child { padding-left: 0; }
.corpus-meta span:last-child { border: 0; text-align: right; padding-right: 0; }

/* Manifesto */
.manifesto { background: var(--red); padding: 150px 0; }
.manifesto-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 8vw; }
.manifesto-title { align-self: start; }
.manifesto-title .light { color: rgba(16,16,15,.55); }
.manifesto h2 { font-size: clamp(52px, 6.6vw, 98px); }
.manifesto h2 em { color: var(--paper); }
.manifesto-points article { display: grid; grid-template-columns: 42px 1fr; column-gap: 18px; padding: 34px 0; border-top: 1px solid rgba(16,16,15,.3); }
.manifesto-points article:last-child { border-bottom: 1px solid rgba(16,16,15,.3); }
.manifesto-points span { font: 650 11px var(--font-mono), monospace; }
.manifesto-points h3 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.manifesto-points p { grid-column: 2; max-width: 380px; margin: 10px 0 0; line-height: 1.55; }

/* doors */
.doors { background: var(--cream); }
.door-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 42px; }
.door-card { min-height: 570px; padding: 46px; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; transition: transform .25s ease; }
.door-card:hover { transform: translateY(-7px); }
.door-card.red-card { background: var(--red); color: var(--ink); }
.door-number { font: 600 10px var(--font-mono), monospace; letter-spacing: .12em; }
.door-card h2 { margin: auto 0 25px; font-size: clamp(48px, 5vw, 75px); line-height: .9; letter-spacing: -.065em; }
.door-card p { max-width: 480px; margin: 0; font-size: 16px; line-height: 1.6; color: rgba(242,238,228,.68); }
.red-card p { color: rgba(16,16,15,.7); }
.door-card b { margin-top: 40px; font-size: 13px; }

/* Interior hero */
.page-intro { padding: 185px 0 92px; min-height: 720px; background: var(--ink); color: var(--paper); display: flex; align-items: flex-end; }
.page-intro-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 8vw; align-items: end; }
.page-intro h1 { margin: 0; font-size: clamp(66px, 8vw, 116px); line-height: .84; letter-spacing: -.075em; font-weight: 750; }
.page-intro h1 em { color: var(--red); }
.page-intro-side { border-top: 1px solid rgba(242,238,228,.35); padding-top: 22px; }
.page-intro-side > span { display: block; margin-bottom: 55px; font: 600 10px var(--font-mono), monospace; letter-spacing: .14em; color: var(--red); }
.page-intro-side p { margin: 0; font-size: 18px; line-height: 1.6; color: rgba(242,238,228,.68); }
.page-intro-side .button { margin-top: 30px; }

/* Corpus page */
.metric-band { background: var(--red); }
.four-metrics { min-height: 160px; display: grid; grid-template-columns: repeat(4, 1fr); }
.four-metrics div { display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(16,16,15,.25); padding: 28px; }
.four-metrics div:first-child { padding-left: 0; }
.four-metrics div:last-child { border: 0; }
.four-metrics strong { font-size: clamp(38px, 4vw, 58px); line-height: 1; letter-spacing: -.06em; }
.four-metrics span { margin-top: 8px; font: 600 10px var(--font-mono), monospace; text-transform: uppercase; letter-spacing: .08em; }
.explorer-section { background: var(--paper); }
.explorer-wrap { border-top: 1px solid var(--ink); }
.explorer-toolbar { min-height: 88px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--ink); }
.explorer-toolbar label { flex: 1; display: flex; align-items: center; gap: 22px; }
.explorer-toolbar label span { font: 650 10px var(--font-mono), monospace; text-transform: uppercase; }
.explorer-toolbar input { flex: 1; max-width: 450px; border: 0; border-left: 1px solid var(--line); padding: 12px 20px; background: transparent; outline: 0; }
.explorer-toolbar input:focus { background: var(--white); }
.explorer-toolbar p { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 10px var(--font-mono), monospace; text-transform: uppercase; }
.live-dot, .snapshot-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2d9762; }
.snapshot-dot { background: #bd9a49; }
.explorer { min-height: 790px; display: grid; grid-template-columns: 1.15fr .85fr; border-bottom: 1px solid var(--ink); }
.tree-panel { padding: 32px 48px 48px 0; border-right: 1px solid var(--ink); }
.tree-branch { margin-bottom: 30px; }
.tree-branch h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font: 650 13px var(--font-mono), monospace; }
.tree-branch h2 span { color: var(--red); }
.tree-branch h2 b { margin-left: auto; color: var(--muted); font-size: 10px; }
.tree-branch button { width: 100%; min-height: 65px; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; position: relative; padding: 12px 12px 13px 30px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.tree-branch button:hover, .tree-branch button.active { background: var(--white); }
.tree-branch button.active::before { content: ""; position: absolute; left: 9px; width: 7px; height: 7px; background: var(--red); }
.tree-branch button span { display: flex; flex-direction: column; gap: 3px; }
.tree-branch button strong { font-size: 14px; letter-spacing: -.02em; }
.tree-branch button small { font: 500 9px var(--font-mono), monospace; color: var(--muted); }
.tree-branch button > b { font: 600 10px var(--font-mono), monospace; }
.tree-branch button > i { grid-column: 1 / -1; display: block; height: 2px; background: rgba(16,16,15,.08); }
.tree-branch button > i::after { content: ""; display: block; width: var(--share); min-width: 2px; height: 100%; background: var(--red); }
.corpus-detail { padding: 48px 0 48px 48px; position: sticky; top: 0; align-self: start; }
.detail-path { margin: 0 0 22px; font: 600 10px var(--font-mono), monospace; color: var(--red); }
.corpus-detail h2 { max-width: 520px; margin: 0; font-size: clamp(39px, 4.2vw, 63px); line-height: .95; letter-spacing: -.06em; }
.corpus-detail > p:not(.detail-path) { max-width: 500px; margin: 25px 0 30px; color: var(--muted); line-height: 1.6; }
.corpus-detail dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); }
.corpus-detail dl div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.corpus-detail dt, .license-list > span, .source-note > span { font: 600 9px var(--font-mono), monospace; text-transform: uppercase; color: var(--muted); }
.corpus-detail dd { margin: 6px 0 0; font-size: 19px; font-weight: 650; letter-spacing: -.03em; }
.license-list, .source-note { padding: 18px 0; border-bottom: 1px solid var(--line); }
.license-list b { display: inline-block; margin: 10px 7px 0 0; padding: 7px 9px; border: 1px solid var(--line); font: 550 9px var(--font-mono), monospace; }
.source-note p { margin: 8px 0 0; font-size: 13px; }
.corpus-detail .text-action { margin-top: 30px; }
.verify-section { background: var(--ink); color: var(--paper); }
.verify-section .split-head > p { color: rgba(242,238,228,.6); }
.verify-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(242,238,228,.35); border-bottom: 1px solid rgba(242,238,228,.35); }
.verify-grid article { min-height: 340px; padding: 34px; border-right: 1px solid rgba(242,238,228,.22); display: flex; flex-direction: column; }
.verify-grid article:last-child { border: 0; }
.verify-grid span { font: 600 10px var(--font-mono), monospace; color: var(--red); }
.verify-grid h3 { margin: auto 0 12px; font-size: 26px; }
.verify-grid p { margin: 0 0 25px; color: rgba(242,238,228,.62); line-height: 1.55; }
code { display: block; padding: 14px 15px; overflow-x: auto; background: rgba(16,16,15,.08); font: 500 11px/1.45 var(--font-mono), monospace; }
.verify-grid code, .run-section code { background: rgba(242,238,228,.08); color: var(--cream); }

/* Build page */
.start-section { background: var(--paper); }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.start-card { min-height: 610px; display: flex; flex-direction: column; padding: 42px; border: 1px solid var(--ink); }
.weights-card { background: var(--white); }
.card-label { display: flex; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--line); font: 600 10px var(--font-mono), monospace; }
.model-glyph { height: 170px; margin: 56px 0 34px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 10px; }
.model-glyph i { display: block; background: var(--ink); height: 34%; }
.model-glyph i:nth-child(2) { height: 58%; }.model-glyph i:nth-child(3) { height: 80%; background: var(--red); }.model-glyph i:nth-child(4) { height: 100%; }
.weight-stack { height: 170px; margin: 56px 0 34px; display: flex; flex-direction: column; justify-content: center; }
.weight-stack i { display: block; width: 78%; padding: 14px 16px; border: 1px solid var(--ink); background: var(--white); font: 600 10px var(--font-mono), monospace; font-style: normal; }
.weight-stack i:nth-child(2) { transform: translate(24px, -1px); background: var(--cream); }.weight-stack i:nth-child(3) { transform: translate(48px, -2px); background: var(--red); }
.start-card h3 { margin: auto 0 10px; font-size: 34px; letter-spacing: -.05em; }
.start-card p { min-height: 76px; margin: 0 0 26px; color: var(--muted); line-height: 1.55; }
.command-sequence {
  margin-top: auto; overflow: hidden; border: 1px solid rgba(244,241,232,.2);
  background: var(--ink); color: var(--paper);
}
.command-sequence::before {
  content: "●  ●  ●     " attr(data-terminal); min-height: 34px; display: flex; align-items: center;
  padding: 0 14px; border-bottom: 1px solid rgba(244,241,232,.16);
  color: rgba(244,241,232,.45); font: 400 8px/1 var(--font-mono); letter-spacing: .08em;
}
.command-sequence > div {
  min-height: 48px; display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center;
  padding: 0 14px; border-bottom: 1px solid rgba(244,241,232,.12);
}
.command-sequence > div:last-child { border-bottom: 0; }
.command-sequence span {
  color: var(--red); font: 400 8px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
}
.command-sequence code {
  min-width: 0; margin: 0; padding: 12px 0; overflow-wrap: anywhere;
  background: transparent; color: var(--paper); font-size: 9px;
}
.command-sequence code::before { content: "$ "; color: var(--red); }
.run-section { background: var(--ink); color: var(--paper); }
.run-header { margin-bottom: 70px; }
.run-rail { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(242,238,228,.32); }
.run-rail li { display: grid; grid-template-columns: 90px 1fr; min-height: 170px; border-bottom: 1px solid rgba(242,238,228,.22); }
.run-rail > li > span { padding: 32px 0; font: 600 11px var(--font-mono), monospace; color: var(--red); }
.run-rail li div { padding: 29px 0; display: grid; grid-template-columns: 110px .8fr 1.2fr; gap: 30px; align-items: start; }
.run-rail small { color: rgba(242,238,228,.45); font: 600 9px var(--font-mono), monospace; letter-spacing: .12em; }
.run-rail strong { font-size: 26px; letter-spacing: -.04em; }
.run-rail p { margin: 0; max-width: 500px; color: rgba(242,238,228,.58); line-height: 1.6; }
.evidence-section { background: var(--paper); }
.artifact-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.artifact-grid article { min-height: 310px; padding: 28px; border: 1px solid var(--ink); border-right: 0; display: flex; flex-direction: column; }
.artifact-grid article:last-child { border-right: 1px solid var(--ink); }
.artifact-grid span { font: 600 9px var(--font-mono), monospace; }
.artifact-grid h3 { margin: auto 0 13px; font-size: 23px; letter-spacing: -.04em; }
.artifact-grid p { margin: 0; color: var(--muted); line-height: 1.5; }
.artifact-grid .artifact-accent { background: var(--red); }
.artifact-grid .artifact-accent p { color: rgba(16,16,15,.65); }
.reality-section { background: var(--red); }
.reality-grid > div:first-child h2 { margin: 0; font-size: clamp(50px, 6.2vw, 90px); line-height: .9; letter-spacing: -.065em; }
.reality-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; margin: 80px 0 0; border-top: 1px solid rgba(16,16,15,.35); }
.reality-columns article { padding-top: 30px; }
.reality-columns h3 { font-size: 23px; }
.reality-columns ul { list-style: none; margin: 25px 0 0; padding: 0; }
.reality-columns li { padding: 15px 0 15px 22px; border-top: 1px solid rgba(16,16,15,.2); line-height: 1.45; position: relative; }
.reality-columns li::before { content: "•"; position: absolute; left: 0; }
.reality-section .button.inverse { color: var(--ink); border-color: rgba(16,16,15,.5); }
.reality-section .button.inverse:hover { background: var(--ink); color: var(--paper); }

/* Contribute */
.input-section { background: var(--paper); }
.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.input-grid article { min-height: 470px; padding: 38px; border: 1px solid var(--ink); display: flex; flex-direction: column; }
.input-grid article:last-child { background: var(--white); }
.input-grid span { font: 600 9px var(--font-mono), monospace; color: var(--red); }
.input-grid h3 { margin: auto 0 20px; font-size: clamp(34px, 3.6vw, 52px); line-height: .95; letter-spacing: -.055em; }
.input-grid p { min-height: 100px; margin: 0 0 25px; color: var(--muted); line-height: 1.6; }
.contribution-guide { background: var(--paper); scroll-margin-top: 84px; }
.contribution-flow { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.contribution-flow > li { display: grid; grid-template-columns: 58px minmax(260px, .85fr) minmax(320px, 1.15fr); gap: 34px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); }
.contribution-flow > li > span { padding-top: 6px; color: var(--red); font: 400 10px var(--font-mono); letter-spacing: .08em; }
.contribution-flow h3 { margin: 0 0 12px; font-size: clamp(25px, 2.3vw, 34px); line-height: 1.05; letter-spacing: -.035em; font-weight: 550; }
.contribution-flow p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.68; }
.flow-inline { font-family: var(--font-mono); font-size: .9em; }
.flow-note { min-height: 112px; padding: 20px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; background: var(--white); }
.flow-note b { color: var(--red); font: 400 9px var(--font-mono); letter-spacing: .08em; }
.flow-note strong { max-width: 480px; font-size: 17px; line-height: 1.35; font-weight: 500; }
.flow-commands { display: grid; gap: 8px; }
.flow-commands code { margin: 0; padding: 17px 18px; background: var(--ink); color: var(--paper); font-size: 11px; }
.contribution-guide > .shell > .section-action { display: flex; flex-wrap: wrap; gap: 12px; }
.ingest-section { background: var(--ink); color: var(--paper); }
.ingest-section > .shell > h2 { max-width: 850px; margin-bottom: 70px; }
.ingest-accountability { display: grid; grid-template-columns: 150px minmax(240px, .8fr) minmax(320px, 1.2fr); gap: 34px; align-items: start; margin: -20px 0 44px; padding: 25px; border: 1px solid var(--red); }
.ingest-accountability span { color: var(--red); font: 400 9px var(--font-mono); letter-spacing: .09em; }
.ingest-accountability strong { font-size: 20px; line-height: 1.35; font-weight: 500; }
.ingest-accountability p { margin: 0; color: rgba(242,238,228,.65); font-size: 14px; line-height: 1.65; }
.ingest-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.ingest-steps li { min-height: 300px; padding: 25px; border: 1px solid rgba(242,238,228,.28); border-right: 0; display: flex; flex-direction: column; }
.ingest-steps li:last-child { border-right: 1px solid rgba(242,238,228,.28); background: var(--red); color: var(--ink); }
.ingest-steps > li > span { font: 600 10px var(--font-mono), monospace; color: var(--red); }
.ingest-steps li:last-child > span { color: var(--ink); }
.ingest-steps li div { margin-top: auto; }
.ingest-steps h3 { margin: 0 0 10px; font-size: 25px; }
.ingest-steps p { margin: 0; color: rgba(242,238,228,.58); line-height: 1.5; font-size: 13px; }
.ingest-steps li:last-child p { color: rgba(16,16,15,.7); }
.truth-note { margin-top: 35px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-top: 25px; border-top: 1px solid rgba(242,238,228,.3); }
.truth-note strong { color: var(--red); font-size: 20px; }
.truth-note p { margin: 0; color: rgba(242,238,228,.58); }
.review-section { background: var(--white); }
.separation-grid { display: grid; grid-template-columns: 1fr 1fr; }
.separation-grid article { min-height: 510px; padding: 45px; border: 1px solid var(--ink); }
.lookaside-side { background: var(--cream); border-left: 0 !important; }
.separation-grid span { font: 600 9px var(--font-mono), monospace; color: var(--red); }
.separation-grid h3 { margin: 80px 0 36px; font-size: clamp(48px, 5vw, 72px); letter-spacing: -.06em; }
.separation-grid ul { list-style: none; margin: 0; padding: 0; }
.separation-grid li { padding: 13px 0; border-top: 1px solid var(--line); }
.dco-section { background: var(--cream); scroll-margin-top: 84px; }
.dco-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.dco-grid article { min-height: 330px; padding: 30px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.dco-grid article:first-child { padding-left: 0; }
.dco-grid article:last-child { padding-right: 0; border-right: 0; }
.dco-grid span { color: var(--red); font: 400 9px var(--font-mono); letter-spacing: .08em; }
.dco-grid h3 { margin: auto 0 14px; font-size: 27px; font-weight: 500; letter-spacing: -.03em; }
.dco-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.dco-grid code { display: inline; padding: 2px 5px; font-size: 11px; }
.dco-limit { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.dco-limit strong { color: var(--red); font-size: 20px; }
.dco-limit p { margin: 0; color: var(--muted); line-height: 1.65; }
.join-section { background: var(--red); }
.join-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 9vw; align-items: end; }
.join-grid h2 { margin: 0; font-size: clamp(56px, 7vw, 100px); line-height: .88; letter-spacing: -.07em; }
.join-grid > div:last-child > p { margin: 0; font-size: 20px; line-height: 1.6; }
.join-section .button.inverse { color: var(--ink); border-color: rgba(16,16,15,.45); }

/* Footer */
.site-footer { padding: 110px 0 34px; background: var(--ink); color: var(--paper); }
.footer-top { display: flex; justify-content: space-between; align-items: end; padding-bottom: 90px; }
.footer-top h2 { margin: 0; max-width: 800px; font-size: clamp(55px, 7vw, 100px); line-height: .9; letter-spacing: -.07em; }
.footer-bottom { min-height: 80px; padding-top: 26px; border-top: 1px solid rgba(242,238,228,.2); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; }
.footer-bottom > div { display: flex; gap: 24px; justify-content: center; font-size: 12px; }
.footer-bottom p { margin: 0; text-align: right; color: rgba(242,238,228,.45); font: 500 10px var(--font-mono), monospace; text-transform: uppercase; }
.footer-project-links { display: flex; flex-wrap: wrap; justify-content: flex-end !important; gap: 8px !important; }
.site-footer .footer-project-links a { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(244,241,232,.28); color: rgba(244,241,232,.72); }
.site-footer .footer-project-links svg { width: 14px; height: 14px; fill: currentColor; }
.site-footer .footer-project-links a:hover { border-color: var(--red); background: var(--red); color: var(--paper); }

/* Focus */
:focus-visible { outline: 3px solid #67b9ff; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 720px); }
  .section { padding: 92px 0; }
  .split-head, .manifesto-grid, .page-intro-grid, .join-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-shell { min-height: 0; padding-top: 150px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-object { min-height: 390px; width: min(430px, 100%); justify-self: end; }
  .corpus-pulse { grid-template-columns: 1fr; }
  .corpus-total { border-right: 0; border-bottom: 1px solid var(--line); }
  .branch-map { padding-left: 0; }
  .ingest-steps { grid-template-columns: 1fr; }
  .ingest-steps li { min-height: 150px; border-right: 0; border-bottom: 0; }
  .ingest-steps li:last-child { border: 1px solid var(--ink); }
  .door-grid, .start-grid, .input-grid, .separation-grid { grid-template-columns: 1fr; }
  .door-card { min-height: 500px; }
  .page-intro { min-height: 780px; }
  .page-intro-side > span { margin-bottom: 22px; }
  .four-metrics { grid-template-columns: 1fr 1fr; }
  .four-metrics div:nth-child(2) { border-right: 0; }.four-metrics div:nth-child(-n+2) { border-bottom: 1px solid rgba(16,16,15,.25); }.four-metrics div:nth-child(3) { padding-left: 0; }
  .explorer { grid-template-columns: 1fr; }
  .tree-panel { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  .corpus-detail { padding-left: 0; position: static; }
  .verify-grid, .artifact-grid { grid-template-columns: 1fr 1fr; }
  .verify-grid article { border-bottom: 1px solid rgba(242,238,228,.22); }.verify-grid article:nth-child(2) { border-right: 0; }.verify-grid article:last-child { border-right: 1px solid rgba(242,238,228,.22); }
  .artifact-grid article:nth-child(2) { border-right: 1px solid var(--ink); }.artifact-grid article:nth-child(n+3) { border-top: 0; }
  .run-rail li div { grid-template-columns: 90px 1fr; }.run-rail p { grid-column: 2; }
  .reality-columns { grid-template-columns: 1fr; gap: 24px; }
  .truth-note { grid-template-columns: 1fr; gap: 15px; }
  .lookaside-side { border-left: 1px solid var(--ink) !important; border-top: 0 !important; }
  .footer-top { align-items: start; flex-direction: column; gap: 42px; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 28px); }
  .site-header nav { gap: 15px; font-size: 11px; }.site-header .nav-project { display: none; }
  .brand { font-size: 14px; }.provenance-mark { width: 19px; height: 27px; }
  .hero-shell { padding-top: 120px; }.hero-copy h1 { font-size: clamp(57px, 17vw, 78px); }.hero-lede { font-size: 17px; }.hero-object { min-height: 330px; padding: 30px 25px; }.hero-object strong { font-size: 64px; }.hero-rule { grid-template-columns: 1fr 1fr; }.hero-rule span:nth-child(2) { display: none; }
  .actions, .section-action { align-items: stretch; flex-direction: column; }.button { width: 100%; justify-content: space-between; }
  .split-head h2, .manifesto h2, .run-header h2, .ingest-section > .shell > h2 { font-size: 47px; }
  .corpus-total { padding-right: 0; }.corpus-total strong { font-size: 88px; }.corpus-meta { grid-template-columns: 1fr 1fr; }.corpus-meta span { padding-left: 0; }.corpus-meta span:nth-child(2) { border-right: 0; }.corpus-meta span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.corpus-meta span:last-child { text-align: left; }
  .manifesto { padding: 92px 0; }.manifesto-points article { grid-template-columns: 32px 1fr; }
  .door-card { min-height: 460px; padding: 30px; }.door-card h2 { font-size: 49px; }
  .page-intro { min-height: 700px; padding: 145px 0 70px; }.page-intro h1 { font-size: 59px; }
  .four-metrics div { padding: 24px 12px; }.four-metrics strong { font-size: 37px; }
  .explorer-toolbar { align-items: stretch; flex-direction: column; padding: 18px 0; gap: 18px; }.explorer-toolbar label { flex-direction: column; align-items: start; gap: 8px; }.explorer-toolbar input { width: 100%; max-width: none; border: 1px solid var(--line); }.tree-branch button { padding-left: 22px; }.corpus-detail dl { grid-template-columns: 1fr 1fr; }
  .verify-grid, .artifact-grid { grid-template-columns: 1fr; }.verify-grid article, .verify-grid article:nth-child(2), .verify-grid article:last-child { min-height: 290px; border-right: 0; }.artifact-grid article, .artifact-grid article:nth-child(2), .artifact-grid article:last-child { min-height: 240px; border: 1px solid var(--ink); border-bottom: 0; }.artifact-grid article:last-child { border-bottom: 1px solid var(--ink); }
  .start-card, .input-grid article { min-height: 540px; padding: 28px; }.input-grid p { min-height: 0; }
  .run-rail li { grid-template-columns: 42px 1fr; }.run-rail li div { grid-template-columns: 1fr; gap: 10px; }.run-rail p { grid-column: 1; }
  .reality-grid > div:first-child h2, .join-grid h2 { font-size: 55px; }
  .ingest-steps li { min-height: 180px; }.separation-grid article { min-height: 450px; padding: 30px; }
  .footer-top { padding-bottom: 65px; }.footer-top h2 { font-size: 56px; }.footer-bottom { grid-template-columns: 1fr; gap: 28px; }.footer-bottom > div { justify-content: flex-start; flex-wrap: wrap; }.footer-bottom p { text-align: left; }.footer-project-links { justify-content: flex-start !important; }
}

/* --------------------------------------------------------------------------
   OpenWALDO field-record theme
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --font-sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --ink: #18211e;
  --paper: #f4f1e8;
  --cream: #e9e4d8;
  --white: #fbfaf6;
  --red: #d9634f;
  --cta: #e4573f;
  --red-dark: #bd3e2c;
  --muted: #616760;
  --line: rgba(24, 32, 29, .2);
  --shell: min(1180px, calc(100vw - 72px));
}

body { font-family: var(--font-sans); font-size: 16px; line-height: 1.55; }
em { font-family: inherit; font-style: normal; font-weight: inherit; color: var(--red); }
.section { padding: 104px 0; }
.kicker { margin-bottom: 18px; font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: .13em; }
.split-head { grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 9vw; }
.split-head h2, .manifesto h2, .run-header h2, .ingest-section > .shell > h2 {
  max-width: 720px; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -.04em; font-weight: 600;
}
.split-head > p, .section-head > p { font-size: 16px; line-height: 1.72; }

.site-header { position: absolute; color: var(--paper); border-color: rgba(244,241,232,.22); }
.nav-shell { height: 76px; }
.brand { gap: 10px; font-size: 23px; letter-spacing: -.015em; }
.brand strong { font-weight: 600; }
.provenance-mark { width: 22px; height: 31px; }
.site-header nav { gap: 26px; font-family: var(--font-mono); font-size: 13px; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; }
.site-header nav a { position: relative; }
.site-header nav a::after { content: ""; position: absolute; right: 0; bottom: 21px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.site-header nav a:hover::after, .site-header nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; }

.button { min-height: 46px; padding: 0 18px; gap: 22px; border-width: 1px; font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.button:hover { transform: translateY(-1px); }
.button.primary { border-color: var(--cta); background: var(--cta); color: var(--white); }
.text-action { font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }

.hero-shell { min-height: 780px; padding-top: 144px; background: var(--ink); }
.hero-shell::before {
  inset: 76px 0 0; width: auto; height: auto; border: 0; border-radius: 0; box-shadow: none;
  background-image: linear-gradient(rgba(244,241,232,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(244,241,232,.035) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-grain { display: none; }
.hero-grid { min-height: 560px; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr); gap: 9vw; }
.hero-copy { padding: 30px 0 54px; }
.hero-copy h1 { width: fit-content; max-width: 900px; margin: 0; line-height: 1; font-weight: 650; }
.hero-copy h1 > span, .hero-copy h1 > strong { display: block; }
.hero-copy .hero-principles { max-width: 760px; color: var(--paper); font-size: clamp(24px, 2.55vw, 34px); line-height: 1.28; letter-spacing: -.035em; text-align: center; }
.hero-copy .hero-principles b { color: var(--red); font-weight: 700; }
.hero-copy .hero-name { margin-top: .25em; color: var(--paper); font-size: clamp(72px, 9vw, 116px); line-height: .9; letter-spacing: -.06em; font-weight: 650; }
.hero-copy .hero-name b { color: var(--red); font-weight: 700; }
.hero-subtitle { max-width: 720px; margin: 30px 0 0; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; letter-spacing: -.025em; font-weight: 500; }
.hero-lede { max-width: 670px; margin-top: 22px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; letter-spacing: -.01em; }
.hero-object { min-height: 390px; align-self: center; padding: 30px; border: 1px solid rgba(244,241,232,.35); border-top: 5px solid var(--red); background: rgba(244,241,232,.035); color: var(--paper); }
.hero-object::after { content: "PROVENANCE / 001"; top: 30px; right: 30px; width: auto; height: auto; border: 0; border-radius: 0; box-shadow: none; font: 400 9px var(--font-mono); letter-spacing: .1em; color: rgba(244,241,232,.45); }
.hero-object .provenance-mark { width: 36px; height: 52px; filter: none; }
.hero-object p { margin-bottom: 10px; font-size: 21px; font-weight: 500; letter-spacing: .07em; }
.hero-object p b { color: var(--red); font-weight: 700; }
.hero-object strong { font-size: clamp(47px, 4.4vw, 62px); line-height: .88; letter-spacing: -.055em; font-weight: 600; color: var(--paper); }
.hero-object > span { font-weight: 400; }
.hero-rule { height: 68px; }

.corpus-pulse { border-color: var(--ink); }
.corpus-total { padding: 34px 38px 38px 0; }
.corpus-total strong { margin: 24px 0 16px; font-size: clamp(68px, 8vw, 108px); line-height: .82; letter-spacing: -.065em; font-weight: 600; }
.branch i { height: 7px; }
.corpus-meta span { font-weight: 400; }

.manifesto { padding: 112px 0; background: #23302b; color: var(--paper); }
.manifesto-title .light { color: rgba(244,241,232,.55); }
.manifesto h2 { max-width: 700px; font-size: clamp(43px, 5.2vw, 68px); }
.manifesto h2 em { color: var(--red); }
.manifesto-thesis { max-width: 590px; margin: 28px 0 0; color: var(--red); font-size: clamp(20px, 2vw, 27px); line-height: 1.35; letter-spacing: -.025em; font-weight: 500; }
.manifesto-points article { padding: 28px 0; border-color: rgba(244,241,232,.2); }
.manifesto-points article:last-child { border-color: rgba(244,241,232,.2); }
.manifesto-points h3 { font-size: 21px; font-weight: 500; letter-spacing: -.025em; }
.manifesto-points p { color: rgba(244,241,232,.62); }

.community-thesis { background: var(--paper); }
.community-thesis-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 9vw; align-items: end; margin-bottom: 58px; }
.community-thesis-head h2 { max-width: 720px; margin: 0; font-size: clamp(43px, 5.2vw, 68px); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.community-thesis-head > p { max-width: 540px; margin: 0 0 4px; color: var(--muted); font-size: 16px; line-height: 1.72; }
.community-thesis-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.community-thesis-grid article { min-height: 270px; padding: 27px 30px 28px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.community-thesis-grid article:first-child { padding-left: 0; }
.community-thesis-grid article:last-child { padding-right: 0; border-right: 0; }
.community-thesis-grid span { color: var(--red); font: 400 9px var(--font-mono); letter-spacing: .08em; }
.community-thesis-grid h3 { margin: 52px 0 14px; font-size: 22px; line-height: 1.08; letter-spacing: -.025em; font-weight: 500; }
.community-thesis-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.62; }

.doors { background: var(--cream); }
.door-grid { gap: 16px; }
.door-card { min-height: 470px; padding: 36px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
.door-card:hover { transform: translateY(-3px); }
.door-card.red-card { border-color: var(--red); background: var(--red); }
.door-card h2 { font-size: clamp(39px, 4vw, 53px); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.door-card p { color: var(--muted); }
.red-card p { color: rgba(24,32,29,.7); }
.door-card b { font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }

.page-intro { min-height: 560px; padding: 140px 0 64px; }
.page-intro h1 { max-width: 780px; font-size: clamp(52px, 6.4vw, 82px); line-height: .97; letter-spacing: -.05em; font-weight: 600; }
.page-intro-side { padding-top: 18px; }
.page-intro-side > span { margin-bottom: 38px; font-weight: 400; }
.page-intro-side p { font-size: 17px; line-height: 1.68; }
.compact-intro { min-height: 500px; }

.metric-band { background: var(--red); }
.four-metrics { min-height: 132px; }
.four-metrics strong { font-size: clamp(34px, 3.4vw, 48px); font-weight: 600; }
.four-metrics span { font-weight: 400; }

.accountability-section { background: var(--paper); }
.accountability-summary {
  margin: 0 0 58px; padding: 32px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  font-size: clamp(24px, 2.8vw, 38px); line-height: 1.38; letter-spacing: -.035em;
}
.accountability-summary strong { color: var(--red); font-weight: 600; white-space: nowrap; }
.accountability-chapter { border-top: 1px solid var(--line); }
.chapter-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 10vw; align-items: center; }
.reverse-grid .chapter-copy { order: 2; }
.chapter-copy > span { display: block; margin-bottom: 64px; color: var(--red); font: 400 10px var(--font-mono); letter-spacing: .08em; }
.chapter-copy .kicker { margin-bottom: 16px; }
.chapter-copy h2 { max-width: 700px; margin: 0 0 36px; font-size: clamp(43px, 5.2vw, 70px); line-height: .96; letter-spacing: -.05em; font-weight: 600; }
.chapter-copy > p:not(.kicker) { max-width: 640px; margin: 0 0 20px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.record-sheet { padding: 30px; border: 1px solid var(--ink); border-top: 5px solid var(--red); background: var(--white); }
.sheet-head { display: flex; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--ink); font: 400 9px var(--font-mono); letter-spacing: .06em; }
.sheet-head b { color: var(--red); font-weight: 400; }
.sheet-head b .live-dot { margin-right: 3px; }
.record-sheet dl { margin: 26px 0 0; }
.record-sheet dl div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.record-sheet dt { color: var(--muted); font: 400 9px var(--font-mono); text-transform: uppercase; }
.record-sheet dd { margin: 0; font-size: 15px; font-weight: 500; }
.record-sheet dd a { color: inherit; border-bottom: 1px solid var(--line); }
.record-sheet dd a:hover { color: var(--red); border-color: var(--red); }
.record-sheet > p { margin: 28px 0 0; color: var(--muted); font: 400 10px/1.6 var(--font-mono); }
.bom-sheet { position: relative; box-shadow: 14px 14px 0 var(--cream); }
.bom-sheet::after { content: "BOM"; position: absolute; right: 24px; bottom: 18px; color: rgba(228,87,63,.08); font-size: 72px; line-height: 1; font-weight: 700; pointer-events: none; }
.bom-sheet > p { position: relative; z-index: 1; max-width: 78%; }
.rights-section { background: var(--cream); }
.rights-ledger { border-top: 1px solid var(--ink); }
.rights-ledger > div { min-height: 145px; display: grid; grid-template-columns: 90px 1fr; gap: 8px 24px; align-content: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.rights-ledger span { grid-row: 1 / span 2; color: var(--red); font: 400 9px var(--font-mono); }
.rights-ledger strong { font-size: 20px; font-weight: 500; }
.rights-ledger p { margin: 0; color: var(--muted); font-size: 14px; }
.identity-section { background: var(--white); }
.identity-ledger { list-style: none; margin: 0; padding: 0; border: 1px solid var(--ink); }
.identity-ledger li { min-height: 108px; display: grid; grid-template-columns: 72px 1fr; border-bottom: 1px solid var(--line); }
.identity-ledger li:last-child { border-bottom: 0; }
.identity-ledger > li > span { display: grid; place-items: center; border-right: 1px solid var(--line); color: var(--red); font: 400 10px var(--font-mono); }
.identity-ledger li div { display: flex; flex-direction: column; justify-content: center; padding: 18px 24px; }
.identity-ledger small { color: var(--muted); font: 400 8px var(--font-mono); letter-spacing: .06em; }
.identity-ledger strong { margin-top: 8px; font-size: 18px; font-weight: 500; }
.governance-section { background: #23302b; color: var(--paper); }
.governance-section .chapter-copy > p:not(.kicker) { color: rgba(244,241,232,.65); }
.governance-ledger { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(244,241,232,.35); }
.governance-ledger > div { min-height: 390px; padding: 28px; display: flex; flex-direction: column; }
.governance-ledger > div:first-child { border-right: 1px solid rgba(244,241,232,.25); }
.governance-ledger span { color: var(--red); font: 400 9px var(--font-mono); letter-spacing: .06em; }
.governance-ledger ul { margin: auto 0 0; padding: 0; list-style: none; }
.governance-ledger li { padding: 13px 0; border-top: 1px solid rgba(244,241,232,.18); color: rgba(244,241,232,.72); font-size: 13px; }
.evidence-model-section { background: var(--red); color: var(--ink); }
.evidence-model-section .kicker.light { color: rgba(24,32,29,.55); }
.evidence-model-section .split-head > p { color: rgba(24,32,29,.68); }
.evidence-model-section h2 em { color: var(--paper); }
.evidence-model-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(24,32,29,.45); border-bottom: 1px solid rgba(24,32,29,.45); }
.evidence-model-grid article { min-height: 320px; padding: 30px; display: flex; flex-direction: column; border-right: 1px solid rgba(24,32,29,.3); }
.evidence-model-grid article:last-child { border-right: 0; }
.evidence-model-grid span { font: 400 10px var(--font-mono); }
.evidence-model-grid h3 { margin: auto 0 14px; font-size: 28px; font-weight: 500; }
.evidence-model-grid p { margin: 0; color: rgba(24,32,29,.7); line-height: 1.6; }
.accountability-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); }
.accountability-grid article { min-height: 310px; padding: 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.accountability-grid article:last-child { border-right: 0; }
.accountability-grid span { color: var(--red); font: 400 9px var(--font-mono); letter-spacing: .06em; }
.accountability-grid h3 { margin: auto 0 12px; font-size: 21px; line-height: 1.1; font-weight: 500; letter-spacing: -.025em; }
.accountability-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.evidence-key { display: grid; grid-template-columns: .72fr 1.28fr; gap: 8vw; margin-top: 26px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.evidence-key strong { font-size: 19px; font-weight: 500; }
.evidence-key p { margin: 0; color: var(--muted); line-height: 1.65; }

.explorer-wrap { border-color: var(--ink); }
.explorer-toolbar { min-height: 76px; }
.explorer-toolbar label span, .explorer-toolbar p { font-weight: 400; }
.explorer-toolbar input { font-size: 14px; }
.explorer { min-height: 730px; }
.tree-panel { padding-top: 26px; }
.tree-branch h2 { font-size: 11px; font-weight: 400; }
.tree-branch button { min-height: 60px; }
.tree-branch button strong { font-size: 13px; font-weight: 500; }
.tree-branch button > i { height: 1px; }
.tree-branch button > b { color: var(--red); font-size: 8px; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; }
.tree-branch button .tree-evidence { grid-column: 1 / -1; color: var(--muted); font: 400 8px var(--font-mono); letter-spacing: .025em; text-transform: uppercase; }
.corpus-detail h2 { font-size: clamp(34px, 3.5vw, 48px); line-height: 1.02; font-weight: 500; }
.corpus-detail dd { font-size: 17px; font-weight: 500; }
.record-heading { margin: 38px 0 12px; font: 400 10px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.evidence-status { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.evidence-status > div { min-height: 76px; padding: 15px 12px 15px 0; border-bottom: 1px solid var(--line); }
.evidence-status > div:nth-child(odd) { border-right: 1px solid var(--line); }
.evidence-status > div:nth-child(even) { padding-left: 16px; }
.evidence-status span { display: block; color: var(--muted); font: 400 8px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.evidence-status strong { display: block; margin-top: 8px; font-size: 13px; font-weight: 500; }
.evidence-present strong { color: #276b4a; }
.evidence-missing strong, .missing-copy { color: #8a6c2c; }
.source-note a { display: block; margin-top: 8px; color: var(--ink); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.source-note a:hover { color: var(--red); }
.source-note .more-sources, .license-list .missing-copy, .source-note .missing-copy { color: var(--muted); font: 400 11px/1.5 var(--font-mono); }
.record-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.record-links .text-action { margin-top: 0; }

.verify-grid article { min-height: 300px; }
.verify-grid h3 { font-size: 22px; font-weight: 500; }
code { font-size: 10px; }

.start-card { min-height: 540px; padding: 34px; }
.start-card h3 { font-size: 29px; font-weight: 500; }
.model-glyph, .weight-stack { height: 145px; margin: 44px 0 28px; }
.run-rail li { min-height: 145px; }
.run-rail strong { font-size: 22px; font-weight: 500; }
.artifact-grid article { min-height: 260px; }
.artifact-grid h3 { font-size: 19px; font-weight: 500; }
.reality-grid > div:first-child h2, .join-grid h2 { font-size: clamp(43px, 5.2vw, 68px); font-weight: 600; }

.input-grid article { min-height: 420px; padding: 34px; }
.input-grid h3 { font-size: clamp(29px, 3vw, 40px); font-weight: 500; }
.ingest-steps li { min-height: 250px; }
.ingest-steps h3 { font-size: 21px; font-weight: 500; }
.separation-grid article { min-height: 430px; padding: 38px; }
.separation-grid h3 { margin: 65px 0 28px; font-size: clamp(38px, 4vw, 54px); font-weight: 500; }

.prose-section { background: var(--paper); }
.prose-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); justify-content: space-between; gap: 9vw; }
.prose-layout aside { border-top: 1px solid var(--ink); padding-top: 22px; }
.aside-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.longform h2 { margin: 0 0 36px; font-size: clamp(36px, 4vw, 52px); line-height: 1.08; letter-spacing: -.04em; font-weight: 600; }
.longform h3 { margin: 54px 0 15px; font-size: 24px; font-weight: 500; }
.longform p { margin: 0 0 23px; color: #424943; font-size: 17px; line-height: 1.78; }
.longform blockquote { margin: 48px 0; padding: 26px 0 26px 28px; border-left: 3px solid var(--red); font-size: 23px; line-height: 1.5; }
.waldo-definition-section { padding-block: 96px; background: var(--ink); color: var(--paper); }
.waldo-definition-layout {
  display: grid; grid-template-columns: minmax(300px, .72fr) minmax(560px, 1.28fr);
  gap: clamp(72px, 9vw, 150px); align-items: start;
}
.waldo-definition-intro { max-width: 540px; padding-top: 8px; }
.waldo-definition-intro h2 {
  margin: 24px 0 0; font-size: clamp(40px, 4.1vw, 58px); line-height: 1.02;
  letter-spacing: -.045em; font-weight: 600;
}
.waldo-definition-intro h2 em { color: var(--red); }
.waldo-definition-intro > p:last-child {
  max-width: 470px; margin: 32px 0 0; padding-top: 24px;
  border-top: 1px solid rgba(244,241,232,.25); color: rgba(244,241,232,.64);
  font-size: 15px; line-height: 1.68;
}
.waldo-definition { border-top: 1px solid rgba(244,241,232,.34); }
.waldo-definition article {
  min-height: 116px; display: grid; grid-template-columns: 52px 150px minmax(0, 1fr);
  gap: 22px; align-items: center; border-bottom: 1px solid rgba(244,241,232,.2);
}
.waldo-letter {
  color: var(--red); font-size: 46px; line-height: .8; letter-spacing: -.055em; font-weight: 700;
}
.waldo-term { display: flex; flex-direction: column; gap: 6px; }
.waldo-term span {
  color: rgba(244,241,232,.42); font: 400 8px/1 var(--font-mono);
  letter-spacing: .1em; text-transform: uppercase;
}
.waldo-term h3 { margin: 0; color: var(--paper); font-size: 23px; line-height: 1; font-weight: 550; }
.waldo-definition p { margin: 0; color: rgba(244,241,232,.68); font-size: 13px; line-height: 1.6; }
.post-date, .post-row small, .posts-heading > span { font: 400 10px var(--font-mono); letter-spacing: .07em; color: var(--red); }
.invitation-section { background: #23302b; color: var(--paper); }
.invitation-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 9vw; align-items: end; }
.invitation-grid h2 { margin: 0; font-size: clamp(43px, 5.2vw, 68px); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.invitation-grid > div:last-child > p { margin: 0; color: rgba(244,241,232,.65); font-size: 18px; line-height: 1.65; }
.origin-section { background: var(--cream); }
.origin-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; align-items: start; }
.origin-grid h2 { margin: 22px 0 0; max-width: 650px; font-size: clamp(42px, 5vw, 68px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; }
.origin-grid h2 em { color: var(--red); }
.origin-story > p { margin: 0 0 28px; color: var(--muted); font-size: 17px; line-height: 1.72; }
.origin-quote { margin: 38px 0; }
.origin-story blockquote { margin: 0; padding: 8px 0 8px 26px; border-left: 3px solid var(--red); font-size: clamp(20px, 1.75vw, 25px); line-height: 1.5; letter-spacing: -.015em; }
.origin-quote figcaption { display: flex; align-items: center; gap: 14px; margin: 22px 0 0 29px; }
.origin-quote figcaption img { width: 66px; aspect-ratio: 1; object-fit: cover; border-top: 4px solid var(--red); filter: saturate(.82) contrast(1.03); }
.origin-quote figcaption span { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font: 400 9px var(--font-mono); letter-spacing: .07em; text-transform: uppercase; }
.origin-quote figcaption strong { color: var(--ink); font-weight: 400; }
.origin-person { display: flex; flex-direction: column; gap: 9px; }
.origin-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.origin-socials a { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); }
.origin-socials svg { width: 14px; height: 14px; fill: currentColor; }
.origin-socials a:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.origin-story .text-action { margin-top: 10px; }
.stewardship-section { background: var(--paper); }
.stewardship-content { text-align: center; }
.stewardship-content h2 { max-width: 1000px; margin: 22px auto 0; font-size: clamp(24px, 2.35vw, 34px); line-height: 1.3; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; }
.stewardship-content h2 em { color: var(--red); white-space: nowrap; }
.stewardship-content h2 span { white-space: nowrap; }
.stewardship-content > p:last-child { max-width: 800px; margin: 24px auto 0; color: var(--muted); font-size: 17px; line-height: 1.72; text-wrap: balance; }

/* 404 */
.not-found-page { background: var(--ink); }
.not-found {
  position: relative; min-height: 800px; padding: 150px 0 92px; overflow: hidden;
  display: flex; align-items: center; background-color: var(--ink); color: var(--paper);
  background-image: linear-gradient(rgba(244,241,232,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(244,241,232,.04) 1px, transparent 1px);
  background-size: 120px 120px;
}
.not-found::before {
  content: "404"; position: absolute; right: -30px; bottom: -115px; color: rgba(244,241,232,.025);
  font-size: 430px; line-height: .8; letter-spacing: -.09em; font-weight: 600; pointer-events: none;
}
.not-found-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 9vw; align-items: center; }
.not-found-copy h1 { max-width: 720px; margin: 0; font-size: clamp(62px, 7.2vw, 102px); line-height: .88; letter-spacing: -.065em; font-weight: 600; }
.not-found-copy h1 em { display: block; color: var(--red); }
.not-found-copy > p:not(.kicker) { max-width: 620px; margin: 38px 0 0; color: rgba(244,241,232,.68); font-size: 17px; line-height: 1.7; }
.not-found-record { min-height: 430px; padding: 34px; border: 1px solid rgba(244,241,232,.4); border-top: 7px solid var(--red); display: flex; flex-direction: column; }
.not-found-record > span { color: rgba(244,241,232,.48); font: 400 9px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.not-found-record > strong { margin: auto 0; font-size: clamp(62px, 6.2vw, 86px); line-height: .78; letter-spacing: -.065em; font-weight: 600; }
.not-found-record dl { margin: 0; border-top: 1px solid rgba(244,241,232,.2); }
.not-found-record dl div { display: grid; grid-template-columns: 92px 1fr; padding: 10px 0; border-bottom: 1px solid rgba(244,241,232,.12); }
.not-found-record dt, .not-found-record dd { margin: 0; font: 400 8px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.not-found-record dt { color: rgba(244,241,232,.4); }
.not-found-record dd { color: rgba(244,241,232,.76); }

.faq-section { background: var(--paper); }
.faq-section-alt { background: var(--cream); }
.faq-group { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 9vw; border-top: 1px solid var(--ink); }
.faq-group-label { padding-top: 28px; }
.faq-group-label span { color: var(--red); font: 400 10px var(--font-mono); }
.faq-group-label p { margin: 12px 0 0; font: 400 10px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.faq-list { border-left: 1px solid var(--line); }
.faq-item { scroll-margin-top: 110px; border-bottom: 1px solid var(--line); }
.faq-item summary { min-height: 112px; display: grid; grid-template-columns: 46px minmax(0, 1fr) 24px; gap: 18px; align-items: center; padding: 24px 0 24px 30px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span { color: var(--red); font: 400 9px var(--font-mono); }
.faq-item summary strong { font-size: clamp(20px, 2vw, 27px); line-height: 1.2; letter-spacing: -.025em; font-weight: 500; }
.faq-item summary b { position: relative; width: 18px; height: 18px; }
.faq-item summary b::before, .faq-item summary b::after { content: ""; position: absolute; top: 8px; left: 2px; width: 14px; height: 1px; background: var(--red); transition: transform .18s ease; }
.faq-item summary b::after { transform: rotate(90deg); }
.faq-item[open] summary b::after { transform: rotate(0); }
.faq-item summary:hover strong { color: var(--red); }
.faq-item summary:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.faq-answer { max-width: 760px; padding: 0 42px 34px 94px; }
.faq-answer p { margin: 0 0 16px; color: #424943; font-size: 16px; line-height: 1.75; }
.faq-answer p:last-child { margin-bottom: 0; }

.community-step { scroll-margin-top: 84px; }
.community-ways { padding-top: 78px; background: var(--cream); scroll-margin-top: 84px; }
.community-ways-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.community-ways-head h2 { max-width: 700px; margin: 0; font-size: clamp(46px, 5vw, 72px); line-height: .94; letter-spacing: -.055em; font-weight: 600; }
.community-options { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.community-options article { min-height: 390px; padding: 26px 28px 28px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.community-options article:first-child { padding-left: 0; }
.community-options article:last-child { padding-right: 0; border-right: 0; }
.community-options article > span { color: var(--red); font: 400 10px var(--font-mono); letter-spacing: .08em; }
.community-options h3 { margin: 74px 0 18px; font-size: clamp(25px, 2vw, 32px); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; }
.community-options p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.community-options .text-action { margin-top: auto; padding-top: 0; align-self: flex-start; font-size: 9px; }
.community-options .text-action b { font-weight: 400; }
.community-join { background: var(--paper); }
.community-corpus { background: var(--cream); }
.community-project { background: #23302b; color: var(--paper); }
.community-project .split-head > div:last-child > p { color: rgba(244,241,232,.65); }
.community-audiences, .community-roles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.community-audiences article, .community-roles article { min-height: 300px; padding: 28px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.community-audiences article:first-child, .community-roles article:first-child { padding-left: 0; }
.community-audiences article:last-child, .community-roles article:last-child { border-right: 0; }
.community-audiences span, .community-roles span, .community-paths > article > span { color: var(--red); font: 400 9px var(--font-mono); letter-spacing: .07em; }
.community-audiences h3, .community-roles h3 { margin: auto 0 14px; font-size: 23px; font-weight: 500; }
.community-audiences p, .community-roles p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.community-roles { border-color: rgba(244,241,232,.3); }
.community-roles article { border-color: rgba(244,241,232,.18); }
.community-roles p { color: rgba(244,241,232,.6); }
.community-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.community-paths article { min-height: 520px; padding: 36px; display: flex; flex-direction: column; border: 1px solid var(--ink); background: var(--paper); }
.community-paths h3 { max-width: 560px; margin: auto 0 22px; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.community-paths p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.community-paths .actions { margin-top: 34px; }
.paper-button { color: var(--ink); border-color: rgba(24,32,29,.45); }
.paper-button:hover { background: var(--ink); color: var(--paper); }
.spread-section { background: #a94f3d; color: var(--paper); }
.spread-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 9vw; align-items: end; }
.spread-grid h2 { margin: 0; font-size: clamp(48px, 6vw, 82px); line-height: .94; letter-spacing: -.055em; font-weight: 600; }
.spread-grid > div:last-child > p { margin: 0; font-size: 18px; line-height: 1.65; }
.dark-button { color: var(--paper); border-color: rgba(244,241,232,.55); background: transparent; cursor: pointer; }
.dark-button:hover { background: var(--paper); color: var(--ink); }
.share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-actions .button { width: 100%; justify-content: space-between; }
.share-actions .button[hidden] { display: none; }
.copy-status { min-height: 20px; margin-top: 14px !important; font: 400 9px var(--font-mono); text-transform: uppercase; }
.community-footer { align-items: end; gap: 60px; }
.footer-actions { max-width: 720px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.footer-actions .button { flex: 1 1 210px; }

.posts-section { min-height: 650px; }
.posts-heading { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.posts-heading .kicker { margin: 0; }
.posts-heading > span { color: var(--muted); }
.post-list { border-bottom: 1px solid var(--ink); }
.site-footer { padding-top: 88px; background: #111815; }
.footer-top { padding-bottom: 72px; }
.footer-top h2 { max-width: 700px; font-size: clamp(43px, 5.2vw, 68px); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.footer-bottom { min-height: 56px; grid-template-columns: .7fr 1.6fr .7fr; }
.footer-bottom > div { flex-wrap: wrap; gap: 10px 20px; font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; }
.footer-attribution { margin-top: 14px; padding-top: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 9px; color: rgba(244,241,232,.55); font: 400 9px/1.6 var(--font-mono); letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.footer-attribution a { color: var(--paper); }
.footer-attribution a:hover { color: var(--red); }

@media (max-width: 980px) {
  :root { --shell: min(100% - 40px, 760px); }
  .site-header nav { gap: 17px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-object { width: min(400px, 100%); min-height: 300px; justify-self: end; }
  .manifesto-grid, .split-head, .page-intro-grid, .prose-layout, .invitation-grid, .origin-grid, .spread-grid, .community-thesis-head { grid-template-columns: 1fr; gap: 38px; }
  .waldo-definition-layout { grid-template-columns: 1fr; gap: 56px; }
  .waldo-definition-intro { max-width: 620px; }
  .not-found { min-height: 0; padding: 130px 0 80px; }
  .not-found-grid { grid-template-columns: 1fr; gap: 64px; }
  .not-found-record { width: min(430px, 100%); min-height: 330px; justify-self: end; }
  .community-options, .community-audiences, .community-roles { grid-template-columns: 1fr 1fr; }
  .community-options article:nth-child(2) { border-right: 0; }
  .community-options article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .community-audiences article:nth-child(2), .community-roles article:nth-child(2) { border-right: 0; }
  .community-audiences article:nth-child(n+3), .community-roles article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .community-roles article:nth-child(n+3) { border-color: rgba(244,241,232,.18); }
  .community-paths { grid-template-columns: 1fr; }
  .community-footer { align-items: flex-start; }
  .footer-actions { width: 100%; justify-content: flex-start; }
  .faq-group { grid-template-columns: 1fr; gap: 24px; }
  .faq-group-label { padding-top: 24px; }
  .faq-list { border-left: 0; }
  .chapter-grid { grid-template-columns: 1fr; gap: 52px; }
  .reverse-grid .chapter-copy { order: 0; }
  .record-sheet, .rights-ledger, .identity-ledger, .governance-ledger { width: 100%; }
  .governance-ledger > div { min-height: 320px; }
  .evidence-model-grid { grid-template-columns: 1fr; }
  .evidence-model-grid article { min-height: 240px; border-right: 0; border-bottom: 1px solid rgba(24,32,29,.3); }
  .evidence-model-grid article:last-child { border-bottom: 0; }
  .accountability-grid { grid-template-columns: 1fr 1fr; }
  .accountability-grid article:nth-child(2) { border-right: 0; }
  .accountability-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .evidence-key { grid-template-columns: 1fr; gap: 12px; }
  .prose-layout aside { max-width: 400px; }
  .contribution-flow > li { grid-template-columns: 42px 1fr; gap: 24px; }
  .contribution-flow > li > :last-child { grid-column: 2; }
  .ingest-accountability { grid-template-columns: 1fr 1fr; }
  .ingest-accountability p { grid-column: 2; }
  .dco-grid { grid-template-columns: 1fr; }
  .dco-grid article, .dco-grid article:first-child, .dco-grid article:last-child { min-height: 230px; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .dco-grid article:last-child { border-bottom: 0; }
  .dco-limit { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 700px) {
  :root { --shell: calc(100% - 28px); }
  .section { padding: 76px 0; }
  .site-header { height: 58px; background: var(--ink); }
  .nav-shell { height: 58px; display: flex; position: relative; }
  .site-header .brand { height: 58px; }
  .nav-toggle {
    min-width: 76px; height: 40px; margin-left: auto; padding: 0 12px; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px;
    border: 1px solid rgba(244,241,232,.35); background: transparent; color: var(--paper); cursor: pointer;
    font: 400 10px var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  }
  .nav-toggle i, .nav-toggle i::before, .nav-toggle i::after { width: 17px; height: 1px; display: block; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
  .nav-toggle i { position: relative; }
  .nav-toggle i::before, .nav-toggle i::after { content: ""; position: absolute; left: 0; }
  .nav-toggle i::before { top: -5px; }
  .nav-toggle i::after { top: 5px; }
  .site-header.nav-open .nav-toggle i { background: transparent; }
  .site-header.nav-open .nav-toggle i::before { top: 0; transform: rotate(45deg); }
  .site-header.nav-open .nav-toggle i::after { top: 0; transform: rotate(-45deg); }
  .site-header.nav-enhanced nav {
    width: 100vw; height: auto; max-height: 0; display: grid; grid-template-columns: 1fr; gap: 0; overflow: hidden;
    position: absolute; z-index: 30; top: 58px; left: 50%; transform: translateX(-50%);
    border-top: 1px solid rgba(244,241,232,.18); background: var(--ink); opacity: 0; visibility: hidden; pointer-events: none;
    transition: max-height .24s ease, opacity .18s ease, visibility .18s ease;
  }
  .site-header.nav-enhanced.nav-open nav { max-height: 330px; opacity: 1; visibility: visible; pointer-events: auto; }
  .site-header.nav-enhanced nav a { width: var(--shell); height: 52px; margin-inline: auto; justify-content: space-between; border-bottom: 1px solid rgba(244,241,232,.14); }
  .site-header.nav-enhanced nav a::after { right: 0; bottom: 8px; left: 0; }
  .hero-shell { padding-top: 118px; }
  .hero-copy h1 { font-size: clamp(47px, 13.5vw, 64px); }
  .hero-lede { font-size: 16px; }
  .hero-object { min-height: 280px; padding: 24px; }
  .hero-object strong { font-size: 45px; }
  .page-intro { min-height: 630px; padding-top: 118px; }
  .compact-intro { min-height: 550px; }
  .page-intro h1 { font-size: clamp(44px, 12.2vw, 58px); }
  .split-head h2, .manifesto h2, .run-header h2, .ingest-section > .shell > h2 { font-size: 39px; }
  .corpus-total strong { font-size: 76px; }
  .door-card { min-height: 390px; padding: 28px; }
  .door-card h2 { font-size: 38px; }
  .explorer { min-height: 0; }
  .tree-panel { max-height: none; }
  .corpus-detail h2 { font-size: 34px; }
  .start-card, .input-grid article { min-height: 470px; }
  .accountability-summary { margin-bottom: 40px; padding: 24px 0; font-size: 24px; }
  .chapter-copy > span { margin-bottom: 40px; }
  .chapter-copy h2 { font-size: 43px; }
  .chapter-copy > p:not(.kicker) { font-size: 16px; }
  .record-sheet { padding: 22px; }
  .record-sheet dl div { grid-template-columns: 1fr; gap: 7px; }
  .bom-sheet { box-shadow: 8px 8px 0 var(--cream); }
  .bom-sheet > p { max-width: 100%; }
  .rights-ledger > div { grid-template-columns: 1fr; }
  .rights-ledger span { grid-row: auto; }
  .governance-ledger { grid-template-columns: 1fr; }
  .governance-ledger > div { min-height: 300px; }
  .governance-ledger > div:first-child { border-right: 0; border-bottom: 1px solid rgba(244,241,232,.25); }
  .accountability-grid { grid-template-columns: 1fr; }
  .accountability-grid article, .accountability-grid article:nth-child(n+3) { min-height: 230px; border-top: 1px solid var(--line); border-right: 0; }
  .accountability-grid article:first-child { border-top: 0; }
  .evidence-status { grid-template-columns: 1fr; }
  .evidence-status > div:nth-child(odd) { border-right: 0; }
  .evidence-status > div:nth-child(even) { padding-left: 0; }
  .waldo-definition-section { padding-block: 72px; }
  .waldo-definition-layout { gap: 44px; }
  .waldo-definition-intro h2 { font-size: 40px; }
  .waldo-definition article {
    min-height: 0; grid-template-columns: 42px minmax(0, 1fr); gap: 0 16px; padding: 22px 0;
  }
  .waldo-letter { grid-row: 1 / span 2; font-size: 38px; }
  .waldo-term { gap: 4px; }
  .waldo-term h3 { font-size: 22px; }
  .waldo-definition p { grid-column: 2; margin-top: 12px; font-size: 14px; }
  .post-row { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
  .community-ways-head { display: block; }
  .community-ways-head .kicker { margin-bottom: 24px; }
  .community-options, .community-audiences, .community-roles { grid-template-columns: 1fr; }
  .community-options article, .community-options article:first-child, .community-options article:last-child { min-height: 330px; padding: 24px 0; border-right: 0; border-top: 1px solid var(--line); }
  .community-options h3 { margin-top: 48px; }
  .community-audiences article, .community-audiences article:first-child, .community-roles article, .community-roles article:first-child { min-height: 230px; padding: 24px 0; border-right: 0; border-top: 1px solid var(--line); }
  .community-roles article, .community-roles article:first-child { border-color: rgba(244,241,232,.18); }
  .community-paths article { min-height: 480px; padding: 26px; }
  .contribution-flow > li { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .contribution-flow > li > :last-child { grid-column: 1; }
  .flow-note { min-height: 100px; }
  .ingest-accountability { grid-template-columns: 1fr; gap: 14px; margin-top: -12px; padding: 22px; }
  .ingest-accountability p { grid-column: 1; }
  .share-actions { grid-template-columns: 1fr; }
  .footer-actions { flex-direction: column; }
  .footer-actions .button { flex: 0 0 auto; }
  .faq-item { scroll-margin-top: 132px; }
  .faq-item summary { min-height: 96px; grid-template-columns: 32px minmax(0, 1fr) 20px; gap: 10px; padding: 20px 0; }
  .faq-item summary strong { font-size: 20px; }
  .faq-answer { padding: 0 30px 28px 42px; }
  .faq-answer p { font-size: 15px; }
  .post-row > b { align-self: start; margin-top: 8px; }
  .footer-bottom { grid-template-columns: 1fr; }
}

/* Production archive and shared accessibility */
.skip-link {
  position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 14px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--ink);
  font: 400 10px var(--font-mono); text-transform: uppercase;
  transform: translateY(-160%); transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); }
.corpus-meta b { font-weight: inherit; }
.posts-loading { margin: 38px 0; color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.post-browser { border: 1px solid var(--ink); }
.post-toolbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink); }
.post-toolbar label { min-width: 0; flex: 1; display: flex; align-items: center; gap: 22px; }
.post-toolbar label span { flex: 0 0 auto; padding-left: 22px; font: 400 10px var(--font-mono); text-transform: uppercase; }
.post-toolbar input {
  width: 100%; max-width: 430px; padding: 13px 20px; border: 0; border-left: 1px solid var(--line);
  border-radius: 0; outline: 0; background: transparent; color: var(--ink);
  font: 400 14px var(--font-mono);
}
.post-toolbar input:focus { background: var(--white); }
.post-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 0 22px; }
.type-chip {
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 0;
  background: transparent; color: var(--muted); cursor: pointer;
  font: 400 9px var(--font-mono); letter-spacing: .07em; text-transform: uppercase;
}
.type-chip:hover, .type-chip.on { border-color: var(--red); color: var(--red); }
.post-list { min-height: 180px; padding: 0 24px; }
.post-card {
  position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr) 142px 52px;
  gap: 22px; align-items: center; min-height: 126px; padding: 23px 0;
  border-bottom: 1px solid var(--line); cursor: pointer; transition: background .18s ease;
}
.post-card:last-child { border-bottom: 0; }
.post-card:hover { background: rgba(217,99,79,.045); }
.post-card-index { align-self: start; display: flex; flex-direction: column; gap: 9px; padding-top: 4px; }
.post-card-index span, .post-card-index b, .post-card-author span, .post-card-action {
  font: 400 9px var(--font-mono); letter-spacing: .06em; text-transform: uppercase;
}
.post-card-index span { color: var(--muted); }
.post-card-index b { color: var(--red); font-weight: 400; }
.post-card-copy { min-width: 0; }
.post-card h3 { margin: 0 0 7px; font-size: clamp(23px, 2.25vw, 29px); line-height: 1.08; letter-spacing: -.03em; font-weight: 500; }
.post-card h3 a { color: var(--ink); }
.post-card p {
  display: -webkit-box; max-width: 680px; margin: 0; overflow: hidden; color: var(--muted);
  font-size: 14px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.post-card-author { min-width: 0; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.post-card-author b { overflow: hidden; font-size: 13px; line-height: 1.3; font-weight: 400; text-overflow: ellipsis; }
.post-card-action { justify-self: end; color: var(--ink); white-space: nowrap; }
.post-meta { display: flex; flex-wrap: wrap; color: var(--muted); }
.post-logo { max-width: 180px; max-height: 42px; object-fit: contain; object-position: left; }
.post-pager { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 22px; border-top: 1px solid var(--ink); }
.pager-summary { color: var(--muted); font: 400 9px var(--font-mono); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.pager-controls { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.pager-btn {
  min-width: 34px; min-height: 34px; padding: 8px 10px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  font: 400 9px var(--font-mono); text-transform: uppercase;
}
.pager-btn:hover { border-color: var(--red); color: var(--red); }
.pager-btn.current { border-color: var(--ink); background: var(--ink); color: var(--paper); cursor: default; }
.pager-gap { padding: 0 3px; color: var(--muted); font: 400 10px var(--font-mono); }
.single-post-page .compact-intro { min-height: 138px; padding: 0; }
.single-post-page .compact-intro .page-intro-grid { display: none; }
.single-post-page .posts-section { padding-top: 54px; }
.single-post-page .posts-heading { display: none; }
.single-post-page .post-browser { border: 0; }
.post-return-wrap { max-width: 780px; margin: 0 auto 38px; }
.post-return {
  min-height: 42px; padding: 0 15px; display: inline-flex; gap: 12px; align-items: center;
  border: 1px solid var(--line); background: transparent; transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.post-return > span { color: var(--red); font-size: 18px; line-height: 1; }
.post-return strong { font: 400 9px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.post-return:hover { background: var(--ink); color: var(--paper); }
.post-return:hover { border-color: var(--ink); }
.post-return-wrap:last-child { margin-top: 42px; margin-bottom: 0; }
.post { max-width: 780px; margin: 0 auto; }
.post h2 { margin: 0; font-size: clamp(42px, 6vw, 72px); line-height: 1; letter-spacing: -.05em; font-weight: 600; }
.post .post-meta { margin: 25px 0 46px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post .post-meta > div { min-width: 150px; padding: 0 24px; border-left: 1px solid var(--line); }
.post .post-meta > div:first-child { padding-left: 0; border-left: 0; }
.post .post-meta dt { margin-bottom: 7px; color: var(--red); font: 400 8px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.post .post-meta dd { margin: 0; color: var(--ink); font: 400 11px var(--font-mono); letter-spacing: .035em; }
.post-back { max-width: 780px; margin: 0 auto 26px; font: 400 10px var(--font-mono); text-transform: uppercase; }
.post-back a:hover { color: var(--red); }
.post-body p, .post-body li { color: #424943; font-size: 15.5px; line-height: 1.68; }
.post-body p { margin: 0 0 17px; }
.post-body ul, .post-body ol { margin: 0 0 26px; padding-left: 34px; }
.post-body li { margin: 0 0 4px; line-height: 1.62; }
.post-body h3, .post-body h4, .post-body h5, .post-body h6 { margin: 48px 0 16px; font-size: 25px; line-height: 1.2; font-weight: 500; }
.post-body blockquote { margin: 40px 0; padding: 24px 0 24px 26px; border-left: 3px solid var(--red); font-size: 21px; }
.post-body pre { padding: 20px; overflow-x: auto; background: var(--ink); color: var(--paper); }
.post-body code { font-family: var(--font-mono); }
.post-body a { color: inherit; font-weight: 500; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .16s ease, text-decoration-color .16s ease; }
.post-body a:hover { color: var(--red); text-decoration-color: currentColor; }
.post-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; max-width: 780px; margin: 42px auto 0; padding-top: 20px; border-top: 1px solid var(--line); }
.share-label { margin-right: 6px; color: var(--muted); font: 400 9px var(--font-mono); text-transform: uppercase; }
.share-chip { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.share-chip:hover { border-color: var(--red); color: var(--red); }
.share-chip svg { width: 15px; height: 15px; fill: currentColor; }

/* Corpus browser */
.corpus-browser-intro { min-height: 520px; }
.corpus-browser-section { background: var(--paper); }
.corpus-browser-callout { padding-top: 58px; background: var(--paper); }
.corpus-browser-cta { padding-bottom: 38px; border-bottom: 1px solid var(--ink); }
.corpus-browser-cta .accountability-summary { margin: 0; padding: 0; border: 0; }
.corpus-browser-cta > div { margin-top: 28px; }
.browser-feed { margin-bottom: 30px; padding-bottom: 2px; }
.browser-feed > span { display: flex; align-items: center; gap: 9px; font: 400 10px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.browser-feed b { font-weight: 400; }
.browser-feed p { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.corpus-browser-shell { border: 1px solid var(--ink); background: var(--white); }
.corpus-browser-toolbar { display: grid; grid-template-columns: minmax(250px, 1.4fr) repeat(3, minmax(160px, .7fr)); border-bottom: 1px solid var(--ink); }
.corpus-browser-toolbar label { min-width: 0; padding: 16px 18px; border-right: 1px solid var(--line); }
.corpus-browser-toolbar label:last-child { border-right: 0; }
.corpus-browser-toolbar label > span { display: block; margin-bottom: 8px; color: var(--muted); font: 400 8px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.corpus-browser-toolbar input, .corpus-browser-toolbar select { width: 100%; min-width: 0; padding: 0; border: 0; border-radius: 0; outline: 0; background: transparent; color: var(--ink); font: 400 12px var(--font-mono); }
.corpus-browser-toolbar input:focus, .corpus-browser-toolbar select:focus { outline: 2px solid var(--red); outline-offset: 5px; }
.browser-result-bar { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 18px; border-bottom: 1px solid var(--line); background: var(--cream); }
.browser-result-bar p { margin: 0; color: var(--muted); font: 400 9px var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.browser-result-bar button { padding: 7px 9px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font: 400 8px var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.browser-result-bar button:hover { border-color: var(--red); color: var(--red); }
.corpus-table-wrap { width: 100%; overflow-x: auto; }
.corpus-table { width: 100%; min-width: 1050px; border-collapse: collapse; }
.corpus-table th { padding: 13px 14px; border-bottom: 1px solid var(--ink); color: var(--muted); font: 400 8px var(--font-mono); letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.corpus-table th:nth-last-child(-n+3) { text-align: right; }
.corpus-table td { max-width: 250px; padding: 15px 14px; border-bottom: 1px solid var(--line); font-size: 12px; vertical-align: middle; }
.corpus-table tbody tr { transition: background .15s ease; }
.corpus-table tbody tr:has(.corpus-row-open):hover { background: rgba(217,99,79,.06); cursor: pointer; }
.corpus-row-open { max-width: 330px; display: flex; flex-direction: column; gap: 4px; padding: 0; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.corpus-row-open strong { overflow: hidden; font-size: 14px; line-height: 1.25; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.corpus-row-open small, .table-sources small { display: block; margin-top: 3px; overflow: hidden; color: var(--muted); font: 400 8px var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.table-section { color: var(--red); font: 400 9px var(--font-mono); }
.table-sources { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-licenses { font-family: var(--font-mono); }
.table-license, .table-more { font-size: 8px; white-space: nowrap; }
.table-licenses span + span::before { content: " · "; color: var(--muted); }
.table-more, .table-muted { color: var(--muted); }
.table-number { text-align: right; font-family: var(--font-mono); white-space: nowrap; }
.browser-empty { height: 180px; color: var(--muted); text-align: center; }
.browser-pagination { min-height: 65px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding: 12px 18px; }
.browser-pagination button { width: 126px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font: 400 9px var(--font-mono); text-transform: uppercase; }
.browser-pagination button:last-child { justify-self: end; }
.browser-pagination button:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.browser-pagination button:disabled { opacity: .35; cursor: default; }
.pagination-status { color: var(--muted); font: 400 9px var(--font-mono); text-transform: uppercase; }

body.dialog-open { overflow: hidden; }
.corpus-record-dialog { width: min(1120px, calc(100% - 48px)); max-width: none; height: min(820px, calc(100% - 48px)); max-height: none; padding: 0; border: 1px solid var(--ink); border-top: 6px solid var(--red); background: var(--paper); color: var(--ink); }
.corpus-record-dialog::backdrop { background: rgba(11,16,14,.76); backdrop-filter: blur(3px); }
.dialog-frame { height: 100%; display: grid; grid-template-rows: auto auto minmax(0, 1fr); }
.dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 30px; padding: 28px 32px 24px; border-bottom: 1px solid var(--ink); }
.dialog-path { margin: 0 0 9px; color: var(--red); font: 400 9px var(--font-mono); letter-spacing: .06em; }
.dialog-header h2 { max-width: 820px; margin: 0; font-size: clamp(34px, 4.2vw, 57px); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.dialog-license-summary { margin: 13px 0 0; color: var(--muted); font: 400 8px/1.5 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.dialog-close { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.dialog-close span { margin-top: -3px; font-size: 27px; line-height: 1; font-weight: 300; }
.dialog-close:hover { background: var(--ink); color: var(--paper); }
.dialog-tabs { display: flex; border-bottom: 1px solid var(--ink); overflow-x: auto; }
.dialog-tabs button { min-height: 48px; flex: 1 0 auto; padding: 0 19px; border: 0; border-right: 1px solid var(--line); background: var(--cream); color: var(--muted); cursor: pointer; font: 400 9px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.dialog-tabs button:last-child { border-right: 0; }
.dialog-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.dialog-content { min-height: 0; padding: 30px 32px 38px; overflow-y: auto; }
.dialog-loading, .dialog-empty { margin: 30px 0; color: var(--muted); }
.dialog-warning { margin: 0 0 22px; padding: 14px 16px; border-left: 3px solid var(--red); background: var(--cream); color: var(--muted); font-size: 13px; }
.dialog-lede { max-width: 800px; margin: 0 0 28px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.dialog-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--ink); }
.dialog-metrics > div { min-width: 0; padding: 16px 14px 17px 0; border-bottom: 1px solid var(--line); }
.dialog-metrics dt { color: var(--muted); font: 400 8px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.dialog-metrics dd { margin: 7px 0 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 500; }
.dialog-section { margin-top: 34px; }
.dialog-section h3, .source-record h3 { margin: 0 0 16px; font-size: 24px; line-height: 1.1; letter-spacing: -.025em; font-weight: 500; }
.source-record { padding: 26px 0 32px; border-bottom: 1px solid var(--ink); }
.source-record:first-child { padding-top: 0; }
.source-record-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 20px; }
.source-record-head h3 { margin-right: auto; }
.source-record-head span { color: var(--muted); font: 400 9px var(--font-mono); }
.source-record > .text-action { display: inline-flex; margin: 0 0 19px; }
.source-evidence { margin-top: 20px; padding: 18px; border: 1px solid var(--line); background: var(--cream); }
.source-evidence > span { color: var(--red); font: 400 8px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.source-evidence p { margin: 9px 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.source-evidence a { font: 400 9px var(--font-mono); text-transform: uppercase; }
.dialog-record-count { margin: 0 0 17px; color: var(--muted); font: 400 9px var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.shard-table-wrap { overflow-x: auto; border: 1px solid var(--ink); }
.shard-table { width: 100%; min-width: 970px; border-collapse: collapse; }
.shard-table th { padding: 11px 12px; border-bottom: 1px solid var(--ink); background: var(--cream); color: var(--muted); font: 400 8px var(--font-mono); text-align: left; text-transform: uppercase; }
.shard-table td { padding: 12px; border-bottom: 1px solid var(--line); font-size: 11px; vertical-align: top; }
.shard-table td:nth-last-child(-n+3), .shard-table th:nth-last-child(-n+3) { text-align: right; }
.shard-table code { max-width: 245px; display: block; overflow: hidden; background: transparent; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button.inverse-dark { border-color: var(--ink); color: var(--ink); }
.button.inverse-dark:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 700px) {
  .hero-copy .hero-principles { font-size: clamp(22px, 6.8vw, 30px); line-height: 1.3; }
  .hero-grid { min-height: 0; }
  .hero-copy { min-width: 0; padding-bottom: 38px; }
  .hero-copy h1 { width: 100%; max-width: 100%; }
  .hero-copy .hero-name { font-size: clamp(50px, 16vw, 72px); }
  .hero-subtitle { font-size: 22px; }
  .hero-subtitle, .hero-lede { max-width: 100%; }
  .hero-community-actions .button { width: 100%; flex: 0 0 auto; }
  .hero-object { display: none; }
  .community-thesis-head { margin-bottom: 42px; }
  .community-thesis-head h2 { font-size: 39px; }
  .community-thesis-grid { grid-template-columns: 1fr; }
  .community-thesis-grid article, .community-thesis-grid article:first-child, .community-thesis-grid article:last-child { min-height: 0; padding: 25px 0 27px; border-right: 0; border-bottom: 1px solid var(--line); }
  .community-thesis-grid article:last-child { border-bottom: 0; }
  .community-thesis-grid h3 { margin: 30px 0 12px; }
  .post-toolbar { align-items: stretch; flex-direction: column; padding: 18px; gap: 16px; }
  .post-toolbar label { align-items: stretch; flex-direction: column; gap: 8px; }
  .post-toolbar label span { padding-left: 0; }
  .post-toolbar input { max-width: none; padding: 12px; border: 1px solid var(--line); }
  .post-filters { justify-content: flex-start; padding: 0; }
  .post-list { padding: 0 18px; }
  .post-card { grid-template-columns: minmax(0, 1fr) auto; gap: 13px 18px; min-height: 0; padding: 22px 0; }
  .post-card-index { grid-column: 1 / -1; flex-direction: row; gap: 12px; padding: 0; }
  .post-card-copy { grid-column: 1 / -1; }
  .post-card h3 { font-size: 24px; }
  .post-card-author { grid-column: 1; flex-direction: row; align-items: baseline; gap: 7px; }
  .post-card-action { grid-column: 2; }
  .post-pager { align-items: flex-start; flex-direction: column; padding: 16px 18px; }
  .pager-controls { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .single-post-page .compact-intro { min-height: 110px; }
  .single-post-page .posts-section { padding-top: 38px; }
  .post-return-wrap { margin-bottom: 32px; }
  .post h2 { font-size: 43px; }
  .post .post-meta { gap: 18px 0; margin: 22px 0 36px; }
  .post .post-meta > div { width: 50%; min-width: 0; padding: 0 14px; }
  .post .post-meta > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .post .post-meta > div:last-child:nth-child(odd) { width: 100%; }
  .post-body p, .post-body li { font-size: 14.5px; }
  .origin-story blockquote { padding-left: 18px; font-size: 19px; }
  .origin-quote figcaption { margin-left: 21px; }
  .stewardship-content h2 span, .stewardship-content h2 em { display: block; white-space: normal; }
  .not-found-copy h1 { font-size: clamp(53px, 15vw, 68px); }
  .not-found-copy > p:not(.kicker) { margin-top: 28px; font-size: 15px; }
  .not-found-record { min-height: 285px; padding: 25px; }
  .corpus-browser-intro { min-height: 560px; }
  .corpus-browser-callout { padding-top: 42px; }
  .corpus-browser-cta { padding-bottom: 32px; }
  .corpus-browser-toolbar { grid-template-columns: 1fr; }
  .corpus-browser-toolbar label { border-right: 0; border-bottom: 1px solid var(--line); }
  .corpus-browser-toolbar label:last-child { border-bottom: 0; }
  .browser-result-bar { align-items: flex-start; flex-direction: column; gap: 9px; }
  .corpus-table { min-width: 0; }
  .corpus-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .corpus-table tbody, .corpus-table tr, .corpus-table td { display: block; }
  .corpus-table tbody tr { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 19px 16px; border-bottom: 1px solid var(--line); }
  .corpus-table td { max-width: none; padding: 7px 0; border: 0; }
  .corpus-table td:first-child { grid-column: 1 / -1; padding-top: 0; }
  .corpus-table td:nth-child(2) { grid-column: 1 / -1; }
  .corpus-table td:nth-child(3) { display: none; }
  .corpus-table td:nth-child(4) { grid-column: 1 / -1; }
  .corpus-table td:nth-last-child(-n+3) { padding-top: 12px; text-align: left; }
  .corpus-table td:nth-last-child(3)::before, .corpus-table td:nth-last-child(2)::before, .corpus-table td:last-child::before { display: block; margin-bottom: 4px; color: var(--muted); font: 400 7px var(--font-mono); text-transform: uppercase; }
  .corpus-table td:nth-last-child(3)::before { content: "Documents"; }
  .corpus-table td:nth-last-child(2)::before { content: "Tokens"; }
  .corpus-table td:last-child::before { content: "Shards"; }
  .browser-empty { height: auto; padding: 60px 16px !important; }
  .browser-pagination { grid-template-columns: 1fr 1fr; }
  .pagination-status { grid-column: 1 / -1; grid-row: 1; text-align: center; }
  .corpus-record-dialog { width: 100%; height: 100%; max-height: 100%; margin: 0; border-right: 0; border-bottom: 0; border-left: 0; }
  .dialog-header { padding: 21px 18px 18px; }
  .dialog-header h2 { font-size: 33px; }
  .dialog-close { width: 38px; height: 38px; }
  .dialog-tabs button { min-height: 45px; padding: 0 13px; font-size: 8px; }
  .dialog-content { padding: 23px 18px 30px; }
  .dialog-lede { font-size: 15px; }
  .dialog-metrics { grid-template-columns: 1fr 1fr; }
  .dialog-metrics > div { padding-right: 10px; }
  .source-record-head { display: block; }
  .source-record-head span { display: block; margin-bottom: 14px; }
  .dialog-actions .button { width: 100%; }
}
