/* ==========================================================================
   NexGati — styles.css
   Design source of truth: the founders' Canva deck "Accelerating Industrial
   Intelligence" — cream paper, deep navy, teal dotted-compass motif, coral
   CTAs, high-contrast serif headlines over a bold geometric sans.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Palette — from the brand logo + Canva deck */
  --paper:       #faf8f3;  /* cream ground */
  --paper-deep:  #f1ede3;  /* tinted sections */
  --card:        #ffffff;
  --navy:        #122944;  /* wordmark navy — display text on cream */
  --navy-soft:   #45566d;  /* secondary text on cream */
  --navy-ground: #0b1f35;  /* dark section ground */
  --navy-raised: #132c4b;  /* chips on dark ground */
  --teal:        #14a396;  /* logo teal (deep end) */
  --teal-bright: #2dd4bf;  /* logo teal (bright end) */
  --coral:       #ff6b61;  /* CTA / highlight labels */
  --coral-deep:  #e4473c;  /* coral for text (AA on cream) */
  --green:       #3ee07f;  /* data accent inside navy sections only */
  --lt-text:     #eef3f7;  /* text on navy */
  --lt-soft:     #93a5ba;  /* secondary text on navy */

  --line:        rgba(18, 41, 68, 0.16);
  --line-strong: rgba(18, 41, 68, 0.4);
  --lt-line:     rgba(238, 243, 247, 0.16);

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Archivo", "Helvetica Neue", sans-serif;
  --mono:  "Fragment Mono", "SFMono-Regular", Menlo, monospace;

  /* Motion — Emil-approved curves */
  --ease-out:   cubic-bezier(0.23, 1, 0.32, 1);
  --ease-inout: cubic-bezier(0.77, 0, 0.175, 1);
  --reveal-dur: 550ms;

  --radius: 10px;
  --header-h: 84px;
}

/* --------------------------------------------------------------------------
   1. FONTS (self-hosted)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-var.woff2?v=2") format("woff2");
  font-weight: 300 900;
  font-stretch: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fragment Mono";
  src: url("../assets/fonts/fragment-mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

::selection { background: var(--teal-bright); color: var(--navy-ground); }

/* --------------------------------------------------------------------------
   3. HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(18, 41, 68, 0.25);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: auto; height: 58px; }

.site-nav { display: flex; align-items: center; }
.nav-menu {
  display: flex; align-items: center; gap: 34px;
  list-style: none; margin: 0; padding: 0;
}
.nav-menu a:not(.btn) {
  font-size: 15px; font-weight: 560; text-decoration: none;
  color: var(--navy-soft);
  transition: color 180ms ease;
}
.nav-menu a:not(.btn):hover { color: var(--navy); }
.nav-toggle { display: none; }

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 16px; font-weight: 620;
  text-decoration: none; cursor: pointer;
  border: 0; border-radius: 999px;
  padding: 15px 30px;
  transition: transform 160ms var(--ease-out), background 180ms ease, box-shadow 180ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-solid {
  background: var(--coral); color: #fff;
  box-shadow: 0 10px 24px -12px rgba(228, 71, 60, 0.55);
}
.btn-solid:hover { background: var(--coral-deep); }
.btn-ghost {
  background: transparent; color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-ghost .btn-arrow { transition: transform 200ms var(--ease-out); }
.btn-ghost:hover .btn-arrow { transform: translateX(4px); }
.btn-small { padding: 11px 22px; font-size: 14.5px; }
.btn-wide { width: 100%; justify-content: center; }

/* --------------------------------------------------------------------------
   5. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(780px, calc(100svh - var(--header-h)));
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-inner {
  position: relative; z-index: 1;
  padding: 96px 0 140px;
  text-align: center;
}
.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em;
  color: var(--navy-soft);
  display: inline-flex; gap: 14px; align-items: baseline; flex-wrap: wrap; justify-content: center;
}
.eyebrow-tag {
  color: var(--teal); font-weight: 700; text-transform: uppercase;
}
.hero-heading {
  font-family: var(--serif);
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 480;
  font-variation-settings: "opsz" 144, "WONK" 1, "SOFT" 0;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 26px auto 0;
  max-width: 15ch;
}
.hero-heading em {
  font-style: normal;
  background: linear-gradient(100deg, var(--teal) 10%, var(--teal-bright) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub {
  font-size: clamp(16.5px, 1.6vw, 19px);
  color: var(--navy-soft);
  max-width: 52ch;
  margin: 26px auto 0;
}
.hero-sub strong { color: var(--navy); font-weight: 650; }
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-top: 40px;
}
.hero-note {
  margin-top: 22px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.05em;
  color: var(--navy-soft);
}
.hero-consult {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
  font-size: clamp(18px, 2vw, 22px); font-weight: 680;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 2px solid rgba(20, 163, 150, 0.35);
  padding-bottom: 2px;
  transition: color 180ms ease, border-color 180ms ease;
}
.hero-consult .btn-arrow { transition: transform 200ms var(--ease-out); }
.hero-consult:hover { color: var(--coral-deep); border-color: var(--coral); }
.hero-consult:hover .btn-arrow { transform: translateX(4px); }
.hero-consult:active { transform: scale(0.98); }
/* AI sparkle chip (hero) */
.ai-spark {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  margin: 30px auto 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(45, 212, 191, 0.28), rgba(20, 163, 150, 0.1));
  box-shadow: inset 0 0 0 1px rgba(20, 163, 150, 0.35), 0 6px 24px -8px rgba(20, 163, 150, 0.45);
}
.ai-spark svg {
  width: 20px; height: 20px;
  fill: var(--teal);
  animation: spark-breathe 3.2s var(--ease-inout) infinite;
  transform-origin: center;
}
@keyframes spark-breathe {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.85; }
  50%      { transform: scale(1.18) rotate(22deg); opacity: 1; }
}

/* Blueprint crosshairs (hero corners) */
.hero-inner::before, .hero-inner::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  background:
    linear-gradient(var(--line-strong), var(--line-strong)) center/1px 100% no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) center/100% 1px no-repeat;
  opacity: 0.5;
}
.hero-inner::before { top: 44px; left: -6px; }
.hero-inner::after { bottom: 64px; right: -6px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px;
  border: 1.5px solid var(--line-strong);
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; border-radius: 2px;
  background: var(--teal);
  transform: translateX(-50%);
  animation: cue 1.8s var(--ease-inout) infinite;
}
@keyframes cue {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  55%      { transform: translate(-50%, 14px); opacity: 0.2; }
}

/* --------------------------------------------------------------------------
   6. SECTION SCAFFOLD
   -------------------------------------------------------------------------- */
.section { padding: 96px 0; }
.section[id] { scroll-margin-top: calc(var(--header-h) - 20px); }
.section-tint { background: var(--paper-deep); }
.kicker {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--coral-deep);
}
.kicker-light { color: var(--coral); }
.mega {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 58px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 10px;
}
.mega-light { color: var(--lt-text); }
.serif-h {
  font-family: var(--serif);
  font-weight: 540;
  font-variation-settings: "opsz" 60;
  font-size: clamp(23px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.lede { font-size: clamp(17px, 1.9vw, 20px); }

/* --------------------------------------------------------------------------
   7. HOW WE WORK (navy)
   -------------------------------------------------------------------------- */
.section-navy {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(45, 212, 191, 0.09), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(62, 224, 127, 0.05), transparent 55%),
    var(--navy-ground);
  color: var(--lt-text);
}
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  margin-top: 56px;
}
.lede-light { color: var(--lt-soft); }
.lede-light strong, .how-close em { color: var(--lt-text); }
.how-steps {
  list-style: none; margin: 44px 0 0; padding: 0;
  display: grid; gap: 30px;
}
.how-steps li { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 15px;
  color: var(--teal-bright);
  border: 1.5px solid rgba(45, 212, 191, 0.4);
}
.how-steps h3 {
  font-size: 19px; font-weight: 680; letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.how-steps p { color: var(--lt-soft); font-size: 16px; }
.how-close {
  margin-top: 70px;
  font-family: var(--serif);
  font-weight: 460;
  font-variation-settings: "opsz" 90;
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.35;
  color: var(--lt-soft);
  text-align: center;
}
.how-close em { font-style: italic; }

/* Schematic */
.schematic-fig {
  margin: 0;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--lt-line);
  border-radius: 16px;
  padding: clamp(16px, 2.4vw, 30px);
}
.schematic { width: 100%; height: auto; }
.sch-col {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em;
  fill: var(--lt-soft);
}
.sch-chip rect, .sch-out rect {
  fill: var(--navy-raised);
  stroke: var(--lt-line);
  stroke-width: 1;
}
.sch-chip text, .sch-out text {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em;
  fill: var(--lt-text); text-anchor: middle;
}
.sch-chip .sch-sub, .sch-out .sch-sub { font-size: 9.5px; letter-spacing: 0.02em; fill: var(--lt-soft); }
.sch-out rect { stroke: rgba(62, 224, 127, 0.35); }
.sch-out text { fill: var(--green); }
.sch-out .sch-sub { fill: rgba(62, 224, 127, 0.65); }
.sch-wire {
  fill: none;
  stroke: rgba(147, 165, 186, 0.4);
  stroke-width: 1.2;
  stroke-dasharray: 3 5;
}
.sch-core rect {
  fill: var(--navy-ground);
  stroke: var(--teal);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 18px rgba(45, 212, 191, 0.25));
}
.sch-core-name {
  font-family: var(--serif); font-size: 24px; font-weight: 560;
  fill: var(--lt-text); text-anchor: middle;
}
.sch-core-tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  fill: var(--teal-bright); text-anchor: middle; text-transform: uppercase;
}
.sch-core-verbs {
  font-family: var(--mono); font-size: 11px;
  fill: var(--lt-soft); text-anchor: middle;
}
.flow-dot { fill: var(--teal-bright); }
.flow-dot.flow-out { fill: var(--green); }
.sch-caption {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em;
  fill: var(--lt-soft); opacity: 0.75;
}

/* AI terminal — practical AI, at work */
.ai-demo { margin-top: 70px; }
.ai-demo-label {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em;
  color: var(--teal-bright);
  text-align: center;
  margin-bottom: 18px;
}
.reco-panel {
  max-width: 700px;
  margin-inline: auto;
  background: rgba(6, 20, 36, 0.85);
  border: 1px solid var(--lt-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.8), 0 0 40px -20px rgba(45, 212, 191, 0.25);
}
.ai-terminal-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--lt-line);
}
.ai-terminal-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(147, 165, 186, 0.25);
}
.ai-terminal-bar em {
  margin-left: auto;
  font-family: var(--mono); font-style: normal;
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--lt-soft);
}
.reco-body { padding: 22px 24px 18px; }
.reco-card { display: grid; gap: 14px; min-height: 208px; align-content: start; }
.reco-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.reco-chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-bright);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
}
.reco-when { font-family: var(--mono); font-size: 11px; color: var(--lt-soft); }
.reco-signal { font-size: 15px; line-height: 1.55; color: var(--lt-soft); }
.reco-main { display: grid; gap: 6px; }
.reco-ai {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.reco-ai svg { width: 12px; height: 12px; fill: currentColor; }
.reco-text {
  font-size: 17.5px; font-weight: 640; line-height: 1.45;
  color: var(--lt-text);
  max-width: 44ch;
}
.reco-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap;
  margin-top: 2px;
}
.reco-why { font-size: 13px; color: var(--lt-soft); }
.reco-actions { display: flex; gap: 10px; }
.reco-apply, .reco-later {
  font-family: var(--sans); font-size: 13.5px; font-weight: 620;
  cursor: pointer;
  border: 0; border-radius: 999px;
  padding: 8px 18px;
  transition: transform 140ms var(--ease-out), background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.reco-apply:active, .reco-later:active { transform: scale(0.97); }
.reco-apply { background: var(--teal-bright); color: var(--navy-ground); }
.reco-apply:hover { background: #56e3d0; }
.reco-apply.is-done { background: var(--green); }
.reco-later {
  background: transparent; color: var(--lt-soft);
  box-shadow: inset 0 0 0 1.5px var(--lt-line);
}
.reco-later:hover { color: var(--lt-text); box-shadow: inset 0 0 0 1.5px rgba(238, 243, 247, 0.4); }
.reco-dots { display: flex; gap: 7px; justify-content: center; padding: 14px 0 4px; }
.reco-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(147, 165, 186, 0.3);
  transition: background 300ms ease;
}
.reco-dots span.on { background: var(--teal-bright); }

/* "We build" marquee band */
.build-band {
  margin-top: 90px;
  border-top: 1px solid var(--lt-line);
  border-bottom: 1px solid var(--lt-line);
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}
.build-track {
  display: flex; width: max-content;
  animation: build-scroll 36s linear infinite;
}
.build-band:hover .build-track { animation-play-state: paused; }
.build-list {
  display: flex; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.build-list li {
  font-family: var(--sans); font-weight: 620; font-size: 17px;
  color: var(--lt-text);
  white-space: nowrap;
  padding: 0 28px;
  position: relative;
}
.build-list li::after {
  content: "";
  position: absolute; right: -3px; top: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  transform: translateY(-50%);
  background: var(--teal);
}
@keyframes build-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .build-track { animation: none; }
  .ai-spark svg { animation: none; }
}

/* --------------------------------------------------------------------------
   8. SOLUTIONS
   -------------------------------------------------------------------------- */
.vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  margin-top: 64px;
}
.vision-copy p {
  margin-top: 18px;
  color: var(--navy-soft);
  font-size: clamp(17px, 1.9vw, 19px);
}
.vision-cards { display: grid; gap: 20px; }
.outline-card {
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  padding: 26px 28px;
  background: transparent;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), background 240ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .outline-card:hover {
    transform: translateY(-4px);
    background: var(--card);
    box-shadow: 0 24px 48px -28px rgba(18, 41, 68, 0.35);
  }
}
.outline-card h4 {
  font-family: var(--serif); font-size: 21px; font-weight: 560;
  margin-bottom: 6px;
}
.outline-card p { color: var(--navy-soft); font-size: 15.5px; }

/* Statement band */
.statement { padding: clamp(70px, 9vw, 130px) 0; }
.statement-text {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 110, "WONK" 1;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.22;
  letter-spacing: -0.012em;
  text-align: center;
  max-width: 22ch;
  margin-inline: auto;
}
.statement-text .w {
  opacity: 0.12;
  transition: opacity 450ms var(--ease-out);
}
.statement-text .w.on { opacity: 1; }

/* Pennant cards (Canva's banner shape) */
.pennants {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}
.pennant {
  --notch: 34px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), 50% 100%, 0 calc(100% - var(--notch)));
  background: var(--line-strong);
  padding: 1.5px;
  display: flex;
  filter: drop-shadow(0 14px 18px rgba(18, 41, 68, 0.08));
  transition: transform 260ms var(--ease-out);
}
.pennant-inner {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch) + 1px), 50% calc(100% - 1.5px), 0 calc(100% - var(--notch) + 1px));
  background: var(--card);
  padding: 34px 30px calc(var(--notch) + 34px);
  flex: 1;
  min-height: 100%;
}
@media (hover: hover) and (pointer: fine) {
  .pennant:hover { transform: translateY(-6px); }
}
.pennant-icon {
  width: 46px; height: 46px;
  color: var(--teal);
  margin-bottom: 18px;
}
.pennant-icon svg {
  width: 100%; height: 100%;
  fill: none; stroke: currentColor; stroke-width: 1.6;
}
.pennant .serif-h { font-size: 23px; }
.pennant-tag {
  margin-top: 10px;
  color: var(--coral-deep);
  font-weight: 640; font-size: 15.5px; line-height: 1.4;
}
.pennant-body {
  margin-top: 14px;
  color: var(--navy-soft);
  font-size: 15.5px;
}
.stat {
  font-family: var(--serif); font-weight: 620;
  font-size: 30px; color: var(--navy);
  line-height: 1;
}
.stat-unit { font-size: 22px; }

/* --------------------------------------------------------------------------
   9. FOUNDERS
   -------------------------------------------------------------------------- */
.founders-list {
  display: grid;
  gap: clamp(56px, 7vw, 96px);
  margin-top: 64px;
}
.founder-row {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.founder-row-flip { grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr); }
.founder-row-flip .founder-photo { order: 2; }
.founder-hello {
  color: var(--coral-deep);
  font-family: var(--serif);
  font-size: 24px; font-weight: 540;
  margin-bottom: 10px;
}
.founder-bio p:not(.founder-hello) {
  color: var(--navy-soft);
  text-align: justify;
  text-wrap: initial;
  hyphens: none;
  -webkit-hyphens: none;
}
.founder-bio p + p:not(.founder-hello) { margin-top: 14px; }
.founder-photo { margin: 0; position: relative; max-width: 380px; }
.founder-row-flip .founder-photo { justify-self: end; }
.founder-photo::before {
  content: "";
  position: absolute; inset: 18px -18px -18px 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(20, 163, 150, 0.18), rgba(45, 212, 191, 0.06));
  z-index: 0;
}
.founder-row-flip .founder-photo::before { inset: 18px 18px -18px -18px; }
.founder-photo img {
  position: relative; z-index: 1;
  border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(18, 41, 68, 0.45);
}

/* --------------------------------------------------------------------------
   10. CONTACT
   -------------------------------------------------------------------------- */
.quote-card {
  margin-top: 56px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(30px, 4.5vw, 56px);
  box-shadow: 0 40px 80px -50px rgba(18, 41, 68, 0.35);
  max-width: 860px;
  margin-inline: auto;
}
.quote-form { margin-top: 28px; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.field { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
  color: var(--navy-soft);
}
.field label span { color: var(--coral-deep); }
.field input, .field textarea {
  font-family: var(--sans); font-size: 16px; color: var(--navy);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 163, 150, 0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.hp-wrap {
  position: absolute; left: -9999px; top: -9999px;
  height: 0; overflow: hidden;
}
.form-status {
  margin-top: 16px; text-align: center;
  font-size: 15px; font-weight: 600;
  min-height: 1.4em;
}
.form-status.is-ok { color: var(--teal); }
.form-status.is-error { color: var(--coral-deep); }
.form-note {
  margin-top: 18px; text-align: center;
  font-size: 14.5px; color: var(--navy-soft);
}
.form-note a { color: var(--teal); font-weight: 600; text-decoration: none; }
.form-note a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-ground);
  color: var(--lt-soft);
  padding: 80px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: start;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--lt-line);
}
.footer-logo {
  width: 250px;
  background: var(--paper);
  border-radius: 14px;
  padding: 16px 20px;
}
.footer-brand p {
  margin-top: 20px;
  font-family: var(--serif); font-weight: 440;
  font-size: 18px; line-height: 1.5;
  max-width: 34ch;
}
.footer-label {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em;
  color: var(--teal-bright);
  margin-bottom: 12px;
}
.footer-col a { color: var(--lt-text); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-legal {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px;
  font-size: 14px;
}
.footer-legal a { color: var(--lt-soft); text-decoration: none; }
.footer-legal a:hover { color: var(--lt-text); }

/* --------------------------------------------------------------------------
   12. REVEAL ANIMATION
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--reveal-dur) var(--ease-out),
    transform var(--reveal-dur) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity 300ms ease; }
  .scroll-cue span { animation: none; }
  .statement-text .w { opacity: 1; transition: none; }
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .how-grid, .vision-grid { grid-template-columns: 1fr; }
  .founder-row, .founder-row-flip { grid-template-columns: 1fr; }
  .founder-row .founder-photo, .founder-row-flip .founder-photo { order: -1; justify-self: start; max-width: 340px; }
  .pennants { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .brand-logo { height: 46px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 0; cursor: pointer;
    font-family: var(--mono); font-size: 13px; color: var(--navy);
    padding: 8px;
  }
  .nav-toggle-box { display: inline-flex; flex-direction: column; gap: 5px; }
  .nav-toggle-box span {
    width: 22px; height: 2px; background: var(--navy);
    transition: transform 220ms var(--ease-out), opacity 180ms ease;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-box span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-box span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .nav-menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform 240ms var(--ease-out), opacity 200ms ease;
  }
  .nav-menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu li { padding: 12px 0; }
  .nav-cta { padding-top: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .reco-body { padding: 18px 16px 14px; }
  .reco-card { min-height: 250px; }
  .reco-text { font-size: 16px; }
  .reco-apply, .reco-later { padding: 12px 22px; min-height: 44px; }
  .nav-toggle { min-height: 44px; }
  .section { padding: 72px 0; }
  .hero-inner { padding: 64px 0 120px; }
  .footer-legal { flex-direction: column; gap: 10px; }
}
