/* ─────────────────────────────────────────────────────
   BRIDGE — B2B website, modern consulting aesthetic
   ───────────────────────────────────────────────────── */

:root {
  /* Light theme (default) */
  --bg: #F5F3EE;          /* off-white, warm */
  --bg-elev: #ECE9E1;
  --ink: #0A1A2F;         /* deep navy ink */
  --ink-2: #25344A;
  --ink-3: #5A6678;
  --ink-4: #8A92A0;
  --line: #D8D3C7;
  --line-2: #C4BEAE;
  --accent: #0A1A2F;      /* mono first */
  --accent-pop: #E2522B;  /* burnt orange single accent */
  --paper: #FFFFFF;

  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Geist', 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --max: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
}

[data-theme="dark"] {
  --bg: #0A1A2F;
  --bg-elev: #0F2138;
  --ink: #F5F3EE;
  --ink-2: #D8D3C7;
  --ink-3: #8A92A0;
  --ink-4: #5A6678;
  --line: #1F2F47;
  --line-2: #2B3D58;
  --paper: #0F2138;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ───── Typography ───── */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 340;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display {
  font-family: var(--serif);
  font-weight: 320;
  font-style: normal;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  letter-spacing: -0.025em;
  line-height: 0.95;
}
.display em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 360;
}

.h-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.h-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

/* ───── Layout primitives ───── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: clamp(80px, 11vh, 140px);
  padding-bottom: clamp(80px, 11vh, 140px);
  border-top: 1px solid var(--line);
  position: relative;
}
.section--tight { padding-top: 60px; padding-bottom: 60px; }
.section--ink { background: var(--ink); color: var(--bg); }
.section--ink .h-eyebrow,
.section--ink .h-num { color: rgba(245,243,238,0.55); }

/* ───── Reveal animation ───── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(.2,.6,.2,1), transform 0.9s cubic-bezier(.2,.6,.2,1);
  transition-delay: var(--rd, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.reveal-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(.2,.7,.1,1);
  transition-delay: var(--rd, 0ms);
}
.reveal-line.is-in > span { transform: none; }

/* ───── Buttons ───── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease;
  border-radius: 0;
}
.btn:hover { transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--accent {
  background: var(--accent-pop);
  border-color: var(--accent-pop);
  color: #fff;
}
.btn .arrow {
  transition: transform .3s ease;
}
.btn:hover .arrow { transform: translate(4px, -2px); }

/* ───── Nav ───── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 2vw, 28px);
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand .glyph {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
}
.nav-links {
  display: flex;
  margin-left: auto;
  gap: clamp(14px, 1.55vw, 24px);
  font-size: 13px;
  color: var(--ink-2);
}
.nav-links a {
  color: inherit;
  text-decoration: none;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--ink);
  transition: width .3s ease;
}
.nav-links a:hover::after { width: 100%; }
.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.lang-link:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: clamp(12px, 2vw, 24px);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink);
}

/* ───── Hero ───── */
.hero {
  padding-top: clamp(60px, 9vh, 110px);
  padding-bottom: clamp(60px, 9vh, 110px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(52px, 7vw, 120px);
  align-items: end;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 260;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-pop);
}
.hero h1 .hero-accent {
  font-style: italic;
  color: var(--accent-pop);
}
.hero h1 .hero-ru {
  font-style: normal;
  font-weight: 240;
  color: var(--ink);
}

.hero-sub {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 36px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-stamp {
  margin-top: 56px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stamp .item {
  border-left: 1px solid var(--line-2);
  padding: 4px 0 4px 14px;
}
.hero-stamp .k {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 360;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stamp .v {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 6px;
}

/* ───── Map illustration ───── */
.map-card {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}
.map-card svg { width: 100%; height: 100%; display: block; }
.map-card .cap {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.map-card .cap-r {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (min-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
    gap: clamp(24px, 3.2vw, 52px);
    align-items: stretch;
  }
  .map-card {
    aspect-ratio: 1 / 0.86;
    min-height: clamp(560px, 62vh, 760px);
  }
}

/* ───── Marquee ───── */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
}
.marquee-track > span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track > span::after {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-pop);
  border-radius: 50%;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ───── Section heads ───── */
.s-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: 64px;
}
@media (max-width: 760px) { .s-head { grid-template-columns: 1fr; } }
.s-head .lead {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 16px 0 0;
}
.s-head .lead em { font-style: italic; color: var(--accent-pop); font-weight: 340;}

/* ───── Two-column comparison (Challenge vs Pull) ───── */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .compare { grid-template-columns: 1fr; } }
.compare > div {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
}
.compare > div:last-child { border-right: 0; }
@media (max-width: 800px) { .compare > div { border-right: 0; border-bottom: 1px solid var(--line); } .compare > div:last-child { border-bottom: 0; } }
.compare h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 28px;
  font-weight: 500;
}
.compare ul { margin: 0; padding: 0; list-style: none; }
.compare li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
}
.compare li .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
}
.compare .pull li::before {
  /* removed for simplicity */
}
.compare .pull strong, .compare .push strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  font-family: var(--serif);
  font-weight: 360;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

/* ───── Stats ───── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(245,243,238,0.18);
  border-bottom: 1px solid rgba(245,243,238,0.18);
}
@media (max-width: 800px) { .stats { grid-template-columns: 1fr; } }
.stat {
  padding: 48px 32px;
  border-right: 1px solid rgba(245,243,238,0.18);
}
.stat:last-child { border-right: 0; }
@media (max-width: 800px) { .stat { border-right: 0; border-bottom: 1px solid rgba(245,243,238,0.18); } .stat:last-child { border-bottom: 0; } }
.stat .big {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.stat .big sub {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
  color: rgba(245,243,238,0.55);
  letter-spacing: 0.08em;
  vertical-align: baseline;
  position: static;
}
.stat .lab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.55);
  margin-bottom: 16px;
}
.stat .desc {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(245,243,238,0.78);
  line-height: 1.5;
  max-width: 320px;
}

/* ───── BizDev definition ───── */
.bizdev-visual {
  display: grid;
  grid-template-columns: 0.82fr 1.45fr 0.92fr;
  min-height: 520px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.bizdev-side,
.bizdev-result {
  padding: clamp(28px, 3.6vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bizdev-side {
  background: var(--ink);
  color: var(--bg);
}
.bizdev-side-title,
.bizdev-result-value {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(54px, 7vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.bizdev-side-caption,
.bizdev-result p,
.bizdev-side-node,
.bizdev-result-pill {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bizdev-side-caption { color: rgba(245,243,238,0.62); }
.bizdev-side-node,
.bizdev-result-pill {
  width: fit-content;
  padding: 8px 11px;
  border: 1px solid rgba(245,243,238,0.24);
  color: rgba(245,243,238,0.72);
}
.bizdev-stack {
  position: relative;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), var(--line) calc(50% - 1px), var(--line) calc(50% + 1px), transparent calc(50% + 1px));
}
.bizdev-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(120px, 0.7fr);
  align-items: center;
  gap: 20px;
  padding: 0 clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  opacity: 1;
  transform: translateX(0);
  transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
  transition-delay: calc(var(--i, 0) * 80ms + 150ms);
}
.bizdev-visual.reveal:not(.is-in) .bizdev-step {
  opacity: 0;
  transform: translateX(-18px);
}
.bizdev-step:last-child { border-bottom: 0; }
.bizdev-step span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}
.bizdev-step strong {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.bizdev-step em {
  justify-self: end;
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-pop);
  text-align: right;
}
.bizdev-result {
  background: var(--bg);
}
.bizdev-result p {
  max-width: 220px;
  margin: 0;
  color: var(--ink-3);
  line-height: 1.55;
}
.bizdev-result-pill {
  border-color: var(--line-2);
  color: var(--accent-pop);
}
.risk-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.risk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.risk-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .55s ease, transform .55s ease, border-color .25s ease;
  transition-delay: calc(var(--i, 0) * 55ms + 120ms);
}
.risk-strip.reveal:not(.is-in) .risk-chips span {
  opacity: 0;
  transform: translateY(12px);
}
.risk-chips span:hover { border-color: var(--accent-pop); }

/* ───── Efficiency math ───── */
.cost-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1px;
  border: 1px solid rgba(245,243,238,0.18);
  background: rgba(245,243,238,0.18);
}
.cost-bar-card {
  background: var(--ink);
  padding: clamp(28px, 4vw, 48px);
  min-height: 440px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 34px;
}
.cost-bar-card.is-bridge {
  background: var(--accent-pop);
}
.cost-total {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(74px, 9vw, 132px);
  line-height: 0.88;
  letter-spacing: -0.055em;
  margin-top: 30px;
}
.cost-total sub {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(245,243,238,0.58);
  margin-left: 10px;
}
.cost-bar-card p {
  margin: 18px 0 0;
  max-width: 420px;
  color: rgba(245,243,238,0.68);
  font-size: 14px;
  line-height: 1.5;
}
.cost-bar-card.is-bridge p,
.cost-bar-card.is-bridge .cost-total sub {
  color: rgba(255,255,255,0.76);
}
.cost-stack {
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cost-segment {
  width: max(var(--w), 160px);
  max-width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 14px;
  border: 1px solid rgba(245,243,238,0.22);
  background: rgba(245,243,238,0.06);
  transform-origin: left center;
  transform: scaleX(1);
  opacity: 1;
  transition:
    transform .9s cubic-bezier(.2,.7,.1,1),
    opacity .6s ease,
    background .25s ease,
    border-color .25s ease;
  transition-delay: calc(var(--i, 0) * 90ms + 180ms);
}
.cost-visual.reveal:not(.is-in) .cost-segment {
  transform: scaleX(0);
  opacity: 0;
}
.cost-segment:hover {
  background: rgba(245,243,238,0.1);
  border-color: rgba(245,243,238,0.42);
}
.is-bridge .cost-segment {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
}
.is-bridge .cost-segment:hover {
  border-color: rgba(255,255,255,0.56);
  background: rgba(255,255,255,0.16);
}
.cost-segment span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.72);
}
.cost-segment strong {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(245,243,238,0.9);
  white-space: nowrap;
}
.cost-formula {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(245,243,238,0.16);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.55);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: 680ms;
}
.cost-visual.reveal:not(.is-in) .cost-formula {
  opacity: 0;
  transform: translateY(10px);
}
.cost-save {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 57%;
  transform: translate(-50%, -50%);
  width: clamp(150px, 16vw, 220px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid rgba(245,243,238,0.4);
  box-shadow: 0 24px 80px rgba(0,0,0,0.22);
  opacity: 1;
  transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.1,1);
  transition-delay: 520ms;
}
.cost-visual.reveal:not(.is-in) .cost-save {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
}
.cost-save span {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(48px, 5.5vw, 82px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.cost-save em {
  max-width: 140px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.math-outcomes {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245,243,238,0.18);
  border: 1px solid rgba(245,243,238,0.18);
}
.math-outcome {
  background: var(--ink);
  padding: 28px 24px;
}
.math-outcome .n {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.math-outcome .n sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(245,243,238,0.55);
  margin-left: 8px;
  text-transform: uppercase;
}
.math-outcome p {
  margin: 18px 0 0;
  color: rgba(245,243,238,0.72);
  font-size: 13px;
  line-height: 1.5;
}
.math-note {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(245,243,238,0.5);
  font-size: 12px;
  line-height: 1.55;
}

/* ───── Approach (4 stages roadmap) ───── */
.roadmap {
  position: relative;
}
.roadmap-track {
  position: relative;
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 900px) { .roadmap-track { grid-template-columns: 1fr; } }
.roadmap-line {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.roadmap-line .fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--accent-pop);
  width: var(--p, 0%);
  transition: width .4s cubic-bezier(.2,.6,.2,1);
}
@media (max-width: 900px) { .roadmap-line { display: none; } }
.stage {
  padding: 0 24px 24px 32px;
  position: relative;
  border-left: 1px solid var(--line);
}
@media (max-width: 900px) { 
  .stage { 
    border-left: 0; 
    border-bottom: 1px solid var(--line); 
    padding: 24px 0; 
  } 
  .stage:last-child { border-bottom: 0; } 
}
.stage .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  margin-top: 22px;
  margin-bottom: 24px;
  margin-left: -39px;
  position: relative;
  z-index: 1;
  transition: background .4s ease, border-color .4s ease, transform .4s ease;
}
@media (max-width: 900px) {
  .stage .dot { margin-left: 0; }
}
.stage.is-active .dot {
  background: var(--accent-pop);
  border-color: var(--accent-pop);
  transform: scale(1.2);
}
.stage .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.stage h4 {
  font-family: var(--serif);
  font-weight: 360;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.stage h4 em { font-style: italic; }
.stage .reuse {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-pop);
  margin-bottom: 18px;
}
.stage ul { margin: 0; padding: 0; list-style: none; }
.stage li {
  padding: 8px 0;
  font-size: 13px;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
}
.stage li:first-child { border-top: 0; }

/* ───── Success Fee chart ───── */
.fee {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: stretch;
}
@media (max-width: 900px) { .fee { grid-template-columns: 1fr; } }
.fee-info h2 {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 16px 0 28px;
}
.fee-info h2 em { font-style: italic; color: var(--accent-pop); font-weight: 340;}
.fee-info p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
  max-width: 420px;
}
.fee-chips {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fee-chip {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.fee-chip .sw {
  width: 14px; height: 14px;
  margin-top: 4px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.fee-chip.is-fix .sw { background: var(--ink); }
.fee-chip.is-suc .sw { background: var(--accent-pop); border-color: var(--accent-pop); }
.fee-chip.is-part .sw { background: transparent; }
.fee-chip strong {
  font-family: var(--serif);
  font-weight: 360;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.fee-chip span {
  display: block;
  color: var(--ink-3);
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.5;
}
.fee-chart {
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper);
  aspect-ratio: 1 / 0.78;
  overflow: hidden;
}
.fee-chart svg { width: 100%; height: 100%; display: block; }

/* ───── Horizontal scroll: market readiness ───── */
.hscroll-section {
  background: var(--ink);
  color: var(--bg);
  border-top: 1px solid var(--ink);
  padding: 80px 0 100px;
  position: relative;
}
.hscroll {
  --w: 1600px;
  display: flex;
  gap: 28px;
  padding: 32px var(--gutter);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll .card {
  flex: 0 0 360px;
  scroll-snap-align: start;
  border: 1px solid rgba(245,243,238,0.18);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  background: rgba(245,243,238,0.02);
  transition: background .3s ease, border-color .3s ease;
}
.hscroll .card:hover {
  background: rgba(245,243,238,0.05);
  border-color: rgba(245,243,238,0.4);
}
.hscroll .card .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(245,243,238,0.5);
}
.hscroll .card .big {
  font-family: var(--serif);
  font-weight: 320;
  font-size: 84px;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 24px 0 12px;
}
.hscroll .card .big sub {
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(245,243,238,0.55);
  letter-spacing: 0.08em;
}
.hscroll .card h4 {
  font-family: var(--serif);
  font-weight: 360;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.hscroll .card p {
  color: rgba(245,243,238,0.7);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

/* ───── AI grid ───── */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 1100px) { .ai-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
.ai-cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: background .3s ease;
}
.ai-cell:hover { background: var(--bg-elev); }
.ai-cell .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
}
.ai-cell h5 {
  font-family: var(--serif);
  font-weight: 360;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}
.ai-cell .ico {
  width: 36px; height: 36px;
  margin-top: 16px;
}

/* ───── Cases ───── */
.cases-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}
.case-row {
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.case-row:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 800px) { .case-row { grid-template-columns: 1fr; } }
.case-row .logo {
  font-family: var(--serif);
  font-weight: 340;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.case-row .body {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 540px;
}
.case-row .body .by {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.case-row .metric {
  text-align: right;
}
@media (max-width: 800px) { .case-row .metric { text-align: left; } }
.case-row .metric .n {
  font-family: var(--serif);
  font-weight: 320;
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.case-row .metric .l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 8px;
}

/* ───── Companies page ───── */
.companies-hero {
  padding-top: clamp(64px, 9vh, 112px);
  padding-bottom: clamp(42px, 7vh, 84px);
  border-bottom: 1px solid var(--line);
}
.companies-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.62fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}
.companies-hero h1 {
  font-size: clamp(56px, 9.4vw, 136px);
  margin-top: 28px;
}
.companies-hero-copy {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.55;
}
.companies-hero-copy p { margin: 0; }
.companies-board {
  padding: clamp(34px, 5vw, 64px) 0 clamp(88px, 12vh, 140px);
}
.companies-layout {
  display: grid;
  grid-template-columns: minmax(220px, 264px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.industry-nav {
  position: sticky;
  top: 88px;
  align-self: start;
}
.industry-nav__inner {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.industry-nav__title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.industry-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.industry-nav a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.25;
  transition: color .18s ease, padding-left .18s ease;
}
.industry-nav a:hover {
  color: var(--ink);
  padding-left: 6px;
}
.industry-nav a.is-active {
  color: var(--ink);
  font-weight: 500;
  padding-left: 6px;
  border-bottom-color: var(--ink);
}
.industry-nav__count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.industry-nav a.is-active .industry-nav__count {
  color: var(--ink);
}

.companies-directory {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 64px);
  min-width: 0;
}
.industry-section {
  scroll-margin-top: 90px;
}
.industry-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--ink);
}
.industry-section__head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.industry-section__count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.company-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.company-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 4px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
  transition: background .15s ease, padding-left .18s ease;
}
.company-row:hover {
  background: color-mix(in srgb, var(--ink) 3%, transparent);
  padding-left: 10px;
}
.company-row__logo {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.company-row__logo img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: opacity .2s ease;
}
.company-row__abbr {
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
  font-weight: 600;
  color: var(--ink-3);
  line-height: 1;
  letter-spacing: 0;
}
.company-row__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.company-row__name {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.company-row__domain {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.company-row__industry {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line);
  padding: 4px 8px;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .companies-layout {
    grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
    gap: 28px;
  }
}
@media (max-width: 880px) {
  .companies-layout {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
  }
  /* sticky pill bar — hugs the main header (64px) and stays visible on scroll */
  .industry-nav {
    position: sticky;
    top: 64px;
    z-index: 40;
    align-self: start;
    background: color-mix(in oklab, var(--bg) 92%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .industry-nav__inner {
    border-top: 0;
    padding-top: 0;
  }
  .industry-nav__title { display: none; }
  .industry-nav ul {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
  }
  .industry-nav ul::-webkit-scrollbar { display: none; }
  .industry-nav a {
    flex: 0 0 auto;
    display: flex;
    gap: 6px;
    align-items: baseline;
    border: 1px solid var(--line);
    padding: 6px 12px;
    font-size: 12px;
    border-bottom-width: 1px;
    white-space: nowrap;
  }
  .industry-nav a:hover,
  .industry-nav a.is-active {
    padding-left: 12px;
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
  }
  .industry-nav a.is-active .industry-nav__count { color: var(--bg); }
  .industry-nav__count { opacity: 0.55; }
  .industry-nav a.is-active .industry-nav__count { opacity: 1; }
  .companies-directory { padding-top: 24px; }
  .industry-section { scroll-margin-top: 120px; }
  .company-row__industry { display: none; }
}
@media (max-width: 760px) {
  .companies-hero-grid { grid-template-columns: 1fr; }
  .companies-hero-copy {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 22px;
    font-size: 15px;
  }
  .company-row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }
  .company-row__logo { width: 32px; height: 32px; }
  .company-row__logo img { width: 18px; height: 18px; }
  .company-row__name { font-size: 14px; }
}

/* ───── Vision / Team section (01) ───── */

/* A: Clip-path sweep — overrides default reveal opacity/translateY */
.vision-member.reveal {
  opacity: 1;
  transform: none;
  clip-path: inset(0 102% 0 0);
  transition:
    clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--rd, 0ms),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.vision-member.reveal.is-in {
  clip-path: inset(0 0% 0 0);
}

/* D: Magnetic hover base */
.vision-member {
  background: var(--bg);
  padding: 28px 24px;
  cursor: default;
  border: 1px solid transparent;
  will-change: transform;
}
.vision-member:hover {
  border-color: var(--accent-pop);
  box-shadow: 0 0 0 1px var(--accent-pop);
}

/* Avatar placeholder */
.vision-avatar {
  width: 64px;
  height: 64px;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  flex-shrink: 0;
  overflow: hidden;
}
.vision-avatar img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  display: block;
}
.vision-avatar-photo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  display: block;
}
/* Hide light matte around source portraits on light cards. */
.vision-avatar-photo--blend {
  mix-blend-mode: multiply;
}

/* E: Logo ticker */
.vision-ticker {
  overflow: hidden;
  padding-top: 20px;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.vision-ticker-track {
  display: flex;
  animation: vision-tick 24s linear infinite;
}
.vision-ticker-track span {
  white-space: nowrap;
  padding-right: 64px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
@keyframes vision-tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .vision-grid { grid-template-columns: 1fr !important; }
  
  .exit-challenges-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .exit-challenges-row { grid-template-columns: 1fr 50px 50px !important; padding: 16px 16px !important; gap: 8px !important; }
  
  .br-desk { display: none !important; }
  .vision-sub { max-width: 100% !important; padding-right: 16px; }

  /* Mobile: disable clip-path sweep, use simple fade instead */
  .vision-member.reveal {
    clip-path: inset(0 0% 0 0) !important;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s cubic-bezier(.2,.6,.2,1), transform 0.9s cubic-bezier(.2,.6,.2,1);
    transition-delay: var(--rd, 0ms);
  }
  .vision-member.reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .vision-member {
    padding: 20px 16px;
  }

  /* Mobile: adjust grid for smaller avatars and hide big index */
  .vision-member > div:first-child {
    grid-template-columns: 52px 1fr !important;
  }
  .vision-card-index {
    display: none !important;
  }

  .vision-avatar {
    width: 52px;
    height: 52px;
  }
  .vision-avatar img,
  .vision-avatar-photo {
    width: 52px;
    height: 52px;
  }

  /* Mobile: compact ticker */
  .vision-ticker-track span {
    padding-right: 48px;
    font-size: 10px;
  }
}

/* ───── Team ───── */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }
.team-card {
  border: 1px solid var(--line);
  padding: 32px 28px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.team-card-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.team-card .role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.team-card h5 {
  font-family: var(--serif);
  font-weight: 340;
  font-size: 36px;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0;
}
.team-card .yr {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-pop);
  letter-spacing: 0.06em;
}
.team-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

/* ───── CTA ───── */
.cta-section {
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.cta-section .wrap { position: relative; z-index: 2; }
.cta-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
}
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-grid h2 {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0;
}
.cta-grid h2 em { font-style: italic; color: var(--accent-pop); font-weight: 320; }
.cta-grid .right {
  font-size: 16px;
  color: rgba(245,243,238,0.78);
  line-height: 1.55;
}
.cta-form {
  margin-top: 48px;
  border-top: 1px solid rgba(245,243,238,0.2);
  padding-top: 32px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 800px) { .cta-form { grid-template-columns: 1fr; } }
.cta-form .field {
  border: 1px solid rgba(245,243,238,0.58);
  background: rgba(245,243,238,0.13);
  padding: 16px 14px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, background .2s ease;
}
.cta-form .field:focus-within {
  border-color: color-mix(in srgb, var(--accent-pop) 82%, rgba(245,243,238,0.45));
  background: rgba(245,243,238,0.18);
}
@media (max-width: 800px) { .cta-form .field { min-height: auto; } }
.cta-form label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.9);
  margin-bottom: 8px;
}
.cta-form label span { color: var(--accent-pop); }
.cta-form input, .cta-form select {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--bg);
  outline: none;
  padding: 4px 0 0;
}
.cta-form input::placeholder { color: rgba(245,243,238,0.78); }
.cta-form small {
  display: block;
  margin-top: auto;
  padding-top: 10px;
  font-size: 12px;
  line-height: 1.25;
  color: rgba(245,243,238,0.62);
}
.phone-control {
  display: grid;
  grid-template-columns: minmax(94px, 0.42fr) 1fr;
  gap: 10px;
  align-items: center;
}
.phone-control select {
  border-right: 1px solid rgba(245,243,238,0.28);
  padding-right: 8px;
  font-size: 14px;
}
.cta-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}
.cta-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 15, 30, 0.76);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.cta-modal__panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid rgba(245,243,238,0.34);
  box-shadow: 0 30px 90px rgba(0,0,0,0.42);
  padding: clamp(24px, 4vw, 42px);
}
.cta-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(245,243,238,0.28);
  background: rgba(245,243,238,0.08);
  color: var(--bg);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.cta-modal h3,
.cta-success h3 {
  margin: 14px 44px 0 0;
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.cta-modal__lead,
.cta-success p {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(245,243,238,0.72);
  line-height: 1.55;
}
.cta-modal .cta-form {
  margin-top: 28px;
  border-top: 1px solid rgba(245,243,238,0.18);
  padding-top: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cta-modal .cta-form .field:last-of-type {
  grid-column: 1 / -1;
}
.cta-modal__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}
.cta-modal__actions .btn[disabled] {
  opacity: 0.65;
  pointer-events: none;
}
.cta-form-error {
  grid-column: 1 / -1;
  margin: 0;
  color: #ffd2c7;
  font-size: 14px;
  line-height: 1.45;
}
.cta-submit-frame {
  position: absolute;
  width: 0;
  height: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.cta-success {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-success .btn {
  width: fit-content;
  margin-top: 28px;
}
@media (max-width: 720px) {
  .cta-modal {
    padding: 0;
    align-items: end;
  }
  .cta-modal__panel {
    width: 100%;
    max-height: 92vh;
    padding: 24px 18px;
  }
  .cta-modal .cta-form {
    grid-template-columns: 1fr;
  }
  .cta-modal__actions {
    flex-direction: column-reverse;
  }
  .cta-modal__actions .btn,
  .cta-success .btn {
    width: 100%;
  }
}
.cta-submit-row {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.cta-submit-row .meta {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(245,243,238,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ───── Footer ───── */
.footer {
  background: var(--bg);
  color: var(--ink);
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h6 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin: 0 0 16px;
}
.footer .word {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 320;
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}
.footer p { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin: 4px 0; }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer-bot {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex-wrap: wrap;
  gap: 12px;
}

/* ───── Subtle floating section indicator ───── */
.s-indicator {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 30;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  pointer-events: none;
  display: flex;
  gap: 6px;
  align-items: center;
}
.s-indicator .b {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent-pop);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ───── Vision strip ───── */
.vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .vision { grid-template-columns: 1fr; } }
.vision > div {
  padding: 48px 32px;
  border-right: 1px solid var(--line);
}
.vision > div:last-child { border-right: 0; }
@media (max-width: 800px) { .vision > div { border-right: 0; border-bottom: 1px solid var(--line); } .vision > div:last-child { border-bottom: 0; } }
.vision .lab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.vision .body {
  font-family: var(--serif);
  font-weight: 340;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 480px;
}
.vision .body em { font-style: italic; }

.vision-sub { max-width: 260px; }

/* utilities */
.row-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.acc-text { color: var(--accent-pop); }
.divider { height: 1px; background: var(--line); margin: 0; }

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.scroll-hint .arrow {
  display: inline-block;
  width: 30px; height: 1px; background: var(--ink-3);
  position: relative;
}
.scroll-hint .arrow::after {
  content: '';
  position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid var(--ink-3);
  border-right: 1px solid var(--ink-3);
  transform: rotate(45deg);
}

/* ───── Mobile stabilization ───── */
@media (max-width: 980px) {
  .nav-inner { gap: 12px; }
  .nav-links { display: none; }
  .nav-links.nav-links--mobile-open {
    position: absolute;
    top: 64px;
    left: var(--gutter);
    right: var(--gutter);
    display: grid;
    gap: 8px;
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 14px 16px;
    z-index: 60;
  }
  .nav-links.nav-links--mobile-open a {
    padding: 8px 0;
    font-size: 14px;
  }
  .nav-toggle { display: inline-flex; }
  .nav-actions {
    margin-left: auto;
    gap: 8px;
  }
  .nav-actions > .btn { display: none; }
  .brand span:last-child { display: none; }
  .hero-meta { flex-wrap: wrap; gap: 8px 16px; }
  .map-card .cap,
  .map-card .cap-r { font-size: 9px; letter-spacing: 0.1em; }
}

@media (max-width: 900px) {
  .vision-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .challenge-cmp {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .challenge-cmp > div:nth-child(2) { display: none; }
  .challenge-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 1px !important;
  }
  .challenge-stat-card {
    padding: 24px 18px !important;
  }
  .premises-grid {
    grid-template-columns: 1fr !important;
  }
  .premises-grid > div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
  .premises-grid > div:last-child { border-bottom: 0; }
  .onb-grid {
    grid-template-columns: 1fr !important;
  }
  .onb-grid > div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
  .onb-grid > div:last-child { border-bottom: 0; }

  /* block 01 */
  .vision-manifest-list { font-size: 10px !important; }
  .vision-words-grid {
    grid-template-columns: 1fr !important;
  }
  .vision-word-card {
    padding: 26px 18px !important;
  }
  .vision-word-card > div:last-child {
    font-size: clamp(30px, 10vw, 40px) !important;
  }
  .vision-dna-block p {
    font-size: 19px !important;
    line-height: 1.45 !important;
  }

  /* block 03 */
  .market-head-wrap { margin-bottom: 26px !important; }
  .market-s-head .lead {
    font-size: clamp(30px, 9.5vw, 44px) !important;
    line-height: 1.02 !important;
  }
  .market-hscroll {
    padding-left: 20px;
    padding-right: 20px;
    gap: 16px;
  }
  .market-card {
    flex-basis: 82vw !important;
    min-height: 310px !important;
    padding: 24px 18px !important;
  }
  .market-card .big {
    font-size: clamp(56px, 16vw, 76px) !important;
  }

  /* block 07 */
  .velocity-months-grid {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .velocity-months-grid .velocity-month-card {
    min-width: 76vw;
    scroll-snap-align: start;
    min-height: 270px !important;
    padding: 20px 16px !important;
  }
  .velocity-months-grid .velocity-month-card > div:first-child > div:last-child {
    font-size: 32px !important;
  }
  .velocity-explain-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .velocity-explain-card {
    border-left-width: 1px !important;
    padding-left: 12px !important;
  }

  .bizdev-visual,
  .risk-strip,
  .cost-visual,
  .math-outcomes {
    grid-template-columns: 1fr;
  }
  .bizdev-visual {
    min-height: 0;
  }
  .bizdev-side,
  .bizdev-result {
    min-height: 220px;
  }
  .bizdev-stack {
    border-left: 0;
    border-right: 0;
    background: var(--paper);
  }
  .bizdev-step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    min-height: 86px;
    padding: 18px 20px;
  }
  .bizdev-step em {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
    padding-left: 56px;
  }
  .risk-strip {
    align-items: start;
  }
  .cost-bar-card {
    min-height: 340px;
  }
  .cost-save {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 180px;
    margin: -32px auto;
    grid-row: 2;
  }
  .cost-stack {
    gap: 7px;
  }
}

@media (max-width: 760px) {
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .hero {
    padding-top: 38px;
    padding-bottom: 54px;
  }
  .hero h1 { font-size: clamp(38px, 12.5vw, 58px); }
  .hero-sub { font-size: 15px; }
  .btn { width: 100%; justify-content: center; }
  .hero-cta { width: 100%; }

  .s-head { margin-bottom: 34px; }
  .s-head .lead { font-size: clamp(30px, 9.2vw, 42px); }

  .cta-form { gap: 0; }
  .cta-submit-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-submit-row .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bot { flex-direction: column; align-items: flex-start; }
  .s-indicator { display: none; }

  /* extra tightening for 01/03/07 on phones */
  .vision-dna-block { margin-top: 30px !important; padding-top: 22px !important; }
  .vision-dna-block p { font-size: 17px !important; }
  .market-card p { font-size: 12.5px !important; }
  .market-card h4 { font-size: 19px !important; }
  .velocity-months-grid .velocity-month-card > p {
    font-size: 11.5px !important;
  }
  .bizdev-side-title,
  .bizdev-result-value {
    font-size: clamp(54px, 17vw, 78px);
  }
  .bizdev-step strong {
    font-size: clamp(24px, 8vw, 34px);
  }
  .cost-total {
    font-size: clamp(58px, 18vw, 86px);
  }
  .cost-save span {
    font-size: 56px;
  }
  .math-outcome .n {
    font-size: clamp(40px, 15vw, 58px);
  }
  .challenge-stat-card > div:nth-child(2) {
    font-size: clamp(46px, 18vw, 62px) !important;
  }
  .challenge-stat-card p {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    max-width: 100% !important;
  }
}

/* ══════════════════════════════════════════════════
   SECTION · SCENARIOS — horizontal race-track
   ══════════════════════════════════════════════════ */
.section--scnh { position: relative; }
.section--scnh .lead {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.section--scnh .lead em { font-style: italic; }

/* ─── UTP block (moved to TOP — conclusion before proof) */
.scnh-utp {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.scnh-utp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--accent-pop) 8%, transparent), transparent 55%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
}
.scnh-utp.is-on::before { opacity: 1; }
.scnh-utp-item {
  background: var(--bg);
  padding: 32px 28px 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.1,1);
}
.scnh-utp.is-on .scnh-utp-item { opacity: 1; transform: translateY(0); }
.scnh-utp.is-on .scnh-utp-item:nth-child(1) { transition-delay: 0ms; }
.scnh-utp.is-on .scnh-utp-item:nth-child(2) { transition-delay: 140ms; }
.scnh-utp.is-on .scnh-utp-item:nth-child(3) { transition-delay: 280ms; }
.scnh-utp-item.is-money { background: var(--ink); color: var(--bg); }
.scnh-utp-item.is-pct   { background: var(--accent-pop); color: #fff; }

.scnh-utp-n {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(56px, 6.8vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.05em;
}
.scnh-utp-n sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  vertical-align: baseline;
  margin-left: 6px;
  text-transform: uppercase;
  opacity: 0.5;
}
.scnh-utp-l {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 240px;
}
.scnh-utp-item.is-money .scnh-utp-l { color: rgba(245,243,238,0.72); }
.scnh-utp-item.is-pct   .scnh-utp-l { color: rgba(255,255,255,0.88); }

/* ─── Race-track wrapper */
.scnh-race {
  --scnh-head: 220px;
  --scnh-gap: 28px;
  margin-top: 56px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Common time axis — offset by head width so it aligns with track-body */
.scnh-axis {
  position: relative;
  height: 38px;
  margin-bottom: 0;
  margin-left: calc(var(--scnh-head) + var(--scnh-gap));
}
.scnh-axis-line {
  position: absolute;
  left: 0; right: 0;
  bottom: 8px;
  height: 1px;
  background: var(--line);
}
.scnh-axis-tick {
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  opacity: 0;
  transition: opacity .5s ease;
  transition-delay: calc((var(--i) - 1) * 80ms);
}
.scnh-axis-tick.is-on { opacity: 1; }
.scnh-axis-mark {
  width: 1px; height: 14px;
  background: var(--ink-3);
}
.scnh-axis-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}

/* ─── Track row */
.scnh-track {
  position: relative;
  display: grid;
  grid-template-columns: var(--scnh-head) 1fr;
  gap: var(--scnh-gap);
  padding: 32px 24px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  align-items: start;
}
.scnh-track + .scnh-track { border-top: none; }
.scnh-track--bridge {
  background: var(--ink);
  color: var(--bg);
  border-color: transparent;
}

.scnh-track-head .h-eyebrow { color: var(--ink-3); }
.scnh-track--bridge .scnh-track-head .h-eyebrow { color: rgba(245,243,238,0.5); }
.scnh-track-name {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 10px 0 8px;
}
.scnh-track-meta {
  display: flex; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.scnh-track--bridge .scnh-track-meta { color: rgba(245,243,238,0.55); }
.scnh-track-meta strong { color: var(--ink); font-weight: 500; font-size: 13px; letter-spacing: 0.04em; }
.scnh-track--bridge .scnh-track-meta strong { color: var(--accent-pop); }

/* ─── Track body — where dots, line, etc. live (full-width track-rail) */
.scnh-track-body {
  position: relative;
  height: 220px;
}

/* The horizontal line */
.scnh-line {
  position: absolute;
  left: 0; right: 0;
  top: 30px;
  height: 1px;
  background: var(--line-2);
}
.scnh-track--bridge .scnh-line { background: rgba(245,243,238,0.18); }
.scnh-line-fill {
  position: absolute;
  left: 0; top: -1px;
  height: 3px;
  background: var(--ink-2);
  transition: width .12s linear;
}
.scnh-track--bridge .scnh-line-fill { background: var(--accent-pop); }

/* Bonus band (Bridge only — "+2 месяца уже в масштабе"), sits below step content */
.scnh-bonus {
  position: absolute;
  bottom: 8px;
  height: 30px;
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent-pop) 22%, transparent), color-mix(in srgb, var(--accent-pop) 6%, transparent));
  border-left: 2px solid var(--accent-pop);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity .8s ease .5s, transform .8s cubic-bezier(.2,.7,.1,1) .5s;
  z-index: 1;
}
.scnh-bonus.is-on { opacity: 1; transform: translateX(0); }
.scnh-bonus-arrow {
  font-size: 16px;
  color: var(--accent-pop);
  font-family: var(--serif);
}
.scnh-bonus-text { white-space: nowrap; }

/* ─── Step (one per month) */
.scnh-step {
  position: absolute;
  top: 0;
  width: 160px;
  margin-left: -80px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  z-index: 2;
}
/* Vertical guide line — connects month dots to the axis above */
.scnh-step::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    to bottom,
    var(--line-2) 0,
    var(--line-2) 3px,
    transparent 3px,
    transparent 9px
  );
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}
.scnh-track--bridge .scnh-step::before {
  background: repeating-linear-gradient(
    to bottom,
    rgba(245,243,238,0.15) 0,
    rgba(245,243,238,0.15) 3px,
    transparent 3px,
    transparent 9px
  );
  opacity: 1;
}

.scnh-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 2px solid var(--line-2);
  margin-top: 24px;
  transform: scale(0.6);
  transition: transform .35s cubic-bezier(.2,.7,.1,1.4), background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.scnh-track--bridge .scnh-dot { background: var(--ink); border-color: rgba(245,243,238,0.25); }
.scnh-step.is-on .scnh-dot {
  transform: scale(1);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--bg-elev);
}
.scnh-track--bridge .scnh-step.is-on .scnh-dot {
  background: var(--accent-pop);
  border-color: var(--accent-pop);
  box-shadow: 0 0 0 3px var(--ink);
}

.scnh-step-cost {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 320;
  font-size: 22px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease;
  transition-delay: 100ms;
}
.scnh-track--bridge .scnh-step-cost { color: var(--bg); }
.scnh-step.is-on .scnh-step-cost { opacity: 1; transform: translateY(0); }
.scnh-step-cost sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  vertical-align: baseline;
  margin-left: 2px;
  opacity: 0.55;
  text-transform: uppercase;
}

.scnh-step-name {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--ink-2);
  opacity: 0;
  transition: opacity .4s ease;
  transition-delay: 200ms;
}
.scnh-track--bridge .scnh-step-name { color: rgba(245,243,238,0.78); }
.scnh-step.is-on .scnh-step-name { opacity: 1; }

.scnh-step-tag {
  margin-top: 8px;
  display: inline-flex; align-items: flex-start; gap: 5px;
  padding: 4px 7px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid;
  text-align: left;
  opacity: 0;
  transition: opacity .4s ease;
  transition-delay: 280ms;
}
.scnh-step.is-on .scnh-step-tag { opacity: 1; }
.scnh-tag-dot { flex: 0 0 auto; width: 5px; height: 5px; border-radius: 50%; margin-top: 2px; }

.scnh-step-tag--risk {
  border-color: rgba(192,57,43,0.32);
  color: #9b2b20;
  background: rgba(192,57,43,0.06);
}
.scnh-step-tag--risk .scnh-tag-dot {
  background: #C0392B;
  animation: scnhPulseRisk 1.8s ease-in-out infinite;
}
.scnh-step-tag--strength {
  border-color: rgba(14,116,110,0.4);
  color: #0e746e;
  background: rgba(14,116,110,0.06);
}
.scnh-track--bridge .scnh-step-tag--strength {
  border-color: rgba(245,243,238,0.28);
  color: rgba(245,243,238,0.85);
  background: rgba(245,243,238,0.06);
}
.scnh-step-tag--strength .scnh-tag-dot { background: var(--accent-pop); }

@keyframes scnhPulseRisk {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192,57,43,0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(192,57,43,0); }
}

/* ─── go/no-go decision marker */
.scnh-decision {
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s ease .15s;
  z-index: 1;
}
.scnh-decision.is-on { opacity: 1; }
.scnh-decision-stem {
  position: absolute;
  left: 0; top: 22px; bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(180deg, var(--accent-pop) 0 4px, transparent 4px 8px);
  margin-left: -0.5px;
}
.scnh-decision-flag {
  position: absolute;
  top: 0;
  left: 4px;
  padding: 4px 8px;
  background: var(--accent-pop);
  color: #fff;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex; flex-direction: column; gap: 1px;
}
.scnh-decision-flag strong { font-weight: 600; letter-spacing: 0.14em; }
.scnh-decision-flag span { opacity: 0.85; font-size: 8px; letter-spacing: 0.06em; text-transform: none; }

/* ─── Result endpoint — banner above the line at the result month */
.scnh-result {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  opacity: 0;
  transition: opacity .55s ease .15s, transform .55s ease .15s;
  z-index: 3;
  pointer-events: none;
}
.scnh-result.is-on { opacity: 1; }
.scnh-result-pip {
  display: none; /* dot at this month already serves as the marker; banner is the new visual */
}
.scnh-result-label {
  display: inline-block;
  padding: 4px 9px;
  background: var(--accent-pop);
  color: #fff;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 600;
  position: relative;
}
.scnh-result-label::after {
  content: '';
  position: absolute;
  left: 50%; top: 100%;
  margin-left: -4px;
  border: 4px solid transparent;
  border-top-color: var(--accent-pop);
}
/* Highlight the dot at result month */
.scnh-step.is-result .scnh-dot,
.scnh-track--bridge .scnh-step:last-of-type.is-on .scnh-dot {
  box-shadow: 0 0 0 4px var(--bg-elev), 0 0 0 5px var(--accent-pop);
}

/* ─── vs separator between tracks */
.scnh-vs {
  position: relative;
  display: grid; place-items: center;
  height: 0;
  overflow: visible;
  z-index: 4;
}
.scnh-vs span {
  position: relative;
  margin: -22px 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-pop);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* ─── Cumulative cost chart */
.scnh-chart {
  margin-top: 64px;
  padding: 32px 24px 20px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
.scnh-chart-head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.scnh-chart-legend {
  display: flex; gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.scnh-leg { display: inline-flex; align-items: center; gap: 8px; }
.scnh-leg-sw { width: 18px; height: 2px; }
.scnh-leg--diy .scnh-leg-sw { background: var(--ink-2); }
.scnh-leg--br  .scnh-leg-sw { background: var(--accent-pop); height: 2.5px; }

.scnh-chart-plot {
  position: relative;
  padding-left: 44px;
  height: 240px;
}
.scnh-chart-svg {
  width: 100%; height: 100%;
  overflow: visible;
}
.scnh-chart-grid {
  stroke: var(--line);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.scnh-chart-grid--dim { stroke: var(--line); opacity: 0.45; stroke-dasharray: 2 4; }
.scnh-chart-grid--vert { stroke: var(--line); opacity: 0.3; stroke-dasharray: 2 4; }

.scnh-chart-area {
  fill: var(--accent-pop);
  fill-opacity: 0.18;
  stroke: var(--accent-pop);
  stroke-width: 0.5;
  stroke-opacity: 0.5;
  vector-effect: non-scaling-stroke;
  transition: opacity 1s ease;
}

.scnh-chart-line {
  fill: none;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  transition: stroke-dashoffset .15s linear;
}
.scnh-chart-line--diy {
  stroke: var(--ink-2);
}
.scnh-chart-line--bridge {
  stroke: var(--accent-pop);
  stroke-width: 2.5;
}
.scnh-chart-end {
  vector-effect: non-scaling-stroke;
  transition: opacity .5s ease;
}
.scnh-chart-end--diy { fill: var(--ink); stroke: var(--bg-elev); stroke-width: 2; }
.scnh-chart-end--br  { fill: var(--accent-pop); stroke: var(--bg-elev); stroke-width: 2; }

.scnh-chart-y {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 40px;
}
.scnh-chart-y span {
  position: absolute;
  right: 4px;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.scnh-chart-x {
  position: relative;
  margin-left: 44px;
  height: 22px;
  margin-top: 8px;
}
.scnh-chart-x span {
  position: absolute;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Saving callout — overlay on chart, centered in saving area (M3–M5+) */
.scnh-chart-saving {
  position: absolute;
  right: 12%;
  top: 30%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--accent-pop);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0;
  transform: translate(8px, 4px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.1,1);
}
.scnh-chart-saving.is-on { opacity: 1; transform: translate(0, 0); }
.scnh-chart-saving-n {
  font-family: var(--serif);
  font-weight: 340;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent-pop);
}
.scnh-chart-saving-l {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ─── Proof anchor */
.scnh-proof {
  margin-top: 24px;
  max-width: 760px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-3);
}

/* ─── Mobile */
@media (max-width: 960px) {
  .scnh-axis { margin-left: 0; }
  .scnh-track { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
  .scnh-track-body { height: 260px; }
  .scnh-step { width: 120px; margin-left: -60px; }
  .scnh-step-cost { font-size: 18px; }
  .scnh-step-name { font-size: 10.5px; }
  .scnh-step-tag { font-size: 8.5px; }
  .scnh-decision-flag { font-size: 7.5px; padding: 2px 6px; }
  .scnh-utp { grid-template-columns: 1fr; }
  .scnh-utp-n { font-size: clamp(48px, 12vw, 72px); }
  .scnh-chart-plot { height: 180px; padding-left: 36px; }
  .scnh-chart-y { width: 32px; }
  .scnh-chart-saving { padding: 8px 10px; right: 4%; top: 38%; }
  .scnh-chart-saving-n { font-size: 20px; }
}
@media (max-width: 640px) {
  .scnh-race { overflow-x: auto; padding-bottom: 8px; }
  .scnh-race > * { min-width: 720px; }
  .scnh-axis { min-width: 720px; }
}
