/* ============================================================
   earmark.ag — Bristle brand kit (locked, Claude Design 2026-05)
   Source of truth: brand-kit/tokens.css + brand-kit/HANDOFF.md
   Palette: ink #1F0E08 · cream #FAF0E8 · bristle #D9A296 ·
            oxblood #7A1F12 · moss #1D3A2F · amber = PREVIEW ONLY
   Type: Newsreader (wordmark 600 −0.016em; display + prose) ·
         IBM Plex Mono (labels, receipt, legal)
   Brand reads typographic: radius 2px, hairline rules.
   ============================================================ */

/* Self-hosted fonts (latin subsets) — no third-party requests */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/newsreader.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/newsreader-italic.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plex-mono-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/plex-mono-600.woff2") format("woff2");
}

:root {
  --ink: #1F0E08;
  --cream: #FAF0E8;
  --paper: #FFFFFF;
  --rule: rgba(31, 14, 8, 0.10);
  --mute: rgba(31, 14, 8, 0.62);
  --bristle: #D9A296;
  --oxblood: #7A1F12;
  --moss: #1D3A2F;
  --cream-rule: rgba(250, 240, 232, 0.18);
  --cream-mute: rgba(250, 240, 232, 0.72);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", "Geist Mono", ui-monospace, monospace;
  --maxw: 1200px;
  --radius: 2px;
  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--bristle); color: var(--ink); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 880px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--cream);
  padding: 10px 18px; font-weight: 600; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.mono { font-family: var(--mono); font-feature-settings: "tnum"; }

.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;
}

/* ---------- wordmark ---------- */
.wm { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wm-text {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.016em;
  color: var(--ink);
  line-height: 1;
}
.wm-text.sm { font-size: 18px; color: var(--cream); }
.wedge { flex-shrink: 0; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  padding: 18px 0;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--rule);
  box-shadow: 0 6px 18px rgba(31, 14, 8, 0.05);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 32px;
}
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  font-family: var(--serif);
  font-size: 14.5px;
  color: var(--ink);
  opacity: 0.78;
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--oxblood); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--serif); font-weight: 600; font-size: 15px;
  padding: 14px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--oxblood); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(31, 14, 8, 0.35);
}
.btn-secondary:hover { border-color: var(--oxblood); color: var(--oxblood); }
.btn-sm { padding: 10px 16px; font-size: 13.5px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- type ---------- */
h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 5.8vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.028em;
  font-weight: 500;
  margin-bottom: 30px;
}
h1 .pop, h2 .pop { color: var(--oxblood); }
.pop-dot { color: var(--bristle); }

h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  font-weight: 500;
  margin-bottom: 24px;
  max-width: 24ch;
}
.center h2 { margin-left: auto; margin-right: auto; }

h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.008em; }

.eyebrow, .section-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 8px;
}
.section-eyebrow.bristle { color: var(--bristle); }

.prose p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.85;
  max-width: 58ch;
}
.prose p + p { margin-top: 18px; }
.prose em { font-style: italic; font-weight: 500; }
.prose.wide p { font-size: 19px; line-height: 1.6; max-width: 62ch; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 84px; border-bottom: 1px solid var(--rule); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 72px;
  align-items: start;
}
.hero-lede {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  color: var(--mute);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-buttons.center { justify-content: center; margin-top: 40px; }
.hero-specs { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 42px; }
.spec-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.spec-v {
  font-family: var(--serif);
  font-size: 13.5px;
  color: var(--ink);
  opacity: 0.78;
  margin-top: 5px;
}

/* ---------- signed receipt artifact ---------- */
.hero-artifact { display: flex; justify-content: flex-end; padding-top: 14px; }
.receipt {
  width: 400px; max-width: 100%;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px 26px;
  font-family: var(--mono);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 12px 36px rgba(31,14,8,0.06);
}
.specimen {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  pointer-events: none;
  user-select: none;
}
.specimen::before {
  content: "Specimen";
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(122, 31, 18, 0.07);
  white-space: nowrap;
}
.receipt-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 1px dashed var(--rule);
}
.receipt-tag { font-size: 10px; letter-spacing: 0.2em; color: var(--ink); opacity: 0.6; }
.receipt-id { font-size: 10px; color: var(--ink); opacity: 0.7; }
.receipt-line {
  display: flex; justify-content: space-between;
  font-size: 11px; line-height: 1.8; color: var(--ink);
}
.receipt-line .k { opacity: 0.6; }
.receipt-foot {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed var(--rule);
  display: flex; align-items: center; gap: 12px;
}
.moss-dot {
  width: 32px; height: 32px;
  background: var(--moss);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.receipt-foot .label { font-size: 10px; letter-spacing: 0.14em; color: var(--moss); font-weight: 600; }
.receipt-foot .meta { font-size: 10px; color: var(--ink); opacity: 0.7; margin-top: 2px; }
.receipt-foot .foot-wedge { margin-left: auto; }

/* ---------- sections ---------- */
.section { padding: 96px 0; border-bottom: 1px solid var(--rule); }

.split-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}

.side-grid {
  display: grid;
  grid-template-columns: 1fr 2.1fr;
  gap: 72px;
  align-items: start;
}
.side-intro {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 380px;
}
.side-intro.on-dark { color: var(--cream-mute); }

/* ---------- record vs evidence rows ---------- */
.row-demo { margin: 0; }
.row-demo + .row-demo { margin-top: 24px; }
.row-tag {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}
.sheet-row {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 8px 24px rgba(31,14,8,0.04);
}
.sheet-row .cell { font-family: var(--mono); font-size: 12px; color: var(--ink); white-space: nowrap; }
.sheet-row .cell.dim { opacity: 0.72; }
.sheet-row.struck::after {
  content: ""; position: absolute; left: 10px; right: 118px; top: 50%;
  height: 1.5px; background: rgba(122, 31, 18, 0.55);
  transform: rotate(-0.6deg);
}
.sheet-row.chained { border-color: rgba(29, 58, 47, 0.35); }

.stamp {
  margin-left: auto;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 9px;
  border: 1.5px solid currentColor;
  border-radius: var(--radius);
  transform: rotate(-4deg);
  flex-shrink: 0;
}
.stamp-ox { color: var(--oxblood); background: rgba(122, 31, 18, 0.04); }
.stamp-moss { color: var(--moss); background: rgba(29, 58, 47, 0.05); font-size: 11px; }

/* ---------- three cards ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 30px 26px;
  transition: border-color 0.2s ease;
}
.card:hover { border-color: var(--bristle); }
.card-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 14px;
}
.card h3 { font-size: 23px; margin-bottom: 10px; }
.card-desc { font-size: 15px; line-height: 1.55; color: var(--ink); opacity: 0.78; max-width: 66ch; }

/* ---------- how it fits ---------- */
.motto {
  margin-top: 38px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--mute);
}
.motto span { color: var(--oxblood); }

/* ---------- deadlines ---------- */
.deadlines { list-style: none; margin-top: 16px; border-top: 1px solid var(--rule); }
.deadlines li {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
.dl-date {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oxblood);
}
.deadlines p { font-size: 16.5px; line-height: 1.55; color: var(--ink); opacity: 0.82; max-width: 68ch; }
.why-close { margin-top: 36px; font-size: 19px; line-height: 1.6; color: var(--mute); max-width: 62ch; }
.why-close strong { color: var(--ink); font-weight: 600; }

/* ---------- honest scope (dark register band) ---------- */
.section.dark {
  background: var(--ink);
  color: var(--cream);
  border-bottom: none;
}
.section.dark h2 { color: var(--cream); }

.legend { display: flex; gap: 18px; align-items: center; margin-top: 22px; }
.legend-item {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream); opacity: 0.78;
}
.legend-dot { width: 8px; height: 8px; border-radius: var(--radius); }
.dot-live { background: var(--cream); }
.dot-road { background: rgba(250, 240, 232, 0.35); }

.scope-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  border: 1px solid var(--cream-rule);
  border-radius: var(--radius);
}
.scope-col { padding: 28px 30px; }
.scope-col + .scope-col { border-left: 1px solid var(--cream-rule); }
.scope-h {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 18px;
}
.scope-h.road { color: rgba(250, 240, 232, 0.5); }
.scope-list { list-style: none; }
.scope-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(250, 240, 232, 0.08);
}
.scope-list li:last-child { border-bottom: none; }
.live-list li { color: var(--cream); opacity: 0.92; }
.live-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 8px;
  color: var(--bristle);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}
.road-list li { color: rgba(250, 240, 232, 0.55); }
.road-list li::before {
  content: "";
  position: absolute; left: 3px; top: 15px;
  width: 6px; height: 6px;
  border-radius: var(--radius);
  background: rgba(250, 240, 232, 0.35);
}

/* ---------- final cta ---------- */
.final { padding: 128px 0; border-bottom: none; }
.final h2 { font-size: clamp(38px, 4.6vw, 60px); max-width: 20ch; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--cream); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-top: 52px;
  padding-bottom: 40px;
}
.foot-blurb {
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--cream-mute);
  max-width: 300px;
  margin-top: 14px;
}
.foot-col-head {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream); opacity: 0.55;
  margin-bottom: 14px;
}
.foot-col a {
  display: block;
  font-family: var(--serif);
  font-size: 13.5px;
  color: var(--cream);
  opacity: 0.78;
  margin-bottom: 7px;
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s;
}
.foot-col a:hover { opacity: 1; color: var(--bristle); }
.legalstrip {
  border-top: 1px dashed var(--cream-rule);
  padding: 18px 32px;
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 240, 232, 0.55);
}

/* ---------- writing index ---------- */
.page-head { padding: 72px 0 0; }
.writing-list { list-style: none; border-top: 1px solid var(--rule); margin-top: 40px; }
.writing-list li {
  border-bottom: 1px solid var(--rule);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 36px;
  align-items: baseline;
}
.wl-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oxblood);
}
.wl-title { font-size: 26px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.2; max-width: 60ch; margin-bottom: 0; }
.wl-title a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
.wl-title a:hover { color: var(--oxblood); }
.wl-dek { font-size: 16px; line-height: 1.55; color: var(--mute); margin-top: 9px; max-width: 60ch; }
.wl-read {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-top: 12px;
}

/* ---------- article ---------- */
.article { padding: 72px 0 40px; }
.article-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.024em;
  font-weight: 500;
  margin-bottom: 18px;
  max-width: 24ch;
}
.article-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 42px;
}
.article-lede {
  font-size: 21.5px;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.92;
  max-width: 58ch;
  margin-bottom: 26px;
}
.article-body p { font-size: 18px; line-height: 1.65; color: var(--ink); opacity: 0.85; max-width: 62ch; margin-bottom: 18px; }
.article-body h2 {
  font-size: clamp(24px, 2.6vw, 29px);
  line-height: 1.15;
  margin: 42px 0 14px;
  max-width: 30ch;
}
.article-body ul, .article-body ol { margin: 0 0 18px 22px; max-width: 60ch; }
.article-body li { font-size: 17.5px; line-height: 1.6; color: var(--ink); opacity: 0.85; margin-bottom: 10px; }
.article-body em { font-style: italic; }
.article-body strong { font-weight: 600; }
.article-body code {
  font-family: var(--mono);
  font-size: 14px;
  background: rgba(31, 14, 8, 0.06);
  padding: 1px 5px;
  border-radius: var(--radius);
}
.colophon {
  border-top: 1px solid var(--rule);
  margin-top: 46px;
  padding-top: 22px;
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--mute);
  max-width: 60ch;
}
.article-cta { padding: 12px 0 88px; }
.article-cta .hero-buttons { margin-top: 8px; }
.footer-grid.slim { grid-template-columns: 2fr 1fr; }
.footer-grid.wide { grid-template-columns: 2fr 1fr 1fr 1fr; }

/* ---------- species (home band + subpages) ---------- */
.species-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 14px;
}
.sp-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px 28px 24px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.sp-card:hover { border-color: var(--bristle); }
.sp-name { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.sp-desc { font-size: 14.5px; line-height: 1.5; color: var(--mute); margin-bottom: 16px; }
.status-line {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.status-line .s-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.s-live { color: var(--moss); }
.s-live .s-dot { background: var(--moss); box-shadow: 0 0 0 3px rgba(29, 58, 47, 0.12); }
.s-build { color: var(--oxblood); }
.s-build .s-dot { background: var(--bristle); }
.s-design { color: rgba(31, 14, 8, 0.7); }
.s-design .s-dot { border: 1.5px solid rgba(31, 14, 8, 0.5); }

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.mod-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px 26px 22px;
}
.mod-card h3 { font-size: 20px; margin-bottom: 8px; }
.mod-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink); opacity: 0.78; margin-bottom: 14px; }

/* auto-revoke vignette (hogs) */
.revoke-demo { display: grid; gap: 14px; max-width: 520px; }
.revoke-arrow {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--oxblood);
  display: flex; align-items: center; gap: 10px;
  padding-left: 6px;
}
.revoke-arrow::before { content: "↓"; font-size: 16px; }
.receipt.compact { width: 100%; padding: 18px 20px; }
.receipt.compact .receipt-head { padding-bottom: 9px; margin-bottom: 10px; }
.receipt .revoked-label { font-size: 10px; letter-spacing: 0.14em; color: var(--oxblood); font-weight: 600; }
.ox-dot {
  width: 32px; height: 32px; background: var(--oxblood); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ---------- 404 ---------- */
.notfound { padding: 140px 0 160px; }
.nf-code {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 20px;
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.d1.in { transition-delay: 0.07s; }
.reveal.d2.in { transition-delay: 0.14s; }
.reveal.d3.in { transition-delay: 0.21s; }
.reveal.d4.in { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-artifact { justify-content: flex-start; padding-top: 0; width: 100%; min-width: 0; }
  .receipt { width: 100%; }
  .split-grid { grid-template-columns: 1fr; gap: 44px; }
  .side-grid { grid-template-columns: 1fr; gap: 36px; }
  .scope-cols { grid-template-columns: 1fr; }
  .scope-col + .scope-col { border-left: none; border-top: 1px solid var(--cream-rule); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { padding: 13px 0; }
  .nav-inner { padding: 0 20px; gap: 14px; }
  .nav-links { display: none; }
  .nav-inner .btn-sm { margin-left: auto; }
  .container { padding: 0 20px; }
  .hero { padding: 52px 0 48px; }
  .section { padding: 60px 0; }
  .final { padding: 88px 0; }
  h1 { letter-spacing: -0.022em; }
  .hero-lede { font-size: 17px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { justify-content: center; }
  .hero-specs { gap: 16px 24px; }
  .deadlines li { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .writing-list li { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .wl-title { font-size: 22px; }
  .species-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .sheet-row { flex-wrap: wrap; gap: 10px; }
  .stamp { margin-left: 0; }
  .sheet-row.struck::after { right: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 40px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .legalstrip { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 20px; }
}
