/* ==========================================================================
   Postwright — pre-launch site stylesheet
   Tokens: brand-input/final/engineering/postwright-tokens.json (v5.0 system)
   One file, no build step. Mobile-first (375px), enhanced at 768/1080px.
   Bone-led editorial layout: pine background appears in exactly one section
   (the approval gate); everything else is bone with seam hairlines.
   ========================================================================== */

/* ---- Fonts (self-hosted, latin subset) ---------------------------------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Crimson Pro";
  src: url("fonts/CrimsonPro-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Crimson Pro";
  src: url("fonts/CrimsonPro-Italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("fonts/DMMono-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---- Tokens -------------------------------------------------------------- */
:root {
  --pine: #12241C;
  --copper: #BA6A45;
  --copper-deep: #8A4526;   /* small copper text on bone (AA) */
  --bone: #F4F0E5;
  --sage: #5A6A5F;          /* secondary text on bone (AA) */
  --seam: #D8D2C0;          /* hairlines on bone */
  --graphite: #26382E;      /* lines on pine */
  --mist: #9AA89B;          /* secondary text on pine (AA) */
  --verdigris: #2E6E5E;     /* approve semantics ONLY */

  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Instrument Sans", Arial, sans-serif;
  --font-editorial: "Crimson Pro", Georgia, serif;
  --font-label: "DM Mono", "Courier New", monospace;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1); /* the chisel cut */
  --dur-micro: 120ms;
  --dur-element: 240ms;

  --radius-card: 12px;
  --radius-ui: 4px;
  --measure: 62ch;
  --container: 1100px;
  --gutter: clamp(20px, 5vw, 48px);
  /* Section rhythm — three deliberate registers instead of one uniform beat.
     Spacious is reserved for the hero, the gate, and the waitlist. */
  --pad-spacious: clamp(48px, 8vw, 92px);
  --pad-medium: clamp(40px, 6.5vw, 72px);
  --pad-compact: clamp(32px, 5vw, 52px);
  --section-pad: var(--pad-spacious);
}

/* ---- Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  /* grain.png carries its own 2–3% alpha — paper felt, not seen */
  background: var(--bone) url("grain.png") repeat;
  color: var(--pine);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
  border-radius: 2px;
}
.on-pine :focus-visible { outline-color: var(--bone); }
::selection { background: var(--pine); color: var(--bone); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* Skip link */
.skip-link {
  position: absolute; left: var(--gutter); top: -100px;
  background: var(--pine); color: var(--bone);
  padding: 10px 18px; border-radius: 0 0 var(--radius-ui) var(--radius-ui);
  font-weight: 700; text-decoration: none; z-index: 100;
  transition: top var(--dur-element) var(--ease);
}
.skip-link:focus { top: 0; }

/* ---- Type roles ------------------------------------------------------------ */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.2rem + 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.4rem); }
h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; }

/* Mono-caps eyebrow — hero and pipeline only */
.label {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.on-pine .label { color: var(--mist); }

/* Plain-sans eyebrow for every other section.
   NOTE: brief asked for Instrument Sans 500; the brand kit ships static
   400/700 only, so this is 700 at small size — flagged in the build report. */
.kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: var(--sage);
}
.on-pine .kicker { color: var(--mist); }

.lede { font-size: clamp(1.05rem, 1rem + 0.5vw, 1.25rem); line-height: 1.6; }
.after-title { margin-top: 18px; }
.optional-tag { text-transform: none; letter-spacing: 0; }
.muted { color: var(--sage); }
.on-pine .muted { color: var(--mist); }
.measure { max-width: var(--measure); }

.motto {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.5rem, 1.2rem + 1.8vw, 2.2rem);
  line-height: 1.3;
}

/* ---- Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius-ui);
  padding: 14px 28px;
  cursor: pointer;
  background: var(--pine);
  color: var(--bone);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
/* Lift on hover, press back level on click — a stamp, not a glow */
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(18, 36, 28, 0.6); }
.btn:active { transform: translateY(0); box-shadow: none; }

/* ---- Header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bone);
  border-bottom: 1px solid var(--seam);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 66px; gap: 16px;
}
.site-header .logo { display: block; }
/* A confident mark, not a navbar billboard — the footer stays smaller (24px) */
.site-header .logo img { height: 33px; width: auto; }
.site-header .btn { padding: 10px 20px; font-size: 0.95rem; }
/* Quiet anchor links — desktop only (shown ≥860px, no hamburger below);
   the CTA button stays the header's only emphasized action */
.header-nav { display: none; }
.header-nav a { font-size: 0.95rem; color: var(--pine); }
/* In-page anchor targets clear the sticky 67px header (66px + hairline) */
#pipeline, #compliance, #founder { scroll-margin-top: 72px; }

/* Text-link underline — a hairline that grows from the left on hover/focus.
   Applies to header, footer, and body-copy links; buttons and image links
   (logo, skip link) stay out. */
.header-nav a, .site-footer nav a, .api-trust a, .waitlist .privacy-note a,
.founder-sig a, .legal a, .page-simple .home-link {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  padding-bottom: 2px;
  transition: background-size 250ms var(--ease);
}
.header-nav a:hover, .site-footer nav a:hover, .api-trust a:hover,
.waitlist .privacy-note a:hover, .founder-sig a:hover, .legal a:hover,
.page-simple .home-link:hover,
.header-nav a:focus-visible, .site-footer nav a:focus-visible,
.api-trust a:focus-visible, .waitlist .privacy-note a:focus-visible,
.founder-sig a:focus-visible, .legal a:focus-visible,
.page-simple .home-link:focus-visible {
  background-size: 100% 1px;
}

/* ---- Sections ------------------------------------------------------------------ */
.section { padding-block: var(--section-pad); border-top: 1px solid var(--seam); }
.section-head { margin-bottom: clamp(24px, 4vw, 40px); }
.section-head h2 { margin-top: 14px; max-width: 26ch; }

.on-pine {
  background: var(--pine);
  color: var(--bone);
}

/* ---- Hero (bone, typography-led, one record fragment at desktop) -------------------- */
.hero .container {
  /* R6: header, breath, message — desktop top cut again (76→58px) so the
     message arrives faster; mobile keeps a slightly larger breath (48px).
     Bottom keeps the spacious register. */
  padding-block: clamp(48px, 5vw, 58px) clamp(56px, 9vw, 104px);
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.hero .stamp {
  width: 76px; height: 76px;
  margin-bottom: 18px;
}
/* 46-char eyebrow: tighter tracking below 768px, balanced so it wraps as an
   even two-liner instead of leaving an orphan word */
.hero .label { letter-spacing: 0.16em; text-wrap: balance; }
.hero h1 { max-width: 17ch; margin-top: 18px; }
.hero .lede { margin-top: 20px; color: var(--sage); }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
/* Marketing microcopy — Instrument Sans, not the DM Mono record register.
   Mono caps is reserved for record/artifact rows, day labels, and the hero +
   pipeline eyebrows. */
.microcopy {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--sage);
}
/* The hero's launch-window line reads one step above the other microcopy —
   ink instead of sage, so "Autumn 2026 · Limited seats" registers */
.hero .microcopy { color: var(--pine); }
/* The fragment is decorative (aria-hidden) and desktop-only; mobile keeps the
   larger monogram as its brand moment. */
.hero-figure { display: none; }

/* ---- Outcomes strip (compact register) — the operational proof strip: a
   visible title, then three numbered proof blocks (small mono numbers, mono
   labels, one copper accent on the approval block). ---------------------- */
.outcomes { padding-block: var(--pad-compact); }
.outcomes-title {
  font-size: clamp(1.35rem, 1.1rem + 1.4vw, 1.9rem);
  line-height: 1.15;
  max-width: 22ch;
  margin-bottom: clamp(22px, 3.5vw, 34px);
}
.outcomes ul { list-style: none; display: grid; gap: 20px; }
.outcomes li {
  display: grid; gap: 10px;
  transition: transform 200ms var(--ease), background-color var(--dur-micro) var(--ease), border-color 200ms var(--ease);
}
.outcomes li + li { border-top: 1px solid var(--seam); padding-top: 20px; }
/* Same whisper as the docket rows — the number sharpens to ink; no shadow
   (these are text blocks on bare paper, not card surfaces) */
.outcomes li:hover {
  transform: translateY(-2px);
  background-color: rgba(18, 36, 28, 0.035);
  border-color: var(--mist);
}
.outcomes li:hover .o-num { color: var(--pine); }
.outcomes li.is-approval:hover { border-color: var(--copper); }
.o-head { display: flex; align-items: baseline; gap: 12px; }
.o-num {
  font-family: var(--font-label);
  font-size: 11px; letter-spacing: 0.14em;
  color: var(--sage);
  transition: color var(--dur-micro) var(--ease);
}
.o-label {
  font-family: var(--font-label);
  font-weight: 400;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pine);
}
/* The strip's one copper element — approval is the block that matters:
   copper number plus a thin copper rule above the block */
.outcomes .is-approval .o-num,
.outcomes .is-approval:hover .o-num { color: var(--copper-deep); }
.outcomes li.is-approval { border-top-color: var(--copper); }
.o-body { font-size: 1rem; line-height: 1.55; max-width: 34ch; }

/* ---- Pipeline (bento, medium register) ------------------------------------------------ */
.pipeline { padding-block: var(--pad-medium); }
.pipeline-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.station {
  border: 1px solid var(--seam);
  border-radius: var(--radius-card);
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.station img { width: 40px; height: 40px; }
/* Barely-there lift — the card rises as one object (icon nudge retired) */
.station:hover {
  transform: translateY(-2px);
  border-color: var(--mist);
  box-shadow: 0 14px 28px -24px rgba(18, 36, 28, 0.4);
}
.station .label { color: var(--sage); }
.station p { color: var(--sage); max-width: 44ch; }
.station-approve { border-color: var(--copper); } /* the section's one copper element */
.station-approve:hover { border-color: var(--copper-deep); }
.station-approve .label { color: var(--copper-deep); }
.station-approve .label::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--copper);
  flex: none;
}
/* "Why not just a scheduler?" — compact contrast note closing the grid;
   reuses the who-section .pain-list register */
.pipeline-contrast {
  margin-top: clamp(24px, 4vw, 36px);
  border-top: 1px solid var(--seam);
  padding-top: clamp(20px, 3vw, 28px);
}
.pipeline-contrast h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.pipeline-contrast .pain-list { margin-top: 14px; max-width: 56ch; }

/* ---- Approval gate (the one pine section) ------------------------------------------- */
.gate { border-top: 0; }
.gate .container {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.gate .motto { margin-top: 16px; }
.gate .body { margin-top: 20px; }
.gate .closing { margin-top: 16px; }

/* Approval record — a document-style artifact, not an app screenshot */
.record {
  position: relative;
  background: var(--bone);
  color: var(--pine);
  border-radius: var(--radius-card);
  padding: clamp(22px, 3vw, 30px);
  display: grid;
  gap: 14px;
  max-width: 460px;
  transition: transform var(--dur-element) var(--ease), box-shadow var(--dur-element) var(--ease);
}
.record-kicker {
  font-family: var(--font-label);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage);
}
.record-title {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  padding-right: 48px; /* clears the seal */
  text-wrap: balance;
}
.record-client {
  font-family: var(--font-label);
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--sage);
}
.record-meta {
  border-top: 1px solid var(--seam);
  padding-top: 14px;
  display: grid; gap: 8px;
}
.record-meta div { display: flex; gap: 16px; align-items: baseline; }
.record-meta dt {
  font-family: var(--font-label);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage);
  min-width: 112px; flex: none;
}
.record-meta dd { font-weight: 700; font-size: 0.95rem; }
.record-chain {
  list-style: none;
  border-top: 1px solid var(--seam);
  padding-top: 14px;
  display: flex; flex-wrap: wrap; align-items: center;
  font-family: var(--font-label);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sage);
}
.record-chain li:not(:last-child)::after {
  content: "\2192";
  margin-inline: 8px;
  color: var(--sage);
}
.record-chain .is-approved { color: var(--verdigris); } /* approve semantics only */
.record-chain .is-approved::before {
  content: "";
  display: inline-block;
  width: 11px; height: 11px;
  margin-right: 6px;
  background: var(--verdigris);
  clip-path: polygon(14% 52%, 40% 78%, 88% 18%, 100% 30%, 40% 100%, 0 66%);
}
/* Copper seal — pressed only because this record is in the approved state */
.record-seal {
  position: absolute; top: 22px; right: 22px;
  width: 34px; height: 34px;
  border: 2px solid var(--copper);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform var(--dur-micro) var(--ease);
}
.record:hover .record-seal { transform: scale(1.08); }
.record-seal::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--copper);
}
.record-note { margin-top: 14px; font-size: 0.85rem; max-width: 40ch; }
/* The record's closing line — the safety promise, set like the chain */
.record-foot {
  border-top: 1px solid var(--seam);
  padding-top: 12px;
  font-family: var(--font-label);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage);
}

/* The gate record sits like a paper artifact, not a UI card.
   On hover it settles: rotation eases toward square, shadow tightens. */
.gate .record {
  transform: rotate(-0.6deg);
  box-shadow: 0 32px 64px -36px rgba(0, 0, 0, 0.5);
}
.gate .record:hover {
  transform: rotate(-0.2deg);
  box-shadow: 0 24px 44px -30px rgba(0, 0, 0, 0.5);
}

/* Hero fragment — the same record language, on bone, so it needs its own edge.
   Sized as the first-screen object: wider and typographically a step up from
   the gate record's meta scale, so it holds its own against the headline. */
.record-fragment {
  border: 1px solid var(--seam);
  max-width: 412px;
  transform: rotate(1.4deg);
  box-shadow: 0 26px 52px -32px rgba(18, 36, 28, 0.38);
}
.record-fragment:hover {
  transform: rotate(0.8deg);
  box-shadow: 0 20px 40px -28px rgba(18, 36, 28, 0.42);
}
.record-fragment .record-title { font-size: 1.25rem; }

/* ---- Depth Engine (medium register) — memory shown as a system map, not
   another document artifact: four input nodes merge into one client profile
   memory, and a single copper line carries the output into the next draft.
   Deliberately no card container — thin lines and nodes on bare bone, so it
   reads as an engine next to the gate record and week docket. ------------- */
.depth { padding-block: var(--pad-medium); }
.depth-grid { display: grid; gap: clamp(32px, 5vw, 56px); }
.depth-copy h2 { margin-top: 14px; max-width: 26ch; }
.depth-body { margin-top: 16px; color: var(--sage); }
.memory-map { max-width: 420px; }
.map-kicker {
  font-family: var(--font-label);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage);
  text-align: center;
}
/* Stage annotations — schematic margin notes, a register below the kicker */
.map-stage {
  font-family: var(--font-label);
  font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(90, 106, 95, 0.72);
  text-align: center;
  margin-top: 18px;
}
.map-inputs + .map-merge + .map-stage { margin-top: 0; }
.map-out + .map-stage { margin-top: 10px; }
/* Input nodes — chips, not cards: hairline borders, mono labels */
.map-inputs {
  margin-top: 10px;
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.map-inputs li {
  border: 1px solid var(--seam);
  border-radius: var(--radius-ui);
  padding: 11px 10px;
  text-align: center;
  font-family: var(--font-label);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--pine);
}
/* Connector geometry — the two node columns drop onto a bus, and one line
   falls from the bus to the core (background layers: bus + center drop) */
.map-merge {
  height: 30px;
  position: relative;
  background:
    linear-gradient(var(--sage) 0 0) no-repeat 50% 14px / 50% 1px,
    linear-gradient(var(--sage) 0 0) no-repeat 50% 100% / 1px 16px;
}
.map-merge::before, .map-merge::after {
  content: ""; position: absolute; top: 0;
  width: 1px; height: 15px;
  background: var(--sage);
}
.map-merge::before { left: 25%; }
.map-merge::after { left: 75%; }
/* The core node — the diagram's strongest object: heavier border, a type
   step up, more internal air than the input chips */
.map-core {
  width: fit-content;
  margin-inline: auto;
  margin-top: 6px;
  border: 2px solid var(--pine);
  border-radius: var(--radius-ui);
  padding: 16px 26px;
  font-family: var(--font-label);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  text-align: center;
  color: var(--pine);
}
/* The single copper accent — the output line into the next draft */
.map-out {
  width: 1px; height: 22px;
  margin-top: 8px;
  margin-inline: auto;
  background: var(--copper);
  position: relative;
}
.map-out::after {
  content: ""; position: absolute; left: 50%; bottom: -1px;
  transform: translateX(-50%);
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 5px solid var(--copper);
}
.map-output {
  margin-top: 6px;
  margin-inline: auto;
  max-width: 32ch;
  text-align: center;
  font-family: var(--font-label);
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  line-height: 1.6;
  color: var(--copper-deep);
}

/* ---- Mid-page CTA band (same goal, repeated — copper rule echoes the seal) --------------- */
.cta-band { padding-block: var(--pad-compact); }
.cta-band-lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.1rem + 1.4vw, 1.9rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-wrap: balance;
  max-width: 22ch;
  border-left: 2px solid var(--copper);
  padding-left: 22px;
}
.cta-band .cta-row { margin-top: 24px; padding-left: 24px; }

/* ---- Official API (medium, with a shorter exit toward Who) -------------------------------- */
.api { padding-block: var(--pad-medium) var(--pad-compact); }
.api .facts {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  list-style: none;
}
.api .facts li {
  font-family: var(--font-label);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage);
  padding-left: 16px;
  position: relative;
}
.api .facts li::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 8px; height: 1px;
  background: var(--sage);
}
.api .api-trust { margin-top: 14px; }
.api .api-trust a { color: var(--copper-deep); }
.api .footnote { margin-top: 26px; font-size: 0.9rem; }

/* ---- Who it's for (tight top, so API → Who reads as one movement) ---------------------------- */
.who { padding-block: var(--pad-compact) var(--pad-medium); }
.who .lead-statement {
  margin-top: 18px;
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.25rem);
  line-height: 1.6;
  max-width: var(--measure);
}
/* Three pains, one per line — the docket on the right proves the fix */
.pain-list {
  margin-top: 18px;
  list-style: none;
  display: grid; gap: 10px;
  max-width: 46ch;
}
.pain-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.98rem;
}
.pain-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.7em;
  width: 9px; height: 1px;
  background: var(--sage);
}
.who .secondary {
  margin-top: 24px;
  border-top: 1px solid var(--seam);
  padding-top: 20px;
  color: var(--sage);
  font-size: 0.95rem;
  max-width: 56ch;
}
.who-grid { display: grid; gap: clamp(32px, 5vw, 56px); }

/* Agency-week docket — a working artifact from the product world: a subtle
   document container (not a heavy UI card), day rows with status tags and
   counts, one copper mark on the approved row. */
.week {
  max-width: 400px;
  background: var(--bone);
  border: 1px solid var(--seam);
  border-top: 2px solid var(--pine);
  border-radius: var(--radius-card);
  padding: clamp(20px, 3vw, 26px);
  box-shadow: 0 22px 44px -36px rgba(18, 36, 28, 0.4);
  transition: box-shadow var(--dur-element) var(--ease);
}
/* On hover the docket settles — shadow tightens, no lift */
.week:hover { box-shadow: 0 16px 30px -28px rgba(18, 36, 28, 0.45); }
.week-kicker {
  font-family: var(--font-label);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage);
}
/* The docket leads with its proof; the day rows below substantiate it */
.docket-summary {
  margin-top: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--seam);
  display: grid; gap: 4px;
}
.docket-lead { font-weight: 700; font-size: 1.12rem; line-height: 1.35; }
.week ul { list-style: none; margin-top: 2px; }
.week li {
  display: grid; gap: 5px; padding-block: 14px;
  transition: background-color var(--dur-micro) var(--ease);
}
.week li:last-child { padding-bottom: 0; }
.week li + li { border-top: 1px solid var(--seam); }
/* Row hover: a whisper of a tint, the day label sharpens to ink */
.week li:hover { background-color: rgba(18, 36, 28, 0.035); }
.week li:hover .week-day { color: var(--pine); }
.docket-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
}
.week-day {
  font-family: var(--font-label);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage);
  transition: color var(--dur-micro) var(--ease);
}
.docket-tag {
  font-family: var(--font-label);
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage);
  border: 1px solid var(--seam);
  border-radius: 999px;
  padding: 3px 9px;
  flex: none;
}
.docket-tag.is-approved { color: var(--verdigris); border-color: var(--verdigris); } /* approve semantics only */
.docket-entry { font-weight: 700; font-size: 0.98rem; }
.docket-sub { color: var(--sage); font-size: 0.88rem; }
/* One copper mark — pressed only because Tuesday's approvals are recorded */
.docket-seal {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px;
  margin-left: 8px;
  vertical-align: -4px;
  border: 1.5px solid var(--copper);
  border-radius: 50%;
  transition: transform var(--dur-micro) var(--ease);
}
.week li:hover .docket-seal { transform: scale(1.12); }
.docket-seal::before { content: ""; width: 6px; height: 6px; background: var(--copper); }

/* ---- Founder (medium register) — a letter, not a marketing section: the
   portrait sits borderless on bone (the photo background is already bone),
   and the body is set upright in the editorial voice. ----------------------- */
.founder { padding-block: var(--pad-medium); }
.founder-grid { display: grid; gap: clamp(28px, 5vw, 48px); align-items: start; }
.founder-figure { max-width: 300px; }
/* 4/5 reserves the portrait's exact box while the lazy image fetches —
   the pending state reads as intentional, and the swap shifts nothing */
.founder-figure picture,
.founder-figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; }
.founder-figure img {
  border-radius: var(--radius-card);
  box-shadow: 0 22px 44px -36px rgba(18, 36, 28, 0.4);
}
/* 1.25rem gap = 1em of the letter type — paragraph spacing, not grid rhythm */
.founder-letter { display: grid; gap: 1.25rem; }
.founder-letter p {
  font-family: var(--font-editorial);
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--pine);
  max-width: 58ch;
}
/* Kit ships 400/700 only — 700 stands in for the requested 600 */
.founder-sig { margin-top: 1.5em; font-weight: 700; color: var(--pine); }
.founder-sig a { color: var(--copper-deep); }

/* ---- Waitlist (bone, the page's destination) ------------------------------------------------------
   The close, not just a form at the bottom: a faint pine wash at the top of
   the section, intro + proof row + "what happens next" beside the form card.
   Gradient only (no flat fill) so the paper grain stays visible. */
.waitlist {
  scroll-margin-top: 88px;
  border-top: 2px solid var(--pine);
  background: linear-gradient(180deg, rgba(18, 36, 28, 0.035), rgba(18, 36, 28, 0) 55%);
}
.waitlist .container {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  grid-template-areas: "intro" "form" "steps";
}
.waitlist-intro { grid-area: intro; }
/* Copper accent attaches to the headline only, not the whole intro block */
.waitlist-intro h2 {
  border-left: 2px solid var(--copper);
  padding-left: 22px;
}
.waitlist-steps {
  grid-area: steps;
  border-top: 1px solid var(--seam);
  padding-top: 20px;
}
.waitlist .lead { margin-top: 18px; color: var(--sage); }
/* What happens next — three numbered steps in the outcomes register */
.steps-kicker {
  font-family: var(--font-label);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage);
}
.steps {
  margin-top: 14px;
  list-style: none;
  counter-reset: step;
  display: grid; gap: 14px;
  max-width: 46ch;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 40px;
  display: grid; gap: 4px;
}
.steps li + li { border-top: 1px solid var(--seam); padding-top: 14px; }
.steps li::before {
  content: "0" counter(step);
  position: absolute; left: 0; top: 0.25em;
  font-family: var(--font-label);
  font-size: 10px; letter-spacing: 0.14em;
  color: var(--copper-deep);
}
.steps li + li::before { top: calc(14px + 0.25em); }
.step-title { font-size: 1rem; }
.steps li p { color: var(--sage); font-size: 0.95rem; max-width: 40ch; }
/* The form is the page's main conversion object — copper rule, deepest shadow on the page */
.waitlist form {
  grid-area: form;
  max-width: 480px;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 30px);
  background: var(--bone);
  border: 1px solid var(--seam);
  border-top: 4px solid var(--copper);
  border-radius: var(--radius-card);
  box-shadow: 0 28px 56px -44px rgba(18, 36, 28, 0.46);
}
.waitlist form .btn { width: 100%; }
.form-cta { display: grid; gap: 12px; }
.form-cta .microcopy { justify-self: center; text-align: center; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-label);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage);
}
.field input, .field select {
  font: inherit;
  color: var(--pine);
  background: var(--bone);
  border: 1px solid var(--seam);
  border-radius: var(--radius-ui);
  padding: 13px 14px;
  width: 100%;
  transition: border-color var(--dur-micro) var(--ease);
}
/* Focus keeps the global copper outline and hardens the border under it */
.field input:hover, .field select:hover { border-color: var(--sage); }
.field input:focus-visible, .field select:focus-visible { border-color: var(--copper-deep); }
.field .error {
  display: none;
  font-size: 0.9rem; font-weight: 700;
  color: var(--copper-deep);
}
input:user-invalid { outline: 2px solid var(--copper-deep); outline-offset: 2px; }
input:user-invalid ~ .error { display: block; }
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.waitlist .privacy-note { font-size: 0.9rem; color: var(--sage); }
.waitlist .privacy-note a { color: var(--copper-deep); }

/* ---- Footer (bone) --------------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--seam); }
.site-footer .container {
  padding-block: clamp(36px, 6vw, 56px);
  display: grid; gap: 28px;
}
.site-footer .logo img { height: 24px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--sage); }
.site-footer a:hover { color: var(--pine); }
.entity {
  font-family: var(--font-label);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage);
}

/* ---- Subpages (thanks / 404 / legal) ------------------------------------------------------------------ */
.page-simple {
  min-height: 72vh;
  display: grid; align-items: center;
}
.page-simple .container { padding-block: clamp(56px, 9vw, 104px); }
.page-simple h1 { margin-top: 20px; max-width: 18ch; }
.page-simple .lede { margin-top: 20px; }
.next-action {
  margin-top: 32px;
  border-left: 2px solid var(--copper);
  padding: 6px 0 6px 22px;
  max-width: 52ch;
}
.page-simple .home-link {
  display: inline-block; margin-top: 32px; font-weight: 700;
}

.legal { padding-block: clamp(48px, 8vw, 88px); }
.legal .container { max-width: 760px; }
.legal h1 { margin-bottom: 8px; }
.legal .effective { color: var(--sage); font-weight: 700; margin-bottom: 40px; }
.legal h2 {
  font-size: 1.3rem;
  margin-top: 44px; margin-bottom: 14px;
}
.legal p, .legal ul { margin-bottom: 16px; max-width: 68ch; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--copper-deep); }

/* ---- Motion --------------------------------------------------------------------------------------------
   Scroll reveal, reinstated per owner (R14) as a guarded progressive
   enhancement: @supports + prefers-reduced-motion: no-preference only.
   An earlier unguarded version was removed in R12 after renderer stalls
   during scroll — re-test scroll performance before deploy.
   Keyframes declare only `from`; the implied `to` resolves to each
   element's underlying style, so hover transforms and the records' static
   rotations survive the animation's fill. Records themselves are excluded
   anyway — paper artifacts sit still. Travel is capped at 14px. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes rise {
      from { opacity: 0; transform: translateY(14px); }
    }
    /* Image-bearing elements move but never fade — an icon must not present
       as an empty frame mid-scroll. The founder portrait is excluded from
       reveals entirely: the "Founder" nav link smooth-scrolls straight into
       the section, and any reveal state reads as a missing photo. */
    @keyframes rise-solid {
      from { transform: translateY(14px); }
    }
    .section .kicker,
    .section h2,
    .outcomes li,
    .founder-letter,
    .week,
    .memory-map {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
    .station {
      animation: rise-solid linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}

/* Reduced-motion guard — authoritative over everything above */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---- ≥768px ---------------------------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .hero .label { letter-spacing: 0.22em; } /* full tracking once it fits one line */
  .outcomes ul { grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
  .outcomes li + li {
    border-top: 0; padding-top: 0;
    border-left: 1px solid var(--seam); padding-left: 32px;
  }
  /* Desktop swaps the top rule for a left rule — the approval anchor follows */
  .outcomes li.is-approval { border-left-color: var(--copper); }
  .pipeline-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .container {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .site-footer nav { justify-content: center; }
}

/* ---- ≥860px ---------------------------------------------------------------------------------------------- */
@media (min-width: 860px) {
  .header-nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
    margin-right: 12px;
  }
  /* Founder goes two-column: fixed 380px portrait column, letter right */
  .founder-grid { grid-template-columns: 380px 1fr; gap: 64px; }
  .founder-figure { max-width: none; }
}

/* ---- ≥1080px --------------------------------------------------------------------------------------------- */
@media (min-width: 1080px) {
  .hero h1 { max-width: 19ch; }
  /* Figure column widened so the record reads as the page's first object,
     its left edge pulled toward the headline */
  .hero .container { grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); align-items: start; }
  /* The artifact starts near the headline area, not vertically centered —
     the offset clears the monogram so its top lands by the eyebrow/H1. */
  .hero-figure {
    display: block; justify-self: end;
    width: 100%; max-width: 412px;
    margin-top: clamp(32px, 4vw, 52px);
  }
  /* asymmetric: wide copy column; copy is short now, so tops align */
  .who-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
  .week { justify-self: end; width: 100%; }
  /* bento: vary spans so the grid breathes */
  .pipeline-grid { grid-template-columns: repeat(12, 1fr); }
  .pipeline-grid .station { grid-column: span 4; }
  .pipeline-grid .station:nth-child(1),
  .pipeline-grid .station:nth-child(6) { grid-column: span 5; }
  .pipeline-grid .station:nth-child(3),
  .pipeline-grid .station:nth-child(4) { grid-column: span 3; }
  .gate .container { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .gate-figure { justify-self: end; width: 100%; max-width: 460px; }
  /* copy left, memory map right — same asymmetry as the gate */
  .depth-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
  .memory-map { justify-self: end; width: 100%; }
  /* Waitlist becomes the two-column close: intro + steps left, form right */
  .waitlist .container {
    grid-template-columns: minmax(0, 1.12fr) minmax(380px, 480px);
    grid-template-areas:
      "intro form"
      "steps form";
    align-items: start;
    column-gap: clamp(56px, 7vw, 84px);
    row-gap: 28px;
  }
  .waitlist form { justify-self: end; width: 100%; }
}
