/* ─────────────────────────────────────────────
   Alfred — editorial redesign
   Mineral paper, ink, and one chartreuse marker.
   Magazine cadence; serif voice; type does the
   talking, not pen squiggles.
   ───────────────────────────────────────────── */

:root {
  /* paper & ink (cool mineral bone, not cream) */
  --paper:    #E7E5D7;   /* cool olive-grey paper */
  --paper-2:  #DFDCCC;   /* a stop deeper, for tinted sections */
  --paper-3:  #D2CFBC;   /* deepest paper */
  --ink:      #15140F;   /* warm deep ink */
  --ink-2:    #3B3A33;
  --ink-3:    #6E6C61;
  --ink-4:    #95928A;
  --ink-5:    #BFBCB0;
  --rule:     #BFBCB0;
  --rule-2:   #D2CFC2;

  /* the marker — one chartreuse, used like a highlighter */
  --mark:        #C9D52A;            /* acid chartreuse */
  --mark-2:      #B5BF1E;            /* deeper, for hover */
  --mark-3:      #3D4407;            /* deep olive — for ACCENT TEXT only */
  --mark-soft:   rgba(201, 213, 42, 0.55);   /* highlighter wash */
  --mark-faint:  rgba(201, 213, 42, 0.18);

  /* type — three editorial voices */
  --display: "Instrument Serif", "Times New Roman", Times, serif;
  --body:    "Newsreader", "Iowan Old Style", "Charter", "Georgia", serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --hand:    var(--display);  /* obliterate cursive marginalia */

  --container-max:  1320px;
  --container-text:  720px;
  --section-pad-y: 168px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 380;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  font-variation-settings: "opsz" 16;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }

/* fine paper grain — barely there */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(21, 20, 15, 0.035) 1px, transparent 0);
  background-size: 3px 3px;
  opacity: 0.55;
  mix-blend-mode: multiply;
}
main, .nav, .footer { position: relative; z-index: 1; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 56px;
  width: 100%;
}

/* selection — chartreuse */
::selection {
  background: var(--mark);
  color: var(--ink);
}

/* ───────────────────────────────────────────────
   GLOBAL: kill all cursive marks (SVG squiggles)
   and replace `.marked` with italic-serif + a
   chartreuse highlighter that swipes in on reveal.
   ─────────────────────────────────────────────── */
.mark-circle,
.underline-svg,
.circle-svg,
.highlight-svg,
.arrow-svg,
.mark-stroke {
  display: none !important;
}

.marked {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  display: inline;
  letter-spacing: -0.015em;
}
/* chartreuse highlighter ONLY on section-heading + beat-claim marks */
.h2 .marked,
.cta-h .marked,
.beat-claim .marked {
  background-image: linear-gradient(180deg,
      transparent 0%,
      transparent 58%,
      var(--mark-soft) 58%,
      var(--mark-soft) 96%,
      transparent 96%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: left center;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.06em;
  margin: 0 -0.06em;
}

/* hand → italic serif sidenote (was Caveat) */
.hand {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-2);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ───── reveal primitives (compatible w/ existing JS) ───── */
/* Content is always visible; reveals only add a subtle transform.
   No opacity gating — prevents content getting stuck invisible. */
.js [data-reveal] {
  transform: translateY(14px);
  transition: transform 1.1s cubic-bezier(0.16, 0.84, 0.34, 1);
  will-change: transform;
}
.js [data-reveal].is-in { transform: none; }
.js [data-reveal="rise"]    { transform: translateY(28px); }
.js [data-reveal="slide"]   { transform: translateX(-20px); }
.js [data-reveal="slide-r"] { transform: translateX(20px); }
.js [data-reveal="rise"].is-in,
.js [data-reveal="slide"].is-in,
.js [data-reveal="slide-r"].is-in { transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.10s; }
[data-reveal-delay="2"] { transition-delay: 0.22s; }
[data-reveal-delay="3"] { transition-delay: 0.34s; }
[data-reveal-delay="4"] { transition-delay: 0.46s; }
[data-reveal-delay="5"] { transition-delay: 0.58s; }

/* ───── NAV ───── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.nav.is-scrolled { border-bottom-color: var(--rule); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 44px;
  height: 76px;
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.wordmark-dot {
  width: 10px;
  height: 10px;
  background: var(--mark);
  border-radius: 0;            /* square, not dot */
  transform: translateY(-1px);
  display: inline-block;
}
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: 16px;
  font-family: var(--mono);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.nav-links a {
  color: var(--ink-3);
  font-weight: 500;
  transition: color 0.15s ease;
  padding: 4px 0;
  position: relative;
  isolation: isolate;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* ───── BUTTONS ───── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;            /* sharp */
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 16px; font-size: 11px; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(0.5px); }
.btn .arrow { transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1); font-family: var(--display); font-style: normal; font-size: 16px; line-height: 0; letter-spacing: 0; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ─────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 96px 0 128px;
  overflow: visible;
}
.hero-inner {
  position: relative;
  display: block;
}
.display {
  font-family: var(--display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(64px, 10.6vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
  max-width: 17ch;
  text-wrap: balance;
}
.display .line { display: block; position: relative; }
.display .marked {
  font-style: italic;
  letter-spacing: -0.03em;
  /* breaks line gracefully on narrower viewports */
  white-space: normal;
}
.display .marked {
  /* hero italic — no highlighter per dialed-back rule */
}

/* hero lede — body serif */
.hero-lede {
  margin: 56px 0 0;
  font-family: var(--body);
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 540px;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-wrap: pretty;
  font-variation-settings: "opsz" 18;
}
.hero-cta {
  margin-top: 44px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* hero marginalia — italic serif sidenotes (no cursive) */
.hero-margin {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}
.hero-margin .hand {
  display: block;
  font-style: italic;
  color: var(--ink-2);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  max-width: 220px;
}
.hero-margin .hand em {
  font-style: italic;
  background: var(--mark-soft);
  padding: 0 4px;
}
/* a thin straight rule replaces the cursive arrow */
.hero-margin::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 64px;
  background: var(--ink-3);
}
.hero-margin-1 {
  top: 12px;
  right: 4%;
  width: 240px;
  text-align: left;
  padding-left: 18px;
}
.hero-margin-1::before {
  left: 0;
  top: 6px;
  transform: rotate(0);
}
.hero-margin-2 {
  bottom: 110px;
  right: 6%;
  width: 260px;
  text-align: right;
  padding-right: 18px;
}
.hero-margin-2::before {
  right: 0;
  bottom: 6px;
}

/* hero rule — single line, irregular ticks */
.hero-rule {
  margin-top: 128px;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  position: relative;
}
.hero-rule .rule-cell {
  padding: 28px 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.hero-rule .rule-cell + .rule-cell {
  padding-left: 32px;
}
/* small chartreuse tick above each cell, aligned to the top rule */
.hero-rule .rule-cell::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 28px;
  height: 6px;
  background: var(--mark);
}
.rule-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--ink-3);
  font-weight: 500;
}
.rule-value {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-top: 2px;
  max-width: 22ch;
}

/* ─────────────────────────────────────────────
   RESEARCH STRIP
   ───────────────────────────────────────────── */
.research-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 40px 0;
  background: var(--paper);
}
.research-inner {
  display: flex;
  align-items: baseline;
  gap: 56px;
  flex-wrap: wrap;
  justify-content: center;
}
.research-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  font-weight: 500;
}
.research-list {
  display: flex;
  align-items: baseline;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.research-item {
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  padding: 0 2px;
  line-height: 1;
}

/* ─────────────────────────────────────────────
   SECTIONS
   ───────────────────────────────────────────── */
.section {
  padding: var(--section-pad-y) 0;
  position: relative;
}
.section-tint { background: var(--paper-2); }
.section-tint + .section { border-top: 1px solid var(--rule); }

.section-head {
  margin-bottom: 96px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 10px;
  background: var(--mark);
}

.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  max-width: 22ch;
  text-wrap: balance;
}

/* ─────────────────────────────────────────────
   THESIS — four beats with Roman numerals
   ───────────────────────────────────────────── */
.beats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: beat;
}
.beat {
  counter-increment: beat;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  padding: 112px 0 96px;
  border-top: 1px solid var(--rule);
  position: relative;
}
.beat:last-child { border-bottom: 1px solid var(--rule); }
/* huge Roman numeral as the beat's typographic monument */
.beat::before {
  content: counter(beat, upper-roman);
  position: absolute;
  top: 64px;
  left: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(80px, 9vw, 132px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ink);
  pointer-events: none;
}
/* and a tiny chartreuse swatch tucked at the top-right of the numeral */

.beat-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 112px;
  height: max-content;
  /* push past the giant Roman numeral */
  padding-top: 152px;
}
.beat-no { display: none; }
.beat-tag {
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  position: relative;
  padding-top: 18px;
}
.beat-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 8px;
  background: var(--mark);
}

.beat-body {
  display: block;
  max-width: 64ch;
}
.beat-claim {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 32px;
  max-width: 18ch;
  text-wrap: balance;
}
.beat-text {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 22px;
  max-width: 56ch;
  font-variation-settings: "opsz" 16;
}
.beat-text strong { font-weight: 600; color: var(--ink); }
.beat-cite {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  margin-top: 24px;
  border-top: 1px solid var(--rule);
}

/* ─────────────────────────────────────────────
   BEAT FIGURES — bespoke per beat
   ───────────────────────────────────────────── */
.figure {
  position: relative;
  background: var(--paper);
  border: none;
  padding: 0;
  min-height: 320px;
}
/* every figure gets a top rule + label row */
.figure-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  font-weight: 500;
}
.figure-head .figure-num { color: var(--ink-3); }
.figure-margin {
  position: absolute;
  font-family: var(--display);
  font-style: italic;
  color: var(--ink-2);
  font-size: 22px;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* — Beat 1: 75/100 dot grid, treated as text — */
.fig-dots {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  padding: 16px 0 8px;
  max-width: 360px;
}
.fig-dots .dot {
  aspect-ratio: 1;
  border-radius: 0;            /* squares, not dots — anti-pill */
  background: var(--ink-5);
  transform: scale(0.62);
  transition: background 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s ease;
}
.figure.is-in .fig-dots .dot { transform: scale(1); }
.figure.is-in .fig-dots .dot.on {
  background: var(--ink);
  transition-delay: calc(var(--i, 0) * 9ms);
}
.fig-dots-cap {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 20px;
  letter-spacing: 0.06em;
  max-width: 360px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.fig-dots-cap b {
  font-weight: 500;
  color: var(--ink);
  position: relative;
  isolation: isolate;
}

/* — Beat 2: comparative ladder — typography proportional to the value — */
.fig-bars {
  padding: 16px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fig-bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 96px;
  gap: 20px;
  align-items: baseline;
  border-bottom: 1px solid var(--rule-2);
  padding-bottom: 14px;
}
.fig-bar-row:last-of-type { border-bottom: none; }
.fig-bar-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-weight: 500;
  align-self: end;
  padding-bottom: 6px;
}
.fig-bar-track {
  position: relative;
  height: 8px;
  background: transparent;
  border-bottom: 1px solid var(--ink-5);
  overflow: visible;
  align-self: end;
  margin-bottom: 6px;
}
.fig-bar-fill {
  position: absolute;
  inset: auto 0 -1px 0;
  width: var(--w, 0);
  height: 8px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}
.figure.is-in .fig-bar-fill { transform: scaleX(1); }
.fig-bar-fill.fill-mark { background: var(--ink); }
.fig-bar-val {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.025em;
  text-align: right;
  line-height: 0.9;
  opacity: 0;
  transition: opacity 0.5s ease 1s;
  align-self: end;
}
.figure.is-in .fig-bar-val { opacity: 1; }
/* size proportional to value — the typographic ladder */
.fig-bar-row:nth-child(1) .fig-bar-val { font-size: 56px; }
.fig-bar-row:nth-child(2) .fig-bar-val { font-size: 36px; }
.fig-bar-row:nth-child(3) .fig-bar-val { font-size: 22px; color: var(--ink-3); }
.fig-bar-row:nth-child(4) .fig-bar-val { font-size: 16px; color: var(--ink-4); }
.fig-bar-val.val-mark {
  position: relative;
  isolation: isolate;
}
.fig-bars-axis {
  display: none;       /* the ladder makes the axis redundant */
}

/* — Beat 3: line plunging below baseline — */
.fig-line {
  padding: 16px 4px 8px;
  position: relative;
}
.fig-line svg {
  width: 100%;
  height: 220px;
  overflow: visible;
}
.fig-line .axis {
  stroke: var(--rule);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.fig-line .axis-zero {
  stroke: var(--ink);
  stroke-width: 1;
}
.fig-line .line-no-ai {
  stroke: var(--ink-3);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 4 5;
  stroke-dashoffset: var(--len, 600);
  transition: stroke-dashoffset 1.4s ease 0.2s;
}
.fig-line .line-ai {
  stroke: var(--ink);
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: var(--len, 600);
  stroke-dashoffset: var(--len, 600);
  transition: stroke-dashoffset 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.4s;
}
.figure.is-in .fig-line .line-no-ai,
.figure.is-in .fig-line .line-ai { stroke-dashoffset: 0; }
.fig-line .dot-end {
  fill: var(--ink);
  opacity: 0;
  transition: opacity 0.4s ease 1.8s;
}
.figure.is-in .fig-line .dot-end { opacity: 1; }
.fig-line .baseline-label,
.fig-line .ai-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  fill: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fig-line .ai-label { fill: var(--ink); }
.fig-line .gap-bracket {
  stroke: var(--ink);
  stroke-width: 1;
  fill: none;
  opacity: 0;
  transition: opacity 0.4s ease 2s;
}
.figure.is-in .fig-line .gap-bracket { opacity: 1; }
.fig-line .gap-label {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 32px;
  fill: var(--ink);
  opacity: 0;
  transition: opacity 0.4s ease 2.2s;
  letter-spacing: -0.02em;
}
.figure.is-in .fig-line .gap-label { opacity: 1; }

/* — Beat 4: diverging trajectories — */
.fig-divider {
  padding: 8px 0 4px;
}
.fig-divider svg {
  width: 100%;
  height: 240px;
  overflow: visible;
}
.fig-divider .traj {
  fill: none;
  stroke-width: 2;
  stroke-dasharray: var(--len, 700);
  stroke-dashoffset: var(--len, 700);
}
.figure.is-in .fig-divider .traj { stroke-dashoffset: 0; }
.fig-divider .traj-senior {
  stroke: var(--ink);
  transition: stroke-dashoffset 2.2s cubic-bezier(0.65, 0, 0.35, 1) 0.2s;
}
.fig-divider .traj-junior {
  stroke: var(--ink-3);
  stroke-dasharray: 4 5, var(--len, 700);
  transition: stroke-dashoffset 2.2s cubic-bezier(0.65, 0, 0.35, 1) 0.6s;
}
.fig-divider .traj-junior-noai {
  stroke: var(--ink);
  transition: stroke-dashoffset 2.2s cubic-bezier(0.65, 0, 0.35, 1) 1s;
}
.fig-divider .traj-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  fill: var(--ink-3);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.5s ease 2.4s;
}
.figure.is-in .fig-divider .traj-label { opacity: 1; }
.fig-divider .traj-label-mark { fill: var(--ink); font-weight: 500; }
.fig-divider .axis-line { stroke: var(--ink-5); stroke-width: 1; }
.fig-divider .x-tick {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  fill: var(--ink-4);
  letter-spacing: 0.06em;
}

/* ─── thesis coda with drop cap ─── */
.thesis-coda {
  margin: 144px auto 0;
  max-width: 920px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-wrap: pretty;
  padding: 64px 0 0;
  border-top: 1px solid var(--ink);
  position: relative;
}
.thesis-coda::first-letter {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 5.2em;
  line-height: 0.82;
  float: left;
  margin: 0.04em 0.08em 0 -0.05em;
  color: var(--ink);
  background: transparent;
  padding: 0 0.04em;
}

/* ─────────────────────────────────────────────
   TWO LAYERS — magazine spread
   ───────────────────────────────────────────── */
.layers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: transparent;
}
.layers::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--rule);
  z-index: 1;
}
.layer-page {
  padding: 72px 64px 80px;
  position: relative;
  min-height: 540px;
  /* button reset */
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  font-family: var(--body);
  transition: background-color 0.25s ease;
}
.layer-page:hover { background-color: rgba(21, 20, 15, 0.025); }
.layer-page:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}
.layer-page:first-child { padding-right: 64px; }
.layer-page:last-child  { padding-left: 64px; }

/* the +/× toggle indicator in the top-right corner */
.layer-toggle {
  position: absolute;
  top: 36px;
  right: 40px;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  background: transparent;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color 0.2s ease;
  user-select: none;
  pointer-events: none;
}
.layer-page:hover .layer-toggle { background-color: var(--mark); }
.layer-page.is-open .layer-toggle {
  transform: rotate(45deg);
  background-color: var(--ink);
  color: var(--paper);
}

/* the body wraps the explanation text and collapses by default */
.layer-body {
  display: none;
  margin-top: 0;
}
.layer-body > p { margin: 0; }
.layer-page.is-open .layer-body {
  display: block;
  margin-top: 18px;
  animation: layer-body-in 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes layer-body-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.layer-page-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}
.layer-page-no::before {
  content: "";
  width: 22px;
  height: 6px;
  background: var(--mark);
}
.layer-title {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(38px, 4.2vw, 64px);
  letter-spacing: -0.025em;
  line-height: 0.98;
  color: var(--ink);
  margin: 0 0 24px;
}
.layer-question {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 22ch;
  position: relative;
  padding-left: 22px;
}
.layer-question::before {
  content: "";
  position: absolute;
  left: 0; top: 0.4em; bottom: 0.4em;
  width: 2px;
  background: var(--ink);
}
.layer-text {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 18px;
  max-width: 40ch;
  font-variation-settings: "opsz" 14;
}
/* the italic-serif sidenote at the bottom of each layer */
.layer-margin {
  position: absolute;
  bottom: 36px;
  right: 64px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  pointer-events: none;
  max-width: 220px;
}
.layer-margin .hand {
  font-family: var(--display);
  font-style: italic;
  color: var(--ink-2);
  font-size: 22px !important;
  line-height: 1.15;
  text-align: right;
  letter-spacing: -0.005em;
  transform: none !important;
}
.layer-margin::before {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--ink-3);
}

/* ─────────────────────────────────────────────
   ASSESSMENT
   ───────────────────────────────────────────── */
.assess-steps {
  display: flex;
  flex-direction: column;
}
.assess-step {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  padding: 112px 0 96px;
  border-top: 1px solid var(--rule);
  align-items: start;
  counter-increment: assess-step;
  position: relative;
}
.assess-steps { counter-reset: assess-step; }
.assess-step:first-child { border-top: none; padding-top: 16px; }
.assess-step::before {
  content: counter(assess-step, decimal-leading-zero);
  position: absolute;
  top: 64px;
  left: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(80px, 8.5vw, 132px);
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.assess-step:first-child::before { top: -16px; }

.assess-step-rail {
  /* keep the grid column for the giant ::before numeral; hide the small labels */
  position: relative;
}
.assess-step-no,
.assess-step-tag { display: none; }
.assess-step-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  font-weight: 500;
  text-transform: uppercase;
}
.assess-step-tag {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.assess-step-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}
.assess-step-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 22px;
  color: var(--ink);
  max-width: 24ch;
  text-wrap: balance;
}
.assess-step-text {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 60ch;
  font-variation-settings: "opsz" 16;
}

/* ─── live assessment mock — three editorial panes ─── */
.mock {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 0;            /* sharp */
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  position: relative;
  min-height: 0;
  overflow: hidden;
  /* neo-brutalist: hard offset shadow, no blur */
  box-shadow: 12px 12px 0 0 var(--ink);
  transform: translate(0, 0);
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mock:hover {
  transform: translate(-6px, -6px);
  box-shadow: 20px 20px 0 0 var(--ink);
}
.mock-pane {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.mock-pane:last-child { border-right: none; }
.mock-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: none;
}
/* hide the right-side count/status badges (2 items / 6 files / live / recording) */
.mock-pane-head > span:nth-child(2),
.mock-pane-head .live-dot { display: none; }

/* inbox message — flowing, no border card */
.mock-msg {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}
.mock-msg .msg-from {
  font-family: var(--body);
  font-style: normal;
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.mock-msg .msg-from span {
  color: var(--ink-3);
  font-style: normal;
  font-family: var(--body);
  font-size: 15px;
  text-transform: none;
  letter-spacing: -0.005em;
  margin-left: 4px;
  font-weight: 400;
}
.mock-msg .msg-sub {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.mock-msg .msg-prev {
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
}

/* materials list — clean rows with dashed dividers */
.mock-mat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.mock-mat-list li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px dashed var(--rule);
}
.mock-mat-list li:last-child { border-bottom: none; }
.mock-mat-list .mat-ic {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.mock-mat-list .mat-sz {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0;
}

/* chat */
.mock-chat { display: flex; flex-direction: column; gap: 0; }
.mock-chat-stream {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  padding: 0;
  position: relative;
  min-height: 0;
}
.chat-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  padding: 14px 0;
  border-bottom: 1px dashed var(--rule);
  align-items: start;
}
.chat-row:last-child { border-bottom: none; }
.chat-from {
  font-family: var(--body);
  font-size: 13px;
  text-transform: none;
  letter-spacing: -0.005em;
  color: var(--ink-3);
  padding-top: 2px;
  font-weight: 500;
}
.chat-from.you { color: var(--ink-3); }
.chat-text { color: var(--ink); }
.chat-text .marked-word {
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding: 0 2px;
}

/* margin annotation on the mock */
.mock-margin {
  position: absolute;
  pointer-events: none;
  font-family: var(--display);
  font-style: italic;
  color: var(--ink);
  font-size: 22px;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.mock-margin .hand { font-size: 22px; color: var(--ink); }
.mock-margin::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 28px;
  background: var(--ink-3);
  bottom: 100%;
  left: 12px;
  margin-bottom: 4px;
}

/* telemetry */
.mock-telemetry { display: flex; flex-direction: column; gap: 0; padding: 0; }
.telem-event {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--rule);
  font-family: var(--body);
  font-size: 14px;
}
.telem-event:last-child { border-bottom: none; }
.telem-ts {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: 0;
  padding-top: 2px;
}
.telem-body { color: var(--ink); line-height: 1.5; }
.telem-body b {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}
.telem-body em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  display: block;
  margin-bottom: 6px;
  position: relative;
  padding-left: 16px;
}
.telem-body em::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 10px;
  height: 4px;
  background: var(--mark);
  transform: translateY(-50%);
}

/* ─── step 2: report scorecard ─── */
.report-wrap {
  position: relative;
}
.report {
  border: 1.5px solid var(--ink);
  background: var(--paper);
  border-radius: 0;
  overflow: hidden;
  max-width: 760px;
  /* neo-brutalist: hard offset shadow */
  box-shadow: 12px 12px 0 0 var(--ink);
  transform: translate(0, 0);
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.report:hover {
  transform: translate(-6px, -6px);
  box-shadow: 20px 20px 0 0 var(--ink);
}
.report-head { display: none !important; }
.report-scores { display: none !important; }
.report-moment { border-top: none; }
.report-head b { color: var(--ink); font-weight: 500; }

.report-scores {
  padding: 36px 28px 28px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: start;
}
.report-composite {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 32px;
  border-right: 1px solid var(--rule);
}
.composite-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-weight: 500;
}
.composite-value {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 108px;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  position: relative;
  isolation: isolate;
}
.composite-value .den {
  font-family: var(--display);
  font-style: normal;
  font-size: 22px;
  color: var(--ink-4);
  letter-spacing: -0.02em;
  margin-left: 6px;
  font-weight: 400;
}
.composite-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: 0.06em;
}

.report-dims {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.report-dim {
  display: grid;
  grid-template-columns: 32px 1fr 100px 48px;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-2);
}
.report-dim:last-child { border-bottom: none; }
.dim-no {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.dim-name {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.dim-bar {
  position: relative;
  height: 6px;
  background: var(--ink-5);
  border-radius: 0;
  overflow: hidden;
}
.dim-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--ink);
  border-radius: 0;
  width: var(--w, 50%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}
.report.is-in .dim-bar i { transform: scaleX(1); transition-delay: calc(var(--i, 0) * 80ms); }
.dim-val {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  text-align: right;
  letter-spacing: -0.02em;
  line-height: 1;
  font-weight: 400;
}

.report-moment {
  padding: 24px 28px;
  border-top: 1px solid var(--ink);
}
.report-moment-meta {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.report-moment-ts { color: var(--ink); }
.report-moment-dim { display: none; }
.report-moment-action {
  margin-left: auto;
  position: relative;
  padding-bottom: 2px;
  isolation: isolate;
}
.report-moment-quote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.report-moment-quote .marked-text {
  position: relative;
  padding: 0 4px;
  border-bottom: 1.5px solid var(--ink);
}
.report-moment-reason { display: none; }
.report-moment-reason b {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--ink-3);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-right: 10px;
}
.report-moment-delta {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.report-pattern {
  padding: 22px 28px;
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.report-pattern-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: baseline;
}
.report-pattern-lbl {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.report-pattern-text {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
}
.report-pattern-text em {
  font-family: var(--display);
  font-style: italic;
  color: var(--ink);
  background: transparent;
  font-weight: 500;
}

/* report sidenote */
.report-margin {
  position: absolute;
  pointer-events: none;
  font-family: var(--display) !important;
  font-style: italic !important;
  color: var(--ink-2);
  font-size: 22px !important;
  letter-spacing: -0.005em;
}
.report-margin .hand {
  display: block;
  font-style: italic;
  font-size: 22px !important;
}
.report-margin::before {
  content: "";
  position: absolute;
  width: 56px;
  height: 1px;
  background: var(--ink-3);
  left: -68px;
  top: 18px;
}

/* ─────────────────────────────────────────────
   DEPLOYMENTS — hero-rule treatment, 3 cols
   ───────────────────────────────────────────── */
.deploy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
  position: relative;
}
.deploy-card {
  background: transparent;
  border: none;
  padding: 32px 36px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-height: auto;
  transition: none;
  transform: none !important;
  align-items: stretch;
}
.deploy-card + .deploy-card {
  padding-left: 36px;
}
.deploy-card:hover { transform: none !important; border: none; }
/* chartreuse tick atop each, aligned to the rule */
.deploy-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 32px;
  height: 8px;
  background: var(--mark);
}
.deploy-card + .deploy-card::before { left: 36px; }
.deploy-card-illu { display: none; }
.deploy-card-no { display: none; }
.deploy-card-title {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 2.6vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}
.deploy-card-text {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 6px 0 0;
  max-width: 38ch;
  font-variation-settings: "opsz" 14;
}

/* ─────────────────────────────────────────────
   CTA
   ───────────────────────────────────────────── */
.cta {
  padding: var(--section-pad-y) 0 128px;
  position: relative;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 96px;
  align-items: start;
}
.cta-h {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 80px);
  letter-spacing: -0.025em;
  line-height: 0.98;
  color: var(--ink);
  margin: 28px 0 28px;
  text-wrap: balance;
  max-width: 14ch;
}
.cta-lede {
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 44ch;
  margin: 0;
  font-variation-settings: "opsz" 16;
}

.pilot-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-weight: 500;
}
.field input {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease, background-image 0.5s ease;
  letter-spacing: -0.02em;
}
.field input:focus { border-bottom-color: var(--ink); border-bottom-width: 2px; }
.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.form-ack {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.form-ack.is-shown { color: var(--ink); }

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--ink);
  padding: 64px 0 40px;
  background: var(--paper);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
}
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-brand .wordmark { font-size: 32px; }
.foot-brand-tag {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  max-width: 28ch;
  line-height: 1.4;
}
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-h {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-bottom: 6px;
  font-weight: 500;
}
.foot-col a {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  transition: color 0.15s ease;
}
.foot-col a:hover { color: var(--ink-3); }
.foot-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  margin-top: 48px;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   MODAL
   ───────────────────────────────────────────── */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade-in 0.18s ease;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(21, 20, 15, 0.5);
  backdrop-filter: blur(2px);
}
.modal-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 44px 44px 40px;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 40px 100px -20px rgba(21, 20, 15, 0.4);
  animation: modal-slide 0.22s cubic-bezier(0.16, 0.84, 0.34, 1);
}
@keyframes modal-slide {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}
.modal-close:hover { color: var(--ink); border-color: var(--ink); }
.modal-kicker {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-weight: 500;
}
.modal-kicker::before {
  content: "";
  width: 22px;
  height: 8px;
  background: var(--mark);
}
.modal-title {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 0.98;
}
.modal-sub {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.5;
}
.modal-form { margin-top: 36px; gap: 24px; }
.modal-form .field input { font-size: 22px; }

/* ─────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────── */
@media (max-width: 1180px) {
  .beat-body { grid-template-columns: 1fr; gap: 48px; }
  .report-wrap { padding-right: 0; }
  .report-margin { position: static; margin-top: 24px; max-width: 360px; }
  .report-margin::before { display: none; }
}
@media (max-width: 980px) {
  :root { --section-pad-y: 96px; }
  .container { padding: 0 32px; }
  .nav-links { display: none; }
  .nav-inner { height: 64px; }
  .hero { padding: 56px 0 80px; }
  .hero-margin-1, .hero-margin-2 { display: none; }
  .display { max-width: none; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .beat { grid-template-columns: 1fr; gap: 28px; padding: 72px 0 56px; }
  .beat::before { position: relative; top: auto; left: auto; display: inline-block; margin-bottom: 8px; }
  .beat::after { display: none; }
  .beat-rail { position: static; flex-direction: row; gap: 18px; padding-top: 0; }
  .assess-step { grid-template-columns: 1fr; gap: 28px; padding: 72px 0 56px; }
  .assess-step::before { position: relative; top: auto; left: auto; display: inline-block; margin-bottom: 8px; }
  .assess-step-rail { position: static; flex-direction: row; gap: 18px; padding-top: 0; }
  .layers { grid-template-columns: 1fr; }
  .layers::before { display: none; }
  .layer-page { padding: 40px 32px; }
  .layer-page + .layer-page { border-top: 1px solid var(--rule); }
  .layer-margin { right: 32px; }
  .mock { grid-template-columns: 1fr; }
  .mock-pane { border-right: none; border-bottom: 1px solid var(--rule); }
  .deploy-grid { grid-template-columns: 1fr; }
  .deploy-card {
    padding: 32px 0 24px;
    border-top: none;
  }
  .deploy-card + .deploy-card {
    padding-left: 0;
    border-top: 1px solid var(--rule);
  }
  .deploy-card::before { left: 0; }
  .deploy-card + .deploy-card::before { left: 0; }
  .cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-rule { grid-template-columns: 1fr; gap: 0; }
  .hero-rule .rule-cell + .rule-cell {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--rule);
    margin-top: 16px;
    padding-top: 24px;
  }
  .hero-rule .rule-cell::before { top: -1px; }
  .report-composite { padding-right: 0; padding-bottom: 18px; border-right: none; border-bottom: 1px solid var(--rule); }
  .report-scores { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 640px) {
  :root { --section-pad-y: 72px; }
  .container { padding: 0 20px; }
  body { font-size: 17px; }
  .display { font-size: clamp(44px, 13vw, 80px); }
  .hero-lede { font-size: 19px; }
  .h2 { font-size: clamp(34px, 10vw, 52px); }
  .beat-claim { font-size: 28px; }
  .layer-title { font-size: 32px; }
  .layer-question { font-size: 20px; }
  .assess-step-title { font-size: 26px; }
  .cta-h { font-size: clamp(34px, 10vw, 48px); }
  .modal-card { padding: 32px 24px 28px; }
  .modal-title { font-size: 32px; }
  .composite-value { font-size: 72px; }
  .thesis-coda { font-size: 24px; }
  .thesis-coda::first-letter { font-size: 4em; }
  .fig-bar-row:nth-child(1) .fig-bar-val { font-size: 36px; }
  .fig-bar-row:nth-child(2) .fig-bar-val { font-size: 26px; }
}
