/* Wh4 — Private Office for Founders & Entrepreneurs */

:root {
  --ink: #191c1f;
  --ink-soft: #4d5358;
  --paper: #f4f4f4;
  --line: #dfe3e7;
  --sky-from: #102e5e;
  --sky-mid: #1d4a8f;
  --sky-to: #0cc0df;
  --brand-navy: #102e5e;
  --brand-cyan: #0cc0df;
  --font-helios: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* Helios Extended substitute — Archivo at expanded width.
   "Helios Extended" is a proprietary ParaType face (not on Google Fonts);
   Archivo expanded is the closest free match. Letter-spacing -61 (Figma/tracking
   units, 1/1000 em) ≈ -0.061em. */
.helios {
  font-family: var(--font-helios);
  font-variation-settings: "wdth" 125;
  font-stretch: 125%;
  letter-spacing: -0.061em;
}
/* Service-name headings: lowercase Helios with -61 tracking */
.svc-name {
  font-family: var(--font-helios);
  font-variation-settings: "wdth" 125;
  font-stretch: 125%;
  letter-spacing: -0.061em;
  text-transform: lowercase;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--ink);
  background: #fff;
  overflow-x: clip;
}
/* NOTE: never set overflow: hidden on html/body/main — it breaks position: sticky in HeroMorph.
   overflow-x: clip is safe (doesn't create a new formatting context) and prevents the white-space horizontal scroll on mobile. */
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1432px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

/* ---------- Announcement bar ---------- */
.announce {
  background: #191c1f;
  color: #fff;
  height: 56px;
  display: flex;
  align-items: center;
}
.announce .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.announce .left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.announce .left .close {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 999px;
  color: #fff;
}
.announce .left .close:hover { background: rgba(255,255,255,0.1); }
.announce .left p { margin: 0; }
@media (max-width: 720px) { .announce .left p { display: none; } }
.announce .right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.announce .pillbtn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; font-size: 14px;
}
.announce .pillbtn:hover { background: rgba(255,255,255,0.1); }
.announce .arrow {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: #fff; color: #000;
}
.announce .arrow:hover { background: rgba(255,255,255,0.9); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: background-color 0.3s ease;
}
.header .row {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s ease;
}
.header .logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.5px;
}
.header .logo .mark {
  width: 36px; height: 36px;
  margin-right: 10px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: currentColor;
}
.header .logo .mark svg { color: var(--sky-from); }
.header .logo-mark { height: 54px; width: auto; display: block; }
@media (min-width: 768px) { .header .logo-mark { height: 76px; } }
.header nav {
  display: none;
  align-items: center;
  gap: 2px;
  font-size: 15px;
  font-weight: 500;
}
@media (min-width: 1024px) {
  .header nav { display: flex; }
}
.header nav a, .header .nav-link {
  padding: 8px 20px;
  border-radius: 999px;
  transition: background-color 0.2s;
}
.header nav a:hover, .header .nav-link:hover { background: rgba(127,127,127,0.12); }
.header.dark nav a:hover, .header.dark .nav-link:hover { background: rgba(255,255,255,0.12); }

.header .actions {
  display: flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500;
}
.header .actions .contact {
  padding: 10px 22px; border-radius: 999px;
}
.header .actions .contact:hover { background: rgba(127,127,127,0.12); }
.header.dark .actions .contact:hover { background: rgba(255,255,255,0.12); }
.header .actions .apply {
  padding: 10px 22px; border-radius: 999px;
  background: #191c1f; color: #fff;
  transition: opacity 0.2s, transform 0.2s;
}
.header.dark .actions .apply { background: #fff; color: #191c1f; }
.header .actions .apply:hover { transform: scale(1.02); opacity: 0.92; }

/* ---------- Hero morph ---------- */
.hero-section {
  position: relative;
  width: 100%;
  margin-top: -88px;
  height: 220vh;
}
.hero-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.hero-sky {
  position: absolute; inset: 0;
  /* The Wh4 office on Lower Thames Street, under a navy brand veil
     (Rob: "the picture needs to be the one of our office"). */
  background:
    linear-gradient(90deg, rgba(10,25,41,0.62) 0%, rgba(10,25,41,0.30) 52%, rgba(10,25,41,0.10) 75%),
    linear-gradient(180deg, rgba(10,25,41,0.52) 0%, rgba(16,46,94,0.30) 46%, rgba(10,25,41,0.78) 100%),
    url('assets/hero-office.jpg') center 30% / cover no-repeat;
  will-change: opacity, transform;
  animation: heroKenBurns 38s ease-in-out infinite alternate;
}

/* Static hero (no scroll morph): one viewport tall, text vertically centred */
.hero-static { height: 100vh !important; }
.hero-static .hero-sticky { display: flex; align-items: center; }
.hero-static .hero-text { padding-top: 0; width: 100%; }
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}
@media (prefers-reduced-motion: reduce) { .hero-sky { animation: none; } }
.hero-clouds { display: none; }
.hero-white { position: absolute; inset: 0; background: #fff; z-index: -1; }

.hero-text {
  position: relative; z-index: 20;
  padding-top: clamp(110px, 16vh, 200px);
  pointer-events: none;
  max-width: 1432px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  will-change: opacity, transform;
}
@media (max-width: 768px) { .hero-text { padding-left: 24px; padding-right: 24px; } }

/* Desktop: text on LEFT, cards/picture pushed to RIGHT — Rob wants no overlap */
@media (min-width: 769px) {
  .hero-text {
    max-width: 560px;
    margin-left: clamp(40px, 5vw, 100px);
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
  }
  .hero-text h1, .hero-text .hero-headline { text-align: left; }
  .hero-text p { text-align: left; max-width: 520px; }
  .hero-text .cta-row { justify-content: flex-start; }
}

.hero-text h1 {
  margin: 0;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.03;
  max-width: 1100px;
  font-size: clamp(30px, 4.4vw, 60px);
}
/* Helios Extended (Archivo expanded) hero headline */
.hero-headline { display: flex; flex-direction: column; margin: 0; color: #fff; }
.hero-headline .ho-line {
  display: block;
  font-family: var(--font-helios);
  font-variation-settings: "wdth" 125;
  font-stretch: 125%;
  letter-spacing: -0.061em;
  line-height: 0.98;
}
.hero-headline .ho-regular { font-weight: 400; }
.hero-headline .ho-bold { font-weight: 700; }
.hero-text p {
  margin: 28px 0 0;
  max-width: 600px;
  color: #fff;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.4;
}
.hero-text .cta-row {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  pointer-events: auto;
}
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: #191c1f; color: #fff;
  font-size: 18px; font-weight: 500;
  border-radius: 999px;
  padding: 16px 30px;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.92; transform: scale(1.02); }
.btn-ghost-light {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 18px; font-weight: 500;
  border-radius: 999px;
  padding: 15px 28px;
  backdrop-filter: blur(8px);
  transition: background-color 0.2s;
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.22); }

/* Final title (morphed-in) */
.hero-final-title {
  position: absolute;
  top: clamp(40px, 7vh, 90px);
  left: 0; right: 0;
  z-index: 20;
  text-align: center;
  padding: 0 24px;
  will-change: opacity, transform;
}
.hero-final-title .eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(25,28,31,0.6);
  margin: 0;
}
.hero-final-title h2 {
  margin: 12px auto 0;
  max-width: 1100px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 64px);
}

/* Card stage */
.card-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding-top: clamp(140px, 22vh, 240px);
  padding-bottom: clamp(40px, 6vh, 80px);
}
.card-grid {
  position: relative;
  width: 100%;
  max-width: 960px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: center;
  height: auto;
}
@media (min-width: 768px) {
  .card-grid { padding: 0 40px; gap: 24px; }
}

/* Cards return to centered position on scroll — the JS in HeroMorph animates the
   initial right-shifted state back to centre as the user scrolls. */
.morph-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  background: #0a1929;
  box-shadow: 0 20px 40px -16px rgba(15,30,60,0.18), 0 4px 12px rgba(15,30,60,0.06);
}
.card-center {
  transform-origin: center;
  z-index: 2;
}
.morph-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.morph-card .label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0.28) 55%, transparent);
  color: #fff;
  will-change: opacity;
}
@media (max-width: 768px) {
  .morph-card .label { padding: 14px 14px; }
}
.morph-card .label .num {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}
.morph-card .label h3 {
  margin: 6px 0 0;
  font-size: clamp(15px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* Side cards animate via inline transform var */
.card-left { will-change: transform, opacity; }
.card-right { will-change: transform, opacity; }
.card-center { will-change: transform; transform-origin: center; }

/* ---------- Two ways section ---------- */
.section {
  padding: 96px 0;
}
@media (min-width: 768px) { .section { padding: 128px 0; } }
.section-narrow { padding: 80px 0; }

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
}
.hd {
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}
.hd-xxl { font-size: clamp(40px, 6vw, 80px); }
.hd-xl { font-size: clamp(36px, 5vw, 64px); }
.hd-lg { font-size: clamp(28px, 3vw, 40px); }

.lede {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.45;
  color: rgba(25,28,31,0.82);
}
.lede-light { color: rgba(255,255,255,0.85); }

.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mw-820 { max-width: 820px; }
.mw-960 { max-width: 960px; }
.mw-1100 { max-width: 1100px; }

/* Stats / value tiles */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}
@media (min-width: 900px) {
  .value-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}
.value-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.value-tile .badge {
  width: 84px; height: 84px;
  border-radius: 999px;
  background: var(--paper);
  display: grid; place-items: center;
  transition: transform 0.3s ease, background-color 0.2s;
}
.value-tile:hover .badge { transform: scale(1.08); background: #ecedef; }
.value-tile p {
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink);
  white-space: pre-line;
}

/* Two ways cards */
.two-ways {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) {
  .two-ways { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.way-card {
  position: relative;
  padding: 36px;
  border-radius: 28px;
  background: #f7f8f9;
  border: 1px solid var(--line);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}
.way-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(25,28,31,0.18);
}
.way-card .num {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft);
}
.way-card h3 {
  margin: 12px 0 0;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500; letter-spacing: -0.01em; line-height: 1.1;
}
.way-card .body {
  margin: 20px 0 0;
  font-size: 17px; line-height: 1.5;
  color: var(--ink-soft);
}
.way-card ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.way-card li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--ink);
}
.way-card li::before {
  content: '';
  width: 6px; height: 6px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--ink);
  flex-shrink: 0;
}
.way-card .arrow {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500;
  font-size: 15px;
  transition: gap 0.3s;
}
.way-card:hover .arrow { gap: 16px; }

/* ---------- Dark wide section (Strategic Growth / Exit Advisory / Limited founders) ---------- */
.wide-section {
  position: relative;
  width: 100%;
  min-height: 760px;
  height: 100vh;
  max-height: 1200px;
  overflow: hidden;
  display: flex; flex-direction: column;
  color: var(--paper);
}
.wide-section .container {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding-top: 80px; padding-bottom: 80px;
}
.wide-section .veil { position: absolute; inset: 0; background: rgba(0,0,0,0.15); z-index: 1; }
.wide-section .bg { position: absolute; inset: 0; z-index: 0; }

.wide-section .eyebrow-light {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-bottom: 18px;
}

.tabs {
  margin-top: auto;
  display: inline-flex; gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tab-btn {
  position: relative;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: color 0.25s;
  z-index: 1;
}
.tab-btn.active { color: #000; }
.tab-pill {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #dfe3e7;
  z-index: -1;
}

/* Strategic Growth visual (animated grid) */
.bg-strategic {
  background: radial-gradient(ellipse 80% 60% at 50% 110%, #5b3a8a 0%, #1a1530 40%, #0c0c0d 80%);
}
.bg-exit {
  background: radial-gradient(ellipse 80% 80% at 50% 50%, #1c4a6e 0%, #0d1f2f 50%, #050a12 100%);
}
.bg-limited {
  background: linear-gradient(180deg, #f9c46b 0%, #f08c4a 35%, #b94a3e 70%, #4a1d2c 100%);
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
}
.bg-limited::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(255,200,120,0.5), transparent 60%);
  pointer-events: none;
}

/* Animated mesh accent for dark sections */
.mesh-accent {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.55;
}
.mesh-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.7;
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px, -60px) scale(1.15); }
}

/* ---------- Focus areas (split) ---------- */
.split-section {
  background: #0c0c0d;
  color: var(--paper);
  padding: 100px 0 140px;
}
.split-grid {
  display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center;
}
@media (min-width: 900px) {
  .split-grid { grid-template-columns: 1.1fr 0.9fr; gap: 80px; }
}
.split-text h2 { color: #fff; }
.split-text .lede { color: rgba(255,255,255,0.85); margin-top: 28px; }
.split-text ul {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
  max-width: 620px;
}
.split-text li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 16px; color: rgba(255,255,255,0.88);
}
.split-text li::before {
  content: '';
  width: 6px; height: 6px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--sky-mid);
  flex-shrink: 0;
}
.split-text .btn-light {
  margin-top: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: #191c1f;
  padding: 14px 28px; border-radius: 999px;
  font-size: 17px; font-weight: 500;
  transition: transform 0.25s, background-color 0.2s;
}
.split-text .btn-light:hover { transform: scale(1.03); background: #f1f4f6; }

.compass {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 480px;
  width: 100%;
  margin-left: auto;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(to bottom right, #1f3a5f, #0c0c0d);
}
.compass .ring {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  animation: spin 60s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.compass .pulse {
  position: absolute;
  inset: 18% 18%;
  border: 1px solid rgba(57,145,216,0.35);
  border-radius: 999px;
  animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(0.96); opacity: 0.55; }
  50% { transform: scale(1.06); opacity: 0.95; }
}
.compass .tag {
  position: absolute;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.compass .tag.t1 { top: 12%; left: 10%; }
.compass .tag.t2 { top: 28%; right: 8%; }
.compass .tag.t3 { bottom: 32%; left: 8%; }
.compass .tag.t4 { bottom: 14%; right: 14%; }

/* ---------- Portfolio ---------- */
.portfolio-section {
  background: linear-gradient(to bottom, #0c0c0d, #10243f 50%, #0c0c0d);
  color: var(--paper);
  padding: 120px 0 140px;
  text-align: center;
}
.portfolio-grid {
  margin: 72px auto 0;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: left;
}
@media (min-width: 900px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}
.port-card {
  position: relative;
  background: #0a1929;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
.port-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 40px 80px -30px rgba(57,145,216,0.4);
}
.port-thumb {
  aspect-ratio: 4 / 3;
  position: relative;
  background: linear-gradient(135deg, rgba(57,145,216,0.4), #10243f 50%, #0a1929);
  display: grid; place-items: center;
  overflow: hidden;
}
.port-thumb .glyph {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.92);
}
.port-thumb .sheen {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 30%, rgba(255,255,255,0.12), transparent 60%);
}
.port-card .body {
  padding: 26px;
}
.port-card .year {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.port-card h3 {
  margin: 8px 0 0;
  font-size: 20px; font-weight: 500;
}
.port-card .tag { margin: 6px 0 0; font-size: 14px; color: rgba(255,255,255,0.65); }

/* ---------- Fundraise.ai callout ---------- */
.fundraise-section {
  background: #fff;
  padding: 120px 0;
}
.fundraise-card {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px;
  border-radius: 36px;
  background: linear-gradient(135deg, #0a1929 0%, #10243f 50%, #1a3666 100%);
  overflow: hidden;
  color: #fff;
}
@media (max-width: 768px) {
  .fundraise-card { padding: 40px 28px; }
  .fundraise-card .fundraise-mock { aspect-ratio: auto; overflow: visible; max-width: 100%; height: auto; }
}
.fundraise-card .glow {
  position: absolute; right: -160px; top: -160px;
  width: 520px; height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(57,145,216,0.6), transparent 65%);
  filter: blur(40px);
}
.fundraise-card .glow2 {
  position: absolute; left: -120px; bottom: -180px;
  width: 420px; height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(44,212,217,0.4), transparent 65%);
  filter: blur(50px);
}
.fundraise-card .inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
@media (min-width: 900px) {
  .fundraise-card .inner { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}
.fundraise-card .eyebrow-light {
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.22em;
  font-size: 13px;
  text-transform: uppercase;
}
.fundraise-card h2 {
  margin: 18px 0 0;
  font-weight: 500; letter-spacing: -0.01em; line-height: 1.04;
  font-size: clamp(36px, 4.5vw, 64px);
}
.fundraise-card p {
  margin: 24px 0 0;
  color: rgba(255,255,255,0.85);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.5;
  max-width: 540px;
}
.fundraise-card .bullets {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid; gap: 14px;
}
.fundraise-card .bullets li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px; color: rgba(255,255,255,0.85);
}
.fundraise-card .bullets li strong { color: #fff; font-weight: 600; margin-right: 6px; }
.fundraise-card .bullets li::before {
  content: ''; width: 6px; height: 6px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--sky-mid);
  flex-shrink: 0;
}
.fundraise-card .cta-row { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.fundraise-card .btn-light {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: #0a1929;
  padding: 14px 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500;
  transition: transform 0.25s, background 0.2s;
}
.fundraise-card .btn-light:hover { transform: scale(1.03); }
.fundraise-card .btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 13px 25px; border-radius: 999px;
  font-size: 16px; font-weight: 500;
  transition: background 0.2s;
}
.fundraise-card .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Fundraise mock card (right side) */
.fundraise-mock {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  padding: 24px;
  overflow: hidden;
}
.fundraise-mock .row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 12px;
}
.fundraise-mock .row .dot {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3991d8, #2cd4d9);
  flex-shrink: 0;
}
.fundraise-mock .row .name {
  font-size: 14px; font-weight: 500;
}
.fundraise-mock .row .meta {
  font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 2px;
}
.fundraise-mock .row .right {
  margin-left: auto;
  font-size: 13px; font-weight: 600;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(44,212,217,0.18);
  color: #2cd4d9;
}
.fundraise-mock .row .right.warn {
  background: rgba(249,196,107,0.18);
  color: #f9c46b;
}
.fundraise-mock .row .right.muted {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
}

/* ---------- Limited founders inner card (sectors) ---------- */
.sector-spotlight {
  margin-top: 36px;
  width: 100%;
  max-width: 1000px;
  border-radius: 24px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  padding: 36px 32px;
  text-align: left;
  color: rgba(255,255,255,0.92);
}
.sector-spotlight .label {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.sector-spotlight h3 {
  margin: 8px 0 0;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
}
.sector-spotlight p {
  margin: 14px 0 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  max-width: 760px;
}
.sector-spotlight .examples {
  margin: 22px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.sector-spotlight .chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 120px 0 100px;
  text-align: center;
  background: #fff;
}
.final-cta .hd-xxl { max-width: 1100px; margin: 0 auto; }
.final-cta .form {
  margin: 56px auto 0;
  max-width: 720px;
  text-align: left;
  background: #f7f8f9;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px;
}
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.04em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 16px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  width: 100%;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234d5358' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(25,28,31,0.06);
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .field-grid { grid-template-columns: 1fr; } }
.form-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 8px; flex-wrap: wrap;
}
.form-actions .note { font-size: 13px; color: var(--ink-soft); max-width: 380px; }
.form-actions button {
  padding: 14px 28px;
  border-radius: 999px;
  background: #191c1f; color: #fff;
  font-size: 16px; font-weight: 500;
  transition: transform 0.25s;
}
.form-actions button:hover { transform: scale(1.02); }
.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(44,212,217,0.12);
  border: 1px solid rgba(44,212,217,0.3);
  color: #0a3a3c;
  font-size: 14px;
}

/* ---------- Legal ---------- */
.legal {
  padding: 24px 0 56px;
  background: #fff;
}
.legal .container {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  display: flex; flex-direction: column; gap: 12px;
}
.legal strong { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: #fff; }
.footer .container { padding-top: 80px; padding-bottom: 56px; color: var(--ink); }
.footer .footer-hd { margin: 0 0 40px; }
.plan-grid-3 {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
.plan-grid-2 {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  margin-top: 20px;
}
@media (min-width: 900px) {
  .plan-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .plan-grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.plan-card {
  display: block;
  position: relative;
  padding: 32px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid transparent;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, background-color 0.3s;
}
.plan-card:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: var(--line);
}
.plan-card .name { font-size: 22px; font-weight: 500; }
.plan-card .price { margin-top: 6px; font-size: 13px; color: var(--ink-soft); letter-spacing: 0.18em; text-transform: uppercase; }
.plan-card .desc { margin-top: 16px; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.plan-card .link {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  transition: gap 0.3s;
}
.plan-card:hover .link { gap: 14px; }

.link-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (min-width: 700px) { .link-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .link-grid { grid-template-columns: repeat(8, 1fr); } }
.link-col h3 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.link-col ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.link-col a { font-size: 14px; color: var(--ink-soft); transition: color 0.2s; }
.link-col a:hover { color: var(--ink); }

.footer-mid {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 24px;
}
@media (min-width: 700px) {
  .footer-mid { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer .socials { display: flex; gap: 14px; }
.footer .socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px; font-weight: 600;
  transition: background-color 0.2s;
}
.footer .socials a:hover { background: var(--line); }

.footer-bot {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 24px;
}
@media (min-width: 700px) {
  .footer-bot { flex-direction: row; align-items: flex-start; justify-content: space-between; }
}
.footer-bot a.email-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  color: var(--ink); font-weight: 500;
  transition: background-color 0.2s;
}
.footer-bot a.email-pill:hover { background: var(--paper); }
.footer-bot .secondary-links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; color: var(--ink-soft); }
.footer-bot .secondary-links a:hover { color: var(--ink); }

.footer-copy {
  margin-top: 48px;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 13px; line-height: 1.55; color: var(--ink-soft);
  max-width: 1100px;
}
.footer-copy a { text-decoration: underline; }

/* Fade-in utility */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ============================================================
   SUBPAGES (Partnership / Approach / Portfolio / Fundraise.ai
   + service pages). Reuses the homepage tokens & components.
   ============================================================ */
.subpage { background: #fff; }

/* Pull the hero up so the transparent header overlays the navy band. */
.subpage .page-hero { margin-top: -88px; }

/* Header sits over the navy hero band, so default it to the dark
   (white-text) state even before any scroll. */
.subpage .header { background-color: transparent; }
.header nav a.current { background: rgba(255,255,255,0.14); }
.header.light nav a.current { background: rgba(16,46,94,0.08); }

/* ---- Page hero band ---- */
.page-hero {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, #102e5e 0%, #1d4a8f 58%, #0cc0df 150%);
  padding: 180px 0 100px;
  overflow: hidden;
}
.page-hero .glow {
  position: absolute; z-index: 1;
  width: 760px; height: 760px; right: -180px; top: -280px;
  background: radial-gradient(circle, rgba(12,192,223,0.55) 0%, rgba(12,192,223,0) 62%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow-light {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); margin: 0;
}
.page-hero h1 {
  margin: 18px 0 0;
  font-family: var(--font-helios);
  font-variation-settings: "wdth" 125; font-stretch: 125%;
  letter-spacing: -0.061em; font-weight: 700; text-transform: lowercase;
  font-size: clamp(38px, 6.2vw, 88px); line-height: 0.96;
}
.page-hero .lede {
  margin: 26px 0 0; max-width: 660px;
  font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5;
  color: rgba(255,255,255,0.9);
}
.page-hero .cta-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Generic page section ---- */
.page-section { padding: 96px 0; }
.page-section.alt { background: var(--paper); }
.page-section .eyebrow { color: var(--ink-soft); }
.page-lede {
  margin: 22px 0 0; max-width: 760px;
  font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink-soft);
}
.page-lede.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Column grids ---- */
.col-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.col-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 940px) { .col-3 { grid-template-columns: 1fr; } .col-2 { grid-template-columns: 1fr; } }

.info-card {
  display: block; text-align: left;
  padding: 34px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), border-color 0.3s, box-shadow 0.3s;
}
a.info-card:hover { transform: translateY(-4px); border-color: var(--brand-cyan); box-shadow: 0 18px 40px rgba(16,46,94,0.10); }
.info-card .k { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.info-card h3 { margin: 12px 0 0; font-size: clamp(20px, 2vw, 26px); font-weight: 500; }
.info-card .svc-name { font-size: clamp(20px, 2vw, 26px); }
.info-card p { margin: 16px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.info-card .link { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--brand-navy); }
.info-card ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.info-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); line-height: 1.45; }
.info-card li::before { content: ''; width: 7px; height: 7px; margin-top: 7px; border-radius: 999px; background: var(--brand-cyan); flex-shrink: 0; }

/* ---- Steps / engagement cadence ---- */
.steps { margin-top: 40px; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 88px 1fr; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: start; }
.step .n {
  font-family: var(--font-helios); font-variation-settings: "wdth" 125; font-stretch: 125%;
  letter-spacing: -0.061em; font-size: 40px; font-weight: 700; color: var(--brand-navy); line-height: 1;
}
.step h3 { margin: 0; font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; }
.step p { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-soft); max-width: 720px; }
@media (max-width: 640px) { .step { grid-template-columns: 1fr; gap: 10px; } }

/* ---- Team ---- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { padding: 30px; border-radius: 22px; background: var(--paper); border: 1px solid transparent; transition: border-color 0.3s, transform 0.4s cubic-bezier(0.22,1,0.36,1); }
.team-card:hover { transform: translateY(-3px); border-color: var(--line); }
.avatar {
  width: 76px; height: 76px; border-radius: 999px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #102e5e 0%, #0cc0df 100%);
  color: #fff;
  font-family: var(--font-helios); font-variation-settings: "wdth" 125; font-stretch: 125%;
  letter-spacing: -0.04em; font-weight: 700; font-size: 24px;
}
.team-card .name { margin: 20px 0 0; font-size: 19px; font-weight: 500; }
.team-card .role { margin: 6px 0 0; font-size: 14px; color: var(--brand-navy); font-weight: 500; }
.team-card .bio { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

/* ---- Portfolio grid ---- */
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 940px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pf-grid { grid-template-columns: 1fr; } }
.pf-card { padding: 30px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), border-color 0.3s, box-shadow 0.3s; }
.pf-card:hover { transform: translateY(-4px); border-color: var(--brand-cyan); box-shadow: 0 18px 40px rgba(16,46,94,0.10); }
.pf-logo {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, #102e5e 0%, #1d4a8f 60%, #0cc0df 130%);
  color: #fff; font-weight: 700; font-size: 20px; letter-spacing: -0.02em;
}
.pf-card .pf-name { margin: 20px 0 0; font-size: 20px; font-weight: 500; }
.pf-card .pf-sector { margin: 6px 0 0; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.pf-card .pf-desc { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.pf-card .pf-stage { margin-top: 18px; display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--paper); font-size: 12px; color: var(--ink); }

/* ---- CTA band ---- */
.cta-band { padding: 110px 0; background: linear-gradient(135deg, #0c0c0d 0%, #10243f 55%, #0c0c0d 100%); color: #fff; text-align: center; }
.cta-band h2 { margin: 0 auto; max-width: 880px; }
.cta-band .page-lede { margin: 22px auto 0; color: rgba(255,255,255,0.84); text-align: center; }
.cta-band .cta-row { margin-top: 36px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---- Feature checklist (two-column prose) ---- */
.prose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 48px; align-items: start; }
@media (max-width: 940px) { .prose-grid { grid-template-columns: 1fr; gap: 32px; } }
.prose-grid p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.prose-grid p + p { margin-top: 18px; }
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--ink); }
.checklist li svg { flex-shrink: 0; margin-top: 3px; color: var(--brand-cyan); }

/* ---- Contact page ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 48px; align-items: start; }
@media (max-width: 940px) { .contact-layout { grid-template-columns: 1fr; gap: 40px; } }
.contact-aside .eyebrow { color: var(--ink-soft); }
.contact-aside h2 { margin: 14px 0 0; }
.contact-aside .page-lede { margin-top: 20px; }
.contact-aside .detail { margin-top: 28px; display: flex; flex-direction: column; gap: 4px; }
.contact-aside .detail .k { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.contact-aside .detail a, .contact-aside .detail span { font-size: 17px; color: var(--ink); }
.contact-card { padding: 40px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.contact-card .form { margin: 0; max-width: none; }

.btn-dark-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
  padding: 14px 28px; border-radius: 999px; font-weight: 500; font-size: 16px;
  transition: border-color 0.2s, background-color 0.2s;
}
.btn-dark-outline:hover { border-color: var(--ink); background: rgba(16,46,94,0.04); }

/* ---- FAQ / Q&A ---- */
.faq { margin-top: 44px; border-top: 1px solid var(--line); max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; font-family: inherit;
  padding: 28px 0; display: flex; justify-content: space-between; gap: 28px; align-items: center;
  font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; color: var(--ink);
}
.faq-q .ic { flex-shrink: 0; color: var(--brand-navy); transition: transform 0.3s ease; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 360px; }
.faq-a p { margin: 0 0 28px; font-size: 16px; line-height: 1.65; color: var(--ink-soft); max-width: 760px; }

/* ============================================================
   MOBILE NAV + RESPONSIVE FIXES
   ============================================================ */
.nav-toggle {
  display: none;
  width: 42px; height: 42px; border-radius: 999px;
  align-items: center; justify-content: center;
  background: transparent; border: 0; color: inherit; cursor: pointer;
  padding: 0; margin-left: 2px;
}
.nav-toggle:hover { background: rgba(127,127,127,0.12); }
.header.dark .nav-toggle:hover { background: rgba(255,255,255,0.12); }
@media (max-width: 1023px) { .nav-toggle { display: inline-flex; } }
@media (max-width: 560px) { .header .actions .contact { display: none; } }

.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  z-index: 60;
  background: #fff;
  box-shadow: 0 24px 48px rgba(16,46,94,0.14);
  border-bottom: 1px solid var(--line);
  padding: 8px 24px 22px;
  display: flex; flex-direction: column;
}
.mobile-menu a {
  padding: 16px 4px; font-size: 17px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu-actions { display: flex; gap: 10px; margin-top: 16px; }
.mobile-menu-actions a {
  flex: 1; text-align: center; padding: 14px; border-radius: 999px;
  font-weight: 500; border-bottom: 0;
}
.mobile-menu-actions .mm-contact { background: var(--paper); color: var(--ink); }
.mobile-menu-actions .mm-apply { background: #102e5e; color: #fff; }

/* ---- Mobile hero (animated morph): keep the avatar clear of the text ---- */
@media (max-width: 768px) {
  .hero-text { padding-top: 110px; text-align: center; }
  .hero-text h1 { font-size: clamp(25px, 7.2vw, 40px); }
  .hero-text p { font-size: 15px; line-height: 1.42; margin: 14px auto 0; max-width: 460px; }
  .hero-text .cta-row { margin-top: 20px; gap: 10px; flex-wrap: nowrap; justify-content: center; }
  .hero-text .cta-row .btn-primary,
  .hero-text .cta-row .btn-ghost-light { font-size: 14px; padding: 13px 18px; white-space: nowrap; }
  /* Push the morph cards further down so they sit clearly below the CTA buttons */
  .card-stage { padding-top: 48vh; padding-bottom: 18px; }
}

/* ---- Wide sections: don't clip content on mobile ---- */
@media (max-width: 768px) {
  .wide-section { height: auto; min-height: 0; max-height: none; overflow: visible; }
  .wide-section .container { height: auto; padding-top: 76px; padding-bottom: 76px; min-width: 0; max-width: 100%; }
  .wide-section .tabs { flex-wrap: wrap; justify-content: center; margin-top: 56px; gap: 4px; }
  .wide-section .tab-btn { padding: 9px 14px; font-size: 13px; }
  .exit-stats {
    margin-top: 36px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    min-width: 0; width: 100%; gap: 12px !important;
  }
}

/* ===== M&A Engine — module panels (homepage scroll sections) ===== */
:root{
  --eng-navy:#102e5e; --eng-blue:#1d4a8f; --eng-cyan:#0cc0df; --eng-gold:#f9c46b;
  --eng-ink:#191c1f; --eng-soft:#4d5358; --eng-paper:#f4f4f4; --eng-line:#dfe3e7;
  --eng-serif:'Playfair Display',Georgia,serif;
  --eng-display:'Archivo',ui-sans-serif,system-ui,sans-serif;
  --eng-body:'Inter',ui-sans-serif,system-ui,sans-serif;
}
.eng-kicker{font-family:var(--eng-display);font-stretch:125%;text-transform:uppercase;letter-spacing:.28em;font-size:11px;font-weight:600;color:var(--eng-cyan)}
.eng-wrap{max-width:1120px;margin:0 auto;padding:0 28px}

.eng-intro{padding:140px 0 40px;text-align:center}
.eng-intro h2{font-family:var(--eng-serif);font-weight:500;font-size:clamp(28px,4.4vw,52px);line-height:1.1;letter-spacing:-.01em;max-width:18ch;margin:14px auto 0;color:var(--eng-ink)}
.eng-intro h2 .eng-hl{color:var(--eng-navy)}
.eng-intro p{margin:20px auto 0;max-width:54ch;color:var(--eng-soft);font-size:17px;line-height:1.65}

.eng-stage{padding:60px 0 120px;background:transparent;position:relative;isolation:isolate}
.eng-stage > *{position:relative;z-index:2}
@keyframes engMesh{
  0%   {transform:translate3d(0,0,0) rotate(0deg) scale(1)}
  33%  {transform:translate3d(24px,-18px,0) rotate(1.5deg) scale(1.04)}
  66%  {transform:translate3d(-18px,22px,0) rotate(-1.5deg) scale(.98)}
  100% {transform:translate3d(12px,-8px,0) rotate(.8deg) scale(1.02)}
}

/* ===== Water cursor (gooey blob trail) ===== */
.wh4-water-cursor{
  position:fixed;top:0;left:0;
  width:100vw;height:100vh;
  pointer-events:none;
  z-index:99999;
  filter:url(#wh4-goo);
  opacity:0;
  transition:opacity .35s ease;
}
.wh4-water-cursor.is-active{opacity:1}
.wh4-water-cursor.is-hover .wh4-water-blob{
  background:rgba(12,192,223,.95);
  transform-origin:center;
}
.wh4-water-blob{
  position:absolute;top:0;left:0;
  border-radius:50%;
  background:rgba(12,192,223,.85);
  will-change:transform;
  transition:background .3s ease;
}
.wh4-water-cursor.is-hover .wh4-water-blob:nth-child(1){
  width:48px !important;height:48px !important;
}

@media (hover:none), (max-width:780px){
  .wh4-water-cursor{display:none}
}

.eng-intro{position:relative;background:transparent;isolation:isolate}
.eng-intro > *{position:relative;z-index:2}
.eng-panel{background:#fff;border:1px solid var(--eng-line);border-radius:18px;box-shadow:0 30px 70px -40px rgba(16,46,94,.45);overflow:hidden;max-width:1120px;margin:0 auto}
.eng-bar{display:flex;align-items:center;gap:8px;padding:14px 18px;border-bottom:1px solid var(--eng-line);background:#fbfcfd}
.eng-bar .eng-dot{width:10px;height:10px;border-radius:50%;background:var(--eng-line)}
.eng-bar .eng-ttl{margin-left:8px;font-family:var(--eng-display);font-stretch:125%;font-weight:600;font-size:13px;letter-spacing:.02em;color:var(--eng-ink)}
.eng-bar .eng-deal{margin-left:auto;font-size:12px;color:var(--eng-soft)}
.eng-bar .eng-deal b{color:var(--eng-navy)}
.eng-body{padding:26px}

.eng-pipe{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.eng-pipe.eng-pipe-5{grid-template-columns:repeat(5,1fr)}
.eng-st{border:1px solid var(--eng-line);border-radius:12px;padding:14px 14px 16px;background:#fff}
.eng-st .eng-n{font-family:var(--eng-display);font-stretch:125%;font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--eng-soft)}
.eng-st .eng-s{margin-top:6px;font-weight:600;font-size:15px;color:var(--eng-ink)}
.eng-pill{margin-top:12px;display:inline-block;font-size:11px;font-weight:600;padding:4px 10px;border-radius:999px}
.eng-pill.done{background:rgba(12,192,223,.12);color:#0a7f93}
.eng-pill.active{background:rgba(16,46,94,.1);color:var(--eng-navy)}
.eng-pill.next{background:#f1f4f6;color:var(--eng-soft)}
.eng-st.is-active{border-color:var(--eng-cyan);box-shadow:0 0 0 3px rgba(12,192,223,.12)}

.eng-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}
.eng-tile{border:1px solid var(--eng-line);border-radius:12px;padding:16px}
.eng-tile .eng-lab{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--eng-soft)}
.eng-tile .eng-val{font-family:var(--eng-display);font-stretch:125%;font-weight:700;font-size:30px;margin-top:8px;color:var(--eng-navy);line-height:1}
.eng-tile .eng-sub{margin-top:6px;font-size:12px;color:var(--eng-soft)}
.eng-tile .eng-sub b{color:#0a7f93}
.eng-chart{border:1px solid var(--eng-line);border-radius:12px;padding:18px 18px 12px}
.eng-clab{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--eng-soft);margin-bottom:14px}
.eng-bars{display:flex;align-items:flex-end;gap:14px;height:150px}
.eng-bar2{flex:1;background:linear-gradient(180deg,var(--eng-cyan),var(--eng-navy));border-radius:6px 6px 0 0;transform-origin:bottom;transform:scaleY(0);transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.eng-xrow{display:flex;gap:14px;margin-top:8px}
.eng-xrow span{flex:1;text-align:center;font-size:11px;color:var(--eng-soft)}

.eng-outreach{display:grid;grid-template-columns:1fr 1.25fr;gap:24px}
.eng-funnel{display:flex;flex-direction:column;gap:10px;justify-content:center}
.eng-frow{display:flex;align-items:center;gap:12px}
.eng-frow .eng-name{width:78px;font-size:12px;color:var(--eng-soft);text-align:right}
.eng-track{flex:1;height:30px;background:#f1f4f6;border-radius:7px;overflow:hidden}
.eng-fill{height:100%;width:0;border-radius:7px;background:linear-gradient(90deg,var(--eng-navy),var(--eng-cyan));display:flex;align-items:center;justify-content:flex-end;padding-right:10px;color:#fff;font-size:12px;font-weight:600;font-family:var(--eng-display);font-stretch:125%;transition:width 1s cubic-bezier(.2,.7,.2,1)}
.eng-tbl{width:100%;border-collapse:collapse;font-size:13px}
.eng-tbl th{text-align:left;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--eng-soft);font-weight:600;padding:0 0 12px;border-bottom:1px solid var(--eng-line)}
.eng-tbl td{padding:13px 0;border-bottom:1px solid var(--eng-line);color:var(--eng-ink)}
.eng-tbl .eng-type{font-size:11px;color:var(--eng-soft)}
.eng-stat{font-size:11px;font-weight:600;padding:3px 9px;border-radius:999px;white-space:nowrap}
.eng-stat.ioi{background:rgba(249,196,107,.22);color:#9a6a12}
.eng-stat.mtg{background:rgba(12,192,223,.14);color:#0a7f93}
.eng-stat.nda{background:rgba(16,46,94,.1);color:var(--eng-navy)}
.eng-stat.dd{background:rgba(12,192,223,.14);color:#0a7f93}
.eng-stat.pass{background:#f1f4f6;color:var(--eng-soft)}

.eng-reveal{opacity:0;transform:translateY(26px);transition:opacity .8s ease,transform .8s ease}
.eng-wrap.in .eng-reveal{opacity:1;transform:none}
.eng-wrap.in .eng-reveal:nth-child(2){transition-delay:.12s}
.eng-wrap.in .eng-reveal:nth-child(3){transition-delay:.24s}

.eng-panel-reveal{opacity:0;transform:translateY(60px) scale(.985);transition:opacity 1s ease,transform 1s ease}
.eng-panel-reveal.in{opacity:1;transform:none}

.eng-st{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
.eng-panel-reveal.in .eng-st{opacity:1;transform:none}
.eng-panel-reveal.in .eng-st:nth-child(1){transition-delay:.04s}
.eng-panel-reveal.in .eng-st:nth-child(2){transition-delay:.10s}
.eng-panel-reveal.in .eng-st:nth-child(3){transition-delay:.16s}
.eng-panel-reveal.in .eng-st:nth-child(4){transition-delay:.22s}
.eng-panel-reveal.in .eng-st:nth-child(5){transition-delay:.28s}

.eng-panel-reveal.in .eng-bar2{transform:scaleY(1)}
.eng-bar2:nth-child(2){transition-delay:.08s}
.eng-bar2:nth-child(3){transition-delay:.16s}
.eng-bar2:nth-child(4){transition-delay:.24s}
.eng-bar2:nth-child(5){transition-delay:.32s}
.eng-bar2:nth-child(6){transition-delay:.40s}

.eng-panel-reveal.in .eng-fill{width:var(--w)}

.eng-tbl tbody tr{opacity:0;transform:translateX(14px);transition:opacity .5s ease,transform .5s ease}
.eng-panel-reveal.in .eng-tbl tbody tr{opacity:1;transform:none}
.eng-panel-reveal.in .eng-tbl tbody tr:nth-child(2){transition-delay:.08s}
.eng-panel-reveal.in .eng-tbl tbody tr:nth-child(3){transition-delay:.16s}
.eng-panel-reveal.in .eng-tbl tbody tr:nth-child(4){transition-delay:.24s}
.eng-panel-reveal.in .eng-tbl tbody tr:nth-child(5){transition-delay:.32s}

@media(max-width:780px){
  .eng-pipe,.eng-pipe.eng-pipe-5,.eng-metrics{grid-template-columns:repeat(2,1fr)}
  .eng-outreach{grid-template-columns:1fr}
}

/* ---- Stage cards: clickable, hoverable, expandable accordion ---- */
.eng-st-btn{
  cursor:pointer;text-align:left;font:inherit;width:100%;
  position:relative;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.eng-st-btn:hover{
  transform:translateY(-3px);
  border-color:var(--eng-cyan);
  box-shadow:0 14px 32px -16px rgba(12,192,223,.5);
  background:linear-gradient(180deg,#fff,rgba(12,192,223,.04));
}
.eng-st-btn:focus-visible{outline:2px solid var(--eng-cyan);outline-offset:3px}
.eng-st-btn.is-open{
  border-color:var(--eng-cyan);
  box-shadow:0 0 0 3px rgba(12,192,223,.22), 0 18px 40px -18px rgba(12,192,223,.5);
  background:linear-gradient(180deg,#fff,rgba(12,192,223,.06));
}
.eng-chev{
  position:absolute;top:14px;right:14px;
  color:var(--eng-soft);
  transition:transform .35s cubic-bezier(.2,.7,.2,1), color .25s ease;
}
.eng-st-btn:hover .eng-chev{color:var(--eng-cyan)}
.eng-st-btn.is-open .eng-chev{transform:rotate(180deg);color:var(--eng-cyan)}

/* Pulse on the active (default-open recommendation) stage */
.eng-st.is-active:not(.is-open):not(:hover){
  animation:engPulse 2.6s ease-in-out infinite;
}
@keyframes engPulse{
  0%,100%{box-shadow:0 0 0 3px rgba(12,192,223,.12)}
  50%{box-shadow:0 0 0 6px rgba(12,192,223,.22)}
}

/* Expanding detail panel below the stage row */
.eng-detail{
  max-height:0;opacity:0;overflow:hidden;
  transition:max-height .55s cubic-bezier(.2,.7,.2,1), opacity .35s ease, margin-top .35s ease;
  margin-top:0;
}
.eng-detail.is-open{max-height:680px;opacity:1;margin-top:20px}
.eng-detail-inner{
  border:1px solid var(--eng-cyan);
  border-radius:14px;
  padding:24px 28px;
  background:linear-gradient(180deg,rgba(12,192,223,.06),rgba(255,255,255,0) 80%),#fff;
  animation:engDetailIn .5s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes engDetailIn{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:none}
}
.eng-detail-head{display:flex;align-items:center;gap:18px;margin-bottom:14px}
.eng-detail-num{
  font-family:var(--eng-serif);font-style:italic;font-size:52px;line-height:1;
  color:var(--eng-cyan);
  min-width:60px;
}
.eng-detail-kicker{
  font-family:var(--eng-display);font-stretch:125%;font-size:10px;
  letter-spacing:.22em;text-transform:uppercase;color:var(--eng-soft);
}
.eng-detail-inner h3{
  margin:4px 0 0;font-size:22px;font-weight:600;color:var(--eng-navy);letter-spacing:-.01em;
}
.eng-detail-inner p{
  margin:0;font-size:15.5px;line-height:1.65;color:var(--eng-ink);
  animation:engFadeUp .6s ease both;animation-delay:.15s;opacity:0;
}
@keyframes engFadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.eng-detail-head{animation:engFadeUp .55s cubic-bezier(.2,.7,.2,1) both;opacity:0}
.eng-detail-num{animation:engNumIn .6s cubic-bezier(.2,1.3,.4,1) both;display:inline-block}
@keyframes engNumIn{
  from{opacity:0;transform:translateY(20px) scale(.6)}
  to{opacity:1;transform:none}
}

/* Bottom row: next-stage link */
.eng-next-link{
  margin-top:18px;display:inline-flex;align-items:center;gap:8px;
  font-family:var(--eng-display);font-stretch:125%;font-size:13px;font-weight:600;
  letter-spacing:.02em;color:var(--eng-cyan);
  padding:10px 16px;border-radius:999px;border:1px solid var(--eng-cyan);background:transparent;
  cursor:pointer;transition:background .25s ease, color .25s ease, transform .25s ease;
  animation:engFadeUp .55s ease both;animation-delay:.3s;opacity:0;
}
.eng-next-link:hover{background:var(--eng-cyan);color:#fff;transform:translateX(3px)}

/* Reposition cards to make room for the charging bar at the bottom */
.eng-st-btn{padding-bottom:24px}

/* Active card: continuous scan-line sweep */
.eng-scan{
  position:absolute;top:0;left:-60%;width:60%;height:100%;
  background:linear-gradient(90deg,transparent 0%,rgba(12,192,223,.18) 50%,transparent 100%);
  pointer-events:none;opacity:0;
}
.eng-st-btn.is-active .eng-scan{opacity:1;animation:engScan 3.6s ease-in-out infinite}
.eng-st-btn.is-open .eng-scan{opacity:1;animation:engScan 2.8s ease-in-out infinite}
@keyframes engScan{
  0%{left:-60%}
  55%{left:120%}
  100%{left:120%}
}

/* Hover: a tiny 3D tilt for life */
.eng-st-btn:hover{transform:translateY(-4px) rotate(-.4deg)}

/* Charging progress bar at the bottom of each card */
.eng-charge{
  position:absolute;left:14px;right:14px;bottom:10px;
  height:4px;background:rgba(16,46,94,.06);border-radius:999px;overflow:hidden;
}
.eng-charge-fill{
  display:block;height:100%;width:0;border-radius:inherit;
  background:linear-gradient(90deg,var(--eng-cyan),var(--eng-navy));
  box-shadow:0 0 8px rgba(12,192,223,.55);
}
.eng-charge-fill{transition:width 1.1s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease}
.eng-charge-fill.is-charged{width:100%;box-shadow:0 0 10px rgba(12,192,223,.6)}

/* Active-card pulsing aura: removed (was distracting) */
.eng-st.is-active:not(.is-open):not(:hover){animation:none}

/* Scan-line: now only on hover/open, not continuous */
.eng-st-btn.is-active .eng-scan{animation:none;opacity:0}
.eng-st-btn:hover .eng-scan{opacity:1;animation:engScan 2.4s ease-out 1}
.eng-st-btn.is-open .eng-scan{opacity:1;animation:engScan 2.4s ease-in-out infinite}

/* ===== Chapters (cofounder.co-style envelope card + book cover inside) ===== */
.eng-chapters-stage{padding:80px 0 120px;background:transparent}
.eng-chapters{
  display:grid;grid-template-columns:repeat(2,1fr);
  gap:40px 32px;max-width:780px;margin:0 auto;padding:0 16px;
}
.eng-chap{
  display:flex;flex-direction:column;text-decoration:none;color:inherit;
  opacity:0;transform:translateY(40px);
  transition:opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.eng-chapters.in .eng-chap{opacity:1;transform:none}
.eng-chap:focus-visible{outline:2px solid var(--eng-cyan);outline-offset:4px;border-radius:14px}

/* Outer "envelope" card — white, lifts on hover */
.eng-chap-card{
  background:#fff;
  border:1px solid #e8ebf0;
  border-radius:14px;
  padding:22px 22px 16px;
  box-shadow:0 4px 16px -8px rgba(16,46,94,.12);
  transition:transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .25s ease;
}
.eng-chap:hover .eng-chap-card{
  transform:translateY(-14px);
  box-shadow:0 34px 60px -18px rgba(16,46,94,.38);
  border-color:#d6dbe3;
}
.eng-chap-cta{
  transition:color .25s ease;
}
.eng-chap:hover .eng-chap-cta{color:var(--eng-navy)}

/* Title at top — all sans, dark on cream */
.eng-chap-head{margin-bottom:14px}
.eng-chap-pre{
  font-family:var(--eng-body);
  font-size:13px;font-weight:400;
  color:#5a5a5a;
  margin-bottom:2px;
}
.eng-chap-ttl{
  font-family:var(--eng-body);
  font-size:22px;font-weight:500;
  letter-spacing:-.01em;line-height:1.18;
  margin:0;color:#1a1a1a;
}

/* Eyebrow above image — sans italic */
.eng-chap-eyebrow{
  font-family:var(--eng-body);
  font-size:11px;font-style:italic;
  color:#7a7a7a;
  margin-bottom:12px;
}

/* Inner white book-cover frame */
.eng-chap-img-frame{
  background:#fff;
  border-radius:10px;
  padding:10px;
  margin-bottom:14px;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.04);
}
.eng-chap-img{
  aspect-ratio:3/4;overflow:hidden;
  background:#0a1929;border-radius:6px;
  position:relative;
}
.eng-chap-img img{
  width:100%;height:100%;object-fit:cover;display:block;
}

/* Bottom attribution — sans italic small */
.eng-chap-by{
  font-family:var(--eng-body);
  font-size:11px;font-style:italic;
  color:#7a7a7a;
  text-align:left;padding-top:2px;
}
.eng-chap-by em{font-style:italic}

/* "Read this chapter (I)" — sans italic, below the card */
.eng-chap-cta{
  display:block;text-align:center;
  margin-top:18px;
  font-family:var(--eng-body);
  font-style:italic;font-size:14px;font-weight:400;
  color:#1a1a1a;
}
.eng-chap-cta em{font-style:italic}

@media(max-width:680px){
  .eng-chapters{grid-template-columns:1fr;gap:28px;max-width:360px}
}

/* ----- iOS-style chapter sheet ----- */
.eng-sheet-backdrop{
  position:fixed;inset:0;z-index:1000;
  background:rgba(10,25,41,.55);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  display:flex;align-items:flex-end;justify-content:center;
  animation:engSheetFade .3s ease both;
}
.eng-sheet{
  position:relative;
  width:100%;max-width:680px;
  max-height:92vh;
  background:#fff;
  border-radius:24px 24px 0 0;
  display:flex;flex-direction:column;overflow:hidden;
  box-shadow:0 -20px 60px -10px rgba(0,0,0,.3);
  animation:engSheetSlideUp .5s cubic-bezier(.2,.85,.2,1) both;
}
@media(min-width:780px){
  .eng-sheet-backdrop{align-items:center;padding:24px}
  .eng-sheet{border-radius:24px;max-height:88vh;animation:engSheetPop .4s cubic-bezier(.2,.85,.2,1) both}
}
.eng-sheet-handle{
  position:absolute;top:8px;left:50%;transform:translateX(-50%);
  width:42px;height:5px;border-radius:999px;
  background:rgba(0,0,0,.15);
}
@media(min-width:780px){.eng-sheet-handle{display:none}}
.eng-sheet-close{
  position:absolute;top:18px;right:18px;z-index:3;
  width:34px;height:34px;border-radius:50%;
  background:rgba(255,255,255,.95);
  display:grid;place-items:center;
  border:1px solid rgba(0,0,0,.08);
  color:var(--eng-ink);cursor:pointer;
  box-shadow:0 4px 12px rgba(0,0,0,.12);
  transition:transform .2s ease, background .2s ease;
}
.eng-sheet-close:hover{background:#fff;transform:scale(1.06)}
.eng-sheet-scroll{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch}
.eng-sheet-hero{
  position:relative;aspect-ratio:16/9;background:#0a1929;overflow:hidden;
}
.eng-sheet-hero img{width:100%;height:100%;object-fit:cover;display:block}
.eng-sheet-hero::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 50%,rgba(0,0,0,.35));
}
.eng-sheet-hero-tag{
  position:absolute;left:20px;bottom:18px;z-index:2;
  font-family:var(--eng-display);font-stretch:125%;
  font-size:11px;letter-spacing:.28em;text-transform:uppercase;
  color:#fff;font-weight:600;
  padding:6px 12px;border-radius:999px;
  background:rgba(255,255,255,.18);backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.25);
}
.eng-sheet-body{padding:30px 32px 36px}
.eng-sheet-ttl{
  font-family:var(--eng-serif);font-weight:500;
  font-size:clamp(28px,4.5vw,42px);
  line-height:1.1;letter-spacing:-.01em;
  margin:0 0 22px;color:var(--eng-ink);
}
.eng-sheet-ttl em{font-style:italic}
.eng-sheet-body p{
  margin:0 0 14px;
  font-size:16px;line-height:1.65;color:var(--eng-ink);
}
.eng-sheet-cta{
  display:inline-flex;align-items:center;gap:8px;margin-top:22px;
  padding:12px 22px;border-radius:999px;
  background:var(--eng-navy);color:#fff;
  font-family:var(--eng-display);font-stretch:125%;
  font-size:13px;font-weight:600;letter-spacing:.02em;
  transition:background .25s ease, transform .25s ease;
}
.eng-sheet-cta:hover{background:var(--eng-blue);transform:translateX(3px)}

@keyframes engSheetFade{from{opacity:0}to{opacity:1}}
@keyframes engSheetSlideUp{
  from{transform:translateY(100%);opacity:.7}
  to{transform:none;opacity:1}
}
@keyframes engSheetPop{
  from{transform:scale(.94);opacity:0}
  to{transform:none;opacity:1}
}

/* ===== Portfolio — brand wordmark tiles ===== */
.port-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
  max-width:1080px;
  margin:0 auto;
}
.port-card{
  display:block;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  transition:transform .3s cubic-bezier(.23,1,.32,1), box-shadow .3s ease;
}
.port-card:not(.is-static):hover{
  transform:translateY(-2px);
  box-shadow:0 22px 44px -28px rgba(16,46,94,.3);
}
.port-card.is-static{cursor:default}

.port-mark{
  aspect-ratio:16/7;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  padding:24px;
}
.port-mark.is-charcoal{background:#222}
.port-mark.is-crimson{background:#8b1a2e}
.port-mark.is-navy{background:var(--brand-navy)}
.port-mark.is-cyan{background:linear-gradient(180deg,#0e7fb3,#0cc0df)}

.port-mark-word{
  font-family:var(--font-helios);
  font-variation-settings:"wdth" 125;
  font-stretch:125%;
  text-transform:uppercase;
  letter-spacing:.02em;
  font-weight:600;
  font-size:44px;
  line-height:1;
  color:#fff;
}
.port-mark-logo{
  max-width:60%;
  max-height:80px;
  object-fit:contain;
  display:block;
}

.port-body{padding:26px 28px 28px}
.port-meta{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--ink-soft);
  margin-bottom:12px;
}
.port-meta .dot{
  width:3px;height:3px;border-radius:50%;
  background:var(--ink-soft);
  opacity:.5;
}
.port-meta .new-tag{
  color:var(--brand-cyan);
  font-weight:600;
}
.port-name{
  font-family:var(--font-serif);
  font-weight:500;
  font-size:24px;
  line-height:1.15;
  letter-spacing:-.005em;
  margin:0 0 10px;
  color:var(--ink);
}
.port-desc{
  font-size:15px;
  line-height:1.55;
  color:var(--ink-soft);
  margin:0 0 20px;
}
.port-cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--brand-navy);
}
.port-cta .arrow{transition:transform .25s cubic-bezier(.23,1,.32,1)}
.port-card:hover .port-cta .arrow{transform:translateX(4px)}
.port-cta.is-quiet{
  color:var(--ink-soft);
  opacity:.7;
}

@media(max-width:720px){
  .port-grid{grid-template-columns:1fr;max-width:480px}
  .port-mark-word{font-size:34px}
  .port-name{font-size:22px}
}

/* ===== Sell-Side Process — 3 phase panels with scroll-linked progress line ===== */
.phase-stack{
  position:relative;
  max-width:1120px;
  margin:0 auto;
  padding-left:60px;
}
.phase-line-track{
  position:absolute;
  left:22px;top:16px;bottom:16px;
  width:3px;
  background:rgba(16,46,94,.10);
  border-radius:999px;
  pointer-events:none;
}
.phase-line-fill{
  position:absolute;left:0;top:0;
  width:100%;height:0%;
  background:linear-gradient(180deg, var(--eng-navy), var(--eng-blue));
  border-radius:999px;
  will-change:height;
}
.phase-line-dot{
  position:absolute;left:50%;top:0%;
  transform:translate(-50%,-50%);
  width:14px;height:14px;border-radius:50%;
  background:var(--eng-navy);
  border:2px solid #fff;
  box-shadow:
    0 0 0 5px rgba(16,46,94,.15),
    0 0 14px rgba(16,46,94,.5);
  will-change:top;
}
.eng-phase-panel{margin-top:72px}
.eng-phase-panel:first-of-type{margin-top:0}
.eng-phase-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

@media(max-width:980px){
  .phase-stack{padding-left:40px}
  .phase-line-track{left:12px}
  .eng-phase-grid{grid-template-columns:repeat(2,1fr)}
  .eng-phase-panel{margin-top:56px}
}
@media(max-width:600px){
  .eng-phase-grid{grid-template-columns:1fr}
}
@media(max-width:480px){
  .phase-stack{padding-left:0}
  .phase-line-track{display:none}
}

/* Legacy 12-in-one grid (no longer used but kept for safety) */
.eng-pipe-12{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.eng-step-12{
  position:relative;
  padding:16px 16px 24px;
  min-height:138px;
  background:#fff;
  border:1px solid var(--eng-line);
  border-radius:12px;
  overflow:hidden;
  transition:transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .25s ease;
}
.eng-step-12:hover{
  transform:translateY(-4px) rotate(-.4deg);
  border-color:var(--eng-cyan);
  box-shadow:0 14px 32px -16px rgba(12,192,223,.5);
}
.eng-step-12 .eng-n{
  font-family:var(--eng-display);font-stretch:125%;
  font-size:10px;letter-spacing:.18em;text-transform:uppercase;
  color:var(--eng-soft);
}
.eng-step-12 .eng-s{
  margin-top:4px;
  font-weight:600;font-size:15px;color:var(--eng-ink);
  line-height:1.25;letter-spacing:-.005em;
}
.eng-step-12 .eng-step-desc{
  margin:8px 0 0;
  font-size:12.5px;line-height:1.45;color:var(--eng-soft);
}
.eng-step-12 .eng-scan{opacity:0;animation:none}
.eng-step-12:hover .eng-scan{opacity:1;animation:engScan 2.4s ease-out 1}

/* Button variant — clickable step cards */
.eng-step-12.eng-step-btn{
  cursor:pointer;text-align:left;font:inherit;color:inherit;
  appearance:none;-webkit-appearance:none;
}
.eng-step-12.is-open{
  border-color:var(--eng-cyan);
  box-shadow:0 0 0 3px rgba(12,192,223,.22), 0 14px 32px -16px rgba(12,192,223,.45);
  transform:translateY(-4px);
}

/* Detail panel that appears below the step row */
.eng-step-detail{
  margin-top:18px;
  padding:22px 26px;
  background:#fff;
  border:1.5px solid var(--eng-cyan);
  border-radius:12px;
  box-shadow:0 0 0 4px rgba(12,192,223,.10);
  position:relative;
  animation:stepDetailIn .35s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes stepDetailIn{
  from{opacity:0;transform:translateY(-6px)}
  to{opacity:1;transform:none}
}
.eng-step-detail-num{
  font-family:var(--eng-display);font-stretch:125%;
  font-size:10px;letter-spacing:.22em;text-transform:uppercase;
  color:var(--eng-cyan);font-weight:600;
}
.eng-step-detail h3{
  margin:6px 0 12px;
  font-size:20px;font-weight:600;color:var(--eng-navy);
  letter-spacing:-.005em;
}
.eng-step-detail p{
  margin:0;
  font-size:15px;line-height:1.6;color:var(--eng-ink);
}
.eng-step-detail-close{
  position:absolute;top:12px;right:12px;
  width:30px;height:30px;border-radius:50%;
  background:rgba(0,0,0,.05);border:0;cursor:pointer;
  display:grid;place-items:center;color:var(--eng-ink);
  transition:background .2s ease;
}
.eng-step-detail-close:hover{background:rgba(0,0,0,.10)}

@media(max-width:980px){
  .eng-pipe-12{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .eng-pipe-12{grid-template-columns:1fr}
}

/* ===== Group Story panel (One group. Four ways to build value.) ===== */
.group-story {
  background: var(--eng-paper, #f4f4f4);
  padding: clamp(80px, 12vh, 140px) 28px;
  position: relative;
}
.group-story-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
}
.group-story-inner.in { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .group-story-inner { grid-template-columns: 1fr; gap: 36px; }
}
.group-story-image {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16/11;
  background: #000;
  box-shadow: 0 22px 60px rgba(16, 46, 94, 0.18);
}
.group-story-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.group-story-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--eng-cyan, #0cc0df);
  margin: 0 0 18px;
  font-weight: 600;
}
.group-story-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin: 0 0 28px;
  color: var(--eng-ink, #191c1f);
}
.group-story-text p {
  font-size: clamp(15.5px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--eng-soft, #4d5358);
  margin: 0 0 18px;
}
.group-story-strap {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--eng-ink, #191c1f);
}
.group-story-strap span:first-child sup { font-size: 0.55em; vertical-align: super; color: var(--eng-cyan, #0cc0df); }
.group-story-strap a {
  color: var(--eng-ink, #191c1f);
  text-decoration: none;
  transition: color .2s;
}
.group-story-strap a:hover { color: var(--eng-cyan, #0cc0df); }
.group-story-strap .gs-dot { color: var(--eng-mute, #82888e); margin: 0 10px; font-weight: 400; }

/* ===== Hero badges (Wh4 Ltd + Family-owned group) ===== */
.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 26px;
  pointer-events: auto;
}
.hero-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1;
  color: #fff;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-badge strong {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.hero-badge strong sup {
  font-size: 0.55em;
  font-weight: 500;
  vertical-align: super;
  margin-left: 1px;
  color: var(--eng-cyan, #0cc0df);
}
.hero-badge .hb-sep {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-left: 10px;
  margin-left: 10px;
  border-left: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.78);
}
.hero-badge.hero-badge-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 14px;
  color: rgba(255,255,255,0.92);
}

/* New italic Playfair hero headline — replaces the Helios Extended look */
.hero-headline-italic {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 62px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.008em !important;
  text-transform: none !important;
  display: block !important;
  color: #fff;
  margin-bottom: 26px !important;
  max-width: 720px;
}
@media (max-width: 768px) {
  .hero-badges { justify-content: center; }
  .hero-headline-italic { text-align: center; max-width: 100%; }
}

/* ===== "Book a consultation" — white header CTA (Rob) ===== */
.header .actions .apply.apply-white {
  background: #fff;
  color: #102e5e;
  border: 1px solid rgba(16, 46, 94, 0.18);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.10);
  white-space: nowrap;
}
.header .actions .apply.apply-white:hover { background: rgba(255,255,255,0.92); }

/* ===== Statutory company-details line (Companies Act 2006 disclosure) ===== */
.footer-statutory {
  font-size: 11.5px !important;
  color: #82888e !important;
  letter-spacing: 0.01em;
  border-top: 1px dashed var(--line, #dfe3e7);
  padding-top: 14px;
}

/* ===== Cookie notice ===== */
.cookie-notice {
  position: fixed;
  left: 18px; bottom: 18px;
  z-index: 90000;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(10, 25, 41, 0.18);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: cookieIn .5s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes cookieIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cookie-notice p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft, #4d5358); }
.cookie-notice a { color: var(--ink, #191c1f); text-decoration: underline; text-underline-offset: 2px; }
.cookie-notice button {
  flex-shrink: 0;
  font: inherit; font-size: 12.5px; font-weight: 600;
  background: #102e5e; color: #fff;
  border: 0; border-radius: 999px;
  padding: 8px 16px; cursor: pointer;
}
.cookie-notice button:hover { background: #0a1f3f; }
@media (max-width: 480px) { .cookie-notice { left: 12px; right: 12px; max-width: none; } }

/* ===== Footer additions: bottom legal links + disclaimer block ===== */
/* New 4-division strapline above copyright */
.footer-strapline {
  text-align:center; padding:22px 0; margin-top:20px;
  border-top:1px solid var(--line, #dfe3e7);
  border-bottom:1px solid var(--line, #dfe3e7);
  font-family:'Inter',sans-serif; font-weight:600; font-size:14.5px;
  color:var(--ink, #191c1f); letter-spacing:0.04em;
  text-transform:none !important;
}
.footer-strapline p { margin:0; }
.footer-strapline sup { font-size:0.55em; font-weight:500; vertical-align:super; color:var(--eng-cyan, #0cc0df); }
.footer-strapline .fs-dot { color:var(--ink-soft, #4d5358); margin:0 10px; font-weight:400; }

.footer-bot { display:flex; flex-direction:column; gap:16px; align-items:flex-start; }
.footer-bot-links { display:flex; flex-wrap:wrap; gap:18px 22px; }
.footer-bot-links a { font-size:14px; color:#4d5358; text-decoration:none; }
.footer-bot-links a:hover { color:#191c1f; }
.footer-legal {
  margin-top:32px; padding-top:24px;
  border-top:1px solid var(--line, #dfe3e7);
  display:flex; flex-direction:column; gap:14px;
  max-width:920px;
}
.footer-legal p { margin:0; font-size:13px; line-height:1.6; color:#4d5358; }

/* ===== Legal page (Privacy / Terms / Cookies / etc.) ===== */
.legal-body { max-width:760px; }
.legal-body h2 { font-family:'Playfair Display',Georgia,serif; font-style:italic; font-weight:500; font-size:clamp(22px,2.6vw,30px); margin:42px 0 14px; color:var(--ink); }
.legal-body h3 { font-family:'Playfair Display',Georgia,serif; font-weight:500; font-size:clamp(18px,2vw,22px); margin:32px 0 10px; color:var(--ink); }
.legal-body p { font-size:16px; line-height:1.65; color:var(--ink-soft, #4d5358); margin:0 0 14px; }
.legal-body ul { margin:8px 0 18px 22px; padding:0; }
.legal-body li { font-size:16px; line-height:1.65; color:var(--ink-soft, #4d5358); margin-bottom:6px; }
.legal-body strong { color:var(--ink); }
.legal-body a { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }

/* ===== Split hero (Rob: navy left + image right, no text overlap) ===== */
.split-hero{
  position:relative;
  display:flex;
  min-height:100vh;
  margin-top:-88px;
  background:var(--eng-navy);
  isolation:isolate;
}
.split-hero-left{
  flex:1;
  background:#102e5e;
  color:#fff;
  display:flex;align-items:center;
  padding:120px 60px 80px;
  position:relative;
  overflow:hidden;
}
.split-hero-left::before{
  content:'';
  position:absolute;inset:0;
  background:
    radial-gradient(circle at 20% 20%, rgba(12,192,223,.18), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(57,145,216,.15), transparent 55%);
  pointer-events:none;
}
.split-hero-inner{position:relative;z-index:1;max-width:560px}
.split-hero-headline{
  display:flex;flex-direction:column;
  font-family:'Archivo',ui-sans-serif,system-ui,sans-serif;
  font-variation-settings:"wdth" 125;font-stretch:125%;
  font-size:clamp(34px,5vw,68px);
  letter-spacing:-.045em;line-height:.98;
  margin:0 0 28px;color:#fff;
}
.split-hero-headline .ho-regular{font-weight:400}
.split-hero-headline .ho-bold{font-weight:700}
.split-hero-lede{
  font-size:clamp(15px,1.55vw,19px);line-height:1.5;
  color:rgba(255,255,255,.85);
  max-width:520px;margin:0 0 36px;
}
.split-hero-cta a{
  display:inline-flex;align-items:center;
  background:#fff;color:#102e5e;
  padding:16px 30px;border-radius:999px;
  font-weight:600;font-size:16px;text-decoration:none;
  transition:transform .2s, background .2s;
}
.split-hero-cta a:hover{background:rgba(255,255,255,.92);transform:translateY(-2px)}
.split-hero-right{
  flex:1;
  background:#000;
  position:relative;overflow:hidden;
}
.split-hero-right img{
  width:100%;height:100%;
  object-fit:cover;display:block;
}
@media(max-width:900px){
  .split-hero{flex-direction:column;min-height:auto}
  .split-hero-left{padding:120px 28px 60px;min-height:80vh}
  .split-hero-right{min-height:50vh}
}

/* ===== London brand section ===== */
.london-section{
  position:relative;
  min-height:70vh;
  display:flex;align-items:center;justify-content:center;
  text-align:center;color:#fff;
  overflow:hidden;isolation:isolate;
}
.london-bg{
  position:absolute;inset:0;z-index:-2;
  background:url('assets/wh4office1.webp') center/cover;
}
.london-overlay{
  position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(10,25,41,.55) 0%,rgba(10,25,41,.78) 100%);
}
.london-content{
  max-width:760px;padding:80px 28px;
  opacity:0;transform:translateY(28px);
  transition:opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
}
.london-content.in{opacity:1;transform:none}
.london-eyebrow{
  font-family:var(--eng-display);font-stretch:125%;
  font-size:12px;letter-spacing:.32em;text-transform:uppercase;
  color:var(--eng-cyan);margin:0 0 18px;font-weight:600;
}
.london-title{
  font-family:'Playfair Display',Georgia,serif;
  font-weight:500;font-style:italic;
  font-size:clamp(32px,4.5vw,54px);line-height:1.08;letter-spacing:-.01em;
  margin:0 0 24px;color:#fff;
}
.london-lede{
  font-size:clamp(15px,1.55vw,18px);line-height:1.55;
  color:rgba(255,255,255,.88);
  max-width:540px;margin:0 auto;
}

/* ===== Pop-up CTA ===== */
.popup-overlay{
  position:fixed;inset:0;
  background:rgba(10,25,41,.6);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  z-index:99999;
  display:flex;align-items:center;justify-content:center;
  padding:20px;
  animation:popupFade .35s ease both;
}
@keyframes popupFade{from{opacity:0}to{opacity:1}}
.popup-card{
  background:#fff;border-radius:18px;
  max-width:600px;width:100%;
  padding:40px 38px 36px;position:relative;
  box-shadow:0 40px 80px -20px rgba(0,0,0,.4);
  animation:popupIn .45s cubic-bezier(.2,.7,.2,1) both;
  max-height:92vh;overflow-y:auto;
}
@keyframes popupIn{from{opacity:0;transform:translateY(24px) scale(.95)}to{opacity:1;transform:none}}
.popup-close{
  position:absolute;top:14px;right:14px;
  width:34px;height:34px;border-radius:50%;
  background:rgba(0,0,0,.05);border:0;cursor:pointer;
  display:grid;place-items:center;color:var(--eng-ink);
  transition:background .2s;
}
.popup-close:hover{background:rgba(0,0,0,.1)}
.popup-eyebrow{
  font-family:var(--eng-display);font-stretch:125%;
  font-size:11px;letter-spacing:.28em;text-transform:uppercase;
  color:var(--eng-cyan);font-weight:600;margin:0 0 12px;
}
.popup-title{
  font-family:'Playfair Display',Georgia,serif;
  font-weight:500;font-style:italic;
  font-size:clamp(26px,3.4vw,34px);line-height:1.1;
  margin:0 0 12px;color:var(--eng-ink);
}
.popup-lede{
  font-size:15px;line-height:1.5;
  color:var(--eng-soft);margin:0 0 26px;
}
.popup-options{
  display:flex;flex-direction:column;gap:10px;
}
.popup-option{
  display:flex;align-items:center;gap:16px;
  padding:16px 18px;
  border:1.5px solid var(--eng-line);
  border-radius:12px;
  text-decoration:none;color:inherit;
  transition:border-color .2s, background .2s, transform .25s cubic-bezier(.2,.7,.2,1);
}
.popup-option:hover{
  border-color:var(--eng-cyan);
  background:rgba(12,192,223,.04);
  transform:translateX(3px);
}
.popup-option-num{
  font-family:'Playfair Display',Georgia,serif;
  font-style:italic;font-weight:500;
  font-size:24px;line-height:1;
  color:var(--eng-cyan);min-width:32px;
}
.popup-option-text{flex:1;min-width:0}
.popup-option-text h3{
  margin:0 0 4px;
  font-size:15px;font-weight:600;color:var(--eng-ink);
  line-height:1.25;
}
.popup-option-text p{
  margin:0;font-size:13px;line-height:1.4;
  color:var(--eng-soft);
}
.popup-option-arrow{
  color:var(--eng-cyan);flex-shrink:0;
  transition:transform .25s ease;
}
.popup-option:hover .popup-option-arrow{transform:translateX(3px)}
@media(max-width:600px){
  .popup-card{padding:30px 24px 26px;border-radius:14px}
  .popup-title{font-size:24px}
}

/* ===== Word scramble (cofounder.co inspired) ===== */
.scramble-section{
  background:var(--eng-paper);
  padding:120px 24px;
  text-align:center;
  position:relative;
}
.scramble-h2{
  font-family:'Playfair Display',Georgia,serif;
  font-weight:500;
  font-size:clamp(28px,4vw,44px);
  line-height:1.1;letter-spacing:-.01em;
  margin:0 auto 18px;max-width:22ch;color:var(--eng-ink);
}
.scramble-sub{
  margin:0 auto 60px;max-width:54ch;
  color:var(--eng-soft);font-size:16px;line-height:1.6;
}
.scramble-grid{
  position:relative;
  display:flex;flex-direction:column;align-items:center;
  color:rgba(16,46,94,.22);
  font-family:'JetBrains Mono',ui-monospace,Menlo,Consolas,monospace;
  font-weight:400;font-size:18px;letter-spacing:.1em;
  user-select:none;overflow-x:auto;padding:0 16px;
}
.scramble-row{
  display:flex;justify-content:center;
  white-space:nowrap;line-height:2;
}
.scramble-cell{
  display:inline-block;width:1.55em;text-align:center;
  transition:color .25s ease, font-weight .25s ease;
}
.scramble-cell.is-found{
  color:var(--eng-ink);
  font-weight:500;
}
.scramble-found{
  position:absolute;
  border:1.5px solid #5b9fd9;
  border-radius:999px;
  pointer-events:none;
  box-sizing:border-box;
  background:rgba(91,159,217,.05);
  transition:width .55s cubic-bezier(.2,.8,.2,1), opacity .45s ease;
  opacity:1;
}
@media(max-width:780px){
  .scramble-grid{font-size:14px}
  .scramble-section{padding:80px 16px}
}

/* ===== Glyph zone — water-flow hover-reveal glyph field ===== */
.glyph-zone{
  position:relative;
  background:var(--eng-paper);
  overflow:hidden;
  isolation:isolate;
}
.glyph-zone > *{position:relative;z-index:2}
.glyph-zone-layer{
  position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;
}
.gz-glyph{
  position:absolute;
  font-family:'JetBrains Mono',ui-monospace,Menlo,Consolas,monospace;
  font-weight:400;
  color:rgba(16,46,94,.85);
  transform:translate(-50%,-50%) scale(.85);
  will-change:transform, opacity;
  user-select:none;
  line-height:1;
  opacity:0;
}
.gz-glyph.serif{
  font-family:'Playfair Display',Georgia,serif;
  font-style:italic;
  color:rgba(16,46,94,.70);
}
.gz-glyph.blue{color:rgba(29,74,143,.85)}
.gz-glyph.cyan{color:rgba(12,192,223,.95)}
.gz-glyph.light{color:rgba(16,46,94,.50)}

/* ===== Final CTA with side video ===== */
.final-cta-video{
  position:relative;
  padding:100px 0;
  background:#0a1929;
  color:#fff;
}
.final-cta-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}
.final-cta-text{text-align:left}
.final-cta-text .lede{font-size:18px;line-height:1.55}
.final-cta-video-wrap{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  background:#000;
  box-shadow:0 30px 60px -20px rgba(0,0,0,.6);
  aspect-ratio:16/9;
}
.final-cta-video-wrap video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  background:#000;
}

@media(max-width:880px){
  .final-cta-inner{grid-template-columns:1fr;gap:40px}
  .final-cta-video{padding:70px 0}
}

/* ===== Cofounder-style chapter pages ===== */
.chap-page{background:#fff;color:var(--eng-ink)}

/* Hero */
.chap-hero{padding:130px 28px 80px;background:var(--eng-paper)}

/* Full-bleed photo hero for division pages — image across the whole viewport,
   white text overlaid (Rob, June 10 call). */
.chap-hero--photo{
  position:relative; isolation:isolate;
  background-size:cover; background-position:center 35%;
  padding:clamp(180px,26vh,260px) 28px clamp(90px,14vh,130px);
}
.chap-hero--photo::before{
  content:''; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(180deg, rgba(10,25,41,.62) 0%, rgba(16,46,94,.40) 48%, rgba(10,25,41,.84) 100%);
}
.chap-hero--photo .chap-hero-wrap{grid-template-columns:1fr; max-width:1280px}
.chap-hero--photo .chap-hero-ttl{color:#fff; text-shadow:0 2px 28px rgba(0,0,0,.35)}
.chap-hero--photo .chap-hero-lede{color:rgba(255,255,255,.90); text-shadow:0 1px 14px rgba(0,0,0,.35)}

/* Sector image cards inside division pages (Rob: "pictures of each industry") */
.chap-sectors{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:22px 0 8px}
@media(max-width:640px){.chap-sectors{grid-template-columns:1fr}}
.chap-sector{
  border:1px solid var(--eng-line);border-radius:12px;overflow:hidden;background:#fff;
  transition:transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease;
}
.chap-sector:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(16,46,94,.10)}
.chap-sector-img{aspect-ratio:16/9;background-size:cover;background-position:center}
.chap-sector h4{font-family:var(--eng-serif);font-weight:500;font-size:17px;margin:16px 16px 18px;color:var(--eng-ink)}
.chap-sector p{font-size:13px;color:var(--eng-soft);margin:0 16px 16px;line-height:1.5}
.chap-hero-wrap{
  max-width:1280px;margin:0 auto;
  display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center;
}
.chap-hero-num{
  font-family:var(--eng-display);font-stretch:125%;
  font-size:12px;letter-spacing:.28em;text-transform:uppercase;
  color:var(--eng-cyan);font-weight:600;margin-bottom:18px;
}
.chap-hero-ttl{
  font-family:var(--eng-serif);font-weight:500;
  font-size:clamp(40px,6vw,72px);line-height:1.02;letter-spacing:-.015em;
  margin:0 0 28px;color:var(--eng-ink);
}
.chap-hero-lede{
  font-size:clamp(17px,1.5vw,20px);line-height:1.55;color:var(--eng-soft);
  margin:0 0 14px;max-width:54ch;
}
.chap-hero-img{
  aspect-ratio:4/5;overflow:hidden;border-radius:8px;
  background:#0a1929;
  box-shadow:
    0 1px 0 rgba(0,0,0,.08),
    0 30px 60px -20px rgba(16,46,94,.45);
}
.chap-hero-img img{width:100%;height:100%;object-fit:cover;display:block}

/* Body: 2-col with sticky sidebar */
.chap-body-wrap{
  max-width:1280px;margin:0 auto;
  display:grid;grid-template-columns:1fr 280px;gap:80px;
  padding:80px 28px 120px;
}
.chap-body{min-width:0;max-width:720px}

.chap-section{padding:0 0 56px;scroll-margin-top:100px}
.chap-eyebrow{
  font-family:var(--eng-display);font-stretch:125%;
  font-size:11px;letter-spacing:.28em;text-transform:uppercase;
  color:var(--eng-cyan);font-weight:600;margin:0 0 12px;
}
.chap-h2{
  font-family:var(--eng-serif);font-weight:500;
  font-size:clamp(28px,3.6vw,42px);line-height:1.1;letter-spacing:-.01em;
  margin:0 0 24px;color:var(--eng-ink);
}
.chap-prose{font-size:17px;line-height:1.7;color:var(--eng-ink)}
.chap-prose p{margin:0 0 18px}
.chap-prose h3{
  font-family:var(--eng-display);font-stretch:125%;font-weight:600;
  font-size:20px;letter-spacing:-.005em;
  margin:34px 0 14px;color:var(--eng-ink);
}
.chap-prose ul{margin:0 0 22px;padding:0;list-style:none}
.chap-prose ul li{
  position:relative;padding:8px 0 8px 26px;
  border-bottom:1px solid var(--eng-line);
}
.chap-prose ul li:last-child{border-bottom:0}
.chap-prose ul li::before{
  content:'';position:absolute;left:0;top:18px;
  width:10px;height:1.5px;background:var(--eng-cyan);
}
.chap-prose strong{font-weight:600;color:var(--eng-ink)}
.chap-prose em{font-style:italic}

/* Next chapter footer */
.chap-next{
  display:block;margin-top:40px;padding:32px 36px;
  border-radius:18px;background:var(--eng-paper);
  border:1px solid var(--eng-line);
  text-decoration:none;color:var(--eng-ink);
  transition:background .25s ease, border-color .25s ease, transform .3s ease;
}
.chap-next:hover{background:#fff;border-color:var(--eng-cyan);transform:translateY(-2px)}
.chap-next-eyebrow{
  display:block;
  font-family:var(--eng-display);font-stretch:125%;
  font-size:11px;letter-spacing:.28em;text-transform:uppercase;
  color:var(--eng-cyan);font-weight:600;margin-bottom:10px;
}
.chap-next-title{
  display:flex;align-items:center;gap:14px;justify-content:space-between;
  font-family:var(--eng-serif);font-weight:500;font-size:24px;line-height:1.2;
  color:var(--eng-ink);
}
.chap-next:hover .chap-next-title svg{transform:translateX(6px)}
.chap-next-title svg{transition:transform .35s ease;flex-shrink:0;color:var(--eng-cyan)}

/* Sidebar */
.chap-sidebar{
  position:sticky;top:96px;align-self:start;
  max-height:calc(100vh - 120px);overflow-y:auto;
  padding-right:8px;
  font-family:var(--eng-body);
}
.chap-sidebar-title{
  font-family:var(--eng-serif);font-style:italic;
  font-size:15px;color:var(--eng-soft);
  margin:0 0 22px;font-weight:500;
}
.chap-sidebar-ch{margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid var(--eng-line)}
.chap-sidebar-ch:last-child{border-bottom:0}
.chap-sidebar-ch-head{
  display:flex;align-items:baseline;gap:8px;
  text-decoration:none;color:var(--eng-soft);
  font-size:12px;font-weight:500;letter-spacing:.04em;
  margin-bottom:10px;
}
.chap-sidebar-ch-head:hover{color:var(--eng-navy)}
.chap-sidebar-ch.is-current .chap-sidebar-ch-head{color:var(--eng-ink);font-weight:600}
.chap-sidebar-roman{
  font-family:var(--eng-serif);font-style:italic;
  font-size:14px;color:var(--eng-cyan);
}
.chap-sidebar-ch-name{flex:1}
.chap-sidebar-secs{list-style:none;padding:0;margin:0}
.chap-sidebar-secs li{margin:0}
.chap-sidebar-secs li a{
  display:block;padding:5px 0 5px 14px;
  font-size:13px;line-height:1.4;
  color:var(--eng-soft);text-decoration:none;
  border-left:2px solid transparent;
  transition:color .2s ease, border-color .2s ease;
}
.chap-sidebar-secs li a:hover{color:var(--eng-ink)}
.chap-sidebar-secs li a.is-active{
  color:var(--eng-navy);font-weight:600;
  border-left-color:var(--eng-cyan);
}
.chap-sidebar-cta{
  display:inline-flex;align-items:center;gap:6px;margin-top:14px;
  padding:10px 18px;border-radius:999px;
  background:var(--eng-navy);color:#fff;
  font-family:var(--eng-display);font-stretch:125%;
  font-size:12px;font-weight:600;letter-spacing:.04em;
  text-decoration:none;
  transition:background .25s ease;
}
.chap-sidebar-cta:hover{background:var(--eng-blue)}

@media(max-width:980px){
  .chap-hero-wrap{grid-template-columns:1fr;gap:36px}
  .chap-hero-img{max-width:360px;aspect-ratio:4/5}
  .chap-body-wrap{grid-template-columns:1fr;gap:48px;padding:60px 24px 100px}
  .chap-sidebar{
    position:static;max-height:none;
    order:-1;
    padding:24px;background:var(--eng-paper);border-radius:14px;
  }
}
@media(max-width:640px){
  .chap-hero{padding:100px 22px 60px}
  .chap-body{max-width:none}
  .chap-next-title{font-size:18px;gap:10px}
}

/* ============================================================
   JACOB'S TITLE SPEC (PDF, June 12)
   Font: Helios Extended (Archivo wdth 125 stand-in, already loaded)
   Letter spacing: -60 (= -0.06em) · Line spacing: 1.03
   Titles navy on light sections, white over photos.
   Replaces the Playfair-italic title treatment site-wide.
   ============================================================ */

/* --- Hero (Wh⁴ + Private Office line, white over photo) --- */
.hero-title-spec {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 22px;
  color: #fff;
}
.hero-title-spec sup { font-size: 0.5em; vertical-align: super; }
.hts-mark {
  font-family: var(--font-helios);
  font-variation-settings: "wdth" 125;
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(54px, 6.5vw, 92px);
  letter-spacing: -0.06em;
  line-height: 1.03;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hts-line {
  font-family: var(--font-helios);
  font-variation-settings: "wdth" 125;
  font-stretch: 125%;
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 44px);
  letter-spacing: -0.06em;
  line-height: 1.03;
  color: rgba(255,255,255,0.97);
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.hero-sub-spec {
  max-width: 520px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.5;
}
.btn-hero-white {
  background: #fff !important;
  color: #102e5e !important;
  font-weight: 600;
}
@media (max-width: 768px) {
  .hero-title-spec { align-items: center; text-align: center; }
}

/* --- All section titles → Helios Extended spec --- */
.eng-intro h2,
.group-story-title,
.scramble-h2,
.london-title,
.popup-title,
.chap-hero-ttl,
.hd,
.page-hero .svc-name,
.chap-next-title {
  font-family: var(--font-helios) !important;
  font-variation-settings: "wdth" 125;
  font-stretch: 125%;
  font-style: normal !important;
  font-weight: 500;
  letter-spacing: -0.06em !important;
  line-height: 1.03 !important;
}

/* Navy on light backgrounds */
.eng-intro h2 { color: #102e5e; }
.eng-intro h2 .eng-hl { color: inherit; font-style: normal; font-family: inherit; }
.group-story-title { color: #102e5e; }
.scramble-h2 { color: #102e5e !important; }
.popup-title { color: #102e5e; }

/* White over photos / dark sections (already white, keep) */
.london-title, .chap-hero-ttl { color: #fff; }

/* Legal/sub-page hero titles: no lowercase transform under the new spec */
.page-hero .svc-name { text-transform: none !important; }

/* ===== Contact page — division contact cards ===== */
.contact-divs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 36px;
}
@media (max-width: 760px) { .contact-divs { grid-template-columns: 1fr; } }
.contact-div-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: 14px;
  padding: 28px 28px 22px;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.contact-div-card::before {
  content: '';
  position: absolute;
  top: 0; left: 28px; right: 28px;
  height: 2px;
  background: linear-gradient(90deg, #102e5e, #0cc0df);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.contact-div-card:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(16,46,94,.10); border-color: #102e5e; }
.contact-div-card:hover::before { transform: scaleX(1); }
.cdc-name {
  font-family: var(--font-helios);
  font-variation-settings: "wdth" 125;
  font-stretch: 125%;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 8px;
  color: #102e5e;
}
.cdc-name sup { font-size: .55em; font-weight: 500; vertical-align: super; }
.cdc-tag {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft, #4d5358);
  margin: 0 0 20px;
  flex: 1;
}
.cdc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line, #eee);
  padding-top: 14px;
  flex-wrap: wrap;
}
.cdc-mail {
  font-size: 14px;
  font-weight: 600;
  color: #102e5e;
  text-decoration: none;
}
.cdc-mail:hover { color: #0cc0df; }
.cdc-page {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute, #82888e);
  text-decoration: none;
}
.cdc-page:hover { color: #102e5e; }

/* ===== Client globe — hero right side ===== */
.client-globe {
  position: absolute;
  right: clamp(2%, 5vw, 7%);
  top: 50%;
  transform: translateY(-52%);
  width: min(440px, 34vw);
  z-index: 5;
  pointer-events: none;
  text-align: center;
}
.client-globe::before {
  content: '';
  position: absolute;
  inset: -14%;
  background: radial-gradient(circle, rgba(10,25,41,0.66) 0%, rgba(10,25,41,0.40) 48%, transparent 72%);
  z-index: -1;
  border-radius: 50%;
}
.client-globe svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 38px rgba(12, 192, 223, 0.18));
}
.cg-cap {
  margin: 14px 0 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
@media (max-width: 1080px) { .client-globe { display: none; } }

/* ===== Cal.eu booking embed ===== */
.rob-cal {
  margin-top: 32px;
  min-height: 660px;
  background: #fff;
  border: 1px solid var(--line, #e6e6e6);
  border-radius: 14px;
  overflow: hidden;
}
.rob-cal iframe { border-radius: 14px; }
.rob-cal-fallback {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-soft, #4d5358);
}
.rob-cal-fallback a { color: #102e5e; font-weight: 600; text-decoration: none; }
.rob-cal-fallback a:hover { color: #0cc0df; }

/* ===== Footer regulatory disclaimer ===== */
.footer-regulatory {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line, #dfe3e7);
  max-width: 980px;
}
.footer-regulatory h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4d5358;
  margin: 0 0 12px;
}
.footer-regulatory p {
  margin: 0 0 10px;
  font-size: 11.5px;
  line-height: 1.65;
  color: #82888e;
}
.footer-regulatory p strong { color: #4d5358; }

/* ===== WebGL globe sizing ===== */
.client-globe--gl { width: min(500px, 34vw); top: 50%; right: clamp(3%, 5vw, 8%); }
.client-globe--gl::before {
  background: radial-gradient(circle, rgba(10,25,41,0.45) 0%, rgba(10,25,41,0.22) 50%, transparent 72%);
}
.cg-canvas { width: 100%; aspect-ratio: 1; }
.cg-canvas canvas { display: block; }

/* Division page bottom-CTA action button */
.chap-cta-btn {
  display: inline-flex;
  margin-top: 20px;
  background: #102e5e !important;
  color: #fff !important;
  font-size: 16px;
}
.chap-cta-btn:hover { background: #0a1f3f !important; }

@media (min-width: 1081px) {
  .hero-static .hero-text { max-width: min(560px, 46vw); position: relative; z-index: 20; }
}

/* Globe is interactive: grab to spin (canvas only — caption stays click-through) */
.client-globe--gl .cg-canvas { pointer-events: auto; cursor: grab; }
.client-globe--gl .cg-canvas:active { cursor: grabbing; }

.cg-title {
  margin: 10px auto 0;
  display: block;
  width: fit-content;
  min-width: 320px;
  padding: 14px 26px 4px;
  background: rgba(10, 25, 41, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  font-family: var(--font-helios);
  font-variation-settings: "wdth" 125;
  font-stretch: 125%;
  font-weight: 600;
  font-size: clamp(19px, 1.9vw, 26px);
  letter-spacing: -0.04em;
  color: #fff;
}

/* Caption joins the title into one glass card under the globe */
.client-globe--gl .cg-cap {
  margin: 0 auto;
  display: block;
  width: fit-content;
  min-width: 320px;
  padding: 4px 26px 14px;
  background: rgba(10, 25, 41, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  border-top: none;
  border-radius: 0 0 16px 16px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: none;
}
