/* ============================================================
   Shared styles — clean, editorial, minimal decoration
   ============================================================ */
:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #16161a;
  --ink-2: #45464d;
  --ink-3: #6f7079;
  --line: #e4e2dc;
  --line-2: #d3d0c8;
  --red: #b42318;
  --red-soft: #fdf0ee;
  --note-line: #f3d3cf;
  --note-ink: #5c1d17;
  --gold-soft: #f7f2e6;
  --gold-line: #ebe1c8;
  --gold-rule: #e6dcc2;
  --gold-ink: #7a5a12;
  --verse-ink: #2a2414;
  --mark: #f0dfa8;
  --header-bg: rgba(250, 249, 246, .9);
  --hover: #efede8;
  --current: #ebe8e1;
  --strip-bg: #16161a;
  --bg-2: #f3f1ec;
  --panel: #16161a;
  --btn-bg: #16161a;
  --btn-ink: #ffffff;
  --shadow: 0 1px 2px rgba(0,0,0,.03), 0 8px 30px rgba(0,0,0,.04);
  --radius: 10px;
  --maxw: 1160px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111113;
    --surface: #19191c;
    --ink: #ececef;
    --ink-2: #b3b4bb;
    --ink-3: #85868f;
    --line: #27272c;
    --line-2: #36363d;
    --red: #f0604d;
    --red-soft: #241413;
    --note-line: #4a2420;
    --note-ink: #f2c3bc;
    --gold-soft: #1c1912;
    --gold-line: #352e1d;
    --gold-rule: #2f291b;
    --gold-ink: #d6b25e;
    --verse-ink: #ebe3cf;
    --mark: rgba(214, 178, 94, .3);
    --header-bg: rgba(17, 17, 19, .85);
    --hover: #1f1f23;
    --current: #25252a;
    --strip-bg: #000000;
    --bg-2: #151517;
    --panel: #1d1d22;
    --btn-bg: #ececef;
    --btn-ink: #111113;
    --shadow: 0 1px 2px rgba(0,0,0,.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111113;
  --surface: #19191c;
  --ink: #ececef;
  --ink-2: #b3b4bb;
  --ink-3: #85868f;
  --line: #27272c;
  --line-2: #36363d;
  --red: #f0604d;
  --red-soft: #241413;
  --note-line: #4a2420;
  --note-ink: #f2c3bc;
  --gold-soft: #1c1912;
  --gold-line: #352e1d;
  --gold-rule: #2f291b;
  --gold-ink: #d6b25e;
  --verse-ink: #ebe3cf;
  --mark: rgba(214, 178, 94, .3);
  --header-bg: rgba(17, 17, 19, .85);
  --hover: #1f1f23;
  --current: #25252a;
  --strip-bg: #000000;
  --bg-2: #151517;
  --panel: #1d1d22;
  --btn-bg: #ececef;
  --btn-ink: #111113;
  --shadow: 0 1px 2px rgba(0,0,0,.3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: color .15s, text-decoration-color .15s; }
a:hover { color: var(--red); text-decoration-color: currentColor; }
strong, b { font-weight: 600; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.018em; text-wrap: balance; }
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.65rem, 3vw, 2.25rem); }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 720px; }
.muted { color: var(--ink-3); }
.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 .9em;
}
.eyebrow.alert { color: var(--red); }
[id] { scroll-margin-top: 80px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 100; }
::selection { background: var(--mark); }

/* ---------- Disclaimer strip ---------- */
.disclaimer-strip {
  background: var(--bg-2); color: var(--ink-3); font-size: .76rem; line-height: 1.45;
  text-align: center; padding: 7px 16px; border-bottom: 1px solid var(--line);
}
.disclaimer-strip a { color: var(--ink-2); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; height: 60px; gap: 10px; }
.brand {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.015em;
  text-decoration: none; white-space: nowrap; margin-right: auto;
}
.brand:hover { color: var(--ink); }
.nav { order: 1; display: flex; gap: 2px; }
.theme-toggle { order: 2; }
.nav-toggle { order: 3; }
.nav a {
  position: relative; text-decoration: none; font-size: .88rem; font-weight: 450; color: var(--ink-2);
  padding: 8px 11px;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 1.5px; background: var(--ink);
}
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-2); border-radius: 6px;
  padding: 7px 11px; font: inherit; font-size: .85rem; font-weight: 500; color: var(--ink); cursor: pointer;
}
@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 6px 20px 14px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { font-weight: 600; }
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--ink-2); font-size: 1.06rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 15ch; }
.page-hero p.lede { font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); max-width: 640px; margin: 0; }

/* ---------- HOME: above-the-fold ---------- */
.home-hero { padding: 36px 0 44px; }
.home-grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 0 56px; align-items: start;
  grid-template-areas: "top rec" "rest rec";
}
.alert-top { grid-area: top; padding-top: 4px; }
.alert-rest { grid-area: rest; }
.recognize { grid-area: rec; }
.alert-card h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: .4em; }
.alert-card .stop { font-size: 1.03rem; color: var(--ink-2); margin-bottom: .9em; }
.alert-card .stop b { color: var(--ink); }
.say-no { color: var(--red); font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.aka { margin: -4px 0 18px; padding: 0; list-style: none; font-size: .92rem; color: var(--ink); font-weight: 500; line-height: 1.7; }
.aka li { display: inline; white-space: nowrap; }
.aka li:not(:last-child)::after { content: "·"; margin: 0 .3em 0 .55em; color: var(--ink-3); }
.allegations { list-style: none; margin: 0 0 12px; padding: 0; border-top: 1px solid var(--line); }
.allegations li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }
.allegations li strong { color: var(--ink); }
.text-link { font-size: .9rem; font-weight: 500; }

.recognize { border-top: 2px solid var(--ink); padding-top: 18px; }
.recognize h2 { font-size: 1.45rem; margin-bottom: 10px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li {
  counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 6px;
  padding: 10px 0; border-top: 1px solid var(--line); font-size: .92rem; line-height: 1.5; color: var(--ink-2);
}
.steps li:first-child { border-top: 0; padding-top: 2px; }
.steps li::before {
  content: counter(s); font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; color: var(--red); font-weight: 500;
}
.steps b { color: var(--ink); }
.recognize .foot { margin: 12px 0 0; font-size: .86rem; color: var(--ink-3); }

@media (max-width: 960px) {
  .home-grid { grid-template-columns: 1fr; grid-template-areas: "top" "rec" "rest"; }
  .recognize { margin: 6px 0 28px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  section { padding: 56px 0; }
  .page-hero { padding: 44px 0 32px; }
  .home-hero { padding-top: 20px; }
  .alert-top h1 { font-size: 1.85rem; }
  .alert-top .stop { font-size: .96rem; }
  .alert-top .eyebrow { margin-bottom: .4em; }
  .steps li { font-size: .88rem; padding: 8px 0; }
  .disclaimer-strip { font-size: .7rem; padding: 5px 12px; }
  .disclaimer-strip .long { display: none; }
}

/* ---------- Grids & "cards" (flat, rule-topped) ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 28px; } }
.card { border-top: 1px solid var(--line-2); padding-top: 16px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.card.boxed { border: 1px solid var(--line); border-radius: 6px; padding: 20px 22px; background: var(--surface); }
.card.link-card { text-decoration: none; display: block; }
.card.link-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; letter-spacing: -0.015em; transition: color .15s; }
.card.link-card:hover { color: inherit; border-top-color: var(--ink); }
.card.link-card:hover h3 { color: var(--red); }
.card .arrow { display: inline-block; margin-top: 10px; font-weight: 500; font-size: .88rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }

/* ---------- Figures / evidence ---------- */
figure { margin: 0; }
.evidence { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.evidence img { width: 100%; cursor: zoom-in; background: #fff; }
.evidence figcaption { padding: 9px 12px; font-size: .8rem; color: var(--ink-3); border-top: 1px solid var(--line); }
.evidence figcaption a { color: var(--ink-2); }
.court figcaption::before {
  content: "Court filing"; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-right: 8px;
}

/* ---------- Statement (replaces the dark box) ---------- */
.callout { border-top: 2px solid var(--ink); padding-top: 28px; max-width: 860px; }
.callout h2 { font-size: clamp(2rem, 4vw, 2.9rem); max-width: 18ch; }
.callout p { color: var(--ink-2); font-size: 1.12rem; max-width: 680px; }
.callout p strong { color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }
.note {
  border-left: 2px solid var(--red); padding: 4px 0 4px 16px; font-size: .92rem; color: var(--ink-2);
}
.note strong { color: var(--ink); }

/* ---------- Lists ---------- */
.tactics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; list-style: none; padding: 0; margin: 0; }
.tactics li { padding: 16px 0; border-top: 1px solid var(--line); }
.tactics li b { display: block; margin-bottom: 3px; }
.tactics li span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 760px) { .tactics { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 120px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.timeline > li { display: grid; grid-template-columns: 120px 1fr; gap: 0 40px; padding: 0 0 44px; position: relative; }
.timeline > li::before {
  content: ""; position: absolute; left: 116px; top: 9px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--ink);
}
.timeline > li.key::before { border-color: var(--red); background: var(--red); }
.tl-date { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; padding-right: 22px; text-align: right; color: var(--ink); }
.timeline > li.key .tl-date { color: var(--red); }
.tl-body { max-width: 700px; }
.tl-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin-bottom: .35em; }
.tl-body p { color: var(--ink-2); margin-bottom: .7em; }
.tl-body .evidence { max-width: 520px; margin-top: 14px; }
.tl-pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 640px; margin-top: 14px; }
.tl-pics .evidence { margin-top: 0; }
.name-chain { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 26px 0 0; font-family: var(--serif); font-size: 1.4rem; }
.name-chain span.eq { color: var(--ink-3); font-size: 1rem; }
.name-chain span.n.now { color: var(--red); }
@media (max-width: 680px) {
  .timeline::before { left: 4px; }
  .timeline > li { grid-template-columns: 1fr; padding-left: 28px; }
  .timeline > li::before { left: 0; }
  .tl-date { text-align: left; padding: 0 0 4px; font-size: 1.15rem; }
  .tl-pics { grid-template-columns: 1fr; }
}

/* ---------- Topic blocks (why it's a cult) ---------- */
.topic { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.topic + .topic { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line); }
.topic .num { font-family: var(--serif); color: var(--red); font-size: 1.05rem; margin-bottom: 8px; }
.topic p { color: var(--ink-2); }
.topic .stack { display: grid; gap: 14px; }
.topic ul { color: var(--ink-2); }
@media (max-width: 900px) { .topic { grid-template-columns: 1fr; gap: 22px; } }
.toc { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 28px; font-size: .9rem; }
.toc a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); }
.toc a:hover { color: var(--red); }

/* ---------- Doctrine page ---------- */
.doctrine { padding: 56px 0; border-top: 1px solid var(--line); }
.doctrine:first-of-type { border-top: 0; }
.doctrine h2 { margin-bottom: 22px; }
.compare { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; gap: 24px; } }
.claim { border-top: 2px solid var(--red); padding-top: 14px; }
.claim .label, .truth .label {
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; display: block;
}
.claim .label { color: var(--red); }
.claim p { margin: 0; color: var(--ink-2); }
.claim p + p { margin-top: .8em; }
.claim .evidence, .claim .quote-block { margin-top: 16px; }
.truth {
  background: var(--gold-soft); border-top: 2px solid var(--gold-ink);
  border-radius: 0 0 6px 6px; padding: 14px 24px 8px;
}
.truth .label { color: var(--gold-ink); }
.truth > p { margin: 0 0 10px; font-weight: 500; color: var(--ink); }
.verse { margin: 0; padding: 14px 0; border-top: 1px solid var(--gold-rule); }
.verse p { font-family: var(--serif); font-size: 1.16rem; line-height: 1.55; margin: 0 0 6px; color: var(--verse-ink); }
.verse p b, .verse p strong { font-weight: 600; background: linear-gradient(transparent 64%, var(--mark) 64%); }
.verse cite { font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--gold-ink); }
.quote-block {
  font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; border-left: 2px solid var(--red);
  padding: 2px 0 2px 18px; margin: 16px 0; color: var(--ink);
}
.quote-block cite { display: block; font-family: var(--sans); font-style: normal; font-size: .8rem; color: var(--ink-3); margin-top: 8px; line-height: 1.5; }
.fruit { columns: 2; padding-left: 18px; margin: 10px 0 0; color: var(--ink); }
.doctrine-nav { position: sticky; top: 60px; z-index: 10; background: var(--header-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.doctrine-nav .wrap { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.doctrine-nav .wrap::-webkit-scrollbar { display: none; }
.doctrine-nav a {
  flex: 0 0 auto; text-decoration: none; font-size: .85rem; color: var(--ink-3);
  padding: 13px 0 11px; border-bottom: 1.5px solid transparent;
}
.doctrine-nav a:hover { color: var(--ink); }
.doctrine-nav a.active { color: var(--ink); border-bottom-color: var(--red); }
.doctrine-nav ~ .wrap [id] { scroll-margin-top: 120px; }

/* ---------- Paper trail ---------- */
.posts { list-style: none; margin: 0; padding: 0; counter-reset: post; }
.post {
  counter-increment: post; display: grid; grid-template-columns: 52px 1fr; gap: 20px;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.post::before {
  content: counter(post, decimal-leading-zero); font-family: var(--serif); font-size: 1.15rem; color: var(--ink-3);
  line-height: 1.6; font-variant-numeric: tabular-nums;
}
.post .meta { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.post .meta span { color: var(--ink-3); font-weight: 500; }
.post h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; letter-spacing: -0.015em; margin-bottom: .4em; }
.post h3 a { text-decoration: none; }
.post h3 a:hover { color: var(--red); }
.post p { color: var(--ink-2); margin-bottom: .7em; max-width: 680px; }
.post .go { font-size: .86rem; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.post .go:hover { color: var(--red); text-decoration-color: currentColor; }
.post .domain { font-size: .8rem; color: var(--ink-3); margin-left: 10px; }
.trail-group { margin-top: 72px; }
.trail-group > h2 { font-size: 1.7rem; margin-bottom: 6px; }
.trail-group > p { color: var(--ink-2); margin-bottom: 10px; }
.archive { columns: 2; gap: 40px; padding-left: 18px; color: var(--ink-2); font-size: .95rem; }
.archive li { margin-bottom: 8px; break-inside: avoid; }
@media (max-width: 640px) {
  .post { grid-template-columns: 1fr; gap: 2px; }
  .archive, .fruit { columns: 1; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; font-size: .93rem;
  padding: 11px 18px; border-radius: 6px; background: var(--btn-bg); color: var(--btn-ink); border: 1px solid var(--btn-bg);
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 56px; font-size: .88rem; color: var(--ink-3); background: var(--bg-2); }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { text-decoration: none; color: var(--ink-2); }
.site-footer a:hover { color: var(--red); }
.site-footer .brand { color: var(--ink); }
.site-footer .legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .78rem; line-height: 1.6; max-width: 900px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > div:first-child { grid-column: 1 / -1; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(10,10,12,.9); display: none; z-index: 200;
  align-items: center; justify-content: center; padding: 24px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; object-fit: contain; border-radius: 4px; background: #fff; }

/* ---------- Letter ---------- */
.letter { font-family: var(--serif); font-size: 1.25rem; line-height: 1.65; }
.letter p { margin-bottom: 1em; }
.letter .sig { font-style: italic; color: var(--ink-2); }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

/* ---------- Theme toggle: glass knob, dot-matrix sun / moon ---------- */
.theme-toggle {
  --w: 56px; --h: 32px; --k: 26px;
  --track: #e6e3dc;
  --track-shadow: inset 0 1px 3px rgba(0,0,0,.14), inset 0 0 0 1px rgba(0,0,0,.05);
  --knob: linear-gradient(180deg, #ffffff, #f1efea);
  --knob-shadow: 0 1px 2px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.08), inset 0 0 0 1px rgba(255,255,255,.9);
  --knob-x: calc(var(--w) - var(--k) - 6px);
  --sun-o: 1; --sun-t: none; --off-o: .05;
  --moon-o: 0; --moon-t: rotate(-40deg) scale(.6);
  position: relative; width: var(--w); height: var(--h); flex: 0 0 auto; margin-left: 6px;
  padding: 0; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--track); box-shadow: var(--track-shadow);
  transition: background .35s ease, box-shadow .35s ease;
}
:root[data-theme="dark"] .theme-toggle {
  --track: #08080a;
  --track-shadow: inset 0 2px 5px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.06);
  --knob: linear-gradient(180deg, #46464e, #232328);
  --knob-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 1px 0 rgba(255,255,255,.2),
                 0 5px 10px -2px rgba(118,128,255,.8), 0 2px 16px rgba(118,128,255,.35);
  --knob-x: 0px;
  --sun-o: 0; --sun-t: rotate(40deg) scale(.6);
  --moon-o: 1; --moon-t: none; --off-o: .13;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle {
    --track: #08080a;
    --track-shadow: inset 0 2px 5px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.06);
    --knob: linear-gradient(180deg, #46464e, #232328);
    --knob-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 1px 0 rgba(255,255,255,.2),
                   0 5px 10px -2px rgba(118,128,255,.8), 0 2px 16px rgba(118,128,255,.35);
    --knob-x: 0px;
    --sun-o: 0; --sun-t: rotate(40deg) scale(.6);
    --moon-o: 1; --moon-t: none; --off-o: .13;
  }
}
.theme-toggle:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.theme-toggle .knob {
  position: absolute; top: 3px; left: 3px; width: var(--k); height: var(--k); border-radius: 8px;
  display: grid; place-items: center;
  background: var(--knob); box-shadow: var(--knob-shadow);
  transform: translateX(var(--knob-x));
  transition: transform .45s cubic-bezier(.65,0,.25,1.15), box-shadow .35s ease;
}
.theme-toggle .px { position: absolute; width: 16px; height: 16px; transition: opacity .25s ease, transform .45s ease; }
.theme-toggle .px .off { fill: currentColor; opacity: var(--off-o); }
.theme-toggle .px .on { fill: currentColor; }
.theme-toggle .sun { color: #2a2a2e; opacity: var(--sun-o); transform: var(--sun-t); }
.theme-toggle .moon { color: #f4f4ff; opacity: var(--moon-o); transform: var(--moon-t); }
@media (prefers-reduced-motion: reduce) {
  .theme-toggle, .theme-toggle * { transition: none !important; }
}

/* ============================================================
   HOME: high-attention treatment (homepage only)
   ============================================================ */
.home .say-no {
  display: inline-block; background: var(--red); color: #fff; font-weight: 750; letter-spacing: .02em;
  padding: 1px 8px; border-radius: 4px; white-space: nowrap;
}
.home .names-line { font-size: .95rem; color: var(--ink-2); margin: 0 0 16px; }
.home .names-line b { color: var(--ink); font-weight: 600; }
.home .allegations li { position: relative; padding-left: 20px; }
.home .allegations li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 7px; height: 7px; border-radius: 1px; background: var(--red);
}
.home .recognize {
  background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--red);
  border-radius: 8px; padding: 20px 22px 16px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 30px -12px rgba(0,0,0,.12);
}
.home .recognize h2 {
  font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.home .steps li { grid-template-columns: 30px 1fr; gap: 10px; }
.home .steps li::before {
  width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-family: var(--sans); font-size: .75rem; font-weight: 700; line-height: 1; margin-top: 1px;
}

/* Dark statement panel (stays dark in both themes) */
.callout.dark {
  background: #16161a; color: #f2f2f4; border: 1px solid var(--line); border-radius: 10px;
  padding: 44px 48px; max-width: none;
}
.callout.dark .eyebrow { color: #ff8a80; }
.callout.dark h2 { color: #fff; }
.callout.dark p { color: #c9c9d1; }
.callout.dark p strong { color: #fff; }
.callout.dark .sig { font-family: var(--serif); font-style: italic; color: #a9a9b3; margin-top: 4px; }
.btn.invert { background: #fff; color: #16161a; border-color: #fff; }
.btn.invert:hover { background: var(--red); border-color: var(--red); color: #fff; }
:root[data-theme="dark"] .callout.dark { background: #1c1c21; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .callout.dark { background: #1c1c21; } }
@media (max-width: 600px) { .callout.dark { padding: 28px 22px; } }

/* Compact explore row */
.explore h2 { margin-bottom: 22px; }
.explore-links { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.explore-links a {
  display: block; text-decoration: none; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line);
}
.explore-links a + a { padding-left: 16px; border-left: 1px solid var(--line); }
.explore-links b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; margin-bottom: 4px; }
.explore-links span { font-size: .85rem; color: var(--ink-3); }
.explore-links a:hover b { color: var(--red); }
@media (max-width: 900px) {
  .explore-links { grid-template-columns: 1fr 1fr; }
  .explore-links a, .explore-links a + a { padding: 14px 12px 14px 0; border-left: 0; }
}

/* ---------- Locations map (shared by homepage and map page) ---------- */
#map { height: 600px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); z-index: 0; }
@media (max-width: 600px) { #map { height: 420px; } }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: .82rem; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; }
.dot.church { background: var(--red); }
.dot.campus { background: transparent; border: 2.5px solid var(--red); }
.dot.venue { background: var(--ink-2); width: 8px; height: 8px; }
.loc-filter { display: flex; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; margin-bottom: 8px; }
.loc-filter button { flex: 1; background: none; border: 0; font: inherit; font-size: .82rem; font-weight: 500; color: var(--ink-2); padding: 8px 6px; cursor: pointer; }
.loc-filter button + button { border-left: 1px solid var(--line-2); }
.loc-filter button.on { background: var(--btn-bg); color: var(--btn-ink); }
.map-views { max-width: 360px; }
.leaflet-container { font-family: var(--sans); }
.leaflet-popup-content { font-family: var(--sans); font-size: .85rem; line-height: 1.45; margin: 12px 14px; }
.leaflet-popup-content b { font-size: .95rem; }
.leaflet-popup-content .t { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #b42318; margin-bottom: 2px; }
.leaflet-popup-content a { color: #16161a; }
.osm-tiles { filter: grayscale(1) contrast(.92) brightness(1.04); }
:root[data-theme="dark"] .osm-tiles { filter: grayscale(1) invert(1) contrast(.85) brightness(.82); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .osm-tiles { filter: grayscale(1) invert(1) contrast(.85) brightness(.82); } }

/* Homepage map section */
.home-map .map-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 20px; }
.home-map .map-head p { color: var(--ink-2); margin: 0; max-width: 560px; }
.home-map .map-head h2 { margin-bottom: .3em; }
.home-map .map-views { margin: 0; flex: 0 0 auto; width: 340px; max-width: 100%; }
.home-map #map { height: 480px; }
@media (max-width: 600px) { .home-map #map { height: 380px; } }
.home-map .map-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; margin-top: 10px; }
.home-map .map-foot .legend { margin-top: 0; }
.home-map .map-foot a { font-size: .9rem; font-weight: 500; }
/* close hairline seams between tinted tiles */
.osm-tiles .leaflet-tile { width: 256.6px !important; height: 256.6px !important; }

/* Homepage: full-width court excerpt as a page break */
.court-break { padding: 56px 0; }
.court-break .evidence { border-radius: 6px; }
.court-break .evidence img { width: 100%; }
.court-break figcaption { font-size: .85rem; padding: 12px 16px; }

/* Why it's a cult: screenshot on top, larger; text underneath */
.topic { grid-template-columns: 1fr; gap: 22px; max-width: 920px; }
.topic > .stack { order: -1; }
.topic > .stack.aside { order: 0; max-width: 680px; }
.topic > div:not(.stack) { max-width: 720px; }

/* False doctrine: author's response sits with the claim; scripture panel holds only verses */
.claim .response { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.claim .response p { font-family: var(--serif); font-size: 1.22rem; line-height: 1.45; color: var(--ink); font-weight: 500; }
.claim .evidence + p, .claim .evidence { margin-top: 14px; }
.truth .label { margin-bottom: 4px; }
/* emphasis in verses: plain underline in the text colour (no highlight) */
.verse p b, .verse p strong {
  font-weight: inherit; background: none;
  text-decoration: underline; text-decoration-color: currentColor;
  text-decoration-thickness: 1px; text-underline-offset: 3px;
}

/* Paper trail: clickable article screenshots */
.trail-grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 36px; }
@media (max-width: 680px) { .trail-grid { grid-template-columns: 1fr; gap: 32px; } }
.trail-card { counter-increment: card; }
.trail-card .shot {
  display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border: 1px solid var(--line); border-radius: 6px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.trail-card .shot img { width: 100%; height: auto; }
.trail-card .shot::before {
  content: counter(card, decimal-leading-zero); position: absolute; right: 10px; bottom: 10px; z-index: 1;
  font: 600 .72rem/1 var(--sans); letter-spacing: .06em; color: #fff; background: rgba(22,22,26,.82);
  padding: 5px 7px; border-radius: 4px;
}
.trail-card .shot:hover { border-color: var(--ink); box-shadow: 0 6px 20px -10px rgba(0,0,0,.35); }
.trail-card .cap { margin: 12px 0 2px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; }
.trail-card .cap a { text-decoration: none; }
.trail-card .cap a:hover { color: var(--red); }
.trail-card .pub { font-family: var(--sans); font-size: .9rem; color: var(--ink-2); }
.trail-card .when { margin: 0; font-size: .8rem; color: var(--ink-3); }
.trail-more { margin: 28px 0 0; padding-left: 18px; color: var(--ink-2); }
.trail-more li { margin-bottom: 6px; }
