*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; cursor: pointer; }
ul { list-style: none; }

/* ==================================================================
   LIGHT MODE — cool, B2B, blue-whites only (no warm tones)
   ================================================================== */
.mode-light {
  /* Pure and cool-tinted whites */
  --bg: #ffffff;
  --bg-1: #f4f7fb;                  /* cool blue-gray panel */
  --bg-2: #ffffff;                  /* card surface */
  --bg-3: #eaf0f8;                  /* cooler accent zone */
  --bg-subtle: #fafbfd;

  --navy: #082c6a;                  /* logo's dark blue — original #0f2555, client alt #013480 */
  --navy-deep: #051d50;             /* original #0a1a40, alt #012060 */
  --navy-soft: #1a4591;             /* original #1a3d7a, alt #1a4da8 */
  --accent: #27b6ec;                /* logo's cyan — bright enough to sit on white */
  --accent-deep: #1a93c9;
  --accent-soft: #5bc9ef;

  --ink: #0a1530;
  --ink-strong: #020611;
  --ink-muted: #475674;
  --ink-dim: #6c7a9a;
  --ink-faint: #a5afc4;

  --border: rgba(15, 37, 85, 0.09);
  --border-strong: rgba(15, 37, 85, 0.16);

  --hero-mesh:
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(39, 182, 236, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 15% 85%, rgba(15, 37, 85, 0.05) 0%, transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #f1f5fb 100%);

  color: var(--ink);
  background: var(--bg);
}

/* ==================================================================
   DARK MODE
   ================================================================== */
.mode-dark {
  --bg: #050e24;
  --bg-1: #081533;
  --bg-2: #0c1c40;
  --bg-3: #0f224d;
  --bg-subtle: #071029;

  --navy: #0f2555;
  --accent: #27b6ec;
  --accent-soft: #5bc9ef;
  --accent-pale: #8bd9f0;

  --ink: #eef2fa;
  --ink-strong: #ffffff;
  --ink-muted: #9eadcb;
  --ink-dim: #6a7a9b;
  --ink-faint: #44536e;

  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.14);

  --hero-mesh:
    radial-gradient(ellipse 45% 35% at 85% 15%, rgba(39, 182, 236, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 10% 85%, rgba(100, 45, 30, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(26, 61, 122, 0.4) 0%, transparent 70%),
    linear-gradient(165deg, #0c1c40 0%, #050e24 100%);

  color: var(--ink);
  background: var(--bg);
}

/* Scroll progress bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 9998;
  transition: width 0.1s linear;
  width: 0;
}

/* ==================================================================
   MODE TOGGLE — sun/moon icon button, sits in the nav
   ================================================================== */
.mode-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
}
.mode-dark .mode-toggle { color: rgba(255, 255, 255, 0.65); }
.mode-light .mode-toggle { color: var(--ink-muted); }
.mode-toggle:hover {
  background: rgba(127, 127, 127, 0.08);
}
.mode-dark .mode-toggle:hover { color: #ffffff; border-color: var(--border); }
.mode-light .mode-toggle:hover { color: var(--navy); border-color: var(--border); }
.mode-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mode-toggle:hover svg { transform: rotate(15deg); }
/* Show sun in dark mode (offer to switch to light), moon in light mode */
.mode-dark .mode-toggle .icon-moon { display: none; }
.mode-dark .mode-toggle .icon-sun { display: block; }
.mode-light .mode-toggle .icon-moon { display: block; }
.mode-light .mode-toggle .icon-sun { display: none; }

/* Nav-right cluster: mode toggle + Contact Us button */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==================================================================
   NAV — uses real logo PNG
   ================================================================== */
.nav {
  position: sticky;
  top: 0;
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s, border-color 0.3s;
}
.mode-dark .nav { background: rgba(5, 14, 36, 0.78); border-bottom: 1px solid var(--border); }
.mode-light .nav { background: rgba(255, 255, 255, 0.88); border-bottom: 1px solid var(--border); }

.logo {
  display: flex;
  align-items: center;
  height: 36px;
}
.logo img {
  height: 100%;
  width: auto;
  display: block;
}
.logo .logo-light { display: none; }
.logo .logo-dark { display: none; }
.mode-light .logo .logo-light { display: block; }
.mode-dark .logo .logo-dark { display: block; }

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-muted);
}
.nav-links a { transition: color 0.2s; position: relative; padding: 4px 0; }
.mode-dark .nav-links a:hover, .mode-dark .nav-links a.active { color: var(--ink-strong); }
.mode-light .nav-links a:hover, .mode-light .nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1.5px;
  background: var(--accent);
}

.nav-cta {
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.mode-dark .nav-cta { background: var(--accent); color: var(--bg); }
.mode-dark .nav-cta:hover { background: var(--accent-soft); transform: translateY(-1px); }
.mode-light .nav-cta { background: var(--navy); color: white; }
.mode-light .nav-cta:hover { background: var(--navy-soft); transform: translateY(-1px); }

/* ==================================================================
   TYPOGRAPHY
   ================================================================== */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-block;
}
.mode-dark .eyebrow { color: var(--accent-soft); }
.mode-light .eyebrow { color: var(--accent-deep); }

/* ==================================================================
   HERO
   ================================================================== */
.hero {
  padding: 80px 48px 40px;
  background: var(--hero-mesh);
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color, rgba(255,255,255,0.018)) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color, rgba(255,255,255,0.018)) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
}
.mode-light .hero::after { --grid-color: rgba(15, 37, 85, 0.03); }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero-headline {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 780px;
}
.mode-dark .hero-headline { color: var(--ink-strong); }
.mode-light .hero-headline { color: var(--navy); }
.hero-headline em { font-style: inherit; font-weight: inherit; }
.mode-dark .hero-headline em { color: inherit; }
.mode-light .hero-headline em { color: inherit; }

.hero-sub {
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--ink-muted);
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.mode-dark .btn-primary { background: var(--accent); color: var(--bg); }
.mode-dark .btn-primary:hover { background: var(--accent-soft); transform: translateY(-1px); }
.mode-light .btn-primary { background: var(--navy); color: white; }
.mode-light .btn-primary:hover { background: var(--navy-soft); transform: translateY(-1px); }

.mode-dark .btn-ghost { background: transparent; color: var(--ink-strong); border-color: var(--border-strong); }
.mode-dark .btn-ghost:hover { background: rgba(255,255,255,0.04); border-color: var(--accent); }
.mode-light .btn-ghost { background: transparent; color: var(--navy); border-color: var(--border-strong); }
.mode-light .btn-ghost:hover { background: var(--bg-3); border-color: var(--accent-deep); }

/* Hero visual — cleaner composition, no overlap */
.hero-viz {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: 12px;
  overflow: hidden;
}
.mode-dark .hero-viz {
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 25% 15%, rgba(39, 182, 236, 0.14) 0%, transparent 60%),
    linear-gradient(160deg, #122a66 0%, #050e24 100%);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5);
}
.mode-light .hero-viz {
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 25% 15%, rgba(39, 182, 236, 0.10) 0%, transparent 60%),
    linear-gradient(160deg, #ffffff 0%, #eaf0f8 100%);
  box-shadow: 0 30px 60px -20px rgba(15, 37, 85, 0.15);
}
.hero-viz svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-viz-label {
  position: absolute;
  font-family: 'Figtree', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
}
.mode-dark .hero-viz-label { color: rgba(255,255,255,0.72); }
.mode-light .hero-viz-label { color: var(--ink-muted); }
.hero-viz-label.tl { top: 14px; left: 16px; }
.hero-viz-label.tr { top: 14px; right: 16px; }
.mode-dark .hero-viz-axis text { fill: rgba(200, 230, 245, 0.78); }
.mode-light .hero-viz-axis text { fill: rgba(15, 37, 85, 0.62); }
.mode-light .hero-viz-dashed { stroke: rgba(15, 37, 85, 0.35); }
.mode-dark .hero-viz-grid { stroke: rgba(139, 217, 240, 0.08); }
.mode-light .hero-viz-grid { stroke: rgba(15, 37, 85, 0.08); }

/* Credibility strip at end of hero */
.hero-cred {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 40px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero-cred-label {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.5;
  max-width: none;
  text-align: center;
  color: var(--ink-dim);
}
.hero-cred-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}
.hero-cred-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 32px;
  opacity: 0.78;
  transition: opacity 0.3s;
}
.hero-cred-logo:hover { opacity: 1; }
.is-safari .hero-cred-logo { transition: none; }
.is-safari .hero-cred-logo:hover { opacity: 0.78; }
.hero-cred-logo img {
  max-height: 32px;
  max-width: 130px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
/* Show the right logo variant for each mode */
.hero-cred-logo .logo-dark,
.hero-cred-logo .logo-light { display: none; }
.mode-dark .hero-cred-logo .logo-dark { display: block; }
.mode-light .hero-cred-logo .logo-light { display: block; }
/* TMX mark is narrow — render taller so it reads at comparable visual weight */
.hero-cred-logo[title="TMX"] img { max-height: 52px; }

/* ==================================================================
   SECTIONS
   ================================================================== */
.section { padding: 96px 48px; position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; width: 100%; }

.mode-dark .section-surface { background: var(--bg); }
.mode-dark .section-lifted { background: var(--bg-1); }
.mode-light .section-surface { background: var(--bg); }
.mode-light .section-lifted { background: var(--bg-1); }
.mode-light .section-cool { background: var(--bg-3); }

.section + .section { border-top: 1px solid var(--border); }
.founders-section { border-top: 1px solid var(--border); padding-bottom: 128px; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  margin-bottom: 56px;
  align-items: end;
}
.section-title {
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 560px;
}
.mode-dark .section-title { color: var(--ink-strong); }
.mode-light .section-title { color: var(--navy); }
.section-title em { font-style: inherit; font-weight: inherit; }
.mode-dark .section-title em { color: inherit; }
.mode-light .section-title em { color: inherit; }

.section-lead {
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 540px;
  color: var(--ink-muted);
}

/* ==================================================================
   STICKY "HOW WE WORK" — cinematic scroll-driven section
   Left: sticky graphic zone that changes based on which step is active
   Right: three full-height step cards that scroll past
   ================================================================== */
.how {
  padding: 0 48px;
  position: relative;
}
.how-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  position: relative;
}

.how-intro {
  max-width: 1200px;
  margin: 0 auto 0;
  padding: 96px 0 0;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: end;
}

/* Left column — sticky graphic panel */
.how-graphic-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}
.how-graphic {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.mode-dark .how-graphic {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(39, 182, 236, 0.12) 0%, transparent 60%),
    linear-gradient(160deg, #0f224d 0%, #071029 100%);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.mode-light .how-graphic {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(39, 182, 236, 0.1) 0%, transparent 60%),
    linear-gradient(160deg, #ffffff 0%, #eaf0f8 100%);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(15, 37, 85, 0.15);
}

/* The three graphic layers stacked on top of each other, cross-fade via opacity */
.how-graphic-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.96);
}
.how-graphic-layer.active {
  opacity: 1;
  transform: scale(1);
}
.how-graphic-layer svg { width: 100%; height: 100%; }

/* Progress dots */
.how-progress {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.how-dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(139, 217, 240, 0.2);
  transition: background 0.3s;
}
.mode-light .how-dot { background: rgba(15, 37, 85, 0.1); }
.how-dot.active { background: var(--accent); }

/* Right column — three step cards, full-viewport height each */
.how-steps {
  display: flex;
  flex-direction: column;
}
.how-step {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
  opacity: 0.4;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.how-step.in-view {
  opacity: 1;
  transform: translateY(0);
}
.how-step-num {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Figtree', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.mode-dark .how-step-num { color: var(--accent-soft); }
.mode-light .how-step-num { color: var(--accent-deep); }
.how-step-num::before {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.how-step h3 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.mode-dark .how-step h3 { color: var(--ink-strong); }
.mode-light .how-step h3 { color: var(--navy); }
.how-step p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.how-step p:last-child { margin-bottom: 0; }

/* ==================================================================
   FOUNDERS INTRO (Home)
   ================================================================== */
.founders-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  margin-bottom: 56px;
  align-items: end;
}
.founders-head-lead {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 480px;
}

/* Side-by-side founder panels — each is a whole clickable card */
.founders-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.founder-panel {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  padding: 36px 36px 32px;
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
/* Light mode: soft cyan-tinted wash that matches the CTA band treatment */
.mode-light .founder-panel {
  background: linear-gradient(135deg, #f0f6fc 0%, #e7eff9 100%);
  border: 1px solid rgba(39, 182, 236, 0.14);
}
.mode-light .founder-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(39, 182, 236, 0.3);
  box-shadow: 0 18px 40px -18px rgba(15, 37, 85, 0.18);
}
/* Dark mode: subtle elevated surface */
.mode-dark .founder-panel {
  background: linear-gradient(135deg, rgba(39, 182, 236, 0.05) 0%, rgba(39, 182, 236, 0.01) 100%);
  border: 1px solid var(--border);
}
.mode-dark .founder-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(39, 182, 236, 0.25);
  background: linear-gradient(135deg, rgba(39, 182, 236, 0.08) 0%, rgba(39, 182, 236, 0.02) 100%);
}

.founder-panel-photo {
  position: relative;
  width: 180px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1.1;
}
.founder-panel-photo .headshot-inner {
  position: relative;
  aspect-ratio: 1 / 1.1;
  border-radius: 10px;
  overflow: hidden;
}
.mode-dark .founder-panel-photo .headshot-inner {
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.mode-light .founder-panel-photo .headshot-inner {
  box-shadow: 0 20px 40px -18px rgba(15, 37, 85, 0.2), inset 0 0 0 1px rgba(15, 37, 85, 0.06);
}
.founder-panel-photo .headshot-inner .img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
}
.founder-panel-photo .headshot-inner::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 100%);
}

.founder-panel-content { flex: 1; }

/* Hide old grid-based founder-card styles — keep CSS clean */
.founders-grid { display: none; }
.founder-card { display: none; }

.headshot {
  position: relative;
  width: 148px;
}
.headshot-inner {
  position: relative;
  aspect-ratio: 1 / 1.15;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
}
.mode-dark .headshot-inner {
  background: var(--bg-3);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.mode-light .headshot-inner {
  background: var(--bg-3);
  box-shadow: 0 20px 40px -18px rgba(15, 37, 85, 0.18), inset 0 0 0 1px rgba(15, 37, 85, 0.06);
}
.headshot-inner .img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
}
.headshot-inner::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 100%);
}
.headshot:hover .headshot-inner { transform: translateY(-3px); }

.founder-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1.2;
}
.mode-dark .founder-name { color: var(--ink-strong); }
.mode-light .founder-name { color: var(--navy); }
.founder-role {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mode-dark .founder-role { color: var(--accent-soft); }
.mode-light .founder-role { color: var(--accent-deep); }
.founder-pedigree {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.founder-pedigree strong { font-weight: 600; color: var(--ink); }
.founder-stats {
  display: flex;
  gap: 24px;
  padding: 14px 0;
  margin: 14px 0 8px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.founder-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.founder-stat .v {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.mode-dark .founder-stat .v { color: var(--accent-soft); }
.mode-light .founder-stat .v { color: var(--accent-deep); }
.founder-stat .l {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-dim);
}
.founder-link {
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
  margin-top: 4px;
}
.mode-dark .founder-link { color: var(--accent-soft); }
.mode-light .founder-link { color: var(--accent-deep); }
.founder-panel:hover .founder-link { gap: 8px; }

/* ==================================================================
   CTA band
   ================================================================== */
.cta-band {
  padding: 96px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.mode-dark .cta-band {
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(39, 182, 236, 0.08) 0%, transparent 60%),
    var(--bg);
}
.mode-light .cta-band {
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(39, 182, 236, 0.06) 0%, transparent 60%),
    var(--bg-1);
}
.cta-inner { max-width: 720px; margin: 0 auto; position: relative; }
.cta-title {
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.mode-dark .cta-title { color: var(--ink-strong); }
.mode-light .cta-title { color: var(--navy); }
.cta-title em { font-style: inherit; font-weight: inherit; }
.mode-dark .cta-title em { color: inherit; }
.mode-light .cta-title em { color: inherit; }
.cta-sub {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: var(--ink-muted);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.mode-dark .cta-btn { background: var(--accent); color: var(--bg); }
.mode-dark .cta-btn:hover { background: var(--accent-soft); transform: translateY(-1px); }
.mode-light .cta-btn { background: var(--navy); color: white; }
.mode-light .cta-btn:hover { background: var(--navy-soft); transform: translateY(-1px); }

/* ==================================================================
   FOOTER
   ================================================================== */
.foot {
  padding: 36px 48px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--ink-dim);
}
.mode-light .foot { background: var(--bg-2); }
.foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==================================================================
   WHAT WE DO — video + capabilities
   ================================================================== */
.wwd-heading {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 880px;
  margin-bottom: 20px;
}
.mode-dark .wwd-heading { color: var(--ink-strong); }
.mode-light .wwd-heading { color: var(--navy); }
.wwd-heading em { font-style: inherit; font-weight: inherit; }
.mode-dark .wwd-heading em { color: inherit; }
.mode-light .wwd-heading em { color: inherit; }
.wwd-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 680px;
}

.video-wrap {
  margin: 56px 0 0;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mode-dark .video-wrap {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(39, 182, 236, 0.08), transparent 55%),
    linear-gradient(135deg, #122a66, #050e24);
  border: 1px solid var(--border);
}
.mode-light .video-wrap {
  background: linear-gradient(135deg, #0f2555, #0a1a40);
  box-shadow: 0 30px 60px -20px rgba(15, 37, 85, 0.2);
}
.video-viz { position: absolute; inset: 0; opacity: 0.3; }
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.video-wrap:hover .video-play {
  transform: translate(-50%, -50%) scale(1.07);
  background: rgba(255,255,255,0.18);
}
.video-play::after {
  content: '';
  border-left: 13px solid white;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.video-caption {
  position: absolute;
  bottom: 18px;
  left: 22px;
  font-family: 'Figtree', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
  font-weight: 500;
}

/* ==================================================================
   STORY CHAPTER — arrow-driven carousel on what-we-do.html
   ================================================================== */
.story-chapter { padding: 0; }

.chapter-sticky {
  position: static;
  height: auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 48px 56px;
}

.chapter-heading {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  margin-top: 10px;
}
.mode-dark .chapter-heading { color: var(--ink-strong); }
.mode-light .chapter-heading { color: var(--navy); }
.chapter-heading em { font-style: inherit; font-weight: inherit; }
.mode-dark .chapter-heading em { color: inherit; }
.mode-light .chapter-heading em { color: inherit; }

.chapter-track-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.chapter-track-viewport {
  overflow: hidden;
  flex: 1;
}

.chapter-track {
  display: flex;
  gap: 20px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.chapter-prev,
.chapter-next {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, border-color 0.2s;
  color: var(--fg);
  padding: 0;
}
.chapter-prev:disabled,
.chapter-next:disabled {
  opacity: 0.28;
  cursor: default;
}
.chapter-prev:not(:disabled):hover,
.chapter-next:not(:disabled):hover {
  border-color: rgba(39,182,236,0.5);
}

.chapter-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.chapter-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s, transform 0.2s;
  display: block;
}
.chapter-dot.active {
  background: #27b6ec;
  transform: scale(1.25);
}

.chapter-card {
  flex: 0 0 520px;
  width: 520px;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s;
}
.chapter-card-art {
  width: 100%;
  margin-bottom: 20px;
}
.chapter-card-art svg {
  width: 100%;
  height: auto;
  display: block;
}
.mode-dark .chapter-card { background: var(--bg-1); }
.mode-light .chapter-card { background: var(--bg-1); }
.mode-dark .chapter-card:hover { border-color: rgba(39,182,236,0.28); }
.mode-light .chapter-card:hover { border-color: rgba(39,182,236,0.4); }

.chapter-card-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.mode-dark .chapter-card-title { color: var(--ink-strong); }
.mode-light .chapter-card-title { color: var(--navy); }

.chapter-card-text {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink-muted);
  flex: 1;
}


.caps-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  margin-bottom: 56px;
  align-items: end;
}
.caps-title {
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mode-dark .caps-title { color: var(--ink-strong); }
.mode-light .caps-title { color: var(--navy); }
.caps-title em { font-style: inherit; font-weight: inherit; }
.mode-dark .caps-title em { color: inherit; }
.mode-light .caps-title em { color: inherit; }
.caps-lead { font-size: 15.5px; line-height: 1.7; color: var(--ink-muted); max-width: 540px; }

.caps-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--border);
}
.cap {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 420px;
  transition: background 0.3s;
}
.mode-dark .cap { background: var(--bg-2); }
.mode-dark .cap:hover { background: var(--bg-3); }
.mode-light .cap { background: var(--bg-2); }
.mode-light .cap:hover { background: var(--bg-subtle); }

.cap-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.cap-head h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.mode-dark .cap-head h3 { color: var(--ink-strong); }
.mode-light .cap-head h3 { color: var(--navy); }
.cap-count {
  font-size: 11px;
  color: var(--ink-dim);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.cap-list { display: flex; flex-direction: column; gap: 9px; }
.cap-list li {
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.cap-list li::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mode-dark .cap-list li::before { background: var(--accent-soft); }
.mode-light .cap-list li::before { background: var(--accent-deep); }

.persp-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.persp-title {
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mode-dark .persp-title { color: var(--ink-strong); }
.mode-light .persp-title { color: var(--navy); }
.persp-empty {
  padding: 56px 36px;
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
}
.mode-light .persp-empty { background: var(--bg-2); }
.persp-empty h4 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.mode-dark .persp-empty h4 { color: var(--accent-soft); }
.mode-light .persp-empty h4 { color: var(--accent-deep); }
.persp-empty p {
  font-size: 14.5px;
  color: var(--ink-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==================================================================
   WHO WE ARE
   ================================================================== */
.who-heading {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 880px;
  margin-bottom: 20px;
}
.mode-dark .who-heading { color: var(--ink-strong); }
.mode-light .who-heading { color: var(--navy); }
.who-heading em { font-style: inherit; font-weight: inherit; }
.mode-dark .who-heading em { color: inherit; }
.mode-light .who-heading em { color: inherit; }
.who-lead { font-size: 17px; line-height: 1.6; color: var(--ink-muted); max-width: 680px; }

.team-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: 8px;
}
.mode-dark .team-heading { color: var(--accent-soft); }
.mode-light .team-heading { color: var(--accent-deep); }

.team-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.bio-headshot { width: 280px; }
.bio-headshot .headshot-inner { aspect-ratio: 1 / 1.15; }
.bio-headshot .headshot-inner::after { height: 4px; }

.bio-name {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.mode-dark .bio-name { color: var(--ink-strong); }
.mode-light .bio-name { color: var(--navy); }
.bio-role {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.mode-dark .bio-role { color: var(--accent-soft); }
.mode-light .bio-role { color: var(--accent-deep); }

.bio-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.bio-tag {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--border-strong);
}
.mode-dark .bio-tag {
  background: rgba(39, 182, 236, 0.06);
  color: var(--accent-soft);
  border-color: rgba(39, 182, 236, 0.22);
}
.mode-light .bio-tag {
  background: rgba(39, 182, 236, 0.08);
  color: var(--accent-deep);
  border-color: rgba(26, 147, 201, 0.25);
}

.bio-body p {
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 14px;
  color: var(--ink);
}
.bio-body p:last-child { margin-bottom: 0; }

.name-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: center;
}
.name-logo-wrap {
  aspect-ratio: 1/1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.mode-dark .name-logo-wrap {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(39, 182, 236, 0.12), transparent 55%),
    linear-gradient(135deg, #122a66, #050e24);
  border: 1px solid var(--border);
}
.mode-light .name-logo-wrap {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(39, 182, 236, 0.12), transparent 55%),
    linear-gradient(135deg, #ffffff 0%, #eaf0f8 100%);
  border: 1px solid var(--border);
}
.name-logo-wrap img {
  max-width: 70%;
  height: auto;
}
.name-logo-wrap .logo-light { display: none; }
.name-logo-wrap .logo-dark { display: none; }
.mode-light .name-logo-wrap .logo-light { display: block; }
.mode-dark .name-logo-wrap .logo-dark { display: block; }

.name-content h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  line-height: 1.2;
}
.mode-dark .name-content h3 { color: var(--ink-strong); }
.mode-light .name-content h3 { color: var(--navy); }
.name-content p { font-size: 15px; line-height: 1.7; color: var(--ink); }
.name-content strong { font-weight: 600; }
.mode-dark .name-content strong { color: var(--accent-soft); }
.mode-light .name-content strong { color: var(--accent-deep); }

/* ==================================================================
   CONTACT
   ================================================================== */
.contact-heading {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 820px;
}
.mode-dark .contact-heading { color: var(--ink-strong); }
.mode-light .contact-heading { color: var(--navy); }
.contact-heading em { font-style: inherit; font-weight: inherit; }
.mode-dark .contact-heading em { color: inherit; }
.mode-light .contact-heading em { color: inherit; }

.contact-body-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
}
.contact-left p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
  color: var(--ink);
}
.contact-left p:last-of-type { margin-bottom: 32px; }
.contact-meta {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 13px;
}
.contact-meta-label {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 600;
}
.contact-meta-value { font-weight: 500; color: var(--ink); }

.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-muted);
}
.field label .req {
  opacity: 0.6;
  font-weight: 400;
  margin-left: 3px;
  text-transform: none;
  letter-spacing: 0;
}
.field input, .field textarea {
  padding: 12px 14px;
  font-family: 'Figtree', sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  border-radius: 6px;
  transition: all 0.2s;
  outline: none;
  color: var(--ink);
}
.mode-dark .field input, .mode-dark .field textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
}
.mode-dark .field input:focus, .mode-dark .field textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.05);
}
.mode-light .field input, .mode-light .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
}
.mode-light .field input:focus, .mode-light .field textarea:focus {
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(39, 182, 236, 0.1);
}
.field textarea { resize: vertical; min-height: 128px; font-family: 'Figtree', sans-serif; }

.form-submit {
  align-self: flex-start;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.mode-dark .form-submit { background: var(--accent); color: var(--bg); }
.mode-dark .form-submit:hover { background: var(--accent-soft); transform: translateY(-1px); }
.mode-light .form-submit { background: var(--navy); color: white; }
.mode-light .form-submit:hover { background: var(--navy-soft); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  min-height: 320px;
}
.form-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}
.mode-dark .form-success-icon { background: rgba(39,182,236,0.15); color: var(--accent); }
.mode-light .form-success-icon { background: rgba(15,37,85,0.08); color: var(--navy); }
.form-success h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-strong);
}
.form-success p {
  color: var(--ink-muted);
  font-size: 15px;
  max-width: 340px;
  line-height: 1.6;
}

/* ==================================================================
   MOBILE NAV — hamburger + slide-in drawer (only visible ≤1000px)
   ================================================================== */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  background: transparent;
  flex-shrink: 0;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
.mode-dark .nav-toggle { color: rgba(255,255,255,0.78); }
.mode-light .nav-toggle { color: var(--ink-muted); }
.nav-toggle:hover { background: rgba(127,127,127,0.08); }
.mode-dark .nav-toggle:hover { color: #fff; }
.mode-light .nav-toggle:hover { color: var(--navy); }
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.6px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
body.drawer-open .nav-toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
body.drawer-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.drawer-open .nav-toggle span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.3s;
}
body.drawer-open .mobile-drawer {
  pointer-events: auto;
  visibility: visible;
  transition: visibility 0s linear 0s;
}
.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 36, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mode-light .mobile-drawer-backdrop { background: rgba(15, 37, 85, 0.35); }
body.drawer-open .mobile-drawer-backdrop { opacity: 1; }

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  display: flex;
  flex-direction: column;
  padding: 76px 28px 36px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mode-dark .mobile-drawer-panel {
  background: var(--bg-1);
  border-left: 1px solid var(--border);
}
.mode-light .mobile-drawer-panel {
  background: var(--bg);
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px -20px rgba(15, 37, 85, 0.18);
}
body.drawer-open .mobile-drawer-panel { transform: translateX(0); }

.mobile-drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  color: var(--ink-muted);
}
.mobile-drawer-close:hover { background: rgba(127,127,127,0.08); }
.mode-dark .mobile-drawer-close:hover { color: #fff; }
.mode-light .mobile-drawer-close:hover { color: var(--navy); }
.mobile-drawer-close svg { width: 20px; height: 20px; }

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}
.mobile-drawer-links a {
  font-size: 17px;
  font-weight: 500;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
  color: var(--ink);
}
.mode-dark .mobile-drawer-links a:hover { color: var(--ink-strong); }
.mode-light .mobile-drawer-links a:hover { color: var(--navy); }
.mode-dark .mobile-drawer-links a.active { color: var(--accent-soft); }
.mode-light .mobile-drawer-links a.active { color: var(--accent-deep); }

.mobile-drawer-cta {
  padding: 13px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s;
}
.mode-dark .mobile-drawer-cta { background: var(--accent); color: var(--bg); }
.mode-light .mobile-drawer-cta { background: var(--navy); color: white; }

.mobile-drawer-theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.mobile-drawer-theme-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

body.drawer-open { overflow: hidden; }

/* ==================================================================
   RESPONSIVE
   ================================================================== */
@media (max-width: 1000px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav .mode-toggle { display: none; }

  .hero, .section, .cta-band, .foot, .how { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 56px; padding-bottom: 32px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .founders-section { padding-bottom: 80px; }
  .cta-band { padding-top: 64px; padding-bottom: 64px; }
  .how-intro { padding-top: 64px; padding-bottom: 32px; }

  .hero-inner, .section-head, .caps-head, .founders-head,
  .name-inner, .team-row, .contact-body-inner, .how-intro { grid-template-columns: 1fr; gap: 40px; }
  .caps-matrix { grid-template-columns: 1fr; }
  .cap { min-height: 0; }
  .founders-stack { grid-template-columns: 1fr; }
  .founder-panel { padding: 28px; }
  .founder-panel-photo { width: 160px; flex-shrink: 0; }
  .founder-stats { flex-wrap: wrap; gap: 16px; }
  .hero-cred { gap: 20px; margin-top: 40px; }
  .hero-cred-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 12px; }
  .hero-cred-logo img { max-height: 22px; max-width: min(100%, 110px); }
  .hero-cred-logo[title="TMX"] img { max-height: 34px; }
  .hero-viz { max-width: 360px; margin: 0 auto; aspect-ratio: 1 / 1; }
  .form-row { grid-template-columns: 1fr; }
  .bio-headshot { width: 200px; }
  .headshot { width: 140px; }
  .persp-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot-inner { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Sticky "how" section — graphic hidden on mobile (cross-fade only worked with sticky scroll) */
  .how-inner { grid-template-columns: 1fr; gap: 0; }
  .how-graphic-wrap { display: none; }
  .how-step { min-height: auto; padding: 32px 0; opacity: 1; transform: none; }

}
@media (max-width: 800px) {
  .founder-panel { flex-direction: column; }
}
@media (max-width: 768px) {
  .story-chapter { height: auto !important; padding: 0; }
  .chapter-sticky { padding: 48px 24px 36px; }
  .chapter-track-wrap { display: block; }
  .chapter-prev, .chapter-next { display: none; }
  .chapter-track-viewport { overflow: visible; }
  .chapter-track { flex-direction: column; transform: none !important; transition: none; }
  .chapter-card { flex: none; width: 100%; }
  .chapter-dots { display: none; }
  .chapter-clone { display: none; }
}
@media (max-width: 600px) {
  .nav { padding: 12px 16px; }
  .logo { height: 28px; }
  .hero, .section, .cta-band, .foot, .how { padding-left: 16px; padding-right: 16px; }
  .story-chapter { padding-left: 0; padding-right: 0; }
  .contact-meta-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .founder-panel { padding: 24px 20px; }
  .bio-headshot { width: 160px; }
  .chapter-sticky { padding: 48px 16px 36px; }
}