/* =============================================================================
   CaliperForge design system — extracted 2026-06-28 from the locked
   Caliper Forge home + what-we-caught artboards.
   All hex values, font choices, and spacing copied verbatim from the
   .dc.html exports' inline <style>. No re-interpretation.
   ========================================================================== */

/* ----- TOKENS ------------------------------------------------------------- */
:root {
  /* ink — text & dark surfaces */
  --ink:           #1b1d22;
  --ink-soft:      #534c41;
  --ink-soft-2:   #4a4338;
  --ink-mute:      #6b6256;
  --ink-mute-2:    #857a68;

  /* paper — cream backgrounds, cards, rules */
  --paper:         #f4f1ea;
  --paper-deep:    #efebe1;
  --paper-card:    #fbfaf6;
  --paper-rule:    #ddd4c2;
  --paper-rule-2:  #e3ddd0;
  --paper-rule-3:  #ece7da;
  --paper-rule-4:  #cdbf9c;
  --paper-rule-5:  #e6dfcf;

  /* navy — masthead, ledger band, footer */
  --navy:          #0b0f1c;
  --navy-2:        #0d1322;
  --navy-cell:     #222c3d;

  /* on-navy text scale */
  --cream-text:    #eceff6;
  --cream-mute:    #aeb8cc;
  --cream-mute-2:  #9aa6bd;
  --cream-mute-3:  #8a96ad;
  --cream-mute-4:  #7e8aa1;
  --cream-mute-5:  #5f6b80;
  --cream-mute-6:  #cdd5e4;

  /* gold — brand accent, CTA, eyebrows */
  --gold:          #c8a86b;
  --gold-hover:    #d8bd84;
  --gold-deep:    #9a7b3e;
  --gold-deep-2:   #bba36e;
  --gold-deep-3:   #a98b54;
  --brick-link:    #9a8147;

  /* semantic */
  --brick:         #c2674a;
  --green:         #3f7d52;

  /* type */
  --font-serif: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  --font-sans:  'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* shell */
  --shell-max:    1180px;
  --shell-pad:    48px;
  --shell-pad-sm: 24px;
}

/* ----- BASE --------------------------------------------------------------- */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
::selection { background: rgba(200, 168, 107, .3); }

/* ----- FULL-BLEED BACKGROUND BANDS ---------------------------------------- */
.cf-band--navy       { background: var(--navy);       color: var(--cream-text); }
.cf-band--navy-2     { background: var(--navy-2);     color: var(--cream-text); border-top: 1px solid rgba(255,255,255,.06); }
.cf-band--paper      { background: var(--paper);      color: var(--ink); }
.cf-band--paper-deep { background: var(--paper-deep); color: var(--ink); border-top: 1px solid var(--paper-rule-2); border-bottom: 1px solid var(--paper-rule-2); }

/* ----- SHELL -------------------------------------------------------------- */
.cf-shell {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
}

/* ----- UTILITY (OPERATOR) STRIP ------------------------------------------- */
.cf-opstrip {
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
}
.cf-opstrip__row {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 11px var(--shell-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.cf-opstrip__operator { color: var(--gold-deep-2); }
.cf-opstrip__meta     { color: var(--cream-mute-4); white-space: nowrap; }

/* ----- NAV ---------------------------------------------------------------- */
.cf-nav {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 22px var(--shell-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cf-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -.01em;
  color: var(--cream-text);
}
.cf-nav-right {
  display: flex;
  gap: 22px;
  align-items: center;
}
.cf-nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--cream-mute-2);
}
.cf-nav-links a { transition: color .2s; }
.cf-nav-links a:hover { color: var(--cream-text); }
.cf-nav-links a.is-current { color: var(--gold); }

/* ----- MARK (the 17px gold-outlined square with the inset dot) ------------ */
.cf-mark {
  width: 17px; height: 17px;
  border: 1.5px solid var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.cf-mark::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--gold);
  display: block;
}
.cf-mark--sm { width: 14px; height: 14px; }
.cf-mark--sm::before { width: 4px; height: 4px; }

/* ----- CTAs --------------------------------------------------------------- */
.cf-cta-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 9px 16px;
  border-radius: 3px;
  transition: background .2s;
  white-space: nowrap;
}
.cf-cta-gold:hover { background: var(--gold-hover); }

.cf-cta-gold--lg {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 24px;
  border-radius: 3px;
}

.cf-link-cream-underline {
  font-size: 14px;
  color: var(--cream-text);
  border-bottom: 1px solid rgba(200, 168, 107, .5);
  padding-bottom: 2px;
  transition: border-color .2s;
}
.cf-link-cream-underline:hover { border-color: var(--gold); }

.cf-link-gold {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gold);
  border-bottom: 1px solid rgba(200, 168, 107, .5);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: border-color .2s;
}
.cf-link-gold:hover { border-color: var(--gold); }

.cf-link-gold--deep {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-deep);
  border-bottom: 1px solid rgba(154, 123, 62, .5);
  padding-bottom: 3px;
}

/* ----- EYEBROW (mono caps gold section label) ----------------------------- */
.cf-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--gold-deep);
  margin: 0 0 16px;
}
.cf-eyebrow--navy { color: var(--gold); }
.cf-eyebrow--brick { color: var(--brick); }
.cf-eyebrow--hero {
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--gold);
  margin: 0 0 34px;
}

/* ----- DISPLAY HEADLINES -------------------------------------------------- */
.cf-h1 {
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -.018em;
  margin: 0;
  color: inherit;
}
.cf-h1 em, .cf-h1 i, .cf-h1 .cf-italic-gold {
  font-style: italic;
  color: var(--gold);
}

.cf-h2 {
  font-family: var(--font-serif);
  font-size: 38px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -.01em;
  margin: 0;
}
.cf-h2--lg { font-size: 44px; line-height: 1.08; letter-spacing: -.015em; }
.cf-h2--md { font-size: 40px; line-height: 1.12; }
.cf-h2--sm { font-size: 34px; line-height: 1.18; }
.cf-h2--xs { font-size: 32px; line-height: 1.2; }

.cf-h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 500;
  margin: 16px 0 10px;
}

/* ----- PROSE -------------------------------------------------------------- */
.cf-prose {
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--ink-soft-2);
  margin: 0 0 20px;
}
.cf-prose--navy { color: var(--cream-mute); }
.cf-prose--sm { font-size: 15.5px; line-height: 1.74; color: var(--ink-soft); }
.cf-prose--xs { font-size: 14.5px; line-height: 1.68; color: var(--ink-soft); }

/* ----- HERO --------------------------------------------------------------- */
.cf-hero { padding: 78px var(--shell-pad) 0; max-width: var(--shell-max); margin: 0 auto; }
.cf-hero--whatwecaught { padding: 76px var(--shell-pad) 0; }

.cf-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr .85fr;
  gap: 60px;
  align-items: end;
}
.cf-hero-aside { padding-bottom: 8px; }
.cf-hero-aside .cf-prose { font-size: 16.5px; line-height: 1.72; color: var(--cream-mute); margin: 0 0 26px; }
.cf-hero-actions { display: flex; gap: 16px; align-items: center; }

/* operator quote band under the hero */
.cf-quote {
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid rgba(200, 168, 107, .26);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.cf-quote__text {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--cream-mute-6);
  max-width: 640px;
  line-height: 1.5;
}
.cf-quote__meta {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--cream-mute-4);
  line-height: 1.9;
  white-space: nowrap;
}
.cf-quote__meta b, .cf-quote__meta strong { color: var(--gold); font-weight: 400; }

/* ----- STAT ROWS ---------------------------------------------------------- */
.cf-stats4, .cf-stats3 {
  display: grid;
  border-top: 1px solid var(--paper-rule);
}
.cf-stats4 { grid-template-columns: repeat(4, 1fr); }
.cf-stats3 { grid-template-columns: repeat(3, 1fr); }

.cf-stats4--navy, .cf-stats3--navy { border-top: 1px solid rgba(255, 255, 255, .1); }

.cf-stat {
  padding: 30px 26px 6px;
  border-right: 1px solid var(--paper-rule);
}
.cf-stats4--navy .cf-stat, .cf-stats3--navy .cf-stat { border-right: 1px solid rgba(255, 255, 255, .08); }
.cf-stat:first-child { padding-left: 0; padding-right: 26px; }
.cf-stat:last-child  { padding-right: 0; padding-left: 26px; border-right: none; }

.cf-stat-num {
  font-family: var(--font-serif);
  font-size: 50px;
  font-weight: 500;
  line-height: 1;
  color: inherit;
}
.cf-stat-num--lg     { font-size: 68px; font-weight: 600; line-height: .92; color: var(--gold); }
.cf-stat-num--hero   { font-size: 56px; }
.cf-stat-num--md     { font-size: 46px; }
.cf-stat-num--sm     { font-size: 34px; }
.cf-stat-num--gold   { color: var(--gold); }
.cf-stat-num--brick  { color: var(--brick); }
.cf-stat-num--ink    { color: var(--ink); }
.cf-stat-num--cream  { color: var(--cream-text); }
.cf-stat-num--deep-gold { color: var(--gold-deep); }

.cf-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink-mute-2);
  margin-top: 12px;
  line-height: 1.6;
}
.cf-stat-label--navy { color: var(--cream-mute-3); letter-spacing: .08em; margin-top: 14px; }
.cf-stat-label--hero { color: var(--cream-mute-4); letter-spacing: .1em; }
.cf-stat-label--gold { color: var(--gold-deep-2); }

/* small caption under a stat row */
.cf-stat-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cream-mute-5);
  margin-top: 16px;
  letter-spacing: .03em;
}
.cf-stat-caption--paper { color: var(--ink-mute-2); }

/* ----- TWO-COLUMN NUMBERED SECTION ---------------------------------------- */
.cf-2col {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
}
.cf-2col__body { padding-top: 8px; }

/* ----- METHOD STRIP (3 numbered steps + flowing dot) ---------------------- */
.cf-method {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.cf-method__line {
  position: absolute;
  left: 11%; right: 11%;
  top: 17px;
  height: 1px;
  background: rgba(154, 123, 62, .32);
}
.cf-method__dot {
  position: absolute;
  top: 17px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold-deep);
  margin-top: -4px;
  box-shadow: 0 0 10px rgba(154, 123, 62, .55);
  animation: cfflow 3.8s linear infinite;
}
@keyframes cfflow {
  0%   { left: -2%; }
  100% { left: 102%; }
}
.cf-method__step { position: relative; z-index: 2; }
.cf-method__step-label {
  display: inline-block;
  background: var(--paper);
  padding-right: 16px;
}
.cf-method__step-label span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--gold-deep);
}

/* ----- CARDS -------------------------------------------------------------- */
.cf-card {
  background: var(--paper-card);
  border: 1px solid var(--paper-rule-2);
  border-radius: 5px;
  padding: 26px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.cf-card:hover {
  transform: translateY(-4px);
  border-color: #cbbf9f;
  box-shadow: 0 16px 34px rgba(40, 33, 20, .08);
}
.cf-card--miss   { border-left: 3px solid var(--brick); }
.cf-card--dashed { background: var(--paper); border: 1px dashed var(--paper-rule-4); }
.cf-card--dashed:hover { transform: none; box-shadow: none; border-color: var(--paper-rule-4); }

.cf-card__head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 14px;
  gap: 10px;
}
.cf-card__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
}
.cf-card__title--miss { font-weight: 500; line-height: 1.3; font-size: 18px; }
.cf-card__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.cf-card__eyebrow--miss { font-size: 11px; letter-spacing: .08em; color: var(--brick); }
.cf-card__body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.cf-card__body--miss { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 18px; }
.cf-card__foot {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-mute-2);
  letter-spacing: .04em;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--paper-rule-3);
  padding-top: 12px;
}
.cf-card__foot--miss {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--gold-deep);
  border-top: 1px solid var(--paper-rule-3);
  padding-top: 12px;
}
.cf-card__foot-right { color: var(--gold-deep); }

/* ----- BADGES ------------------------------------------------------------- */
.cf-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 7px;
  border-radius: 3px;
  white-space: nowrap;
}
.cf-badge--ci { color: var(--green); border: 1px solid rgba(63, 125, 82, .4); }
.cf-badge--emerging {
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--gold-deep-3);
  border: 1px solid rgba(154, 123, 62, .4);
  padding: 2px 8px;
  border-radius: 99px;
}

/* ----- CHIPS (invariant-class tags) --------------------------------------- */
.cf-chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-soft);
  background: var(--paper-card);
  border: 1px solid var(--paper-rule-2);
  padding: 7px 13px;
  border-radius: 3px;
}
.cf-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ----- DECISION LEDGER (50-cell square grid) ------------------------------ */
.cf-ledger {
  display: grid;
  grid-template-columns: repeat(25, 1fr);
  gap: 7px;
  max-width: 760px;
}
.cf-ledger-cell {
  aspect-ratio: 1;
  border-radius: 2px;
}
.cf-ledger-cell--caught { background: var(--gold); }
.cf-ledger-cell--missed { background: var(--brick); }
.cf-ledger-cell--clean  { background: var(--navy-cell); border: 1px solid rgba(255, 255, 255, .07); }

.cf-ledger-legend {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cream-mute-2);
  margin-top: 22px;
}
.cf-ledger-legend > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cf-ledger-legend i {
  width: 11px; height: 11px;
  border-radius: 2px;
  display: inline-block;
}
.cf-ledger-legend i.cf-ledger-cell--clean { border: 1px solid rgba(255, 255, 255, .12); }

/* ----- CATCH-RATE BAR ----------------------------------------------------- */
.cf-bar-frame {
  max-width: 760px;
  margin-top: 46px;
}
.cf-bar-frame__label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cream-mute-3);
  margin-bottom: 10px;
}
.cf-bar {
  display: flex;
  height: 16px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--navy-cell);
}
.cf-bar__caught { background: var(--gold); }
.cf-bar__missed { background: var(--brick); }

/* ----- 4-column chains row (cream) ---------------------------------------- */
.cf-chains4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--paper-rule);
}
.cf-chains4 > div {
  padding: 26px 24px;
  border-right: 1px solid var(--paper-rule);
}
.cf-chains4 > div:first-child { padding-left: 0; padding-right: 24px; }
.cf-chains4 > div:last-child  { padding-left: 24px; padding-right: 0; border-right: none; }
.cf-chain-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.cf-chain-name {
  font-family: var(--font-serif);
  font-size: 19px;
  margin-bottom: 8px;
}
.cf-chain-prose {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
}

/* ----- GENERIC HEAD-WITH-LINK ROW (eyebrow+h2 on left, link on right) ----- */
.cf-head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 14px;
}
.cf-head-row--md { margin-bottom: 36px; }

/* ----- CONTACT 2-COLUMN (CTA + tabular contacts) -------------------------- */
.cf-contact2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.cf-contact-list {
  font-family: var(--font-mono);
  font-size: 13px;
  padding-top: 8px;
}
.cf-contact-list__row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.cf-contact-list__row:first-child { border-top: 1px solid rgba(255, 255, 255, .1); }
.cf-contact-list__row span:first-child { color: var(--cream-mute-4); }
.cf-contact-list__row span:last-child  { color: var(--cream-text); }
.cf-contact-list__row--gold span:last-child { color: var(--gold); }
.cf-contact-list__row--brick span:last-child { color: var(--brick); }

/* ----- FOOTER ------------------------------------------------------------- */
.cf-footer {
  margin-top: 72px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cf-footer__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-serif);
  font-size: 16px;
}
.cf-footer__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cream-mute-5);
}

/* ----- 6-up CHECKS GRID (07 / HOW WE'RE ORGANIZED) ------------------------ */
.cf-checks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ----- 3-up SHIP CARDS (04 / WHAT WE SHIP) -------------------------------- */
.cf-ship3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ----- 3-up MISS CARDS (THE THREE WE MISSED, what-we-caught) -------------- */
.cf-misses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ----- 4-up GATE-TYPE STRIP (HOW THE RECORD WORKS) ------------------------ */
.cf-gates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--paper-rule);
}
.cf-gates > div {
  padding: 26px 24px;
  border-right: 1px solid var(--paper-rule);
}
.cf-gates > div:first-child { padding-left: 0; padding-right: 24px; }
.cf-gates > div:last-child  { padding-left: 24px; padding-right: 0; border-right: none; }

/* ----- SCALE-LEAD STAT ROW (hero, added 2026-07-01) -----------------------
   The lead stats block reads as the org's operational scale. Slightly
   deeper padding and an underline rule under each big number so the row
   feels like a precision instrument's readout, not a KPI dashboard. The
   underline is the animation target for caliper-motion.js (draw-in from 0).
   --------------------------------------------------------------------------- */
.cf-scale-lead { position: relative; }
.cf-stats4--lead { border-top: 1px solid rgba(200, 168, 107, .32); }
.cf-stat--lead {
  position: relative;
  padding-top: 34px;
  padding-bottom: 4px;
}
.cf-stat--lead .cf-stat-num--hero { font-size: 62px; line-height: .95; letter-spacing: -.02em; }
.cf-stat-underline {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(200, 168, 107, .12) 100%);
  margin: 16px 0 14px;
  width: 100%;
  transform-origin: left center;
}

/* ----- MEASUREMENT-GRID BACKDROP (navy bands, added 2026-07-01) -----------
   A finely-etched caliper measurement grid painted onto each .cf-band--navy
   that opts in with the .cf-band--measured modifier. The grid is a stack of
   two orthogonal repeating-linear-gradients that produce major/minor ticks
   at 40px / 8px. It stays a fixed backdrop so it reads as ruled paper — the
   precision cue is the editorial hook, not motion. A slow sweep is layered
   on top with reduced-motion gating (see below); the ticks themselves are
   never animated.
   --------------------------------------------------------------------------- */
.cf-band--measured { position: relative; overflow: hidden; }
.cf-band--measured > .cf-shell,
.cf-band--measured > .cf-opstrip,
.cf-band--measured > .cf-nav,
.cf-band--measured > .cf-hero,
.cf-band--measured > section,
.cf-band--measured > footer { position: relative; z-index: 2; }
.cf-measure-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    /* vertical minor ticks every 8px */
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent 7px,
      rgba(200, 168, 107, .04) 7px,
      rgba(200, 168, 107, .04) 8px
    ),
    /* vertical major ticks every 40px */
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent 39px,
      rgba(200, 168, 107, .09) 39px,
      rgba(200, 168, 107, .09) 40px
    ),
    /* horizontal minor ticks every 40px */
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 39px,
      rgba(255, 255, 255, .025) 39px,
      rgba(255, 255, 255, .025) 40px
    );
  /* radial mask fades the grid into black at the edges so it reads as a
     draftsman's sheet under the content, not wallpaper. */
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,1) 0%, rgba(0,0,0,.85) 45%, rgba(0,0,0,.35) 78%, rgba(0,0,0,0) 100%);
          mask-image: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,1) 0%, rgba(0,0,0,.85) 45%, rgba(0,0,0,.35) 78%, rgba(0,0,0,0) 100%);
}
/* Deeper navy band gets a slightly cooler tint on the horizontal ticks. */
.cf-band--navy-2 .cf-measure-grid {
  background-image:
    repeating-linear-gradient(to right, transparent 0, transparent 7px, rgba(200, 168, 107, .05) 7px, rgba(200, 168, 107, .05) 8px),
    repeating-linear-gradient(to right, transparent 0, transparent 39px, rgba(200, 168, 107, .10) 39px, rgba(200, 168, 107, .10) 40px),
    repeating-linear-gradient(to bottom, transparent 0, transparent 39px, rgba(174, 184, 204, .04) 39px, rgba(174, 184, 204, .04) 40px);
}

/* ----- HEADLINE-ENTRANCE STAGGER (added 2026-07-01) ----------------------
   The .cf-h1--entrance headline splits into logical lines wrapped in
   .cf-hline spans. Each line rises + fades in independently with a small
   stagger for the first-impression cadence CEO steered toward. Reduced
   motion suppresses the entrance and shows the final, static headline.
   --------------------------------------------------------------------------- */
.cf-h1--entrance { display: block; }
.cf-h1--entrance .cf-hline {
  display: inline-block;
  will-change: opacity, transform;
}

/* ----- MOTION LAYER -------------------------------------------------------
   All motion is gated behind prefers-reduced-motion: no-preference so users
   who prefer reduced motion get the final, readable state with zero animation.
   Classes are added by caliper-motion.js after page load.
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  /* scroll reveal — section content fades + rises into view */
  .cf-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .45s ease-out, transform .45s ease-out;
    will-change: opacity, transform;
  }
  .cf-reveal.cf-revealed {
    opacity: 1;
    transform: none;
  }
  /* decision-ledger stagger — each cell fades in with an 8ms cascade */
  .cf-ledger.cf-ledger-anim .cf-ledger-cell {
    opacity: 0;
    transform: scale(.55);
    transition: opacity .35s ease-out, transform .35s ease-out;
    will-change: opacity, transform;
  }
  .cf-ledger.cf-ledger-anim.cf-ledger-played .cf-ledger-cell {
    opacity: 1;
    transform: none;
  }
  /* live-ledger pulse — the "caught" cells continue a slow, low-amplitude
     glow after they've faded in, to signal the ledger is live rather than
     static. Only the gold cells pulse; brick and clean stay steady. */
  .cf-ledger.cf-ledger-anim.cf-ledger-played .cf-ledger-cell--caught {
    animation: cf-ledger-pulse 4.8s ease-in-out infinite;
  }
  /* Spread the pulse across cells so it reads as a slow rolling scan, not
     a synchronized blink. Six phases repeat every six cells via :nth-child. */
  .cf-ledger.cf-ledger-played .cf-ledger-cell--caught:nth-child(6n+1) { animation-delay:   0s; }
  .cf-ledger.cf-ledger-played .cf-ledger-cell--caught:nth-child(6n+2) { animation-delay: .8s; }
  .cf-ledger.cf-ledger-played .cf-ledger-cell--caught:nth-child(6n+3) { animation-delay: 1.6s; }
  .cf-ledger.cf-ledger-played .cf-ledger-cell--caught:nth-child(6n+4) { animation-delay: 2.4s; }
  .cf-ledger.cf-ledger-played .cf-ledger-cell--caught:nth-child(6n+5) { animation-delay: 3.2s; }
  .cf-ledger.cf-ledger-played .cf-ledger-cell--caught:nth-child(6n+6) { animation-delay: 4.0s; }
  @keyframes cf-ledger-pulse {
    0%, 100% { box-shadow: 0 0 0 rgba(200, 168, 107, 0); filter: brightness(1); }
    50%      { box-shadow: 0 0 10px rgba(200, 168, 107, .55); filter: brightness(1.12); }
  }
  /* catch-rate bar — flex-grow from 0 to its loaded ratio */
  .cf-bar.cf-bar-anim .cf-bar__caught,
  .cf-bar.cf-bar-anim .cf-bar__missed {
    transition: flex-grow .9s ease-out;
  }
  /* headline entrance — each .cf-hline line rises and fades in with a
     50ms stagger set inline by caliper-motion.js (transition-delay). */
  .cf-h1--entrance .cf-hline {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s cubic-bezier(.2, .8, .2, 1), transform .6s cubic-bezier(.2, .8, .2, 1);
  }
  .cf-h1--entrance.cf-hline-in .cf-hline {
    opacity: 1;
    transform: none;
  }
  /* lead-stat underline draw-in — scaleX from 0 -> 1 when the stat's
     count-up animation fires. Coupled to .cf-stat-num being visible. */
  .cf-stat-underline {
    transform: scaleX(0);
    transition: transform 1.1s cubic-bezier(.2, .8, .2, 1) .1s;
  }
  .cf-stat--lead.cf-underline-in .cf-stat-underline { transform: scaleX(1); }
  /* measurement-grid slow sweep — a single gold hairline drifts across the
     navy backdrop every 22s. Extremely low-amplitude, reads as a
     caliper's live scan. Fully suppressed under reduced-motion. */
  .cf-band--measured .cf-measure-grid::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(200, 168, 107, 0) 0%, rgba(200, 168, 107, .32) 50%, rgba(200, 168, 107, 0) 100%);
    animation: cf-measure-scan 22s linear infinite;
    opacity: .55;
  }
  @keyframes cf-measure-scan {
    0%   { left: -4%; }
    100% { left: 104%; }
  }
}

/* ----- RESPONSIVE for scale-lead stats + entrance ------------------------- */
@media (max-width: 860px) {
  .cf-stat--lead .cf-stat-num--hero { font-size: 46px; }
  .cf-stats4--lead { grid-template-columns: 1fr 1fr; }
}

/* ----- ARTICLE / LONG-FORM PROSE ------------------------------------------
   Shared body styles for the blog posts, papers, engagements, and
   ai-disclosure pages. Serif body, mono inline code, cream pre blocks,
   gold in-body links. Same tokens as the rest of the system, no forks.
   --------------------------------------------------------------------------- */
.cf-article-shell {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 68px var(--shell-pad) 84px;
}
.cf-article {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft-2);
}
.cf-article__section { margin-bottom: 44px; }
.cf-article__section:last-child { margin-bottom: 0; }
.cf-article__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.cf-article h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 8px 0 20px;
}
.cf-article h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  margin: 26px 0 10px;
}
.cf-article p {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft-2);
  margin: 0 0 18px;
}
.cf-article ul, .cf-article ol {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft-2);
  margin: 0 0 20px;
  padding-left: 22px;
}
.cf-article li { margin: 0 0 10px; }
.cf-article a {
  color: var(--gold-deep);
  border-bottom: 1px solid rgba(154, 123, 62, .35);
  transition: border-color .2s, color .2s;
}
.cf-article a:hover { color: var(--gold); border-color: var(--gold); }
.cf-article code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  background: rgba(200, 168, 107, .12);
  color: var(--ink);
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid rgba(200, 168, 107, .22);
}
.cf-article pre {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper-card);
  border: 1px solid var(--paper-rule-2);
  border-radius: 4px;
  padding: 18px 20px;
  overflow-x: auto;
  margin: 0 0 24px;
}
.cf-article pre code {
  background: transparent;
  border: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
}
.cf-article blockquote {
  border-left: 3px solid var(--gold-deep);
  margin: 0 0 22px;
  padding: 4px 0 4px 22px;
  color: var(--ink-soft);
  font-style: italic;
}
.cf-article__rule {
  border: none;
  border-top: 1px solid var(--paper-rule);
  margin: 40px 0;
}
.cf-article__meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-mute-2);
  letter-spacing: .04em;
  margin: 40px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--paper-rule-2);
}

/* ----- ARTICLE HERO (compact hero on the navy band) ----------------------- */
.cf-hero--article {
  padding: 62px var(--shell-pad) 58px;
  max-width: var(--shell-max);
  margin: 0 auto;
}
.cf-hero--article .cf-h1 {
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: -.018em;
  max-width: 880px;
  margin: 0 0 22px;
}
.cf-hero-lede {
  font-family: var(--font-serif);
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--cream-mute);
  max-width: 640px;
  margin: 0;
}
.cf-hero-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--cream-mute-4);
  margin-top: 22px;
}

/* ----- BLOG CARD GRID ----------------------------------------------------- */
.cf-blog-cards { display: grid; grid-template-columns: 1fr; gap: 18px; }
.cf-blog-card {
  background: var(--paper-card);
  border: 1px solid var(--paper-rule-2);
  border-radius: 5px;
  padding: 24px 28px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.cf-blog-card:hover {
  transform: translateY(-2px);
  border-color: #cbbf9f;
  box-shadow: 0 12px 26px rgba(40, 33, 20, .07);
}
.cf-blog-card__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}
.cf-blog-card__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.28;
  flex: 1 1 auto;
  transition: color .2s;
}
.cf-blog-card a.cf-blog-card__title:hover { color: var(--gold-deep); }
.cf-blog-card__date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute-2);
  letter-spacing: .04em;
  white-space: nowrap;
}
.cf-blog-card__desc {
  font-family: var(--font-serif);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

/* ----- ENGAGEMENTS PROJECT-LIST ------------------------------------------ */
.cf-eng-list { display: grid; gap: 18px; }
.cf-eng-item {
  background: var(--paper-card);
  border: 1px solid var(--paper-rule-2);
  border-left: 3px solid var(--gold-deep);
  border-radius: 5px;
  padding: 24px 26px;
}
.cf-eng-item__name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
}
.cf-eng-item__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cf-eng-item__scope {
  font-family: var(--font-serif);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.cf-eng-item__proof {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute-2);
  line-height: 1.7;
  border-top: 1px solid var(--paper-rule-3);
  padding-top: 12px;
}
.cf-eng-item__proof a {
  color: var(--gold-deep);
  border-bottom: 1px solid rgba(154, 123, 62, .35);
}
.cf-eng-item__proof a:hover { color: var(--gold); border-color: var(--gold); }

/* ----- SPEC / LABELED-ROW LIST (contact, scope) --------------------------- */
.cf-speclist {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  border-top: 1px solid var(--paper-rule-2);
}
.cf-speclist li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--paper-rule-2);
  font-family: var(--font-serif);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.cf-speclist__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--gold-deep);
  text-transform: uppercase;
  align-self: start;
  padding-top: 2px;
}
.cf-speclist a {
  color: var(--gold-deep);
  border-bottom: 1px solid rgba(154, 123, 62, .35);
}
.cf-speclist a:hover { color: var(--gold); border-color: var(--gold); }

/* ----- INLINE CHIP-BADGE (reused for engagements) ------------------------ */
.cf-chip--ci { color: var(--green); border-color: rgba(63, 125, 82, .4); }
.cf-chip--muted { color: var(--ink-mute-2); border-color: var(--paper-rule-2); background: var(--paper); }

/* ----- RESPONSIVE --------------------------------------------------------- */
@media (max-width: 860px) {
  .cf-shell, .cf-opstrip__row, .cf-nav, .cf-hero { padding-left: var(--shell-pad-sm); padding-right: var(--shell-pad-sm); }
  .cf-hero { padding-left: var(--shell-pad-sm); padding-right: var(--shell-pad-sm); }
  .cf-nav-links { display: none; }
  .cf-opstrip__meta { display: none; }
  .cf-hero-grid { grid-template-columns: 1fr; gap: 30px; align-items: start; }
  .cf-h1 { font-size: 42px; }
  .cf-h2, .cf-h2--lg, .cf-h2--md, .cf-h2--sm, .cf-h2--xs { font-size: 28px; line-height: 1.2; }
  .cf-quote { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cf-quote__meta { text-align: left; white-space: normal; }
  .cf-2col { grid-template-columns: 1fr; gap: 26px; }
  .cf-method { grid-template-columns: 1fr; gap: 26px; }
  .cf-method__line, .cf-method__dot { display: none; }
  .cf-head-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cf-ship3, .cf-checks, .cf-misses { grid-template-columns: 1fr; }
  .cf-gates { grid-template-columns: 1fr; }
  .cf-gates > div { border-right: none; border-top: 1px solid var(--paper-rule); padding: 22px 0; }
  .cf-gates > div:first-child { border-top: none; }
  .cf-chains4 { grid-template-columns: 1fr 1fr; }
  .cf-contact2 { grid-template-columns: 1fr; gap: 34px; }
  .cf-footer { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cf-stats4 { grid-template-columns: 1fr 1fr; }
  .cf-stats4 .cf-stat { border-right: none; padding: 24px 14px 6px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .cf-stats4--paper .cf-stat { border-top-color: var(--paper-rule); }
  .cf-stats3 { grid-template-columns: 1fr; }
  .cf-stats3 .cf-stat { border-right: none; padding-left: 0; padding-top: 22px; border-top: 1px solid var(--paper-rule); }
  .cf-ledger { grid-template-columns: repeat(10, 1fr); }
}
@media (max-width: 480px) {
  .cf-h1 { font-size: 33px; }
  .cf-h2, .cf-h2--lg, .cf-h2--md, .cf-h2--sm, .cf-h2--xs { font-size: 24px; }
  .cf-chains4 { grid-template-columns: 1fr; }
  .cf-chains4 > div { border-right: none; padding-left: 0; padding-right: 0; border-top: 1px solid var(--paper-rule); }
  .cf-chains4 > div:first-child { border-top: none; }
}

/* ----- RESPONSIVE — article/blog/engagements ----------------------------- */
@media (max-width: 860px) {
  .cf-hero--article { padding: 44px var(--shell-pad-sm) 44px; }
  .cf-hero--article .cf-h1 { font-size: 38px; }
  .cf-article-shell { padding: 48px var(--shell-pad-sm) 60px; }
  .cf-article h2 { font-size: 25px; }
  .cf-article h3 { font-size: 19px; }
  .cf-speclist li { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .cf-blog-card__head { flex-direction: column; gap: 6px; align-items: flex-start; }
  .cf-blog-card { padding: 22px 22px; }
}
