/* ============================================================
   THE VETTIC DOSSIER
   The page is typeset as a talent dossier on a coral desk.
   Coral #f99984 is a SURFACE only (desk bookends), never text.
   Red #e5402a appears in exactly ONE place: the word "faster."
   in the hero headline — display size on cream only (3.80:1 =
   large-text AA; it fails below display size — never reuse it).
   ============================================================ */

/* ===== Tokens ===== */
:root {
  --ink: #1f2a44;
  --ink-80: rgba(31, 42, 68, 0.8);
  --ink-65: rgba(31, 42, 68, 0.72); /* AA on both creams at 13px */
  --red: #e5402a;
  --coral: #f99984;
  --cream: #fbf5ec;
  --cream-deep: #f4ecdd;
  --hairline: rgba(31, 42, 68, 0.18);
  --hairline-strong: rgba(31, 42, 68, 0.32);

  /* Utopia fluid scale: 320px @1.2 -> 1440px @1.333 */
  --step--1: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  --step-0: clamp(1.0625rem, 1rem + 0.27vw, 1.25rem);
  --step-1: clamp(1.275rem, 1.18rem + 0.5vw, 1.66rem);
  --step-2: clamp(1.53rem, 1.36rem + 0.86vw, 2.22rem);
  --step-3: clamp(1.84rem, 1.56rem + 1.39vw, 2.95rem);
  --step-4: clamp(2.2rem, 1.78rem + 2.1vw, 3.93rem);
  --step-5: clamp(2rem, 0.62rem + 6.7vw, 4.9rem);

  --space-s: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
  --space-m: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  --space-l: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  --space-section: clamp(4rem, 2.5rem + 7vw, 7.5rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 180ms;
  --dur-reveal: 600ms;

  --font-display: "Fraunces", "Fraunces-fallback", Georgia, serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-cameo: "Newsreader", Georgia, serif;

  --maxw: 1160px;

  /* Paper grain, pre-baked alpha, tiled per surface */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* CLS guard: metric-tuned serif fallback while Fraunces loads */
@font-face {
  font-family: "Fraunces-fallback";
  src: local("Georgia");
  size-adjust: 104%;
  ascent-override: 92%;
}

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

a { color: inherit; }

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

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

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

/* ===== Type ===== */
.display, .h2, .band-title, .colophon-title, .step-date, .terms dt {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "WONK" 0, "SOFT" 0; /* WONK auto-activates at display opsz — keep it calm */
}

.display {
  /* 11vh cap keeps landscape-phone heroes from swallowing the viewport */
  font-size: min(var(--step-5), 11vh);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.h2 {
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-m);
  text-wrap: balance;
}

.nowrap { white-space: nowrap; }

.accent { color: var(--red); font-style: normal; } /* the ONE red on the page */

.microcopy { font-size: 13px; color: var(--ink-65); }

.quiet-link {
  font-size: var(--step--1);
  color: var(--ink-80);
  text-decoration: underline;
  text-decoration-color: var(--hairline-strong);
  text-underline-offset: 0.2em;
  transition: text-decoration-color 250ms var(--ease-out), text-underline-offset 250ms var(--ease-out);
}
.quiet-link:hover { text-decoration-color: var(--ink); text-underline-offset: 0.3em; }

.footnote {
  margin-top: var(--space-m);
  font-size: 13px;
  color: var(--ink-65);
  max-width: 60ch;
}
.fn-mark { color: var(--ink-65); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  white-space: nowrap; text-decoration: none; cursor: pointer;
}
.btn-pill {
  background: var(--ink); color: var(--cream);
  padding: 0 28px; height: 52px; border-radius: 999px;
  transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
}
.btn-pill:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(31, 42, 68, 0.18); }
.btn-pill .arrow { transition: transform var(--dur-micro) var(--ease-out); }
.btn-pill:hover .arrow { transform: translateX(4px); }
.btn-sm { height: 42px; padding: 0 22px; font-size: 15px; }

/* ===== The desk (coral hero surface) ===== */
.desk {
  background-color: var(--coral);
  background-image: var(--grain);
  padding-bottom: clamp(48px, 7vw, 96px);
}

/* ===== Masthead ===== */
.masthead { padding: 16px 0; }
.masthead-row {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 36px; height: 36px; border-radius: 50%; display: block; }
.brand-name { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.masthead-nav { display: flex; align-items: center; gap: 26px; }
.masthead-nav a:not(.btn) {
  font-size: 15px; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 250ms var(--ease-out);
}
.masthead-nav a:not(.btn):hover { border-bottom-color: var(--ink); }
/* compact LinkedIn monogram for small screens, full text elsewhere */
.nav-linkedin-mark {
  display: none;
  width: 28px; height: 28px; place-items: center;
  border: 1px solid var(--hairline-strong); border-radius: 7px;
  font-size: 13px; font-weight: 600; line-height: 1;
}

/* ===== Cover sheet ===== */
.cover { padding-top: clamp(12px, 2.5vw, 32px); }
.sheet {
  /* the coral desk must stay visible at every width — never let the sheet go flush */
  max-width: min(var(--maxw), calc(100% - 48px));
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid rgba(31, 42, 68, 0.08);
  border-radius: 3px;
  box-shadow: 0 24px 48px rgba(31, 42, 68, 0.1);
  padding: clamp(2rem, 1.25rem + 3.5vw, 4.25rem);
}
.sheet-meta {
  display: flex; justify-content: space-between; gap: 16px;
  padding-bottom: 14px; margin-bottom: var(--space-m);
  border-bottom: 1px solid var(--hairline);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-65);
}

.cover-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: var(--space-m);
}

.subhead { max-width: 54ch; font-size: var(--step-0); line-height: 1.55; color: var(--ink-80); }

.facts {
  list-style: none;
  display: flex; flex-wrap: wrap;
  margin-top: var(--space-m);
  border-top: 1px solid var(--hairline);
}
.facts li {
  flex: 1 1 180px;
  padding: 14px 20px 14px 0;
  font-size: var(--step--1);
  color: var(--ink-80);
  font-variant-numeric: tabular-nums;
}
.facts li + li { border-left: 1px solid var(--hairline); padding-left: 20px; }
.facts strong { font-weight: 600; color: var(--ink); }

.cover-cta { margin-top: var(--space-m); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* TOC rail */
.toc { align-self: start; }
.toc-title {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-65); margin-bottom: 6px;
}
.toc-list { list-style: none; }
.toc-list li { border-bottom: 1px solid var(--hairline); }
.toc-list a {
  display: flex; gap: 14px; align-items: baseline;
  padding: 12px 2px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: padding-left 250ms var(--ease-out);
}
.toc-list a:hover { padding-left: 8px; }
.toc-num { font-variant-numeric: tabular-nums; font-size: 12px; color: var(--ink-65); }

/* ===== Sections ===== */
.section { padding: var(--space-section) 0; scroll-margin-top: 24px; }
.section-deep { background: var(--cream-deep); }

.section-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  border-top: 1px solid var(--hairline-strong);
  padding-top: 12px;
  margin-bottom: var(--space-l);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-65);
}
.section-label { font-weight: 600; }

/* ===== 01 — Deliverable ===== */
.deliverable-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.deliverable-intro p { margin-bottom: 1em; max-width: 44ch; color: var(--ink-80); }
/* the 4fr column is narrow: step back so "You don't get résumés." holds one line */
.deliverable-intro .h2 { font-size: calc(var(--step-3) * 0.86); }

/* The specimen document — a sheet on a sheet */
.specimen-wrap { position: relative; }
.specimen {
  position: relative;
  background: var(--cream);
  border: 1px solid rgba(31, 42, 68, 0.1);
  border-radius: 3px;
  box-shadow: 0 16px 40px rgba(31, 42, 68, 0.08);
  transform: rotate(-0.5deg);
  padding: clamp(20px, 3vw, 36px);
}
.doc-head {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums; color: var(--ink-65);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 12px;
}
.doc-identity {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0;
}
.doc-avatar {
  width: 52px; height: 52px; flex: none;
  border: 1px solid var(--hairline-strong); border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
}
.doc-id-text { display: grid; gap: 3px; }
.redaction { width: min(230px, 100%); height: 16px; background: var(--ink); border-radius: 2px; }
.doc-id-caption { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-65); }
.doc-id-role { font-size: 14px; color: var(--ink-80); }

/* The stamp — the page's one theatrical beat */
.stamp {
  margin-left: auto; flex: none;
  display: grid; place-items: center; gap: 1px;
  width: 118px; height: 64px;
  border: 2.5px solid var(--ink);
  box-shadow: inset 0 0 0 3px var(--cream), inset 0 0 0 4px var(--ink);
  border-radius: 4px;
  transform: rotate(-8deg);
  opacity: 0.92;
  color: var(--ink);
}
.stamp-word {
  font-family: var(--font-display); font-weight: 640; font-size: 19px;
  text-transform: uppercase; letter-spacing: 0.14em; line-height: 1;
}
.stamp-ref { font-size: 9.5px; letter-spacing: 0.18em; font-variant-numeric: tabular-nums; }

/* Signals table */
.signals { border-top: 1px solid var(--hairline); }
.signal { padding: 13px 0 14px; border-bottom: 1px solid var(--hairline); }
.signal-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.signal dt { font-weight: 600; font-size: 15px; }
.signal-note { font-size: 13.5px; color: var(--ink-65); margin: 2px 0 9px; }
.signal-bar { height: 5px; background: rgba(31, 42, 68, 0.1); border-radius: 999px; overflow: hidden; }
.signal-fill {
  display: block; height: 100%; background: var(--ink); border-radius: inherit;
  width: calc(var(--w) * 100%);
  transform-origin: left center;
}

.chip {
  flex: none;
  font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--ink); color: var(--ink);
  white-space: nowrap;
}
.chip-strong { border-color: var(--hairline-strong); }
.chip-nice { border-color: var(--hairline); color: var(--ink-65); }
.chip-filled { background: var(--ink); color: var(--cream); }

.doc-overall {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0 4px;
}
.doc-overall-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-65);
}
.doc-overall .chip-filled { font-size: 12px; padding: 5px 14px; }

.doc-rationale {
  font-family: var(--font-cameo); font-style: italic;
  font-size: 19px; line-height: 1.45; color: var(--ink-80);
  border-top: 1px solid var(--hairline);
  padding-top: 14px; margin-top: 10px;
}

.specimen-caption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 32px;
  margin-top: 20px; padding-top: 12px;
  border-top: 1px solid var(--hairline);
  font-size: 13px; color: var(--ink-65);
}
.caption-text { max-width: 46ch; }
.replay {
  flex: none;
  font: inherit; font-size: 13px; color: var(--ink-80);
  background: none; border: none; cursor: pointer;
  text-decoration: underline; text-underline-offset: 0.2em;
  text-decoration-color: var(--hairline-strong);
}
.replay:hover { text-decoration-color: var(--ink); }

/* invisible padded hit areas: small text links still get ~44px touch targets */
.replay, .quiet-link, .colophon-mail, .colophon-foot a {
  padding: 12px 8px; margin: -12px -8px; display: inline-block;
}

/* Annotation marks ①②③ */
.mark {
  display: inline-grid; place-items: center;
  width: 15px; height: 15px; border-radius: 50%;
  border: 1px solid var(--ink-65);
  font-size: 9px; font-weight: 600; font-style: normal;
  vertical-align: super; margin-left: 4px;
  color: var(--ink-80); letter-spacing: 0;
}
.annotations {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 12px 40px;
  margin-top: var(--space-l);
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.annotations li {
  flex: 1 1 260px;
  display: grid; grid-template-columns: 1.6em 1fr;
  font-size: 13.5px; color: var(--ink-80); line-height: 1.5;
}
.annotations .mark { margin-top: 2px; vertical-align: none; }

/* ===== 02 — Timeline ===== */
.timeline {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--hairline);
}
.step { padding-top: 20px; position: relative; }
.step::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 44px; height: 1px; background: var(--ink);
}
.step-date {
  display: block;
  font-size: var(--step-2); font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.1; margin-bottom: 10px;
}
.step h3 { font-size: var(--step-0); font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-80); }
.accent-ink { color: var(--ink); }
.step-deliverable { margin-top: 12px; font-size: 13.5px; }
.step-deliverable span {
  font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-65); display: block;
}
.calibration { list-style: none; margin: 12px 0 0; display: grid; gap: 6px; }
.calibration li {
  font-family: var(--font-cameo); font-style: italic; font-size: 15px; color: var(--ink-80);
  border-left: 2px solid var(--hairline-strong);
  padding-left: 10px;
}

/* ===== Mid-page ask (coral band) ===== */
.band {
  background-color: var(--coral);
  background-image: var(--grain);
  padding: clamp(3.5rem, 6vw, 6rem) 0;
}
.band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-m); flex-wrap: wrap;
}
.band-title { font-size: var(--step-4); font-weight: 600; letter-spacing: -0.01em; }
.band-sub { margin-top: 10px; font-size: var(--step--1); color: var(--ink-80); max-width: 44ch; }
.band-cta { display: grid; gap: 10px; justify-items: start; }
.band .microcopy { color: var(--ink-80); max-width: 44ch; }
.band .btn-pill:hover { box-shadow: 0 4px 14px rgba(31, 42, 68, 0.3); }

/* ===== 03 — Engine ===== */
.engine-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.engine-status {
  display: flex; flex-wrap: wrap; gap: 6px 12px;
  margin-bottom: var(--space-s);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-65);
}
.engine-status strong { font-weight: 600; color: var(--ink); }
.status-sep { color: var(--hairline-strong); }
.lede { color: var(--ink-80); max-width: 58ch; }
.dropcap::first-letter {
  font-family: var(--font-display); font-weight: 600;
  float: left;
  font-size: 3.4em; line-height: 0.82;
  padding: 0.06em 0.12em 0 0;
}
.pull-quote {
  font-family: var(--font-cameo); font-style: italic;
  font-size: var(--step-1); line-height: 1.4; color: var(--ink);
  border-top: 1px solid var(--hairline);
  margin-top: var(--space-m); padding-top: var(--space-s);
  max-width: 30ch;
}

.loop-fig { margin: 0; }
.loop-svg { width: 100%; height: auto; display: block; }
/* printed-figure language: square corners, hairline strokes, no card shadows */
.loop-card rect { fill: var(--cream); stroke: var(--hairline-strong); rx: 0; }
.loop-num {
  font-family: var(--font-body); font-size: 13px; letter-spacing: 0.08em;
  fill: var(--ink-65); text-anchor: middle;
}
.loop-label {
  font-family: var(--font-body); font-size: 17px; font-weight: 600;
  fill: var(--ink); text-anchor: middle;
}
.loop-path { fill: none; stroke: var(--ink); stroke-width: 1; }
/* the learning leg is the part still in training */
.loop-path.in-training { stroke-dasharray: 5 5; }
.fig-caption {
  margin-top: 14px; font-size: 13px; color: var(--ink-65);
  border-top: 1px solid var(--hairline); padding-top: 10px;
}

/* ===== 04 — Letter ===== */
.letter {
  max-width: 62ch; margin: 0 auto;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: clamp(2rem, 4vw, 3.5rem);
}
.letter p { margin-bottom: 1.2em; color: var(--ink-80); font-size: 17px; line-height: 1.65; }
.letter-signoff {
  font-family: var(--font-cameo); font-style: italic;
  font-size: 20px; color: var(--ink); margin-top: var(--space-s);
}
.letter-meta {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  margin-bottom: 0 !important;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-65);
}
.letter-meta .quiet-link { text-transform: none; letter-spacing: 0; }

/* ===== 05 — Terms ===== */
.term-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 16px 40px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}
.term-row:first-of-type { border-top: 1px solid var(--hairline-strong); }
.terms dt { font-size: var(--step-1); font-weight: 600; line-height: 1.2; }
.terms dd { color: var(--ink-80); align-self: center; max-width: 56ch; }

/* ===== Colophon ===== */
.colophon {
  background-color: var(--coral);
  background-image: var(--grain);
  padding-top: var(--space-section);
  overflow: hidden;
}
.colophon-inner {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--space-m); flex-wrap: wrap;
  padding-bottom: var(--space-l);
}
.colophon-title { font-size: var(--step-4); font-weight: 600; letter-spacing: -0.01em; }
.colophon-cta { display: grid; gap: 12px; justify-items: start; }
.colophon-mail {
  font-size: 15px; font-weight: 500;
  text-decoration: underline; text-underline-offset: 0.2em;
  text-decoration-color: var(--hairline-strong);
  transition: text-decoration-color 250ms var(--ease-out);
}
.colophon-mail:hover { text-decoration-color: var(--ink); }
.colophon .btn-pill:hover { box-shadow: 0 4px 14px rgba(31, 42, 68, 0.3); }

.wordmark {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(5rem, 17vw, 15rem);
  line-height: 0.78;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--ink);
  opacity: 0.9;
  /* a clear third of the letterforms is cut by the footer rule — unmistakably a crop */
  transform: translateY(26%);
  user-select: none;
  white-space: nowrap;
}

.colophon-foot {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  border-top: 1px solid var(--hairline-strong);
  padding-top: 16px; padding-bottom: 20px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-80);
  background-color: var(--coral); /* sits above the cropped wordmark */
}
.colophon-foot a { text-decoration: none; }
.colophon-foot a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* ===== Sticky mobile CTA ===== */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 245, 236, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--hairline);
  display: none;
}
.sticky-cta .btn { width: 100%; height: 48px; }
@media (max-width: 720px), (pointer: coarse) and (max-height: 500px) {
  .sticky-cta:not([hidden]) { display: block; }
  .js .sticky-cta { transform: translateY(100%); transition: transform 200ms var(--ease-out); }
  .js .sticky-cta.show { transform: none; }
  html { scroll-padding-bottom: 88px; }
}

/* ============================================================
   MOTION — no-motion-first. Base page is fully static; all
   animation opts in via .js + prefers-reduced-motion.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {

  /* Hero line-mask reveal (load-time, hero only) */
  .js .line { display: block; overflow: hidden; }
  .js .line-inner {
    display: block;
    transform: translateY(110%);
    animation: line-rise 700ms var(--ease-out) forwards;
  }
  .js .line:nth-child(1) .line-inner { animation-delay: 80ms; }
  .js .line:nth-child(2) .line-inner { animation-delay: 170ms; }
  .js .line:nth-child(3) .line-inner { animation-delay: 260ms; }
  .js .cover-fade {
    opacity: 0;
    animation: fade-in 600ms var(--ease-out) 480ms forwards;
  }

  /* Scroll reveals (secondary content only) */
  .js .will-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  }
  .js .will-reveal.in { opacity: 1; transform: none; }

  /* Specimen: bars draw + stamp lands, once */
  .js .specimen.armed .signal-fill {
    transform: scaleX(0);
    transition: transform 800ms var(--ease-out);
    transition-delay: calc(var(--i) * 70ms);
  }
  .js .specimen.armed.in .signal-fill { transform: scaleX(1); }
  .js .specimen.armed .stamp {
    opacity: 0;
    transform: rotate(-8deg) scale(1.18);
    transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out);
    transition-delay: 650ms;
  }
  .js .specimen.armed.in .stamp { opacity: 0.92; transform: rotate(-8deg) scale(1); }
}

@keyframes line-rise { to { transform: none; } }
@keyframes fade-in { to { opacity: 1; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .cover-grid { grid-template-columns: 1fr; }
  .toc { border-top: 1px solid var(--hairline-strong); padding-top: 14px; }
  .deliverable-grid, .engine-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: var(--space-m); }
}

@media (max-width: 720px) {
  .masthead-nav a:not(.btn):not(.nav-linkedin) { display: none; }
  .nav-linkedin { border-bottom: none; }
  .nav-linkedin-full { display: none; }
  .nav-linkedin-mark { display: inline-grid; }
  .masthead-row { gap: 12px; }
  .masthead-nav { gap: 14px; }
  .loop-label { font-size: 24px; }
  .loop-num { font-size: 17px; }
  .wordmark { font-size: 30vw; }
  .step { border-left: 2px solid var(--hairline-strong); }
  .step::before {
    width: 2px; height: 28px; top: 0.3em; left: -2px;
    background: var(--ink);
  }
  .desk { padding-bottom: 0; }
  .cover { padding-top: 8px; }
  /* the dossier conceit survives as a coral bezel */
  .sheet { margin: 0 12px 12px; }
  .sheet-meta-right { display: none; }
  .facts li { flex-basis: 100%; padding: 12px 0; }
  .facts li + li { border-left: none; border-top: 1px solid var(--hairline); padding-left: 0; }
  .cover-cta .btn { width: 100%; }
  .timeline { grid-template-columns: 1fr; }
  .step { padding-left: 18px; padding-top: 0; }
  .term-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .h2 br { display: none; } /* let text-wrap: balance control breaks on phones */
  .band-inner { flex-direction: column; align-items: flex-start; }
  .band .btn, .colophon-cta .btn { width: 100%; }
  .colophon-inner { flex-direction: column; align-items: flex-start; }
  .stamp { width: 96px; height: 54px; }
  .stamp-word { font-size: 15px; }
  .doc-identity { flex-wrap: wrap; }
  .specimen { transform: none; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 15px; }
  .masthead .btn-sm { padding: 0 16px; }
}
