@import url("colors_and_type.css");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bc-bone); color: var(--fg-1); overflow-x: hidden; scroll-behavior: smooth; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
.container-narrow { max-width: 960px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 720px) { .container, .container-narrow { padding: 0 24px; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: 100ms; } .reveal-2 { transition-delay: 220ms; } .reveal-3 { transition-delay: 340ms; } .reveal-4 { transition-delay: 460ms; } .reveal-5 { transition-delay: 580ms; }

/* Word reveal for hero title */
.hero-title .line { opacity: 0; transform: translateY(40px); display: block; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.hero-title.in .line { opacity: 1; transform: translateY(0); transition-delay: var(--d, 0s); }
.hero-title.in .line:nth-child(1) { transition-delay: 0.1s; }
.hero-title.in .line:nth-child(2) { transition-delay: 0.3s; }
.hero-title.in .line:nth-child(3) { transition-delay: 0.5s; }
.reveal-word { opacity: 0; transform: translateY(40px); display: block; animation: wordIn 1.2s var(--ease-out) forwards; }
@keyframes wordIn { to { opacity: 1; transform: translateY(0); } }
.reveal-fade { opacity: 1; }
@keyframes fadeIn { to { opacity: 1; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding: 16px 28px; border-radius: 2px; border: 1px solid transparent; cursor: pointer; transition: all 260ms var(--ease-out); text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--bc-navy); color: #fff; }
.btn-primary:hover { background: var(--bc-royal); }
.btn-on-dark { background: var(--bc-sage); color: var(--bc-navy); }
.btn-on-dark:hover { background: #fff; }
.btn .arr { transition: transform 260ms var(--ease-out); display: inline-block; font-family: var(--font-display); font-weight: 300; letter-spacing: 0; }
.btn:hover .arr { transform: translateX(5px); }

/* Eyebrow with numbered mark */
.eyebrow { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bc-teal); margin: 0 0 24px; display: inline-flex; align-items: center; gap: 16px; }
.eyebrow .mark { font-family: var(--font-display); font-weight: 400; font-size: 13px; letter-spacing: 0.04em; color: var(--bc-navy); padding: 4px 10px; border: 1px solid var(--bc-teal); background: transparent; }
.eyebrow.on-dark { color: var(--bc-sky); }
.eyebrow.on-dark .mark { color: var(--bc-sage); border-color: var(--bc-sky); }

section { padding: 96px 0; position: relative; }
@media (max-width: 720px) { section { padding: 64px 0; } }

/* ============ NAV (pill design, clearer & more confident) ============ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 24px 0; transition: all 320ms var(--ease-out); }
.nav.scrolled { padding: 14px 0; }
.nav.scrolled::before { content: ""; position: absolute; inset: 0; background: rgba(250,248,244,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-1); z-index: -1; }
.nav.on-dark.scrolled::before { background: rgba(21,38,71,0.85); border-bottom-color: rgba(255,255,255,0.12); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo-mark { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; transition: filter 280ms var(--ease-out); }
.brand-name { font-family: var(--font-mark); font-weight: 200; color: var(--bc-navy); font-size: 16px; letter-spacing: 0.34em; transition: color 280ms var(--ease-out); }

.nav-pill { display: flex; gap: 2px; background: rgba(255,255,255,0.7); backdrop-filter: blur(8px); border: 1px solid var(--border-1); border-radius: 999px; padding: 5px; font-family: var(--font-body); font-size: 11px; font-weight: 500; transition: all 320ms var(--ease-out); }
.nav-link { color: var(--bc-deep-teal); text-decoration: none; padding: 8px 12px; border-radius: 999px; letter-spacing: 0.05em; transition: all 240ms var(--ease-out); position: relative; text-align: center; white-space: nowrap; }
.nav-link:hover { color: var(--bc-navy); }
.nav-link.active { background: var(--bc-navy); color: #fff; font-weight: 600; }

.nav.on-dark:not(.scrolled) .brand-name { color: #fff; }
.nav.on-dark:not(.scrolled) .brand-logo-mark { filter: brightness(0) invert(1); }
.nav.on-dark:not(.scrolled) .nav-pill { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); backdrop-filter: blur(12px); }
.nav.on-dark:not(.scrolled) .nav-link { color: rgba(255,255,255,0.8); }
.nav.on-dark:not(.scrolled) .nav-link:hover { color: #fff; }
.nav.on-dark:not(.scrolled) .nav-link.active { background: var(--bc-sage); color: var(--bc-navy); }
.nav.on-dark:not(.scrolled) .nav-cta { background: var(--bc-sage); color: var(--bc-navy); }
.nav.on-dark:not(.scrolled) .nav-cta:hover { background: #fff; }

.nav-cta { font-size: 10px !important; padding: 8px 14px !important; letter-spacing: 0.14em !important; line-height: 1.25; max-width: 140px; text-align: center; white-space: normal; }
.nav-cta .arr { margin-left: 4px; }
.nav-right { display: flex; align-items: center; gap: 14px; }

/* EN / ES language toggle — segmented control */
.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg-2);
  background: rgba(245, 240, 232, 0.55); /* warm beige tint */
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 3px;
  transition: background 240ms var(--ease-out), border-color 240ms var(--ease-out);
}
.lang-toggle::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
  transition: transform 320ms var(--ease-out);
  pointer-events: none;
}
.lang-toggle.is-es::before { transform: translateX(100%); }

.lang-btn {
  position: relative;
  z-index: 1;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 6px 14px;
  font: inherit;
  letter-spacing: inherit;
  color: var(--fg-3);
  cursor: pointer;
  border-radius: 999px;
  transition: color 240ms var(--ease-out);
  min-width: 32px;
  text-align: center;
  font-weight: 500;
}
.lang-btn:hover { color: var(--fg-2); }
.lang-btn.active { color: var(--bc-navy); }

.nav.on-dark:not(.scrolled) .lang-toggle {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}
.nav.on-dark:not(.scrolled) .lang-toggle::before {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
.nav.on-dark:not(.scrolled) .lang-btn { color: rgba(255, 255, 255, 0.55); }
.nav.on-dark:not(.scrolled) .lang-btn:hover { color: rgba(255, 255, 255, 0.85); }
.nav.on-dark:not(.scrolled) .lang-btn.active { color: var(--bc-navy); }

@media (max-width: 900px) { .nav-pill { display: none; } }

/* ============ Mobile nav: hamburger + drawer ============ */
.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid rgba(17,55,57,0.18);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 200ms var(--ease-out), background 200ms var(--ease-out);
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--bc-navy);
  transition: transform 240ms var(--ease-out), opacity 200ms var(--ease-out);
  transform-origin: center;
}
.nav.on-dark:not(.scrolled) .nav-burger { border-color: rgba(255,255,255,0.28); }
.nav.on-dark:not(.scrolled) .nav-burger span { background: #fff; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  inset: 64px 0 0 0;
  background: #fff;
  border-top: 1px solid var(--border-1);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 320ms var(--ease-out), opacity 280ms var(--ease-out);
  z-index: 90;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-drawer-inner {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 40px;
  gap: 4px;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}
.nav-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--bc-navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(17,55,57,0.08);
  transition: padding-left 200ms var(--ease-out), color 200ms var(--ease-out);
}
.nav-drawer-link .arr {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--bc-teal);
  opacity: 0.5;
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}
.nav-drawer-link:hover .arr,
.nav-drawer-link:active .arr { transform: translateX(4px); opacity: 1; }
.nav-drawer-link.active { color: var(--bc-teal); padding-left: 12px; }
.nav-drawer-link.active::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--bc-teal);
  margin-right: 12px;
  margin-left: -16px;
  vertical-align: middle;
}
.nav-drawer-cta {
  margin-top: 24px;
  padding: 18px 24px;
  background: var(--bc-navy);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  border-radius: 999px;
  transition: background 200ms var(--ease-out);
}
.nav-drawer-cta:hover, .nav-drawer-cta:active { background: var(--bc-deep-teal); }

/* Burger only shows when the pill is hidden. Hide the desktop CTA on
   small phones to save room — drawer surfaces it instead. */
@media (max-width: 900px) {
  .nav-burger { display: flex; }
}
@media (max-width: 560px) {
  .nav-cta { display: none; }
}

/* ============ HERO ============ */
.hero { min-height: 100vh; background: var(--bc-navy); color: #fff; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 160px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(700px 500px at var(--mx, 50%) var(--my, 30%), rgba(159,199,191,0.22), transparent 60%), radial-gradient(900px 600px at 10% 90%, rgba(2,32,179,0.25), transparent 70%); transition: background 1s var(--ease-out); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, transparent 60%, rgba(21,38,71,0.6) 100%); pointer-events: none; }

/* Giant faded monogram */
.hero-monogram { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); opacity: 0.06; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-mono-box { width: 340px; height: 340px; border: 3px solid #fff; display: grid; place-items: center; }
.hero-mono-box span { font-family: var(--font-display); font-weight: 400; color: #fff; font-size: 96px; line-height: 0.9; text-align: center; letter-spacing: -0.02em; }
.hero-mono-word { font-family: var(--font-display); color: #fff; font-size: 42px; letter-spacing: 0.4em; font-weight: 400; }
@media (max-width: 900px) { .hero-monogram { display: none; } }

.hero-inner { position: relative; width: 100%; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }

.hero-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 100px; gap: 24px; flex-wrap: wrap; }
.hero-eyebrow { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bc-sky); display: flex; align-items: center; gap: 14px; }
.hero-eyebrow .dot { width: 8px; height: 8px; background: var(--bc-sage); border-radius: 50%; animation: pulse 2.4s ease-in-out infinite; }
/* Desktop: flatten the two-line structure into a single inline run with · separators */
.hero-eyebrow-text { display: flex; align-items: center; gap: 14px; }
.hero-eyebrow-line1::after { content: '—'; margin-left: 14px; opacity: 0.5; }
.hero-eyebrow-line2 { display: flex; align-items: center; gap: 14px; }
.hero-eyebrow-sep { display: inline; opacity: 0.5; }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(159,199,191,0.6); } 50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(159,199,191,0); } }
.hero-badge { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; font-family: var(--font-body); font-size: 11px; font-weight: 500; }
.hero-badge .yr { color: var(--bc-sky); letter-spacing: 0.24em; }
.hero-badge .v { color: #fff; font-family: var(--font-display); font-weight: 500; letter-spacing: 0.04em; }

.hero-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(56px, 9vw, 148px); line-height: 0.95; letter-spacing: -0.035em; color: #fff; margin: 0; max-width: 18ch; overflow: hidden; }
.hero-title .line { display: block; opacity: 0; }
.hero-title em { font-style: italic; color: var(--bc-sage); font-weight: 300; }

.hero-bottom { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: end; margin-top: 80px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.14); }
@media (max-width: 900px) { .hero-bottom { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; } }
.hero-sub { font-family: var(--font-body); font-weight: 300; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.82); max-width: 52ch; margin: 0; }
.hero-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.hero-meta { display: flex; flex-direction: column; gap: 6px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,0.2); }
.hero-meta .k { color: var(--bc-sky); font-family: var(--font-body); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; font-size: 10px; }
.hero-meta .v { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 15px; letter-spacing: 0.01em; }

.hero-scroll { position: absolute; bottom: 32px; left: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; color: var(--bc-sky); font-family: var(--font-body); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; transition: color 0.3s ease, transform 0.3s ease; cursor: pointer; }

/* ============ Routed page transition ============ */
.route { animation: routeFade 0.5s ease-out both; }
@keyframes routeFade {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* The hero is its own full-bleed page; don't double-pad it */
.route > .hero:first-child { margin-top: 0; }
/* Other routes get a top buffer so content clears the fixed nav */
.route:not([data-route="home"]) { padding-top: 96px; }
@media (max-width: 720px) {
  .route:not([data-route="home"]) { padding-top: 76px; }
}
.hero-enter:hover { color: #fff; transform: translateY(-2px); }
.hero-enter:hover .hero-scroll-line { background: rgba(166,195,229,0.6); }
.hero-scroll-line { width: 1px; height: 56px; background: rgba(166,195,229,0.3); position: relative; overflow: hidden; }
.hero-scroll-line .dot { position: absolute; top: -12px; left: 0; right: 0; height: 14px; background: var(--bc-sage); animation: scrollDot 2.4s var(--ease-in-out) infinite; }
@keyframes scrollDot { 0% { top: -14px; } 60%, 100% { top: 100%; } }
@media (max-width: 720px) { .hero-scroll { display: none; } }
/* Hide on short presentation viewports — would overlap the headline */
@media (max-height: 760px) { .hero-scroll { display: none; } }

/* ============ Section heads ============ */
.sec-head { max-width: 960px; margin: 0 0 80px; }
.sec-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.028em; line-height: 1.02; color: var(--bc-navy); margin: 0 0 24px; text-wrap: balance; }
.sec-head h2 em { font-style: italic; color: var(--bc-teal); font-weight: 400; position: relative; display: inline-block; }
.sec-head h2 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 900ms cubic-bezier(0.65, 0, 0.35, 1) 400ms; opacity: 0.35; }
.sec-head.in h2 em::after { transform: scaleX(1); }
.sec-head p { font-family: var(--font-body); font-weight: 300; font-size: 19px; line-height: 1.65; color: var(--fg-2); margin: 0; max-width: 60ch; }
.sec-head.on-dark h2 { color: #fff; }
.sec-head.on-dark h2 em { color: var(--bc-sage); }
.sec-head.on-dark p { color: rgba(255,255,255,0.72); }

/* ============ WHO WE ARE — single column, editorial ============ */
.whoweare { background: var(--bc-bone); }
.who-top { margin-bottom: 40px; }
.who-headline { font-family: var(--font-display); font-weight: 300; font-size: clamp(36px, 4.8vw, 68px); letter-spacing: -0.028em; line-height: 1.08; color: var(--bc-navy); margin: 0 0 64px; max-width: 24ch; text-wrap: balance; }
.who-headline em { font-style: italic; color: var(--bc-teal); font-weight: 300; }
.who-body { max-width: none; margin: 0 0 80px; padding-left: 0; }
.who-body p { font-family: var(--font-body); font-weight: 300; font-size: 19px; line-height: 1.75; color: var(--fg-2); margin: 0 0 28px; max-width: 1100px; }
.who-body p strong { color: var(--bc-deep-teal); font-weight: 500; position: relative; display: inline-block; background: linear-gradient(180deg, transparent 62%, rgba(155,182,175,0.32) 62%, rgba(155,182,175,0.32) 92%, transparent 92%); background-size: 0% 100%; background-repeat: no-repeat; transition: background-size 820ms cubic-bezier(0.65, 0, 0.35, 1); }
.who-body.in p strong { background-size: 100% 100%; }
.who-sig { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border-1); font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--bc-teal); font-weight: 400; letter-spacing: -0.01em; }

.who-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--border-1); padding-top: 40px; }
@media (max-width: 720px) { .who-facts { grid-template-columns: 1fr 1fr; gap: 24px 0; } }
.who-fact { padding-right: 32px; border-right: 1px solid var(--border-1); }
.who-fact:last-child { border-right: 0; }
@media (max-width: 720px) { .who-fact:nth-child(2n) { border-right: 0; padding-right: 0; } }
.who-fact .k { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bc-teal); margin-bottom: 16px; }
.who-fact .v { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--bc-navy); letter-spacing: -0.01em; line-height: 1.25; }
.who-fact .v span { font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--bc-teal); letter-spacing: 0.08em; text-transform: uppercase; display: inline-block; margin-left: 6px; }

/* ============ PILLARS ============ */
.pillars { background: var(--bc-paper); border-top: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1); }
.pillars .sec-head { margin-bottom: 8px; }

.pillars-stage { position: relative; margin-top: 0; }

/* Connecting rail behind the 3 pillars */
.pillars-rail { position: absolute; left: 0; right: 0; top: 48px; height: 2px; background: var(--border-1); pointer-events: none; }
.pillars-rail .rail-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--bc-teal); width: 0; transition: width 2000ms cubic-bezier(0.65, 0, 0.35, 1); }
.pillars-stage.revealed .rail-fill { width: 83.33%; }
.pillars-rail .rail-node { position: absolute; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--bc-paper); border: 2px solid var(--border-1); transition: all 360ms var(--ease-out); }
.pillars-rail .rail-node.n0 { left: calc(16.66% - 6px); transition-delay: 300ms; }
.pillars-rail .rail-node.n1 { left: calc(50% - 6px); transition-delay: 900ms; }
.pillars-rail .rail-node.n2 { left: calc(83.33% - 6px); transition-delay: 1500ms; }
.pillars-stage.revealed .rail-node { border-color: var(--bc-teal); background: var(--bc-teal); transform: scale(1.15); box-shadow: 0 0 0 6px rgba(50,111,108,0.12); }

.pillars-grid-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 8px; }
@media (max-width: 900px) { .pillars-grid-v2 { grid-template-columns: 1fr; gap: 24px; } .pillars-rail { display: none; } }

.pillar-v2 {
  position: relative;
  padding: 44px 32px 40px;
  background: rgba(255,255,255,0.5);
  border: 1px solid transparent;
  opacity: 0; transform: translateY(24px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out), background 300ms ease, border-color 300ms ease;
}
.pillars-stage.revealed .pillar-v2 { opacity: 1; transform: translateY(0); }
.pillars-stage.revealed .pillar-v2.p0 { transition-delay: 250ms; }
.pillars-stage.revealed .pillar-v2.p1 { transition-delay: 850ms; }
.pillars-stage.revealed .pillar-v2.p2 { transition-delay: 1450ms; }
.pillar-v2.hover { background: #fff; border-color: var(--border-2); box-shadow: 0 18px 40px -20px rgba(14,35,45,0.18); }
.pillar-v2.dim { opacity: 0.45; }

.pillar-tag { font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--bc-teal); margin-bottom: 6px; }
.pillar-num-xl { font-family: var(--font-display); font-weight: 300; font-size: 72px; line-height: 1; color: var(--bc-navy); margin-bottom: 20px; letter-spacing: -0.02em; opacity: 0.18; transition: opacity 320ms ease, color 320ms ease; }
.pillar-v2.hover .pillar-num-xl { opacity: 1; color: var(--bc-teal); }
.pillar-icon-v2 { width: 44px; height: 44px; color: var(--bc-navy); margin-bottom: 28px; transition: transform 420ms var(--ease-out), color 320ms; }
.pillar-icon-v2 svg { width: 100%; height: 100%; }
.pillar-v2.hover .pillar-icon-v2 { color: var(--bc-teal); transform: translateY(-2px) scale(1.06); }
.pillar-v2 h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; letter-spacing: -0.022em; color: var(--bc-navy); margin: 0 0 16px; line-height: 1.15; }
.pillar-v2 p { font-family: var(--font-body); font-size: 15px; line-height: 1.7; color: var(--fg-2); margin: 0; font-weight: 300; }

/* Brackets in corners */
.pillar-corner { position: absolute; width: 14px; height: 14px; border: 1px solid var(--bc-navy); opacity: 0; transition: opacity 300ms ease, transform 320ms var(--ease-out); }
.pillar-corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; transform: translate(4px, 4px); }
.pillar-corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; transform: translate(-4px, 4px); }
.pillar-corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; transform: translate(4px, -4px); }
.pillar-corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; transform: translate(-4px, -4px); }
.pillar-v2.hover .pillar-corner { opacity: 0.6; transform: translate(0, 0); }

/* Sign-off */
.pillars-signoff { margin-top: 88px; text-align: center; font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 3vw, 34px); color: var(--bc-navy); letter-spacing: -0.015em; opacity: 0; transform: translateY(14px); transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out); }
.pillars-signoff.in { opacity: 1; transform: translateY(0); }
.pillars-signoff .sep { color: var(--bc-teal); margin: 0 16px; font-weight: 300; }
.pillars-signoff .word { position: relative; display: inline-block; }
.pillars-signoff .word::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--bc-teal); transform: scaleX(0); transform-origin: left; transition: transform 640ms var(--ease-out); }
.pillars-signoff.in .word.w0::after { transition-delay: 260ms; transform: scaleX(1); }
.pillars-signoff.in .word.w1::after { transition-delay: 540ms; transform: scaleX(1); }
.pillars-signoff.in .word.w2::after { transition-delay: 820ms; transform: scaleX(1); }

/* ============ STATS ============ */
.stats { background: var(--bc-navy); color: #fff; overflow: hidden; }
.stats .sec-head { max-width: 820px; }
.stats-grid.big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.12); }
.stats-grid.big .stat { background: var(--bc-navy); padding: 56px 40px; position: relative; overflow: hidden; transition: background 360ms var(--ease-out); }
.stats-grid.big .stat:hover { background: var(--bc-deep-teal); }
@media (max-width: 900px) { .stats-grid.big { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .stats-grid.big { grid-template-columns: 1fr; } }
.stats-grid.big .stat .label { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bc-sky); margin-bottom: 28px; }
.stats-grid.big .stat .num { font-family: var(--font-display); font-weight: 300; font-size: clamp(44px, 5.2vw, 78px); letter-spacing: -0.04em; line-height: 0.95; color: #fff; display: flex; align-items: baseline; gap: 4px; }
.stats-grid.big .stat .num .suf { font-size: 0.45em; color: var(--bc-sage); font-weight: 400; letter-spacing: 0; }
.stats-grid.big .stat .num .pfx-lead { font-size: 0.5em; color: var(--bc-sage); font-weight: 400; letter-spacing: 0; margin-right: 2px; }
/* Keep numbers tight on a single line so commas don't wrap */
.stats-grid.big .stat .num { white-space: nowrap; }
.stats-grid.inline .stat .num { white-space: nowrap; }
.stats-grid.big .stat .desc { font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 28px; line-height: 1.6; font-weight: 300; max-width: 32ch; }

.stats-grid.inline { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,0.14); }
.stats-grid.inline .stat { display: grid; grid-template-columns: 140px 1fr 2fr; gap: 48px; align-items: center; padding: 36px 0; border-bottom: 1px solid rgba(255,255,255,0.14); transition: padding 320ms; }
.stats-grid.inline .stat:hover { padding-left: 12px; }
@media (max-width: 720px) { .stats-grid.inline .stat { grid-template-columns: 1fr; gap: 8px; padding: 24px 0 !important; } }
.stats-grid.inline .stat .label { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bc-sky); }
.stats-grid.inline .stat .num { font-family: var(--font-display); font-weight: 300; font-size: clamp(28px, 2.8vw, 44px); letter-spacing: -0.03em; line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.stats-grid.inline .stat .num .suf { font-size: 0.5em; color: var(--bc-sage); }
.stats-grid.inline .stat .desc { font-family: var(--font-body); font-size: 15px; color: rgba(255,255,255,0.7); font-weight: 300; line-height: 1.6; }

/* HERO variant — 2 cols × 3 rows, oversized numerals with ghosted index */
.stats-grid.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.12); }
.stats-grid.hero .stat { background: var(--bc-navy); padding: 64px 56px 56px; position: relative; overflow: hidden; transition: background 360ms var(--ease-out); min-height: 320px; display: flex; flex-direction: column; }
.stats-grid.hero .stat:hover { background: var(--bc-deep-teal); }
.stats-grid.hero .stat .ghost-num { position: absolute; top: 22px; right: 32px; font-family: var(--font-display); font-size: 14px; font-weight: 400; letter-spacing: 0.18em; color: rgba(255,255,255,0.28); }
.stats-grid.hero .stat .label { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bc-sky); margin-bottom: 28px; }
.stats-grid.hero .stat .num { font-family: var(--font-display); font-weight: 300; font-size: clamp(64px, 8vw, 120px); letter-spacing: -0.045em; line-height: 0.92; color: #fff; display: flex; align-items: baseline; white-space: nowrap; }
.stats-grid.hero .stat .num .value { display: inline-block; }
.stats-grid.hero .stat .num .pfx-lead { font-size: 0.42em; color: var(--bc-sage); font-weight: 400; letter-spacing: 0; margin-right: 0.08em; transform: translateY(-0.05em); }
.stats-grid.hero .stat .num .suf { font-size: 0.42em; color: var(--bc-sage); font-weight: 400; letter-spacing: 0; margin-left: 0.04em; }
.stats-grid.hero .stat .desc { font-family: var(--font-body); font-size: 15px; color: rgba(255,255,255,0.7); margin-top: auto; padding-top: 32px; line-height: 1.6; font-weight: 300; max-width: 38ch; }
@media (max-width: 900px) { .stats-grid.hero { grid-template-columns: 1fr; } .stats-grid.hero .stat { min-height: 260px; padding: 48px 36px 40px; } }

/* ============ PROCESS ============ */
.process { background: var(--bc-bone); }
.process-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .process-wrap { grid-template-columns: 1fr; gap: 32px; } }
.process-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 120px; }
@media (max-width: 900px) { .process-nav { position: static; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 12px; } }
.process-nav button { text-align: left; background: transparent; border: 0; padding: 18px 22px; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--fg-2); cursor: pointer; border-left: 2px solid var(--border-1); transition: all 280ms var(--ease-out); display: flex; align-items: center; gap: 16px; white-space: nowrap; position: relative; }
.process-nav button .i { font-family: var(--font-display); font-size: 12px; color: var(--bc-teal); font-weight: 400; letter-spacing: 0.12em; min-width: 24px; }
.process-nav button::after { content: "→"; margin-left: auto; opacity: 0; transform: translateX(-6px); transition: all 280ms var(--ease-out); font-family: var(--font-display); color: var(--bc-navy); }
.process-nav button:hover { color: var(--bc-navy); background: rgba(21,38,71,0.03); }
.process-nav button.active { color: var(--bc-navy); border-left-color: var(--bc-navy); background: rgba(21,38,71,0.04); font-weight: 600; }
.process-nav button.active .i { color: var(--bc-navy); }
.process-nav button.active::after { opacity: 1; transform: translateX(0); }
@media (max-width: 900px) { .process-nav button { border-left: 0; border-bottom: 2px solid var(--border-1); } .process-nav button.active { border-bottom-color: var(--bc-navy); } .process-nav button::after { display: none; } }

.process-panel { background: #fff; border: 1px solid var(--border-1); padding: 64px; min-height: 540px; position: relative; overflow: hidden; }
@media (max-width: 720px) { .process-panel { padding: 36px; min-height: 0; } }
.process-panel .step-num { font-family: var(--font-display); font-weight: 300; font-size: 220px; line-height: 0.85; letter-spacing: -0.06em; color: var(--bc-navy-08); position: absolute; top: 24px; right: 48px; pointer-events: none; animation: stepNumIn 700ms var(--ease-out); }
@keyframes stepNumIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.process-panel h3 { font-family: var(--font-display); font-weight: 400; font-size: 42px; letter-spacing: -0.025em; color: var(--bc-navy); margin: 0 0 8px; position: relative; }
.process-panel .kicker { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bc-teal); margin-bottom: 18px; position: relative; }
.process-panel .lead { font-family: var(--font-body); font-weight: 300; font-size: 17px; line-height: 1.65; color: var(--fg-2); max-width: 56ch; margin: 0 0 40px; position: relative; }
.process-panel ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; position: relative; }
@media (max-width: 720px) { .process-panel ul { grid-template-columns: 1fr; } }
.process-panel li { font-family: var(--font-body); font-size: 14.5px; line-height: 1.55; color: var(--fg-1); padding-left: 24px; position: relative; font-weight: 400; opacity: 0; animation: listItemIn 480ms var(--ease-out) forwards; }
.process-panel li:nth-child(1) { animation-delay: 200ms; }
.process-panel li:nth-child(2) { animation-delay: 280ms; }
.process-panel li:nth-child(3) { animation-delay: 360ms; }
.process-panel li:nth-child(4) { animation-delay: 440ms; }
@keyframes listItemIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }
.process-panel li::before { content: ""; width: 7px; height: 7px; background: var(--bc-navy); position: absolute; left: 0; top: 9px; }
.process-fade-enter { animation: fadeSlide 520ms var(--ease-out); }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Progress indicator under process panel */
.process-progress { display: flex; gap: 4px; margin-top: 24px; }
.process-progress .seg { flex: 1; height: 2px; background: var(--border-1); transition: background 320ms; }
.process-progress .seg.done { background: var(--bc-navy); }
.process-progress .seg.active { background: var(--bc-navy); animation: segPulse 1.6s ease-in-out infinite; }
@keyframes segPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ============ TIMELINE (36-month) — scroll-driven ============ */
.timeline { background: var(--bc-deep-teal); color: #fff; overflow: hidden; position: relative; }
.timeline::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 20% 30%, rgba(159,199,191,0.08), transparent 70%); pointer-events: none; }
.timeline .sec-head h2 { color: #fff; }

/* When the timeline is rendered as a continuation of Process — flush merge with big section heading */
.timeline-merged { padding-top: 64px; padding-bottom: 96px; }
.timeline-merged-head { margin-bottom: 56px !important; max-width: 980px; }
.timeline-merged-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.timeline-merged-head h2 em {
  font-style: italic;
  color: var(--bc-sage);
  font-weight: 400;
}
/* Process closes flush so the deep-teal Timeline reads as a continuation */
.process { padding-bottom: 64px; }
.timeline .sec-head h2 em { color: var(--bc-sage); }
.timeline .sec-head p { color: rgba(255,255,255,0.72); }

.tl-container { position: relative; margin-top: 64px; }
.tl-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bc-sky); }
.tl-header .progress { display: flex; align-items: center; gap: 10px; }
.tl-header .progress-val { font-family: var(--font-display); color: #fff; font-size: 14px; letter-spacing: 0.04em; min-width: 60px; }

.tl-rail { position: relative; height: 3px; background: rgba(255,255,255,0.1); margin: 0 0 56px; }
.tl-rail-fill { position: absolute; top: 0; left: 0; bottom: 0; background: linear-gradient(90deg, var(--bc-sage), var(--bc-sky)); transition: width 600ms var(--ease-out); }
.tl-rail-dot { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 6px rgba(255,255,255,0.12); transition: left 600ms var(--ease-out); }

.tl-markers { position: relative; height: 16px; margin: -40px 0 16px; padding: 0 2px; }
.tl-marker { position: absolute; font-family: var(--font-display); font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; transform: translateX(-50%); white-space: nowrap; }
.tl-marker[style*="left: 0%"] { transform: translateX(0); }
.tl-marker[style*="left: 100%"] { transform: translateX(-100%); }

.tl-phases { display: grid; grid-template-columns: 5fr 6fr 19fr 6fr; gap: 0; position: relative; }
@media (max-width: 900px) { .tl-phases { grid-template-columns: 1fr; gap: 12px; } }
.tl-phase { padding: 32px 20px 32px 0; cursor: pointer; transition: all 420ms var(--ease-out); position: relative; border-left: 1px solid rgba(255,255,255,0.1); padding-left: 20px; }
.tl-phase:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 900px) { .tl-phase { border-left: 0; padding-left: 20px; border-left: 2px solid rgba(255,255,255,0.12); } .tl-phase.active { border-left-color: var(--bc-sage); } }
.tl-phase .mo { font-family: var(--font-display); font-size: 11px; font-weight: 400; color: var(--bc-sage); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px; transition: color 320ms; }
.tl-phase h4 { font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: -0.015em; color: rgba(255,255,255,0.55); margin: 0 0 12px; transition: color 320ms; }
.tl-phase p { font-family: var(--font-body); font-weight: 300; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.45); margin: 0; transition: color 320ms; }
.tl-phase.active h4 { color: #fff; }
.tl-phase.active p { color: rgba(255,255,255,0.88); }
.tl-phase.active .mo { color: #fff; }
.tl-phase:hover h4 { color: #fff; }

.timeline-note { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 10.5px; color: rgba(255,255,255,0.45); font-style: italic; max-width: 88ch; line-height: 1.55; font-weight: 300; }

/* ============ RETURNS ============ */
.returns { background: var(--bc-paper); }
.returns-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border-1); border: 1px solid var(--border-1); }
@media (max-width: 900px) { .returns-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .returns-grid { grid-template-columns: 1fr; } }
.return-tile { background: var(--bc-paper); padding: 48px 40px; transition: all 400ms var(--ease-out); position: relative; overflow: hidden; }
.return-tile::before { content: ""; position: absolute; inset: 0; background: var(--bc-bone); transform: translateY(100%); transition: transform 520ms var(--ease-out); z-index: 0; }
.return-tile:hover::before { transform: translateY(0); }
.return-tile > * { position: relative; z-index: 1; }
.return-tile .label { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bc-teal); margin-bottom: 28px; }
.return-tile .num { font-family: var(--font-display); font-weight: 300; font-size: clamp(48px, 5.4vw, 80px); letter-spacing: -0.035em; line-height: 1; color: var(--bc-navy); margin-bottom: 24px; }
.return-tile .desc { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--fg-2); line-height: 1.6; margin: 0; }
.return-tile .pfx { font-size: 0.5em; color: var(--bc-teal); font-weight: 400; letter-spacing: 0; margin-left: 2px; }
.return-tile .pfx-lead { margin-left: 0; margin-right: 2px; }

.returns-structure-head { margin-top: 96px; margin-bottom: 32px; padding-top: 48px; border-top: 1px solid var(--border-1); }
.returns-structure-head .rs-kicker { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bc-teal); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.returns-structure-head .rs-kicker .mark { font-family: var(--font-display); font-weight: 300; color: var(--bc-teal); letter-spacing: 0; font-size: 14px; }
.returns-structure-head h3 { font-family: var(--font-display); font-weight: 300; font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.02em; color: var(--bc-navy); margin: 0; line-height: 1.15; }

.return-tile.structure .num-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.return-tile.structure .num-line { font-family: var(--font-display); font-weight: 300; font-size: 22px; letter-spacing: -0.015em; color: var(--bc-navy); display: flex; align-items: baseline; gap: 12px; line-height: 1.2; }
.return-tile.structure .num-tag { font-family: var(--font-body); font-size: 9.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bc-teal); padding: 4px 10px; border: 1px solid var(--bc-teal); border-radius: 999px; flex-shrink: 0; }
.return-tile.structure .num-sm { font-size: clamp(32px, 3.6vw, 52px); }
.return-tile.structure .num-sm em { font-family: var(--font-display); font-style: italic; font-weight: 300; color: var(--bc-teal); }

.return-tile.risk-iso .num { margin-bottom: 16px; }
.return-tile.risk-iso .desc { margin-bottom: 24px; }
.risk-iso-list { list-style: none; padding: 0; margin: 0; padding-top: 20px; border-top: 1px solid var(--border-1); display: flex; flex-direction: column; gap: 16px; }
.risk-iso-list li { display: flex; gap: 14px; align-items: flex-start; }
.risk-iso-icon { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: rgba(34, 102, 102, 0.08); color: var(--bc-teal); display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.risk-iso-title { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--bc-navy); line-height: 1.35; margin-bottom: 3px; letter-spacing: -0.005em; }
.risk-iso-sub { font-family: var(--font-body); font-size: 12.5px; font-weight: 400; color: var(--fg-2); line-height: 1.5; }

.cap-structure { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 40px; background: var(--bc-bone); border: 1px solid var(--border-1); }
@media (max-width: 720px) { .cap-structure { grid-template-columns: 1fr; gap: 24px; padding: 28px; } }
.cap-tile .cap-label { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bc-teal); margin-bottom: 12px; }
.cap-tile .cap-val { font-family: var(--font-display); font-size: 19px; font-weight: 500; color: var(--bc-navy); letter-spacing: -0.01em; line-height: 1.35; }

/* ============ WATERFALL ============ */
.waterfall { background: var(--bc-bone); padding-bottom: 56px; }
.waterfall-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .waterfall-grid { grid-template-columns: 1fr; gap: 32px; } }
/* Cascading waterfall — each tier offsets right, with a vertical spill */
.wf-steps { display: flex; flex-direction: column; gap: 0; position: relative; padding: 8px 0 32px; }
.wf-step {
  background: #fff;
  border: 1px solid var(--border-1);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  transition: all 360ms var(--ease-out);
  position: relative;
  opacity: 0;
  animation: wf-cascade-in 600ms var(--ease-out) forwards;
}
.wf-step:nth-child(1) { animation-delay: 80ms;  margin-left: 0;    }
.wf-step:nth-child(2) { animation-delay: 240ms; margin-left: 36px; }
.wf-step:nth-child(3) { animation-delay: 400ms; margin-left: 72px; }
.wf-step:nth-child(4) { animation-delay: 560ms; margin-left: 108px; }
@keyframes wf-cascade-in {
  0%   { opacity: 0; transform: translate(-12px, -8px); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translate(0, 0); }
}
/* Vertical "spill" connecting each card to the next */
.wf-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -28px;
  width: 2px;
  height: 28px;
  background: linear-gradient(to bottom, var(--bc-teal) 0%, transparent 100%);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  animation: wf-spill 700ms var(--ease-out) forwards;
}
.wf-step:nth-child(1)::after { animation-delay: 700ms; }
.wf-step:nth-child(2)::after { animation-delay: 860ms; }
.wf-step:nth-child(3)::after { animation-delay: 1020ms; }
@keyframes wf-spill { to { opacity: 1; transform: scaleY(1); } }
.wf-step:hover, .wf-step.active { border-color: var(--bc-navy); transform: translateY(-2px); box-shadow: 0 18px 36px -22px rgba(17,55,57,0.4); }
.wf-step.active { box-shadow: 0 24px 48px -24px rgba(17,55,57,0.5); }
.wf-step .wf-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  color: var(--bc-teal);
  letter-spacing: -0.02em;
  transition: all 240ms;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--bc-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex-shrink: 0;
}
.wf-step.active .wf-num { color: #fff; background: var(--bc-navy); border-color: var(--bc-navy); }
.wf-step .wf-body h4 { font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--bc-navy); margin: 0 0 4px; letter-spacing: -0.01em; }
.wf-step .wf-body p { font-family: var(--font-body); font-size: 13px; color: var(--fg-2); margin: 0; font-weight: 300; line-height: 1.55; }
.wf-step .wf-arrow { color: var(--bc-teal); opacity: 0; transition: all 240ms var(--ease-out); font-family: var(--font-display); font-weight: 300; font-size: 22px; }
.wf-step.active .wf-arrow, .wf-step:hover .wf-arrow { opacity: 1; transform: translateX(4px); color: var(--bc-navy); }
@media (max-width: 720px) {
  .wf-step:nth-child(1), .wf-step:nth-child(2), .wf-step:nth-child(3), .wf-step:nth-child(4) { margin-left: 0; }
}
.wf-visual { background: var(--bc-navy); color: #fff; padding: 52px 44px; position: sticky; top: 120px; }
@media (max-width: 900px) { .wf-visual { position: static; } }
.wf-visual-label { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bc-sky); margin-bottom: 24px; }
.wf-visual h4 { font-family: var(--font-display); font-weight: 400; font-size: 32px; letter-spacing: -0.018em; color: #fff; margin: 0 0 18px; }
.wf-visual p { font-family: var(--font-body); font-weight: 300; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.82); margin: 0 0 36px; }
.wf-bar-wrap { position: relative; }
/* Mobile-only inline detail — hidden by default; the mobile media query
   reveals it inside .wf-step.active. */
.wf-inline-detail { display: none; }
.wf-bar { height: 16px; background: rgba(255,255,255,0.1); overflow: hidden; display: flex; margin-bottom: 14px; }
.wf-seg { height: 100%; transition: flex 900ms var(--ease-emphasized), opacity 400ms; display: flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; color: var(--bc-navy); }
.wf-seg-1 { background: var(--bc-sage); } .wf-seg-2 { background: var(--bc-sky); } .wf-seg-3 { background: var(--bc-mist); } .wf-seg-4 { background: #fff; }
.wf-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; font-family: var(--font-body); font-size: 11.5px; font-weight: 400; color: rgba(255,255,255,0.75); }
.wf-legend-item { display: flex; align-items: center; gap: 10px; }
.wf-legend-item .sw { width: 12px; height: 12px; flex-shrink: 0; }

/* ============ PORTFOLIO ============ */
.portfolio { background: var(--bc-paper); }
.port-filters { display: flex; gap: 4px; margin-bottom: 48px; border-bottom: 1px solid var(--border-1); flex-wrap: wrap; }
.port-filters button { background: transparent; border: 0; font-family: var(--font-body); font-size: 12.5px; font-weight: 500; color: var(--fg-2); padding: 14px 22px; cursor: pointer; border-bottom: 2px solid transparent; transition: all 260ms; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: -1px; }
.port-filters button:hover { color: var(--bc-navy); }
.port-filters button.active { color: var(--bc-navy); border-bottom-color: var(--bc-navy); font-weight: 600; }
.port-filters button .ct { font-family: var(--font-display); font-size: 11px; color: var(--bc-teal); margin-left: 6px; font-weight: 400; }
.port-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .port-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .port-grid { grid-template-columns: 1fr; } }
.port-card { position: relative; overflow: hidden; cursor: pointer; transition: all 400ms var(--ease-out); background: var(--bc-bone); animation: cardIn 520ms var(--ease-out) backwards; }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.port-card.featured { grid-column: span 2; }
@media (max-width: 900px) { .port-card.featured { grid-column: span 2; } }
@media (max-width: 600px) { .port-card.featured { grid-column: span 1; } }
.port-card .img { aspect-ratio: 4/3; position: relative; overflow: hidden; display: grid; place-items: center; transition: transform 700ms var(--ease-out); }
.port-card.featured .img { aspect-ratio: 16/9; }
.port-card:hover .img { transform: scale(1.04); }
.port-card .img.v1 { background: linear-gradient(135deg, #A6C3E5 0%, #356967 100%); }
.port-card .img.v2 { background: linear-gradient(140deg, #152647 0%, #356967 100%); }
.port-card .img.v3 { background: linear-gradient(135deg, #9FC7BF 0%, #113739 100%); }
.port-card .img.v4 { background: linear-gradient(135deg, #BED1D0 0%, #5A6781 100%); }
.port-card .img.v5 { background: linear-gradient(135deg, #113739 0%, #0220B3 100%); }
.port-card .img.v6 { background: linear-gradient(135deg, #356967 0%, #A6C3E5 100%); }
.port-card .img.v7 { background: linear-gradient(135deg, #152647 0%, #BED1D0 100%); }
.port-card .img.v8 { background: linear-gradient(140deg, #9FC7BF 0%, #356967 100%); }
.port-placeholder { font-family: var(--font-body); font-size: 10.5px; font-weight: 500; color: rgba(255,255,255,0.55); letter-spacing: 0.24em; text-transform: uppercase; position: absolute; bottom: 16px; left: 18px; }
.port-card .body { padding: 22px 4px 4px; }
.port-card .tag-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.port-card .tag { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bc-teal); }
.port-card .dot { width: 3px; height: 3px; background: var(--bc-mist); border-radius: 50%; }
.port-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 23px; letter-spacing: -0.015em; color: var(--bc-navy); margin: 0 0 6px; line-height: 1.2; }
.port-card p { font-family: var(--font-body); font-size: 13.5px; line-height: 1.5; color: var(--fg-2); margin: 0; font-weight: 400; }

.port-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(17,55,57,0.92) 100%); opacity: 0; transition: opacity 420ms var(--ease-out); display: flex; flex-direction: column; justify-content: flex-end; padding: 36px; color: #fff; }
.port-card:hover .overlay { opacity: 1; }
.port-card .overlay .kicker { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bc-sage); margin-bottom: 8px; }
.port-card .overlay p { color: rgba(255,255,255,0.92); font-size: 13.5px; margin: 6px 0 0; max-width: 44ch; line-height: 1.55; }

.pipeline-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--bc-navy); color: #fff; margin-top: 56px; min-height: 500px; }
@media (max-width: 800px) { .pipeline-feature { grid-template-columns: 1fr; } }
.pipeline-feature .img { background: linear-gradient(135deg, #152647, #356967); display: grid; place-items: center; position: relative; overflow: hidden; min-height: 320px; }
.pipeline-feature .img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 30% 70%, rgba(159,199,191,0.28), transparent 70%); }
.pipeline-feature .placeholder { font-family: var(--font-body); font-size: 10.5px; font-weight: 500; color: rgba(255,255,255,0.55); letter-spacing: 0.24em; text-transform: uppercase; position: absolute; bottom: 24px; left: 28px; z-index: 2; }
.pipeline-feature .body { padding: 64px 52px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 720px) { .pipeline-feature .body { padding: 40px 28px; } }
.pipeline-feature .kicker { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bc-sky); margin-bottom: 20px; }
.pipeline-feature h3 { font-family: var(--font-display); font-weight: 400; font-size: 44px; letter-spacing: -0.025em; color: #fff; margin: 0 0 18px; line-height: 1.05; }
.pipeline-feature p { font-family: var(--font-body); font-weight: 300; font-size: 15.5px; line-height: 1.7; color: rgba(255,255,255,0.78); margin: 0 0 32px; max-width: 48ch; }
.pipeline-feature .meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.14); }
.pipeline-feature .meta-grid .k { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bc-sky); margin-bottom: 6px; }
.pipeline-feature .meta-grid .v { font-family: var(--font-display); font-size: 15px; color: #fff; font-weight: 500; letter-spacing: 0.01em; }

/* 77MiMo imagery — cross-fading renderings */
.pipeline-feature .mimo-img { background: #0a1833; min-height: 520px; }
.pipeline-feature .mimo-img::after { display: none; }
.pipeline-feature .mimo-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.1s ease; }
.pipeline-feature .mimo-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,24,51,0.55) 0%, rgba(10,24,51,0.15) 35%, transparent 70%); z-index: 2; pointer-events: none; }
.pipeline-feature .mimo-dots { position: absolute; right: 24px; bottom: 26px; z-index: 3; display: flex; gap: 8px; }
.pipeline-feature .mimo-dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5); background: rgba(255,255,255,0.1); padding: 0; cursor: pointer; transition: all 0.3s ease; }
.pipeline-feature .mimo-dot:hover { background: rgba(255,255,255,0.3); border-color: rgba(255,255,255,0.85); }
.pipeline-feature .mimo-dot.active { background: var(--bc-gold); border-color: var(--bc-gold); width: 22px; border-radius: 4px; }
.pipeline-feature .mimo-tag { position: absolute; left: 24px; bottom: 22px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; background: rgba(10,24,51,0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; font-family: var(--font-body); font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.88); }
.pipeline-feature .mimo-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bc-sky); box-shadow: 0 0 0 4px rgba(159,199,191,0.18); }

/* Stacked pipeline features (77MiMO + Snapper) */
.pipeline-stack { display: flex; flex-direction: column; gap: 32px; margin-top: 56px; }
.pipeline-stack .pipeline-feature { margin-top: 0; }

/* Reversed layout — body on left, image on right */
.pipeline-feature-reverse { grid-template-columns: 1fr 1.1fr; }
@media (max-width: 800px) {
  .pipeline-feature-reverse { grid-template-columns: 1fr; }
  .pipeline-feature-reverse .body { order: 2; }
  .pipeline-feature-reverse .img { order: 1; }
}

/* Partner trio — Developer / Investor / GC */
.partner-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.ptrio-cell { padding: 0 20px; border-left: 1px solid rgba(255,255,255,0.10); display: flex; flex-direction: column; gap: 10px; min-height: 56px; }
.ptrio-cell:first-child { padding-left: 0; border-left: none; }
.ptrio-k {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bc-sky);
}
.ptrio-v { display: flex; align-items: center; min-height: 32px; }
.ptrio-name {
  font-family: var(--font-display);
  font-size: 15px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.ptrio-logo { display: inline-flex; align-items: center; height: 32px; }
.ptrio-logo img {
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* Boscan Construction Portfolio CTA */
.portfolio-cta {
  margin-top: 56px;
  padding: 36px 44px;
  background: var(--bc-bone);
  border: 1px solid var(--border-1);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
@media (max-width: 720px) {
  .portfolio-cta { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
}
.pcta-copy { display: flex; flex-direction: column; gap: 10px; max-width: 60ch; }
.pcta-eyebrow {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bc-teal);
}
.pcta-copy p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0;
  font-weight: 300;
}
.pcta-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  background: var(--bc-navy);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--bc-navy);
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.pcta-link:hover { background: var(--bc-teal); border-color: var(--bc-teal); transform: translateY(-1px); }
.pcta-link svg { transition: transform 0.2s ease; }
.pcta-link:hover svg { transform: translate(2px, -2px); }

/* ============ LEADERSHIP ============ */
.leadership { background: var(--bc-bone); }
.founder-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; margin-bottom: 64px; }
@media (max-width: 900px) { .founder-block { grid-template-columns: 1fr; gap: 32px; } }
.founder-block > * { min-width: 0; }
.founder-photo-wrap { position: relative; padding: 18px 18px 0; }
.founder-photo-wrap::before { content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 54px; border: 1px solid rgba(17,55,57,0.18); pointer-events: none; }
.founder-photo-wrap::after { content: ""; position: absolute; left: 36px; right: 36px; top: 36px; bottom: 90px; border: 1px solid rgba(155,182,175,0.35); pointer-events: none; opacity: 0; transform: scale(0.98); transition: opacity 900ms var(--ease-out) 260ms, transform 900ms var(--ease-out) 260ms; }
.founder-photo-wrap.in::after { opacity: 1; transform: scale(1); }
.founder-photo { aspect-ratio: 4/5; background: linear-gradient(160deg, var(--bc-navy) 0%, var(--bc-deep-teal) 100%); position: relative; overflow: hidden; display: grid; place-items: center; box-shadow: 0 30px 60px -30px rgba(0,21,118,0.28), 0 10px 24px -12px rgba(17,55,57,0.18); }
.founder-photo.has-img { background: var(--bc-navy); }
.founder-photo.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(0.05) contrast(1.04) saturate(1.18) sepia(0.10) brightness(0.98); transition: filter 620ms var(--ease-out), transform 1400ms var(--ease-out); }
.founder-photo.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,43,52,0.28) 100%); z-index: 3; pointer-events: none; }
.founder-photo.has-img:hover img { filter: grayscale(0) contrast(1.06) saturate(1.22) sepia(0.08); transform: scale(1.025); }
.founder-photo.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,43,52,0.28) 100%), linear-gradient(160deg, rgba(255,210,160,0.10) 0%, transparent 45%, rgba(220,160,90,0.06) 100%); z-index: 3; pointer-events: none; mix-blend-mode: normal; }

/* Corner brackets — draw in on reveal */
.founder-photo .corner { position: absolute; width: 28px; height: 28px; z-index: 4; pointer-events: none; opacity: 0; transition: opacity 700ms var(--ease-out) 500ms; }
.founder-photo-wrap.in .corner { opacity: 1; }
.founder-photo .corner.tl { top: 10px; left: 10px; border-top: 1px solid var(--bc-teal); border-left: 1px solid var(--bc-teal); }
.founder-photo .corner.tr { top: 10px; right: 10px; border-top: 1px solid var(--bc-teal); border-right: 1px solid var(--bc-teal); }
.founder-photo .corner.bl { bottom: 10px; left: 10px; border-bottom: 1px solid var(--bc-teal); border-left: 1px solid var(--bc-teal); }
.founder-photo .corner.br { bottom: 10px; right: 10px; border-bottom: 1px solid var(--bc-teal); border-right: 1px solid var(--bc-teal); }

/* Sheen sweep on hover */
.founder-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.14) 50%, transparent 70%); transform: translateX(-110%); transition: transform 1200ms var(--ease-out); pointer-events: none; z-index: 2; }
.founder-photo:hover::after { transform: translateX(110%); }

/* Caption — editorial plate sits below the image, inside the wrap */
.founder-photo-caption { display: flex; align-items: baseline; gap: 10px; padding: 18px 2px 0; font-family: var(--font-body); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-3); }
.founder-photo-caption .cap-dash { color: var(--bc-teal); font-weight: 500; }
.founder-photo-caption .cap-text { color: var(--bc-deep-teal); font-weight: 600; }
.founder-photo-caption .cap-sep { color: var(--border-2); }
.founder-photo-caption .cap-meta { font-weight: 400; }
.founder-info .kicker { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bc-teal); margin-bottom: 16px; }
.founder-info h3 { font-family: var(--font-display); font-weight: 400; font-size: 52px; letter-spacing: -0.028em; color: var(--bc-navy); margin: 0 0 10px; line-height: 1.02; }
.founder-info .role { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--bc-teal); margin-bottom: 28px; }
.founder-info p { font-family: var(--font-body); font-weight: 300; font-size: 16px; line-height: 1.75; color: var(--fg-2); margin: 0 0 18px; max-width: 60ch; }

/* ============ CAREER V2 — Interactive timeline ============ */
.career-v2 { margin: 0 0 96px; padding: 56px 48px; background: #fff; border: 1px solid var(--border-1); position: relative; overflow: hidden; }
.career-v2::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--bc-teal), transparent); opacity: 0; transition: opacity 600ms; }
.career-v2.in::before { opacity: 0.4; }

.career-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 44px; gap: 24px; flex-wrap: wrap; }
.career-label { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bc-teal); display: flex; align-items: center; gap: 10px; }
.career-label .dash { color: var(--border-2); }
.career-years { font-family: var(--font-display); font-size: 15px; font-style: italic; color: var(--fg-2); font-weight: 300; }

.career-rail-wrap { position: relative; margin: 0 12px 56px; }
.career-rail-line { position: absolute; top: 11px; left: 0; right: 0; height: 2px; background: var(--border-1); }
.career-rail-progress { position: absolute; top: 11px; left: 0; height: 2px; background: var(--bc-teal); transition: width 640ms cubic-bezier(0.65, 0, 0.35, 1); }
.career-v2:not(.in) .career-rail-progress { width: 0 !important; }

.career-dots { display: flex; justify-content: space-between; position: relative; }
.career-dot { background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 14px; position: relative; }
.career-dot .dot-inner { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--border-2); transition: all 280ms var(--ease-out); position: relative; z-index: 1; }
.career-dot .dot-inner::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--bc-teal); opacity: 0; transform: scale(0.7); transition: all 360ms var(--ease-out); }
.career-dot.past .dot-inner { border-color: var(--bc-teal); background: var(--bc-teal); }
.career-dot.active .dot-inner { background: var(--bc-deep-teal); border-color: var(--bc-deep-teal); transform: scale(1.25); box-shadow: 0 4px 12px rgba(14,35,45,0.25); }
.career-dot.active .dot-inner::after { opacity: 1; transform: scale(1); }
.career-dot .dot-year { font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; color: var(--fg-3); transition: color 240ms, font-size 240ms; white-space: nowrap; }
.career-dot.active .dot-year { color: var(--bc-navy); font-weight: 600; }
.career-dot:hover .dot-inner { transform: scale(1.15); }

@media (max-width: 768px) {
  .career-dot .dot-year { font-size: 10px; }
}

/* Active detail cards */
.career-detail { position: relative; min-height: 360px; }
.career-card { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.4fr 1.6fr; gap: 36px; padding: 32px 0; opacity: 0; transform: translateY(12px); transition: opacity 440ms var(--ease-out), transform 440ms var(--ease-out); pointer-events: none; align-items: start; }
.career-card.on { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (max-width: 768px) { .career-card { grid-template-columns: 1fr; gap: 16px; } }

.career-card-left .pill { display: inline-block; padding: 4px 12px; background: var(--bc-teal); color: #fff; font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; }
.career-card-left .year-big { font-family: var(--font-display); font-weight: 300; font-size: 68px; line-height: 0.95; color: var(--bc-navy); letter-spacing: -0.03em; }

.career-card-mid .co-big { font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--bc-navy); margin-bottom: 6px; letter-spacing: -0.015em; line-height: 1.15; }
.career-card-mid .role-line { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--bc-deep-teal); margin-bottom: 4px; letter-spacing: 0.02em; }
.career-card-mid .proj-line { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--fg-3); font-style: italic; }

.career-card-right p { font-family: var(--font-body); font-size: 15px; line-height: 1.7; color: var(--fg-2); font-weight: 300; margin: 0; border-left: 2px solid var(--bc-teal); padding-left: 20px; }
.career-card-right-image { position: relative; width: 100%; aspect-ratio: 4/3; background: var(--bc-bone); border: 1px solid var(--border-1); border-radius: 14px; overflow: hidden; }
.career-card-right-image:has(.career-card-logo) { background: #fff; border-color: transparent; }
.career-card-right-image img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.career-card-logo { width: 100%; height: 100%; display: grid; place-items: center; background: transparent; padding: 32px; }
.career-card-logo img { width: auto; height: auto; object-fit: contain; }
/* Equalize visible frame size: the two logos have different internal padding,
   so we scale each to land on the same outer-frame box (~74% of the card). */
.career-card-logo-construction img { max-width: 84%; max-height: 84%; }
.career-card-logo-capital img { max-width: 88%; max-height: 88%; }
.career-card-logo-capital-text { padding: 28px; }
.career-capital-mark { display: flex; align-items: center; justify-content: center; gap: 26px; width: 100%; }
.career-capital-mark .career-capital-img { width: 132px; height: 132px; max-width: none; max-height: none; object-fit: contain; flex-shrink: 0; }
.career-capital-name { font-family: var(--font-mark); font-weight: 200; color: var(--bc-navy); font-size: 40px; letter-spacing: 0.28em; white-space: nowrap; }
@media (max-width: 720px) {
  .career-capital-mark .career-capital-img { width: 92px; height: 92px; }
  .career-capital-name { font-size: 26px; letter-spacing: 0.22em; }
  .career-capital-mark { gap: 16px; }
}
.career-card-right-image.img-missing::after { content: 'Hard Rock Guitar Hotel'; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-body); font-size: 12px; color: var(--fg-3); letter-spacing: 0.16em; text-transform: uppercase; }

.team-head { padding-top: 64px; border-top: 1px solid var(--border-1); }
.team-head h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -0.022em; color: var(--bc-navy); margin: 0 0 18px; }
.team-head p { font-family: var(--font-body); font-weight: 300; font-size: 17px; color: var(--fg-2); margin: 0 0 56px; max-width: 58ch; line-height: 1.65; }
.team-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card { cursor: default; }
.team-card .photo { aspect-ratio: 4/5; background: linear-gradient(160deg, var(--bc-mist), var(--bc-sage)); position: relative; overflow: hidden; display: grid; place-items: center; margin-bottom: 14px; transition: all 420ms var(--ease-out); }
.team-card .photo.v2 { background: linear-gradient(160deg, var(--bc-sky), var(--bc-mist)); }
.team-card .photo.v3 { background: linear-gradient(160deg, var(--bc-sage), var(--bc-teal)); }
.team-card .photo.v4 { background: linear-gradient(160deg, var(--bc-navy), var(--bc-teal)); }
.team-card .photo.v5 { background: linear-gradient(160deg, var(--bc-mist), var(--bc-deep-teal)); }
.team-card .photo.v6 { background: linear-gradient(160deg, #A6C3E5, #152647); }
.team-card .photo.has-img { background: var(--bc-mist); }
.team-card .photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1);
  transform-origin: center top;
  filter: grayscale(1) contrast(1.06) brightness(1.02);
  transition: transform 620ms var(--ease-out), filter 620ms var(--ease-out);
}
.team-card .photo.has-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,35,45,0) 55%, rgba(14,35,45,0.18) 100%);
  pointer-events: none;
  transition: opacity 420ms;
}
.team-card:hover .photo.has-img img { filter: grayscale(0.15) contrast(1.04) brightness(1.03); }
.team-card:hover .photo.has-img::after { opacity: 0.4; }
.team-card .photo .initials { font-family: var(--font-display); font-weight: 400; font-size: 36px; color: rgba(255,255,255,0.4); letter-spacing: -0.02em; }
.team-card:hover .photo { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.team-card h4 { font-family: var(--font-display); font-weight: 500; font-size: 14.5px; letter-spacing: -0.005em; color: var(--bc-deep-teal); margin: 0 0 2px; line-height: 1.25; }
.team-card .role { font-family: var(--font-body); font-size: 11.5px; color: var(--bc-teal); font-weight: 400; line-height: 1.4; }

/* ============ PARTNERS ============ */
.partners { background: var(--bc-paper); padding: 96px 0; border-top: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1); }
.partners-head { max-width: 820px; margin: 0 auto 80px; text-align: center; }
.partners-head .eyebrow { justify-content: center; display: inline-flex; }
.partners-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; color: var(--bc-navy); margin: 20px 0 28px; }
.partners-title em { font-style: italic; color: var(--bc-teal); font-weight: 400; }
.partners-lede { font-family: var(--font-body); font-weight: 300; font-size: 16px; line-height: 1.75; color: var(--fg-2); margin: 0; text-wrap: pretty; }

.partners-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 900px; margin: 0 auto; }
@media (max-width: 700px) { .partners-logos { grid-template-columns: 1fr; } }
.partner-logo { background: #fff; border: 1px solid var(--border-1); padding: 56px 40px 36px; text-align: center; transition: all 380ms var(--ease-out); position: relative; }
.partner-logo::before, .partner-logo::after { content: ''; position: absolute; width: 14px; height: 14px; border: 1px solid var(--bc-teal); opacity: 0; transition: opacity 320ms, transform 320ms; }
.partner-logo::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; transform: translate(4px, 4px); }
.partner-logo::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; transform: translate(-4px, -4px); }
.partner-logo:hover { border-color: var(--bc-teal); transform: translateY(-4px); box-shadow: 0 20px 48px -24px rgba(14,35,45,0.22); }
.partner-logo:hover::before, .partner-logo:hover::after { opacity: 1; transform: translate(0, 0); }
.pl-mark { height: 88px; display: grid; place-items: center; color: var(--bc-navy); margin-bottom: 24px; transition: color 320ms; }
.pl-mark svg { max-width: 100%; height: 100%; }
.partner-logo:hover .pl-mark { color: var(--bc-teal); }
.pl-name { font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: -0.01em; color: var(--bc-navy); margin-bottom: 4px; }
.pl-role { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bc-teal); }

/* ============ TESTIMONIALS ============ */
.testimonials { background: var(--bc-navy); color: #fff; }
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .quotes-grid { grid-template-columns: 1fr; } }
.quote { padding: 44px 40px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); position: relative; transition: all 420ms var(--ease-out); }
.quote:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); transform: translateY(-4px); }
.quote .mark { font-family: var(--font-display); font-weight: 300; font-size: 72px; line-height: 0.6; color: var(--bc-sage); margin-bottom: 10px; }
.quote .text { font-family: var(--font-body); font-weight: 300; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.88); margin: 0 0 32px; }
.quote .author { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); }
.quote .avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--bc-sage), var(--bc-sky)); display: grid; place-items: center; font-family: var(--font-display); font-weight: 500; font-size: 13px; color: var(--bc-navy); flex-shrink: 0; }
.quote .author .name { font-family: var(--font-display); font-weight: 500; font-size: 14.5px; color: #fff; }
.quote .author .title { font-family: var(--font-body); font-size: 11px; color: var(--bc-sky); font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 3px; }

/* ============ CTA ============ */
.cta { background: var(--bc-deep-teal); color: #fff; padding: 180px 0; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 80% 50%, rgba(159,199,191,0.16), transparent 70%); pointer-events: none; }
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: end; position: relative; }
@media (max-width: 800px) { .cta-inner { grid-template-columns: 1fr; gap: 40px; } }
.cta h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(48px, 6.5vw, 104px); letter-spacing: -0.035em; line-height: 0.98; color: #fff; margin: 0; }
.cta h2 em { font-style: italic; color: var(--bc-sage); font-weight: 300; }
.cta-side p { font-family: var(--font-body); font-weight: 300; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.8); margin: 0 0 32px; }
.cta-contact { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.cta-contact a { font-family: var(--font-body); color: #fff; text-decoration: none; font-size: 14px; font-weight: 400; display: flex; align-items: center; gap: 14px; transition: color 240ms; }
.cta-contact a:hover { color: var(--bc-sage); }
.cta-contact .lbl { font-family: var(--font-body); font-size: 10.5px; color: var(--bc-sky); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; min-width: 80px; }

/* ============ FOOTER ============ */
.footer { background: var(--bc-navy); color: #fff; padding: 88px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.6fr 1fr; gap: 56px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.14); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { max-width: 360px; }
.footer-brand .brand-logo-mark { width: 56px; height: 56px; }
.footer-brand .brand-name { color: #fff; font-size: 22px; }
.footer-brand p { font-family: var(--font-body); font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.65); margin: 28px 0 0; font-weight: 300; }
.footer-col h4 { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bc-sky); margin: 0 0 22px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-col-menu ul { display: block; column-count: 2; column-gap: 32px; }
.footer-col-menu ul li { margin-bottom: 14px; break-inside: avoid; }
.footer-col-menu ul li:last-child { margin-bottom: 0; }
@media (max-width: 500px) { .footer-col-menu ul { column-count: 1; } }
.footer-col a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 400; opacity: 0.82; transition: all 240ms; border-bottom: 1px solid transparent; display: inline-block; }
.footer-col a:hover { opacity: 1; border-bottom-color: rgba(255,255,255,0.5); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; font-size: 12px; color: rgba(255,255,255,0.55); font-family: var(--font-body); font-weight: 300; }
@media (max-width: 600px) { .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; } }
.disclaimer { margin-top: 28px; font-size: 10.5px; color: rgba(255,255,255,0.4); line-height: 1.6; font-weight: 300; max-width: 90ch; font-style: italic; }

/* ============ ACCENT WORDS — animated vision/discipline ============ */
.accent-word {
  position: relative;
  display: inline-block;
  font-style: italic;
  color: var(--bc-teal);
  background: linear-gradient(90deg, var(--bc-teal) 0%, var(--bc-deep-teal) 50%, var(--bc-teal) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: accentShimmer 4.2s ease-in-out infinite;
  transition: transform 420ms var(--ease-out);
  cursor: default;
  padding: 0 0.08em 0.04em;
  margin: 0 -0.04em;
  overflow: visible;
}
.accent-word::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 2px;
  background: var(--bc-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 620ms var(--ease-out);
  opacity: 0.6;
}
.accent-word:hover { transform: translateY(-2px) rotate(-0.6deg); animation-play-state: paused; }
.accent-word:hover::after { transform: scaleX(1); }

/* Vision word — soft drift up */
.vision-word { animation-name: accentShimmer, visionFloat; animation-duration: 4.2s, 5.8s; animation-timing-function: ease-in-out, ease-in-out; animation-iteration-count: infinite, infinite; }

/* Discipline word — precise pulse */
.discipline-word { animation-name: accentShimmer, disciplinePulse; animation-duration: 4.6s, 6.4s; animation-timing-function: ease-in-out, ease-in-out; animation-iteration-count: infinite, infinite; }
.discipline-word::before {
  content: '';
  position: absolute;
  left: -6px; right: -6px; top: 6%; bottom: 10%;
  border: 1px solid var(--bc-teal);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 360ms, transform 360ms var(--ease-out);
  pointer-events: none;
}
.discipline-word:hover::before { opacity: 0.35; transform: scale(1); }

@keyframes accentShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes visionFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(-0.4deg); }
}
@keyframes disciplinePulse {
  0%, 100% { letter-spacing: normal; }
  50% { letter-spacing: 0.01em; }
}

@media (prefers-reduced-motion: reduce) {
  .accent-word, .vision-word, .discipline-word { animation: none; }
}

/* ============ SUBMARKETS — editorial, centered ============ */
.submarkets { background: var(--bc-bone); padding: 96px 0 104px; position: relative; }
.submarkets::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-2) 50%, transparent 100%);
}

.sm-head { text-align: center; max-width: 900px; margin: 0 auto 56px; }
.sm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bc-teal);
  margin-bottom: 28px;
}
.sm-eb-mark {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--bc-teal);
  opacity: 0.55;
}
.sm-eb-dot { color: var(--bc-teal); opacity: 0.7; font-weight: 400; }

.sm-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 4.4vw, 58px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--bc-navy);
  margin: 0 0 28px;
}
.sm-title em {
  font-style: italic;
  color: var(--bc-teal);
  font-weight: 300;
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  animation: smEmIn 900ms var(--ease-out) forwards;
}
.sm-head.in .sm-title em { animation-play-state: running; }
.sm-title em:nth-of-type(1) { animation-delay: 280ms; }
.sm-title em:nth-of-type(2) { animation-delay: 520ms; }
@keyframes smEmIn {
  0% { opacity: 0; transform: translateY(12px); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); }
}

.sm-lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 62ch;
  margin: 0 auto;
}

.sm-divider {
  height: 1px;
  background: var(--border-2);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity 900ms var(--ease-out), transform 1200ms var(--ease-out);
  margin: 48px 0;
}
.sm-divider.in { opacity: 1; transform: scaleX(1); }
.sm-divider-heavy { background: var(--bc-navy); opacity: 0.2; margin: 56px 0; }
.sm-divider-heavy.in { opacity: 0.22; }

/* RICKY — embedded investment return calculator */
.sm-ricky {
  margin-top: 56px;
  background: #f5f2ea;
  border: 1px solid var(--border-1);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 60px -32px rgba(14, 35, 45, 0.18);
}
.sm-ricky-frame {
  display: block;
  width: 100%;
  height: 1320px;
  border: 0;
  background: #f5f2ea;
}
@media (max-width: 720px) {
  .sm-ricky-frame { height: 1620px; }
}

/* MIAMI HOME PRICE — embedded comparison chart */
.sm-pricegraph {
  margin-top: 56px;
  background: #ffffff;
  border: 1px solid var(--border-1);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 60px -32px rgba(14, 35, 45, 0.18);
}
.sm-pricegraph-frame {
  display: block;
  width: 100%;
  height: 1080px; /* initial — JS resizes to content height on load */
  border: 0;
  background: #ffffff;
  overflow: hidden;
}

/* MIAMI HOME PRICE — embedded in Returns section between section 07 and Deal Structure */
.returns-priceframe {
  margin: 64px auto 80px;
  max-width: 920px;
  background: #ffffff;
  border: 1px solid var(--border-1);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 60px -32px rgba(14, 35, 45, 0.18);
}
.returns-priceframe-iframe {
  display: block;
  width: 100%;
  height: 1180px; /* initial — JS resizes to content height on load */
  border: 0;
  background: #ffffff;
  overflow: hidden;
}

.sm-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 8px 0;
}
@media (max-width: 900px) { .sm-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 520px) { .sm-grid { grid-template-columns: 1fr; } }

.sm-card {
  text-align: center;
  padding: 24px 18px 28px;
  position: relative;
  transition: transform 420ms var(--ease-out), opacity 420ms var(--ease-out);
  cursor: default;
}
.sm-card.dimmed { opacity: 0.38; }
.sm-card.active { transform: translateY(-4px); }

.sm-card-num {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--fg-3);
  margin-bottom: 14px;
  transition: color 320ms var(--ease-out);
}
.sm-card.active .sm-card-num { color: var(--bc-teal); }

.sm-card-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--bc-navy);
  margin-bottom: 10px;
  transition: color 320ms var(--ease-out);
}
.sm-card.active .sm-card-name { color: var(--bc-deep-teal); }

.sm-card-tag {
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--fg-3);
  font-weight: 400;
  max-width: 18ch;
  margin: 0 auto;
}

.sm-card-line {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) scaleX(0);
  width: 40%;
  height: 2px;
  background: var(--bc-teal);
  transform-origin: center;
  transition: transform 520ms var(--ease-out);
}
.sm-card.active .sm-card-line { transform: translateX(-50%) scaleX(1); }

.sm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  padding: 8px 0 0;
}
@media (max-width: 720px) { .sm-stats { grid-template-columns: 1fr; gap: 36px; } }

.sm-stat { padding: 0 16px; }
.sm-stat-v {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 54px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--bc-navy);
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sm-stat-vsub {
  font-size: 54px;
  letter-spacing: -0.025em;
  color: var(--bc-navy);
  font-weight: 300;
  line-height: 1;
  margin-top: 2px;
}
.sm-stat-k {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 4px;
}
.sm-stat-sub {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* ============ CAPITAL STRUCTURE ============ */
.capstruct { background: var(--bc-bone); padding: 96px 0; }
.capstruct-panel {
  background: #F3EFE6;
  padding: 64px 64px 72px;
  position: relative;
  border: 1px solid rgba(17,55,57,0.08);
}
@media (max-width: 900px) { .capstruct-panel { padding: 40px 28px 48px; } }

.capstruct-eyebrow { margin-bottom: 28px; }
.capstruct-eyebrow .cs-eb {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--bc-navy);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--bc-navy);
}

.capstruct-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 48px);
  letter-spacing: -0.022em;
  line-height: 1.08;
  color: var(--bc-navy);
  margin: 0 0 24px;
  max-width: 22ch;
}
.capstruct-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--bc-deep-teal);
}

.capstruct-lede {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--fg-2);
  font-weight: 400;
  max-width: 90ch;
  margin: 0 0 56px;
}

/* Diagram layout */
.capstruct-diagram {
  display: grid;
  grid-template-columns: 1fr 64px 1.25fr 64px 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 36px;
}
@media (max-width: 900px) {
  .capstruct-diagram {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cs-arrow { display: none !important; }
}

.cs-col { display: flex; flex-direction: column; }
.cs-col-label {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bc-gold, #C9A441);
  margin-bottom: 18px;
  text-align: center;
}
.cs-col-left .cs-col-label { text-align: left; padding-left: 4px; }
.cs-col-right .cs-col-label { text-align: left; padding-left: 4px; }
.cs-col-label-center { text-align: center; }

.cs-stack { display: flex; flex-direction: column; gap: 14px; flex: 1; justify-content: center; }

.cs-card {
  background: #fff;
  border: 1px solid rgba(17,55,57,0.1);
  padding: 20px 22px;
  transition: all 360ms var(--ease-out);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.cs-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--bc-teal);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 420ms var(--ease-out);
}
.cs-card.active { transform: translateX(4px); box-shadow: 0 14px 30px -18px rgba(0,21,118,0.22); border-color: rgba(17,55,57,0.2); }
.cs-card.active::before { transform: scaleY(1); }

.cs-card-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--bc-navy);
  margin-bottom: 4px;
}
.cs-card-tag {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--fg-3);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.cs-card-tag-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
}

/* Arrows */
.cs-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-3);
  position: relative;
  min-height: 100%;
}
.cs-arrow svg {
  width: 60px;
  height: 20px;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 820ms var(--ease-out), transform 820ms var(--ease-out);
}
.capstruct-panel.in .cs-arrow svg { opacity: 0.6; transform: translateX(0); }
.capstruct-panel.in .cs-arrow-left svg { transition-delay: 700ms; }
.capstruct-panel.in .cs-arrow-right svg { transition-delay: 1100ms; }

/* Project LLC vehicle card */
.cs-col-center { display: flex; flex-direction: column; }
.cs-vehicle {
  background: var(--bc-navy);
  color: #fff;
  padding: 44px 36px;
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 420ms var(--ease-out);
  overflow: hidden;
}
.cs-vehicle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 300px at 50% 30%, rgba(166,195,229,0.14), transparent 70%);
  pointer-events: none;
}
.cs-vehicle::after {
  content: "";
  position: absolute;
  left: -40%; top: -50%;
  width: 50%; height: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
  transform: rotate(18deg);
  animation: csSheen 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes csSheen {
  0%, 100% { transform: translateX(-20%) rotate(18deg); opacity: 0; }
  50% { transform: translateX(240%) rotate(18deg); opacity: 1; }
}
.cs-vehicle.active { transform: translateY(-4px); box-shadow: 0 26px 48px -24px rgba(0,21,118,0.4); }

.cs-vehicle-inner { position: relative; z-index: 2; text-align: center; }
.cs-vehicle-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 16px;
}
.cs-vehicle-rule {
  width: 40px;
  height: 1px;
  background: rgba(159,199,191,0.5);
  margin: 0 auto 16px;
}
.cs-vehicle-bullets {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
  font-weight: 400;
}

/* Corner notches on vehicle */
.cs-vehicle-corner {
  position: absolute;
  width: 14px; height: 14px;
  z-index: 3;
  opacity: 0;
  transition: opacity 620ms var(--ease-out) 900ms;
}
.capstruct-panel.in .cs-vehicle-corner { opacity: 1; }
.cs-vc-tl { top: 8px; left: 8px; border-top: 1px solid var(--bc-sage); border-left: 1px solid var(--bc-sage); }
.cs-vc-tr { top: 8px; right: 8px; border-top: 1px solid var(--bc-sage); border-right: 1px solid var(--bc-sage); }
.cs-vc-bl { bottom: 8px; left: 8px; border-bottom: 1px solid var(--bc-sage); border-left: 1px solid var(--bc-sage); }
.cs-vc-br { bottom: 8px; right: 8px; border-bottom: 1px solid var(--bc-sage); border-right: 1px solid var(--bc-sage); }

/* Flow note */
.cs-flow-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(17,55,57,0.1);
  width: 100%;
}
.cs-flow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bc-teal);
  animation: csDot 2.4s ease-in-out infinite;
}
@keyframes csDot {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); box-shadow: 0 0 0 6px rgba(155,182,175,0.2); }
}

/* ============ LP RETURN CALCULATOR ============ */
.calc { background: var(--bc-bone); padding: 32px 0 140px; }
.calc-panel {
  background: #F3EFE6;
  border: 1px solid rgba(17,55,57,0.08);
  padding: 48px 56px 36px;
  border-radius: 6px;
}
@media (max-width: 720px) { .calc-panel { padding: 32px 24px; } }

.calc-header { margin-bottom: 32px; }
.calc-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--bc-gold, #B8A77C);
  margin-bottom: 12px;
  font-weight: 500;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.calc-eyebrow .mark { font-family: var(--font-display); font-weight: 400; font-size: 13px; letter-spacing: 0.04em; color: var(--bc-navy); padding: 4px 10px; border: 1px solid var(--bc-teal); background: transparent; }
.partners-eyebrow { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bc-teal); margin: 0 0 24px; }
.calc-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 42px);
  color: var(--bc-navy);
  letter-spacing: -0.015em;
  line-height: 1.15;
  font-weight: 400;
  margin: 0;
}
.calc-title em { font-style: italic; color: var(--bc-deep-teal); font-weight: 400; }
.calc-rule { width: 48px; height: 1px; background: var(--bc-gold, #B8A77C); margin-top: 18px; }
.calc-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 640px;
  font-weight: 400;
}

.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 720px) { .calc-inputs { grid-template-columns: 1fr; } }

.calc-input-card {
  background: #fff;
  border: 1px solid rgba(17,55,57,0.1);
  border-radius: 8px;
  padding: 20px 24px;
}
.calc-input-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.calc-input-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-2);
  font-weight: 600;
  text-transform: uppercase;
}
.calc-input-value {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--bc-navy);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.calc-range {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: #e5e3dc;
  outline: none;
  margin: 10px 0 8px;
  cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bc-navy);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1), 0 4px 10px -4px rgba(0,21,118,0.3);
  transition: transform 200ms var(--ease-out);
}
.calc-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-range::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bc-navy);
  cursor: pointer;
  border: 3px solid #fff;
}
.calc-range-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 10.5px;
  color: var(--fg-3);
  letter-spacing: 0.05em;
}

.calc-results {
  background: var(--bc-navy);
  color: #fff;
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  text-align: center;
}
@media (max-width: 600px) {
  .calc-results { grid-template-columns: 1fr; gap: 24px; }
  .calc-result-cell.middle { border-left: none; border-right: none; border-top: 1px solid rgba(255,255,255,0.2); border-bottom: 1px solid rgba(255,255,255,0.2); padding: 16px 0; }
}
.calc-result-cell.middle {
  border-left: 1px solid rgba(255,255,255,0.2);
  border-right: 1px solid rgba(255,255,255,0.2);
}
.calc-result-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--bc-gold, #B8A77C);
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
}
.calc-result-value {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  transition: color 240ms var(--ease-out);
}

.calc-waterfall {
  background: #fff;
  border: 1px solid rgba(17,55,57,0.1);
  border-radius: 8px;
  overflow: hidden;
}
.calc-waterfall-header {
  padding: 12px 22px;
  background: rgba(184,167,124,0.1);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--bc-gold, #B8A77C);
  border-bottom: 1px solid rgba(17,55,57,0.08);
  font-weight: 600;
  text-transform: uppercase;
}
.calc-waterfall-row {
  display: grid;
  grid-template-columns: 40px 1fr 110px 140px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(17,55,57,0.08);
  align-items: center;
}
.calc-waterfall-row:last-child { border-bottom: none; }
.calc-waterfall-row.lp-split { background: rgba(184,167,124,0.06); }
.calc-tier-num {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--bc-navy);
  font-weight: 500;
}
.calc-tier-title {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--bc-navy);
  font-weight: 500;
}
.calc-tier-sub {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--fg-3);
  margin-top: 2px;
}
.calc-tier-dest {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--fg-3);
  text-align: right;
}
.calc-tier-amount {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--bc-navy);
  text-align: right;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.calc-chart-card {
  background: #fff;
  border: 1px solid rgba(17,55,57,0.1);
  border-radius: 8px;
  padding: 22px 26px 18px;
  margin-top: 20px;
}
.calc-chart-header {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--bc-gold, #B8A77C);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.calc-chart-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--bc-navy, #1a2847);
  font-weight: 500;
  margin-bottom: 14px;
}
.calc-chart-container {
  position: relative;
  width: 100%;
  height: 340px;
}
.calc-chart-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.calc-chart-legend {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  color: #6b6b66;
}
.calc-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.calc-legend-swatch {
  width: 18px;
  height: 3px;
  border-radius: 2px;
}

.calc-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(17,55,57,0.1);
  font-family: var(--font-body);
  font-size: 10.5px;
  color: var(--fg-3);
  line-height: 1.6;
  font-style: italic;
}

/* ---- Editable LP investment input ---- */
.calc-input-value.editable {
  background: transparent;
  border: none;
  border-bottom: 1px dashed var(--bc-gold, #B8A77C);
  text-align: right;
  width: 160px;
  padding: 0 0 2px 0;
  outline: none;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--bc-deep-teal, #1a2847);
  font-weight: 500;
  cursor: text;
  transition: border-color 0.15s ease;
}
.calc-input-value.editable:hover { border-bottom-color: var(--bc-deep-teal, #1a2847); }
.calc-input-value.editable:focus { border-bottom: 1px solid var(--bc-deep-teal, #1a2847); }

/* ---- GP Co-Investment mini card under LP slider ---- */
.calc-gp-mini {
  margin-top: 16px;
  padding: 10px 14px;
  background: rgba(184,167,124,0.06);
  border: 1px solid rgba(17,55,57,0.1);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-gp-mini-label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
}
.calc-gp-mini-value {
  font-family: var(--font-display);
  font-size: 17px;
  color: #6b6b66;
  font-weight: 500;
  line-height: 1;
}

/* ---- Project ROI card: centered + compact ---- */
.calc-roi-card { align-self: center; padding: 16px 20px; }
.calc-roi-top {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.calc-roi-card .calc-input-label,
.calc-roi-card .calc-input-value { text-align: center; }

/* ---- Greyed-out GP tier row in waterfall ---- */
.calc-waterfall-row.gp-tier .calc-tier-num,
.calc-waterfall-row.gp-tier .calc-tier-title { color: #888; }
.calc-waterfall-row.gp-tier .calc-tier-sub,
.calc-waterfall-row.gp-tier .calc-tier-dest { color: #aaa; }
.calc-waterfall-row.gp-tier .calc-tier-amount {
  color: #888;
  font-style: italic;
  font-weight: 400;
}

/* ============ LP RETURN CHART ============ */
.lpchart { background: var(--bc-bone); padding: 100px 0 120px; }
.lpchart .sec-head { margin-bottom: 40px; }

.lpchart-card {
  background: #fff;
  border: 1px solid rgba(17,55,57,0.12);
  padding: 36px 40px 32px;
}

.lpchart-controls {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 48px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(17,55,57,0.08);
  margin-bottom: 28px;
}
@media (max-width: 820px) {
  .lpchart-controls { grid-template-columns: 1fr; gap: 24px; }
}

.lpchart-input-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.lpchart-input-label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-weight: 500;
}
.lpchart-input-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--bc-navy);
  letter-spacing: -0.01em;
}
.lpchart-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: rgba(17,55,57,0.12);
  outline: none;
  cursor: pointer;
}
.lpchart-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--bc-navy);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(17,55,57,0.3);
  border-radius: 50%;
  cursor: pointer;
}
.lpchart-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--bc-navy);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(17,55,57,0.3);
  border-radius: 50%;
  cursor: pointer;
}
.lpchart-range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
}

.lpchart-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-self: end;
  text-align: right;
}
@media (max-width: 820px) {
  .lpchart-legend { justify-self: start; text-align: left; }
}
.lpchart-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--fg-2);
  justify-content: flex-end;
}
@media (max-width: 820px) {
  .lpchart-legend-item { justify-content: flex-start; }
}
.lpchart-legend-item em {
  font-style: normal;
  color: var(--fg-3);
  font-size: 11px;
  margin-left: 4px;
}
.lpchart-legend-bar {
  width: 14px;
  height: 14px;
  background: linear-gradient(180deg, #2c5a7a, #1a3a52);
  border: 1px solid rgba(17,55,57,0.35);
  flex-shrink: 0;
}
.lpchart-legend-line {
  width: 18px;
  height: 2.5px;
  background: var(--bc-gold);
  flex-shrink: 0;
  border-radius: 2px;
}

.lpchart-svg-wrap {
  position: relative;
  width: 100%;
}
.lpchart-svg {
  width: 100%;
  height: auto;
  display: block;
  font-family: var(--font-body);
}
.lpchart-tick {
  font-size: 11px;
  fill: var(--fg-3);
  font-family: var(--font-body);
}
.lpchart-tick-right { fill: var(--bc-gold); }
.lpchart-axis-title {
  font-size: 11px;
  fill: var(--fg-2);
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.lpchart-tooltip {
  position: absolute;
  top: 12px;
  transform: translateX(-50%);
  background: var(--bc-navy);
  color: #fff;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.5;
  min-width: 200px;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(17,55,57,0.2);
}
.lpchart-tooltip-head {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bc-gold);
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.lpchart-tooltip-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.lpchart-tooltip-row span { color: rgba(255,255,255,0.7); }
.lpchart-tooltip-row strong {
  font-family: var(--font-display);
  font-weight: 500;
  color: #fff;
}

.lpchart-note {
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(184,167,124,0.08);
  border-left: 2px solid var(--bc-gold);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
  color: var(--fg-2);
}

/* ============ GLOSSARY TOOLTIPS ============ */
.gloss-term {
  position: relative;
  display: inline;
  cursor: help;
  border-bottom: 1px dotted currentColor;
  text-decoration: none;
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out);
  outline: none;
}
.gloss-term:hover,
.gloss-term:focus-visible,
.gloss-term.is-open {
  color: var(--bc-teal);
  border-bottom-color: var(--bc-teal);
  border-bottom-style: solid;
}
/* On dark backgrounds, lift to sage so the underline reads */
.on-dark .gloss-term,
.stats .gloss-term,
.hero .gloss-term {
  border-bottom-color: rgba(255,255,255,0.45);
}
.on-dark .gloss-term:hover,
.on-dark .gloss-term:focus-visible,
.on-dark .gloss-term.is-open,
.stats .gloss-term:hover,
.stats .gloss-term.is-open {
  color: var(--bc-sage);
  border-bottom-color: var(--bc-sage);
}

.gloss-bubble {
  position: fixed;
  width: 280px;
  z-index: 9999;
  background: var(--bc-navy);
  color: #fff;
  padding: 14px 16px 16px;
  border-radius: 10px;
  box-shadow: 0 18px 48px -12px rgba(21,38,71,0.45), 0 4px 14px -2px rgba(21,38,71,0.18);
  font-family: var(--font-body);
  pointer-events: none;
  animation: glossFade 180ms var(--ease-out) both;
}
@keyframes glossFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.gloss-top { transform: translateY(-100%); }
.gloss-bottom { transform: translateY(0); }

.gloss-bubble-term {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--bc-sage);
  margin-bottom: 6px;
}
.gloss-bubble-def {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
  font-weight: 300;
}


/* ============================================================ */
/* ============ MOBILE POLISH (≤ 720px / ≤ 480px) ============ */
/* ============================================================ */
/* A consolidated pass that fixes layout, density, and graphics
   so every section renders cleanly on phones without cut-offs. */

@media (max-width: 720px) {
  /* ---- Section heads & global typography ---- */
  .sec-head { margin-bottom: 48px; }
  .sec-head h2 { font-size: clamp(30px, 8.5vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
  .sec-head p { font-size: 16px; line-height: 1.6; }
  .eyebrow { font-size: 10px; }

  /* ---- HERO ---- */
  .hero-title { font-size: clamp(38px, 10.5vw, 64px); line-height: 1; letter-spacing: -0.025em; }
  .hero-top { margin-bottom: 28px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: 0.22em; align-items: flex-start; }
  .hero-eyebrow .dot { margin-top: 5px; flex-shrink: 0; }
  .hero-eyebrow-text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; line-height: 1.4; }
  .hero-eyebrow-line1::after { content: none; }
  .hero-eyebrow-line2 { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
  .hero-eyebrow-line2 > span:not(.hero-eyebrow-sep) + span:not(.hero-eyebrow-sep)::before { content: none; }
  .hero-eyebrow-sep { display: inline; opacity: 0.5; }

  /* ---- WHO WE ARE / FACTS ---- */
  .who-fact { padding-right: 16px; }
  .who-fact .v { font-size: 18px; }
  .who-fact .k { font-size: 9.5px; letter-spacing: 0.2em; margin-bottom: 10px; }

  /* ---- PILLARS ---- */
  .pillar-v2 { padding: 28px !important; }

  /* Sign-off: stack the three phrases vertically, centered, hide separators */
  .pillars-signoff { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 22px; line-height: 1.2; }
  .pillars-signoff .sep { display: none; }
  .pillars-signoff .word { display: block; text-align: center; }

  /* ---- STATS (big numerals) ---- */
  .stats-grid.big .stat { padding: 36px 28px !important; }
  .stats-grid.big .stat .num { font-size: clamp(40px, 12vw, 64px); }
  .stats-grid.big .stat .label { font-size: 10px; margin-bottom: 18px; letter-spacing: 0.2em; }
  .stats-grid.big .stat .desc { font-size: 13.5px; line-height: 1.55; }

  /* ---- PROCESS ---- */
  .process-panel { padding: 32px 24px; }
  .process-panel .step-num { font-size: 140px; top: 12px; right: 12px; opacity: 0.06; }
  .process-panel h3 { font-size: 26px; }
  .process-panel .lead { font-size: 15px; }
  .process-nav { padding: 0 32px 12px 0; position: relative; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .process-nav button { padding: 12px 16px; font-size: 13px; white-space: nowrap; scroll-snap-align: start; flex-shrink: 0; }
  /* Scroll hint: a soft fade on the right edge + a small chevron, both fade
     out once the user has scrolled the rail (which sets data-scrolled). */
  .process-nav-wrap { position: relative; }
  .process-nav-wrap::after {
    content: '›';
    position: absolute;
    right: 4px; top: 0;
    height: calc(100% - 12px);
    display: flex; align-items: center;
    padding: 0 8px 0 16px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, var(--bc-bone) 50%);
    color: var(--bc-teal);
    font-family: var(--font-display);
    font-size: 22px;
    pointer-events: none;
    transition: opacity 200ms;
    animation: processHintNudge 1.6s ease-in-out infinite;
  }
  .process-nav-wrap[data-scrolled="true"]::after { opacity: 0; }
  @keyframes processHintNudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-4px); }
  }

  /* ---- TIMELINE (the 5-phase rail) ---- */
  /* Hide the horizontal rail + markers on mobile — they're cramped and
     the vertical phase list below already conveys the same information. */
  .timeline .tl-rail,
  .timeline .tl-markers,
  .timeline .tl-header { display: none; }
  .tl-container { margin-top: 32px; }
  .tl-phase { padding: 18px 0 18px 18px; }
  .tl-phase h4 { font-size: 18px; }
  .tl-phase .mo { font-size: 10px; }
  .tl-phase p { font-size: 13.5px; line-height: 1.55; }

  /* ---- WATERFALL: redesigned mobile layout ----
     The cascading offset and side-by-side detail panel don't work on phones.
     Instead, reset the cascade, show ALL info inline in each step (which
     becomes an accordion), and hide the right-hand visual panel since its
     contents now live within the active step. */
  .wf-steps { padding: 0; }
  .wf-step:nth-child(n) { margin-left: 0; }
  .wf-step {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    padding: 18px 18px !important;
    gap: 4px 14px;
    border-left: 3px solid transparent;
  }
  .wf-step.active { border-left-color: var(--bc-teal); background: #fff; }
  /* The vertical "spill" between steps is no longer accurate after we drop
     the cascade indent; hide it on mobile. */
  .wf-step::before, .wf-step::after { display: none !important; }
  .wf-step .wf-num { grid-row: 1; grid-column: 1; }
  .wf-step .wf-body { grid-row: 1; grid-column: 2; }
  .wf-step .wf-tier { font-size: 18px; min-width: 36px; }
  .wf-step .wf-title { font-size: 15px; }
  .wf-step .wf-detail { font-size: 13px; line-height: 1.55; }

  /* Inline detail panel inside each step, only visible when active */
  .wf-step .wf-inline-detail {
    grid-row: 2; grid-column: 1 / -1;
    margin-top: 14px;
    padding: 16px 16px 18px;
    background: var(--bc-navy);
    color: #fff;
    border-radius: 4px;
    display: none;
  }
  .wf-step.active .wf-inline-detail { display: block; }
  .wf-inline-detail .wf-inline-tier { font-family: var(--font-body); font-size: 9.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bc-sky); margin-bottom: 10px; }
  .wf-inline-detail p { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.85); margin: 0 0 14px; }
  .wf-inline-detail .wf-inline-bar { height: 14px; background: rgba(255,255,255,0.1); display: flex; overflow: hidden; margin-bottom: 12px; }
  .wf-inline-detail .wf-inline-bar > div { transition: flex 700ms var(--ease-emphasized); }
  .wf-inline-detail .wf-inline-bar .seg-1 { background: var(--bc-sage); }
  .wf-inline-detail .wf-inline-bar .seg-2 { background: var(--bc-sky); }
  .wf-inline-detail .wf-inline-bar .seg-3 { background: var(--bc-mist); }
  .wf-inline-detail .wf-inline-bar .seg-4 { background: #fff; }
  .wf-inline-detail .wf-inline-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 10.5px; color: rgba(255,255,255,0.78); }
  .wf-inline-detail .wf-inline-legend > div { display: flex; align-items: center; gap: 8px; }
  .wf-inline-detail .wf-inline-legend .sw { width: 12px; height: 3px; }

  /* Hide the bottom visual on mobile — the detail now lives in the active step */
  .wf-visual { display: none; }

  /* ---- CAPITAL STRUCTURE ---- */
  .cap-tile .cap-val { font-size: 17px; }

  /* ---- CALCULATOR — full mobile pass ---- */
  .calc { padding: 24px 0 80px; }
  .calc-panel { padding: 28px 20px; border-radius: 4px; }
  .calc-title { font-size: clamp(26px, 7.5vw, 34px); line-height: 1.1; }
  .calc-sub { font-size: 13.5px; line-height: 1.55; }

  /* Sliders / cards */
  .calc-input-card { padding: 18px 20px; }
  .calc-input-value { font-size: 22px; }
  .calc-input-label { font-size: 10px; letter-spacing: 0.2em; }

  /* Results band: stack labels above values cleanly. */
  .calc-results { padding: 28px 20px; gap: 20px; }
  .calc-result-value { font-size: 28px; }
  .calc-result-label { font-size: 9.5px; letter-spacing: 0.2em; }

  /* Waterfall breakdown: collapse the 4-column row into 2 rows so the
     amount stays visible on the right and the title doesn't get crushed. */
  .calc-waterfall-row {
    grid-template-columns: 32px 1fr auto;
    grid-template-rows: auto auto;
    gap: 6px 12px;
    padding: 14px 16px;
    align-items: start;
  }
  .calc-tier-num { grid-row: 1 / span 2; align-self: center; font-size: 16px; }
  .calc-waterfall-row > div:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
  .calc-tier-title { font-size: 13.5px; line-height: 1.3; }
  .calc-tier-sub { font-size: 11px; line-height: 1.4; }
  .calc-tier-dest {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
    font-size: 10px;
    letter-spacing: 0.18em;
    align-self: start;
  }
  .calc-tier-amount {
    grid-column: 3;
    grid-row: 2;
    text-align: right;
    font-size: 16px;
    align-self: end;
  }
  .calc-waterfall-header { padding: 10px 16px; font-size: 10px; }

  /* Chart card — shorter, tighter type */
  .calc-chart-card { padding: 20px 16px; }
  .calc-chart-title { font-size: 18px; line-height: 1.25; }
  .calc-chart-container { height: 240px; }
  .calc-chart-legend { gap: 16px 20px; flex-wrap: wrap; font-size: 10px; }

  /* GP Co-Investment mini and ROI cards */
  .calc-gp-mini { padding: 8px 12px; }
  .calc-gp-mini-value { font-size: 14px; }
  .calc-roi-card { padding: 14px 16px; }

  /* ---- PORTFOLIO ---- */
  .pipeline-feature { min-height: 0; }
  .pipeline-feature .img { min-height: 240px; }
  .pipeline-feature .body { padding: 32px 24px !important; }
  .pipeline-feature h3 { font-size: 28px; line-height: 1.1; }
  .pipeline-feature .lead { font-size: 14px; line-height: 1.55; }
  .partner-trio { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* ---- FOUNDER (Alejandro) block ---- */
  .founder-photo-wrap { padding: 0; }
  .founder-block h2, .founder-block h3 { font-size: clamp(28px, 7vw, 36px); }

  /* ---- CAREER TIMELINE detail card ---- */
  .career-detail { min-height: 0; }
  .career-card {
    position: relative !important;
    inset: auto !important;
    padding: 16px 0 24px !important;
  }
  .career-card-left .year-big { font-size: 48px; }
  .career-card-mid .co-big { font-size: 20px; }
  .career-card-right p { font-size: 14px; line-height: 1.6; padding-left: 14px; }
  .career-card-right-image { aspect-ratio: 16/10; }

  /* ---- TEAM grid — keep 2 cols readable on phones ---- */
  .team-grid { gap: 14px; }
  .team-card h4 { font-size: 13px; }
  .team-card .role { font-size: 11px; }

  /* ---- CTA / FOOTER ---- */
  .cta-inner { gap: 28px; }
  .cta h2 { font-size: clamp(30px, 8vw, 44px); line-height: 1.1; }
  .cta-side p { font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .disclaimer { font-size: 11px; line-height: 1.55; }

  /* ---- NAV (mobile) — restore a usable menu when the pill is hidden ---- */
  .nav-row { gap: 12px; }
  .nav-cta { padding: 10px 14px !important; font-size: 12px !important; }
  .nav-cta .arr { display: none; }
  .brand-name { font-size: 16px; letter-spacing: 0.22em; }
  .brand-logo-mark { width: 38px; height: 38px; }
}

/* Extra-small screens (≤ 380px) — squeeze the very tightest cases */
@media (max-width: 380px) {
  .hero-title { font-size: 34px; }
  .sec-head h2 { font-size: 26px; }
  .calc-result-value { font-size: 24px; }
  .calc-tier-amount { font-size: 14px; }
  .stats-grid.big .stat .num { font-size: 38px; }
}

