/* ==========================================================================
   Solvix Group — shared stylesheet
   Brand tokens per Solvix Brand Guidelines v2.0
   ========================================================================== */

:root {
  --navy: #1F3A5F;
  --navy-deep: #152A46;
  --blue: #5499C7;
  --orange: #B5560A;      /* readable orange — links, buttons, emphasis */
  --orange-display: #E67E22; /* fills/logo only, never text */
  --text: #333333;
  --bg: #F8F8F8;
  --white: #FFFFFF;

  --bg-elevated: #FFFFFF;
  --border: rgba(31, 58, 95, 0.10);
  --shadow: 0 20px 50px -20px rgba(21, 42, 70, 0.25);
  --shadow-sm: 0 8px 24px -12px rgba(21, 42, 70, 0.18);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --font: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-weight: 700; }
h2 { font-weight: 700; }
h3, h4 { font-weight: 500; }

p { line-height: 1.65; margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
  outline: 3px solid var(--orange-display);
  outline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------- Header --------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 248, 248, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  margin: 0;
  padding: 0;
}

nav.primary-nav a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.98rem;
  padding-block: 6px;
  position: relative;
  background-image: linear-gradient(90deg, var(--orange), var(--blue));
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 100%;
  transition: background-size 0.3s ease, color 0.2s ease;
}
nav.primary-nav a:hover { text-decoration: none; color: var(--orange); background-size: 100% 2px; }
nav.primary-nav a[aria-current="page"] {
  color: var(--orange);
}
nav.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.nav-cluster { display: flex; align-items: center; gap: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #9c4a08; box-shadow: 0 14px 32px -14px rgba(181, 86, 10, 0.55); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--white); border-color: var(--navy); }

.btn-on-dark {
  background: var(--white);
  color: var(--navy-deep);
}
.btn-on-dark:hover { background: #eef3f8; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }

/* ---------------------------------- Hero ----------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(64px, 10vw, 128px) clamp(56px, 8vw, 96px);
  overflow: clip;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 640px;
  background:
    radial-gradient(38% 55% at 18% 20%, rgba(230, 126, 34, 0.24), transparent 70%),
    radial-gradient(45% 60% at 82% 10%, rgba(84, 153, 199, 0.30), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange-display);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  letter-spacing: -0.03em;
}
.hero h1 .accent { color: var(--orange); }

.hero-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text);
  max-width: 46ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 0.88rem;
  color: var(--navy);
}
.hero-proof li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.hero-proof ul { display: contents; }
.hero-proof svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; }

.hero-panel {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  color: var(--white);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.35), transparent 70%);
}
.hero-panel-kicker { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #a9c2dc; margin-bottom: 6px; }
.hero-panel-title { font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.hero-metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-block: 14px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-metric:first-of-type { border-top: none; }
.hero-metric .num { font-size: 1.6rem; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
.hero-metric .label { font-size: 0.85rem; color: #cbdbea; }
.hero-panel-foot { position: relative; z-index: 1; font-size: 0.85rem; color: #cbdbea; }

/* ------------------------------- Logo strip -------------------------------- */

.trust-strip {
  padding-block: 30px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-strip p {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7684;
  margin-bottom: 18px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 5vw, 56px);
  color: var(--navy);
  font-weight: 600;
  opacity: 0.72;
}

/* --------------------------------- Sections -------------------------------- */

section { padding-block: clamp(64px, 9vw, 112px); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head.center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-lede { font-size: 1.08rem; color: var(--text); }

/* Bento-style feature grid — deliberately uneven, not three equal cards */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.bento-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-3 { grid-column: span 3; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.dark {
  background: linear-gradient(155deg, var(--navy), var(--navy-deep));
  color: var(--white);
  border-color: transparent;
}
.bento-card.dark h3, .bento-card.dark h4 { color: var(--white); }
.bento-card.dark p { color: #d3e0ec; }

.icon-badge {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(181, 86, 10, 0.10);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.bento-card.dark .icon-badge { background: rgba(255,255,255,0.12); color: var(--white); }
.icon-badge svg { width: 22px; height: 22px; }

.bento-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.bento-card p { font-size: 0.96rem; color: var(--text); margin-bottom: 0; }

/* Numbered process rail — alternating timeline, big ghost numbers */
.process-rail {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
  counter-reset: step;
}
.process-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
}
.process-step:nth-child(even) { flex-direction: row-reverse; }
.process-step .step-num {
  counter-increment: step;
  flex: 0 0 auto;
  width: clamp(84px, 10vw, 130px);
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(31, 58, 95, 0.22);
  text-align: center;
  transition: -webkit-text-stroke-color 0.4s ease, transform 0.4s ease;
}
.process-step .step-num::before { content: counter(step, decimal-leading-zero); }
.process-step:nth-child(even) .step-num { -webkit-text-stroke-color: rgba(230, 126, 34, 0.4); }
.process-step.is-visible .step-num { transform: scale(1.05); }
.process-step-body {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(22px, 3vw, 32px) clamp(24px, 3.4vw, 36px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.process-step-body:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -28px rgba(21, 42, 70, 0.28);
}
.process-step-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.process-step-body p { margin-bottom: 0; color: var(--text); max-width: 56ch; }

/* Directional reveal for the alternating steps — bigger, punchier than the default fade */
.process-step[data-reveal] { transform: translate(-36px, 14px); }
.process-step:nth-child(even)[data-reveal] { transform: translate(36px, 14px); }
.process-step[data-reveal].is-visible { transform: translate(0, 0); }

@media (max-width: 760px) {
  .process-step, .process-step:nth-child(even) { flex-direction: column; align-items: flex-start; gap: 14px; }
  .process-step .step-num { width: auto; font-size: 2.6rem; text-align: left; }
  .process-step[data-reveal], .process-step:nth-child(even)[data-reveal] { transform: translateY(18px); }
}

/* Audience cards */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.audience-card {
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 30px);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
}
.audience-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(84, 153, 199, 0.14);
  color: var(--navy);
  margin-bottom: 14px;
}
.audience-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.audience-card ul { margin: 14px 0 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.audience-card li { display: flex; gap: 10px; font-size: 0.94rem; color: var(--text); }
.audience-card li svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }

/* Service switcher — tabbed, animated alternative to a static card grid */
.service-switcher {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.service-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-tab {
  display: flex;
  align-items: baseline;
  gap: 14px;
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.service-tab-num {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(31, 58, 95, 0.25);
  transition: -webkit-text-stroke-color 0.3s ease;
}
.service-tab-label { display: block; font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.service-tab-sub { display: block; font-size: 0.8rem; color: #6b7684; margin-top: 2px; }
.service-tab:hover { background: rgba(31, 58, 95, 0.05); }
.service-tab.is-active {
  background: var(--bg-elevated);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
  transform: translateX(6px);
}
.service-tab.is-active .service-tab-num { -webkit-text-stroke-color: var(--orange-display); }

.service-panels { position: relative; min-height: 460px; }
.service-panel {
  position: absolute;
  inset: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.service-panel.is-active { position: relative; opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.service-panel .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(84, 153, 199, 0.14);
  color: var(--navy);
  margin: 6px 0 14px;
}
.service-panel h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 10px; }
.service-panel p { font-size: 1.05rem; max-width: 60ch; }
.service-panel ul { margin: 22px 0 0; padding-left: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.service-panel li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--text); }
.service-panel li svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }

@media (max-width: 800px) {
  .service-switcher { grid-template-columns: 1fr; }
  .service-tabs { flex-direction: row; overflow-x: auto; gap: 10px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .service-tab { flex: 0 0 auto; }
  .service-tab-sub { display: none; }
  .service-panels { min-height: unset; }
  .service-panel { position: relative; display: none; inset: auto; }
  .service-panel.is-active { display: block; }
  .service-panel ul { grid-template-columns: 1fr; }
}

/* Split panel (about / founders blurb) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split-visual {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--blue), var(--navy) 120%);
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 20%, rgba(255,255,255,0.28), transparent 55%);
}

/* CTA band */
.cta-band {
  --cta-y: 0px;
  --cta-scale: 1;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 65%, #10233b 100%);
  background-size: 100% 100%;
  color: var(--white);
  padding: clamp(44px, 7vw, 80px);
  position: relative;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(230, 126, 34, 0.14),
    0 0 70px -18px rgba(84, 153, 199, 0.35),
    0 30px 70px -32px rgba(21, 42, 70, 0.55);
  transform: translateY(var(--cta-y)) scale(var(--cta-scale));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}
.cta-band:hover {
  --cta-y: -8px;
  box-shadow:
    0 0 0 1px rgba(230, 126, 34, 0.24),
    0 0 90px -14px rgba(84, 153, 199, 0.45),
    0 44px 90px -32px rgba(21, 42, 70, 0.65);
}
.cta-band[data-reveal] { opacity: 0; --cta-y: 34px; --cta-scale: 0.95; }
.cta-band[data-reveal].is-visible { opacity: 1; --cta-scale: 1; }

/* Top hairline accent — a thin brand-colored seam, not a plain dark box */
.cta-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; z-index: 2; background: linear-gradient(90deg, transparent, var(--orange-display) 30%, var(--blue) 70%, transparent); opacity: 0.8; }

.cta-glow-a, .cta-glow-b {
  content: "";
  position: absolute;
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 0;
}
.cta-glow-a {
  inset: -40% -10% auto auto;
  width: 55%;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.36), transparent 70%);
  animation: ctaGlowDrift 9s ease-in-out infinite;
}
.cta-glow-b {
  inset: auto auto -35% -8%;
  width: 45%;
  background: radial-gradient(circle, rgba(84, 153, 199, 0.32), transparent 70%);
  animation: ctaGlowDrift 11s ease-in-out infinite reverse;
}
@keyframes ctaGlowDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5%, 5%) scale(1.15); }
}

/* Diagonal shine sweep — a slow light pass, the kind of detail that reads premium */
.cta-shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.10) 48%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0.10) 52%, transparent 65%);
  background-size: 260% 260%;
  background-position: -60% -60%;
  animation: ctaShineSweep 7s ease-in-out infinite;
}
@keyframes ctaShineSweep {
  0% { background-position: -60% -60%; }
  45%, 100% { background-position: 160% 160%; }
}

.cta-eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-display);
  margin-bottom: 14px;
}
.cta-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange-display); box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.2); }

.cta-band h2 { color: var(--white); margin-bottom: 14px; position: relative; z-index: 1; }
.cta-band p { color: #d3e0ec; max-width: 54ch; margin-inline: auto; margin-bottom: 30px; font-size: 1.05rem; position: relative; z-index: 1; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .cta-glow-a, .cta-glow-b, .cta-shine { animation: none; }
}

/* --------------------------------- Footer ---------------------------------- */

footer.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 48px 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand p { color: #6b7684; font-size: 0.92rem; max-width: 32ch; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text); font-size: 0.94rem; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: #8a94a1;
}

/* ------------------------------- Reveal-on-scroll --------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------ Contact page -------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -36px rgba(21, 42, 70, 0.35);
  padding: clamp(24px, 3vw, 40px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 40px 90px -36px rgba(21, 42, 70, 0.42); }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(84, 153, 199, 0.22);
  transform: translateY(-1px);
}
.field textarea { resize: vertical; min-height: 130px; }

/* Progressive-disclosure "optional details" — keeps the first ask small */
.field-more { margin-bottom: 22px; }
.field-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  padding: 12px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.field-more summary::-webkit-details-marker { display: none; }
.field-more summary:hover { background: rgba(84, 153, 199, 0.08); border-color: var(--blue); }
.field-more-hint { font-weight: 400; color: #6b7684; font-size: 0.82rem; }
.field-more summary .chevron { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.3s ease; color: var(--orange); }
.field-more[open] summary .chevron { transform: rotate(180deg); }
.field-more[open] summary { border-style: solid; border-color: var(--border); margin-bottom: 16px; }
.field-more-body {
  animation: fieldMoreIn 0.35s ease;
}
@keyframes fieldMoreIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* "What happens next" — replaces a static hours card with something a prospect actually needs */
.next-steps-card {
  border-radius: var(--radius-md);
  background: rgba(31, 58, 95, 0.05);
  border: 1px solid rgba(31, 58, 95, 0.14);
  padding: 22px 24px;
}
.next-steps-card h4 { font-size: 0.95rem; margin-bottom: 16px; }
.next-steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: nstep; }
.next-steps-list li {
  counter-increment: nstep;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text);
}
.next-steps-list li::before {
  content: counter(nstep, decimal-leading-zero);
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--white);
  color: var(--orange-display);
  font-weight: 700;
  font-size: 0.78rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.85rem; color: #6b7684; margin-top: 4px; }

.contact-info-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 20px; }
.contact-info-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-list .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.contact-info-list h4 { margin-bottom: 3px; font-size: 1rem; }
.contact-info-list p { margin-bottom: 0; color: var(--text); font-size: 0.95rem; }

.hours-card {
  border-radius: var(--radius-md);
  background: rgba(84, 153, 199, 0.10);
  border: 1px solid rgba(84, 153, 199, 0.25);
  padding: 20px 22px;
}
.hours-card h4 { font-size: 0.95rem; margin-bottom: 10px; }
.hours-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding-block: 4px; }
.hours-row span:first-child { color: var(--navy); font-weight: 500; }

/* ---------------------------------- Utility --------------------------------- */

.mono-nums { font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* --------------------------------- Responsive -------------------------------- */

@media (max-width: 960px) {
  nav.primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 420px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; }
  .split-visual { max-width: 460px; margin-inline: auto; order: -1; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-4, .bento-card.span-3, .bento-card.span-2, .bento-card.span-6 { grid-column: span 2; }
  .audience-grid { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 48px 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .hero-proof { flex-direction: column; gap: 12px; }
}

/* ==========================================================================
   Motion layer — mesh gradient, parallax orbs, kinetic type, tilt, marquee
   ========================================================================== */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  z-index: 300;
  transition: width 0.1s linear;
}

/* Animated mesh gradient behind hero — replaces the static glow */
.hero-glow {
  background:
    radial-gradient(38% 55% at 20% 25%, rgba(230, 126, 34, 0.26), transparent 70%),
    radial-gradient(45% 60% at 80% 15%, rgba(84, 153, 199, 0.32), transparent 70%),
    radial-gradient(30% 40% at 55% 60%, rgba(31, 58, 95, 0.10), transparent 70%);
  background-size: 140% 140%;
  animation: meshDrift 16s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0%   { background-position: 0% 0%, 100% 0%, 50% 100%; }
  100% { background-position: 15% 20%, 80% 15%, 60% 70%; }
}

/* Floating orbs — parallax on mousemove via CSS vars set by JS */
.orb-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  transform: translate3d(calc(var(--mx, 0) * var(--depth, 1) * 1px), calc(var(--my, 0) * var(--depth, 1) * 1px), 0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  animation: orbFloat var(--dur, 9s) ease-in-out infinite alternate;
}
.orb-a { width: 120px; height: 120px; top: 8%; left: 8%; background: radial-gradient(circle, rgba(230,126,34,0.55), transparent 70%); --depth: 1.6; --dur: 8s; }
.orb-b { width: 90px; height: 90px; top: 55%; left: 4%; background: radial-gradient(circle, rgba(84,153,199,0.55), transparent 70%); --depth: 1.1; --dur: 11s; animation-delay: -3s; }
.orb-c { width: 160px; height: 160px; top: 4%; right: 6%; background: radial-gradient(circle, rgba(84,153,199,0.45), transparent 70%); --depth: 2.1; --dur: 10s; animation-delay: -1s; }
.orb-d { width: 70px; height: 70px; bottom: 8%; right: 18%; background: radial-gradient(circle, rgba(230,126,34,0.5), transparent 70%); --depth: 1.4; --dur: 7s; animation-delay: -5s; }
@keyframes orbFloat {
  from { margin-top: 0px; }
  to   { margin-top: -22px; }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .hero-glow { animation: none !important; }
}
@media (max-width: 720px) {
  .orb-field { display: none; }
}

/* Kinetic headline — words fly/blur in on load */
.kinetic h1 { overflow: visible; }
.kinetic .word {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(0.35em) rotate(1deg);
  animation: wordIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes wordIn {
  to { opacity: 1; filter: blur(0); transform: translateY(0) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .kinetic .word { opacity: 1; filter: none; transform: none; animation: none; }
}

/* Magnetic buttons — JS sets --mx/--my on hover */
.btn-magnetic {
  transform: translate3d(calc(var(--mx, 0) * 0.3px), calc(var(--my, 0) * 0.3px), 0);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 3D tilt cards */
.tilt {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.tilt:hover { transition: transform 0.08s linear; }
.tilt .icon-badge, .tilt h3, .tilt p { transform: translateZ(24px); }

/* Cursor-follow spotlight glare — JS sets --spot-x/--spot-y on mousemove */
.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, 0.5), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.tilt:hover::after { opacity: 1; }
.bento-card.dark.tilt::after {
  background: radial-gradient(360px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, 0.18), transparent 62%);
}

/* Animated counters get tabular nums + a subtle pop when they land */
.count-target { font-variant-numeric: tabular-nums; }
.count-target.did-count {
  animation: countPop 0.4s ease;
}
@keyframes countPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Marquee strip — full-bleed, ticker-style right-to-left scroll */
.marquee {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: clamp(36px, 6vw, 72px);
  padding-inline: clamp(36px, 6vw, 72px);
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track span {
  color: var(--navy);
  font-weight: 600;
  font-size: 1.05rem;
  opacity: 0.72;
  white-space: nowrap;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  /* Ticker flows right to left: track starts shifted fully right, ends at its natural (left) position. */
  from { transform: translateX(0); }
  to   { transform: translateX(-33.334%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Gradient-shift accent on hover for nav links / underlines */
.link-underline {
  position: relative;
  background-image: linear-gradient(90deg, var(--orange), var(--blue));
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 100%;
  transition: background-size 0.3s ease;
  padding-bottom: 2px;
}
.link-underline:hover { background-size: 100% 2px; text-decoration: none; }

/* Custom cursor — dot + lagging ring, desktop pointer only */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 340px; height: 340px;
  margin-left: -170px; margin-top: -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84,153,199,0.08), transparent 70%);
  pointer-events: none;
  z-index: 250;
  transform: translate3d(var(--cx, -400px), var(--cy, -400px), 0);
  transition: transform 0.12s linear;
  display: none;
}
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 251;
  display: none;
  transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0) translate(-50%, -50%);
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--orange);
  transition: transform 0.05s linear, background-color 0.2s ease;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(31, 58, 95, 0.35);
  transition: transform 0.15s cubic-bezier(0.22,1,0.36,1), width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.cursor-ring.is-hover {
  width: 64px; height: 64px;
  border-color: transparent;
  background: rgba(181, 86, 10, 0.12);
}
body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button {
  cursor: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-glow.is-active { display: block; }
  .cursor-dot.is-active, .cursor-ring.is-active { display: block; }
}

/* Page-wide fixed terrain — Contact & What We Do. Canvas sits as a direct
   child of <body>, fixed behind everything; body's own background goes
   transparent so it shows through, with a soft wash over it for legibility. */
.hero-scene.page-scene {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
}
body.has-page-scene { background: transparent; }
body.has-page-scene::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(248, 248, 248, 0.82);
  pointer-events: none;
}
@media (max-width: 720px) {
  body.has-page-scene::before { background: rgba(248, 248, 248, 0.9); }
}

/* WebGL hero scene canvas — masked so it never fights the text column */
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  /* full-bleed — no directional mask. Readability is handled by the glass
     panel behind the text column (.hero-textpanel), not by hiding the scene. */
}
.hero-scene.is-ready { opacity: 1; }
.hero.has-scene .hero-glow,
.hero.has-scene .orb-field { opacity: 0; }
.hero-inner, .hero > .container { position: relative; z-index: 1; }

/* Readability: a soft, edge-less vignette behind the text — no box, no visible
   seam. Plain radial-gradient falloff only (no backdrop-filter, which is what
   was creating a visible "card" edge against the dot field). Sits on the
   .hero itself so it works whether the text column is left-aligned or centered. */
.hero.has-scene { position: relative; }
.hero.has-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(62% 75% at 32% 42%, rgba(248,248,248,0.92) 0%, rgba(248,248,248,0.55) 45%, transparent 78%);
  pointer-events: none;
}
.hero.has-scene .hero-textpanel,
.hero.has-scene .hero-textpanel-center {
  position: relative;
}

@media (max-width: 960px) {
  .hero.has-scene::before {
    background: radial-gradient(85% 60% at 50% 30%, rgba(248,248,248,0.94) 0%, rgba(248,248,248,0.6) 50%, transparent 80%);
  }
}

/* Hero panel hooks — replaces a stats block that had too much dead air */
.hero-hooks { display: flex; flex-direction: column; gap: 0; }
.hero-hook {
  padding-block: 15px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 1.02rem;
  font-weight: 500;
  color: #eaf0f6;
  line-height: 1.45;
}
.hero-hook:first-child { border-top: none; }
.hero-hook .hi { color: var(--orange-display); font-weight: 700; }

/* Scroll cue at base of hero */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  opacity: 0.55;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}
.scroll-cue svg { width: 16px; height: 16px; animation: cueBounce 1.8s ease-in-out infinite; }
@keyframes cueBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue svg { animation: none; } }
@media (max-width: 720px) { .scroll-cue { display: none; } }

/* Manifesto — one deliberate full-bleed dark statement band, not the page default */
.manifesto {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  position: relative;
  overflow: clip;
}
.manifesto::before {
  content: "";
  position: absolute;
  inset: -20% -5% auto auto;
  width: 45%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(230,126,34,0.28), transparent 70%);
  pointer-events: none;
}
.manifesto::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -8%;
  width: 40%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(84,153,199,0.28), transparent 70%);
  pointer-events: none;
}
.manifesto-text {
  position: relative;
  z-index: 1;
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.18;
  max-width: 18ch;
}
.manifesto-text .dim { color: #7f93a8; }
.manifesto-text .hi { color: var(--orange-display); }
.manifesto-foot {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  display: flex;
  gap: clamp(24px, 5vw, 64px);
  flex-wrap: wrap;
}
.manifesto-foot .stat { min-width: 140px; }
.manifesto-foot .stat .num { display: block; font-size: 2.1rem; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
.manifesto-foot .stat .label { font-size: 0.85rem; color: #b9c9da; }

/* Sticky header shrink */
.site-header { transition: box-shadow 0.3s ease, background-color 0.3s ease; }
.site-header.is-scrolled {
  box-shadow: 0 8px 30px -18px rgba(21,42,70,0.25);
  background: rgba(248, 248, 248, 0.94);
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 150;
  padding: 20px var(--gutter) 40px;
  display: none;
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav .header-row { border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 24px; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--orange); text-decoration: none; }

/* ------------------ What We Do — full-viewport sections + section nav ----------------- */

.section-full {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.section-full > .container { width: 100%; }
@media (max-width: 800px) {
  .section-full { min-height: auto; padding-block: 64px; }
}

.page-wwd .section-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.page-wwd .section-lede { font-size: 1.15rem; }
.page-wwd #how-we-work .process-step h3 { font-size: 1.3rem; }
.page-wwd #how-we-work .process-step p { font-size: 1.02rem; }
.page-wwd #how-we-work .process-step .step-num { font-size: 2rem; }

.section-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section-nav a {
  position: relative;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(31,58,95,0.25);
  transition: background 0.3s ease, transform 0.3s ease;
}
.section-nav a:hover,
.section-nav a.is-active {
  background: var(--orange-display);
  transform: scale(1.4);
}
.section-nav a::before {
  content: attr(data-label);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  background: var(--white);
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.section-nav a:hover::before { opacity: 1; }
@media (max-width: 900px) {
  .section-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .section-nav a { transition: none; }
}
.mobile-nav .btn { margin-top: 24px; width: 100%; justify-content: center; }
