:root {
  --ink: #161b18;
  --paper: #f4f0e7;
  --muted: #6e746d;
  --line: #c9c6ba;
  --acid: #d7ff43;
  --forest: #18352a;
  --white: #fffef8;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: white; padding: .75rem; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 800; font-size: .76rem; letter-spacing: .1em; }
.mark { width: 14px; height: 14px; border-radius: 50%; background: var(--forest); box-shadow: 9px 0 0 var(--acid); }
nav { display: flex; gap: 1.3rem; }
nav a { text-decoration: none; font-size: .82rem; color: var(--muted); }
nav a:hover { color: var(--ink); }
.lang { border: 1px solid var(--ink); background: transparent; min-width: 42px; height: 34px; font-weight: 800; cursor: pointer; }
main { overflow: hidden; }
.hero, .section, .cta { max-width: var(--max); margin: 0 auto; padding: 8rem 24px; }
.hero { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1.5fr .7fr; gap: 7vw; align-items: center; }
.eyebrow { margin: 0 0 1rem; font-size: .73rem; font-weight: 900; letter-spacing: .14em; color: var(--forest); }
h1, h2, blockquote { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; }
h1 { max-width: 900px; margin: 0; font-size: clamp(3.2rem, 7.3vw, 7.2rem); line-height: .94; }
h2 { margin: 0 0 1.5rem; font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1; }
.lead { max-width: 750px; margin: 2.2rem 0; font-size: clamp(1.08rem, 1.6vw, 1.35rem); color: #414842; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-block; padding: .9rem 1.15rem; border: 1px solid var(--ink); text-decoration: none; font-weight: 750; font-size: .9rem; }
.button.primary { background: var(--ink); color: var(--white); }
.button:hover { transform: translateY(-2px); }
.hero-card { align-self: end; margin-bottom: 4rem; border-top: 1px solid var(--ink); padding-top: 1rem; }
.card-number { color: var(--muted); font-size: .75rem; font-weight: 800; }
.hero-card p { font-family: Georgia, serif; font-size: 1.35rem; }
.section { border-top: 1px solid var(--line); }
.section-head { max-width: 900px; margin-bottom: 4rem; }
.section-head > p:last-child { max-width: 680px; color: var(--muted); }
.section-head.split { display: grid; grid-template-columns: 1.2fr .6fr; gap: 4rem; max-width: none; }
.criteria { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.criteria li { display: grid; grid-template-columns: 80px 1fr; padding: 1.15rem 0; border-bottom: 1px solid var(--line); font-size: clamp(1.3rem, 2.5vw, 2.2rem); }
.criteria b { font-size: .75rem; color: var(--muted); padding-top: .5rem; }
.hypothesis { margin-top: 3rem; padding: 2rem; background: var(--acid); display: grid; grid-template-columns: 160px 1fr; gap: 1rem; }
.hypothesis span { font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.hypothesis p { margin: 0; font-size: 1.25rem; font-weight: 650; }
.filters { display: flex; gap: .5rem; margin-bottom: 2rem; }
.filter { min-width: 54px; border: 1px solid var(--line); padding: .7rem 1rem; background: transparent; cursor: pointer; font-weight: 800; }
.filter.active, .filter:hover { background: var(--forest); color: white; border-color: var(--forest); }
.claims { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.claim { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line); }
.claim:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--line); }
.claim-meta { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 900; letter-spacing: .08em; color: var(--muted); }
.claim-class { display: inline-grid; place-items: center; width: 28px; height: 28px; background: var(--acid); color: var(--ink); }
.claim h3 { font-family: Georgia, serif; font-size: 1.7rem; font-weight: 400; margin: 1.2rem 0 .7rem; }
.claim p { color: #414842; }
.claim details { margin-top: 1.2rem; font-size: .88rem; }
.claim summary { cursor: pointer; font-weight: 750; }
.source-links a { margin-right: .7rem; }
.dispatch-actions { color: var(--muted); }
.dispatch-actions .button { margin: .5rem .4rem 0 0; color: var(--ink); }
.latest-dispatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.dispatch-card { min-height: 330px; padding: 2rem; background: var(--paper); }
.dispatch-card h3 { margin: 4rem 0 1rem; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 400; line-height: 1.05; }
.dispatch-card h3 a { text-decoration-thickness: 1px; text-underline-offset: 5px; }
.dispatch-card > p { color: var(--muted); }
.dispatch-card .dispatch-boundary { margin-top: 2rem; font-size: .85rem; }
.asi { max-width: none; background: var(--forest); color: var(--white); }
.asi-grid { max-width: calc(var(--max) - 48px); margin: 0 auto; display: grid; grid-template-columns: 1fr .72fr; gap: 7vw; }
.asi .eyebrow { color: var(--acid); }
.asi-copy { font-size: 1.2rem; color: #d7dfd9; }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.test-grid article { background: var(--paper); padding: 2rem; min-height: 280px; }
.test-grid span { font-size: .75rem; font-weight: 900; }
.test-grid h3 { margin-top: 4rem; font-size: 1.45rem; }
.test-grid p { color: var(--muted); }
.objection { display: grid; grid-template-columns: .4fr 1.4fr .7fr; gap: 4vw; align-items: start; }
.objection blockquote { margin: 0; font-size: clamp(2rem, 4.2vw, 4.3rem); line-height: 1.05; }
.objection > p:last-child { color: var(--muted); }
.narrative { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; background: #e8e3d8; max-width: none; padding-left: max(24px, calc((100vw - var(--max)) / 2)); padding-right: max(24px, calc((100vw - var(--max)) / 2)); }
.narrative > p { max-width: 570px; font-size: 1.15rem; }
.cta { text-align: center; }
.cta h2 { max-width: 980px; margin-left: auto; margin-right: auto; }
.cta > p:last-child { max-width: 700px; margin: 2rem auto; color: var(--muted); }
footer { display: flex; justify-content: space-between; padding: 2rem max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.post-top { display: flex; justify-content: space-between; padding: 1.2rem max(24px, calc((100vw - 920px) / 2)); border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 750; }
.post-main, .archive-main { max-width: 920px; margin: 0 auto; padding: 5rem 24px 8rem; }
.post-meta { display: flex; justify-content: space-between; margin-bottom: 5rem; padding-bottom: .8rem; border-bottom: 1px solid var(--ink); font-size: .75rem; font-weight: 850; letter-spacing: .08em; }
.post-language h1, .archive-main h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(3.1rem, 7vw, 6.5rem); font-weight: 400; line-height: .95; letter-spacing: -.045em; }
.post-hook { margin: 2rem 0 3rem; font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 650; line-height: 1.25; }
.post-language > p:not(.eyebrow):not(.post-hook) { max-width: 720px; font-family: Georgia, serif; font-size: 1.3rem; line-height: 1.7; }
.post-boundary { margin: 3rem 0 0; padding: 1.5rem; border-left: 5px solid var(--acid); background: #e9e5db; }
.post-boundary p { margin-bottom: 0; }
.language-divider { margin: 6rem 0; border: 0; border-top: 1px solid var(--line); }
.post-evidence, .post-share { margin-top: 5rem; padding-top: 2rem; border-top: 1px solid var(--ink); }
.post-evidence h2, .post-share h2 { font-size: 2.3rem; }
.post-evidence ol { padding-left: 1.3rem; }
.post-evidence li { margin: .7rem 0; }
.post-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.post-chip { display: inline-block; padding: .5rem .7rem; background: var(--acid); font-size: .78rem; font-weight: 850; text-decoration: none; }
.post-share button { margin-right: .6rem; padding: .8rem 1rem; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-weight: 750; }
.post-share button:hover { background: var(--ink); color: white; }
.archive-list { margin-top: 5rem; border-top: 1px solid var(--ink); }
.archive-item { padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.archive-item > span { font-size: .75rem; font-weight: 850; color: var(--muted); }
.archive-item h2 { margin: 1rem 0; font-size: clamp(2rem, 4vw, 3.5rem); }
.archive-item h2 a { text-decoration-thickness: 1px; text-underline-offset: 7px; }
.archive-item p { max-width: 700px; color: var(--muted); }

@media (max-width: 800px) {
  .topbar { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-card { margin: 0; }
  .section-head.split, .asi-grid, .objection, .narrative { grid-template-columns: 1fr; }
  .claims, .test-grid, .latest-dispatches { grid-template-columns: 1fr; }
  .claim:nth-child(even) { padding-left: 0; border-left: 0; }
  .hypothesis { grid-template-columns: 1fr; }
  .hero, .section, .cta { padding-top: 5rem; padding-bottom: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* --- Foundation-first additions (2026-07-22) --- */
.op-def { max-width: 750px; margin: 0 0 2.2rem; padding-left: 1rem; border-left: 3px solid var(--forest); font-size: 1.02rem; color: #414842; }
.op-def em { font-style: italic; color: var(--ink); font-weight: 600; }
.mechanism { margin-top: 3rem; padding: 2rem; background: var(--forest); color: var(--white); display: grid; grid-template-columns: 160px 1fr; gap: 1rem; }
.mechanism span { font-size: .75rem; font-weight: 900; letter-spacing: .12em; color: var(--acid); }
.mechanism p { margin: 0; font-size: 1.25rem; line-height: 1.4; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 2.5rem; font-size: .9rem; color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; gap: .55rem; }
.legend .claim-class { width: 26px; height: 26px; font-size: .8rem; font-weight: 800; font-style: normal; }
.legend-more { flex-basis: 100%; margin-top: .5rem; }
.legend-more a { color: var(--forest); font-weight: 700; }
.dispatch-card.skeleton { display: flex; flex-direction: column; gap: 1rem; }
.dispatch-card .sk { display: block; border-radius: 2px; background: linear-gradient(90deg, var(--line) 25%, #ded9cc 37%, var(--line) 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; }
.sk-meta { width: 55%; height: 12px; }
.sk-title { width: 90%; height: 34px; margin-top: 3rem; }
.sk-line { width: 100%; height: 12px; }
.sk-line.short { width: 60%; }
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
/* Foundation page readability */
.doc { max-width: 820px; margin: 0 auto; padding: 4rem 24px 8rem; }
.doc h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 3.5rem 0 1.2rem; }
.doc h3 { font-family: Georgia, serif; font-weight: 400; font-size: 1.5rem; margin: 2rem 0 .6rem; }
.doc p, .doc li { font-size: 1.08rem; color: #2c322e; }
.doc .lead-p { font-size: 1.25rem; color: var(--ink); }
.doc ol, .doc ul { padding-left: 1.3rem; }
.doc li { margin: .6rem 0; }
.level { border-left: 3px solid var(--line); padding: .2rem 0 .2rem 1.2rem; margin: 1.4rem 0; }
.level .tag { font-size: .72rem; font-weight: 900; letter-spacing: .1em; color: var(--forest); }
.doc .mechanism, .doc .hypothesis { grid-template-columns: 150px 1fr; }

@media (max-width: 800px) {
  .mechanism, .doc .mechanism, .doc .hypothesis { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .dispatch-card .sk { animation: none !important; } }
