/* Site typography: Playfair Display across body + headings (Georgia / Times New Roman
   fallbacks). Weight 900 is loaded only for the .logo wordmark, treated as a brand-mark
   exception against the otherwise uniform weight-400-to-700 hierarchy. */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;900&display=swap');

:root {
  /* Core mockup tokens */
  --bg: #F4F4F2;
  --bg-alt: #FFFFFF;
  --navy: #0E1A2B;
  --navy-deep: #0A1322;
  --ink: #0E1A2B;
  --ink-muted: #5A6679;
  --line: #E4E4E0;
  --white: #FFFFFF;
  --accent: #0E1A2B;
  --good: #0E7C4A;
  --bad: #9C2A2A;
  --pad: clamp(20px, 5vw, 80px);
  --maxw: 1200px;
  --radius: 12px;
  --radius-pill: 999px;

  /* Backwards-compat tokens (used by site_check + legacy team/insights styles) */
  --navy-deepest: #060B18;
  --blue-accent: #0E1A2B;
  --blue-bright: #2A3656;
  --gold: #C9A84C;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  font-size: 17px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
h1 { font-weight: 700; font-size: clamp(42px, 6.4vw, 100px); line-height: 1.05; }
h2 { font-weight: 700; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; }
h3 { font-weight: 600; font-size: clamp(23px, 2.1vw, 32px); line-height: 1.22; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--ink-muted); letter-spacing: 0.02em; }

/* ─── NAV ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 244, 242, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(228, 228, 224, 0.6);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
/* Homepage variant: floats over the hero video. Reverts to the solid look on scroll
   via the .is-scrolled class added by the scroll listener. */
.nav--over-hero {
  position: fixed; top: 0; left: 0; right: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--white);
}
.nav--over-hero .logo,
.nav--over-hero .nav-links a { color: var(--white); }
.nav--over-hero .btn-outline { border-color: rgba(255, 255, 255, 0.85); color: var(--white); }
.nav--over-hero .btn-outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.nav--over-hero .nav-hamburger { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.nav--over-hero .nav-hamburger:hover { background: rgba(255, 255, 255, 0.12); }
.nav--over-hero.is-scrolled {
  background: rgba(244, 244, 242, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(228, 228, 224, 0.6);
}
.nav--over-hero.is-scrolled .logo,
.nav--over-hero.is-scrolled .nav-links a { color: var(--ink); }
.nav--over-hero.is-scrolled .btn-outline { border-color: var(--ink); color: var(--ink); }
.nav--over-hero.is-scrolled .btn-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.nav--over-hero.is-scrolled .nav-hamburger { border-color: var(--line); color: var(--ink); }
.nav--over-hero.is-scrolled .nav-hamburger:hover { background: var(--bg-alt); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 900;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1;
}
.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; margin: 0; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink); opacity: 0.85; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-links a.nav-active { opacity: 1; font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Hamburger button — visible only on mobile */
.nav-hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
}
.nav-hamburger svg { width: 22px; height: 22px; }
.nav-hamburger:hover { background: var(--bg-alt); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 22px; border-radius: var(--radius-pill);
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 600; font-size: 14px;
  border: 1px solid var(--ink); transition: all 0.2s ease; cursor: pointer;
  gap: 8px; white-space: nowrap; text-decoration: none;
}
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #000; border-color: #000; }
.btn-lg { height: 50px; padding: 0 28px; font-size: 15px; }
.btn-on-dark.btn-outline { border-color: var(--white); color: var(--white); }
.btn-on-dark.btn-outline:hover { background: var(--white); color: var(--ink); }
.btn-on-dark.btn-primary { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ─── HERO (with full-bleed Chicago video background) ─── */
.hero {
  position: relative;
  text-align: center;
  min-height: 100vh;
  min-height: 100svh; /* mobile-safe — accounts for collapsing browser chrome */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  isolation: isolate;
}
.hero-stack {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}
/* Headline group takes the available space above the stat band and centers its children
   vertically — keeps the H1 anchored to the page, not to the video.
   Children stretch to full width by default; their own max-width + margin auto handle h-centering. */
.hero .hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-video,
.hero-video-fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-video {
  transform: scale(1.06);
  transform-origin: 50% 55%;
  animation: hero-drift 28s ease-in-out infinite alternate;
  will-change: transform;
  /* Tuned for the sunny daytime aerial — drop brightness so white text stays legible
     against the bright sky, keep enough saturation that the clip still reads warm/happy. */
  filter: saturate(0.88) contrast(1.06) brightness(0.92);
}
@keyframes hero-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { animation: none; transform: scale(1.06); }
}
.hero-video-fallback {
  background:
    radial-gradient(120% 80% at 70% 30%, rgba(91, 141, 239, 0.20) 0%, transparent 60%),
    linear-gradient(135deg, #142D50 0%, #0A1322 60%, #060B18 100%);
}
.hero-overlay {
  position: absolute; inset: 0;
  /* Sunny daytime clip needs a stronger top scrim so the white nav reads against bright clouds.
     Headline mid-band stays modest so the sunny vibe survives in the part of the frame the user
     actually focuses on. Bottom scrim protects the stat labels over the water/park band. */
  background:
    linear-gradient(180deg,
      rgba(10, 19, 34, 0.60) 0%,
      rgba(10, 19, 34, 0.48) 12%,
      rgba(10, 19, 34, 0.26) 48%,
      rgba(10, 19, 34, 0.52) 100%),
    linear-gradient(0deg, rgba(14, 26, 43, 0.08), rgba(14, 26, 43, 0.08));
}
.hero-vignette {
  position: absolute; inset: 0;
  pointer-events: none;
  /* Focal dimmer centered on the headline (50% 50%); corner falloff frames the composition. */
  background:
    radial-gradient(70% 42% at 50% 50%, rgba(6, 11, 24, 0.30) 0%, transparent 72%),
    radial-gradient(120% 100% at 50% 42%, transparent 42%, rgba(6, 11, 24, 0.55) 100%);
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 880px; margin: 0 auto 24px;
  color: var(--white);
  overflow-wrap: break-word; word-break: break-word; hyphens: auto;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero p.sub {
  max-width: 720px; margin: 0 auto 36px; color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.4vw, 20px); line-height: 1.55;
}
/* Primary CTA on the dark hero needs a light pill with a hairline edge so it doesn't disappear into the video. */
.hero .btn-primary {
  background: var(--white); color: var(--ink); border-color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(14, 26, 43, 0.08), 0 8px 24px -10px rgba(0, 0, 0, 0.35);
  /* Keep the pill content-width; flex parent would otherwise stretch it across the column. */
  align-self: center;
}
.hero .btn-primary:hover { background: #f0f0eb; color: var(--ink); border-color: #f0f0eb; }
.btn-arrow {
  display: inline-block;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.1em;
  transform: translateY(-1px);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn:hover .btn-arrow { transform: translate(3px, -1px); }

/* Staggered entrance — only on the homepage hero, respects reduced motion. */
.hero h1,
.hero p.sub,
.hero .btn-primary,
.stat-band--hero {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-in 760ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero h1            { animation-delay: 80ms; }
.hero p.sub         { animation-delay: 240ms; }
.hero .btn-primary  { animation-delay: 400ms; }
.stat-band--hero    { animation-delay: 580ms; }
@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero p.sub, .hero .btn-primary, .stat-band--hero {
    opacity: 1; transform: none; animation: none;
  }
}

/* ─── PRESS STRIP ─── */
.press {
  background: var(--bg);
  padding: 32px 0 16px;
  text-align: center;
}
.press .eyebrow { margin-bottom: 18px; display: block; }
.press-logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 48px; opacity: 0.6;
}
.press-logos span {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 600; font-size: 20px;
  color: var(--ink); letter-spacing: 0.02em;
}
.press-logos span:nth-child(1) { font-style: italic; letter-spacing: 0; font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; }
.press-logos span:nth-child(2) { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 700; }
.press-logos span:nth-child(3) { font-weight: 500; letter-spacing: -0.02em; }
.press-logos span:nth-child(4) { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 600; }
.press-logos span:nth-child(5) { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: 0.1em; }
.press-logos span:nth-child(6) { font-weight: 600; letter-spacing: 0.06em; }

/* ─── STAT BAND ─── */
.stat-band {
  background: var(--navy); color: var(--white);
  padding: 48px 0; margin-top: 60px;
}
/* Variant that sits over the hero video — transparent, hairline divider on top. */
.stat-band--hero {
  background: transparent;
  margin-top: 0;
  padding: clamp(28px, 4vh, 44px) 0 clamp(56px, 8vh, 88px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.stat-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.stat .num {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 600; font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1; color: var(--white);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
/* Thin sans-serif glyph for the math operator in "<6 wks" so it doesn't clash with Playfair. */
.stat .num .num-op {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 300;
  font-size: 0.7em;
  margin-right: 0.06em;
  vertical-align: 0.08em;
  opacity: 0.85;
}
.stat .lab { font-size: 14px; color: #B7BECB; margin-top: 8px; line-height: 1.4; }
/* Editorial small-caps labels on the hero variant — reads like an annual-report exhibit, not landing-page copy. */
.stat-band--hero .lab {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 14px;
  line-height: 1.5;
}

/* ─── SECTION HEADINGS ─── */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section.tight { padding: clamp(60px, 7vw, 100px) 0; }
.section h2 { text-align: center; max-width: 900px; margin: 0 auto 60px; }
.section h2 .grey { color: #8995A8; font-weight: 400; }

/* ─── COMPARISON TABLE ─── */
.compare-wrap {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare {
  width: 100%; min-width: 720px;
  border-collapse: separate; border-spacing: 0;
  background: var(--bg-alt); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line);
}
.compare th, .compare td {
  padding: 22px 22px; font-size: 15px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare th {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 600; font-size: 18px;
  background: var(--bg-alt);
}
.compare tr:last-child td { border-bottom: none; }
.compare .col-us { background: var(--navy); color: var(--white); }
.compare .col-us th, .compare .col-us td { border-bottom: 1px solid #1c2740; }
.compare-row-label { width: 22%; font-weight: 600; color: var(--ink); }
.col-head { width: 19.5%; }
.compare-cell strong { font-weight: 700; color: var(--ink); }
.compare .col-us strong { color: var(--white); }

/* ─── MERGED PATH SECTION (funnel + pillars + platform) ─── */
.path-merged { padding: clamp(80px, 10vw, 140px) 0 0; background: var(--bg); }
.path-merged > h2 { text-align: center; max-width: 900px; margin: 0 auto 60px; padding: 0 var(--pad); }

/* legacy alias used elsewhere; keep visual parity */
.funnel-section { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg); }
.funnel-section h2 { text-align: center; max-width: 900px; margin: 0 auto 60px; }
.funnel-wrap {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.funnel-list { display: flex; flex-direction: column; gap: 14px; }
.funnel-row {
  display: grid; grid-template-columns: 1fr 60px 60px;
  align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: var(--radius); background: var(--bg-alt);
  border: 1px solid var(--line);
}
.funnel-row.highlight {
  background: var(--navy); color: var(--white);
  border-color: var(--navy);
}
.funnel-row .label { font-size: 15px; font-weight: 500; }
.funnel-row .step { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 600; color: var(--ink-muted); font-size: 14px; }
.funnel-row.highlight .step { color: #B7BECB; }
.funnel-row .icons { display: flex; gap: 4px; justify-content: flex-end; }
.funnel-row .icons .dot { width: 18px; height: 18px; border-radius: 4px; background: #2A3656; }

.partner-cards { display: flex; flex-direction: column; gap: 14px; }
.partner-card {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
}
.partner-card .avatar {
  width: 48px; height: 48px; border-radius: 50%; background: #3a4663; flex: none;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.partner-card .ttl { font-weight: 600; font-size: 16px; }
.partner-card .sub { font-size: 12px; color: #B7BECB; margin-top: 2px; }

/* ─── PILLARS ─── */
.pillars {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.pillar h4 { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 22px; margin: 0 0 10px; color: var(--ink); }
.pillar p { margin: 0; font-size: 14px; color: var(--ink-muted); line-height: 1.55; }

/* ─── PLATFORM sub-band (inside merged path section, dark) ─── */
.platform {
  background: var(--navy); color: var(--white);
  padding: clamp(80px, 10vw, 140px) 0;
  margin-top: clamp(60px, 8vw, 100px);
}
.platform-h3 {
  text-align: center; max-width: 900px; margin: 0 auto 24px; padding: 0 var(--pad);
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 700;
  font-size: clamp(28px, 3.6vw, 48px); line-height: 1.1;
  letter-spacing: -0.02em; color: var(--white);
}
.platform-h3 .grey { color: #8995A8; font-weight: 400; }
.platform-lead {
  text-align: center; color: #B7BECB; max-width: 720px; margin: 0 auto 60px;
  font-size: 17px; line-height: 1.55; padding: 0 var(--pad);
}

/* Legacy .product alias kept for any straggling references */
.product { background: var(--navy); color: var(--white); padding: clamp(80px, 10vw, 140px) 0; }
.product h2 { color: var(--white); text-align: center; max-width: 900px; margin: 0 auto 24px; }
.product h2 .grey { color: #8995A8; font-weight: 400; }
.product .lead {
  text-align: center; color: #B7BECB; max-width: 720px; margin: 0 auto 60px;
  font-size: 17px; line-height: 1.55; padding: 0 var(--pad);
}
.product-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start;
}
.product-mock {
  background: var(--navy-deep); border-radius: var(--radius);
  border: 1px solid #1c2740; overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.product-mock table { min-width: 640px; }
.product-mock .bar {
  background: var(--navy-deep); border-bottom: 1px solid #1c2740;
  padding: 10px 16px; display: flex; gap: 14px; align-items: center; font-size: 12px; color: #B7BECB;
}
.product-mock .bar .tabs { display: flex; gap: 18px; }
.product-mock .bar .tab { padding: 4px 0; font-weight: 600; }
.product-mock .bar .tab.active { color: var(--white); border-bottom: 2px solid var(--white); }
.product-mock .bar .search { margin-left: auto; background: #19243A; padding: 4px 10px; border-radius: 6px; color: #8995A8; }
.product-mock table { width: 100%; border-collapse: collapse; font-size: 12px; color: #D5D9E2; }
.product-mock th, .product-mock td {
  text-align: left; padding: 10px 14px; border-bottom: 1px solid #19243A; vertical-align: top;
}
.product-mock th { color: #8995A8; font-weight: 600; font-size: 11px; }
.product-mock td:first-child { font-weight: 600; color: var(--white); }
.product-mock .pill {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 600; background: #19243A; color: #B7BECB;
}
.product-mock .pill.good { background: #0E2A1E; color: #5BD49C; }
.product-mock .pill.bad { background: #2A1010; color: #FF7C7C; }
.product-mock .score { font-weight: 700; color: var(--white); }

.capability-list { display: flex; flex-direction: column; gap: 0; }
.capability {
  /* button reset */
  appearance: none; background: transparent; border: none;
  font: inherit; color: inherit; text-align: left; width: 100%;
  padding: 22px 0; border-bottom: 1px solid #1c2740; cursor: pointer;
  display: flex; flex-direction: column;
  transition: color 0.2s;
}
.capability:last-child { border-bottom: none; }
.capability:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; border-radius: 4px; }

.capability-ttl {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 22px;
  color: #5A6679;
  margin-bottom: 6px; display: flex; align-items: center; gap: 10px;
  transition: color 0.2s;
}
.capability-ttl .arrow {
  font-weight: 700; display: inline-block;
  opacity: 0; transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}
.capability-body {
  font-size: 14px; color: #B7BECB; line-height: 1.55;
  display: block;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease, margin 0.2s ease;
  margin: 0;
}

.capability:hover .capability-ttl { color: #B7BECB; }
.capability.is-open .capability-ttl { color: var(--white); }
.capability.is-open .capability-ttl .arrow { opacity: 1; transform: translateX(0); }
.capability.is-open .capability-body {
  max-height: 200px; opacity: 1; margin-top: 4px;
}

/* ─── PILLAR DECK (Where Growth Meets AI) ─── */
.pillar-deck {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
}
.pillar-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid #1c2740;
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pillar-tabs::-webkit-scrollbar { display: none; }
.pillar-tab {
  appearance: none; background: transparent; border: none;
  font: inherit; cursor: pointer;
  padding: 18px 28px;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 600; font-size: 18px;
  color: #5A6679;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s;
}
.pillar-tab:hover { color: #B7BECB; }
.pillar-tab.is-active { color: var(--white); }
.pillar-tab.is-active::after {
  content: ''; position: absolute; left: 24px; right: 24px; bottom: -1px;
  height: 2px; background: var(--white);
}
.pillar-tab:focus-visible {
  outline: 2px solid var(--white); outline-offset: 2px; border-radius: 4px;
}

.pillar-panels { position: relative; }
.pillar-panel { display: none; }
.pillar-panel.is-active { display: block; }

.carousel {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 16px;
}
.carousel-viewport {
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  display: flex; align-items: center; justify-content: center;
  padding: 0 8px;
}
.slide-image {
  width: 100%; height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}
/* Slides containing an image get a uniform 16:9 white frame so mixed-AR
   screenshots (e.g. a 4:3 chat capture next to a 16:9 output) sit at
   matching proportions inside the dark band. */
.carousel-slide:has(.slide-image) {
  aspect-ratio: 16 / 9;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}
.carousel-slide:has(.slide-image) .slide-image {
  width: 100%; height: 100%;
  max-height: none;
}
.slide-placeholder {
  width: 100%; aspect-ratio: 16 / 9;
  max-height: 70vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 32px;
  background: linear-gradient(180deg, #111e34 0%, #0c1628 100%);
  border: 1px dashed #2a3a5a; border-radius: 8px;
  box-sizing: border-box;
}
.placeholder-eyebrow {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #5A6679; margin-bottom: 14px;
}
.placeholder-body {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 600; font-size: 22px; line-height: 1.3;
  color: #B7BECB;
}
.placeholder-body span {
  display: block; margin-top: 8px;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 400; font-size: 13px; color: #5A6679;
  letter-spacing: 0.01em;
}

.carousel-prev, .carousel-next {
  appearance: none; background: transparent;
  border: 1px solid #1c2740; color: #B7BECB;
  width: 44px; height: 44px; border-radius: 999px;
  font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s, opacity 0.2s;
}
.carousel-prev:hover:not(:disabled),
.carousel-next:hover:not(:disabled) {
  color: var(--white); border-color: #2a3a5a; background: #111e34;
}
.carousel-prev:focus-visible, .carousel-next:focus-visible {
  outline: 2px solid var(--white); outline-offset: 2px;
}
.carousel-prev:disabled, .carousel-next:disabled {
  opacity: 0.3; cursor: not-allowed;
}

.carousel-dots {
  grid-column: 1 / -1;
  display: flex; justify-content: center; gap: 8px;
  margin-top: 24px;
}
.carousel-dot {
  appearance: none; background: transparent; border: none;
  cursor: pointer; padding: 8px;
  display: flex; align-items: center; justify-content: center;
}
.carousel-dot::after {
  content: ''; display: block;
  width: 8px; height: 8px; border-radius: 999px;
  background: #2a3a5a;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot:hover::after { background: #5A6679; }
.carousel-dot.is-active::after {
  background: var(--white); transform: scale(1.15);
}
.carousel-dot:focus-visible {
  outline: 2px solid var(--white); outline-offset: -2px; border-radius: 999px;
}

@media (max-width: 900px) {
  .pillar-tab { font-size: 16px; padding: 14px 18px; }
  .pillar-tab.is-active::after { left: 16px; right: 16px; }
  .carousel { grid-template-columns: 36px 1fr 36px; gap: 8px; }
  .slide-image { max-height: 60vh; }
  /* Drop the fixed 16:9 frame on mobile so screenshot text stays legible. */
  .carousel-slide:has(.slide-image) { aspect-ratio: auto; }
  .carousel-slide:has(.slide-image) .slide-image { height: auto; max-height: 60vh; }
  /* Tabs scroll horizontally on narrow viewports — fade the right edge so
     the user perceives there are more pillars off-screen. */
  .pillar-tabs {
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 32px), transparent 100%);
            mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 32px), transparent 100%);
  }
}
@media (max-width: 600px) {
  .carousel-prev, .carousel-next { width: 36px; height: 36px; font-size: 18px; }
  .slide-placeholder { padding: 24px; aspect-ratio: 4 / 3; }
  .placeholder-body { font-size: 18px; }
  .slide-image { max-height: 50vh; }
}

/* ─── CREDIBILITY BAND ─── */
/* ─── CLIENT LOGOS ─── */
.clients { padding: clamp(48px, 6vw, 72px) 0; text-align: center; background: var(--bg); }
.clients-eyebrow {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-muted); margin: 0 0 28px;
}
.clients-row {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.client-logo {
  width: auto;
  filter: grayscale(1); opacity: 0.6;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.client-logo:hover { filter: none; opacity: 1; }
/* Heights tuned per logo so each occupies a similar visual footprint
   (wide wordmarks shorter, compact marks taller). Order: ConGlobal,
   InfraBridge, Silicon Labs, ESAB. */
.client-logo[alt="ConGlobal"]   { height: clamp(17px, 2.1vw, 23px); }
.client-logo[alt="InfraBridge"] { height: clamp(24px, 2.9vw, 31px); }
.client-logo[alt="Silicon Labs"]{ height: clamp(27px, 3.3vw, 36px); }
.client-logo[alt="ESAB"]        { height: clamp(26px, 3.1vw, 34px); }
@media (max-width: 600px) {
  .clients-row { gap: 28px 36px; }
  .client-logo[alt="ConGlobal"]   { height: 16px; }
  .client-logo[alt="InfraBridge"] { height: 22px; }
  .client-logo[alt="Silicon Labs"]{ height: 26px; }
  .client-logo[alt="ESAB"]        { height: 24px; }
}

.cred { padding: clamp(80px, 10vw, 140px) 0; text-align: center; }
.cred h2 { max-width: 900px; margin: 0 auto 32px; padding: 0 var(--pad); }
.cred-alumni {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 48px; max-width: 900px; margin: 0 auto 56px; padding: 0 var(--pad);
  opacity: 0.7;
}
.cred-alumni span {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 600;
  font-size: 18px; color: var(--ink); letter-spacing: 0.04em;
}
.cred-alumni span:nth-child(2) { letter-spacing: 0.12em; font-weight: 700; }
.cred-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.cred-num {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 700; font-size: clamp(48px, 6vw, 80px);
  line-height: 1; letter-spacing: -0.04em; color: var(--ink);
}
.cred-lab {
  margin-top: 14px; color: var(--ink-muted); font-size: 15px; line-height: 1.5;
  max-width: 280px; margin-left: auto; margin-right: auto;
}

/* ─── SECTORS ─── */
.sectors { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg); }
.sectors h2 { text-align: center; margin-bottom: 60px; padding: 0 var(--pad); }
.sector-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px;
}
.sector { text-align: center; }
.sector .icon {
  width: 64px; height: 64px; background: var(--navy); color: var(--white);
  border-radius: 14px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
}
.sector .icon svg { width: 28px; height: 28px; }
.sector h4 { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 22px; margin: 0 0 6px; color: var(--ink); }
.sector p { margin: 0; color: var(--ink-muted); font-size: 14px; line-height: 1.5; }

/* ─── CASE STUDIES ─── */
.cases { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg-alt); }
.cases h2 { text-align: center; margin: 0 auto 60px; padding: 0 var(--pad); }
.cases-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.cases-cta { text-align: center; margin-top: 48px; padding: 0 var(--pad); }
.case-card {
  padding: 36px 32px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform 0.3s, border-color 0.3s;
  display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.case-tag {
  display: inline-block; padding: 4px 12px;
  background: var(--bg-alt); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  margin-bottom: 20px; text-transform: uppercase;
}
.case-card h3 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-size: 22px; font-weight: 700;
  margin: 0 0 8px; line-height: 1.3; color: var(--ink); letter-spacing: -0.01em;
}
.case-meta { font-size: 12px; color: var(--ink-muted); margin-bottom: 24px; letter-spacing: 0.02em; }
.case-section { margin-bottom: 16px; }
.case-section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 6px;
}
.case-section-text { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }
.case-result {
  margin-top: auto; padding: 14px 18px; background: var(--navy); color: var(--white);
  border-radius: 8px;
  /* Reserve room for two lines of result text so single-line cards (e.g. "$4M impact. 40x ROI.")
     match the height of multi-line cards. 14px font * 1.5 line-height * 2 lines + 14px*2 padding. */
  min-height: 70px;
  display: flex; align-items: center;
}
.case-result-text { font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--white); }

/* ─── Q&A ─── */
.qa { padding: clamp(60px, 7vw, 100px) 0; }
.qa h2 { text-align: center; margin-bottom: 48px; font-size: clamp(28px, 3vw, 40px); }
.qa-list { max-width: 920px; margin: 0 auto; padding: 0 var(--pad); }
details.qa-item {
  border-top: 1px solid var(--line); padding: 24px 4px; cursor: pointer;
}
details.qa-item:last-child { border-bottom: 1px solid var(--line); }
details.qa-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 600; font-size: 18px;
  color: var(--ink); list-style: none;
}
details.qa-item summary::-webkit-details-marker { display: none; }
details.qa-item summary::after {
  content: '+'; font-size: 24px; font-weight: 400; color: var(--ink-muted);
  transition: transform 0.2s ease; flex-shrink: 0;
}
details.qa-item[open] summary::after { content: '−'; }
details.qa-item p {
  margin: 14px 0 0; color: var(--ink-muted); font-size: 15px; line-height: 1.6;
}

/* ─── CLOSING CTA ─── */
.closing { padding: clamp(40px, 5vw, 80px) var(--pad); max-width: var(--maxw); margin: 0 auto 60px; }
.closing-card {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.closing-card h2 {
  color: var(--white); max-width: 520px; text-align: left;
  margin: 0 0 16px; font-size: clamp(28px, 3vw, 44px);
}
.closing-card p { color: #B7BECB; margin: 0 0 28px; font-size: 16px; max-width: 480px; }
.closing-card .cta { display: flex; gap: 12px; flex-wrap: wrap; }

.advisor-card {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: 24px;
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.advisor-head { display: flex; align-items: center; gap: 16px; }
.advisor-avatar {
  width: 72px; height: 72px; border-radius: 50%; background: #D5D9E2; flex: none;
  background-image: linear-gradient(135deg, #3a4663, #0E1A2B); overflow: hidden;
}
.advisor-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.advisor-name { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 22px; }
.advisor-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; }
.advisor-meta .cell { background: var(--bg); padding: 12px 14px; border-radius: 8px; }
.advisor-meta .cell .l { font-size: 12px; color: var(--ink-muted); }
.advisor-meta .cell .v { font-weight: 600; font-size: 14px; margin-top: 2px; color: var(--ink); }

/* ─── FOOTER ─── */
footer {
  background: var(--navy); color: var(--white);
  padding: 40px 0 24px; text-align: center;
}
footer .row {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center;
}
footer .row .logo { color: var(--white); text-align: left; }
footer .links { display: flex; justify-content: center; gap: 24px; font-size: 14px; color: #B7BECB; }
footer .links a { color: #B7BECB; transition: color 0.2s; }
footer .links a:hover { color: var(--white); }
footer .footer-lin { font-size: 18px; justify-self: end; color: #B7BECB; }
footer .copyright {
  max-width: var(--maxw); margin: 24px auto 0; padding: 0 var(--pad);
  text-align: center; color: #B7BECB; font-size: 13px;
}
footer .disclaimer {
  max-width: var(--maxw); margin: 16px auto 0; padding: 0 var(--pad);
  font-size: 11px; color: #8995A8; line-height: 1.6; text-align: center;
}

/* ─── INTERNAL PAGES (team / insights) ─── */
.internal-page-wrap {
  padding: 120px 0 80px;
  max-width: var(--maxw); margin: 0 auto;
}
.internal-page-header { text-align: center; margin-bottom: 80px; padding: 0 var(--pad); }
.internal-page-eyebrow {
  font-size: 13px; font-weight: 500; color: var(--ink-muted);
  letter-spacing: 0.02em; margin-bottom: 16px;
}
.internal-page-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 700;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0 0 20px; color: var(--ink);
}
.internal-page-sub {
  font-size: 18px; color: var(--ink-muted);
  max-width: 640px; margin: 0 auto; line-height: 1.6;
}

/* Team page grid */
.team-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.team-card {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 28px;
  text-align: center; transition: transform 0.3s, border-color 0.3s;
}
.team-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.team-photo {
  width: 132px; height: 132px; border-radius: 50%;
  overflow: hidden; margin: 0 auto 24px;
  border: 3px solid var(--bg);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card h2 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-size: 22px; font-weight: 700;
  margin: 0 0 6px; color: var(--ink); letter-spacing: -0.01em;
}
.team-role {
  font-size: 12px; font-weight: 700; color: var(--ink-muted);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px;
}
.team-text {
  font-size: 14px; color: var(--ink-muted); line-height: 1.65;
  margin: 0 0 24px;
}
.team-linkedin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-pill);
  background: var(--bg); color: var(--ink); transition: background 0.2s, color 0.2s;
}
.team-linkedin:hover { background: var(--ink); color: var(--white); }

/* Insights page grid */
.insights-page-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.insight-card {
  padding: 32px 28px; background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform 0.3s, border-color 0.3s;
  display: block; color: inherit; text-decoration: none;
}
.insight-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.insight-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 20px;
}
.insight-card h3 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-size: 20px; font-weight: 700;
  line-height: 1.3; margin: 0 0 24px; color: var(--ink); letter-spacing: -0.01em;
}
.insight-meta { font-size: 12px; color: var(--ink-muted); letter-spacing: 0.05em; font-weight: 500; }
.insights-page-note {
  text-align: center; font-size: 15px; color: var(--ink-muted);
  max-width: 640px; margin: 48px auto 0; line-height: 1.6; padding: 0 var(--pad);
}
.insights-page-note a { color: var(--ink); text-decoration: underline; font-weight: 600; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-inner { padding: 14px var(--pad); }
  .nav-hamburger { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    gap: 0; background: var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: 14px var(--pad);
    font-size: 16px; min-height: 44px; line-height: 1.3;
  }
  .nav-links a:hover { background: var(--bg); }
  .nav--over-hero .nav-links a,
  .nav--over-hero.is-scrolled .nav-links a { color: var(--ink); }
  .stat-grid, .pillars, .sector-grid, .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .funnel-wrap, .product-grid, .closing-card { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 14px 12px; font-size: 13px; }
  .cases-grid { grid-template-columns: 1fr; }
  .team-grid, .insights-page-grid { grid-template-columns: 1fr 1fr; }
  footer .row { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  footer .row .logo { text-align: center; }
  footer .links { justify-content: center; }
  footer .footer-lin { justify-self: center; }
  .closing-card { padding: 32px; }
  .closing-card h2 { font-size: clamp(24px, 6vw, 32px); }
  .advisor-meta { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  /* Hide the lower-priority outline CTA on narrow screens; primary CTA + hamburger only */
  .nav-cta .btn-outline { display: none; }
  .press-logos { gap: 28px; }
  .press-logos span { font-size: 16px; }
  .stat-grid { gap: 22px; }
  .hero { padding-top: 64px; padding-bottom: 60px; }
}

@media (max-width: 520px) {
  .stat-grid, .pillars, .sector-grid, .cred-grid { grid-template-columns: 1fr; }
  .team-grid, .insights-page-grid { grid-template-columns: 1fr; }
  .advisor-meta { grid-template-columns: 1fr; }
  .section h2 { margin-bottom: 40px; }
  .pillars { margin-top: 48px; padding-top: 32px; }
}

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