/* =========================================================================
   Archus Lab — archuslab.com
   "Field manual": paper ground, ink type, rust signal, numbered sections.
   No framework, no build step. One stylesheet for every page.
   ========================================================================= */

/* ---- Mont (self-hosted; matches the product app) --------------------- */
@font-face { font-family: "Mont"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/mont/mont-regular.otf") format("opentype"); }
@font-face { font-family: "Mont"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/mont/mont-semibold.otf") format("opentype"); }
@font-face { font-family: "Mont"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/mont/mont-bold.otf") format("opentype"); }

/* ---- 1. Tokens ---------------------------------------------------------- */
:root {
  --paper:      #F4F0E8;
  --paper-sunk: #EBE5D9;
  --paper-card: #FBF9F4;
  --ink:        #14110D;
  --ink-soft:   #3B342A;
  --ink-faint:  #6F6556;
  --rule:       #D8D0C0;
  --rule-hard:  #B9AF9B;
  --rust:       #B4441F;
  --rust-deep:  #86300F;
  --rust-wash:  #F3E2D8;
  --pine:       #123C39;
  --pine-soft:  #1D504C;

  --shell: min(1180px, 100% - 3rem);
  --step-down: 0.78rem;

  --font-display: "Mont", "Avenir Next", "Helvetica Neue", sans-serif;
  --font-body: "Mont", "Helvetica Neue", Helvetica, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

/* Paper grain — one inline SVG, no network request. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

/* ---- 3. Typography ------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 1.6rem + 5.4vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 1.15rem + .85vw, 1.75rem); }
h4 { font-size: 1.15rem; }
p  { margin: 0 0 1.1em; text-wrap: pretty; }
strong { font-weight: 600; }

.kicker {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rust);
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.3rem;
}
.kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule-hard);
}
.kicker--plain::after { display: none; }
.lede {
  font-size: clamp(1.1rem, 1rem + .55vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 46ch;
}
.mono { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .01em; }
.muted { color: var(--ink-faint); }

/* Fill-me-in markers. Every one of these must be replaced before launch. */
.tbd {
  background: var(--rust-wash);
  border-bottom: 1px dashed var(--rust);
  padding: 0 .25em;
  font-family: var(--font-mono);
  font-size: .82em;
  color: var(--rust-deep);
  overflow-wrap: anywhere;
}

/* Visible to assistive tech, not on screen. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---- 4. Shell ----------------------------------------------------------- */
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.skip {
  position: absolute;
  left: -9999px;
  background: var(--ink);
  color: var(--paper);
  padding: .8rem 1.2rem;
  z-index: 99;
}
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

/* ---- 5. Header ---------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.masthead__in {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  text-decoration: none;
  margin-right: auto;
}
.brand__mark {
  font-family: var(--font-mono);
  font-size: .95rem;
  font-weight: 600;
  color: var(--paper);
  background: var(--ink);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  align-self: center;
  letter-spacing: -.03em;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -.01em;
}
.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a {
  font-size: .875rem;
  text-decoration: none;
  color: var(--ink-soft);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav a:hover { color: var(--rust); border-bottom-color: var(--rust); }
/* Below 860px the nav drops to its own scrollable strip rather than
   disappearing — the legal pages have to stay one tap away on a phone. */
@media (max-width: 860px) {
  .masthead__in { flex-wrap: wrap; padding-bottom: 0; }
  .brand { margin-right: auto; }
  .masthead .btn { padding: .7rem 1rem; font-size: .7rem; }
  .nav {
    order: 3;
    width: 100%;
    gap: 1.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    border-top: 1px solid var(--rule);
    padding: .7rem 0;
    margin-top: .2rem;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; font-size: .8rem; }
  .toc { top: 132px; }
  .prose h2 { scroll-margin-top: 132px; }
}

/* ---- 6. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .85rem 1.5rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.btn:hover { background: var(--rust); border-color: var(--rust); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--onDark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--onDark:hover { background: var(--rust); border-color: var(--rust); color: var(--paper); }
.btn--ghostDark { background: transparent; color: var(--paper); border-color: rgba(244,240,232,.4); }
.btn--ghostDark:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---- 7. Hero ------------------------------------------------------------ */
.hero {
  background: var(--pine);
  color: var(--paper);
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* Faint blueprint rule grid — depth without an image. */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(244,240,232,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244,240,232,.055) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(ellipse 90% 70% at 72% 12%, #000 10%, transparent 78%);
}
.hero .shell { position: relative; z-index: 2; }
.hero .kicker { color: #E9A87C; }
.hero .kicker::after { background: rgba(244,240,232,.28); }
.hero h1 em {
  font-style: italic;
  color: #E9A87C;
}
.hero__lede {
  font-size: clamp(1.1rem, 1rem + .6vw, 1.42rem);
  line-height: 1.5;
  color: rgba(244,240,232,.82);
  max-width: 50ch;
  margin: 1.8rem 0 2.4rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Ticker strip of hard facts under the hero copy. */
.facts {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid rgba(244,240,232,.22);
  padding-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.6rem;
}
.facts dt {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244,240,232,.72); /* .5 gave 3.89:1 on --pine; .72 gives 5.9:1 */
  margin-bottom: .45rem;
}
.facts dd { margin: 0; font-size: .95rem; color: rgba(244,240,232,.92); line-height: 1.45; }

/* ---- 8. Editorial grid -------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.split--even { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
@media (max-width: 840px) { .split { grid-template-columns: minmax(0, 1fr); } }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 3rem;
}
.card {
  background: var(--paper-card);
  padding: 2rem 1.8rem 2.2rem;
  transition: background .25s var(--ease);
}
.card:hover { background: #fff; }
.card__no {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--rust);
  display: block;
  margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: .7rem; }
.card p:last-child { margin-bottom: 0; }
.card p { font-size: .94rem; color: var(--ink-soft); }

/* ---- 9. Permission cards ---------------------------------------------- */
.cards--two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.perm {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 500;
  color: var(--rust-deep);
  background: var(--rust-wash);
  border: 1px solid var(--rule-hard);
  padding: .3rem .6rem;
  margin-bottom: 1rem;
  word-break: break-word;
  max-width: 100%;
}

/* ---- 10. Numbered steps ------------------------------------------------- */
.steps { counter-reset: step; margin: 3rem 0 0; padding: 0; list-style: none; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--rule);
}
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  /* --rule-hard reads as 1.91:1 on paper: a decorative tone doing a legible
     job. --ink-faint keeps the numeral subordinate and clears AA at 5.03:1. */
  color: var(--ink-faint);
  line-height: 1;
  padding-top: .2rem;
}
.steps h3 { margin-bottom: .35rem; font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; letter-spacing: 0; }
.steps p { margin: 0; font-size: .94rem; color: var(--ink-soft); }

/* ---- 11. Consent thread (the memorable object) -------------------------- */
.thread {
  margin: 0; /* it is a <figure> now */
  background: var(--paper-card);
  border: 1px solid var(--rule-hard);
  padding: 1.6rem 1.5rem 1.9rem;
  box-shadow: 14px 14px 0 -1px var(--paper-sunk), 14px 14px 0 0 var(--rule);
}
.thread__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: .9rem;
  margin-bottom: 1.4rem;
}
.thread__head strong { font-size: .92rem; }
.thread__head .mono { color: var(--ink-faint); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.msg {
  --bg: var(--paper-sunk);
  --fg: var(--ink);
  background: var(--bg);
  color: var(--fg);
  padding: .75rem .95rem;
  margin-bottom: .8rem;
  max-width: 84%;
  font-size: .9rem;
  line-height: 1.45;
  border: 1px solid var(--rule);
  animation: rise .6s var(--ease) backwards;
}
.msg--out {
  --bg: var(--pine);
  --fg: #EFEAE0;
  margin-left: auto;
  border-color: var(--pine);
}
.msg--sys {
  --bg: transparent;
  --fg: var(--ink-faint);
  border: 1px dashed var(--rule-hard);
  max-width: 100%;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .04em;
  text-align: center;
}
.msg--sys strong { color: var(--rust); font-weight: 500; }
.msg b { font-weight: 600; }
.msg:nth-child(1) { animation-delay: .05s; }
.msg:nth-child(2) { animation-delay: .18s; }
.msg:nth-child(3) { animation-delay: .31s; }
.msg:nth-child(4) { animation-delay: .44s; }
.msg:nth-child(5) { animation-delay: .57s; }
.msg:nth-child(6) { animation-delay: .70s; }
.msg:nth-child(7) { animation-delay: .83s; }
.msg__meta {
  display: block;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .62;
  margin-top: .45rem;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ---- 12. Do / don't ----------------------------------------------------- */
.pledge {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: var(--rule-hard);
  border: 1px solid var(--rule-hard);
  margin-top: 2.5rem;
}
.pledge > div { background: var(--paper-card); padding: 1.9rem 1.7rem; }
.pledge h3 {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.pledge--no h4 { color: var(--rust); }
.pledge--yes h4 { color: var(--pine); }
.pledge ul { margin: 0; padding: 0; list-style: none; }
.pledge li {
  font-size: .93rem;
  color: var(--ink-soft);
  padding: .55rem 0 .55rem 1.6rem;
  position: relative;
  border-top: 1px solid var(--rule);
}
.pledge li:first-child { border-top: 0; padding-top: 0; }
.pledge li::before {
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: .9rem;
  line-height: 1.5;
}
.pledge--yes li::before { content: "+"; color: var(--pine); }
.pledge--no  li::before { content: "\00d7"; color: var(--rust); }
.pledge--yes li:first-child::before,
.pledge--no  li:first-child::before { top: 0; }

/* ---- 13. Contact band --------------------------------------------------- */
.band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.band h2 { max-width: 20ch; }
.band p { color: rgba(244,240,232,.75); max-width: 48ch; }
.band .kicker { color: #E9A87C; }
.band .kicker::after { background: rgba(244,240,232,.25); }
.band__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* ---- 14. Footer --------------------------------------------------------- */
.foot {
  background: var(--paper-sunk);
  border-top: 1px solid var(--rule-hard);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
  font-size: .88rem;
}
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 2.5rem;
}
.foot h2 {
  line-height: 1.4;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1.1rem;
  font-weight: 500;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .55rem; }
.foot a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid transparent; }
.foot a:hover { color: var(--rust); border-bottom-color: var(--rust); }
.foot address { font-style: normal; color: var(--ink-soft); line-height: 1.7; }
.foot__base {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-hard);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  color: var(--ink-faint);
  font-size: .78rem;
}
.foot__base p { margin: 0; max-width: 68ch; }

/* ---- 15. Legal / document pages ---------------------------------------- */
.doc-head {
  background: var(--pine);
  color: var(--paper);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}
.doc-head .kicker { color: #E9A87C; }
.doc-head .kicker::after { background: rgba(244,240,232,.28); }
.doc-head p { color: rgba(244,240,232,.8); max-width: 58ch; margin-top: 1.2rem; }
.doc-head .mono { color: rgba(244,240,232,.55); }

.doc {
  display: grid;
  grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
  align-items: start;
}
@media (max-width: 900px) { .doc { grid-template-columns: minmax(0, 1fr); } }
.toc { position: sticky; top: 92px; font-size: .84rem; }
@media (max-width: 900px) {
  .toc { position: static; border-bottom: 1px solid var(--rule); padding-bottom: 1.5rem; }
}
.toc h2 {
  line-height: 1.4;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1rem;
  font-weight: 500;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; border-top: 1px solid var(--rule); }
.toc a {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .3rem;
  padding: .5rem 0;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--ink-faint);
}
.toc a:hover { color: var(--rust); }
.toc a:hover::before { color: var(--rust); }
.toc a::before { transition: color .2s var(--ease); }

.prose { max-width: 68ch; }
.prose h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  margin: 3.2rem 0 1rem;
  scroll-margin-top: 92px;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule);
}
.prose > h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0;
  margin: 2rem 0 .6rem;
}
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.15rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--rust-deep); text-underline-offset: 3px; }
.table-wrap:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
.table-wrap {
  overflow-x: auto;
  margin: 1.4rem 0 1.8rem;
  border-bottom: 1px solid var(--rule);
}
.prose .table-wrap table { margin: 0; min-width: 30rem; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0 1.8rem;
  font-size: .9rem;
}
.prose th, .prose td {
  text-align: left;
  padding: .75rem .8rem;
  border: 1px solid var(--rule);
  vertical-align: top;
  color: var(--ink-soft);
}
.prose th {
  background: var(--paper-sunk);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.callout {
  background: var(--paper-card);
  border: 1px solid var(--rule-hard);
  border-left: 3px solid var(--rust);
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0;
  font-size: .93rem;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }

/* ---- 16. Contact cards -------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 2.5rem;
}
.contact-grid > div { background: var(--paper-card); padding: 1.8rem 1.6rem; }
.contact-grid h3 {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: .9rem;
}
.contact-grid a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-hard); }
.contact-grid a:hover { color: var(--rust); border-bottom-color: var(--rust); }
.contact-grid p { font-size: .93rem; margin-bottom: .5rem; }

/* ---- 17. Page-load reveal ---------------------------------------------- */
.reveal { animation: rise .7s var(--ease) backwards; }
.reveal--1 { animation-delay: .05s; }
.reveal--2 { animation-delay: .16s; }
.reveal--3 { animation-delay: .27s; }
.reveal--4 { animation-delay: .38s; }

/* ---- 18. 404 ------------------------------------------------------------ */
.lost {
  min-height: 68vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 1.2rem;
  padding: 4rem 0;
}
.lost .mono { color: var(--rust); letter-spacing: .2em; text-transform: uppercase; }

/* ---- 19. Print (reviewers save these pages as PDF) --------------------- */
@media print {
  body::before, .masthead, .band, .foot__base { display: none; }
  .hero, .doc-head, .band { background: #fff; color: #000; }
  .doc { grid-template-columns: 1fr; }
  .toc { display: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
