/* Institute for Monohippic Research — shared design system.
   Page agents: do not edit this file. Add page-specific rules in /assets/css/pages/<page>.css
   and list them in the page's meta "styles". Component reference: docs/STYLE.md */

:root {
  --cream: #f1eee5;
  --cream-2: #e8e3d6;
  --cream-3: #ddd6c5;
  --paper: #faf8f2;
  --ink: #172019;
  --ink-2: #364138;
  --muted: #5d675f;
  --rule: #d6cfbe;
  --rule-strong: #b9b09b;
  --forest: #0d1813;
  --forest-2: #16251d;
  --forest-3: #223529;
  --on-dark: #f3f1e8;
  --on-dark-2: #b9c6bc;
  --sage: #8fb59b;
  --green: #2c5a40;
  --green-2: #3d7656;
  --oxblood: #7c2230;
  --oxblood-2: #a3303f;
  --brass: #a8864a;
  --highlight: #f3e3a6;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --type: "Special Elite", "Courier New", monospace;

  --wrap: 1180px;
  --narrow: 760px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --shadow: 0 1px 0 rgba(23, 32, 25, .04), 0 18px 40px -24px rgba(23, 32, 25, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--oxblood); }
:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 2px; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
::selection { background: var(--highlight); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); letter-spacing: -.03em; line-height: .98; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.15rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
li { margin-bottom: .35em; }
small, .small { font-size: .85rem; }
strong { font-weight: 600; }
blockquote { margin: 0; }
sup { line-height: 0; font-size: .7em; }
sup a { text-decoration: none; font-family: var(--sans); font-weight: 600; }

/* ---------- utilities ---------- */
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--narrow); margin-left: auto; margin-right: auto; }
.prose { max-width: 68ch; }
.prose > * + h2 { margin-top: 2.2em; }
.prose > * + h3 { margin-top: 1.8em; }
.center { text-align: center; }
.center .prose, .prose.center { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.sans { font-family: var(--sans); }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--on-dark); padding: 8px 14px; font-family: var(--sans); }
.skip-link:focus { left: 8px; }

.eyebrow {
  display: block; margin: 0 0 1rem;
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--green);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--sage); }
.lede { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.5; color: var(--ink-2); }
.section--dark .lede, .hero .lede { color: var(--on-dark-2); }
.label { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.figure-num { font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- advisory strip ---------- */
.advisory { background: var(--forest); color: var(--on-dark-2); font-family: var(--mono); font-size: .76rem; line-height: 1.4; }
.advisory__inner { display: flex; gap: 14px; align-items: center; padding-top: 7px; padding-bottom: 7px; min-height: 32px; }
.advisory__label { flex: none; color: var(--forest); background: var(--sage); padding: 1px 7px; font-family: var(--sans); font-weight: 700; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.advisory__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(241, 238, 229, .94); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--rule); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand:hover { color: var(--ink); }
.brand__seal { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: .01em; line-height: 1.15; }
.brand__sub { font-family: var(--sans); font-size: .72rem; color: var(--muted); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.horse-count { flex: none; font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--ink); padding: 7px 11px; color: var(--ink); text-decoration: none; background: var(--paper); }
.horse-count:hover { background: var(--ink); color: var(--on-dark); }
.horse-count b { font-family: var(--mono); font-size: .85rem; letter-spacing: 0; }

.site-nav { border-top: 1px solid var(--rule); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; justify-content: flex-start; }
.site-nav li { margin: 0; }
.site-nav a { display: inline-block; padding: 11px 0 10px; font-family: var(--sans); font-size: .9rem; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--rule-strong); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--green); font-weight: 600; }
.site-nav .site-nav__report { margin-left: auto; }
.site-nav .site-nav__report a { color: var(--oxblood); font-weight: 600; }
.nav-toggle { display: none; align-items: center; gap: 8px; background: none; border: 1px solid var(--ink); padding: 8px 12px; font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 16px; height: 2px; background: currentColor; position: relative; content: ""; }
.nav-toggle__bars::before { position: absolute; top: -5px; } .nav-toggle__bars::after { position: absolute; top: 5px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .horse-count { display: none; }
  .brand__sub { display: none; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 6px 0 14px; }
  .site-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--green); }
  .site-nav .site-nav__report { margin-left: 0; }
}

/* ---------- sections ---------- */
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--alt { background: var(--cream-2); }
.section--rule { border-top: 1px solid var(--rule); }
.section--dark { background: var(--forest); color: var(--on-dark); }
.section--dark a { color: var(--sage); }
.section--dark a:hover { color: var(--on-dark); }
.section-head { max-width: 820px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--ink-2); font-size: 1.2rem; }
.section--dark .section-head p { color: var(--on-dark-2); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    repeating-linear-gradient(96deg, rgba(255,255,255,.018) 0 2px, transparent 2px 7px),
    linear-gradient(160deg, var(--forest-3) 0%, var(--forest) 55%);
  padding: clamp(64px, 10vw, 140px) 0 clamp(56px, 8vw, 110px);
}
.hero h1 { color: var(--on-dark); max-width: 14ch; }
.hero .lede { max-width: 38ch; }
.hero--page { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero--page h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 20ch; }
.hero--light { background: var(--cream); color: var(--ink); border-bottom: 1px solid var(--rule); }
.hero--light h1 { color: var(--ink); }
.hero--light .lede { color: var(--ink-2); }
.hero--light .eyebrow { color: var(--green); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; font-family: var(--mono); font-size: .8rem; color: var(--on-dark-2); }
.hero--light .hero__meta { color: var(--muted); }

/* ---------- buttons & choices ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border: 1px solid currentColor; background: transparent; color: var(--ink); font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; border-radius: var(--radius); transition: background .15s, color .15s; }
.btn:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.btn--solid { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.btn--solid:hover { background: var(--oxblood); border-color: var(--oxblood); color: #fff; }
.btn--danger { background: var(--oxblood); border-color: var(--oxblood); color: #fff; }
.btn--danger:hover { background: var(--ink); border-color: var(--ink); }
.section--dark .btn, .hero .btn { color: var(--on-dark); }
.section--dark .btn:hover, .hero .btn:hover { background: var(--on-dark); color: var(--forest); border-color: var(--on-dark); }
.btn--small { padding: 8px 12px; font-size: .7rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { min-width: 44px; padding: 10px 14px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; border-radius: var(--radius); }
.choice:hover { background: var(--cream-2); }
.choice[aria-pressed="true"], .choice.is-selected { background: var(--ink); color: var(--on-dark); }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .field .label { font-family: var(--sans); font-size: .8rem; font-weight: 600; color: var(--ink-2); }
input[type="text"], input[type="number"], input[type="date"], input[type="time"], select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--rule-strong); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); font: 1rem/1.4 var(--sans);
}
textarea { min-height: 120px; resize: vertical; }
input[type="range"] { width: 100%; accent-color: var(--green); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--green); width: 18px; height: 18px; }
.check { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: .95rem; margin-bottom: 10px; cursor: pointer; }

/* ---------- layout grids ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
.with-sidebar { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-2, .grid-3, .split, .with-sidebar { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- cards & panels ---------- */
.card { background: var(--paper); border: 1px solid var(--rule); padding: clamp(20px, 2.4vw, 30px); border-radius: var(--radius); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card--link { display: block; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.card--link:hover { color: inherit; border-color: var(--ink); transform: translateY(-2px); }
.card__meta { font-family: var(--sans); font-size: .78rem; color: var(--muted); margin-bottom: .6em; }
.section--dark .card { background: var(--forest-2); border-color: var(--forest-3); color: var(--on-dark); }

.panel { background: var(--paper); border: 1px solid var(--rule-strong); box-shadow: var(--shadow); }
.panel__bar { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--rule-strong); background: var(--cream); font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.panel__body { padding: clamp(18px, 3vw, 34px); }
.panel__foot { padding: 14px 16px; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: .85rem; color: var(--muted); }
.result { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--green); background: var(--cream); font-family: var(--sans); font-size: .95rem; }
.result--bad { border-left-color: var(--oxblood); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.stat { background: var(--paper); padding: 22px 20px; }
.stat__n { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.03em; margin-bottom: 8px; }
.stat__label { display: block; font-family: var(--sans); font-size: .8rem; color: var(--muted); line-height: 1.35; }
.section--dark .stats { background: var(--forest-3); border-color: var(--forest-3); }
.section--dark .stat { background: var(--forest-2); }
.section--dark .stat__label { color: var(--on-dark-2); }

/* ---------- quotes ---------- */
.quote { border-left: 3px solid var(--green); background: rgba(255,255,255,.45); padding: 22px 26px; }
.quote p { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; margin-bottom: .6em; }
.quote footer, .quote__by { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; font-family: var(--sans); font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.quote cite { font-style: normal; font-weight: 700; color: var(--ink-2); }
.pullquote { font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.2; letter-spacing: -.02em; max-width: 26ch; }
.section--dark .quote { background: var(--forest-2); border-left-color: var(--sage); }
.section--dark .quote footer { color: var(--on-dark-2); }
.section--dark .quote cite { color: var(--on-dark); }

/* ---------- figures & tables ---------- */
.fig { margin: 2rem 0; }
.fig img, .fig svg { width: 100%; background: var(--paper); border: 1px solid var(--rule); }
.fig--bare img, .fig--bare svg { border: 0; background: none; }
.fig figcaption { margin-top: 10px; font-family: var(--sans); font-size: .85rem; line-height: 1.45; color: var(--muted); }
.fig figcaption .figure-num { color: var(--ink); margin-right: 6px; }
.chart { font-family: var(--sans); }
.chart text { font-family: var(--sans); fill: var(--ink-2); font-size: 12px; }

.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.data-table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .9rem; background: var(--paper); }
.data-table caption { text-align: left; padding: 0 0 8px; font-size: .85rem; color: var(--muted); }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.data-table thead th { border-bottom: 2px solid var(--ink); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.data-table td.num, .data-table th.num { text-align: right; font-family: var(--mono); }
.data-table tbody tr:hover { background: var(--cream); }

/* ---------- callouts, stamps, redaction, tags ---------- */
.callout { border: 1px solid var(--rule-strong); border-left: 4px solid var(--green); background: var(--paper); padding: 18px 22px; margin: 1.6rem 0; font-size: 1rem; }
.callout__title { display: block; font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; color: var(--green); }
.callout--warning { border-left-color: var(--oxblood); }
.callout--warning .callout__title { color: var(--oxblood); }
.callout p:last-child { margin-bottom: 0; }
.stamp { display: inline-block; padding: 6px 12px; border: 3px double var(--oxblood); color: var(--oxblood); font-family: var(--sans); font-weight: 800; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; transform: rotate(-6deg); opacity: .88; mix-blend-mode: multiply; }
.stamp--green { border-color: var(--green); color: var(--green); }
.redacted { background: var(--ink); color: transparent; padding: 0 .15em; border-radius: 1px; user-select: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tag { display: inline-block; padding: 2px 8px; border: 1px solid var(--rule-strong); border-radius: 999px; font-family: var(--sans); font-size: .72rem; font-weight: 600; color: var(--ink-2); background: var(--paper); white-space: nowrap; }
.tag--green { border-color: var(--green); color: var(--green); }
.tag--red { border-color: var(--oxblood); color: var(--oxblood); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- people ---------- */
.person { display: grid; gap: 14px; align-content: start; }
.person__photo { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: var(--cream-3); border: 1px solid var(--rule); }
.person__name { font-size: 1.35rem; margin: 0; }
.person__role { font-family: var(--sans); font-size: .82rem; font-weight: 600; color: var(--green); margin: 2px 0 8px; }
.person__bio { font-size: 1rem; color: var(--ink-2); }
.person--row { grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 640px) { .person--row { grid-template-columns: minmax(0, 1fr); } .person--row .person__photo { max-width: 260px; } }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--rule); }
.byline { display: flex; align-items: center; gap: 14px; font-family: var(--sans); font-size: .9rem; }

/* ---------- research papers ---------- */
.paper-head { border-bottom: 1px solid var(--rule); padding-bottom: 28px; margin-bottom: 32px; }
.paper-head h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; max-width: 24ch; }
.paper-authors { font-family: var(--sans); font-size: .98rem; margin-bottom: 6px; }
.paper-meta { font-family: var(--mono); font-size: .78rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.abstract { background: var(--paper); border: 1px solid var(--rule); padding: 22px 26px; margin-bottom: 2rem; font-size: 1.02rem; }
.abstract h2 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6em; }
.keywords { font-family: var(--sans); font-size: .85rem; color: var(--muted); }
.paper-body h2 { font-size: 1.55rem; letter-spacing: -.01em; margin-top: 2.2em; }
.paper-body h3 { font-size: 1.2rem; margin-top: 1.6em; }
.toc { position: sticky; top: 130px; font-family: var(--sans); font-size: .85rem; }
.toc ol, .toc ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--rule); }
.toc li { margin: 0; }
.toc a { display: block; padding: 5px 0 5px 14px; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--oxblood); }
@media (max-width: 760px) { .toc { position: static; } }
.footnotes { border-top: 1px solid var(--rule); margin-top: 3rem; padding-top: 1.2rem; font-size: .9rem; color: var(--ink-2); }
.footnotes ol { padding-left: 1.4em; }
.references { font-size: .92rem; padding-left: 1.6em; }
.references li { margin-bottom: .6em; }
.equation { font-family: var(--serif); font-style: italic; font-size: 1.25rem; text-align: center; padding: 14px; margin: 1.4rem 0; background: var(--paper); border: 1px solid var(--rule); overflow-x: auto; }
.equation .eq-num { float: right; font-style: normal; font-family: var(--mono); font-size: .85rem; color: var(--muted); }

.paper-list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.paper-item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.paper-item__id { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.paper-item h3 { font-size: 1.35rem; margin-bottom: .3em; }
.paper-item h3 a { color: var(--ink); text-decoration: none; }
.paper-item h3 a:hover { color: var(--oxblood); text-decoration: underline; }
@media (max-width: 640px) { .paper-item { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* ---------- testimony ---------- */
.transcript { font-family: var(--serif); }
.transcript .exchange { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 18px; padding: 12px 0; border-bottom: 1px dotted var(--rule-strong); }
.transcript .speaker { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding-top: 4px; }
.transcript .exchange p:last-child { margin-bottom: 0; }
.transcript .stage { font-style: italic; color: var(--muted); padding: 12px 0; border-bottom: 1px dotted var(--rule-strong); }
@media (max-width: 640px) { .transcript .exchange { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.doc { position: relative; background: #fbfaf4; border: 1px solid var(--rule-strong); box-shadow: var(--shadow); padding: clamp(26px, 5vw, 56px); font-family: var(--type); font-size: 1rem; line-height: 1.75; color: #24231f; }
.doc::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.018) 0 1px, transparent 1px 3px); }
.doc h2, .doc h3 { font-family: var(--type); font-weight: 400; letter-spacing: .02em; }
.doc .stamp { position: absolute; right: 28px; top: 28px; }
.doc .signature { font-family: var(--serif); font-style: italic; font-size: 1.6rem; margin: 1.4rem 0 .2rem; }

/* ---------- timeline ---------- */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 120px; top: 0; bottom: 0; width: 1px; background: var(--rule-strong); }
.timeline-item { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 36px; padding: 0 0 48px; margin: 0; }
.timeline-item::before { content: ""; position: absolute; left: 115px; top: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--cream); border: 2px solid var(--green); }
.timeline-item__date { font-family: var(--mono); font-size: .85rem; font-weight: 600; color: var(--ink-2); text-align: right; padding-right: 6px; padding-top: 4px; }
@media (max-width: 640px) {
  .timeline::before { left: 6px; }
  .timeline-item { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-left: 30px; }
  .timeline-item::before { left: 1px; }
  .timeline-item__date { text-align: left; }
}

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--rule); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative; font-size: 1.25rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--sans); font-size: 1.4rem; color: var(--green); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 18px; color: var(--ink-2); }

/* ---------- breadcrumbs & page nav ---------- */
.crumbs { font-family: var(--sans); font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.hero .crumbs, .hero .crumbs a { color: var(--on-dark-2); }
.hero--light .crumbs, .hero--light .crumbs a { color: var(--muted); }
.pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--rule); padding-top: 24px; margin-top: 48px; font-family: var(--sans); font-size: .9rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--forest); color: var(--on-dark-2); padding: 72px 0 28px; font-family: var(--sans); font-size: .92rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--sage); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__brand img { width: 84px; height: 84px; margin-bottom: 14px; }
.site-footer__motto { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--on-dark); margin-bottom: 8px; }
.site-footer__boiler { max-width: 40ch; line-height: 1.55; }
.site-footer__h { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--forest-3); font-size: .8rem; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- print ---------- */
@media print {
  .advisory, .site-header, .site-footer, .btn, .toc { display: none !important; }
  body { background: #fff; }
  .hero { background: none; color: #000; padding: 0 0 20px; }
  .hero h1, .hero .lede { color: #000; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
