:root {
  --ink: #0b0d0f;
  --ink-2: #12161a;
  --ink-3: #1a2025;
  --paper: #f2efe8;
  --paper-2: #e7e2d8;
  --muted: #a8aca9;
  --line: rgba(255,255,255,.14);
  --line-dark: rgba(11,13,15,.16);
  --orange: #ff6534;
  --orange-2: #ff875f;
  --amber: #f3b63f;
  --green: #72c89b;
  --blue: #7ba8ff;
  --red: #ff6b6b;
  --violet: #b69cff;
  --max: 1240px;
  --reading: 780px;
  --radius: 2px;
  --shadow: 0 28px 80px rgba(0,0,0,.22);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.016) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.016) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 78%); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { color: var(--ink); background: var(--orange-2); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-150%); padding: 10px 14px; color: var(--ink); background: var(--paper); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(11,13,15,.9); backdrop-filter: blur(14px); }
.header-inner { width: min(calc(100% - 40px), var(--max)); height: 76px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; letter-spacing: -.04em; }
.brand img { flex: 0 0 auto; }
.brand span { display: flex; align-items: baseline; font-size: 18px; font-weight: 850; line-height: 1; }
.brand strong { color: var(--paper); }
.brand em { color: var(--orange); font-style: normal; }
.primary-nav { display: flex; align-items: center; gap: 2px; }
.primary-nav a, .search-open { min-height: 40px; display: inline-flex; align-items: center; border: 0; padding: 8px 11px; color: #c9cbc8; background: transparent; font-size: 13px; font-weight: 700; letter-spacing: .02em; text-decoration: none; cursor: pointer; }
.primary-nav a:hover, .primary-nav a[aria-current="page"], .search-open:hover { color: var(--paper); background: rgba(255,255,255,.06); }
.search-open { margin-left: 8px; border-left: 1px solid var(--line); padding-left: 18px; }
kbd { margin-left: 8px; border: 1px solid var(--line); border-bottom-color: rgba(255,255,255,.3); border-radius: 3px; padding: 1px 6px; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; place-content: center; gap: 6px; }
.nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 1px; background: currentColor; }

.flash { border-bottom: 1px solid var(--line); padding: 11px 0; font-weight: 700; }
.flash-success { color: #dffbea; background: #164f35; }
.flash-error { color: #ffe3e3; background: #6a2020; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-home { min-height: calc(100svh - 76px); display: flex; flex-direction: column; justify-content: center; }
.hero-home::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 36%, rgba(255,101,52,.12), transparent 26%), linear-gradient(120deg, transparent 0 53%, rgba(255,255,255,.018) 53% 53.2%, transparent 53.2%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); align-items: center; gap: 70px; padding-block: 80px 110px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--orange-2); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow > span { width: 28px; height: 1px; background: currentColor; }
h1, h2, h3 { margin: 0; color: var(--paper); font-weight: 780; line-height: 1.03; letter-spacing: -.045em; }
h1 { max-width: 940px; font-size: clamp(3.5rem, 8vw, 7.6rem); }
h1 em { color: var(--orange); font-style: normal; }
h2 { font-size: clamp(2.1rem, 4.3vw, 4.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: -.03em; }
.lede { max-width: 780px; margin: 30px 0 0; color: #c8cbc8; font-size: clamp(1.12rem, 1.7vw, 1.36rem); line-height: 1.58; }
.lede.narrow { max-width: 800px; }
.lede-small { margin: 18px 0 0; color: #c6c9c6; font-size: 1.13rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 18px; font-size: 13px; font-weight: 800; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--orange); color: #160b07; background: var(--orange); }
.button-primary:hover { background: var(--orange-2); }
.button-ghost { color: var(--paper); background: rgba(255,255,255,.035); }
.button-ghost:hover { border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.07); }
.button-light { border-color: var(--paper); color: var(--ink); background: var(--paper); }
.button-full { width: 100%; margin-top: 10px; }
.hero-stats { display: flex; gap: 0; margin: 52px 0 0; }
.hero-stats div { min-width: 125px; border-left: 1px solid var(--line); padding-left: 16px; }
.hero-stats dt { color: var(--paper); font-family: var(--mono); font-size: 1.6rem; font-weight: 800; }
.hero-stats dd { margin: 3px 0 0; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.hero-visual > img { width: min(100%, 580px); filter: drop-shadow(0 28px 70px rgba(0,0,0,.6)); }
.signal-card { position: absolute; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); padding: 8px 11px; color: #cacdca; background: rgba(11,13,15,.85); font-family: var(--mono); font-size: 10px; letter-spacing: .09em; box-shadow: var(--shadow); }
.signal-card span { color: var(--orange); }
.signal-a { top: 17%; left: 2%; }
.signal-b { right: 1%; bottom: 30%; }
.signal-c { left: 15%; bottom: 7%; }
.hero-ticker { position: absolute; right: 0; bottom: 0; left: 0; overflow: hidden; border-top: 1px solid var(--line); background: rgba(0,0,0,.2); }
.hero-ticker div { min-width: max-content; display: flex; gap: 54px; padding: 12px 24px; animation: ticker 28s linear infinite; color: #909591; font-family: var(--mono); font-size: 10px; letter-spacing: .13em; }
.hero-ticker span::before { content: "◆"; margin-right: 16px; color: var(--orange); font-size: 7px; }
@keyframes ticker { to { transform: translateX(-30%); } }

.section { padding-block: 110px; border-bottom: 1px solid var(--line); }
.section-number { margin: 0 0 16px; color: var(--orange-2); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.split-intro { display: grid; grid-template-columns: .92fr 1.08fr; gap: 90px; align-items: start; }
.split-intro h2 { max-width: 680px; }
.prose-large { max-width: 720px; color: #c8cbc8; font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.52; }
.prose-large p { margin: 0 0 28px; }
.prose-large strong { color: var(--paper); }
.section-definition { color: var(--ink); background: var(--paper); }
.section-definition h2 { color: var(--ink); }
.section-definition .section-number { color: #bc3715; }
.section-definition .prose-large { color: #373b3d; }
.section-definition .prose-large strong { color: var(--ink); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.section-heading h2 { max-width: 880px; }
.section-heading.compact { margin-bottom: 34px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: #c9ccc9; font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.text-link span { color: var(--orange); }
.text-link:hover { color: var(--paper); }

.surface-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.surface-card { min-height: 330px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px; background: rgba(255,255,255,.018); transition: background .2s ease, transform .2s ease; }
.surface-card:hover { background: rgba(255,255,255,.045); transform: translateY(-3px); }
.surface-top { display: flex; align-items: center; gap: 8px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.surface-number { margin-right: auto; color: var(--orange); font-size: 13px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(114,200,155,.09); }
.surface-card h3 { margin-top: 55px; }
.surface-card p { margin: 18px 0 28px; color: #adb1ae; line-height: 1.65; }
.surface-card > a { margin-top: auto; color: var(--paper); font-size: 12px; font-weight: 800; text-decoration: none; }
.surface-card > a span { color: var(--orange); }

.charter-imperative { color: var(--ink); background: var(--orange); }
.imperative-grid { display: grid; grid-template-columns: 280px 1fr; gap: 90px; align-items: center; }
.imperative-mark { aspect-ratio: 1; display: grid; place-items: center; position: relative; border: 2px solid rgba(11,13,15,.8); border-radius: 50%; }
.imperative-mark::before, .imperative-mark::after { content: ""; position: absolute; border: 1px solid rgba(11,13,15,.3); border-radius: 50%; }
.imperative-mark::before { inset: 18px; }
.imperative-mark::after { inset: 38px; }
.imperative-mark span { z-index: 1; font-size: 4rem; font-weight: 900; letter-spacing: -.08em; }
.imperative-mark small { position: absolute; bottom: 28px; z-index: 1; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; }
.charter-imperative h2, .charter-imperative .section-number { color: var(--ink); }
.charter-imperative .lede-small { max-width: 760px; color: rgba(11,13,15,.8); font-size: 1.25rem; }
.charter-imperative .button-primary { border-color: var(--ink); color: var(--paper); background: var(--ink); }
.charter-imperative .button-ghost { border-color: rgba(11,13,15,.32); color: var(--ink); background: transparent; }
.principle-strip { display: flex; flex-wrap: wrap; gap: 0; margin-top: 30px; }
.principle-strip span { border: 1px solid rgba(11,13,15,.35); margin-right: -1px; padding: 8px 13px; font-family: var(--mono); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.evidence-section { background: var(--ink-2); }
.evidence-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.evidence-card { min-height: 190px; border: 1px solid var(--line); border-top-width: 3px; padding: 24px; background: rgba(255,255,255,.025); }
.evidence-card > span { font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.evidence-card p { margin: 28px 0 0; color: #b1b5b2; font-size: 14px; line-height: 1.65; }
.evidence-card.documented { border-top-color: var(--green); }
.evidence-card.documented > span { color: var(--green); }
.evidence-card.emerging { border-top-color: var(--blue); }
.evidence-card.emerging > span { color: var(--blue); }
.evidence-card.contested { border-top-color: var(--amber); }
.evidence-card.contested > span { color: var(--amber); }
.evidence-card.scenario { border-top-color: var(--violet); }
.evidence-card.scenario > span { color: var(--violet); }
.note-panel { margin-top: 26px; border-left: 3px solid var(--orange); padding: 18px 22px; color: #b9bdb9; background: rgba(255,255,255,.035); font-size: 14px; }
.note-panel strong { color: var(--paper); }

.research-preview { background: var(--ink); }
.research-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.research-card { min-height: 360px; display: flex; flex-direction: column; border: 1px solid var(--line); padding: 25px; background: rgba(255,255,255,.02); transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.research-card:hover { transform: translateY(-3px); border-color: rgba(255,101,52,.55); background: rgba(255,255,255,.04); }
.card-kicker { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; color: #8f9590; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.card-kicker > span:first-child { max-width: 48%; }
.evidence-badge { display: inline-flex; align-items: center; min-height: 22px; border: 1px solid currentColor; padding: 3px 7px; font-family: var(--mono); font-size: 8px; line-height: 1.2; letter-spacing: .07em; text-transform: uppercase; }
.evidence-badge.documented { color: var(--green); }
.evidence-badge.emerging { color: var(--blue); }
.evidence-badge.contested { color: var(--amber); }
.evidence-badge.scenario { color: var(--violet); }
.evidence-badge.neutral { color: var(--muted); }
.research-card h3 { margin-top: 55px; }
.research-card h3 a { text-decoration: none; }
.research-card h3 a:hover { color: var(--orange-2); }
.research-card > p { margin: 18px 0 30px; color: #aeb2af; font-size: 14px; line-height: 1.7; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.tag-row a { color: #7f8581; font-family: var(--mono); font-size: 9px; text-decoration: none; }
.tag-row a:hover { color: var(--orange-2); }

.scope-section { background: var(--paper); color: var(--ink); }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.scope-card { border: 1px solid var(--line-dark); padding: 38px; background: rgba(255,255,255,.28); }
.scope-card h2 { color: var(--ink); font-size: clamp(2rem, 3.4vw, 3.6rem); }
.scope-card p { color: #454b4c; }
.scope-card .section-number { color: #ae3819; }
.scope-card ul { margin: 35px 0 0; padding: 0; list-style: none; }
.scope-card li { position: relative; border-top: 1px solid var(--line-dark); padding: 14px 0 14px 30px; color: #34393b; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #1b7954; font-weight: 900; }
.x-list li::before { content: "×"; position: absolute; left: 0; color: #b43822; font-weight: 900; }
.scope-card .text-link { color: var(--ink); }
.final-cta { color: var(--ink); background: var(--orange); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.final-cta h2, .final-cta .section-number { color: var(--ink); }
.final-cta h2 { max-width: 850px; font-size: clamp(2rem, 4vw, 4rem); }

.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding-block: 70px 90px; background: linear-gradient(135deg, rgba(255,101,52,.07), transparent 34%), var(--ink); }
.page-hero::after { content: ""; position: absolute; top: -140px; right: -120px; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.05); border-radius: 50%; box-shadow: inset 0 0 0 40px rgba(255,255,255,.009), inset 0 0 0 80px rgba(255,255,255,.009); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 1100px; font-size: clamp(3.3rem, 7vw, 7rem); }
.page-hero .lede { max-width: 880px; }
.compact-hero { padding-bottom: 70px; }
.compact-hero h1 { font-size: clamp(3rem, 6vw, 5.8rem); }
.breadcrumb { margin-bottom: 54px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: #7f8581; font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #4d5350; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--paper); }

.page-hero-grid { display: grid; grid-template-columns: 1fr 300px; gap: 70px; align-items: end; }
.page-hero-charter { padding-bottom: 80px; }
.document-stamp { border: 1px solid var(--line); padding: 24px; background: rgba(0,0,0,.18); }
.document-stamp > span { color: var(--orange); font-family: var(--mono); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.document-stamp > strong { display: block; margin: 15px 0 24px; color: var(--paper); font-size: 5rem; line-height: 1; letter-spacing: -.08em; }
.document-stamp dl { margin: 0; }
.document-stamp dl div { display: grid; grid-template-columns: 85px 1fr; border-top: 1px solid var(--line); padding: 9px 0; font-size: 11px; }
.document-stamp dt { color: #7f8581; font-family: var(--mono); text-transform: uppercase; }
.document-stamp dd { margin: 0; color: #c6c9c6; }
.two-column-reading { display: grid; grid-template-columns: 250px minmax(0, var(--reading)); justify-content: center; gap: 70px; align-items: start; }
.sticky-aside { position: sticky; top: 106px; }
.toc-card { max-height: calc(100vh - 170px); overflow: auto; border-left: 1px solid var(--line); padding-left: 18px; }
.toc-card strong { display: block; margin-bottom: 15px; color: var(--paper); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.toc-card a { display: block; border-top: 1px solid rgba(255,255,255,.07); padding: 8px 0; color: #8f9590; font-size: 11px; line-height: 1.4; text-decoration: none; }
.toc-card a:hover, .toc-card a.is-active { color: var(--orange-2); }
.toc-card a.toc-level-3 { padding-left: 12px; font-size: 10px; }
.reading-content { min-width: 0; }
.reading-content > section { margin-bottom: 95px; }
.reading-content h2 { margin-bottom: 28px; font-size: clamp(2.3rem, 4vw, 4.2rem); }
.reading-content > section > p:not(.section-number), .reading-content > p { color: #c2c6c2; font-size: 1.05rem; line-height: 1.82; }
.reading-content strong { color: var(--paper); }
.charter-preamble { border-left: 4px solid var(--orange); padding-left: 30px; }
.imperative-list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 38px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.imperative-list > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px; }
.imperative-list span { color: var(--orange); font-family: var(--mono); font-size: 11px; }
.imperative-list strong { display: block; margin-top: 25px; }
.imperative-list p { margin: 10px 0 0; color: #9ca19d; font-size: 13px; }
.charter-articles { border-top: 1px solid var(--line); }
.charter-article { display: grid; grid-template-columns: 72px 1fr; gap: 20px; border-bottom: 1px solid var(--line); padding: 26px 0; }
.charter-article > span { color: var(--orange); font-family: var(--mono); font-size: 12px; }
.charter-article h3 { font-size: 1.45rem; }
.charter-article p { margin: 10px 0 0; color: #afb4b0; line-height: 1.72; }
.test-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.test-grid div { min-height: 180px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 23px; }
.test-grid strong { color: var(--orange-2); }
.test-grid p { color: #aeb2af; font-size: 13px; }
.boundary-box { border: 1px solid rgba(243,182,63,.5); padding: 34px; background: rgba(243,182,63,.05); }
.boundary-box h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); }
.boundary-box a { color: var(--amber); }
.participation-box { border: 1px solid var(--line); padding: 36px; background: var(--ink-2); }
.participation-box h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); }

.chain-section { padding-block: 60px; background: var(--ink-2); }
.cognitive-chain { display: flex; align-items: stretch; justify-content: center; }
.cognitive-chain > div { min-width: 145px; flex: 1; border: 1px solid var(--line); padding: 20px; background: rgba(255,255,255,.02); }
.cognitive-chain span { display: block; margin-bottom: 35px; color: var(--orange); font-family: var(--mono); font-size: 10px; }
.cognitive-chain strong { font-size: 13px; }
.cognitive-chain b { display: grid; place-items: center; width: 30px; color: #636965; font-weight: 400; }
.chain-note { max-width: 850px; margin: 30px auto 0; color: #aeb2af; text-align: center; }
.map-details { padding-top: 0; }
.map-surface { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--line); padding-block: 90px; }
.map-index { display: flex; flex-direction: column; align-items: flex-start; }
.map-index > span { color: var(--orange); font-family: var(--mono); font-size: 3.4rem; line-height: 1; }
.map-index small { margin-top: 18px; color: #7e847f; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.map-main > h2 { font-size: clamp(2.8rem, 5vw, 5.5rem); }
.map-main .lede-small { max-width: 850px; }
.map-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; margin-top: 45px; }
.map-columns h3 { color: var(--orange-2); font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.map-columns p { color: #aeb2af; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.related-links strong { width: 100%; color: #737975; font-family: var(--mono); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.related-links a { border: 1px solid var(--line); padding: 8px 12px; color: #c9ccc9; font-size: 11px; text-decoration: none; }
.related-links a:hover { border-color: var(--orange); }
.related-links span { color: var(--orange); }
.uncertainty-section { background: var(--paper); color: var(--ink); }
.uncertainty-section h2 { color: var(--ink); }
.uncertainty-section .section-number { color: #ae3819; }
.causal-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.causal-grid div { min-height: 230px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 22px; }
.causal-grid span { color: #b43e20; font-family: var(--mono); font-size: 10px; }
.causal-grid strong { display: block; margin-top: 45px; font-size: 1.15rem; }
.causal-grid p { color: #555b5c; font-size: 13px; }

.defense-stack { border-top: 1px solid var(--line); }
.defense-stack article { display: grid; grid-template-columns: 110px 1fr; gap: 30px; border-bottom: 1px solid var(--line); padding: 45px 0; }
.defense-stack article > span { color: var(--orange); font-family: var(--mono); font-size: 2.4rem; }
.defense-stack .kicker { margin: 0 0 10px; color: #8b918d; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.defense-stack h2 { font-size: clamp(2rem, 3.3vw, 3.7rem); }
.defense-stack article p:last-child { max-width: 850px; color: #aeb2af; }
.response-grid-section { background: var(--ink-2); }
.response-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.response-grid article { min-height: 310px; border: 1px solid var(--line); padding: 25px; }
.response-grid span { color: var(--orange-2); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.response-grid h3 { margin-top: 70px; }
.response-grid p { color: #aeb2af; font-size: 13px; }
.individual-checklist { color: var(--ink); background: var(--paper); }
.individual-checklist h2 { color: var(--ink); }
.individual-checklist .section-number { color: #ae3819; }
.checklist-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.checklist-grid ol { margin: 0; padding: 0; list-style: none; counter-reset: check; }
.checklist-grid li { counter-increment: check; display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; border-top: 1px solid var(--line-dark); padding: 20px 0 20px 46px; position: relative; }
.checklist-grid li::before { content: counter(check, decimal-leading-zero); position: absolute; left: 0; color: #b33b1e; font-family: var(--mono); font-size: 10px; }
.checklist-grid li strong { font-size: 1rem; }
.checklist-grid li span { color: #545a5b; font-size: 13px; }

.page-hero-research { padding-bottom: 70px; }
.library-search { max-width: 800px; margin-top: 42px; }
.library-search label { display: block; margin-bottom: 8px; color: #8f9590; font-family: var(--mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.library-search > div { display: flex; gap: 10px; }
.library-search input, .search-line input { min-width: 0; flex: 1; border: 1px solid var(--line); border-radius: 0; padding: 14px 16px; color: var(--paper); background: rgba(255,255,255,.04); }
.library-search input::placeholder, .search-line input::placeholder { color: #717773; }
.library-section { padding-top: 60px; }
.library-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.library-toolbar p { margin: 0; color: #8f9590; font-family: var(--mono); font-size: 11px; }
.library-toolbar strong { color: var(--paper); }
.filter-buttons { max-width: 820px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.filter-buttons button { border: 1px solid var(--line); padding: 6px 9px; color: #8f9590; background: transparent; font-size: 9px; cursor: pointer; }
.filter-buttons button:hover, .filter-buttons button.active { border-color: var(--orange); color: var(--paper); }
.empty-state { border: 1px dashed var(--line); padding: 60px; text-align: center; color: #9ca19d; }
.server-empty h2 { font-size: 2.3rem; }
.editorial-note-section { padding-top: 0; }

.research-hero { border-bottom: 1px solid var(--line); padding-block: 62px 70px; background: linear-gradient(125deg, rgba(255,101,52,.08), transparent 45%), var(--ink); }
.research-title-grid { display: grid; grid-template-columns: 1fr 310px; gap: 70px; align-items: end; }
.research-title-grid h1 { font-size: clamp(3rem, 6vw, 6.4rem); }
.research-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; color: #7f8581; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.research-meta > span:not(.evidence-badge) { border-left: 1px solid var(--line); padding-left: 10px; }
.source-card { border: 1px solid var(--line); padding: 23px; }
.source-card > span { color: var(--orange); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.source-card dl { margin: 25px 0 0; }
.source-card dl div { border-top: 1px solid var(--line); padding: 10px 0; }
.source-card dt { color: #737975; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.source-card dd { margin: 3px 0 0; overflow-wrap: anywhere; color: #b7bbb8; font-size: 11px; }
.source-card code { color: var(--orange-2); font-family: var(--mono); }
.research-caution { border-bottom: 1px solid rgba(243,182,63,.25); padding: 13px 0; color: #d9ca9d; background: rgba(243,182,63,.06); font-size: 12px; }
.research-reading { padding-top: 75px; }
.markdown-body { overflow-wrap: anywhere; }
.markdown-body > h1:first-child { display: none; }
.markdown-body h1 { font-size: 3.5rem; }
.markdown-body h2 { margin: 90px 0 24px; border-top: 1px solid var(--line); padding-top: 30px; font-size: clamp(2rem, 3.7vw, 3.6rem); }
.markdown-body h3 { margin: 55px 0 18px; font-size: 1.7rem; }
.markdown-body h4 { margin: 38px 0 12px; color: var(--paper); font-size: 1.2rem; }
.heading-anchor { margin-left: 8px; color: transparent; font-family: var(--mono); font-size: .55em; text-decoration: none; }
.markdown-body :is(h2,h3,h4):hover .heading-anchor { color: var(--orange); }
.markdown-body p, .markdown-body li { color: #b6bbb7; font-size: 1rem; line-height: 1.82; }
.markdown-body p { margin: 0 0 22px; }
.markdown-body a { color: var(--orange-2); overflow-wrap: anywhere; }
.markdown-body ul, .markdown-body ol { margin: 0 0 28px; padding-left: 26px; }
.markdown-body li { margin-bottom: 10px; }
.markdown-body blockquote { margin: 30px 0; border-left: 3px solid var(--orange); padding: 18px 25px; background: rgba(255,255,255,.025); }
.markdown-body blockquote p { margin: 0; color: #d0d3d0; }
.markdown-body code { border: 1px solid var(--line); padding: 2px 5px; color: #f2c7b8; background: rgba(255,255,255,.04); font-family: var(--mono); font-size: .85em; }
.markdown-body pre { overflow: auto; border: 1px solid var(--line); padding: 20px; background: #060708; }
.markdown-body pre code { border: 0; padding: 0; background: transparent; }
.markdown-body hr { margin: 60px 0; border: 0; border-top: 1px solid var(--line); }
.table-scroll { width: 100%; overflow-x: auto; margin: 30px 0 45px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 700px; }
th, td { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 14px; vertical-align: top; text-align: left; font-size: 12px; line-height: 1.55; }
th { color: var(--paper); background: rgba(255,255,255,.06); font-family: var(--mono); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
td { color: #adb2ae; }
.related-research { background: var(--ink-2); }

.method-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.method-principles { position: sticky; top: 110px; }
.method-principles blockquote { margin: 0; border-left: 4px solid var(--orange); padding-left: 28px; color: var(--paper); font-size: clamp(1.55rem, 3vw, 2.8rem); font-weight: 700; line-height: 1.25; letter-spacing: -.035em; }
.method-steps { border-top: 1px solid var(--line); }
.method-steps article { display: grid; grid-template-columns: 80px 1fr; gap: 20px; border-bottom: 1px solid var(--line); padding: 35px 0; }
.method-steps article > span { color: var(--orange); font-family: var(--mono); }
.method-steps h2 { font-size: 1.8rem; }
.method-steps p { color: #aeb2af; }
.limitations-section { color: var(--ink); background: var(--paper); }
.limitations-section h2 { color: var(--ink); }
.limitations-section .section-number { color: #ae3819; }

.form-layout { display: grid; grid-template-columns: 340px 1fr; gap: 80px; align-items: start; }
.form-layout aside { position: sticky; top: 110px; }
.form-layout aside ul { padding: 0; list-style: none; }
.form-layout aside li { position: relative; border-top: 1px solid var(--line); padding: 13px 0 13px 25px; color: #aeb2af; font-size: 13px; }
.form-layout .check-list li::before { left: 0; }
.privacy-mini { margin-top: 30px; border: 1px solid var(--line); padding: 18px; }
.privacy-mini strong { color: var(--orange-2); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.privacy-mini p { color: #929893; font-size: 12px; }
.form-card { border: 1px solid var(--line); padding: 34px; background: var(--ink-2); }
.form-card form > label, .field-row label { display: block; margin-bottom: 22px; color: #c9ccc9; font-size: 12px; font-weight: 800; }
.form-card label > span { color: #747a76; font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card input, .form-card textarea, .form-card select { width: 100%; display: block; margin-top: 7px; border: 1px solid var(--line); border-radius: 0; padding: 12px 13px; color: var(--paper); background: #0d1012; }
.form-card textarea { resize: vertical; }
.form-card select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.checkbox-field { display: flex !important; align-items: flex-start; gap: 10px; }
.checkbox-field input { width: 17px; height: 17px; margin: 2px 0 0; }
.form-note { margin: 22px 0 0; color: #747a76; font-size: 11px; }
.form-errors { margin-bottom: 25px; border-left: 3px solid var(--red); padding: 16px 20px; color: #ffdada; background: rgba(255,107,107,.07); font-size: 13px; }
.form-errors ul { margin-bottom: 0; }
.honeypot { position: absolute; left: -10000px; }

.about-content { color: var(--ink); background: var(--paper); }
.about-content h2 { color: var(--ink); }
.about-content .section-number { color: #ae3819; }
.about-content .prose-large { color: #404647; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.value-grid article { min-height: 300px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px; }
.value-grid span { color: var(--orange); font-family: var(--mono); }
.value-grid h2 { margin-top: 60px; font-size: clamp(1.8rem, 3vw, 3rem); }
.value-grid p { color: #aeb2af; }
.tech-section { color: var(--ink); background: var(--paper); }
.tech-section h2 { color: var(--ink); }
.tech-section .section-number { color: #ae3819; }

.legal-content .reading-content { max-width: var(--reading); margin-inline: auto; }
.legal-content h2 { margin: 55px 0 18px; font-size: 2.2rem; }
.legal-content p { color: #b6bbb7; font-size: 1rem; line-height: 1.82; }
.legal-content a { color: var(--orange-2); }
.error-section { min-height: calc(100svh - 76px); display: grid; place-items: center; padding: 80px 0; }
.error-section .container > span { display: block; color: rgba(255,255,255,.04); font-size: clamp(8rem, 28vw, 23rem); font-weight: 900; line-height: .7; letter-spacing: -.1em; }
.error-section h1 { max-width: 800px; margin-top: -20px; font-size: clamp(3rem, 7vw, 6.5rem); }
.error-section p:not(.eyebrow) { color: #aeb2af; }

.site-footer { padding-block: 70px 25px; background: #070809; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; }
.brand-footer { margin-bottom: 20px; }
.footer-grid section:first-child p { max-width: 420px; color: #8e9490; font-size: 13px; }
.footer-grid section:first-child p.small { color: #626763; font-size: 11px; }
.footer-grid h2 { margin: 0 0 18px; color: #6f7571; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid section:not(:first-child) a, .footer-grid .version { display: block; margin: 8px 0; color: #9ca19d; font-size: 12px; text-decoration: none; }
.footer-grid section:not(:first-child) a:hover { color: var(--orange-2); }
.footer-grid .version { margin-top: 18px; color: #5e635f; font-family: var(--mono); font-size: 9px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 55px; border-top: 1px solid var(--line); padding-top: 22px; color: #5c615e; font-family: var(--mono); font-size: 9px; }

.search-dialog { width: min(calc(100% - 30px), 720px); border: 1px solid rgba(255,255,255,.2); padding: 35px; color: var(--paper); background: var(--ink-2); box-shadow: 0 40px 120px rgba(0,0,0,.7); }
.search-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(5px); }
.search-dialog h2 { margin-bottom: 25px; font-size: 2.4rem; }
.search-dialog label { display: block; margin-bottom: 8px; color: #8f9590; font-family: var(--mono); font-size: 10px; }
.search-line { display: flex; gap: 8px; }
.dialog-close-form { position: absolute; top: 10px; right: 10px; }
.dialog-close-form button { width: 35px; height: 35px; border: 1px solid var(--line); color: #aaa; background: transparent; font-size: 24px; cursor: pointer; }
.search-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.search-suggestions a { border: 1px solid var(--line); padding: 5px 8px; color: #8f9590; font-family: var(--mono); font-size: 9px; text-decoration: none; }

@media (max-width: 1050px) {
  .primary-nav a { padding-inline: 8px; font-size: 12px; }
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 25px; }
  .hero-visual { min-height: 460px; }
  .surface-grid, .research-grid { grid-template-columns: repeat(2, 1fr); }
  .evidence-grid { grid-template-columns: repeat(2, 1fr); }
  .response-grid { grid-template-columns: 1fr 1fr; }
  .causal-grid { grid-template-columns: repeat(3, 1fr); }
  .two-column-reading { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid section:last-child { grid-column: 2 / 4; }
}

@media (max-width: 850px) {
  .header-inner { height: 66px; }
  .nav-toggle { display: grid; }
  .primary-nav { position: absolute; top: 66px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); padding: 14px 20px 20px; background: #0b0d0f; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a, .search-open { justify-content: flex-start; border: 0; border-bottom: 1px solid var(--line); padding: 12px 8px; }
  .search-open { margin-left: 0; }
  .hero-home { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 70px 120px; }
  .hero-visual { min-height: 430px; max-width: 590px; margin-inline: auto; }
  .split-intro, .imperative-grid, .scope-grid, .page-hero-grid, .research-title-grid, .checklist-grid, .method-grid, .form-layout { grid-template-columns: 1fr; }
  .imperative-mark { width: 220px; }
  .page-hero-grid, .research-title-grid { gap: 35px; }
  .document-stamp, .source-card { max-width: 450px; }
  .two-column-reading { grid-template-columns: 1fr; }
  .sticky-aside, .method-principles, .form-layout aside { position: static; }
  .sticky-aside { display: none; }
  .map-surface { grid-template-columns: 100px 1fr; }
  .cognitive-chain { overflow-x: auto; justify-content: flex-start; padding-bottom: 10px; }
  .cognitive-chain > div { flex: 0 0 130px; }
  .method-principles { margin-bottom: 40px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid section:first-child { grid-column: 1 / -1; }
  .footer-grid section:last-child { grid-column: auto; }
}

@media (max-width: 640px) {
  .container, .header-inner { width: min(calc(100% - 24px), var(--max)); }
  .section { padding-block: 78px; }
  h1 { font-size: clamp(3.1rem, 15vw, 5.1rem); }
  h2 { font-size: clamp(2rem, 10vw, 3.4rem); }
  .hero-grid { padding-top: 55px; }
  .hero-visual { min-height: 350px; }
  .signal-card { font-size: 8px; }
  .hero-stats { flex-wrap: wrap; gap: 20px 0; }
  .hero-stats div { min-width: 33%; }
  .section-heading, .final-cta-inner, .library-toolbar { align-items: flex-start; flex-direction: column; }
  .surface-grid, .research-grid, .evidence-grid, .response-grid, .value-grid { grid-template-columns: 1fr; }
  .surface-card, .research-card { min-height: 300px; }
  .imperative-grid { gap: 45px; }
  .imperative-list, .test-grid { grid-template-columns: 1fr; }
  .scope-card, .form-card { padding: 25px; }
  .page-hero { padding-block: 45px 65px; }
  .breadcrumb { margin-bottom: 40px; }
  .page-hero h1, .research-title-grid h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .map-surface { grid-template-columns: 1fr; gap: 28px; padding-block: 65px; }
  .map-index { flex-direction: row; align-items: center; gap: 20px; }
  .map-index small { margin-top: 0; }
  .map-columns { grid-template-columns: 1fr; gap: 20px; }
  .causal-grid { grid-template-columns: 1fr 1fr; }
  .defense-stack article { grid-template-columns: 60px 1fr; gap: 15px; }
  .defense-stack article > span { font-size: 1.6rem; }
  .checklist-grid li { grid-template-columns: 1fr; }
  .library-search > div, .search-line { flex-direction: column; }
  .filter-buttons { justify-content: flex-start; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .charter-article { grid-template-columns: 48px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-grid section:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .brand span { font-size: 15px; }
  .hero-stats div { min-width: 50%; }
  .hero-visual { min-height: 300px; }
  .signal-b { bottom: 20%; }
  .causal-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid section:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  :root { --paper: #000; --ink: #fff; }
  body { color: #000; background: #fff; font-size: 11pt; }
  body::before, .site-header, .site-footer, .search-dialog, .sticky-aside, .hero-actions, .research-caution, .breadcrumb, .related-research, .button, .heading-anchor { display: none !important; }
  .page-hero, .research-hero, .section { border: 0; padding: 20px 0; color: #000; background: #fff; }
  .container { width: 100%; }
  h1, h2, h3, .page-hero h1, .research-title-grid h1, .reading-content h2, .markdown-body h2 { color: #000; break-after: avoid; }
  p, li, .markdown-body p, .markdown-body li, .reading-content > section > p:not(.section-number) { color: #111; }
  a { color: #000; text-decoration: underline; }
  .two-column-reading, .research-title-grid { display: block; }
  .charter-article, .markdown-body blockquote, .boundary-box { break-inside: avoid; border-color: #bbb; }
  .evidence-badge { color: #000 !important; }
  table, th, td { border-color: #999; color: #000; }
}
