/* Case Organizer — variant 02 (caseorg.com)
   Graphite + Linen, light only. No webfonts, no external assets.
   Variant notes: page-wide source-label system, typographic specimen in the
   hero, a full-bleed statement to break the section rhythm, a lead capability,
   and a source-trail figure. */

:root {
  --paper: #f4efe5;
  --card: #ffffff;
  --ink: #172b3a;
  --ink-soft: #22333f;
  --muted: #4a5860;
  --primary: #43505a;
  --mist: #e8eef0;
  --panel: #dfe9ea;
  --rule: #cdc3b2;
  --rule-soft: #e2dacb;

  --a: #a84a28;  --a-tint: #f5e3dc;
  --r: #23658a;  --r-tint: #dfebf2;
  --i: #6d5598;  --i-tint: #eae4f2;
  --q: #84600a;  --q-tint: #f2ebd8;
  --h: #8a3545;  --h-tint: #f6e4e7;

  --sans: ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;

  --measure: 66ch;
  --shell: 1132px;
  --gutter: 32px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: #17475c; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--r); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 60;
  background: var(--ink); color: #fff; padding: 12px 18px;
}
.skip:focus { left: 12px; top: 12px; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------------- masthead ---------------- */

.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 239, 229, 0.94);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(6px);
}
.masthead__inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 30px; min-height: 76px;
}
.masthead__inner nav { justify-self: center; }
.masthead__inner .header-cta { justify-self: end; }
.wordmark {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 650; font-size: 1.02rem; color: var(--ink);
  text-decoration: none; letter-spacing: -0.005em; justify-self: start;
}
.wordmark svg { width: 25px; height: 25px; flex: none; }

.masthead nav ul {
  display: flex; gap: 28px; list-style: none; margin: 0; padding: 0;
  font-size: 0.9rem;
}
.masthead nav a { color: var(--muted); text-decoration: none; }
.masthead nav a:hover { color: var(--ink); }

.header-cta {
  padding: 10px 18px; border: 1px solid var(--primary); border-radius: 6px;
  color: var(--primary); text-decoration: none; font-size: 0.9rem; font-weight: 600;
  white-space: nowrap;
}
.header-cta:hover { background: var(--primary); color: #fff; }

/* ---------------- type ---------------- */

.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--primary);
  margin: 0 0 20px; display: flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; flex: none;
  opacity: 0.6;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; text-wrap: balance; }
h1 { text-wrap: pretty; }

h1 {
  font-size: clamp(2.35rem, 4.2vw, 3.35rem);
  line-height: 1.02; letter-spacing: -0.028em;
  margin: 0 0 24px; max-width: 23ch;
}
h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  line-height: 1.1; letter-spacing: -0.022em;
  margin: 0 0 20px; max-width: 24ch;
}
h3 { font-size: 1.15rem; line-height: 1.32; letter-spacing: -0.006em; margin: 0 0 8px; }

p { margin: 0 0 18px; max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.lede { font-size: clamp(1.2rem, 1.8vw, 1.42rem); line-height: 1.48; max-width: 44ch; }
.small { font-size: 0.9rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 6px;
  font-size: 0.97rem; font-weight: 650; text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 130ms ease, color 130ms ease, border-color 130ms ease;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--ink); color: #fff; }
.btn--ghost { border-color: var(--primary); color: var(--primary); }
.btn--ghost:hover { background: var(--primary); color: #fff; }

.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* ---------------- chips ---------------- */

.chip {
  width: 34px; height: 34px; border-radius: 8px; flex: none;
  display: inline-grid; place-items: center;
  font-weight: 700; font-size: 0.95rem; font-family: var(--sans);
  border: 1.5px solid currentColor;
}
.chip--a { color: var(--a); background: var(--a-tint); }
.chip--r { color: var(--r); background: var(--r-tint); }
.chip--i { color: var(--i); background: var(--i-tint); }
.chip--q { color: var(--q); background: var(--q-tint); }
.chip--h { color: var(--h); background: var(--h-tint); }

/* ---------------- hero ---------------- */

.hero { padding: 92px 0 88px; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 7.6fr) minmax(0, 4.4fr);
  gap: 72px; align-items: start;
}
.hero__line {
  font-family: var(--serif); font-size: clamp(1.28rem, 2vw, 1.6rem);
  line-height: 1.34; color: var(--primary);
  margin: 0 0 22px; max-width: 32ch;
}
.hero__body { font-size: 1.04rem; max-width: 52ch; }

.hero__meta {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--rule);
  display: flex; gap: 12px 30px; flex-wrap: wrap;
  font-size: 0.86rem; letter-spacing: 0;
  color: var(--muted); font-weight: 500;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary); opacity: 0.55;
}

/* specimen card */

.specimen {
  margin: 6px 0 0;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px 24px 20px;
  box-shadow: 0 1px 0 rgba(23, 43, 58, 0.04);
}
.specimen__cap {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--primary);
  margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--rule-soft);
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
}
.specimen__cap em {
  font-style: normal; font-family: var(--mono); font-size: 0.64rem;
  letter-spacing: 0.08em; color: var(--muted);
}
.specimen__claim {
  font-family: var(--serif); font-size: 1.14rem; line-height: 1.44;
  margin: 0 0 18px; color: var(--ink); max-width: none;
}
.specimen__rows { list-style: none; margin: 0; padding: 0; }
.specimen__rows li + li { border-top: 1px solid var(--rule-soft); }
.specimen__row {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 12px; align-items: center; padding: 11px 0;
  text-decoration: none; color: var(--muted); font-size: 0.86rem;
  transition: color 120ms ease;
}
.specimen__row:hover { color: var(--ink); }
.specimen__row b { color: var(--ink); font-weight: 650; }
.specimen__row:hover b { color: var(--primary); }
.specimen__row .caret {
  color: var(--primary); opacity: 0.4; font-size: 1.05rem; line-height: 1;
  transition: opacity 120ms ease, transform 120ms ease;
}
.specimen__row:hover .caret { opacity: 0.9; transform: translateX(2px); }
.specimen__row .chip { width: 26px; height: 26px; font-size: 0.78rem; }
.specimen__foot {
  margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--rule-soft);
  font-size: 0.8rem; color: var(--muted);
}

/* ---------------- statement band ---------------- */

.statement {
  background: var(--ink); color: var(--mist);
  padding: 104px 0;
}
.statement .eyebrow { color: #9fb7c1; }
.statement .eyebrow::before { background: #9fb7c1; opacity: 0.8; }
.statement p {
  font-family: var(--serif); font-size: clamp(1.85rem, 4vw, 3.15rem);
  line-height: 1.14; letter-spacing: -0.022em; margin: 0; max-width: 24ch;
  text-wrap: balance;
}
.statement p + p {
  font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  letter-spacing: 0; color: #b9c9d1; margin-top: 22px; max-width: 46ch;
  text-wrap: pretty;
}

/* ---------------- section frame ---------------- */

.section { padding: 96px 0; border-top: 1px solid var(--rule); }
.section--soft { background: var(--panel); }

.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px; align-items: start;
}

/* ---------------- problem ---------------- */

.problem__quote {
  font-family: var(--serif); font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  line-height: 1.4; color: var(--primary);
  margin: 40px 0 0; padding: 26px 0 0; border-top: 2px solid var(--ink);
  max-width: 40ch;
}
.problem__quote p { margin: 0; max-width: none; }

/* ---------------- workflow rail ---------------- */

.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 34px; margin-top: 8px;
}
.step { position: relative; padding-top: 44px; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--primary);
}
.step::after {
  content: ""; position: absolute; top: 6px; left: 20px; right: -34px;
  height: 1px; background: #bdb29f;
}
.step:last-child::after { display: none; }
.step__num {
  font-family: var(--mono); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.14em; color: var(--primary); display: block; margin-bottom: 12px;
}
.step h3 { font-size: 1.14rem; }
.step p { font-size: 0.95rem; line-height: 1.56; color: var(--muted); margin-bottom: 0; }

/* ---------------- capabilities ---------------- */

.caps { margin-top: 8px; border-top: 2px solid var(--ink); }

.cap--lead {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px; padding: 34px 0 38px; border-bottom: 1px solid var(--rule);
}
.cap--lead h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.16; letter-spacing: -0.018em;
  margin: 0;
}
.cap--lead p { font-size: 1.06rem; color: var(--ink); margin: 0; max-width: 56ch; }

.cap-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
}
.cap-grid .cap { display: flex; flex-direction: column; }
.cap-grid .cap p { margin-top: auto; }
.cap { padding: 26px 0 30px; border-bottom: 1px solid var(--rule); }
.cap h3 { font-size: 1.04rem; }
.cap p { font-size: 0.93rem; line-height: 1.55; color: var(--muted); margin: 0; }

/* ---------------- source trail ---------------- */

.trail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.trail__figure {
  position: sticky; top: 106px; margin: 0;
  background: var(--card); border: 1px solid var(--rule); border-radius: 12px;
  padding: 20px 18px 14px;
}
.trail__figure figcaption {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 10px;
}
.trail__figure svg { display: block; width: 100%; height: auto; }
.trail__legend {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin: 10px 0 2px; padding-top: 12px; border-top: 1px solid var(--rule-soft);
  font-size: 0.78rem; color: var(--muted);
}
.trail__key { display: inline-flex; align-items: center; gap: 8px; }
.trail__key i { display: inline-block; width: 26px; height: 0; border-top-width: 2px; }
.key-solid { border-top-style: solid; border-top-color: #43505a; }
.key-dashed { border-top-style: dashed; border-top-color: #84600a; }

.trail__list { list-style: none; margin: 0; padding: 0; }
.trail__row {
  display: grid; grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule);
}
.trail__row:first-child { border-top: 1px solid var(--rule); }
.trail__row h3 { font-size: 1rem; margin-bottom: 3px; }
.trail__row p { font-size: 0.94rem; color: var(--muted); margin: 0; }

/* ---------------- control ---------------- */

.control h2 { max-width: 20ch; }
.control__list {
  list-style: none; margin: 40px 0 0; padding: 0; counter-reset: c;
  border-top: 1px solid rgba(23, 43, 58, 0.18);
}
.control__list li {
  counter-increment: c;
  display: grid; grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid rgba(23, 43, 58, 0.18);
  max-width: 78ch; font-size: 1rem;
}
.control__list li::before {
  content: counter(c, decimal-leading-zero);
  font-family: var(--serif); font-size: 1.25rem; color: var(--primary); opacity: 0.75;
}

/* ---------------- systems ---------------- */

.systems__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px; margin-top: 44px;
}
.system { padding-top: 22px; border-top: 2px solid var(--ink); }
.system h3 { font-size: 1.06rem; }
.system p { font-size: 0.94rem; color: var(--muted); margin: 0; }

/* ---------------- faq ---------------- */

.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq__aside { position: sticky; top: 106px; }
.faq__aside h2 { margin-bottom: 18px; }
.faq details { border-bottom: 1px solid var(--rule); padding: 22px 0; }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; font-family: var(--serif); font-size: 1.12rem; line-height: 1.36;
  list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.15rem; color: var(--muted); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 14px 0 0; font-size: 0.98rem; color: var(--muted); max-width: 62ch; }

/* ---------------- form ---------------- */

.access { padding: 96px 0; border-top: 1px solid var(--rule); }
.access__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }

.access__card {
  background: var(--card); border: 1px solid var(--rule); border-radius: 12px;
  padding: 30px 30px 26px; align-self: start;
  max-width: 560px;
}
/* Honeypot: a field a person never sees and cannot tab to, that a script filling
   every input will complete. Off-screen rather than display:none, because a hidden
   input is one a bot can also skip. */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fbf8f1; border: 1px solid #c3b8a5; border-radius: 6px;
  padding: 12px 13px;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: 3px solid var(--r); outline-offset: 1px; border-color: var(--r); background: #fff;
}
.field .hint { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; max-width: 52ch; }
.form-status { margin-top: 14px; font-size: 0.9rem; color: var(--primary); min-height: 1.4em; }

/* ---------------- footer ---------------- */

.footer { border-top: 2px solid var(--ink); padding: 56px 0 40px; font-size: 0.9rem; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr); gap: 48px; }
.footer__brand p { margin: 14px 0 0; max-width: 34ch; }
.footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__nav a { color: var(--muted); text-decoration: none; }
.footer__nav a:hover { color: var(--ink); text-decoration: underline; }
.footer__meta p { margin: 0 0 12px; max-width: 38ch; }
.footer__meta a[href^="tel:"] { white-space: nowrap; }
.nowrap { white-space: nowrap; }
.footer__base {
  margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 0.8rem; letter-spacing: 0.02em;
}


/* ---------------- multipage: home doors ---------------- */

.hero--home { padding: 84px 0 72px; }
.section--doors { padding: 0 0 84px; border-top: 1px solid var(--rule); }

.doors {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink); margin-top: 8px;
}
.door {
  display: block; padding: 26px 34px 30px 0; text-decoration: none; color: inherit;
}
.door + .door { padding-left: 34px; }
.door:last-child { padding-right: 0; }
.door h2 { font-size: 1.28rem; margin: 6px 0 10px; }
.door p { font-size: 0.94rem; color: var(--muted); margin: 0; }
.door__more {
  display: block; margin-top: 16px;
  font-size: 0.85rem; font-weight: 650; color: var(--primary);
}
.door:hover h2 { color: var(--primary); }

.secondary-links {
  display: flex; gap: 22px; align-items: baseline; flex-wrap: wrap;
  margin: 30px 0 0; font-size: 0.9rem; color: var(--muted);
}
.secondary-links span { font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.72rem; }
.secondary-links a { color: var(--primary); }
.secondary-links--center { justify-content: center; margin: 38px 0 0; }


/* ---------------- figures ---------------- */

.fig {
  margin: 40px 0 44px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 22px 20px 16px;
}
.fig__cap {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--rule-soft);
}
.fig__cap em {
  font-style: normal; font-family: var(--mono); font-size: 0.64rem;
  letter-spacing: 0.08em; color: var(--muted);
}
.fig svg { display: block; width: 100%; height: auto; }
.fig__legend {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--rule-soft);
  font-size: 0.78rem; color: var(--muted);
}
.fig__legend span { display: inline-flex; align-items: center; gap: 8px; }
.fig__legend i { display: inline-block; width: 24px; height: 0; border-top-width: 2px; border-top-style: solid; }
.fig__legend .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.fig__legend .dash { border-top-style: dashed; border-top-color: #84600a; }

/* hover tracing on linked figures */
.fig .link { cursor: default; }
.fig .link .hit { fill: transparent; }
.fig .link .conn { transition: stroke-width 160ms ease, stroke 160ms ease; }
.fig .link:hover .conn { stroke-width: 2.6; }
.fig .link:hover .lbl { fill: #172b3a; }
.fig .lbl { transition: fill 160ms ease; }

/* reveal on scroll */
.anim .reveal { opacity: 0; transform: translateY(10px); }
.anim .reveal.in { opacity: 1; transform: none; transition: opacity 520ms ease, transform 520ms ease; }

/* ---------------- rule rows with icons ---------------- */

.rule-item {
  display: grid; grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px; align-items: start;
  padding: 26px 0; border-top: 1px solid var(--rule);
}
.rule-item:last-of-type { border-bottom: 1px solid var(--rule); }
.rule-item__ico {
  width: 34px; height: 34px; color: var(--primary);
  display: grid; place-items: center; border: 1px solid var(--rule);
  border-radius: 8px; background: var(--card);
}
.rule-item__ico svg { width: 18px; height: 18px; }
.rule-item h2 {
  font-size: 1.18rem; margin: 0 0 8px; max-width: none;
  display: flex; gap: 10px; align-items: baseline;
}
.rule-item h2 span.num {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; color: var(--muted); flex: none;
}
.rule-item p { margin: 0; font-size: 0.99rem; max-width: 62ch; }

/* ---------------- brief artifact ---------------- */

.brief {
  margin: 40px 0; background: var(--card); border: 1px solid var(--rule);
  border-radius: 12px; padding: 0; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) 210px;
}
.brief__page { padding: 30px 30px 34px; border-right: 1px solid var(--rule-soft); }
.brief__stamp {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--rule-soft);
}
.brief__stamp b { color: var(--primary); }
.brief__title { font-family: var(--serif); font-size: 1.42rem; line-height: 1.2; margin: 0 0 4px; }
.brief__sub { font-size: 0.82rem; color: var(--muted); margin: 0 0 20px; }
.brief__h {
  font-family: var(--serif); font-size: 1rem; margin: 20px 0 8px;
  display: flex; align-items: center; gap: 9px;
}
.brief__h .chip { width: 22px; height: 22px; font-size: 0.72rem; }
.brief__p { font-size: 0.93rem; line-height: 1.62; margin: 0 0 10px; color: var(--ink); max-width: 46ch; }
.brief__p a { color: var(--primary); text-decoration: none; border-bottom: 1px solid var(--rule); }
.brief__p sup { color: var(--r); font-weight: 650; margin-left: 1px; }
.brief__notes {
  padding: 26px 20px; background: #fbf8f1;
  font-size: 0.78rem; color: var(--muted); display: grid; gap: 14px; align-content: start;
}
.brief__note b { display: block; color: var(--ink); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 3px; }
.brief__note span { font-family: var(--mono); font-size: 0.7rem; }
.brief__foot {
  margin: 22px 0 0; padding-top: 12px; border-top: 1px solid var(--rule-soft);
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}

@media (max-width: 860px) {
  .brief { grid-template-columns: minmax(0, 1fr); }
  .brief__page { border-right: 0; border-bottom: 1px solid var(--rule-soft); }
  .fig { padding: 18px 14px 12px; }
}

/* ---------------- multipage: subpages ---------------- */

.page-hero { padding: 70px 0 56px; border-bottom: 1px solid var(--rule); }
.breadcrumb {
  font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 22px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb span { margin: 0 8px; opacity: 0.6; }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3rem); max-width: 24ch; margin-bottom: 18px; }
.page-hero .lede { color: var(--pillar, var(--primary)); max-width: 52ch; }

.prose { padding-top: 64px; padding-bottom: 72px; }
.prose > * { max-width: 68ch; }
.access__grid ol { max-width: 58ch; }
/* layout blocks inside a prose page keep the full container width */
.prose > .access__grid,
.prose > .doors,
.prose > .steps,
.prose > .cap-grid { max-width: none; }
.prose h2 {
  font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.2;
  margin: 46px 0 14px; max-width: 28ch;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; margin: 30px 0 8px; display: flex; align-items: center; gap: 10px; }
.prose h3 .chip { width: 26px; height: 26px; font-size: 0.78rem; flex: none; }
.prose p { font-size: 1.02rem; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 10px; font-size: 1.02rem; }
.prose li::marker { color: var(--muted); }
.prose strong { font-weight: 650; }
.prose figure { margin: 34px 0; max-width: 560px; }

.pull {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.38;
  color: var(--primary); border-top: 2px solid var(--ink); padding-top: 22px;
  margin: 38px 0; max-width: 46ch;
}

.next {
  border-top: 1px solid var(--rule); padding: 26px 0 60px;
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 20px; flex-wrap: wrap; font-size: 0.95rem;
}
.next a { color: var(--primary); font-weight: 650; text-decoration: none; }
.next a:hover { text-decoration: underline; }
.next span { color: var(--muted); }


/* ---------------- multipage: prose grid + contents rail ---------------- */

.prose-grid {
  display: grid; grid-template-columns: minmax(0, 68ch) 196px;
  gap: 76px; align-items: start;
  padding-top: 64px; padding-bottom: 72px;
}
.prose-grid .prose { padding: 0; }
.prose-grid .prose > * { max-width: none; }

.toc {
  position: sticky; top: 106px;
  font-size: 0.84rem;
}
.toc__cap {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary);
  margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--rule);
}
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.toc a { color: var(--muted); text-decoration: none; display: block; line-height: 1.35; }
.toc a:hover { color: var(--ink); }

.masthead nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }

@media (max-width: 1040px) {
  .prose-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
}

/* ---------------- responsive ---------------- */

@media (max-width: 1040px) {
  .hero__grid, .split, .trail, .faq__grid, .access__grid,
  .cap--lead { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .masthead nav ul { gap: 18px; font-size: 0.86rem; }
  .header-cta { padding: 9px 14px; font-size: 0.86rem; }
  .trail__figure, .faq__aside { position: static; }
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .systems__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .doors { grid-template-columns: minmax(0, 1fr); }
  .door { border-bottom: 1px solid var(--rule); padding: 22px 0; }
  .door + .door { padding-left: 0; }
  .door:last-child { border-bottom: 0; }
}

@media (max-width: 900px) {
  .masthead__inner { grid-template-columns: 1fr auto; gap: 14px; }
  .masthead__inner nav { display: none; }
  .header-cta { display: inline-block; justify-self: end; }
}

@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step { padding: 0 0 30px 34px; }
  .step::before { top: 6px; left: 0; }
  .step::after { top: 26px; left: 6px; right: auto; bottom: 0; width: 1px; height: auto; }
  .step:last-child::after { display: none; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

@media (max-width: 620px) {
  body { font-size: 16.5px; }
  :root { --gutter: 20px; }
  .hero { padding: 56px 0 52px; }
  .section, .access, .statement { padding: 60px 0; }
  h1 { font-size: 2.05rem; }
  .header-cta { padding: 8px 12px; font-size: 0.82rem; }
  .actions .btn { flex: 1 1 100%; }
  .cap-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero { padding: 48px 0 40px; }
  .prose { padding-top: 44px; padding-bottom: 52px; }
  .next { padding-bottom: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .masthead, .actions, .access, .footer { display: none; }
  body { background: #fff; font-size: 11pt; }
  .statement { background: #fff; color: #000; }
}

/* Cloudflare Turnstile: the anti-bot widget on the early-access form.
   It renders a 300x65 iframe, so it needs its own line and no label. */
.cf-turnstile-field { margin: 1.1rem 0 0.15rem; }
.cf-turnstile { min-height: 65px; }
/* ---------------- why-now popover (home) ---------------- */

.linkbtn {
  background: none; border: 0; padding: 0; font: inherit;
  color: var(--primary); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.linkbtn:hover { color: var(--ink); }
.doors__head {
  display: flex; align-items: baseline; justify-content: flex-start;
  gap: 18px 28px; flex-wrap: wrap;
  margin: 0; padding: 26px 0 22px;
}

.pop {
  position: fixed; inset: auto; margin: 0;
  border: 1px solid var(--rule); border-radius: 12px; background: var(--card);
  color: var(--ink); padding: 26px 28px 22px; width: calc(100% - 32px);
  max-width: 34rem; max-height: 70vh; overflow: auto;
  box-shadow: 0 18px 44px rgba(23, 43, 58, 0.20);
}
.pop__head { display: flex; align-items: flex-start; justify-content: flex-end; }
.pop__close {
  background: none; border: 0; padding: 0 2px; cursor: pointer;
  font-size: 1.5rem; line-height: 1; color: var(--muted);
}
.pop__close:hover { color: var(--ink); }
.pop__lead {
  font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 1.15rem;
  max-width: 30ch;
}
.pop__text p { margin: 0 0 0.6rem; line-height: 1.55; color: var(--ink-soft); }
.pop__text p:last-child { margin-bottom: 0; }
.pop__closing {
  font-family: var(--serif); font-size: 1.15rem; line-height: 1.38;
  color: var(--ink); margin: 1rem 0 0; padding-top: 0.85rem;
  border-top: 1px solid var(--rule-soft);
}
.pop__more { margin: 0.75rem 0 0; font-size: 0.95rem; }
.pop__more a { color: var(--primary); }
