/* ============================================================
   Bespoke Wealth Advisory — page-level styles
   Builds on /assets/colors_and_type.css
   Apple-style editorial + AMBIZ brand discipline
============================================================ */

html, body { margin: 0; padding: 0; }
body {
  background: var(--pure-white);
  color: var(--ambiz-text);
  font-family: var(--font-sans);
  overflow-x: hidden;
}
* { box-sizing: border-box; }

/* ---------- shared ---------- */
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 96px 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap--wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.wrap--narrow { max-width: 980px; margin: 0 auto; padding: 0 32px; }

.eyebrow-strong {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ambiz-accent-1);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow-strong::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--ambiz-accent-1);
}

.headline-xl {
  font-size: clamp(40px, 5.6vw, 84px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ambiz-text);
}
.headline-lg {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.headline-md {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ambiz-text-dim);
  max-width: 640px;
  margin: 0;
}
.text-grad {
  background: var(--ambiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- nav ---------- */
.nav-shell {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 48px);
  max-width: 1280px;
  pointer-events: none;
}
.nav-bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 22px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(15,23,42,0.10);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.nav-logo { display:flex; align-items:center; gap:10px; }
.nav-logo img { height: 26px; }
.nav-pill { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: var(--ambiz-accent-1); padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, rgba(13,144,58,0.08), rgba(26,84,159,0.08)); border:1px solid rgba(13,144,58,0.18); }
.nav-links { display:flex; gap: 4px; }
.nav-link {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ambiz-text);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.nav-link:hover { background: rgba(0,0,0,0.04); }
.nav-cta {
  display: inline-flex; align-items:center; gap: 6px;
  padding: 9px 18px;
  font-size: 13px; font-weight: 600;
  color: #fff;
  background: var(--ambiz-gradient-button);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(13,144,58,0.25);
}

/* ---------- hero card float animations ---------- */
/* Each card gets its own keyframe with unique amplitude + phase so they
   never move in sync — organic zero-gravity drift. */
@keyframes heroFloat1 {
  0%   { transform: rotate(-3deg) translate(0px, 0px); }
  25%  { transform: rotate(-1.8deg) translate(4px, -14px); }
  55%  { transform: rotate(-3.4deg) translate(-3px, -22px); }
  80%  { transform: rotate(-2.2deg) translate(2px, -10px); }
  100% { transform: rotate(-3deg) translate(0px, 0px); }
}
@keyframes heroFloat2 {
  0%   { transform: rotate(2deg) translate(0px, 0px); }
  30%  { transform: rotate(3.2deg) translate(-5px, -18px); }
  60%  { transform: rotate(1.4deg) translate(3px, -9px); }
  85%  { transform: rotate(2.8deg) translate(-2px, -24px); }
  100% { transform: rotate(2deg) translate(0px, 0px); }
}
@keyframes heroFloat3 {
  0%   { transform: rotate(4deg) translate(0px, 0px); }
  35%  { transform: rotate(2.8deg) translate(3px, -16px); }
  65%  { transform: rotate(4.6deg) translate(-4px, -8px); }
  88%  { transform: rotate(3.4deg) translate(2px, -20px); }
  100% { transform: rotate(4deg) translate(0px, 0px); }
}
@keyframes heroFloat4 {
  0%   { transform: rotate(-1deg) translate(0px, 0px); }
  40%  { transform: rotate(-2deg) translate(-3px, -12px); }
  70%  { transform: rotate(-0.4deg) translate(4px, -20px); }
  90%  { transform: rotate(-1.6deg) translate(-1px, -7px); }
  100% { transform: rotate(-1deg) translate(0px, 0px); }
}
/* Subtle scale pulse on the big "78%" number to feel "live" */
@keyframes heroStatPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.82; }
}

/* ---------- hero ---------- */
.hero { padding: 200px 0 80px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-pill {
  display: inline-flex; align-items:center; gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(13,144,58,0.06);
  color: var(--ambiz-accent-1);
  border: 1px solid rgba(13,144,58,0.18);
  margin-bottom: 28px;
}
.hero-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ambiz-accent-1); box-shadow: 0 0 0 3px rgba(13,144,58,0.18); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(13,144,58,0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(13,144,58,0.05); }
}
.hero-sub { max-width: 520px; margin-top: 32px; }
.hero-ctas { display:flex; gap: 14px; margin-top: 40px; align-items:center; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.08);
  max-width: 600px;
}
.hero-meta-num { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.hero-meta-lbl { font-size: 12px; color: var(--ambiz-text-dim); letter-spacing: 0.04em; margin-top: 4px; }

/* hero background */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: #ffffff;
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: url('/programs/bespoke-wealth-advisory/assets/wealth_advisor_conversation.png') no-repeat center/cover;
  opacity: 0.38;
  filter: blur(20px);
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to bottom, black 25%, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, black 25%, transparent 90%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(109, 40, 217, 0.22), transparent 60%),
    radial-gradient(circle at 20% 40%, rgba(76, 29, 149, 0.15), transparent 70%),
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.4), transparent 50%);
}

/* Ensure wrap stays above bg */
.hero .wrap {
  position: relative;
  z-index: 2;
}

/* ---------- buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--ambiz-gradient-button);
  color: #fff;
  border-radius: 999px;
  font-weight: 600; font-size: 14px;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 6px 20px rgba(13,144,58,0.30);
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(13,144,58,0.36); }
.btn-ghost {
  display: inline-flex; align-items:center; gap: 8px;
  padding: 14px 24px;
  background: transparent;
  color: var(--ambiz-text);
  border-radius: 999px;
  font-weight: 600; font-size: 14px;
  text-decoration: none; border: 1px solid rgba(0,0,0,0.12); cursor: pointer;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.btn-ghost:hover { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.22); }

/* ---------- market pressure (bento) ---------- */
.pressure-section { position: relative; }
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}

/* AUM card — vibrant orbs + sparkline */
.bento-aum-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}
.bento-aum-orb--a {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(15,232,114,0.55), transparent 70%);
  top: -120px; right: -80px;
  animation: orbDrift 18s ease-in-out infinite;
}
.bento-aum-orb--b {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,186,0,0.42), transparent 70%);
  bottom: -80px; right: 30%;
  animation: orbDrift 22s ease-in-out infinite reverse;
}
.bento-aum-orb--c {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(126,196,255,0.45), transparent 70%);
  top: 30%; left: -60px;
  animation: orbDrift 26s ease-in-out infinite;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0,0); }
  50%      { transform: translate(20px,-30px); }
}
.bento-live-dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--y-500);
  margin-right: 8px;
  box-shadow: 0 0 0 3px rgba(255,186,0,0.20);
  animation: pulse 2.4s infinite;
  vertical-align: middle;
}
.bento-live-dot--green { background: #0FE872; box-shadow: 0 0 0 3px rgba(15,232,114,0.25); }
.bento-aum-spark {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: flex-end;
  gap: 4px;
  height: 80px;
  position: relative;
}
.bento-spark-bar {
  flex: 1;
  background: linear-gradient(180deg, rgba(15,232,114,0.95), rgba(255,186,0,0.4));
  border-radius: 3px 3px 0 0;
  min-height: 8px;
  animation: barRise 1.6s var(--ease-out) backwards;
}
.bento-spark-bar:nth-child(1)  { animation-delay: 0.00s; }
.bento-spark-bar:nth-child(2)  { animation-delay: 0.05s; }
.bento-spark-bar:nth-child(3)  { animation-delay: 0.10s; }
.bento-spark-bar:nth-child(4)  { animation-delay: 0.15s; }
.bento-spark-bar:nth-child(5)  { animation-delay: 0.20s; }
.bento-spark-bar:nth-child(6)  { animation-delay: 0.25s; }
.bento-spark-bar:nth-child(7)  { animation-delay: 0.30s; }
.bento-spark-bar:nth-child(8)  { animation-delay: 0.35s; }
.bento-spark-bar:nth-child(9)  { animation-delay: 0.40s; }
.bento-spark-bar:nth-child(10) { animation-delay: 0.45s; }
.bento-spark-bar:nth-child(11) { animation-delay: 0.50s; }
.bento-spark-bar:nth-child(12) { animation-delay: 0.55s; }
.bento-spark-bar:nth-child(13) { animation-delay: 0.60s; }
.bento-spark-bar:nth-child(14) { animation-delay: 0.65s; }
.bento-spark-bar:nth-child(15) { animation-delay: 0.70s; }
.bento-spark-bar:nth-child(16) { animation-delay: 0.75s; }
@keyframes barRise { from { transform: scaleY(0); transform-origin: bottom; } to { transform: scaleY(1); } }
.bento-spark-meta {
  position: absolute;
  top: -4px; right: 0;
  display: flex; gap: 14px;
  font-size: 11px; color: rgba(255,255,255,0.85);
  font-weight: 600;
}

/* Photo card */
.bento-card--photo {
  background: #0a1424;
  overflow: hidden;
  position: relative;
}
.bento-card--photo image-slot {
  border-radius: 22px;
  --slot-background: linear-gradient(135deg, #1A549F 0%, #0D903A 100%);
}
.bento-photo-tint {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.10) 50%, rgba(7,52,80,0.85) 100%);
  pointer-events: none;
  border-radius: 22px;
}
.bento-photo-grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 4px 4px, 7px 7px;
  background-position: 0 0, 2px 2px;
  mix-blend-mode: overlay;
  pointer-events: none;
  border-radius: 22px;
}
.bento-photo-content {
  position: absolute;
  inset: auto 28px 26px 28px;
  color: #fff;
  z-index: 3;
  pointer-events: none;
}
.bento-photo-chip {
  display: inline-flex; align-items: center;
  padding: 5px 10px 5px 8px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.bento-photo-headline {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-bottom: 10px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}
.bento-photo-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  max-width: 360px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}
.bento-photo-corner {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  z-index: 4;
  transform: rotate(90deg);
}

/* Vibrant small stat cards */
.bento-card--vibrant { overflow: hidden; position: relative; }
.bento-vib-mesh {
  position: absolute; inset: 0;
  opacity: 0.6;
  pointer-events: none;
}
.bento-card--green .bento-vib-mesh {
  background:
    radial-gradient(circle at 90% 100%, rgba(15,232,114,0.35), transparent 55%),
    radial-gradient(circle at 0% 0%, rgba(15,232,114,0.18), transparent 50%);
}
.bento-card--green {
  background: linear-gradient(135deg, #ecfdf5 0%, #d9f3e2 100%);
  border-color: rgba(13,144,58,0.18);
}
.bento-card--blue .bento-vib-mesh {
  background:
    radial-gradient(circle at 90% 100%, rgba(126,196,255,0.45), transparent 55%),
    radial-gradient(circle at 0% 0%, rgba(35,107,178,0.20), transparent 50%);
}
.bento-card--blue {
  background: linear-gradient(135deg, #eff5ff 0%, #d8e4f5 100%);
  border-color: rgba(26,84,159,0.18);
}
.bento-card--yellow .bento-vib-mesh {
  background:
    radial-gradient(circle at 90% 100%, rgba(255,186,0,0.55), transparent 55%),
    radial-gradient(circle at 0% 0%, rgba(255,222,128,0.4), transparent 50%);
}
.bento-card--yellow {
  background: linear-gradient(135deg, #fff8e1 0%, #ffe9a8 100%);
  border-color: rgba(255,186,0,0.30);
}
.bento-vib-mesh--dark {
  background:
    radial-gradient(circle at 100% 100%, rgba(255,186,0,0.18), transparent 60%),
    radial-gradient(circle at 0% 0%, rgba(255,186,0,0.06), transparent 50%);
}
.bento-stat-trend {
  font-size: 0.34em;
  color: #0FE872;
  margin-left: 8px;
  vertical-align: middle;
}
.bento-card {
  background: var(--pure-white);
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 22px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.bento-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(15,23,42,0.08); }
.bento-card--dark { background: #0b1a30; color: #fff; border-color: rgba(255,255,255,0.06); }
.bento-card--cream { background: var(--cream); }
.bento-card--grad {
  background: linear-gradient(135deg, #0b3d20 0%, #0a2a4e 100%);
  color: #fff;
}
.bento-stat { font-size: clamp(40px, 5vw, 72px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.bento-stat .unit { font-size: 0.45em; font-weight: 600; opacity: 0.7; margin-left: 4px; }
.bento-label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.65; margin-bottom: 10px; }
.bento-title { font-size: 18px; font-weight: 600; margin: 12px 0 6px; line-height: 1.25; }
.bento-body { font-size: 14px; font-weight: 400; line-height: 1.5; opacity: 0.78; max-width: 380px; }

/* ---------- pillars ---------- */
/* ============ Section 03 — Diagonal Slabs ============ */
.os-section {
  position: relative;
  background: #050a14;
  color: #fff;
  padding: 140px 0 100px;
  overflow: hidden;
}
.os-section .eyebrow-strong { color: var(--y-500); }
.os-section .eyebrow-strong::before { background: var(--y-500); }
.os-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(13,144,58,0.30), transparent 50%),
    radial-gradient(ellipse at 88% 100%, rgba(26,84,159,0.30), transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.os-slabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin-top: 80px;
  height: 640px;
  position: relative;
  z-index: 2;
}
.os-slab {
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: flex-grow 600ms var(--ease-out);
}
/* Diagonal clipping — each slab cuts at a slant */
.os-slab--ladder {
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  z-index: 4;
}
.os-slab--standard {
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  margin-left: -7%;
  z-index: 3;
}
.os-slab--scale {
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  margin-left: -7%;
  z-index: 2;
}
.os-slab-image {
  position: absolute; inset: 0;
}
.os-slab-image image-slot {
  --slot-background: linear-gradient(135deg, #0c2e1f 0%, #06112a 100%);
}
.os-slab-tint {
  position: absolute; inset: 0;
  pointer-events: none;
  mix-blend-mode: normal;
}
.os-slab-grain {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 6px),
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 6px 100%, 4px 4px;
  pointer-events: none;
  opacity: 0.4;
}


.os-slab-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 36px 36px;
  z-index: 4;
  color: #fff;
  /* offset content inward from the clip edges so text doesn't get cut */
}
.os-slab--ladder    .os-slab-content { padding-left: 42px; padding-right: 90px; }
.os-slab--standard  .os-slab-content { padding-left: 80px; padding-right: 80px; }
.os-slab--scale     .os-slab-content { padding-left: 80px; padding-right: 32px; }

.os-slab-num {
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
}
.os-slab-num::before {
  content: '';
  width: 28px; height: 1px;
  background: currentColor;
}
.os-slab-title {
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.os-slab-body {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
  max-width: 380px;
  margin: 0 0 18px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* Mini ladder rungs visualisation (pillar 01) */
.os-slab-rungs {
  display: flex; gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
  max-width: 380px;
}
.os-slab-rung {
  flex: 1 0 calc(50% - 6px);
  min-width: 100px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  display: flex; gap: 8px; align-items: center;
  font-size: 11px;
  position: relative;
  overflow: hidden;
}
.os-slab-rung::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: calc((var(--i) + 1) * 0.12);
  pointer-events: none;
}
.os-slab-rung-num {
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--accent);
  position: relative; z-index: 1;
}
.os-slab-rung-name { color: #fff; font-weight: 600; position: relative; z-index: 1; }

/* Rubric bars (pillar 02) */
.os-slab-rubric {
  display: flex; flex-direction: column; gap: 7px;
  max-width: 380px;
}
.os-slab-rubric-row {
  display: grid;
  grid-template-columns: 32px 80px 1fr;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  font-size: 11px;
  backdrop-filter: blur(8px);
}
.os-slab-rubric-lvl {
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.os-slab-rubric-txt { color: #fff; font-weight: 600; }
.os-slab-rubric-bar {
  height: 5px; background: rgba(255,255,255,0.18);
  border-radius: 999px; overflow: hidden;
  display: block;
}
.os-slab-rubric-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), rgba(255,255,255,0.4));
  border-radius: 999px;
}

/* Ops grid (pillar 03) */
.os-slab-ops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: 360px;
}
.os-slab-op {
  padding: 8px 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 8px;
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  backdrop-filter: blur(6px);
}
.os-slab-op-glyph {
  color: var(--accent);
  font-size: 14px;
  line-height: 1;
}
.os-slab-op-name { color: #fff; font-weight: 600; }

/* Synthesis line */
.os-synthesis {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
}
.os-synthesis span {
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  font-weight: 600;
}
.os-synthesis strong {
  color: #fff;
  font-weight: 700;
}

/* ---------- pillars (legacy — kept for fallback) ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.pillar-card {
  background: var(--pure-white);
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 28px;
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base), border-color var(--dur-base);
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(15,23,42,0.10); border-color: rgba(13,144,58,0.18); }
.pillar-num {
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ambiz-text-dim);
  margin-bottom: 32px;
  display: flex; align-items: center; gap: 10px;
}
.pillar-num span { width: 24px; height: 1px; background: var(--ambiz-text-dim); }
.pillar-title { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 14px; }
.pillar-body { font-size: 15px; color: var(--ambiz-text-dim); line-height: 1.55; }
.pillar-icon-box {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(13,144,58,0.08), rgba(26,84,159,0.08));
  border: 1px solid rgba(13,144,58,0.14);
}

/* ---------- section header ---------- */
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Ladder (the wow piece) ---------- */
.ladder-section {
  background: #050a14;
  color: #fff;
  padding: 140px 0 160px;
  position: relative;
  overflow: hidden;
}
.ladder-section .eyebrow-strong { color: var(--y-500); }
.ladder-section .eyebrow-strong::before { background: var(--y-500); }
.ladder-section .lede { color: rgba(255,255,255,0.65); }
.ladder-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%);
  pointer-events: none;
}
.ladder-bg-glow {
  position: absolute;
  top: 30%; left: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(13,144,58,0.25), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.ladder-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
  margin-top: 80px;
  min-height: 680px;
}

/* 3D stage */
.ladder-stage {
  perspective: 1600px;
  perspective-origin: 50% 30%;
  height: 680px;
  position: relative;
}
.ladder-3d {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-28deg);
}
.rung {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 460px;
  height: 110px;
  margin-left: -230px;
  transform-style: preserve-3d;
  transition: transform 800ms var(--ease-out), filter 600ms;
  cursor: pointer;
}
.rung-plate {
  position: absolute; inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.50),
    inset 0 1px 0 rgba(255,255,255,0.12);
  transition: background var(--dur-base), border-color var(--dur-base);
  overflow: hidden;
}
.rung-plate::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.35;
}
.rung-content {
  position: absolute; inset: 0;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateZ(2px);
}
.rung-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 6px;
}
.rung-title { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.rung-num {
  font-family: var(--font-condensed);
  font-size: 60px; font-weight: 800;
  line-height: 1; opacity: 0.18;
  letter-spacing: -0.04em;
}
.rung:hover .rung-plate, .rung--active .rung-plate {
  background: linear-gradient(135deg, rgba(13,144,58,0.20), rgba(26,84,159,0.18));
  border-color: rgba(13,144,58,0.45);
  box-shadow:
    0 40px 80px rgba(13,144,58,0.30),
    inset 0 1px 0 rgba(255,255,255,0.20);
}
.rung--active .rung-num { opacity: 0.45; color: var(--y-400); }

/* Right side: meter + detail */
.ladder-side {
  position: relative;
  height: 680px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ladder-meter {
  position: absolute; top: 0; left: 0;
  width: 6px; height: 100%;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: visible;
}
.ladder-meter-fill {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, var(--y-500), var(--ambiz-accent-1));
  border-radius: 999px;
  transition: height 700ms var(--ease-out);
  box-shadow: 0 0 24px rgba(255,186,0,0.5);
}
.ladder-meter-marker {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--y-400);
  box-shadow: 0 0 0 4px rgba(255,186,0,0.20), 0 0 28px rgba(255,186,0,0.7);
  transition: bottom 700ms var(--ease-out);
}
.ladder-meter-labels {
  position: absolute; top: 0; left: 26px; right: 0;
  height: 100%;
  display: flex; flex-direction: column-reverse; justify-content: space-between;
  pointer-events: none;
}
.ladder-meter-tick {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.40);
}
.ladder-detail {
  margin-left: 64px;
  padding: 32px;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  flex: 1;
  display: flex; flex-direction: column;
  backdrop-filter: blur(8px);
}
.ladder-detail-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--y-400);
  margin-bottom: 12px;
}
.ladder-detail-title { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px; }
.ladder-detail-body { font-size: 15px; color: rgba(255,255,255,0.72); line-height: 1.6; flex: 1; }
.ladder-detail-meta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: grid; 
  grid-template-columns: 1fr 1.4fr; 
  gap: 24px;
}
.ladder-detail-meta-lbl { 
  font-size: 10px; 
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45); 
  letter-spacing: 0.12em; 
  margin-bottom: 8px; 
}
.ladder-detail-meta-num { 
  font-size: 20px; 
  font-weight: 700; 
  line-height: 1.2; 
}


/* ============ Section 05 — Capability Rich Map ============ */
.caprich-section {
  position: relative;
  padding: 140px 0 100px;
  background:
    radial-gradient(ellipse at 50% 50%, #0e3a36 0%, #061b27 55%, #050b16 100%);
  color: #fff;
  overflow: hidden;
}
.caprich-section .eyebrow-strong { color: var(--y-500); }
.caprich-section .eyebrow-strong::before { background: var(--y-500); }
.caprich-bg-aurora {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 100%, rgba(13,144,58,0.30), transparent 40%),
    radial-gradient(circle at 90% 0%,   rgba(35,107,178,0.30), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(255,186,0,0.10), transparent 35%);
  pointer-events: none;
  z-index: 1;
}
.caprich-stage {
  position: relative;
  width: min(1180px, 96vw);
  margin: 56px auto 0;
  aspect-ratio: 1 / 1;
  z-index: 2;
}
.caprich-bg-image {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.50;
  z-index: 1;
}
.caprich-bg-image image-slot {
  --slot-background: radial-gradient(circle, #0c2a3a 0%, #061726 100%);
}
.caprich-bg-tint {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 30%, rgba(6,23,38,0.6) 70%, rgba(6,23,38,0.9) 100%),
    linear-gradient(135deg, rgba(13,144,58,0.35), rgba(35,107,178,0.35));
  pointer-events: none;
  z-index: 2;
}
.caprich-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 3;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.45));
}
.caprich-wedge path {
  transition: filter 320ms var(--ease-out), transform 320ms var(--ease-out);
  transform-origin: 50% 50%;
}
.caprich-wedge:hover path {
  filter: brightness(1.18) drop-shadow(0 0 30px var(--accent, #fff));
}

/* ---------- Living Constellation animations ----------
   Wedges glow in sequence (lighthouse sweep), skill dots twinkle
   independently like stars, center hub gently breathes. */
@keyframes capWedgeSweep {
  0%, 88%, 100% { filter: brightness(1) drop-shadow(0 0 0 transparent); }
  6%, 14%       { filter: brightness(1.22) drop-shadow(0 0 24px var(--accent, rgba(255,255,255,0.5))); }
}
.caprich-wedge .caprich-wedge-path {
  animation: capWedgeSweep 16s ease-in-out infinite;
  animation-delay: var(--wedge-delay, 0s);
  will-change: filter;
}

@keyframes capDotTwinkle {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.45); }
}
.caprich-skill-dot {
  animation: capDotTwinkle 4.2s ease-in-out infinite;
  will-change: opacity, transform;
}

@keyframes capCoreBreathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.018); }
}
@keyframes capCoreHaloPulse {
  0%, 100% { opacity: 0.4; r: 118; }
  50%      { opacity: 0.85; r: 126; }
}
.caprich-core-group {
  animation: capCoreBreathe 6s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
  will-change: transform;
}
.caprich-core-halo {
  animation: capCoreHaloPulse 6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .caprich-wedge .caprich-wedge-path,
  .caprich-skill-dot,
  .caprich-core-group,
  .caprich-core-halo { animation: none !important; }
}

/* skill labels positioned on the outer ring */
.caprich-skill {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 110px;
  max-width: 16vw;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255,255,255,0.94);
  text-shadow: 0 1px 6px rgba(0,0,0,0.65);
  z-index: 4;
  pointer-events: none;
}
.caprich-skill[data-side="right"] {
  flex-direction: row-reverse;
  text-align: right;
}
.caprich-skill[data-side="right"] .caprich-skill-text { text-align: right; }
.caprich-skill-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px currentColor;
}
.caprich-skill-text { flex: 1; }

/* Legend strip */
.caprich-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  backdrop-filter: blur(12px);
}
.caprich-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  font-size: 12px;
}
.caprich-legend-dot {
  width: 10px; height: 10px;
  border-radius: 2px;
  box-shadow: 0 0 8px currentColor;
  flex-shrink: 0;
}
.caprich-legend-num {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
}
.caprich-legend-name {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.caprich-legend-count {
  margin-left: auto;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  font-weight: 600;
}

@media (max-width: 980px) {
  .caprich-stage { width: 96vw; }
  .caprich-skill {
    width: 110px;
    font-size: 10px;
  }
  .caprich-legend { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Capability Wheel (legacy click version, kept for fallback) ---------- */
.wheel-section { padding: 140px 0; background: var(--cream); }
.wheel-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 64px;
}
.wheel-svg-wrap { position: relative; }
.wheel-svg { width: 100%; height: auto; display: block; }
.wheel-sector {
  cursor: pointer;
  transition: opacity 300ms;
}
.wheel-sector path {
  transition: transform 400ms var(--ease-out), filter 300ms, fill 300ms;
  transform-origin: 50% 50%;
}
.wheel-sector:hover path,
.wheel-sector--active path {
  filter: drop-shadow(0 14px 28px rgba(13,144,58,0.25));
  transform: scale(1.04);
}
.wheel-sector:not(.wheel-sector--active):not(:hover) path { opacity: 0.94; }
.wheel-detail {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 14px 40px rgba(15,23,42,0.06);
}
.wheel-detail-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(13,144,58,0.08);
  color: var(--ambiz-accent-1);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.wheel-detail-title { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 14px; }
.wheel-detail-body { font-size: 15px; color: var(--ambiz-text-dim); line-height: 1.6; margin-bottom: 24px; }
.wheel-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.wheel-skill-chip {
  font-size: 12px;
  padding: 7px 13px;
  background: rgba(15,23,42,0.04);
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 999px;
  color: var(--ambiz-text);
  font-weight: 500;
}

/* ---------- Matrix ---------- */
/* Dark-to-light gradient cap at top bridges from dark CapabilityWheel above. */
.matrix-section {
  background: linear-gradient(180deg, #050b16 0%, #0d141f 40px, #f7f8fa 120px);
  padding: 140px 0;
  position: relative;
}
.matrix-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  margin-top: 56px;
  align-items: stretch;
}
.matrix-grid-wrap {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 24px;
  padding: 28px;
  overflow: hidden;
}
.matrix-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.matrix-filter-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ambiz-text-dim);
  margin-right: 8px;
}
.matrix-chip {
  font-size: 12px;
  padding: 7px 13px;
  background: rgba(15,23,42,0.04);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ambiz-text);
  cursor: pointer;
  font-weight: 500;
  transition: all var(--dur-fast);
}
.matrix-chip:hover { background: rgba(15,23,42,0.08); }
.matrix-chip--active {
  background: var(--ambiz-gradient-button);
  color: #fff;
}
.matrix-grid {
  display: grid;
  grid-template-columns: 180px repeat(7, 1fr);
  gap: 4px;
  font-size: 12px;
}
.matrix-cell {
  position: relative;
  aspect-ratio: 1.1 / 1;
  border-radius: 10px;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
  font-weight: 600;
  font-size: 11px;
}
.matrix-cell--filled {
  background: linear-gradient(135deg, rgba(13,144,58,0.12), rgba(26,84,159,0.12));
  border: 1px solid rgba(13,144,58,0.20);
  color: var(--ambiz-accent-1);
}
.matrix-cell--filled:hover, .matrix-cell--active {
  transform: scale(1.04);
  background: var(--ambiz-gradient-button);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(13,144,58,0.25);
  z-index: 2;
}
.matrix-cell--empty {
  background: rgba(15,23,42,0.02);
  border: 1px solid rgba(15,23,42,0.04);
  color: rgba(15,23,42,0.18);
}
.matrix-cell--dim { opacity: 0.25; pointer-events: none; }
.matrix-row-label {
  display: flex; align-items: center;
  font-size: 13px; font-weight: 600;
  color: var(--ambiz-text);
  padding-right: 12px;
  line-height: 1.2;
}
.matrix-col-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ambiz-text-dim);
  text-align: center;
  padding-bottom: 6px;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 60px;
  line-height: 1.15;
}
.matrix-detail {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 24px;
  padding: 28px;
  position: sticky;
  top: 100px;
  align-self: start;
  min-height: 420px;
}
.matrix-detail-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(26,84,159,0.08);
  color: var(--ambiz-blue);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.matrix-detail-x {
  font-size: 11px;
  font-weight: 600;
  color: var(--ambiz-text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.matrix-detail-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.matrix-detail-sub {
  font-size: 13px;
  color: var(--ambiz-text-dim);
  margin-bottom: 18px;
}
.matrix-detail-body {
  font-size: 14px;
  color: var(--ambiz-text);
  line-height: 1.55;
  background: var(--cream);
  border: 1px solid rgba(13,144,58,0.10);
  border-radius: 14px;
  padding: 16px 18px;
}
.matrix-detail-hint {
  font-size: 12px;
  color: var(--ambiz-text-dim);
  margin-top: 16px;
  display: flex; align-items: center; gap: 8px;
}

/* ---------- Timeline ---------- */
.timeline-section { padding: 140px 0; background: #fff; }
.timeline-track {
  position: relative;
  margin-top: 80px;
  padding: 60px 0 40px;
}
.timeline-bar {
  position: relative;
  height: 8px;
  background: rgba(15,23,42,0.06);
  border-radius: 999px;
  overflow: hidden;
}
.timeline-bar-fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ambiz-green-highlight) 0%, var(--ambiz-blue-deep) 100%);
  border-radius: 999px;
}
.timeline-bar-front {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 28%;
  background: linear-gradient(90deg, var(--ambiz-green-highlight), rgba(13,144,58,0.6));
  border-radius: 999px 0 0 999px;
  z-index: 2;
}
.timeline-bar-back {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 56%;
  background: linear-gradient(90deg, rgba(26,84,159,0.6), var(--ambiz-blue-deep));
  border-radius: 0 999px 999px 0;
  z-index: 2;
}
.timeline-stops {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 28px;
}
.timeline-stop {
  position: relative;
  text-align: center;
  padding: 0 8px;
}
.timeline-stop::before {
  content: '';
  position: absolute;
  top: -42px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ambiz-accent-1);
  box-shadow: 0 0 0 4px rgba(13,144,58,0.10);
}
.timeline-stop-rung {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ambiz-text-dim);
  margin-bottom: 4px;
}
.timeline-stop-dur {
  font-size: 15px; font-weight: 700;
  color: var(--ambiz-text);
}
.timeline-zones {
  display: grid; grid-template-columns: 28% 16% 56%; gap: 0;
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.timeline-zone {
  padding: 0 24px;
  border-left: 1px solid rgba(0,0,0,0.06);
}
.timeline-zone:first-child { padding-left: 0; border-left: none; }
.timeline-zone-tag {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 8px;
}
.timeline-zone--front .timeline-zone-tag { color: var(--ambiz-accent-1); }
.timeline-zone--mid .timeline-zone-tag   { color: var(--ambiz-text-dim); }
.timeline-zone--back .timeline-zone-tag  { color: var(--ambiz-blue); }
.timeline-zone-title { font-size: 22px; font-weight: 700; line-height: 1.15; margin-bottom: 8px; letter-spacing: -0.01em; }
.timeline-zone-body { font-size: 13px; color: var(--ambiz-text-dim); line-height: 1.5; }

/* ---------- Dashboard ---------- */
.dashboard-section {
  background: linear-gradient(180deg, #0c1424 0%, #050a14 100%);
  color: #fff;
  padding: 140px 0 160px;
  position: relative;
  overflow: hidden;
}
.dashboard-section .lede { color: rgba(255,255,255,0.65); }
.dashboard-section .eyebrow-strong { color: var(--ambiz-green-highlight); }
.dashboard-section .eyebrow-strong::before { background: var(--ambiz-green-highlight); }
.dashboard-frame {
  margin: 72px auto 0;
  max-width: 1040px;
  background: #000;
  border: 2px solid #333;
  border-radius: 20px 20px 0 0;
  padding: 18px 18px 24px;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.dashboard-frame::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111;
  box-shadow: inset 0 0 2px rgba(255,255,255,0.2);
}
.dashboard-window {
  background: linear-gradient(180deg, #fafbfc, #f3f5f8);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.macbook-base {
  position: absolute;
  bottom: -24px;
  left: -4%;
  width: 108%;
  height: 24px;
  background: linear-gradient(to bottom, #d2d6db, #b0b8c1);
  border-radius: 0 0 24px 24px;
  border-bottom: 2px solid #8e9ba6;
  z-index: 2;
  box-shadow: 0 15px 30px rgba(0,0,0,0.4), inset 0 2px 0 rgba(255,255,255,0.4);
}
.macbook-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 8px;
  background: #a1abb3;
  border-radius: 0 0 8px 8px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}
.dashboard-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(15,23,42,0.06);
  background: #fff;
}
.dashboard-dot { width: 11px; height: 11px; border-radius: 50%; }
.dashboard-url {
  margin-left: 14px;
  font-size: 12px;
  color: var(--ambiz-text-dim);
  padding: 5px 14px;
  background: rgba(15,23,42,0.04);
  border-radius: 999px;
  display: flex; align-items: center; gap: 8px;
}
.dashboard-body { display: grid; grid-template-columns: 220px 1fr; min-height: 700px; }
.dash-side {
  background: #f6f8fb;
  border-right: 1px solid rgba(15,23,42,0.06);
  padding: 20px 14px;
  color: var(--ambiz-text);
}
.dash-side-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 0 8px 18px;
  border-bottom: 1px solid rgba(15,23,42,0.06);
  margin-bottom: 12px;
}
.dash-side-logo img { height: 22px; }
.dash-side-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ambiz-text-dim);
  padding: 14px 10px 8px;
}
.dash-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ambiz-text);
  cursor: pointer;
}
.dash-nav-item:hover { background: rgba(15,23,42,0.04); }
.dash-nav-item--active {
  background: linear-gradient(135deg, rgba(13,144,58,0.10), rgba(26,84,159,0.10));
  color: var(--ambiz-accent-1);
  font-weight: 600;
}
.dash-nav-icon {
  width: 18px; height: 18px;
  display: grid; place-items: center;
  color: currentColor;
}
.dash-main {
  padding: 24px 28px;
  overflow: hidden;
  color: var(--ambiz-text);
}
.dash-top {
  display: flex;
  align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.dash-top-title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.dash-top-sub { font-size: 12px; color: var(--ambiz-text-dim); margin-top: 2px; }
.dash-top-actions { display: flex; gap: 10px; align-items: center; }
.dash-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15,23,42,0.05);
  color: var(--ambiz-text);
  border: 1px solid rgba(15,23,42,0.06);
}
.dash-cta {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  background: var(--ambiz-gradient-button);
  color: #fff;
  border-radius: 8px;
}
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.dash-kpi {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.05);
  border-radius: 12px;
  padding: 14px 16px;
}
.dash-kpi-lbl { font-size: 11px; color: var(--ambiz-text-dim); font-weight: 600; letter-spacing: 0.04em; }
.dash-kpi-num { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; line-height: 1; }
.dash-kpi-delta { font-size: 11px; font-weight: 700; margin-top: 6px; display: inline-flex; gap: 4px; align-items: center; }
.dash-kpi-delta.up { color: var(--ok-text); }
.dash-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}
.dash-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.05);
  border-radius: 12px;
  padding: 16px 18px;
}
.dash-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.dash-card-title { font-size: 13px; font-weight: 700; }
.dash-card-sub { font-size: 11px; color: var(--ambiz-text-dim); }
.dash-readiness {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
  margin: 12px 0 4px;
}
.dash-readiness-cell {
  text-align: center;
}
.dash-readiness-ring {
  width: 40px; height: 40px;
  margin: 0 auto 6px;
  position: relative;
}
.dash-readiness-pct { font-size: 11px; font-weight: 700; }
.dash-readiness-lbl { font-size: 9px; color: var(--ambiz-text-dim); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.dash-leaderboard {
  display: flex; flex-direction: column; gap: 8px;
}
.dash-lb-row {
  display: grid;
  grid-template-columns: 24px 1fr auto auto;
  gap: 10px; align-items: center;
  padding: 8px 10px;
  background: rgba(15,23,42,0.02);
  border-radius: 10px;
  font-size: 12px;
}
.dash-lb-rank {
  font-weight: 700;
  font-size: 12px;
  color: var(--ambiz-text-dim);
}
.dash-lb-row--top .dash-lb-rank { color: var(--y-700); }
.dash-lb-name { font-weight: 600; }
.dash-lb-sub { font-size: 10px; color: var(--ambiz-text-dim); margin-top: 1px; }
.dash-lb-score {
  font-weight: 700;
  color: var(--ambiz-accent-1);
}
.dash-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
}
.dash-progress-row {
  display: grid; grid-template-columns: 100px 1fr 40px;
  gap: 10px; align-items: center;
  padding: 7px 0;
  font-size: 12px;
}
.dash-progress-row + .dash-progress-row { border-top: 1px solid rgba(15,23,42,0.04); }
.dash-progress-bar { height: 6px; background: rgba(15,23,42,0.06); border-radius: 999px; overflow: hidden; }
.dash-progress-fill { height: 100%; background: var(--ambiz-gradient-button); border-radius: 999px; }
.dash-progress-pct { font-size: 11px; font-weight: 700; text-align: right; }

/* ---------- Proof ---------- */
.proof-section { padding: 160px 0; background: var(--cream); position: relative; overflow: hidden; }
.proof-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 72px;
}
.proof-nums {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.proof-num-card { padding: 36px 8px 0; border-top: 1px solid rgba(0,0,0,0.10); }
.proof-num {
  font-size: clamp(72px, 9vw, 144px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  background: var(--ambiz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.proof-num-lbl {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ambiz-text-dim);
  margin-top: 14px;
}
.proof-num-sub {
  font-size: 14px;
  color: var(--ambiz-text-dim);
  margin-top: 6px;
  font-weight: 400;
}
.proof-quotes {
  position: relative;
  height: 460px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.proof-quotes-track {
  display: flex; flex-direction: column;
  gap: 16px;
  animation: scroll-up 32s linear infinite;
}
@keyframes scroll-up {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.proof-quote-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.04);
}
.proof-quote-text {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ambiz-text);
  font-style: italic;
  margin-bottom: 12px;
}
.proof-quote-attrib {
  font-size: 12px;
  font-weight: 600;
  color: var(--ambiz-accent-1);
  letter-spacing: 0.04em;
}

/* ---------- License ---------- */
.license-section { padding: 140px 0; background: #fff; }
.license-table {
  margin-top: 64px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 24px;
  overflow: hidden;
}
.license-row {
  display: grid;
  grid-template-columns: 1.3fr 2fr 1fr 1fr 1fr;
  align-items: center;
  padding: 0;
}
.license-row + .license-row { border-top: 1px solid rgba(15,23,42,0.05); }
.license-row--head {
  background: #f7f8fa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ambiz-text-dim);
}
.license-cell {
  padding: 18px 20px;
  font-size: 14px;
}
.license-name { font-weight: 700; font-size: 15px; }
.license-desc { color: var(--ambiz-text-dim); font-size: 13px; line-height: 1.45; }
.license-check {
  text-align: center;
}
.license-check svg { display: inline-block; }

/* ---------- CTA section ---------- */
.cta-section {
  background: linear-gradient(135deg, #057430 0%, #164A97 100%);
  color: #fff;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(255,186,0,0.18), transparent 60%);
  pointer-events: none;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative; z-index: 2;
}
.cta-headline {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 24px;
}
.cta-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
  max-width: 540px;
  margin: 0 0 40px;
}
.cta-actions { display: flex; gap: 14px; }
.cta-actions .btn-primary {
  background: #fff;
  color: var(--ambiz-accent-1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.cta-actions .btn-primary:hover { background: var(--y-500); color: #000; }
.cta-actions .btn-ghost {
  border-color: rgba(255,255,255,0.40);
  color: #fff;
}
.cta-actions .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.cta-aside {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(20px);
}
.cta-aside-row {
  display: flex; gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
}
.cta-aside-row + .cta-aside-row { border-top: 1px solid rgba(255,255,255,0.10); }
.cta-aside-check {
  width: 22px; height: 22px; min-width: 22px;
  border-radius: 50%;
  background: var(--y-500);
  display: grid; place-items: center;
  color: #000;
}
.cta-aside-text { font-size: 14px; font-weight: 500; line-height: 1.4; }


/* ============================================================
   Shared-element morph layer (fixed overlay)
   ============================================================ */
:root {
  --p23: 0;
  --p34: 0;
  --p45: 0;
}

/* Morph spacer backgrounds — bridge the bg between surrounding sections so
   the empty scroll runway doesn't look like a hole in the page. */
#morph-23 {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 30%, #050a14 100%);
}
#morph-34 {
  background: #050a14;
}
#morph-45 {
  background: #050a14;
}

.morph-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
}
.morph-twin {
  position: absolute;
  will-change: left, top, width, height, opacity, clip-path, transform;
  transform: translateZ(0);
}

/* ---------- 02 → 03 Source side (Market Pressure bento) ---------- */
.pressure-section .bento-card .bento-label,
.pressure-section .bento-card .bento-stat,
.pressure-section .bento-card .bento-body,
.pressure-section .bento-card .bento-aum-spark,
.pressure-section .bento-card .bento-photo-content,
.pressure-section .bento-card .bento-photo-chip,
.pressure-section .bento-card .bento-photo-corner,
.pressure-section .bento-card .bento-stat-trend,
.pressure-section .bento-card image-slot,
.pressure-section .bento-aum-orb,
.pressure-section .bento-vib-mesh,
.pressure-section .bento-photo-tint,
.pressure-section .bento-photo-grain {
  /* Gentle text/decoration fade across p23 [0 → 0.22]. */
  opacity: clamp(0, calc(1 - var(--p23, 0) * 4.5), 1);
  filter: blur(calc(min(var(--p23, 0) * 60px, 16px)));
  will-change: opacity, filter;
}
.pressure-section .bento > .bento-card {
  /* Card backgrounds linger a bit longer so the twins fade in over a still-visible source. */
  opacity: clamp(0, calc(1 - (var(--p23, 0) - 0.08) * 5.5), 1);
  will-change: opacity;
}

/* ---------- 02 → 03 Dest side + 03 → 04 Source side (Operating System) ----------
   Content fades IN as 02→03 lands (--p23 → 1) and fades OUT as 03→04 starts
   (--p34 → 1). min() of both formulas keeps the right behaviour at all times. */
.os-section .section-head,
.os-section .os-slabs,
.os-section .os-synthesis {
  /* Earlier, gentler dest fade-in across p23 [0.68 → 1.0]. */
  opacity: min(
    clamp(0, calc((var(--p23, 1) - 0.68) * 3.2), 1),
    clamp(0, calc(1 - var(--p34, 0) * 10), 1)
  );
  filter: blur(max(
    calc(max(0px, (1 - (var(--p23, 1) - 0.68) * 3.2) * 14px)),
    calc(min(var(--p34, 0) * 90px, 16px))
  ));
  will-change: opacity, filter;
}
/* Inner slab pieces inherit fade via opacity multiplication on the parent,
   but the entry blur on text needs its own --p23 ramp. */
.os-section .os-slab-num,
.os-section .os-slab-title,
.os-section .os-slab-body,
.os-section .os-slab-rungs,
.os-section .os-slab-rubric,
.os-section .os-slab-ops,
.os-section .os-slab-rotated,
.os-section .os-slab-image,
.os-section .os-slab-tint,
.os-section .os-slab-grain {
  opacity: clamp(0, calc((var(--p23, 1) - 0.68) * 3.2), 1);
  filter: blur(calc(max(0px, (1 - (var(--p23, 1) - 0.68) * 3.2) * 14px)));
  will-change: opacity, filter;
}

/* ---------- 03 → 04 Dest side + 04 → 05 Source side (Performance Ladder) ---------- */
.ladder-section .section-head,
.ladder-section .ladder-layout {
  opacity: min(
    clamp(0, calc((var(--p34, 1) - 0.78) * 5), 1),
    clamp(0, calc(1 - var(--p45, 0) * 10), 1)
  );
  filter: blur(max(
    calc(max(0px, (1 - (var(--p34, 1) - 0.78) * 5) * 16px)),
    calc(min(var(--p45, 0) * 90px, 16px))
  ));
  will-change: opacity, filter;
}
/* Ladder section's auxiliary chrome (rung-pill breadcrumb) follows the same
   exit timing — keeps the section pristine while leaving. */
.ladder-section > .wrap > div:last-child {
  opacity: clamp(0, calc(1 - var(--p45, 0) * 10), 1);
}

/* ---------- 04 → 05 Dest side (Capability Wheel) ---------- */
.caprich-section .section-head,
.caprich-section .caprich-stage,
.caprich-section .caprich-legend {
  opacity: clamp(0, calc((var(--p45, 1) - 0.78) * 5), 1);
  filter: blur(calc(max(0px, (1 - (var(--p45, 1) - 0.78) * 5) * 16px)));
  will-change: opacity, filter;
}

/* ============================================================
   Legacy scroll-driven Transitions — between sections
   No chapter numbers, no headline text. Pure element morphs.
   ============================================================ */
.trans {
  position: relative;
  min-height: 65vh;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.trans-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.trans--02to03 .trans-bg {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f6f1 16%, #1b2236 62%, #050a14 100%);
}
.trans-bg--deep {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,186,0,0.05), transparent 55%),
    linear-gradient(180deg, #050a14 0%, #050a14 100%);
}
.trans-bg--cosmos {
  background:
    radial-gradient(ellipse at 50% 60%, rgba(15,232,114,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, #0e3a36 0%, #050b16 60%),
    #050a14;
}
.trans-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.trans-canvas {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 480px;
  max-height: 720px;
}

/* ---------- 02 → 03 — spark bars consolidate into 3 pillars ---------- */
.t23-bar {
  position: absolute;
  bottom: 0;
  border-radius: 6px 6px 0 0;
  pointer-events: none;
  transition: none;
  will-change: transform, height, width, opacity;
}
.t23-bar--winner {
  border-radius: 8px 8px 0 0;
}
.t23-pillar-label {
  position: absolute;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-condensed, var(--font-sans));
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.t23-pillar-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
}
.t23-pillar-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

/* ---------- 03 → 04 ---------- */
.t34-svg, .t45-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 18px 60px rgba(255,186,0,0.14));
}

/* ---------- 04 → 05 ---------- */
.trans--04to05 .trans-canvas {
  filter: drop-shadow(0 22px 80px rgba(15,232,114,0.10));
}
.spine-shell {
  position: fixed;
  top: 0; right: 18px; bottom: 0;
  width: 80px;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity 500ms var(--ease-out);
}
.spine-shell--on { opacity: 1; }
.spine-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.spine-head {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.spine-head-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #FFBA00;
  box-shadow:
    0 0 0 4px rgba(255,186,0,0.20),
    0 0 24px rgba(255,186,0,0.85),
    0 0 60px rgba(255,186,0,0.45);
  animation: spineHeadPulse 2.2s ease-in-out infinite;
}
.spine-head-ring {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -3px);
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,186,0,0.4);
  animation: spineHeadRing 2.2s ease-out infinite;
  opacity: 0.7;
}
.spine-head-label {
  position: absolute;
  top: 100%;
  margin-top: 6px;
  font-family: var(--font-condensed), var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #FFBA00;
  white-space: nowrap;
  padding: 4px 10px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,186,0,0.35);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@keyframes spineHeadPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,186,0,0.18), 0 0 24px rgba(255,186,0,0.85), 0 0 60px rgba(255,186,0,0.45); }
  50%      { box-shadow: 0 0 0 8px rgba(255,186,0,0.06), 0 0 38px rgba(255,186,0,1.0),  0 0 80px rgba(255,186,0,0.65); }
}
@keyframes spineHeadRing {
  0%   { width: 18px; height: 18px; opacity: 0.8; }
  100% { width: 56px; height: 56px; opacity: 0;   }
}
@media (max-width: 1080px) {
  .spine-shell { display: none; }
}
@media (max-width: 1180px) {
  .hero-grid, .ladder-layout, .wheel-layout, .matrix-layout, .proof-grid, .cta-grid { grid-template-columns: 1fr; }
  .ladder-side { height: auto; }
  .ladder-meter { display: none; }
  .ladder-detail { margin-left: 0; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .matrix-detail { position: static; }
  .nav-links { display: none; }
  .nav-bar { padding: 8px 10px 8px 18px; }
}
@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-bar { padding: 8px 8px 8px 16px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .bento, .matrix-grid { grid-template-columns: 1fr; }
}

/* ---------- entrance animations (scroll reveal) ---------- */
/* Default visible — JS upgrades enabled sections with .reveal-anim once observer is wired */
.reveal-anim:not(.visible) {
  opacity: 0;
  transform: translateY(24px);
}
.reveal-anim {
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal-anim.visible { opacity: 1; transform: none; }
