/* =====================================================================
   Fix the Cash Cow — Landing-style presentation
   ===================================================================== */

:root {
  --paper: #F4EEE1;
  --paper-soft: #FAF5E9;
  --paper-deep: #ECE4D1;
  --ink: #1C1813;
  --ink-soft: #3D342A;
  --ink-muted: #7A6F5F;
  --rule: #C8BCA0;
  --rule-soft: #DDD2B8;
  --accent: #B8371A;
  --accent-soft: #DB6541;
  --accent-bg: rgba(184, 55, 26, 0.06);
  --positive: #2E5D3E;
  --amber: #9A6C1E;
  --sand: #E5D9BF;
  --sand-soft: #EFE6CE;
  --dark: #141008;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Newsreader', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --wrap-w: 1280px;
  --wrap-narrow: 960px;
  --wrap-pad: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0 0.07 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.65;
  mix-blend-mode: multiply;
  z-index: 1;
}

/* All content sits above the grain */
.cover, .intro-statement, section[class*="section-"], .principles-intro, .principles-stack, .signature {
  position: relative; z-index: 2;
}

/* ===================== PROGRESS BAR & INDICATOR ===================== */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--accent);
  z-index: 200;
  width: 0%; transition: width 0.08s linear;
}

.section-indicator {
  position: fixed;
  top: 28px; right: 40px;
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-muted);
  z-index: 150;
  padding: 6px 14px;
  background: rgba(244, 238, 225, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--rule-soft);
  transition: opacity 0.3s, transform 0.3s;
}
.section-indicator.hidden { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.section-indicator .si-num { color: var(--accent); font-weight: 600; }
.section-indicator .si-sep { color: var(--ink-muted); margin: 0 2px; }
.section-indicator .si-label {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--rule);
}

/* ===================== WRAPS ===================== */
.wrap {
  max-width: var(--wrap-w);
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}
.wrap-narrow {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}

/* ===================== COVER ===================== */
.cover {
  min-height: 100vh;
  background: var(--dark);
  color: var(--paper-soft);
  padding: 56px 80px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.cover::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 25%, rgba(219, 101, 65, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 75%, rgba(46, 93, 62, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.cover::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 0.9 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}
.cover > * { position: relative; z-index: 2; }

.cover-top {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(244, 238, 225, 0.55);
}
.cover-top .dot { color: var(--accent-soft); margin: 0 12px; }

.cover-center {
  margin: auto 0;
  max-width: 1400px;
}
.cover-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 48px;
}
.cover-title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "wght" 300;
  font-size: clamp(88px, 15vw, 260px);
  line-height: 0.84;
  letter-spacing: -0.05em;
  color: var(--paper-soft);
  font-style: italic;
  margin-bottom: 56px;
  transition: transform 0.1s linear, opacity 0.1s linear;
}
.cover-title .em {
  color: var(--accent-soft);
  font-variation-settings: "opsz" 144, "wght" 400;
}

.cover-byline {
  padding-top: 36px;
  border-top: 1px solid rgba(244, 238, 225, 0.2);
  max-width: 620px;
}
.cover-byline-inner {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(244, 238, 225, 0.7);
  line-height: 1.6;
}
.cover-byline .byline-label {
  font-size: 10px;
  color: rgba(244, 238, 225, 0.45);
}
.cover-byline .byline-name {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72, "wght" 500;
  font-style: italic;
  font-size: 32px;
  letter-spacing: -0.01em;
  color: var(--accent-soft);
  text-transform: none;
  margin: 4px 0;
}
.cover-byline .byline-role {
  font-size: 12px;
  color: rgba(244, 238, 225, 0.65);
}

.cover-bottom {
  display: flex; justify-content: flex-end;
}
.cover-scroll {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(244, 238, 225, 0.6);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: translateY(0); }
  50% { opacity: 0.95; transform: translateY(4px); }
}

/* ===================== SHARED — SECTION EYEBROWS / TITLES ===================== */
.section-eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 40px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-muted);
}
.section-eyebrow .eyebrow-num {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "wght" 300;
  font-style: italic;
  font-size: 40px;
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.03em;
  padding-right: 8px;
}
.section-eyebrow .eyebrow-dash {
  width: 48px; height: 1px;
  background: var(--ink-muted);
}

.section-title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72, "wght" 500;
  font-size: clamp(64px, 9vw, 136px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 48px;
}
.section-title em {
  color: var(--accent);
  font-variation-settings: "opsz" 144, "wght" 400;
}
.section-title.center { text-align: center; }

.section-lede {
  font-family: var(--font-body);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 900px;
  margin-bottom: 24px;
}
.section-lede.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lede em {
  color: var(--accent);
  font-style: italic;
  font-variation-settings: "wght" 400;
}

.section-body {
  font-family: var(--font-body);
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 16px;
}
.section-body strong { color: var(--ink); font-weight: 500; }
.section-body em { color: var(--accent); font-style: italic; }

/* ===================== 02 — INTRO STATEMENT ===================== */
.intro-statement {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0;
}
.intro-statement .section-eyebrow {
  margin-bottom: 56px;
}
.big-quote {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "wght" 400;
  font-style: italic;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 56px;
  max-width: 1100px;
}
.big-quote em {
  color: var(--accent);
  font-style: italic;
  font-variation-settings: "wght" 500;
}

.big-quote-sub {
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  color: var(--ink-muted);
  font-style: italic;
  max-width: 600px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}

/* ===================== 03 — FILL RATE ===================== */
.section-fill {
  padding: 160px 0 120px;
}
.section-fill .section-lede { margin-bottom: 80px; }
.section-fill .section-lede em { color: var(--accent); font-style: italic; }

/* ===================== SCROLLYTELLING ===================== */
.scrolly-wrap { margin: 80px 0 80px; }
.scrolly {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
}
.scrolly-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px 0;
}
.scrolly-sticky-inner {
  width: 100%;
  display: flex; flex-direction: column; gap: 20px;
}
.scrolly-chart-label {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
  min-height: 82px;
}
.stage-title {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-muted);
  transition: opacity 0.4s;
}
.stage-value {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72, "wght" 500;
  font-style: italic;
  font-size: 42px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-top: 6px;
  transition: opacity 0.4s;
}
.stage-note {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  font-family: var(--font-body);
  font-size: 15px;
  font-style: italic;
  color: var(--ink-muted);
  text-align: right;
  transition: opacity 0.4s;
}
.scrolly-chart {
  height: calc(100vh - 220px);
  max-height: 640px;
  min-height: 440px;
  position: relative;
}
.scrolly-chart canvas {
  width: 100% !important;
  height: 100% !important;
}

.scrolly-frames {
  display: flex; flex-direction: column;
}
.frame {
  min-height: 95vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px 0;
  opacity: 0.25;
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.frame.frame-active { opacity: 1; }
.frame-num {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "wght" 300;
  font-style: italic;
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
}
.frame-text {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72, "wght" 400;
  font-style: italic;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 28px;
}
.frame-text strong {
  color: var(--accent);
  font-style: normal;
  font-variation-settings: "wght" 500;
}
.frame-sub {
  font-family: var(--font-body);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
  color: var(--ink-muted);
  font-style: italic;
  max-width: 520px;
}

/* ===================== DUAL CHART WRAP (for Atlas bubble ↔ heatmap) ===================== */
.dual-chart-wrap {
  position: relative;
  width: 100%; height: 100%;
}
.dual-chart-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex; flex-direction: column;
}
.dual-chart-item.visible { opacity: 1; }

/* ===================== ACTION CALLOUT ===================== */
.action-callout {
  margin: 80px 0 0;
  padding: 44px 52px;
  background: var(--ink);
  color: var(--paper-soft);
  position: relative;
}
.action-callout::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 8px; height: 100%;
  background: var(--accent);
}
.action-label {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 20px;
}
.action-text {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72, "wght" 400;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.28;
  color: var(--paper-soft);
  font-style: italic;
  letter-spacing: -0.015em;
}
.action-text strong {
  font-style: normal;
  font-variation-settings: "opsz" 72, "wght" 500;
  color: var(--paper-soft);
}
.action-text em {
  color: var(--accent-soft);
  font-style: italic;
}

/* ===================== 04 / 05 — PAIR LAYOUT (DEMAND / SUPPLY) ===================== */
.section-pair {
  padding: 140px 0 80px;
}
.pair-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 48px;
}
.pair-layout.reversed {
  /* flip order on desktop so supply has value on the LEFT, text on RIGHT */
}
.pair-left, .pair-right {
  min-width: 0;
}

/* ===================== GIANT METRIC (Demand / Supply) ===================== */
.giant-metric {
  padding: 48px 40px;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  position: relative;
}
.giant-metric::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: var(--accent);
}
.metric-label {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 20px;
}
.metric-value {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "wght" 400;
  font-style: italic;
  font-size: clamp(120px, 16vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: var(--ink);
  font-feature-settings: "tnum";
  margin-bottom: 12px;
}
.metric-value.accent { color: var(--accent); }
.metric-value.dark { color: var(--ink); }
.metric-unit {
  font-size: 0.4em;
  color: var(--accent);
  font-style: normal;
  font-variation-settings: "wght" 300;
}
.metric-value.dark .metric-unit { color: var(--ink-muted); }
.metric-delta {
  display: inline-flex; align-items: center;
  margin: 12px 0 20px;
}
.delta-pill {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em;
  background: var(--accent);
  color: var(--paper-soft);
  padding: 6px 14px;
}
.delta-pill.dark { background: var(--ink); }
.metric-footnote {
  font-family: var(--font-body);
  font-size: 18px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.5;
  padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
  max-width: 400px;
}
.metric-footnote strong { color: var(--ink); font-weight: 500; }

/* ===================== THE GAP VISUALIZATION ===================== */
.gap-viz-wrap { padding-top: 80px; }
.gap-viz {
  padding: 56px 48px;
  background: var(--ink);
  color: var(--paper-soft);
  border-left: 8px solid var(--accent);
}
.gap-row {
  display: grid;
  grid-template-columns: 180px 1fr 100px;
  align-items: center;
  gap: 28px;
  margin-bottom: 20px;
}
.gap-row:last-of-type { margin-bottom: 36px; }
.gap-label {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(244, 238, 225, 0.75);
}
.gap-bar-track {
  height: 46px;
  background: rgba(244, 238, 225, 0.08);
  position: relative;
  overflow: hidden;
}
.gap-bar {
  height: 100%;
  width: 0;
  transition: width 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gap-bar.demand { background: linear-gradient(90deg, var(--accent-soft), var(--accent)); }
.gap-bar.supply { background: linear-gradient(90deg, var(--paper-soft), #888); }
.gap-viz.in-view .gap-bar { width: var(--w); }
.gap-value {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72, "wght" 500;
  font-style: italic;
  font-size: 38px;
  line-height: 1;
  color: var(--paper-soft);
  letter-spacing: -0.02em;
  text-align: right;
  font-feature-settings: "tnum";
}
.gap-caption {
  padding-top: 28px;
  border-top: 1px solid rgba(244, 238, 225, 0.15);
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72, "wght" 400;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  color: rgba(244, 238, 225, 0.95);
}
.gap-caption em {
  color: var(--accent-soft);
  font-style: italic;
  font-variation-settings: "wght" 500;
}

/* ===================== 06 — MATCHING ===================== */
.section-matching {
  padding: 160px 0 120px;
}
.section-matching .section-title.center { margin-left: auto; margin-right: auto; }
.section-matching .section-lede.center {
  margin-bottom: 96px;
}

.matching-metric {
  display: grid;
  grid-template-columns: auto 1fr 1px auto;
  align-items: center;
  gap: 40px;
  padding: 48px 56px;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  margin-bottom: 64px;
}
.matching-metric-big {
  display: flex; align-items: baseline;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "wght" 400;
  font-style: italic;
  color: var(--accent);
  line-height: 0.88;
  letter-spacing: -0.04em;
}
.matching-metric-big .value { font-size: clamp(110px, 13vw, 180px); }
.matching-metric-big .unit {
  font-size: 0.45em;
  color: var(--accent);
  font-style: normal;
  font-variation-settings: "wght" 300;
}
.matching-metric-text .label,
.matching-metric-side .label {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.matching-metric-text .sub,
.matching-metric-side .sub {
  font-family: var(--font-body);
  font-size: 17px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 340px;
}
.matching-metric-side .value-small {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72, "wght" 500;
  font-size: 36px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 12px;
}
.matching-metric-side .value-small em {
  color: var(--accent);
  font-style: italic;
}
.matching-divider {
  width: 1px;
  height: 80px;
  background: var(--rule);
}

/* ===================== CHART CONTAINER (standardized) ===================== */
.chart-container {
  margin: 32px 0 56px;
  padding: 40px 44px 36px;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
}
.chart-header {
  margin-bottom: 28px;
}
.chart-title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72, "wght" 500;
  font-size: 28px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 6px;
}
.chart-note {
  font-family: var(--font-body);
  font-size: 16px;
  font-style: italic;
  color: var(--ink-muted);
}
.chart-body {
  height: 480px;
  position: relative;
}
.chart-body.short { height: 320px; }
.chart-body.tall { height: 600px; }

/* ===================== 07 — MICRO-MARKET ATLAS ===================== */
.section-atlas {
  padding: 160px 0 80px;
}

/* Heatmap */
.heatmap-scrollwrap {
  overflow-x: auto;
  height: 100%;
  display: flex;
  align-items: center;
}
.heatmap {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
}
.heatmap thead th {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  padding: 0 10px 14px;
  font-size: 10px;
  text-align: center;
  border-bottom: 1px solid var(--ink);
  vertical-align: bottom;
}
.heatmap thead th:first-child { text-align: left; padding-left: 4px; }
.heatmap tbody th {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72, "wght" 500;
  font-style: italic;
  font-size: 17px;
  text-align: left;
  padding: 8px 20px 8px 4px;
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
  width: 1%;
  border-right: 1px solid var(--rule-soft);
}
.heatmap td { padding: 3px; }
.heatmap-cell {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  padding: 10px 6px;
  min-width: 78px;
  min-height: 70px;
  transition: transform 0.2s;
  cursor: default;
}
.heatmap-cell:hover {
  transform: scale(1.08);
  z-index: 2; position: relative;
  box-shadow: 0 6px 20px rgba(28, 24, 19, 0.28);
}
.heatmap-cell .s {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72, "wght" 600;
  font-size: 20px;
  font-feature-settings: "tnum";
  letter-spacing: -0.01em;
  line-height: 1;
}
.heatmap-cell .v {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  opacity: 0.75;
  display: flex; align-items: center; gap: 4px;
}
.vol-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }

/* ===================== 08 — SUPPLY ACTIVATION ===================== */
.section-supply-health {
  padding: 160px 0 120px;
}

.triptych {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 72px 0 80px;
  padding-top: 48px;
  border-top: 3px solid var(--ink);
}
.triptych-item {
  padding: 0 20px 8px 0;
  border-right: 1px solid var(--rule-soft);
}
.triptych-item:last-child { border-right: none; padding-right: 0; }
.t-label {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.t-value {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "wght" 400;
  font-style: italic;
  font-size: clamp(72px, 8.5vw, 124px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-feature-settings: "tnum";
  margin-bottom: 16px;
}
.t-value.accent { color: var(--accent); }
.t-value .small {
  font-size: 0.42em;
  color: var(--accent);
  font-style: normal;
  font-variation-settings: "wght" 300;
}
.t-sub {
  font-family: var(--font-body);
  font-size: 17px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.5;
}
.t-sub strong { color: var(--ink); font-weight: 500; }

/* ===================== 09 — PRINCIPLES INTRO ===================== */
.principles-intro {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 0;
  text-align: center;
}
.principles-intro .section-eyebrow {
  justify-content: center;
}
.principles-arrow {
  margin-top: 80px;
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}

/* ===================== PRINCIPLES STACK ===================== */
.principles-stack {
  padding: 0 0 120px;
}
.principle {
  min-height: 95vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px var(--wrap-pad);
  border-top: 1px solid var(--rule);
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.principle.in { opacity: 1; transform: translateY(0); }
.principle:first-child { border-top: 3px double var(--ink); }
.principle-inner {
  max-width: 1000px; text-align: center;
}
.principle-num {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "wght" 300;
  font-style: italic;
  font-size: clamp(80px, 10vw, 140px);
  line-height: 0.88;
  color: var(--accent);
  letter-spacing: -0.035em;
  margin-bottom: 48px;
}
.principle-quote {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "wght" 400;
  font-style: italic;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 48px;
}
.principle-quote em {
  color: var(--accent);
  font-style: italic;
  font-variation-settings: "wght" 500;
}
.principle-gloss {
  font-family: var(--font-body);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.55;
  color: var(--ink-muted);
  font-style: italic;
  max-width: 780px; margin: 0 auto;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}

/* ===================== SIGNATURE ===================== */
.signature {
  padding: 120px 0 160px;
  border-top: 3px double var(--ink);
}
.sig-divider { display: none; }
.sig-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}
.sig-name {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "wght" 500;
  font-style: italic;
  font-size: clamp(64px, 8vw, 120px);
  line-height: 0.94;
  color: var(--ink);
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}
.sig-role {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent);
}
.sig-meta {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-muted);
  text-align: right;
  line-height: 2;
}
.sig-meta strong { color: var(--ink); font-weight: 600; }
.sig-meta a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

/* ===================== REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  :root { --wrap-pad: 56px; }
  .section-indicator { top: 20px; right: 24px; }
  .scrolly { grid-template-columns: 1fr; gap: 0; }
  .scrolly-sticky { position: relative; height: auto; padding: 0; margin-bottom: 40px; }
  .scrolly-chart { height: 420px; min-height: 380px; }
  .frame { min-height: auto; padding: 48px 0; opacity: 1; }
  .pair-layout { grid-template-columns: 1fr; gap: 56px; }
  .triptych { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .triptych-item { padding-right: 16px; }
  .triptych-item:nth-child(2n) { border-right: none; padding-right: 0; }
  .triptych-item:nth-child(-n+2) { padding-bottom: 36px; border-bottom: 1px solid var(--rule-soft); }
  .triptych-item:last-child { border-bottom: none; }
  .matching-metric { grid-template-columns: 1fr; gap: 28px; padding: 36px; }
  .matching-divider { display: none; }
  .gap-row { grid-template-columns: 1fr; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid rgba(244, 238, 225, 0.1); }
  .gap-value { text-align: left; font-size: 32px; }
}

@media (max-width: 700px) {
  :root { --wrap-pad: 24px; }
  body { font-size: 18px; }
  .cover { padding: 32px 24px; }
  .cover-byline .byline-name { font-size: 24px; }
  .section-indicator {
    top: 16px; right: 16px;
    padding: 4px 10px;
    font-size: 10px;
  }
  .section-indicator .si-label { display: none; }
  .big-quote { font-size: 32px; }
  .chart-body { height: 360px; }
  .chart-body.short { height: 260px; }
  .chart-container { padding: 24px; }
  .action-callout { padding: 28px; }
  .gap-viz { padding: 32px 24px; }
  .sig-grid { grid-template-columns: 1fr; gap: 24px; }
  .sig-meta { text-align: left; }
  .principle { padding: 80px 24px; min-height: 80vh; }
  .section-fill, .section-pair, .section-matching, .section-atlas, .section-supply-health {
    padding: 96px 0 72px;
  }
}
