/* ===== FZNGroup — design tokens (Manual de marca v2.0) ===== */
:root {
  --azul-noite: #0A1F44;
  --azul-eletrico: #2E6BFF;
  --azul-nevoa: #8FA3C8;
  --off-white: #F4F6FA;

  --ink: var(--azul-noite);
  --ink-soft: #4A5A7A;
  --paper: #FFFFFF;

  --on-dark: #FFFFFF;
  --on-dark-soft: rgba(244, 246, 250, .72);
  --on-dark-line: rgba(244, 246, 250, .14);
  --on-dark-surface: rgba(244, 246, 250, .05);

  --font-title: "Sora", "Arial", sans-serif;
  --font-body: "Inter", "Helvetica", "Arial", sans-serif;

  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 68, .04);
  --shadow: 0 1px 2px rgba(10, 31, 68, .04), 0 30px 60px -34px rgba(10, 31, 68, .28);
  --shadow-lg: 0 1px 2px rgba(10, 31, 68, .05), 0 40px 80px -30px rgba(10, 31, 68, .35);

  --wrap: 1440px;
  --pad-x: clamp(24px, 6vw, 72px);
  /* Assimétrico de propósito: o topo de cada seção já nasce na cor sólida
     (o degradê da seção anterior termina exatamente onde esta começa), então
     não precisa do mesmo respiro do rodapé, que é quem separa o conteúdo de
     onde o degradê de SAÍDA começa (ver #ecossistema/#frentes/#empresas
     abaixo, que somam um extra a --section-pad só embaixo). */
  --section-pad-top: clamp(56px, 8vw, 104px);
  --section-pad: clamp(88px, 13vw, 168px);

  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-title);
  color: var(--azul-noite);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}

h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }

p {
  line-height: 1.75;
  margin: 0 0 1em;
  color: var(--ink-soft);
  max-width: 68ch;
}

a { color: var(--azul-eletrico); }

.wrap {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

img { max-width: 100%; display: block; }

/* ===== Section rhythm ===== */
.section {
  position: relative;
  padding: var(--section-pad-top) 0 var(--section-pad);
  overflow: hidden;
}
/* Respiro extra depois do conteúdo, antes do degradê começar — sem isso o
   conteúdo mais baixo (cards/versus) fica colado onde a transição
   arranca. Só nas 3 seções com gradiente de saída (cor nativa → próxima
   cor); #contato não muda de cor, não precisa. */
#ecossistema, #frentes, #empresas {
  padding-bottom: calc(var(--section-pad) + 48px);
}
.section-dark {
  background: var(--azul-noite);
  color: var(--on-dark-soft);
}
.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark p { color: var(--on-dark-soft); }

/* Cada seção já nasce virando a cor da seção seguinte — não existe um
   "degrau" nem uma faixa de degradê separada; a própria seção é o
   degradê, do início ao fim. Só as duas cores oficiais (azul-noite /
   off-white), nunca um tom fora da paleta.

   A curva fica SÓLIDA (cor nativa, sem variação) até 85% da altura — o
   MESMO corte nas 4 seções, para as duas direções terem exatamente a
   mesma proporção de transição (15%) — e só então faz o trajeto até a
   próxima cor, com `smoothstep` (derivada zero nas duas pontas — emenda
   sem quina tanto com o trecho sólido quanto com a próxima seção).

   85% foi calibrado pelo conteúdo real de cada seção, medido via
   Playwright (ver CLAUDE.md) — o pior caso é o hero (símbolo+título+
   tagline+botões terminam em ~79% da altura, por causa da centralização
   vertical), com folga de ~6 pontos percentuais de fundo sólido antes da
   transição começar. Nas outras três, a folga é ainda maior (conteúdo
   termina entre 70-74%). Padding extra no fim de cada seção
   (`padding-bottom` em #ecossistema/#frentes/#empresas, e o bottom do
   `.hero`) foi o que abriu esse espaço — sem ele, o conteúdo mais baixo
   ficava colado onde a transição arranca.

   #contato não tem gradiente — fica sólido em azul-noite porque o rodapé
   logo depois já é azul-noite; não há próxima cor pra "virar". */
#ecossistema {
  background: linear-gradient(to bottom,
    #f4f6fa 0%, #f4f6fa 85%, #c1c8d3 89.5%, #7f8a9f 92.5%,
    #435370 95.2%, #223557 97%, #12264a 98.4%, #0c2145 99.3%, #0a1f44 100%);
}
#frentes {
  background: linear-gradient(to bottom,
    #0a1f44 0%, #0a1f44 85%, #3d4d6b 89.5%, #7f8b9f 92.5%,
    #bbc2ce 95.2%, #dce0e7 97%, #eceff4 98.4%, #f2f4f9 99.3%, #f4f6fa 100%);
}
#empresas {
  background: linear-gradient(to bottom,
    #f4f6fa 0%, #f4f6fa 85%, #c1c8d3 89.5%, #7f8a9f 92.5%,
    #435370 95.2%, #223557 97%, #12264a 98.4%, #0c2145 99.3%, #0a1f44 100%);
}

.section-head { max-width: 46rem; }

.eyebrow {
  color: var(--azul-eletrico);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .9em;
}
.section-rule {
  display: block;
  width: 44px;
  height: 3px;
  background: var(--azul-eletrico);
  border-radius: 3px;
  margin-bottom: 22px;
}

/* Orbital symbol — the ellipses never move (12° tilt from the manual stays
   exactly as drawn). On hover/focus, JS moves only the satellite dots along
   the elliptical path — the inner one swaps between the "back" and "front"
   ring groups so it passes behind, then back in front of, the fixed core. */
.fzn-sat-inner-back,
.fzn-sat-inner-front {
  transition: opacity .15s linear;
}

/* Nav mark: transparent topbar sits over the dark hero → negative colorway
   (drawn as the markup default). Once scrolled over the off-white page, it
   switches to the principal colorway — per the manual, negativa is for dark
   backgrounds only, principal for light ones. */
.topbar .fzn-ring-inner-back path { stroke: #51689A; transition: stroke .35s var(--ease); }
.topbar .fzn-ring-inner-front path { stroke: #F4F6FA; transition: stroke .35s var(--ease); }
.topbar .fzn-sat-inner { fill: #F4F6FA; transition: fill .35s var(--ease); }

.topbar.scrolled .fzn-ring-inner-back path { stroke: #8FA3C8; }
.topbar.scrolled .fzn-ring-inner-front path { stroke: #0A1F44; }
.topbar.scrolled .fzn-sat-inner { fill: #0A1F44; }

/* subtle orbital watermark — official asset, unrotated, opacity only */
.section-watermark {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -8%;
  width: min(760px, 62vw);
  height: auto;
  transform: translateY(-50%);
  opacity: .05;
  pointer-events: none;
  user-select: none;
}

/* Frentes: mesmo princípio (marca d'água discreta), mas variado — lado
   esquerdo em vez de direito, e só o traço de uma órbita (sem núcleo/
   satélites), pra não virar padrão repetitivo com a seção 1. Cor névoa a
   6% de opacidade, legível sobre o azul-noite da seção; nunca azul
   elétrico. Inclinação de 12° preservada, igual ao símbolo oficial. */
.section-watermark--orbit-left {
  right: auto;
  left: -10%;
  width: min(820px, 64vw);
  opacity: .06;
}

/* ===== Topbar ===== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
}
.topbar.scrolled {
  background: rgba(244, 246, 250, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10, 31, 68, 0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  padding: 6px 0;
}
.brand-mark { flex: none; }
.brand-word {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: #fff;
  transition: color .35s var(--ease);
}
.topbar.scrolled .brand-word { color: var(--azul-noite); }

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 500;
  transition: color .2s var(--ease);
}
.topbar.scrolled .nav a { color: var(--ink); }
.nav a:hover { color: #fff; }
.topbar.scrolled .nav a:hover { color: var(--azul-eletrico); }

.nav-cta {
  background: var(--azul-eletrico);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-cta:hover { background: #4c80ff; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(46,107,255,.6); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background .35s var(--ease);
}
.topbar.scrolled .nav-toggle span { background: var(--azul-noite); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background-color: var(--azul-noite);
  background-image:
    radial-gradient(60% 55% at 50% 8%, rgba(46, 107, 255, .16), transparent 70%),
    linear-gradient(to bottom,
      #0a1f44 0%, #0a1f44 85%, #3d4d6b 89.5%, #7f8b9f 92.5%,
      #bbc2ce 95.2%, #dce0e7 97%, #eceff4 98.4%, #f2f4f9 99.3%, #f4f6fa 100%);
  color: #fff;
  text-align: center;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 175px;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-symbol {
  width: min(440px, 78vw);
  height: auto;
  margin-bottom: 12px;
  animation: rise .9s var(--ease) both;
}
.hero-word {
  color: #fff;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: .32em;
  text-shadow: 0 2px 10px rgba(10, 31, 68, .35);
  animation: rise .9s var(--ease) .12s both;
}
.hero-tagline {
  color: var(--azul-nevoa);
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  max-width: 30ch;
  margin: 0 auto 2.6em;
  /* leve — o hero agora clareia gradualmente até o fim; a sombra dá uma
     margem extra de contraste em viewports baixos, sem escurecer o texto
     visivelmente onde o fundo já está bem escuro */
  text-shadow: 0 1px 6px rgba(10, 31, 68, .45);
  animation: rise .9s var(--ease) .22s both;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: rise .9s var(--ease) .32s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  /* Fica no fluxo normal do conteúdo (logo abaixo dos botões), não mais
     ancorado à borda inferior da seção — assim continua sempre sobre o
     azul-noite sólido, não importa quanto padding o hero tenha embaixo
     nem em que altura de viewport a página é vista. */
  width: 22px;
  height: 36px;
  margin-top: 56px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  animation: rise .9s var(--ease) .5s both;
}
.scroll-cue span {
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: var(--azul-nevoa);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: .3; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-size: .98rem;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn-primary {
  background: var(--azul-eletrico);
  color: #fff;
  box-shadow: 0 16px 32px -14px rgba(46, 107, 255, .55);
}
.btn-primary:hover { background: #4c80ff; transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(46, 107, 255, .65); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, .6); transform: translateY(-2px); }

.btn:focus-visible {
  outline: 2px solid var(--azul-eletrico);
  outline-offset: 3px;
}

/* ===== Lede & quote ===== */
.lede {
  font-size: 1.1rem;
  max-width: 60ch;
}
.lede-narrow { max-width: 56ch; }

.lede-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  margin-top: 8px;
}
.quote {
  position: relative;
  margin: 0;
  padding: 40px 44px;
  background: var(--paper);
  border: 1px solid rgba(10, 31, 68, .06);
  border-left: 3px solid var(--azul-eletrico);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--azul-noite);
  line-height: 1.55;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-mark {
  display: block;
  font-family: var(--font-title);
  font-style: normal;
  font-size: 2.6rem;
  line-height: .5;
  color: var(--azul-eletrico);
  margin-bottom: 14px;
  opacity: .55;
}

.versus {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
}
.versus-col {
  background: var(--paper);
  border: 1px solid rgba(10, 31, 68, .06);
  border-radius: var(--radius);
  padding: 32px 34px;
  box-shadow: var(--shadow);
}
.versus-label {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: .5em;
}
.versus-no .versus-label { color: var(--ink-soft); }
.versus-yes { border-color: rgba(46, 107, 255, .22); }
.versus-yes .versus-label { color: var(--azul-eletrico); }
.versus-col p:last-child { margin: 0; }
.versus-divider {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid rgba(10, 31, 68, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.versus-divider span {
  width: 12px;
  height: 12px;
  border-top: 1.6px solid var(--azul-eletrico);
  border-right: 1.6px solid var(--azul-eletrico);
  transform: rotate(45deg);
  margin-left: -3px;
}

/* ===== Cards — frentes ===== */
.cards-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  /* Fundo quase opaco (não os 5% translúcido de antes): a seção #frentes
     agora tem gradiente próprio (azul-noite → off-white ao longo da
     altura), e um card muito transparente deixaria o texto branco de
     dentro perder contraste conforme o fundo clareia. Em navy sólido a
     ~88%, o card fica seguro em qualquer ponto da seção. */
  background: rgba(10, 31, 68, .88);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 107, 255, .35);
  background: rgba(10, 31, 68, .78);
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(46, 107, 255, .16);
  color: var(--azul-eletrico);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: .6em; }
.card p { font-size: .96rem; margin: 0; max-width: none; }

.card-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.card-head h3 { margin-bottom: .6em; }

/* ===== Empresas ===== */
.companies-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.company-card {
  background: var(--paper);
  border: 1px solid rgba(10, 31, 68, .06);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.company-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.company-card--open {
  background: transparent;
  box-shadow: none;
  border: 1.5px dashed rgba(10, 31, 68, .18);
  justify-content: center;
}
.company-card--open:hover { transform: none; box-shadow: none; border-color: rgba(46, 107, 255, .4); }
.company-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.company-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--azul-noite);
}
.company-name--fznbot { color: var(--azul-eletrico); }
.company-name--vitta { color: var(--azul-noite); }
.company-name--muted { color: var(--ink-soft); font-weight: 600; }

.status {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.status-live { background: rgba(46, 107, 255, .12); color: var(--azul-eletrico); }
.status-dev { background: rgba(143, 163, 200, .22); color: var(--ink-soft); }
/* mesmo selo, mas sobre card escuro (seção #frentes) — .status-dev
   original foi desenhado para os cards claros de #empresas; aqui precisa
   de texto claro para manter contraste no fundo azul-noite do card. */
.card .status-dev { background: rgba(244, 246, 250, .14); color: var(--on-dark-soft); }

.company-desc { font-size: .97rem; flex: 1; max-width: none; }
.company-client {
  font-size: .86rem;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: .5em;
}
.company-seal {
  font-size: .76rem;
  color: var(--azul-nevoa);
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(10, 31, 68, .08);
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 560px);
  gap: 64px;
  align-items: start;
}
.contact-grid .section-head { max-width: 42rem; padding-top: 12px; }

.contact-form { margin-top: 0; max-width: 560px; }
.form-row { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .01em;
}
.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--on-dark-line);
  background: var(--on-dark-surface);
  color: #fff;
  resize: vertical;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255, 255, 255, .35); }
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--azul-eletrico);
  background: rgba(244, 246, 250, .08);
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-status {
  margin: 16px 0 0;
  font-size: .9rem;
  font-weight: 500;
  max-width: none;
}
.form-status[data-state="ok"] { color: #5fd3a2; }
.form-status[data-state="err"] { color: #ff9b8a; }

/* ===== Footer ===== */
.footer {
  background: var(--azul-noite);
  color: var(--azul-nevoa);
  padding: 56px 0 36px;
  text-align: center;
  border-top: 1px solid var(--on-dark-line);
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-brand .brand-word { color: #fff; font-size: 1.05rem; }
.footer-tagline { color: var(--azul-nevoa); font-style: italic; margin: 0 auto 22px; }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--on-dark-line);
  color: var(--azul-nevoa);
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover,
.social-link:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, .32);
  transform: translateY(-2px);
}

.footer-copy { font-size: .82rem; color: rgba(143, 163, 200, .65); margin: 0; max-width: none; }

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.cards-grid.reveal .card,
.companies-grid.reveal .company-card {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.cards-grid.reveal.is-visible .card,
.companies-grid.reveal.is-visible .company-card {
  opacity: 1;
  transform: translateY(0);
}
.cards-grid .card:nth-child(1), .companies-grid .company-card:nth-child(1) { transition-delay: 0ms; }
.cards-grid .card:nth-child(2), .companies-grid .company-card:nth-child(2) { transition-delay: 90ms; }
.cards-grid .card:nth-child(3), .companies-grid .company-card:nth-child(3) { transition-delay: 180ms; }
.cards-grid .card:nth-child(4), .companies-grid .company-card:nth-child(4) { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-symbol, .hero-word, .hero-tagline, .hero-actions, .scroll-cue,
  .reveal, .cards-grid.reveal .card, .companies-grid.reveal .company-card {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-cue span { animation: none !important; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .companies-grid { grid-template-columns: 1fr; }
  .lede-grid { grid-template-columns: 1fr; gap: 36px; }
  .versus { grid-template-columns: 1fr; }
  .versus-divider { transform: rotate(90deg); justify-self: center; }
  .section-watermark { opacity: .04; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { max-width: none; }
}

@media (max-width: 720px) {
  :root { --section-pad: 76px; --section-pad-top: 48px; }
  .topbar-inner { height: 68px; }
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    background: var(--off-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 24px 26px;
    border-bottom: 1px solid rgba(10, 31, 68, 0.08);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a { padding: 12px 0; width: 100%; color: var(--ink) !important; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 128px 0 80px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
}
