/* ============================================================
   EVOLVE TO GROW — brand.css
   v2 brand polish overlay on top of wireframe.css
   Pink → orange → gold gradient · cyan accent · Bricolage Grotesque
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..100,400..800&family=Geist:wght@300..800&family=Geist+Mono:wght@400;500&display=swap');

/* ── TOKEN OVERRIDES ───────────────────────────────────── */
:root {
  /* Brand colours */
  --pink: #FC0986;
  --pink-deep: #D6076E;
  --pink-glow: #FF4DA8;
  --orange: #FF6B2C;
  --gold: #F2A93B;
  --cyan: #00E5E9;
  --cyan-deep: #00BFC2;

  /* Brand gradients */
  --grad: linear-gradient(115deg, #FC0986 0%, #FF6B2C 52%, #F2A93B 100%);
  --grad-soft: linear-gradient(115deg, rgba(252,9,134,0.08) 0%, rgba(255,107,44,0.06) 50%, rgba(242,169,59,0.06) 100%);
  --grad-cool: linear-gradient(135deg, #FC0986 0%, #00E5E9 100%);

  /* Ink upgrade — slightly warmer */
  --ink: #0E1722;
  --ink-2: #2a3340;
  --ink-3: #6b7480;
  --ink-4: #aab2bd;

  /* Surfaces — warm whites for brand polish */
  --bg-1: #FFFFFF;
  --bg-2: #FAF7F2;
  --bg-3: #F3EEE6;
  --bg-4: #0E1722;

  --line: rgba(14,23,34,0.10);
  --line-2: rgba(14,23,34,0.20);

  /* Type — Bricolage display, Geist body */
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;

  --shadow-pop: 0 18px 48px rgba(252,9,134,0.18), 0 4px 12px rgba(14,23,34,0.06);
  --shadow-md: 0 12px 32px -12px rgba(14,23,34,0.15);
}

/* ── TYPOGRAPHY ─────────────────────────────────────── */
body { font-family: var(--sans); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
h1 { font-size: clamp(40px, 6.4vw, 88px); letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(30px, 4.2vw, 56px); letter-spacing: -0.035em; line-height: 1.05; }
h3 { font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.025em; line-height: 1.1; }
h4 { font-size: clamp(19px, 1.6vw, 22px); letter-spacing: -0.015em; line-height: 1.25; }

/* Eyebrow becomes mono + pink dot */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 0;
  background: var(--grad);
  display: inline-block;
}

/* Gradient text utility — paint any element with brand gradient */
.grad-text, h1 .em, h2 .em, h3 .em {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── BUTTONS — gradient primary, dark secondary ────────── */
.btn-primary {
  background: var(--grad);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 16px 28px;
  font-weight: 600;
  box-shadow: var(--shadow-pop);
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(225deg, #FC0986 0%, #FF6B2C 50%, #F2A93B 100%);
  opacity: 0;
  transition: opacity 280ms;
  z-index: -1;
  border-radius: inherit;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 60px rgba(252,9,134,0.45); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 14.5px 26.5px;
  font-weight: 600;
  transition: all 200ms;
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn .arr { display: inline-block; margin-left: 6px; transition: transform 200ms; }
.btn:hover .arr { transform: translateX(4px); }

/* ── HERO — gradient mesh background ─────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -20%;
  width: 70%;
  height: 90%;
  background: radial-gradient(60% 80% at 30% 30%, rgba(252,9,134,0.15) 0%, rgba(255,107,44,0.10) 35%, rgba(242,169,59,0.06) 60%, transparent 80%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

/* Hero photo placeholder gets gradient frame */
.hero .wf-photo {
  background: var(--bg-3);
  border: 1px dashed var(--ink-4);
  position: relative;
  border-radius: 8px;
}
.hero .wf-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0.5;
  pointer-events: none;
}
.hero .wf-photo > .wf-label {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  font-weight: 500;
  color: var(--ink-2);
}

/* ── NAV — sticky, glassy ────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.site-header .brand .mark {
  background: var(--grad);
  color: #fff;
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(252,9,134,0.4);
}
.site-header nav a.cta {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 14px rgba(252,9,134,0.3);
  border-radius: 999px;
  transition: transform 180ms, box-shadow 280ms;
}
.site-header nav a.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(252,9,134,0.5);
}
.site-header nav a:hover { color: var(--pink); background: transparent; }
.site-header nav a.is-current {
  color: var(--ink);
  border-bottom: 2px solid;
  border-image: var(--grad) 1;
  border-radius: 0;
}

/* ── SECTIONS — alternate background tone ───────────── */
.section-grey { background: var(--bg-2); }
.section-dark {
  background: var(--bg-4);
  color: var(--bg-1);
  background-image: radial-gradient(60% 80% at 80% 20%, rgba(252,9,134,0.18) 0%, transparent 70%),
                    radial-gradient(50% 70% at 20% 90%, rgba(0,229,233,0.10) 0%, transparent 70%);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5 { color: var(--bg-1); }
.section-dark p { color: rgba(255,255,255,0.78); }
.section-dark .eyebrow { color: rgba(255,255,255,0.65); }
.section-dark .eyebrow::before { background: var(--grad); }

/* ── CARDS — hover lifts, borders animate ────────────── */
.card, .case-card, .episode-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 280ms, border-color 280ms;
  overflow: hidden;
}
.card:hover, .case-card:hover, .episode-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}
.card .title { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }

/* ── PHOTO PLACEHOLDERS — coloured frames with gradient hint ── */
.wf-photo {
  background: var(--bg-3);
  border: 1px dashed var(--ink-4);
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.wf-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  pointer-events: none;
}

/* ── STATS — gradient numerals ──────────────────────── */
.stats-bar .stat .n,
.stats-row .stat .n {
  font-family: var(--display);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.stats-bar { background: var(--bg-2); border-color: var(--line); }
.stats-row { background: var(--bg-1); }

/* ── LOGO IN NAV/FOOTER — strip the image-slot's grey backplate so the
   transparent PNG sits cleanly on whatever the surrounding surface is ── */
image-slot#logo-nav::part(frame) { background: transparent; }
image-slot#logo-nav::part(ring) { display: none; }

/* ── FOOTER — dark with gradient accent ─────────────── */
.site-footer {
  background: var(--bg-4);
  color: rgba(255,255,255,0.65);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
}
.site-footer h6 {
  color: var(--bg-1);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.site-footer .brand .mark { background: var(--grad); color: #fff; border: 0; }
.site-footer a { color: rgba(255,255,255,0.65); transition: color 180ms; }
.site-footer a:hover { color: var(--pink-glow); }
.site-footer .legal { color: rgba(255,255,255,0.45); border-color: rgba(255,255,255,0.10); }
.site-footer .legal a { color: rgba(255,255,255,0.65); text-decoration: underline; text-underline-offset: 3px; }

/* ── FINAL CTA — gradient slab ──────────────────────── */
.final-cta {
  background: var(--grad);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 60% at 50% 0%, rgba(255,255,255,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta > .container { position: relative; }
.final-cta h1, .final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,0.85); }
.final-cta .btn-primary { background: #fff; color: var(--pink); box-shadow: 0 12px 28px rgba(0,0,0,0.18); }
.final-cta .btn-primary:hover { background: var(--ink); color: #fff; }
.final-cta .btn-primary::before { background: var(--ink); }
.final-cta .btn-outline { background: rgba(255,255,255,0.10); color: #fff; border: 1.5px solid #fff; backdrop-filter: blur(8px); }
.final-cta .btn-outline:hover { background: #fff; color: var(--pink); border-color: #fff; }
.final-cta .reassure { color: rgba(255,255,255,0.85); }

/* ── PAIN LIST — gradient numbers ───────────────────── */
.pain-list li .num {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  font-family: var(--display);
}

/* ── PROMISE before/after ──────────────────────────── */
.promise .col-now { background: var(--bg-2); }
.promise .col-then {
  background: var(--bg-1);
  color: var(--ink);
  border: 1.5px solid var(--pink);
  position: relative;
}
.promise .col-then h3 { color: var(--ink); }
.promise .col-then h3 .em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promise .col-then li { color: var(--ink-2); }
.promise .col-then li::before { color: var(--pink); }

/* ── BEF MECHANISM layers ──────────────────────────── */
.mech .layer .bar > i {
  background: var(--grad);
}
.mech .layer:nth-child(1) .bar > i { background: linear-gradient(90deg, var(--pink) 0%, var(--pink) 100%); }
.mech .layer:nth-child(2) .bar > i { background: linear-gradient(90deg, var(--pink) 0%, var(--orange) 100%); }
.mech .layer:nth-child(3) .bar > i { background: linear-gradient(90deg, var(--orange) 0%, var(--gold) 100%); }
.mech .layer:nth-child(4) .bar > i { background: linear-gradient(90deg, var(--gold) 0%, var(--cyan) 100%); }
.mech .layer:nth-child(5) .bar > i { background: var(--cyan); }

/* ── OFFERS — featured tier glows ─────────────────── */
.offer { border-radius: 14px; transition: transform 280ms, box-shadow 280ms; }
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
/* Featured tier — light card with pink accent, NOT dark slab (readability) */
.offer.featured {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--pink);
  box-shadow: 0 24px 48px -16px rgba(252, 9, 134, 0.18);
  position: relative;
}
.offer.featured-LEGACY {
  background: var(--bg-4);
  color: #fff;
  border: 0;
  position: relative;
  overflow: visible;
}
.offer.featured::before { display: none; }
.offer.featured h3 { color: var(--ink); }
.offer.featured .price-now {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.offer.featured .pop {
  background: var(--grad); color: #fff;
  font-size: 10px; letter-spacing: 0.16em; padding: 5px 12px;
  border-radius: 999px;
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  box-shadow: 0 10px 22px -6px rgba(252, 9, 134, 0.45);
  white-space: nowrap;
}
.offer .pop { background: var(--pink); color: #fff; border-radius: 999px; }

/* Profit-Share toggle: card morphs to show modifier price + bullet */
.offer .ps-only { display: none; }
.offers.is-ps-on .offer .ps-base { display: none; }
.offers.is-ps-on .offer .ps-only { display: block; }
.offers.is-ps-on .offer.featured .ps-only { display: block; }
.offers-toggle {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 32px auto 0; padding: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.offers-toggle button {
  background: transparent; border: 0; padding: 10px 18px;
  cursor: pointer; border-radius: 999px;
  color: var(--ink-3); font-family: inherit; font-size: inherit; letter-spacing: inherit;
  transition: background 220ms, color 220ms;
}
.offers-toggle button.is-on { background: var(--ink); color: #fff; }
.offers-toggle .label { padding: 0 8px; color: var(--ink-2); }

/* ── FAQ — gradient bullets ──────────────────────── */
.faq summary .ico { transition: transform 280ms, background 180ms, color 180ms; }
.faq details[open] summary .ico {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

/* ── WIREFRAME RIBBON ──────────────────────────── */
.wf-ribbon {
  background: var(--grad);
  color: #fff;
  border: 0;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(252,9,134,0.3);
}

/* ── LINKS — gradient underline on hover ────────── */
.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 4px;
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 280ms;
}
.link-arrow:hover::after { transform: scaleX(1.05); }
.link-arrow:hover { color: var(--pink); }

/* ── BLOCKQUOTES — gradient left border ────────── */
blockquote {
  border-left-color: transparent !important;
  position: relative;
}
blockquote::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--grad);
}

/* ── REVEAL ON SCROLL ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── REMOVE WIREFRAME DOTTED BORDERS ON BRAND ── */
.wf-photo { border-style: solid; border-color: var(--line); }


/* ── NAV — collapse extra links at narrower viewports ── */
.site-header .bar { padding-inline: clamp(16px, 3vw, 32px); }
.site-header nav a { padding: 8px 10px; font-size: 13px; white-space: nowrap; }
.site-header nav a.cta { margin-left: 12px; padding: 10px 18px; flex-shrink: 0; }
@media (max-width: 1280px) { .site-header nav a:not(.cta):nth-child(n+7) { display: none; } }
@media (max-width: 980px) { .site-header nav a:not(.cta) { display: none; } }

/* ── WIREFRAME RIBBON — update to v2 ── */
.wf-ribbon::after { content: ""; }


/* ============================================================
   v2 polish — round 2 fixes (verifier-flagged + footer audit)
   ============================================================ */

/* H1 at peak size: 600 weight, not 700 — billboard → coaching */
@media (min-width: 1280px) {
  h1 { font-weight: 600; letter-spacing: -0.05em; }
}

/* Section-dark + footer: brighten labels and links for readability */
.section-dark .eyebrow::before { background: rgba(255,255,255,0.85); }
.section-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }
.section-dark .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Final CTA reassure text + button contrast */
.final-cta .reassure { color: rgba(255,255,255,0.92); font-weight: 500; }
.final-cta .btn-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 28px rgba(0,0,0,0.28); }
.final-cta .btn-primary:hover { background: #000; color: #fff; }
.final-cta .btn-primary::before { background: #000; }
.final-cta .btn-outline { background: rgba(255,255,255,0.22); color: #fff; border: 2px solid #fff; backdrop-filter: blur(8px); font-weight: 600; }
.final-cta .btn-outline:hover { background: #fff; color: var(--pink); border-color: #fff; }

/* Altitude book pre-order section — ensure buttons on the gradient/dark backdrop are readable */
.book .btn-primary, .book .btn-outline { font-weight: 600; }
.book .btn-outline { color: #fff; border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.10); }
.book .btn-outline:hover { background: #fff; color: var(--ink); }

/* BEF mechanism — keep palette warm-only, kill the off-palette cyan stop */
.mech .layer:nth-child(4) .bar > i { background: linear-gradient(90deg, var(--gold) 0%, var(--pink-glow) 100%); }
.mech .layer:nth-child(5) .bar > i { background: var(--pink); }

/* ────────────────────────────────────────────
   FOOTER — readability upgrade
   ──────────────────────────────────────────── */
.site-footer {
  color: rgba(255,255,255,0.78);   /* was 0.65 — too dim */
}
.site-footer li a {
  color: rgba(255,255,255,0.82);
  font-weight: 400;
}
.site-footer li a:hover { color: var(--pink-glow); }
.site-footer a:not(li a) {
  color: rgba(255,255,255,0.82);
}
.site-footer h6 {
  color: #fff;
  letter-spacing: 0.18em;
  font-size: 11px;
  margin-bottom: 14px;
}
.site-footer .legal {
  color: rgba(255,255,255,0.62);   /* was 0.45 — was unreadable */
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 20px;
  margin-top: 48px;
}
.site-footer .legal a {
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  text-underline-offset: 3px;
}
.site-footer .legal a:hover {
  color: var(--pink-glow);
  text-decoration-color: var(--pink-glow);
}

/* Footer column tightening at narrower viewports */
@media (max-width: 1200px) {
  .site-footer .grid {
    grid-template-columns: 2fr repeat(3, 1fr) !important;
    gap: 32px;
  }
}
@media (max-width: 880px) {
  .site-footer .grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px;
  }
  .site-footer .legal { flex-direction: column; gap: 6px; align-items: flex-start; }
}
@media (max-width: 540px) {
  .site-footer .grid { grid-template-columns: 1fr !important; }
}

/* Footer brand: ensure white logo + tagline + contact on dark bg */
.site-footer .brand { color: #fff; }
.site-footer .brand .mark { background: var(--grad); color: #fff; border: 0; box-shadow: 0 4px 14px rgba(252,9,134,0.5); }
.site-footer p { color: rgba(255,255,255,0.85); }
.site-footer p[style*="--mono"] {
  color: rgba(255,255,255,0.72) !important;
  letter-spacing: 0.10em !important;
}

/* Smaller logo spacing on long verticals list */
.site-footer ul { gap: 8px; }
.site-footer li a { font-size: 13.5px; line-height: 1.5; padding: 2px 0; display: inline-block; }

/* Wireframe ribbon: shrink it so it doesn't fight content */
.wf-ribbon {
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border-radius: 4px;
  bottom: 12px;
  left: 12px;
  opacity: 0.92;
}


/* H2 baseline margin so it doesn't crash into .lede or following paragraph */
h2 { margin-bottom: 18px; }
h2 + .lede, h2 + p { margin-top: 0; }

/* All wireframe photo labels — ensure they sit above any overlay */
.wf-photo > .wf-label { z-index: 2 !important; }

/* ============================================================
   MODERN INTERACTIVITY LAYER
   Pairs with motion.js — these styles handle the hover / focus /
   transition states that don't need JS.
   ============================================================ */

/* ── Nav link · animated gradient underline on hover ───────── */
.site-header nav a:not(.cta) {
  position: relative;
  overflow: hidden;
}
.site-header nav a:not(.cta)::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--grad);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header nav a:not(.cta):hover::after,
.site-header nav a.is-current::after {
  transform: scaleX(1);
}
.site-header nav a.is-current {
  border-bottom: 0;   /* underline now does the work */
}
.site-header nav a:hover { background: transparent; }

/* ── FAQ details · smooth open/close ──────────────────────── */
.faq details {
  border-bottom: 1px solid var(--line);
  transition: background 200ms ease;
}
.faq details:hover { background: rgba(252, 9, 134, 0.025); }
.faq details[open] {
  background: linear-gradient(180deg, rgba(252, 9, 134, 0.03) 0%, transparent 80%);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details .ans {
  animation: faqOpenIn 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes faqOpenIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Case card · gradient stripe on top, slides in on hover ─ */
.card.case-card, article.card {
  position: relative;
}
.card.case-card::before, article.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
  border-radius: 14px 14px 0 0;
}
.card.case-card:hover::before, article.card:hover::before {
  transform: scaleX(1);
}

/* ── Focus rings · stronger, gradient-aware ───────────────── */
*:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline-offset: 4px;
}

/* ── In-text links · animated gradient underline ──────────── */
.lede a, p a:not(.btn), .ans a {
  color: var(--ink);
  text-decoration: none;
  background-image: var(--grad);
  background-repeat: no-repeat;
  background-size: 100% 1.5px;
  background-position: 0 100%;
  padding-bottom: 2px;
  transition: background-size 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lede a:hover, p a:not(.btn):hover, .ans a:hover {
  background-size: 100% 100%;
  background-image: linear-gradient(0deg, var(--grad) 0%, var(--grad) 100%);
  color: #fff;
  padding: 1px 3px 2px;
  margin: -1px -3px -2px;
  border-radius: 2px;
}

/* ── Eyebrow · gradient line slides in on reveal ─────────── */
.reveal .eyebrow::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1) 200ms;
}
.reveal.is-in .eyebrow::before {
  transform: scaleX(1);
}

/* ── Stat numbers · slight scale-in when revealed ─────────── */
.reveal .stat .n,
.reveal .stats-bar .n,
.reveal .stats-row .n {
  transform: scale(0.92);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in .stat .n,
.reveal.is-in .stats-bar .n,
.reveal.is-in .stats-row .n {
  transform: scale(1);
}

/* ── Final-CTA · subtle shine sweep on hover ─────────────── */
.final-cta { position: relative; overflow: hidden; }
.final-cta::after {
  content: '';
  position: absolute;
  top: 0; left: -50%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.10) 50%, transparent 100%);
  transform: skewX(-15deg);
  pointer-events: none;
  transition: transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.final-cta:hover::after {
  transform: translateX(300%) skewX(-15deg);
}

/* ── Image-slot · subtle fade-in when filled ────────────── */
image-slot[data-filled] {
  animation: slotFadeIn 480ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes slotFadeIn {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* ── Reduced motion respect ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .site-header nav a:not(.cta)::after,
  .card.case-card::before, article.card::before,
  .reveal .eyebrow::before,
  .reveal .stat .n {
    transform: scaleX(1) scale(1) !important;
  }
}


/* ── PROOF STRIP — reusable trust band between hero and conversion ── */
.proof-strip {
  padding: clamp(40px, 5vw, 64px) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-strip .proof-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: 28px;
}
.proof-strip .proof-stats {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
  margin-top: 8px;
}
.proof-strip .proof-stats .item .n {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  display: block;
}
.proof-strip .proof-stats .item .l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 6px;
  display: block;
}
.proof-strip .proof-claim {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 44ch;
  margin: 0;
}
.proof-strip .proof-claim strong { color: var(--ink); font-weight: 600; }
.proof-strip .proof-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.proof-strip .proof-logos image-slot {
  display: block;
  width: 100%;
  height: 56px;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 200ms, opacity 200ms;
}
.proof-strip .proof-logos image-slot:hover {
  filter: grayscale(0);
  opacity: 1;
}
@media (max-width: 880px) {
  .proof-strip .proof-head { grid-template-columns: 1fr; align-items: start; }
  .proof-strip .proof-logos { grid-template-columns: repeat(3, 1fr); gap: 14px; row-gap: 20px; }
}


/* ── SLIM FOOTER for sales pages (home, coaching, apply, diagnostic) ── */
body.is-sales .site-footer .grid {
  grid-template-columns: 2fr 1fr 1fr !important;
}
body.is-sales .site-footer .grid > div:nth-child(n+4) {
  display: none;
}
@media (max-width: 720px) {
  body.is-sales .site-footer .grid {
    grid-template-columns: 1fr !important;
  }
}


/* ── BEF PYRAMID — isometric, interactive, contemporary ── */
.bef-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  margin-top: 48px;
  align-items: center;
}
@media (max-width: 1000px) {
  .bef-grid { grid-template-columns: 1fr; gap: 36px; }
}

.bef-svg-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0 12px;
}
.bef-pyramid {
  width: 100%;
  max-width: 640px;
  height: auto;
  overflow: visible;
}

/* SVG type */
.bef-pyramid .bef-num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  fill: #fff;
  paint-order: stroke;
  stroke: rgba(0,0,0,0.18);
  stroke-width: 0.5;
}
.bef-pyramid .is-apex .bef-num {
  font-size: 14px;
}
.bef-pyramid .bef-chips {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.10em;
  fill: rgba(255,255,255,0.92);
  text-transform: uppercase;
}

/* Layers: transitions for hover-dim */
.bef-pyramid .bef-layer {
  transition: opacity 280ms ease, transform 380ms cubic-bezier(.2,.8,.2,1);
  cursor: pointer;
  transform-origin: 360px center;
}
.bef-pyramid .bef-layer:hover { transform: translateY(-3px); }
.bef-pyramid .bef-link { text-decoration: none; }

/* When hover dim is active, non-active layers fade */
.bef-stack[data-active="1"] .bef-layer:not([data-layer="1"]),
.bef-stack[data-active="2"] .bef-layer:not([data-layer="2"]),
.bef-stack[data-active="3"] .bef-layer:not([data-layer="3"]),
.bef-stack[data-active="4"] .bef-layer:not([data-layer="4"]),
.bef-stack[data-active="5"] .bef-layer:not([data-layer="5"]) {
  opacity: 0.28;
}
.bef-stack[data-active="1"] .bef-layer[data-layer="1"],
.bef-stack[data-active="2"] .bef-layer[data-layer="2"],
.bef-stack[data-active="3"] .bef-layer[data-layer="3"],
.bef-stack[data-active="4"] .bef-layer[data-layer="4"],
.bef-stack[data-active="5"] .bef-layer[data-layer="5"] {
  transform: translateY(-3px) scale(1.015);
}

/* Apex glow pulse */
@keyframes bef-pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(1.08); }
}
.bef-apex-glow {
  transform-origin: 360px 92px;
  animation: bef-pulse 3.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .bef-apex-glow { animation: none; }
}

/* The Engine annotation */
.bef-engine-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: var(--ink-3);
}
.bef-engine-line {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  fill: var(--ink);
}
.bef-engine-hint {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: var(--ink-3);
}
.bef-axis {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: var(--ink-3);
}

.bef-caption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 14px;
  text-align: center;
  max-width: 44ch;
}
.bef-caption strong { color: var(--ink); font-weight: 600; }

/* Index panel — interactive layer list */
.bef-list { display: flex; flex-direction: column; gap: 0; }
.bef-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: 20px 16px 20px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
  transition: background 240ms, padding-left 240ms;
  position: relative;
}
.bef-row:last-child { border-bottom: 1px solid var(--line); }
.bef-row::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  height: calc(100% + 2px);
  width: 0;
  background: var(--c, var(--pink));
  transition: width 260ms cubic-bezier(.2,.8,.2,1);
}
.bef-row:hover::before,
.bef-row:focus-visible::before { width: 3px; }
.bef-row:hover { background: var(--bg-2); padding-left: 14px; }
.bef-row:focus-visible { outline: none; background: var(--bg-2); padding-left: 14px; }

.bef-row-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.10em;
  font-weight: 600;
  color: var(--c, var(--ink));
  text-align: center;
  padding: 7px 0;
  border: 1.5px solid var(--c, var(--ink));
  border-radius: 4px;
  background: #fff;
}
.bef-row-name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.bef-row-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 44ch;
  margin-bottom: 10px;
}
.bef-row-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.bef-row-tags span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  transition: border-color 200ms, color 200ms;
}
.bef-row:hover .bef-row-tags span {
  border-color: var(--c, var(--pink));
  color: var(--c, var(--pink));
}


/* ── INTERACTIVE — global hover polish (passes through whole site) ── */

/* Case cards: photo zoom + arrow nudge on hover */
.case-card { overflow: hidden; }
.case-card .photo { transition: transform 520ms cubic-bezier(.16,.84,.32,1); }
.case-card:hover .photo { transform: scale(1.03); }
.case-card .title { transition: color 220ms; }
.case-card:hover .title { color: var(--pink); }

/* Offer cards: subtle lift, pink border-glow on featured */
.offer { transition: transform 320ms cubic-bezier(.2,.8,.2,1), box-shadow 320ms, border-color 220ms; }
.offer:hover { border-color: var(--pink); }
.offer.featured:hover { box-shadow: 0 32px 70px -18px rgba(252, 9, 134, 0.32); }
.offer .what li { transition: padding-left 220ms; }
.offer:hover .what li { padding-left: 2px; }

/* BEF pyramid: layers brighten on row hover too */
.bef-row:hover ~ .bef-svg-wrap .bef-pyramid,
.bef-pyramid:hover ~ .bef-list { /* hover signal carries across both columns */ }

/* Toolbar / sticky header: subtle on-scroll backdrop */
.site-header { transition: backdrop-filter 200ms, background 200ms; }

/* Cards generally: arrow links nudge */
a.btn .arr,
a .arr { transition: transform 220ms; }
a:hover .arr { transform: translateX(3px); }

/* Tool cross-link cards (POL-8) hover state */
#next-tool-strip a { transition: border-color 220ms, transform 280ms; }
#next-tool-strip a:hover { border-color: var(--pink); transform: translateY(-3px); }

/* "Other cases" rotation cards on case-detail pages */
.case-other-card,
section a[style*="background:#fff; border:1px solid var(--line)"] { transition: border-color 220ms, transform 280ms; }
section a[style*="background:#fff; border:1px solid var(--line)"]:hover { border-color: var(--pink); transform: translateY(-2px); }

/* Smooth scroll behaviour everywhere */
html { scroll-behavior: smooth; }

/* Reveal-on-scroll target (motion.js wires this) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms cubic-bezier(.2,.8,.2,1), transform 600ms cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: translateY(0); }


/* ── A11Y · Skip-to-content link (A-01) ───────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--ink, #0e1722);
  color: #fff;
  padding: 12px 20px;
  z-index: 9999;
  border-radius: 0 0 6px 6px;
  font-weight: 600;
  text-decoration: none;
  transition: top 200ms;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

/* ── A11Y · Accessible gradient text for small/body sized usage (A-02) ─ */
/* Use --grad-accessible on body-sized gradient text. --grad keeps for large display headings (h1, h2, large stats) where >24px @ ratio 3:1 passes WCAG large-text AA */
:root {
  --grad-accessible: linear-gradient(115deg, #D6076E 0%, #C44318 52%, #8A5B14 100%);
}
.pain-list li .num {
  background: var(--grad-accessible);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── A11Y · Dark-section focus rings (A-06) ────────────────── */
.section-dark :focus-visible,
.final-cta :focus-visible,
.site-footer :focus-visible {
  outline-color: #fff !important;
  outline-offset: 3px;
}

/* ── PERF · Image-slot CLS guard (P-04) ────────────────────── */
image-slot { display: block; }
image-slot[aspect="4/5"]  { aspect-ratio: 4 / 5; }
image-slot[aspect="4/3"]  { aspect-ratio: 4 / 3; }
image-slot[aspect="16/9"] { aspect-ratio: 16 / 9; }
image-slot[aspect="1/1"]  { aspect-ratio: 1 / 1; }
image-slot[aspect="2/3"]  { aspect-ratio: 2 / 3; }
image-slot[aspect="3/2"]  { aspect-ratio: 3 / 2; }

/* ── PERF · Hero blur GPU reduction (P-03) ─────────────────── */
/* Replace heavy filter:blur(40px) with a softer pre-blurred radial that paints once */
.hero::before {
  filter: blur(20px) !important;
  will-change: auto;
}
@media (max-width: 720px) {
  /* On mobile, drop the blur entirely — most expensive on low-end GPUs */
  .hero::before { filter: none !important; opacity: 0.55; }
}

/* ── PERF · Header backdrop fallback (P-03) ───────────────── */
@supports not (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(255, 255, 255, 0.98) !important; }
}

/* ── R-05 · Vertical industry pills hover state ───────────── */
section[data-comment-anchor="home/verticals"] a:hover,
section[data-comment-anchor="home/verticals"] a:focus-visible {
  border-color: var(--pink) !important;
  color: var(--pink) !important;
}


/* ── MOBILE NAV — hamburger + slide-in drawer ─────────────────────── */
.mn-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  position: relative;
  z-index: 60;
}
.mn-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 240ms ease, opacity 200ms ease;
  transform-origin: center;
}
.mn-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mn-toggle.is-open span:nth-child(2) { opacity: 0; }
.mn-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .site-header nav[aria-label="Primary"] { display: none; }
  .mn-toggle { display: flex; }
}

.mn-drawer {
  position: fixed;
  inset: 0;
  background: rgba(14, 23, 34, 0.65);
  z-index: 55;
  opacity: 0;
  transition: opacity 280ms ease;
}
.mn-drawer.is-open { opacity: 1; }
.mn-drawer .mn-inner {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(100%, 360px);
  background: #fff;
  padding: 64px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.16,.84,.32,1);
}
.mn-drawer.is-open .mn-inner { transform: translateX(0); }
.mn-drawer nav { display: flex; flex-direction: column; gap: 2px; }
.mn-drawer nav a {
  display: block;
  padding: 16px 12px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 180ms, padding-left 180ms;
}
.mn-drawer nav a:hover, .mn-drawer nav a:focus-visible { color: var(--pink); padding-left: 18px; outline: none; }
.mn-drawer nav a.cta {
  margin-top: 16px;
  background: var(--grad, var(--pink));
  color: #fff;
  padding: 16px 22px;
  border-radius: 8px;
  border: 0;
  text-align: center;
  font-size: 18px;
}
.mn-drawer nav a.cta:hover { color: #fff; padding-left: 22px; }
.mn-drawer .mn-close {
  position: absolute;
  top: 14px; right: 14px;
  background: transparent;
  border: 0;
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
}
.mn-drawer .mn-close:hover { background: var(--bg-2); }
.mn-drawer .mn-footer {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
}

/* ── FLOATING SCROLL CTA ──────────────────────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--grad, var(--pink));
  color: #fff;
  padding: 14px 22px;
  border-radius: 99px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  z-index: 50;
  box-shadow: 0 14px 32px -10px rgba(252, 9, 134, 0.45);
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 280ms ease, transform 320ms cubic-bezier(.16,.84,.32,1);
  pointer-events: none;
}
.floating-cta.is-visible:not(.is-hidden-end) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -8px rgba(252, 9, 134, 0.55);
}
.floating-cta .arr { display: inline-block; margin-left: 4px; }
@media (max-width: 640px) {
  .floating-cta {
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
    padding: 16px 22px;
    border-radius: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mn-drawer .mn-inner, .floating-cta { transition: none !important; }
}


/* ── LOGO TICKER — CSS marquee, no JS ───────────────────── */
.logo-ticker {
  overflow: hidden;
  position: relative;
  padding: 24px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: logo-marquee 36s linear infinite;
  align-items: center;
}
.logo-ticker:hover .logo-ticker-track { animation-play-state: paused; }
.logo-ticker-item {
  flex: 0 0 auto;
  width: 140px;
  height: 56px;
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity 200ms, filter 200ms;
}
.logo-ticker-item:hover { opacity: 1; filter: grayscale(0); }
.logo-ticker-item image-slot {
  width: 100%;
  height: 100%;
  display: block;
}
@keyframes logo-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-ticker-track { animation: none; transform: translateX(0); }
}


/* ── BEF STAGES — 5-pill row below pyramid ───────────────── */
.bef-stages-wrap {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.bef-stages-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
  text-align: center;
}
.bef-stages {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}
.bef-stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  transition: border-color 220ms, background 220ms, transform 220ms;
}
.bef-stage-pill:hover {
  border-color: var(--pink);
  transform: translateY(-2px);
}
.bef-stage-pill .n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  background: var(--bg-2);
  color: var(--ink-3);
  padding: 4px 8px;
  border-radius: 999px;
}
.bef-stage-pill .t {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.bef-stage-pill.is-now {
  border-color: var(--pink);
  background: linear-gradient(135deg, rgba(252,9,134,0.06), rgba(242,169,59,0.04));
}
.bef-stage-pill.is-now .n { background: var(--pink); color: #fff; }
.bef-stages-hint {
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 auto;
}
.bef-stages-hint em { color: var(--pink); font-style: normal; font-weight: 600; }

@media (max-width: 640px) {
  .bef-stages { gap: 8px; }
  .bef-stage-pill { padding: 10px 16px 10px 10px; }
  .bef-stage-pill .t { font-size: 13px; }
}

/* ── BEF MOBILE FALLBACK — hide SVG, show list with coloured left-bar ── */
@media (max-width: 720px) {
  .bef-svg-wrap { display: none; }
  .bef-grid { grid-template-columns: 1fr; }
  .bef-list {
    margin-top: 8px;
  }
  .bef-list .bef-row {
    padding-left: 18px;
    border-left: 4px solid var(--c, var(--pink));
    border-right: 0;
  }
}


/* ── BEF PYRAMID v2 — horizontal bands (per design brief) ─────────────── */
.bef-pyramid {
  width: 100%;
  max-width: 720px;
  height: auto;
}
.bef-pyramid .bef-layer {
  transition: opacity 280ms ease, transform 380ms cubic-bezier(.2,.8,.2,1), filter 280ms;
  cursor: pointer;
  transform-origin: 360px center;
}
.bef-pyramid .bef-layer polygon {
  transition: filter 280ms;
}
.bef-pyramid .bef-layer:hover { transform: translateY(-2px); }
.bef-pyramid .bef-layer:hover polygon { filter: brightness(1.08) saturate(1.05); }

.bef-pyramid .bef-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  fill: rgba(255,255,255,0.75);
  text-transform: uppercase;
}
.bef-pyramid .bef-name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  fill: #fff;
}
.bef-pyramid .is-apex .bef-name {
  font-size: 17px;
}
.bef-pyramid .bef-sub {
  font-family: var(--sans);
  font-size: 12px;
  fill: rgba(255,255,255,0.85);
}
.bef-pyramid .is-apex .bef-sub {
  font-size: 11px;
}

/* Tooltip: fixed-position, slides in on hover */
.bef-tooltip {
  position: fixed;
  z-index: 60;
  width: 280px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--pink);
  border-radius: 4px;
  box-shadow: 0 20px 48px -16px rgba(14,23,34,0.18);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) translateX(-8px);
  transition: opacity 200ms, transform 240ms;
}
.bef-tooltip.is-visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.bef-tooltip-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 4px;
}
.bef-tooltip-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.bef-tooltip-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.bef-tooltip-cta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

/* Hide tooltip on touch / small screens */
@media (max-width: 720px) {
  .bef-tooltip { display: none !important; }
}
@media (hover: none) {
  .bef-tooltip { display: none !important; }
}
