/* ─── Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* C2Next brand tokens (brand-tokens.md) */
:root {
  --c2-blue:   #02558D; /* primary — headlines, primary UI, links, key data */
  --c2-gray:   #6D6D6D; /* primary — body/secondary text, neutral structure */
  --c2-orange: #DB5F26; /* secondary — accents, highlights, CTAs. Large text/graphics only */
  --c2-slate:  #38617D; /* secondary — midpoint of blue & gray; gradient middle stop */
  --c2-gray-2: #B2B2B2; /* light — borders, muted UI, dividers */
  --c2-gray-3: #D7D7D7; /* light — surfaces, backgrounds (never under body-gray text) */
  --white:     #FFFFFF;
  --ink:       #1A1A1A;

  --font-sans: 'Roboto Condensed', sans-serif; /* primary — headlines, UI, body */
  --font-slab: 'Roboto Slab', serif;           /* supporting — emphasis, pull quotes */
  --font-mono: 'JetBrains Mono', monospace;    /* numbers & data, almost exclusively */

  --radius:    8px;
  --shadow-sm: 0 1px 3px rgba(2,51,90,.08), 0 1px 2px rgba(2,51,90,.06);
  --shadow-md: 0 4px 20px rgba(2,51,90,.10);
  --shadow-lg: 0 16px 48px rgba(2,51,90,.16);
  --transition:0.2s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--c2-gray);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
.mono { font-family: var(--font-mono); }

:focus-visible { outline: 2px solid var(--c2-orange); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; }
  .framework-card { transition: none !important; }
}

/* ─── Container ────────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ─── Buttons ──────────────────────────────────────────────────────── */
/* Orange is reserved for calls to action — the one place it's meant to carry weight. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-weight: 600; border-radius: var(--radius);
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
  border: 2px solid transparent; font-size: 1.05rem; padding: 14px 30px;
}
.btn--primary { background: var(--c2-orange); color: var(--white); }
.btn--primary:hover {
  background: #B44A18; transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(219,95,38,.35);
}
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--dark { background: transparent; color: var(--c2-blue); border-color: var(--c2-blue); }
.btn--dark:hover { background: var(--c2-blue); color: var(--white); }
.btn--sm { padding: 10px 22px; font-size: 0.9rem; }
.btn--full { width: 100%; }

/* ─── Scroll Reveal ────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Section Shared ───────────────────────────────────────────────── */
/* Eyebrow labels are small UI tags — orange is for large text/graphics only, so these read in blue. */
.section-label {
  display: inline-block; font-family: var(--font-sans); font-size: 0.85rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--c2-blue); margin-bottom: 14px;
}
.section-label--onlight { color: rgba(255,255,255,.85); }
.section-title {
  font-family: var(--font-sans); font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; color: var(--c2-blue);
  line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 18px; text-transform: uppercase;
}
.section-title--onlight { color: var(--white); }
.section-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--c2-gray); max-width: 640px; line-height: 1.65;
}
.section-sub--onlight { color: rgba(255,255,255,.78); }
.section-head { margin-bottom: 52px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

/* ─── Nav ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(2,85,141,0.97); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav__inner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; height: 76px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-sans); }
.nav__logo-mark {
  width: 34px; height: 34px; border-radius: 7px; background: var(--c2-orange);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--white); font-size: 1rem;
}
.nav__logo-text { color: var(--white); font-size: 1.3rem; font-weight: 700; letter-spacing: .01em; }
.nav__logo-text span { color: var(--c2-orange); }
.brand-logo { height: 26px; width: auto; display: block; }
.footer__brand .brand-logo--footer { height: 28px; margin-bottom: 4px; }
.nav__links { justify-self: center; display: flex; align-items: center; gap: 34px; }
.nav__links a:not(.btn) {
  color: rgba(255,255,255,.82); font-weight: 500; font-size: 0.96rem; transition: color var(--transition);
  position: relative;
}
.nav__links a:not(.btn):hover { color: var(--white); }
.nav__links a.is-active { color: var(--white); }
.nav__links a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -26px; height: 2px; background: var(--c2-orange);
}
.nav__right { justify-self: end; display: flex; align-items: center; gap: 16px; }
.nav__burger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav__burger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none; flex-direction: column; background: var(--c2-blue);
  border-top: 1px solid rgba(255,255,255,.1);
}
.nav__mobile.open { display: flex; }
.mobile-link { padding: 16px 24px; color: rgba(255,255,255,.85); font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-link--cta { color: var(--c2-orange); font-weight: 700; }

@media (max-width: 860px) {
  .nav__links, .nav__right .btn { display: none; }
  .nav__burger { display: flex; }
}

/* ─── Hero Kinetic ─────────────────────────────────────────────────── */
/* Full-bleed hero, edge to edge like the rest of the site's sections.
   No background photo/placeholder — solid fill plus a soft top-right
   light wash, per the C2Next Hero Kinetic design reference. */
.hero-kinetic {
  position: relative; overflow: hidden; isolation: isolate; background: #0A2A45; padding: 0;
}
.hero-kinetic__bg {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .7s linear;
}
#heroVideoA { opacity: 1; }
.hero-kinetic__scrim {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(65% 58% at 50% 46%, rgba(4,14,24,.4) 0%, rgba(4,14,24,0) 72%),
    radial-gradient(120% 90% at 74% 6%, rgba(56,97,125,.3) 0%, rgba(10,42,69,0) 62%),
    linear-gradient(180deg, rgba(10,42,69,.62) 0%, rgba(10,42,69,.48) 42%, rgba(10,42,69,.82) 100%);
}

.hk-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,42,69,.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hk-nav__inner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 32px; padding: 22px 24px;
}
.hk-nav__logo { display: block; }
.hk-nav__logo .brand-logo { height: 24px; }
.hk-nav__links { justify-self: center; display: flex; align-items: center; gap: 30px; }
.hk-nav__right { justify-self: end; display: flex; align-items: center; gap: 16px; }
.hk-nav__link {
  font-family: var(--font-sans); font-size: 13px; font-weight: 500; letter-spacing: .09em;
  text-transform: uppercase; color: rgba(255,255,255,.8); transition: color .12s;
}
.hk-nav__link:hover { color: var(--white); }
.hk-nav__link.is-active {
  font-weight: 700; color: var(--white); padding-bottom: 4px; border-bottom: 3px solid var(--c2-orange);
}
.hk-nav__cta {
  background: var(--c2-orange); color: var(--white); font-family: var(--font-sans); font-size: 13px;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 11px 20px; border-radius: 9px;
  transition: background .12s cubic-bezier(.2,.6,.2,1); flex-shrink: 0;
}
.hk-nav__cta:hover { background: #B44A18; }
.hk-nav__burger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
}
.hk-nav__burger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.hk-nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hk-nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hk-nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hk-nav__mobile { position: relative; z-index: 1; display: none; flex-direction: column; border-top: 1px solid rgba(255,255,255,.14); }
.hk-nav__mobile.open { display: flex; }

/* Light variant — white bar, blue logo/text, for testing against a hero
   that doesn't need the nav to blend into a dark background. */
.hk-nav--light {
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--c2-gray-2);
}
.hk-nav--light .hk-nav__link { color: var(--c2-gray); }
.hk-nav--light .hk-nav__link:hover { color: var(--c2-blue); }
.hk-nav--light .hk-nav__link.is-active { color: var(--c2-blue); }
.hk-nav--light .hk-nav__burger span { background: var(--c2-blue); }
.hk-nav--light .hk-nav__mobile { background: var(--white); border-top-color: var(--c2-gray-2); }
.hk-nav--light .mobile-link { color: var(--c2-gray); border-bottom-color: var(--c2-gray-2); }
.hk-nav--light .mobile-link:hover { color: var(--c2-blue); }

/* Blue variant — the site's primary brand blue (matches the subpages'
   nav exactly, rgba(2,85,141,.97)), white text/logo — same treatment as
   the default dark nav, just a different fill. */
.hk-nav--blue { background: rgba(2,85,141,.94); backdrop-filter: blur(6px); }

@media (max-width: 860px) {
  .hk-nav__links, .hk-nav__cta { display: none; }
  .hk-nav__burger { display: flex; }
}

.hero-kinetic__content { position: relative; z-index: 1; padding: 160px 40px 96px; text-align: center; }
.hero-kinetic__eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.hero-kinetic__headline {
  margin: 24px auto 0; max-width: 900px; font-family: var(--font-sans); font-weight: 700;
  text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 4.75rem); line-height: .96; letter-spacing: -.01em;
  color: var(--white); text-shadow: 0 6px 34px rgba(3,20,34,.7);
}
.hero-kinetic__lead {
  margin: 22px auto 0; max-width: 56ch; font-size: 17px; line-height: 1.5; font-weight: 300;
  color: rgba(255,255,255,.9); text-shadow: 0 2px 16px rgba(3,20,34,.75);
}
.hero-kinetic__ctas { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-kinetic__btn {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-size: 15px;
  font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 15px 26px; border-radius: 9px;
  transition: background .12s cubic-bezier(.2,.6,.2,1), color .12s, border-color .12s, transform .12s cubic-bezier(.2,.6,.2,1);
}
.hero-kinetic__btn--primary { background: var(--c2-orange); color: var(--white); }
.hero-kinetic__btn--primary:hover { background: #B44A18; }
.hero-kinetic__btn--primary:active { transform: translateY(1px); }
.hero-kinetic__btn--ghost { border: 1px solid rgba(255,255,255,.4); color: var(--white); padding: 14px 24px; }
.hero-kinetic__btn--ghost:hover { background: var(--white); color: #0A2A45; border-color: var(--white); }

.hero-kinetic__stats {
  position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, auto); justify-content: center;
  gap: 64px; padding: 26px 40px 40px;
}
.hk-stat { text-align: center; }
.hk-stat__figure { font-family: var(--font-mono); font-weight: 600; font-size: 30px; letter-spacing: -.01em; color: var(--white); }
.hk-stat__figure--accent { color: var(--c2-orange); }
.hk-stat__label {
  margin-top: 8px; font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.66);
}

.hero-kinetic__rule { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr 1fr; height: 8px; }
.hero-kinetic__rule span:nth-child(1) { background: var(--c2-blue); }
.hero-kinetic__rule span:nth-child(2) { background: var(--c2-slate); }
.hero-kinetic__rule span:nth-child(3) { background: var(--c2-gray); }

@media (max-width: 720px) {
  .hk-nav__inner { padding: 18px 24px; }
  .hero-kinetic__content { padding: 100px 24px 44px; }
  .hero-kinetic__stats { grid-template-columns: repeat(2, auto); gap: 28px 44px; padding: 24px 24px 32px; }
}

/* ─── Hero Split (variant C) ────────────────────────────────────────────
   Full-bleed WebGL shader background — a continuous flowing navy/slate
   noise field with a slow drifting orange glow, procedurally animated
   (no video file, no loop seam, tiny payload). Technique borrowed from
   Squarespace's native "Fluid Engine" liquid/refracted image effects. */
.hero-split {
  position: relative; overflow: hidden; isolation: isolate; background: #0A2A45; padding: 0;
}
.hero-split__canvas {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block;
}
.hero-split__scrim {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,42,69,.35) 0%, rgba(10,42,69,.12) 40%, rgba(10,42,69,.55) 100%);
}
.hero-split__text {
  position: relative; z-index: 1; padding: 340px 24px 250px; text-align: center;
}
.hero-split__headline {
  margin: 20px auto 0; max-width: 900px; font-family: var(--font-sans); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 4.75rem); line-height: .96; letter-spacing: -.01em; color: var(--white);
  text-shadow: 0 6px 34px rgba(3,20,34,.7);
}
.hero-split__lead {
  margin: 22px auto 0; max-width: 56ch; font-size: 17px; line-height: 1.5; font-weight: 300;
  color: rgba(255,255,255,.9); text-shadow: 0 2px 16px rgba(3,20,34,.75);
}
.hero-split__ctas { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .hero-split__text { padding: 128px 24px 56px; }
}

/* ─── Hero Image Split (variant D) ──────────────────────────────────────
   Same two-column layout as the earlier video variant, but with a static
   hero photo instead of video — no loop/seam concerns at all, and a much
   smaller payload. Full-bleed navy, matching the other homepage variants. */
.hero-imgsplit {
  position: relative; overflow: hidden; isolation: isolate; background: #0A2A45; padding: 0;
}
.hero-imgsplit::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 12% 92%, rgba(56,97,125,.35) 0%, rgba(10,42,69,0) 60%);
}
.hero-imgsplit__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  padding: 180px 24px 96px;
}
.hero-imgsplit__text { text-align: left; }
.hero-imgsplit__headline {
  margin: 20px 0 0; font-family: var(--font-sans); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: .98; letter-spacing: -.01em; color: var(--white);
}
.hero-imgsplit__lead {
  margin: 22px 0 0; max-width: 46ch; font-size: 17px; line-height: 1.55; font-weight: 300;
  color: rgba(255,255,255,.9);
}
.hero-imgsplit__ctas { display: flex; align-items: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-imgsplit__media {
  align-self: end; display: flex; justify-content: center;
}
.hero-imgsplit__media img {
  width: 100%; max-width: 420px; height: auto; display: block;
}

@media (max-width: 900px) {
  .hero-imgsplit__grid { grid-template-columns: 1fr; gap: 8px; padding: 128px 24px 0; }
  .hero-imgsplit__media { align-self: center; max-width: 320px; margin: 0 auto; }
}

/* ─── Hero Background Spheres (variant E) ───────────────────────────────
   Full-bleed static hero image — abstract chrome/glass rings on navy,
   composed with clear negative space on the left for text. No video, no
   shader, just one well-composed photo/render. */
.hero-bgspheres {
  position: relative; overflow: hidden; isolation: isolate; padding: 0;
  background: #0A2A45 var(--hero-bg-image, url('media/Background-Spheres.png')) no-repeat center right / cover;
}
.hero-bgspheres--video { background-image: none; }
.hero-bgspheres__video {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right;
  opacity: 0; transition: opacity .7s linear;
}
.hero-bgspheres--video #heroVideoA { opacity: 1; }
.hero-bgspheres__scrim {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,42,69,.7) 0%, rgba(10,42,69,.25) 55%, rgba(10,42,69,0) 75%);
}
.hero-bgspheres__content {
  position: relative; z-index: 1; padding: 300px 24px 260px 112px; text-align: left; max-width: 640px; margin: 0;
}
.hero-bgspheres__headline {
  margin: 20px 0 0; font-family: var(--font-sans); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.2rem, 4.6vw, 3.75rem); line-height: .98; letter-spacing: -.01em; color: var(--white);
  text-shadow: 0 6px 34px rgba(3,20,34,.7);
}
.hero-bgspheres__lead {
  margin: 22px 0 0; font-size: 17px; line-height: 1.55; font-weight: 300;
  color: rgba(255,255,255,.9); text-shadow: 0 2px 16px rgba(3,20,34,.75);
}
.hero-bgspheres__ctas { display: flex; align-items: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* ─── Hero Editorial (variant F) ─────────────────────────────────────────
   No video, no shader, no image — the opposite direction entirely. White
   page, huge confident type carries the whole hero, orange used exactly
   once (the brand rule: large text/graphics only). Calm and expensive
   instead of kinetic. */
.hero-editorial { position: relative; background: var(--white); padding: 0; }
.hero-editorial__content {
  position: relative; z-index: 1; max-width: 860px; margin: 0 auto;
  padding: 200px 24px 120px; text-align: center;
}
.hero-editorial__eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--c2-slate);
}
.hero-editorial__headline {
  margin: 24px auto 0; font-family: var(--font-sans); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: .96; letter-spacing: -.01em; color: var(--c2-blue);
}
.hero-editorial__headline em { font-style: normal; color: var(--c2-orange); }
.hero-editorial__lead {
  margin: 28px auto 0; max-width: 56ch; font-size: 18px; line-height: 1.6; font-weight: 300; color: var(--c2-gray);
}
.hero-editorial__ctas { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-editorial__btn--ghost {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c2-blue); color: var(--c2-blue); font-family: var(--font-sans); font-size: 15px;
  font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 14px 24px; border-radius: 9px;
  transition: background .12s cubic-bezier(.2,.6,.2,1), color .12s;
}
.hero-editorial__btn--ghost:hover { background: var(--c2-blue); color: var(--white); }

@media (max-width: 720px) {
  .hero-editorial__content { padding: 128px 24px 72px; }
}

/* ─── Hero Before/After (variant G) ──────────────────────────────────────
   Two-column contrast instead of one unified background: left is
   deliberately cluttered (chaos), right is the resolved, brand-clean
   answer. An argument, not an atmosphere. */
.hero-compare { display: grid; grid-template-columns: 1fr 1fr; position: relative; isolation: isolate; }
.hero-compare__side {
  position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
  padding: 200px 48px 100px;
}
.hero-compare__side--before { background: #14181C; }
.hero-compare__side--after { background: #0A2A45; }
.hero-compare__divider {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; z-index: 2; transform: translateX(-0.5px);
  background: linear-gradient(180deg, transparent 10%, var(--c2-orange) 50%, transparent 90%);
}
.hero-compare__content { position: relative; z-index: 1; max-width: 440px; text-align: left; }
.hero-compare__eyebrow {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.hero-compare__eyebrow--accent { color: var(--c2-orange); }
.hero-compare__title {
  margin-top: 16px; font-family: var(--font-sans); font-weight: 700; text-transform: uppercase;
  line-height: 1.02; letter-spacing: -.01em; color: rgba(255,255,255,.55); font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}
.hero-compare__title--headline { color: var(--white); font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: .98; }
.hero-compare__lead {
  margin-top: 20px; max-width: 46ch; font-size: 16px; line-height: 1.55; font-weight: 300; color: rgba(255,255,255,.85);
}
.hero-compare__ctas { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-compare__tags { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-compare__tags span {
  position: absolute; font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: .03em;
  text-transform: uppercase; color: rgba(255,255,255,.24); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: 8px 16px; white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-compare { grid-template-columns: 1fr; }
  .hero-compare__divider { display: none; }
  .hero-compare__side { padding: 150px 24px 64px; }
  .hero-compare__tags { display: none; }
}

/* ─── Hero Illustrated (variant H) ───────────────────────────────────────
   Structured icon-flow diagram instead of photography/abstract 3D — the
   minuttia.com-style approach: line icons in chips, dashed connectors,
   approachable rather than moody. Pure flexbox, no absolute-position
   trigonometry, so it degrades safely to a wrapped/stacked layout. */
.hero-illus__flow {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px; margin-top: 56px;
}
.hero-illus__node {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--c2-gray);
}
.hero-illus__icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--white);
  border: 1.5px solid var(--c2-gray-2); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center; color: var(--c2-blue);
}
.hero-illus__icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; }
.hero-illus__connector {
  width: 40px; height: 0; border-top: 2px dashed var(--c2-gray-2); align-self: center; margin-bottom: 26px;
}
.hero-illus__connector--arrow { position: relative; border-color: var(--c2-orange); }
.hero-illus__connector--arrow::after {
  content: ''; position: absolute; right: -1px; top: -5px; width: 8px; height: 8px;
  border-right: 2px solid var(--c2-orange); border-bottom: 2px solid var(--c2-orange); transform: rotate(-45deg);
}
.hero-illus__node--output .hero-illus__figure {
  display: block; font-family: var(--font-mono); font-size: 22px; font-weight: 600; color: var(--c2-orange);
  letter-spacing: -.01em; margin-bottom: 2px;
}
.hero-illus__node--output {
  background: var(--c2-blue); color: rgba(255,255,255,.75); padding: 16px 22px; border-radius: 14px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 720px) {
  .hero-illus__flow { gap: 6px; margin-top: 40px; }
  .hero-illus__connector { width: 22px; }
}

/* ─── Hero Minuttia-style (variant I) ────────────────────────────────────
   Structural homage to minuttia.com's pattern — single bold pill CTA,
   dashed-frame card with floating icon accents at the corners — reskinned
   entirely in C2Next colors instead of their lime/lavender palette. */
.hero-mnt { position: relative; background: #EEF3F7; padding: 0; }
.hero-mnt .container { padding-top: 128px; padding-bottom: 100px; }
.hero-mnt__frame {
  position: relative; max-width: 760px; margin: 0 auto; background: var(--white);
  border: 2px dashed var(--c2-gray-2); border-radius: 28px; padding: 72px 48px; text-align: center;
}
.hero-mnt__icon {
  position: absolute; width: 56px; height: 56px; border-radius: 16px; background: var(--white);
  border: 1.5px solid var(--c2-gray-2); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center; color: var(--c2-blue);
  transform: rotate(-6deg);
}
.hero-mnt__icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; }
.hero-mnt__icon--2 { color: var(--c2-orange); transform: rotate(5deg); }
.hero-mnt__icon--3 { color: var(--c2-slate); transform: rotate(-4deg); }
.hero-mnt__icon--4 { color: var(--c2-gray); transform: rotate(7deg); }

.hero-mnt__eyebrow {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--c2-slate);
}
.hero-mnt__headline {
  margin: 18px 0 0; font-family: var(--font-sans); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.02; letter-spacing: -.01em; color: var(--ink);
}
.hero-mnt__lead { margin: 20px auto 0; max-width: 46ch; font-size: 17px; line-height: 1.55; color: var(--c2-gray); }
.hero-mnt__cta {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 30px;
  background: var(--c2-orange); color: var(--white); border: 2px solid var(--ink);
  font-family: var(--font-sans); font-size: 15px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hero-mnt__cta:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

@media (max-width: 720px) {
  .hero-mnt .container { padding-top: 100px; padding-bottom: 64px; }
  .hero-mnt__frame { padding: 56px 24px; border-radius: 20px; }
  .hero-mnt__icon { display: none; }
}

/* ─── Hero Social Proof (variant J) ──────────────────────────────────────
   elevationb2b.com pattern — plain dark background (no video/shader),
   short punchy headline, dual CTA, and client logos built directly into
   the hero itself rather than a separate section below. Credibility is
   part of the pitch, not an afterthought. */
.hero-proof { position: relative; overflow: hidden; isolation: isolate; background: #0A2A45; padding: 0; }
.hero-proof::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 80% 8%, rgba(56,97,125,.35) 0%, rgba(10,42,69,0) 60%),
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.5px);
  background-size: auto, 26px 26px;
}
.hero-proof__content { position: relative; z-index: 1; padding: 188px 40px 100px; text-align: center; }
.hero-proof__headline {
  margin: 20px auto 0; font-family: var(--font-sans); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: .96; letter-spacing: -.01em; color: var(--white);
}
.hero-proof__lead {
  margin: 22px auto 0; max-width: 52ch; font-size: 17px; line-height: 1.55; font-weight: 300; color: rgba(255,255,255,.85);
}
.hero-proof__ctas { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-proof__trust { margin-top: 76px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-proof__trust-label {
  display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 22px;
}
.hero-proof__logos { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; }
.hero-proof__logos span {
  font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
  font-size: 1.05rem; color: rgba(255,255,255,.5);
}

@media (max-width: 720px) {
  .hero-proof__content { padding: 128px 24px 64px; }
  .hero-proof__trust { margin-top: 56px; }
  .hero-proof__logos { gap: 24px 32px; }
}

@media (max-width: 720px) {
  .hero-bgspheres { background-position: 65% center; }
  .hero-bgspheres__scrim { background: rgba(10,42,69,.55); }
  .hero-bgspheres__content { padding: 128px 24px 64px; max-width: none; }
}

/* ─── Hero X-Tilt (variant K) ─────────────────────────────────────────────
   Revives the original Higgsfield design prototype's kinetic background:
   the brand's actual stepped-X mark (same SVG paths as the nav logo),
   large and translucent, tilting toward the cursor in 3D. Pure CSS
   transform + one mousemove listener — no video, no generation. */
.hero-x__scene {
  position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center;
  perspective: 900px; pointer-events: none;
}
.hero-x__stage {
  transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.6,.2,1); opacity: .5;
}
.hero-x__mark { width: min(60vw, 760px); height: auto; display: block; }

@media (prefers-reduced-motion: reduce) {
  .hero-x__stage { transition: none !important; }
}

/* ─── Quick facts strip ────────────────────────────────────────────── */
.facts { background: var(--c2-blue); padding: 0; }
.facts__grid { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; }
.fact-item {
  flex: 1; min-width: 200px; text-align: center; padding: 34px 24px;
  border-left: 1px solid rgba(255,255,255,.14);
}
.fact-item:first-child { border-left: none; }
@media (max-width: 720px) { .fact-item { border-left: none; border-top: 1px solid rgba(255,255,255,.14); } .fact-item:first-child { border-top: none; } }

.page-hero {
  /* Fixed height + flex-centered content, instead of padding alone —
     padding-driven height varied per page depending on how many lines
     the h1 wrapped to, so every subpage hero is now the same height
     regardless of headline/copy length. Shorter than before now that
     these are eyebrow + headline only, no supporting paragraph. */
  min-height: 420px; padding: 100px 0 40px; display: flex; align-items: center;
  background: var(--c2-blue); position: relative; overflow: hidden;
  background-image: radial-gradient(circle at 85% 20%, rgba(56,97,125,.4), transparent 55%);
}
.page-hero__eyebrow { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .18em; font-size: 0.85rem; color: rgba(255,255,255,.85); font-weight: 700; margin-bottom: 18px; }
.page-hero h1 { font-family: var(--font-sans); font-weight: 700; text-transform: uppercase; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.05; color: var(--white); max-width: 760px; margin-bottom: 20px; }
.page-hero p { font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255,255,255,.8); max-width: 620px; }

/* ─── Pain points ──────────────────────────────────────────────────── */
.painpoints__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .painpoints__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .painpoints__grid { grid-template-columns: 1fr; } }
.painpoint-card {
  background: var(--white); border: 1px solid var(--c2-gray-2); border-left: 3px solid var(--c2-orange);
  border-radius: 10px; padding: 26px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.painpoint-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.painpoint-card__icon { color: var(--c2-orange); margin-bottom: 16px; transition: transform var(--transition); }
.painpoint-card__icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; }
.painpoint-card:hover .painpoint-card__icon { transform: scale(1.12); }
.painpoint-card h3 { font-family: var(--font-sans); text-transform: uppercase; font-size: 1.1rem; color: var(--c2-blue); margin-bottom: 8px; letter-spacing: .01em; }
.painpoint-card p { color: var(--c2-gray); font-size: 0.92rem; }

/* ─── Pipeline funnel ──────────────────────────────────────────────── */
/* Rows stay full width and fully readable at every stage; the funnel
   taper is carried by the track/fill bar underneath, not by shrinking
   the row itself (that crushed the label+description text). */
.funnel { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.funnel-stage__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 8px;
}
.funnel-stage__label { font-family: var(--font-sans); text-transform: uppercase; font-weight: 700; font-size: 1.02rem; letter-spacing: .02em; color: var(--c2-blue); white-space: nowrap; }
.funnel-stage__desc { font-size: 0.86rem; color: var(--c2-gray); text-align: right; }
.funnel-stage__track { height: 14px; border-radius: 7px; background: rgba(2,85,141,.1); overflow: hidden; }
.funnel-stage__fill {
  height: 100%; border-radius: 7px; width: 0;
  transition: width 1s cubic-bezier(.2,.8,.3,1);
}
@media (max-width: 720px) {
  .funnel-stage__row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .funnel-stage__desc { text-align: left; }
}

/* Bars sit at 0 width until the section scrolls into view (.funnel gets
   .visible from the shared reveal observer), then fill in with a
   per-stage stagger — a small, purposeful bit of motion that reinforces
   "measured" rather than decorating for its own sake. */
.funnel-stage--1 .funnel-stage__fill { background: #02558D; transition-delay: .05s; }
.funnel-stage--2 .funnel-stage__fill { background: #1D5B85; transition-delay: .17s; }
.funnel-stage--3 .funnel-stage__fill { background: #38617D; transition-delay: .29s; }
.funnel-stage--4 .funnel-stage__fill { background: #526775; transition-delay: .41s; }
.funnel-stage--5 .funnel-stage__fill { background: #6D6D6D; transition-delay: .53s; }

.funnel.visible .funnel-stage--1 .funnel-stage__fill { width: 100%; }
.funnel.visible .funnel-stage--2 .funnel-stage__fill { width: 86%; }
.funnel.visible .funnel-stage--3 .funnel-stage__fill { width: 72%; }
.funnel.visible .funnel-stage--4 .funnel-stage__fill { width: 58%; }
.funnel.visible .funnel-stage--5 .funnel-stage__fill { width: 44%; }

@media (prefers-reduced-motion: reduce) {
  .funnel-stage__fill { transition: none !important; }
}
.funnel__outcome {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px;
  font-family: var(--font-sans); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--c2-orange); font-size: 0.95rem;
}
.funnel__outcome svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }

/* ─── Shift narrative (about) ──────────────────────────────────────── */
.shift__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .shift__grid { grid-template-columns: 1fr; } }
.shift-col { background: var(--white); border: 1px solid var(--c2-gray-2); border-radius: 12px; padding: 32px 28px; }
.shift-col--accent { border-top: 4px solid var(--c2-orange); }
.shift-col h3 { font-family: var(--font-sans); text-transform: uppercase; font-size: 1.15rem; color: var(--c2-blue); margin-bottom: 14px; }
.shift-col p { color: var(--c2-gray); font-size: 0.96rem; }
.shift-col p + p { margin-top: 12px; }

/* ─── Stat strip ───────────────────────────────────────────────────── */
.stats { background: var(--white); padding: 56px 0; border-bottom: 1px solid var(--c2-gray-2); }
.stats__grid { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
.stat-item { flex: 1; min-width: 160px; text-align: center; }
.stat-label {
  font-family: var(--font-sans); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  font-size: 1.05rem; color: var(--c2-blue); margin-bottom: 6px;
}
.stat-sub { font-size: 0.88rem; color: var(--c2-gray); }
.stat-divider { width: 1px; height: 44px; background: var(--c2-gray-2); }
@media (max-width: 720px) { .stat-divider { display: none; } }

/* ─── Intro / split ────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.intro-copy p + p { margin-top: 18px; }
.intro-copy p { color: var(--c2-gray); font-size: 1.05rem; }

.split--media { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
.intro-media {
  border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow-lg);
}
.intro-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .intro-media { max-width: 420px; margin: 0 auto; } }
.pull-orange { color: var(--c2-orange); font-weight: 600; }

/* ─── Framework cards ──────────────────────────────────────────────── */
/* Focus / Optimize / Scale is exactly the "three related items" case —
   each card takes one stop of the Blue → Slate → Gray gradient. */
.framework { background: var(--white); }
/* Stepped, hard-stop thirds — brand guidelines default to discrete blocks, not smooth blends. */
.framework__gradient-bar {
  height: 5px; border-radius: 4px; margin-bottom: 28px;
  background: linear-gradient(90deg,
    var(--c2-blue) 0%, var(--c2-blue) 33.33%,
    var(--c2-slate) 33.33%, var(--c2-slate) 66.66%,
    var(--c2-gray) 66.66%, var(--c2-gray) 100%);
  transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2,.8,.3,1);
}
.framework__gradient-bar.visible { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .framework__gradient-bar { transition: none !important; }
}
.framework__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .framework__grid { grid-template-columns: 1fr; } }
.framework-card {
  background: var(--white); border: 1px solid var(--c2-gray-2); border-top: 4px solid var(--c2-blue);
  border-radius: 10px; padding: 36px 30px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.framework-card--optimize { border-top-color: var(--c2-slate); }
.framework-card--scale { border-top-color: var(--c2-gray); }
.framework-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.framework-card__num {
  font-family: var(--font-mono); font-size: 0.9rem; font-weight: 600; letter-spacing: .06em;
  color: var(--c2-blue); margin-bottom: 18px;
}
.framework-card--optimize .framework-card__num { color: var(--c2-slate); }
.framework-card--scale .framework-card__num { color: var(--c2-gray); }
.framework-card h3 {
  font-family: var(--font-sans); text-transform: uppercase; font-size: 1.5rem; font-weight: 700;
  color: var(--c2-blue); margin-bottom: 8px; letter-spacing: .01em;
}
.framework-card__tag { font-size: 0.9rem; color: var(--c2-slate); font-weight: 600; margin-bottom: 16px; }
.framework-card p { color: var(--c2-gray); font-size: 0.98rem; }
.framework-card__link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; color: var(--c2-blue);
  font-weight: 600; font-size: 0.92rem;
}
.framework-card__link:hover { text-decoration: underline; }

/* ─── Engagement timeline ──────────────────────────────────────────── */
.timeline { position: relative; }
.timeline__track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative;
}
@media (max-width: 860px) { .timeline__track { grid-template-columns: 1fr; gap: 0; } }
/* Stepped quarters, matching the four timeline stops — not a smooth blend. */
.timeline__track::before {
  content: ''; position: absolute; top: 22px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg,
    var(--c2-blue) 0%, var(--c2-blue) 25%,
    var(--c2-slate) 25%, var(--c2-slate) 50%,
    var(--c2-gray) 50%, var(--c2-gray) 75%,
    var(--c2-gray-2) 75%, var(--c2-gray-2) 100%);
}
@media (max-width: 860px) {
  .timeline__track::before { top: 0; bottom: 0; left: 22px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg,
      var(--c2-blue) 0%, var(--c2-blue) 25%,
      var(--c2-slate) 25%, var(--c2-slate) 50%,
      var(--c2-gray) 50%, var(--c2-gray) 75%,
      var(--c2-gray-2) 75%, var(--c2-gray-2) 100%); }
}
.timeline-step { position: relative; padding-top: 56px; }
@media (max-width: 860px) { .timeline-step { padding-top: 0; padding-left: 56px; padding-bottom: 36px; } .timeline-step:last-child { padding-bottom: 0; } }
.timeline-step__dot {
  position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--c2-blue); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 600; color: var(--c2-blue); font-size: 0.95rem;
}
.timeline-step:nth-child(2) .timeline-step__dot { border-color: var(--c2-slate); color: var(--c2-slate); }
.timeline-step:nth-child(3) .timeline-step__dot { border-color: var(--c2-gray); color: var(--c2-gray); }
.timeline-step:nth-child(4) .timeline-step__dot { border-color: var(--c2-gray-2); color: var(--c2-gray); }
.timeline-step h4 { font-family: var(--font-sans); text-transform: uppercase; font-size: 1.05rem; color: var(--c2-blue); margin-bottom: 8px; }
.timeline-step p { color: var(--c2-gray); font-size: 0.92rem; }

/* ─── Services grid ────────────────────────────────────────────────── */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services__grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--white); border: 1px solid var(--c2-gray-2); border-radius: 12px; padding: 30px 26px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--c2-blue); }
.service-card__icon {
  width: 42px; height: 42px; border-radius: 9px; background: var(--c2-gray-3);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--c2-blue); font-size: 1.2rem;
}
.service-card__icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }
.service-card h3 { font-family: var(--font-sans); text-transform: uppercase; font-size: 1.2rem; font-weight: 700; color: var(--c2-blue); margin-bottom: 10px; letter-spacing: .01em; }
.service-card p { color: var(--c2-gray); font-size: 0.95rem; }

/* ─── Who we help ──────────────────────────────────────────────────── */
.clients { background: var(--white); }
.client-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 44px; }
@media (max-width: 900px) { .client-types { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .client-types { grid-template-columns: 1fr; } }
.client-type { background: var(--white); border-radius: 12px; padding: 26px 22px; border: 1px solid var(--c2-gray-2); }
.client-type h4 { font-family: var(--font-sans); text-transform: uppercase; color: var(--c2-blue); font-size: 1.05rem; margin-bottom: 8px; }
.client-type p { color: var(--c2-gray); font-size: 0.92rem; }
.client-names {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center;
}
.client-name-pill {
  font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .04em; font-weight: 700;
  font-size: 0.98rem; color: var(--c2-blue); background: var(--c2-gray-3); border: 1px solid var(--c2-gray-2);
  border-radius: 999px; padding: 10px 22px;
}

/* ─── Logo marquee ─────────────────────────────────────────────────── */
.marquee {
  overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 56px; width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
  font-size: 1.15rem; color: var(--c2-gray); white-space: nowrap; transition: color var(--transition);
}
.marquee__item:hover { color: var(--c2-blue); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Positioning / quote block ────────────────────────────────────── */
/* Secondary dark section — uses C2 Slate for variation from the primary blue. */
.quote-block {
  background: var(--c2-slate); border-radius: 20px; padding: 56px; position: relative; overflow: hidden;
}
.quote-block::before {
  content: '\201C'; position: absolute; top: -30px; left: 24px; font-family: var(--font-slab);
  font-size: 12rem; color: rgba(255,255,255,.08); line-height: 1;
}
.quote-block p {
  position: relative; font-family: var(--font-slab); font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  color: var(--white); line-height: 1.4; font-weight: 400;
}
.quote-block__cite { position: relative; margin-top: 22px; color: rgba(255,255,255,.75); font-weight: 600; font-size: 0.95rem; }

/* ─── Process steps (about / values) ───────────────────────────────── */
.values__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 720px) { .values__grid { grid-template-columns: 1fr; } }
.value-item {
  display: flex; gap: 18px; background: var(--white); border: 1px solid var(--c2-gray-2);
  border-radius: 12px; padding: 26px 24px;
}
.value-item__num {
  font-family: var(--font-mono); font-size: 1.5rem; font-weight: 600; color: var(--c2-blue); flex-shrink: 0; width: 40px;
}
.value-item h4 { font-family: var(--font-sans); text-transform: uppercase; color: var(--c2-blue); font-size: 1.1rem; margin-bottom: 6px; }
.value-item p { color: var(--c2-gray); font-size: 0.96rem; }

/* ─── CTA banner ───────────────────────────────────────────────────── */
/* Orange stays on the button only — the banner fill is brand blue. */
.cta-banner {
  background: var(--c2-blue); border-radius: 20px; padding: 60px; text-align: center;
}
.cta-banner h2 { font-family: var(--font-slab); font-weight: 700; text-transform: none; font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 30px; font-size: 1.05rem; }

/* ─── Contact page ─────────────────────────────────────────────────── */
.contact-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info h3 { font-family: var(--font-sans); text-transform: uppercase; color: var(--c2-blue); font-size: 1.3rem; margin-bottom: 14px; }
.contact-info p { color: var(--c2-gray); margin-bottom: 26px; }
.contact-fact { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--c2-gray-2); }
.contact-fact:last-child { border-bottom: 1px solid var(--c2-gray-2); }
.contact-fact__label { font-family: var(--font-sans); text-transform: uppercase; font-size: 0.82rem; letter-spacing: .06em; color: var(--c2-gray); width: 100px; flex-shrink: 0; padding-top: 2px; }
.contact-fact__value { color: var(--c2-blue); font-weight: 600; }

.form-card { background: var(--white); border-radius: 16px; padding: 40px; border: 1px solid var(--c2-gray-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--font-sans); text-transform: uppercase; font-size: 0.82rem;
  letter-spacing: .06em; color: var(--c2-blue); margin-bottom: 8px; font-weight: 700;
}
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--c2-gray-2); border-radius: 8px;
  font-family: var(--font-sans); font-size: 1rem; color: var(--ink); background: var(--white);
  transition: border-color var(--transition);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c2-blue); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--c2-gray); margin-top: 4px; }
.form-success {
  display: none; background: #E9F6EC; color: #1E7B34; border-radius: 8px; padding: 14px 18px; margin-bottom: 20px;
  font-size: 0.92rem; font-weight: 600;
}
.form-success.show { display: block; }

/* ─── FAQ accordion ────────────────────────────────────────────────── */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--c2-gray-2); }
.faq-item__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; background: none; border: none; width: 100%; text-align: left;
  font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; color: var(--c2-blue);
}
.faq-item__icon {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--c2-blue);
  display: flex; align-items: center; justify-content: center; color: var(--c2-blue); font-size: 1rem;
  transition: transform var(--transition);
}
.faq-item.open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding var(--transition);
  color: var(--c2-gray); font-size: 0.98rem; line-height: 1.65;
}
.faq-item.open .faq-item__a { max-height: 240px; padding-bottom: 22px; }

/* ─── Case study / results cards ───────────────────────────────────── */
.results__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .results__grid { grid-template-columns: 1fr; } }
.results-card {
  background: var(--white); border: 1.5px dashed var(--c2-gray-2); border-radius: 12px; padding: 28px 26px;
  position: relative;
}
.results-card__ribbon {
  display: inline-block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--c2-gray); background: var(--c2-gray-3);
  border-radius: 4px; padding: 4px 10px; margin-bottom: 18px;
}
.results-card h3 { font-family: var(--font-sans); text-transform: uppercase; font-size: 1.25rem; color: var(--c2-blue); margin-bottom: 16px; }
.results-card__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-bottom: 18px; }
.results-card__field-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c2-gray); font-weight: 700; margin-bottom: 2px; }
.results-card__field-value { font-size: 0.92rem; color: var(--ink); font-style: italic; }
.results-card__outcome {
  border-top: 1px solid var(--c2-gray-2); padding-top: 16px; font-size: 0.92rem; color: var(--c2-gray); font-style: italic;
}

/* ─── Insights / resources teaser ──────────────────────────────────── */
.insights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .insights__grid { grid-template-columns: 1fr; } }
.insight-card {
  background: var(--white); border: 1px solid var(--c2-gray-2); border-radius: 12px; overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.insight-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.insight-card__top {
  height: 6px;
  background: linear-gradient(90deg, var(--c2-blue) 0%, var(--c2-blue) 50%, var(--c2-slate) 50%, var(--c2-slate) 100%);
}
.insight-card__body { padding: 26px 24px; }
.insight-card__tag { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c2-slate); margin-bottom: 10px; display: block; }
.insight-card h3 { font-family: var(--font-sans); font-size: 1.15rem; color: var(--c2-blue); margin-bottom: 10px; line-height: 1.25; }
.insight-card p { color: var(--c2-gray); font-size: 0.9rem; }

/* ─── Placeholder badge (template content, not live copy) ─────────── */
.placeholder-note {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--c2-slate); background: var(--c2-gray-3); border: 1px dashed var(--c2-gray-2); border-radius: 6px;
  padding: 8px 14px; margin-bottom: 32px;
}

/* ─── Footer ───────────────────────────────────────────────────────── */
.footer { background: var(--c2-blue); padding: 64px 0 32px; }
.footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 44px; }
.footer__brand { max-width: 320px; }
.footer__brand p { color: rgba(255,255,255,.65); font-size: 0.92rem; margin-top: 14px; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h5 { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .06em; color: var(--white); font-size: 0.85rem; margin-bottom: 16px; }
.footer__col a { display: block; color: rgba(255,255,255,.65); font-size: 0.92rem; margin-bottom: 10px; transition: color var(--transition); }
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; color: rgba(255,255,255,.5); font-size: 0.85rem;
}

/* ─── Misc ─────────────────────────────────────────────────────────── */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-size: 0.82rem; font-weight: 600; color: var(--c2-blue); background: var(--c2-gray-3); border-radius: 999px; padding: 7px 16px; }

/* ─── Cookie consent banner ────────────────────────────────────────────
   Injected by script.js on every page (see cookieConsentBanner) so it
   doesn't need to be hand-copied into 20+ HTML files. Two views inside
   one fixed bar: the initial notice (Accept All / Manage Cookies) and,
   in its place, the preference panel with per-category toggles. */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: #0A2A45; border-top: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 -8px 32px rgba(3,20,34,.35);
  padding: 22px 24px; transform: translateY(0); transition: transform .35s cubic-bezier(.2,.6,.2,1);
}
.cookie-banner.is-hidden { transform: translateY(110%); }
.cookie-banner__inner { max-width: 1180px; margin: 0 auto; }

.cookie-banner__notice { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cookie-banner__text { flex: 1 1 480px; font-size: 0.92rem; line-height: 1.55; color: rgba(255,255,255,.82); }
.cookie-banner__text a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.cookie-banner__btn {
  font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 12px 22px; border-radius: 9px; cursor: pointer; transition: background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.cookie-banner__btn--primary { background: var(--c2-orange); color: var(--white); border: 1px solid var(--c2-orange); }
.cookie-banner__btn--primary:hover { background: #B44A18; border-color: #B44A18; }
.cookie-banner__btn--ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.35); }
.cookie-banner__btn--ghost:hover { border-color: var(--white); }
.cookie-banner__btn--text {
  background: none; border: none; color: rgba(255,255,255,.6); font-family: var(--font-sans); font-size: 0.85rem;
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer; padding: 8px 4px;
}
.cookie-banner__btn--text:hover { color: var(--white); }

/* Manage-cookies panel */
.cookie-banner__panel { display: none; }
.cookie-banner.is-managing .cookie-banner__notice { display: none; }
.cookie-banner.is-managing .cookie-banner__panel { display: block; }
.cookie-banner__panel-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px;
}
.cookie-banner__panel-head h2 {
  font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; color: var(--white); text-transform: none; margin: 0;
}
.cookie-banner__close {
  background: none; border: none; color: rgba(255,255,255,.6); font-size: 22px; line-height: 1; cursor: pointer; padding: 4px;
}
.cookie-banner__close:hover { color: var(--white); }
.cookie-banner__categories { display: flex; flex-direction: column; }
.cookie-banner__category {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1);
}
.cookie-banner__category:first-child { border-top: none; padding-top: 0; }
.cookie-banner__category-copy { flex: 1; }
.cookie-banner__category-name { font-family: var(--font-sans); font-weight: 700; font-size: 0.92rem; color: var(--white); }
.cookie-banner__category-desc { font-size: 0.85rem; line-height: 1.5; color: rgba(255,255,255,.6); margin-top: 5px; max-width: 62ch; }
.cookie-banner__category-state {
  flex-shrink: 0; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding-top: 1px;
}
.cookie-banner__locked {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5);
}
.cookie-toggle { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.cookie-toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cookie-toggle__track {
  position: absolute; inset: 0; background: rgba(255,255,255,.18); border-radius: 999px; transition: background var(--transition);
  pointer-events: none;
}
.cookie-toggle__track::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: var(--white); border-radius: 50%;
  transition: transform var(--transition);
}
.cookie-toggle input:checked + .cookie-toggle__track { background: var(--c2-orange); }
.cookie-toggle input:checked + .cookie-toggle__track::after { transform: translateX(18px); }
.cookie-toggle input:focus-visible + .cookie-toggle__track { outline: 2px solid var(--white); outline-offset: 2px; }
.cookie-banner__panel-actions {
  display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}

@media (max-width: 720px) {
  .cookie-banner { padding: 14px 16px; }
  .cookie-banner__notice { flex-direction: column; align-items: stretch; gap: 10px; }
  /* flex-basis:480px on .cookie-banner__text is a width hint for the
     desktop row layout — once the container above switches to a column,
     that same basis applies to height instead, blowing the text block
     up to ~480px tall. Reset it here. */
  .cookie-banner__text { flex-basis: auto; font-size: 0.78rem; line-height: 1.4; }
  .cookie-banner__actions { justify-content: stretch; gap: 8px; }
  .cookie-banner__actions .cookie-banner__btn { flex: 1; text-align: center; padding: 10px 14px; font-size: 11.5px; }
  .cookie-banner__category { flex-direction: column; gap: 10px; }
  .cookie-banner__category-state { flex-direction: row; align-items: center; }
  .cookie-banner__panel-actions .cookie-banner__btn { flex: 1; text-align: center; }
}
