/* ============================================
   WEBGEAZ — LANDING PAGE (v1)
   Design tokens per reference/webgeaz-design-system-v1.md
   Component patterns per reference/webgeaz-component-states.html
   ============================================ */
:root {
  /* Brand */
  --brand-blue-900: #2B2B6E;
  --brand-blue-700: #363689;
  --brand-blue-500: #4F4FB0;
  --brand-blue-100: #EEEEF8;
  --brand-blue-50:  #F1F1FA;
  --brand-red-700:  #A82A30;
  --brand-red-600:  #C9353C;
  --brand-red-100:  #FAEAEA;

  /* Secondary accent — purple (brand spec: #5B2D8E, reserved for data/insight moments) */
  --accent-purple-700: #492473;
  --accent-purple-600: #5B2D8E;
  --accent-purple-500: #7C57A5;
  --accent-purple-100: #E6DFEE;
  --accent-purple-50:  #F5F1FA;

  /* Secondary accent — orange (brand spec: #F4722B, used sparingly for warmth) */
  --accent-orange-700: #C25A1E;
  --accent-orange-600: #F4722B;
  --accent-orange-500: #F79966;
  --accent-orange-100: #FDE9DF;
  --accent-orange-50:  #FEF3EE;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--brand-blue-500) 0%, var(--brand-blue-700) 55%, var(--brand-blue-900) 100%);
  --grad-accent: linear-gradient(135deg, var(--brand-blue-700) 0%, var(--accent-purple-600) 100%);
  --grad-warm: linear-gradient(135deg, var(--brand-red-600) 0%, var(--brand-red-700) 100%);
  --grad-orange-red: linear-gradient(135deg, var(--accent-orange-600) 0%, var(--brand-red-600) 100%);
  --grad-red-orange: linear-gradient(135deg, var(--brand-red-600) 0%, var(--accent-orange-600) 100%);

  /* WhatsApp — exclusive use only */
  --wa-green:       #25D366;
  --wa-green-dark:  #1EAD55;

  /* Neutral */
  --n-0:   #FFFFFF;
  --n-25:  #F6F6FB;
  --n-50:  #EEF2F7;
  --n-100: #E2E8F0;
  --n-200: #CBD5E0;
  --n-300: #A0AEC0;
  --n-500: #718096;
  --n-600: #4A5568;
  --n-800: #2D3748;
  --n-900: #1A202C;

  /* Elevation */
  --e1: 0 1px 2px rgba(26,32,44,.06);
  --e2: 0 4px 12px rgba(26,32,44,.08);
  --e3: 0 8px 24px rgba(26,32,44,.10);

  /* Type */
  --ff-display: 'Plus Jakarta Sans', sans-serif;
  --ff-body:    'Inter', sans-serif;
  --ff-mono:    'JetBrains Mono', monospace;

  /* Radius */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 14px;

  /* Motion */
  --t-fast: 120ms;
  --t-base: 150ms;
  --t-slow: 250ms;
  --ease-out: cubic-bezier(0,0,.2,1);

  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--n-900);
  background: var(--n-0);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-orange-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 80px;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  letter-spacing: -0.01em;
}

/* ============ Section shell ============ */
.section { padding: 96px 0; }
.section-light { background: var(--n-25); color: var(--n-900); }
.section-white { background: var(--n-0); color: var(--n-900); }
.section-blue { background: var(--brand-blue-700); color: var(--n-0); }
.section-black { background: var(--n-900); color: var(--n-0); }
.section-navy-gradient {
  position: relative;
  overflow: hidden;
  background-color: #0C0E30;
  background-image: linear-gradient(135deg, #0C0E30 0%, #232359 55%, #0A0D35 100%);
}
.section-navy-gradient::before {
  content: '';
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-purple-600) 0%, transparent 65%);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.section-navy-gradient::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-blue-500) 0%, transparent 65%);
  opacity: 0.24;
  pointer-events: none;
  z-index: 0;
}

#beliefs {
  position: relative;
  background: #0A0D1F url('../assets/img/approach-bg.jpg') center/cover no-repeat;
  color: var(--n-0);
}
#beliefs::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(10,13,31,.97) 0%, rgba(20,20,50,.94) 55%, rgba(10,13,31,.97) 100%);
  opacity: 1;
  z-index: 0;
}
#beliefs .container { position: relative; z-index: 1; }
#beliefs .section-eyebrow { color: rgba(255,255,255,.75); }
#beliefs .section-title { color: var(--n-0); }
#beliefs .section-head p.section-intro { color: rgba(255,255,255,.75); }

#services {
  position: relative;
  background: #0A0D1F url('../assets/img/approach-bg.jpg') center/cover no-repeat;
}
#services::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(8,10,26,.97) 0%, rgba(14,15,36,.97) 55%, rgba(8,10,26,.97) 100%);
  opacity: 1;
  z-index: 0;
}
#services::after { display: none; }
#services .container { position: relative; z-index: 1; }

#track-record .container { position: relative; z-index: 1; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--n-600);
  margin-bottom: 8px;
}
.section-blue .section-eyebrow,
.section-black .section-eyebrow { color: rgba(255,255,255,.75); }

.section-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 760px;
}
.section-head { margin-bottom: 40px; }
.section-head p.section-intro {
  margin-top: 10px;
  font-size: 14px;
  color: var(--n-600);
  max-width: 680px;
}
.section-blue .section-head p.section-intro,
.section-black .section-head p.section-intro { color: rgba(255,255,255,.75); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 32px;
  border-radius: var(--r-lg);
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--brand-red-600); color: #fff; box-shadow: var(--e2); }
.btn-primary:hover { background: var(--brand-red-700); box-shadow: var(--e3); }

.btn-secondary { background: var(--brand-blue-700); color: #fff; box-shadow: var(--e1); }
.btn-secondary:hover { background: var(--brand-blue-500); }

.btn-wa { background: var(--wa-green); color: #fff; box-shadow: var(--e1); }
.btn-wa:hover { background: var(--wa-green-dark); box-shadow: var(--e2); }

.btn-ghost { background: transparent; color: var(--n-0); border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-text { background: transparent; color: var(--brand-blue-700); border: none; padding: 0; height: auto; font-size: 15px; font-family: var(--ff-body); font-weight: 600; box-shadow: none; }
.btn-text:hover { text-decoration: underline; }
.section-blue .btn-text, .section-black .btn-text { color: #fff; }

.cta-group { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
@media (min-width: 641px) {
  .hero .cta-group { flex-wrap: nowrap; }
}

.icon-btn { width: 18px; height: 18px; flex-shrink: 0; }

/* ============ Header / Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--n-100);
}
.site-header .container { max-width: none; padding: 0 32px; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-logo img { height: 34px; }
.nav-wordmark {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.nav-wordmark .wg-web { color: var(--brand-blue-700); }
.nav-wordmark .wg-geaz { color: var(--brand-red-600); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--n-600);
  padding: 10px 14px;
  border-radius: var(--r-md);
  white-space: nowrap;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.nav-link.is-active { color: var(--n-900); font-weight: 700; }
.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-red-600);
}
.nav-links > li { flex-shrink: 0; }
.nav-link:hover { background: var(--n-50); color: var(--accent-orange-600); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 300px;
  background: var(--n-0);
  border: 1px solid var(--n-100);
  border-radius: var(--r-xl);
  box-shadow: var(--e3);
  padding: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
/* Invisible bridge over the 6px gap above the menu, so moving the cursor from
   the trigger down into the menu never leaves a hoverable element and closes it early. */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.nav-dropdown-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
}
.nav-dropdown-item:hover { background: var(--brand-blue-50); }
.nav-dropdown-item-logo { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; margin-top: 2px; }
.nav-dropdown-item-body { display: flex; flex-direction: column; gap: 3px; }
.nav-dropdown-item-name { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600; color: var(--n-900); text-transform: uppercase; letter-spacing: 0.02em; }
.version-tag { font-size: 0.62em; font-weight: 500; opacity: 0.65; letter-spacing: 0; margin-left: 2px; }
.nav-dropdown-item-desc { font-family: var(--ff-body); font-size: 12px; font-weight: 400; color: var(--n-500); line-height: 1.45; }

.nav-dropdown-trigger {
  background: none;
  border: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { height: 44px; padding: 0 20px; font-size: 14px; }
.nav-tagline {
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
  color: var(--n-500);
  padding-left: 14px;
  border-left: 1px solid var(--n-200, var(--n-100));
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
}
.nav-tagline-text {
  display: inline-block;
  animation: tagline-zoom-pulse 4s ease-in-out infinite;
}
@keyframes tagline-zoom-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.nav-tagline-mobile { padding: 16px 0 4px; border-top: 1px solid var(--n-100); margin-top: 8px; }
.nav-tagline-growth { color: var(--brand-blue-700); }
.nav-tagline-passion { color: var(--brand-red-600); }

/* ============ Pill CTAs (nav) ============ */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.btn-pill img { height: 18px; width: 18px; object-fit: contain; flex-shrink: 0; }
.btn-pill:active { transform: scale(0.97); }
.btn-pill-solid:hover, .btn-pill-outline:hover { transform: translateY(-2px); }

.btn-pill-outline {
  background: var(--n-0);
  border: 1.5px solid var(--brand-blue-700);
  color: var(--brand-blue-700);
}
.btn-pill-outline:hover {
  background: var(--brand-blue-700);
  color: var(--n-0);
}
/* on the hero's blue background, a blue hover fill would disappear against it */
.hero .btn-pill-outline:hover,
.final-cta .btn-pill-outline:hover {
  background: var(--brand-red-600);
  border-color: var(--brand-red-600);
  color: var(--n-0);
}
/* on the services teaser's navy background, a solid white pill was too loud — tone it down to a subtle outline */
#services .btn-pill-outline {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: var(--n-0);
}
#services .btn-pill-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: var(--n-0);
}

.btn-pill-solid {
  background: var(--brand-blue-700);
  border: 1.5px solid var(--brand-blue-700);
  color: var(--n-0);
  box-shadow: 0 10px 24px -8px rgba(54,54,137,.55);
}
.btn-pill-solid:hover { background: var(--accent-orange-600); border-color: var(--accent-orange-600); box-shadow: 0 12px 28px -8px rgba(244,114,43,.55); }
.nav-actions .btn-pill-solid { animation: cta-pulse 2.1s ease-in-out infinite; }
.nav-actions .btn-pill-solid:hover { animation-play-state: paused; }
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 10px 24px -8px rgba(54,54,137,.55); transform: scale(1); }
  50% { box-shadow: 0 10px 28px -5px rgba(54,54,137,.9), 0 0 0 8px rgba(54,54,137,.23); transform: scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-actions .btn-pill-solid { animation: none; }
}

/* header's Book Meeting button: blue by default, red on hover */
.site-header .btn-pill-solid:hover { background: var(--brand-red-600); border-color: var(--brand-red-600); }

/* hero's Discuss a Project button: reversed — red by default, blue on hover. Final CTA sits on the same navy gradient, so it matches. Neither has a glow. */
.hero .btn-pill-solid,
.final-cta .btn-pill-solid {
  background: var(--brand-red-600);
  border-color: var(--brand-red-600);
  box-shadow: none;
}
.hero .btn-pill-solid:hover,
.final-cta .btn-pill-solid:hover { background: var(--brand-blue-700); border-color: var(--brand-blue-700); box-shadow: none; }
.hero .btn-pill-solid:hover { box-shadow: 0 12px 28px -8px rgba(54,54,137,.55); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--n-900); margin: 0 auto; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--n-100);
  background: var(--n-0);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 0; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--n-100); color: var(--n-900); }
.mobile-menu .cta-group { margin-top: 16px; flex-direction: column; align-items: stretch; }
.mobile-menu .btn, .mobile-menu .btn-pill { width: 100%; }
.mobile-menu .btn-pill { justify-content: center; }
.mobile-menu .btn-pill-solid { color: var(--n-0); }


/* ============ Hero ============ */
.hero { padding: 56px 0 88px; }
.hero.section-hero-video {
  position: relative;
  overflow: hidden;
  background: #02205C;
  color: var(--n-0);
}
.hero.section-hero-video::before {
  content: '';
  position: absolute;
  top: -260px;
  left: -160px;
  width: 780px;
  height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-blue-500) 0%, transparent 65%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.hero .container { max-width: 1320px; padding: 0 48px; }
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 8fr 12fr;
  gap: 40px;
  align-items: center;
}
.hero-content { max-width: 600px; }
.hero-content > * { opacity: 0; animation: hero-rise 0.7s var(--ease-out) forwards; }
.hero-content h1 { animation-delay: 0.05s; }
.hero-content .subhead { animation-delay: 0.18s; }
.hero-content .hero-stats { animation-delay: 0.3s; }
.hero-content .cta-group { animation-delay: 0.42s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-media video {
  width: 100%;
  height: auto;
  display: block;
}

/* ============ Hero — video as full-bleed background ============ */
.hero-bg-video::before { content: none; }
.hero-bg-video .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-video .hero-media video,
.hero-bg-video .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,7,26,.97) 0%, rgba(28,28,72,.94) 55%, rgba(5,6,28,.98) 100%);
  z-index: 1;
}
.hero-bg-video .container.hero-content {
  position: relative;
  z-index: 2;
}
.hero-media-placeholder {
  width: 100%;
  height: 100%;
  border: 1.5px dashed var(--n-200);
  background: var(--n-50);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--n-500);
  font-family: var(--ff-mono);
  font-size: 13px;
  line-height: 1.6;
}
.hero h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 24px;
  color: var(--n-0);
}
.hero-h1-accent { color: var(--accent-orange-600); }
.hero-h1-main { display: block; font-size: 0.8em; line-height: 1.4; }
.glow-pulse { animation: hero-shadow-pulse 4s ease-in-out infinite; }
@keyframes hero-shadow-pulse {
  0%, 100% { text-shadow: 0 3px 14px rgba(0,0,0,.95); }
  50% { text-shadow: 0 8px 26px rgba(0,0,0,.55); }
}
.glow-pulse { display: inline-block; position: relative; }
.hero-h1-main .glow-pulse::after {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-red-600);
}
.hero-h1-sub { display: block; font-size: 0.55em; font-weight: 600; line-height: 1.2; margin-top: 18px; }
.hero .subhead {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
  max-width: 620px;
  margin-bottom: 20px;
  text-shadow: 0 3px 14px rgba(0,0,0,.25);
}
.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
}
.hero-stats strong {
  font-family: var(--ff-mono);
  font-weight: 700;
  color: var(--n-0);
  margin-right: 4px;
}
.hero-stats .dot { color: rgba(255,255,255,.35); }

.hero .wa-text-link { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.85); }
.hero .wa-text-link:hover { color: #fff; text-decoration: underline; }
.hero .cta-note { font-size: 13px; color: var(--n-500); margin-top: 20px; }

/* ============ Pill CTAs — red primary variant (hero) ============ */
.btn-pill-primary {
  background: var(--brand-red-600);
  border: 1.5px solid var(--brand-red-600);
  color: var(--n-0);
}
.btn-pill-primary:hover { background: var(--brand-red-700); border-color: var(--brand-red-700); }

/* ============ Our Approach (Guiding Principles) ============ */
.approach-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
  align-items: end;
  border-bottom: 1px solid var(--n-50);
  padding-bottom: 40px;
}
.approach-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-red-600);
  margin-bottom: 16px;
}
.approach-heading {
  font-family: var(--ff-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--n-900);
  line-height: 1.08;
  letter-spacing: -1.1px;
}
.approach-heading span { color: var(--brand-blue-700); }
.approach-intro { font-size: 15px; color: var(--n-600); line-height: 1.75; padding-bottom: 4px; }
.approach-intro strong { color: var(--n-900); font-weight: 600; }

.approach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.approach-card {
  position: relative;
  background: var(--n-0);
  border-radius: var(--r-xl);
  padding: 40px 36px 36px;
  box-shadow: 0 16px 36px -18px rgba(54,54,137,.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
.approach-card:hover { box-shadow: 0 24px 48px -16px rgba(54,54,137,.45); transform: translateY(-4px); }
.approach-card.js-reveal {
  opacity: 0;
  translate: 0 16px;
  transition: opacity 0.6s var(--ease-out), translate 0.6s var(--ease-out);
}
.approach-card.js-reveal.is-visible { opacity: 1; translate: 0 0; }
.approach-card-num {
  font-family: var(--ff-display);
  font-size: clamp(13px, 1.1vw, 14px);
  font-weight: 800;
  line-height: 1;
  color: rgba(79,79,176,.28);
  margin-bottom: 10px;
}
.approach-card-title { font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; color: var(--n-900); margin-bottom: 12px; line-height: 1.3; }
.approach-card-body { font-size: 13.5px; color: var(--n-600); line-height: 1.75; }

.belief-statement,
#track-record,
#industries,
#products-redirect {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-blue-50) 0%, var(--accent-purple-50) 100%);
}
.belief-statement {
  display: flex;
  align-items: center;
  padding: 96px 0;
}
.belief-statement::before,
#track-record::before,
#industries::before,
#products-redirect::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-purple-500) 0%, transparent 65%);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}
.belief-statement > .container { position: relative; z-index: 1; }
#track-record > .container,
#industries > .container,
#products-redirect > .container { position: relative; z-index: 1; }
.belief-statement-quote {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.belief-statement-text .word {
  display: inline-block;
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.5s var(--ease-out), translate 0.5s var(--ease-out);
}
.belief-statement-quote.is-visible .belief-statement-text .word { opacity: 1; translate: 0 0; }
.belief-statement-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 96px;
  line-height: 1;
  font-weight: 700;
  color: var(--brand-blue-700);
  margin-bottom: 8px;
}
.belief-statement-text {
  font-size: clamp(14px, 1.8vw, 19px);
  font-weight: 700;
  font-style: italic;
  color: var(--n-900);
  line-height: 1.9;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: normal;
}
.belief-statement-rule {
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--grad-brand);
  margin-top: 32px;
}
.belief-statement-muted {
  color: var(--n-900);
}
.belief-statement-highlight {
  background: linear-gradient(120deg, rgba(79,79,176,.20) 0%, rgba(124,87,165,.20) 100%);
  background-repeat: no-repeat;
  background-size: 100% 42%;
  background-position: 0 90%;
  padding: 0 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-size: clamp(20px, 2.8vw, 30px);
}
.belief-statement-gradient {
  color: var(--brand-blue-700);
  font-weight: 800;
  font-size: clamp(20px, 2.8vw, 30px);
}

/* ============ Cards (generic + differentiator + service) ============ */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--n-0);
  border: 1px solid transparent;
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: 0 16px 32px -18px rgba(54,54,137,.4);
  transition: box-shadow var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: 0 22px 44px -16px rgba(54,54,137,.55); transform: translateY(-2px); }
.card-icon {
  width: 40px; height: 40px; border-radius: var(--r-lg);
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: #fff;
  font-size: 22px;
}
.card:nth-child(even) .card-icon { background: var(--grad-accent); }
.card-title { font-family: var(--ff-display); font-size: 18px; font-weight: 700; color: var(--n-900); margin-bottom: 8px; letter-spacing: -0.01em; transition: color var(--t-base) var(--ease-out); }
.card-body { font-size: 14.5px; color: var(--n-600); line-height: 1.65; margin-bottom: 14px; flex-grow: 1; }
.card-best-for-title {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--n-500);
  margin: 0 0 10px;
  padding-top: 10px;
  border-top: 1px solid var(--n-100);
}
.card-best-for { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; margin-bottom: 0; }
.card-best-for-badge {
  position: relative;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 12px;
  line-height: 1.3;
  color: #47474d;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3f4f5 0%, #d6d8dc 45%, #bfc1c7 100%);
  border: 1px solid #b3b5bb;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 1px rgba(0,0,0,.1),
    0 1px 2px rgba(0,0,0,.15),
    0 2px 5px rgba(43,43,110,.15);
}
.card-best-for-badge::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -30%;
  width: 35%;
  height: 220%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.85) 50%, transparent 100%);
  transform: translateX(-40%) rotate(25deg);
  pointer-events: none;
  animation: badge-shine 4.5s ease-in-out infinite;
}
.card-best-for-badge:nth-of-type(2)::before { animation-delay: 0.3s; }
.card-best-for-badge:nth-of-type(3)::before { animation-delay: 0.6s; }
.card-best-for-badge i { font-size: 11px; margin-right: 4px; vertical-align: -1px; color: var(--brand-blue-700); }
.card-best-for-items { color: var(--n-600); font-weight: 500; }
.card-best-for-items a { color: var(--brand-blue-700); text-decoration: underline; text-underline-offset: 2px; }
.card-best-for-items a:hover { color: var(--brand-blue-900, var(--brand-blue-700)); }
.card-cta { font-size: 14px; font-weight: 600; color: var(--brand-blue-700); display: inline-flex; align-items: center; gap: 4px; }
.card-cta:hover { text-decoration: underline; }

/* ---- Service tabs (services.html) ---- */
.service-tabs-section .container { max-width: 1400px; }
.service-tabs { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.service-tabs-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 100px; }
.service-tab-group-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--n-500); padding: 18px 14px 6px;
}
.service-tab-group-label:first-child { padding-top: 0; }
.service-tab-btn {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left; background: none; border: none;
  border-left: 2px solid var(--n-100);
  padding: 12px 14px; font-family: var(--ff-body); font-size: 14.5px; font-weight: 600;
  color: var(--n-600); cursor: pointer; border-radius: 0 var(--r-md) var(--r-md) 0;
  transition: color var(--t-base) var(--ease-out), background var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
}
.service-tab-btn i { font-size: 17px; color: var(--n-300); flex-shrink: 0; transition: color var(--t-base) var(--ease-out); }
.service-tab-btn:hover { color: var(--n-900); background: var(--n-25); }
.service-tab-btn.active { color: var(--brand-blue-700); background: var(--brand-blue-50); border-left-color: var(--brand-blue-700); }
.service-tab-btn.active i { color: var(--brand-blue-700); }

.service-tab-panel { display: none; }
.service-tab-panel:focus { outline: none; }
.service-tab-panel.active { display: block; animation: service-tab-in var(--t-base) var(--ease-out); }
@keyframes service-tab-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---- Service detail subsections (within a tab panel) ---- */
.service-subsection { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--n-100); }
.service-subhead {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ff-display); font-size: 18px; font-weight: 700;
  color: var(--n-900); letter-spacing: -0.01em; margin-bottom: 18px;
}
.service-subhead i { font-size: 18px; color: var(--brand-blue-700); }

.wg-list-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px;
}
.wg-list-grid li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14.5px; color: var(--n-600); line-height: 1.5;
}
.wg-list-grid li i { color: var(--brand-blue-700); font-size: 15px; margin-top: 3px; flex-shrink: 0; }
.wg-list-note { font-size: 13px; color: var(--n-500); margin-top: 14px; font-style: italic; }
.wg-list-grid.wg-list-problem li i { color: var(--brand-red-600); }

.wg-list-subgroup { margin-bottom: 22px; }
.wg-list-subgroup:last-child { margin-bottom: 0; }
.wg-list-subgroup-label {
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--brand-blue-700); margin-bottom: 10px;
}

.service-subsection-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--brand-blue-700); background: var(--brand-blue-50); padding: 3px 10px; border-radius: 999px;
  margin-bottom: 12px;
}
.service-subsection-text { font-size: 14.5px; color: var(--n-600); line-height: 1.7; margin-bottom: 12px; }
.service-subsection-text:last-child { margin-bottom: 0; }

.wg-project-client { font-size: 12.5px; font-weight: 600; color: var(--n-500); margin-bottom: 8px; }

.wg-mini-projects { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.wg-mini-project { border-left: 2px solid var(--n-100); padding-left: 14px; }
.wg-mini-project-title { font-family: var(--ff-display); font-size: 15px; font-weight: 700; color: var(--n-900); margin-bottom: 4px; }

/* ---- Table (services detail) ---- */
.table-wrap { border: 1px solid var(--n-100); border-radius: var(--r-xl); overflow: hidden; overflow-x: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-wrap thead tr { background: var(--n-50); }
.table-wrap thead th {
  padding: 12px 16px; text-align: left;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--n-600); border-bottom: 1px solid var(--n-100); white-space: nowrap;
}
.table-wrap tbody tr { border-bottom: 1px solid var(--n-100); transition: background var(--t-fast) var(--ease-out); }
.table-wrap tbody tr:last-child { border-bottom: none; }
.table-wrap tbody tr:hover { background: var(--brand-blue-50); }
.table-wrap tbody td { padding: 13px 16px; color: var(--n-900); }
.wg-table-check { color: var(--brand-blue-700); font-size: 17px; font-weight: 700; }

/* ---- Accordion / FAQ ---- */
.accordion { border: 1px solid var(--n-100); border-radius: var(--r-xl); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--n-100); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 24px; font-family: var(--ff-body);
  font-size: 15px; font-weight: 600; color: var(--n-900);
  cursor: pointer; background: var(--n-0); border: none; text-align: left;
  transition: background var(--t-fast) var(--ease-out);
}
.accordion-trigger:hover { background: var(--n-25); }
.accordion-icon { transition: transform var(--t-slow) var(--ease-out); color: var(--n-500); flex-shrink: 0; }
.accordion-item.open .accordion-icon { transform: rotate(180deg); }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-slow) var(--ease-out), padding var(--t-slow) var(--ease-out);
  font-size: 14px; color: var(--n-600); line-height: 1.7;
  padding: 0 24px; background: var(--n-0);
}
.accordion-item.open .accordion-body { max-height: 320px; padding: 0 24px 20px; }

/* ---- Enterprise Services: horizontal pipeline layout ---- */
.service-pipeline {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  overflow: hidden;
}
.service-pipeline + .service-pipeline { margin-top: 24px; }
.service-pipeline-label {
  flex-shrink: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  font-family: var(--ff-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  color: #fff;
}
.service-pipeline-red .service-pipeline-label { background: var(--grad-warm); }
.service-pipeline-blue .service-pipeline-label { background: var(--grad-brand); }
.service-pipeline-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.service-pipeline-item {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border-right: 1px solid rgba(255,255,255,.16);
}
.service-pipeline-item:last-child { border-right: none; }
.service-pipeline-title {
  font-family: var(--ff-display);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.service-pipeline-item.js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.service-pipeline-item.js-reveal.is-visible { opacity: 1; transform: translateY(0); }
.service-pipeline-desc { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.55; margin-bottom: 26px; min-height: 41px; }
.service-pipeline-badges-title {
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: 0 0 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.service-pipeline-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: auto;
}
.service-pipeline-badge {
  position: relative;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 10.5px;
  line-height: 1.3;
  color: #47474d;
  padding: 5px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fbfcfc 0%, #e3e5e9 45%, #cfd1d7 100%);
  border: 1px solid #c2c4ca;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -1px 1px rgba(0,0,0,.1),
    0 1px 2px rgba(0,0,0,.15),
    0 2px 5px rgba(43,43,110,.15);
}
.service-pipeline-badge::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -30%;
  width: 35%;
  height: 220%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.85) 50%, transparent 100%);
  transform: translateX(-40%) rotate(25deg);
  pointer-events: none;
  animation: badge-shine 4.5s ease-in-out infinite;
}
.service-pipeline-badge:nth-of-type(2)::before { animation-delay: 0.3s; }
.service-pipeline-badge:nth-of-type(3)::before { animation-delay: 0.6s; }

@keyframes badge-shine {
  0%   { transform: translateX(-40%) rotate(25deg); }
  35%  { transform: translateX(360%) rotate(25deg); }
  100% { transform: translateX(360%) rotate(25deg); }
}
@media (prefers-reduced-motion: reduce) {
  .card-best-for-badge::before, .service-pipeline-badge::before { animation: none; }
}
.service-pipeline-badge i {
  font-size: 11px;
  margin-right: 3px;
  vertical-align: -1px;
  color: var(--brand-blue-700);
}

/* ============ Positioning body copy ============ */
.positioning-body p {
  max-width: 760px;
  color: var(--n-800);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.positioning-body p:last-child { margin-bottom: 48px; }
.story-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.5fr;
  gap: 40px;
  align-items: start;
}
.story-media img {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  display: block;
  position: sticky;
  top: 100px;
  filter: saturate(0.7);
}
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media img { position: static; }
}
#story .service-subsection {
  margin-top: 8px;
  padding-top: 32px;
}
#story .service-subhead { font-size: 22px; }
#story .service-subsection-text { max-width: 760px; font-size: 15.5px; }
#story .wg-list-grid { grid-template-columns: 1fr; }
#leadership .section-intro { font-size: 15.5px; }
.sufia-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.sufia-intro-media img { width: 90%; height: auto; display: block; margin: 0 auto; }
@media (max-width: 860px) {
  .sufia-intro { grid-template-columns: 1fr; }
  .sufia-intro-media { order: -1; }
}

/* ============ Stat cards (Proof section, dark bg) ============ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.stat-card {
  position: relative;
  text-align: center;
  padding: 36px 20px;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out);
}
.stat-card:hover { transform: translateY(-2px); }
.stat-number {
  font-family: var(--ff-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  color: var(--accent-orange-600);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 10px;
  display: inline-block;
  animation: stat-number-zoom 3.2s ease-in-out infinite;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}
.stat-card:nth-child(2) .stat-number { animation-delay: 0.3s; }
.stat-card:nth-child(3) .stat-number { animation-delay: 0.6s; }
@keyframes stat-number-zoom {
  0%, 100% { transform: translateZ(0) scale(1); }
  50% { transform: translateZ(0) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .stat-number { animation: none; }
}
.stat-label { font-size: 14px; color: rgba(255,255,255,.75); font-weight: 500; }
#track-record .stat-card {
  background: var(--n-0);
  border: 1px solid var(--n-100);
  box-shadow: 0 16px 32px -20px rgba(54,54,137,.25);
}
#track-record .stat-label { color: var(--n-600); }

/* ============ Trusted By strip ============ */
.wg-proof-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--n-100);
}
#clients .container { position: relative; z-index: 1; }
#clients .wg-proof-strip-label { color: rgba(255,255,255,.7); }
.wg-proof-strip-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--n-600);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.wg-proof-logos { display: flex; flex-wrap: wrap; gap: 10px; }
.wg-proof-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 78px;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid var(--n-100);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 18px -12px rgba(54,54,137,.3);
  cursor: pointer;
  transition: border-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
.wg-proof-logo-badge img {
  height: 56px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
/* BQSM's seal-style mark (thin line art + small ring text) reads visually smaller than the bolder logos beside it */
.wg-proof-logo-badge[data-client="bqsm"] img { height: 72px; }
/* ASR's wide, edge-to-edge crop reads visually heavier than the more inset logos beside it */
.wg-proof-logo-badge[data-client="asr"] img { height: 38px; }
.wg-proof-logo-badge:focus-visible {
  outline: 2px solid var(--accent-orange-600);
  outline-offset: 3px;
  border-radius: 4px;
}
.wg-proof-logo-badge:hover,
.wg-proof-logo-badge.is-active {
  border-color: var(--brand-red-600);
  box-shadow: var(--e2);
  transform: translateY(-2px);
}
.wg-proof-logo-badge.is-selected {
  border-color: var(--brand-blue-700);
  background: var(--brand-blue-50);
  box-shadow: var(--e2);
}

/* ============ Theme filter tabs ============ */
.wg-theme-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.wg-theme-tab {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--n-600);
  background: var(--n-0);
  border: 1px solid var(--n-100);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}
.wg-theme-tab:hover { border-color: var(--brand-blue-700); color: var(--brand-blue-700); }
.wg-theme-tab.is-active { background: var(--brand-blue-700); border-color: var(--brand-blue-700); color: #fff; }

.wg-principle-engagement-note {
  font-size: 11px;
  font-weight: 600;
  color: var(--n-500);
  letter-spacing: 0.02em;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--n-100);
  width: 100%;
}

/* ============ Success Story cards ============ */
.wg-stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wg-principle-row--featured { grid-column: span 1; }
.wg-principle-row {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  background: var(--n-0);
  border: 1px solid transparent;
  border-radius: 16px;
  box-shadow: 0 20px 40px -20px rgba(54,54,137,.4);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
.wg-principle-row:nth-of-type(2) { box-shadow: 0 20px 40px -20px rgba(91,45,142,.4); }
.wg-principle-row:nth-of-type(3) { box-shadow: 0 20px 40px -20px rgba(54,54,137,.4); }
.wg-principle-row--clickable { cursor: pointer; }
.wg-principle-row--clickable:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -20px rgba(54,54,137,.5); }
.wg-principle-row:hover,
.wg-principle-row.is-active {
  border-color: var(--brand-blue-700);
  box-shadow: 0 28px 56px -18px rgba(54,54,137,.5);
  transform: translateY(-4px);
}
.wg-principle-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-lg);
  background: var(--grad-brand);
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
}
.wg-principle-row:nth-of-type(2) .wg-principle-num { background: var(--grad-accent); }
.wg-principle-row:nth-of-type(3) .wg-principle-num { background: var(--grad-brand); }
.wg-principle-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.wg-principle-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--n-900);
  line-height: 1.3;
  margin-bottom: 16px;
  min-height: 47px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.wg-principle-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--n-100);
}
.wg-metric-chip {
  font-size: 11px;
  font-weight: 600;
  color: var(--n-600);
  background: var(--n-25);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.wg-principle-body {
  font-size: 13.5px;
  color: var(--n-600);
  line-height: 1.75;
  max-width: 40ch;
  text-align: left;
  flex-grow: 1;
}
.wg-principle-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-blue-700);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--ff-body);
}
.wg-principle-toggle:hover { text-decoration: underline; }
.wg-principle-toggle i { font-size: 13px; }
.wg-principle-detail {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--n-100);
  width: 100%;
}
.wg-principle-detail h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--n-900);
  margin: 14px 0 8px;
}
.wg-principle-detail h4:first-child { margin-top: 0; }
.wg-principle-detail-intro { font-size: 12.5px; color: var(--n-600); line-height: 1.6; margin: 0; }
.wg-principle-detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wg-principle-detail li {
  font-size: 12.5px;
  color: var(--n-600);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}
.wg-principle-detail li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-blue-700);
  flex-shrink: 0;
}
.wg-principle-detail li strong { color: var(--n-900); }
.wg-principle-detail-note { font-size: 11.5px; color: var(--n-500); font-style: italic; margin-top: 10px; }

/* ============ Story Detail Modal ============ */
.wg-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,13,53,.6);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.wg-modal-overlay.is-open { display: flex; }
.wg-modal {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 30px 60px -20px rgba(10,13,53,.5);
}
.wg-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--n-25);
  color: var(--n-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.wg-modal-close:hover { background: var(--n-100); color: var(--n-900); }
.wg-modal-close:focus-visible { outline: none; background: var(--n-100); color: var(--n-900); box-shadow: 0 0 0 3px var(--n-100); }
.wg-modal-title { font-size: 20px; font-weight: 800; color: var(--n-900); margin-bottom: 20px; padding-right: 36px; line-height: 1.3; }
.wg-modal-body.wg-principle-detail { display: block; margin-top: 0; padding-top: 0; border-top: none; }
.wg-principle-detail.is-inline { display: block; }
.wg-related-link { font-size: 12px; margin-top: 14px; color: var(--brand-blue-700); }
.wg-related-link a { color: var(--brand-blue-700); font-weight: 600; }
.wg-related-link a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .wg-stories-grid { grid-template-columns: 1fr; }
  .wg-principle-row--featured { grid-column: span 1; }
  .wg-proof-strip { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============ Proof cards ============ */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proof-card {
  position: relative;
  background: var(--n-0);
  border: 1px solid var(--n-100);
  border-radius: var(--r-xl);
  padding: 28px 28px 24px;
  box-shadow: var(--e1);
  overflow: hidden;
  transition: box-shadow var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
.proof-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-brand);
}
.proof-card:nth-child(2)::before { background: var(--grad-accent); }
.proof-card:nth-child(3)::before { background: var(--grad-warm); }
.proof-card:hover { box-shadow: var(--e2); transform: translateY(-3px); }
.proof-card-desc { font-size: 14.5px; color: var(--n-600); line-height: 1.65; }

/* ============ Products showcase ============ */
.products-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-mini-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--n-0);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: 0 14px 28px -18px rgba(54,54,137,.4);
  transition: box-shadow var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
.product-mini-card:hover { box-shadow: 0 18px 36px -14px rgba(54,54,137,.5); transform: translateY(-2px); }
.product-mini-head { margin-bottom: 14px; }
.product-mini-logo { height: 64px; width: auto; max-width: 55%; object-fit: contain; display: block; }
.product-mini-card .tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-blue-700);
  background: var(--brand-blue-50);
  font-weight: 700;
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.product-mini-card h4 { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--n-900); text-transform: uppercase; letter-spacing: 0.02em; }
.product-mini-card p { font-size: 12.5px; color: var(--n-600); line-height: 1.5; margin-bottom: 18px; }
.product-mini-links { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: auto; }
.product-mini-card a { font-size: 12.5px; font-weight: 600; color: var(--brand-red-600); }
.product-mini-card a:hover { text-decoration: underline; }
.product-mini-card a.product-mini-demo { color: var(--brand-blue-700); }

/* ============ Process ============ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-card {
  background: var(--n-0);
  border: 1px solid var(--n-100);
  border-radius: var(--r-xl);
  padding: 26px;
  box-shadow: var(--e1);
}
.process-step-badge {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-blue-700);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.process-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.process-card p { font-size: 14px; color: var(--n-600); line-height: 1.65; }
.process-closing { margin-top: 40px; font-size: 16px; color: var(--n-600); font-style: italic; max-width: 700px; }

/* ============ Trust Anchors ============ */
.credential-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.credential-grid-6 { grid-template-columns: repeat(3, 1fr); gap: 20px 20px; }
.credential-grid-6 .credential-icon {
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,.24), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.28);
}
.credential-grid-6 .credential-card:nth-child(even) .credential-icon {
  background: linear-gradient(135deg, rgba(91,45,142,.4), rgba(255,255,255,.05));
  border-color: rgba(91,45,142,.45);
}
.credential-grid-6 .credential-card {
  padding: 24px;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  transition: border-color var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), background var(--t-base) var(--ease-out);
}
.credential-grid-6 .credential-card:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border-color: rgba(255,255,255,.28);
  transform: translateY(-3px);
}
#track-record .credential-grid-6 .credential-card {
  background: var(--n-0);
  border-color: var(--n-100);
  box-shadow: 0 16px 32px -20px rgba(54,54,137,.25);
}
#track-record .credential-grid-6 .credential-card:hover {
  background: var(--n-0);
  border-color: var(--brand-blue-100);
  box-shadow: 0 20px 40px -18px rgba(54,54,137,.35);
}
#track-record .credential-grid-6 .credential-icon {
  background: var(--grad-brand);
  border: none;
  color: #fff;
}
#track-record .credential-grid-6 .credential-card:nth-child(even) .credential-icon {
  background: var(--grad-accent);
  border: none;
}
#track-record .credential-card h4 { color: var(--n-900); }
#track-record .credential-card p { color: var(--n-600); }
#track-record .credential-logo-badge {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  background: none;
  border: none;
  box-shadow: none;
}
#track-record .credential-grid-6 .credential-card:hover .credential-logo-badge {
  transform: none;
  box-shadow: none;
}
#track-record .credential-grid-6 .credential-card { text-align: center; }
.credential-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff, #f4f5f9);
  border-radius: var(--r-lg);
  padding: 12px 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 8px 20px rgba(8, 10, 40, 0.28), inset 0 1px 0 rgba(255,255,255,.8);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.credential-grid-6 .credential-card:hover .credential-logo-badge {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(8, 10, 40, 0.34), inset 0 1px 0 rgba(255,255,255,.8);
}
.credential-logo-badge img {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.credential-card { text-align: left; }
.credential-icon {
  width: 44px; height: 44px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(20,184,166,.32), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
  color: #fff;
  overflow: hidden;
}
.credential-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.credential-icon.credential-photo {
  width: 100%;
  height: auto;
  background: none;
  border: none;
  border-radius: var(--r-lg);
  display: block;
}
.credential-icon.credential-photo img { width: 100%; height: auto; object-fit: contain; border-radius: var(--r-lg); }
#industries .container { position: relative; z-index: 1; }
.credential-card h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.credential-card p { font-size: 13px; color: rgba(255,255,255,.82); line-height: 1.55; }
#industries .credential-card p:first-of-type { min-height: 124px; }
.credential-card .credential-card-clients-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,.6); margin-top: 10px; margin-bottom: 2px; }
.credential-card .credential-card-clients { font-size: 13px; font-weight: 600; color: #fff; }

/* Industries cards sit on a white section, so they need a light-bg treatment */
#industries .credential-card {
  position: relative;
  overflow: hidden;
  background: var(--n-0);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: 0 16px 32px -20px rgba(91,45,142,.4);
  transition: box-shadow var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
#industries .credential-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-brand);
}
#industries .credential-card:nth-child(even)::before { background: var(--grad-accent); }
#industries .credential-card:hover { box-shadow: 0 22px 44px -18px rgba(91,45,142,.55); transform: translateY(-3px); }
#industries .credential-icon {
  width: 48px;
  height: 48px;
  background: var(--grad-brand);
  border: none;
  color: #fff;
}
#industries .credential-card:nth-child(even) .credential-icon { background: var(--grad-accent); }
#industries .credential-icon.credential-photo {
  width: 100%;
  height: auto;
  background: none;
}
#industries .credential-card h4 { color: var(--n-900); min-height: 52px; }
#industries .credential-card p { color: var(--n-600); }
#industries .credential-card .credential-card-clients-label {
  color: var(--n-500);
  padding-top: 12px;
  border-top: 1px solid var(--n-100);
}
#industries .credential-card .credential-card-clients { color: var(--brand-blue-700); }

/* ---- Certifications strip merged into Track Record (navy section) ---- */
.track-record-credentials { margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.14); }
#track-record .track-record-credentials { border-top-color: var(--n-100); }
.track-record-credentials-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
#track-record .track-record-credentials-label { color: var(--n-500); }
.award-showcase {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.award-showcase.js-reveal {
  opacity: 0;
  transform: scale(0.92) translateY(12px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.award-showcase.js-reveal.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.award-showcase img {
  max-width: 480px;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 20px 40px -16px rgba(8,10,40,.5);
  margin-bottom: 14px;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
  cursor: zoom-in;
}
.award-showcase img:hover {
  transform: scale(1.12);
  box-shadow: 0 28px 52px -14px rgba(8,10,40,.65);
  position: relative;
  z-index: 2;
}
.award-showcase-caption {
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
  max-width: 420px;
  line-height: 1.5;
}
#track-record .award-showcase-caption { color: var(--n-600); }

/* ============ Team (about.html) ============ */
.team-group { margin-bottom: 56px; }
.team-group:last-child { margin-bottom: 0; }
.team-group-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-blue-700);
  margin-bottom: 20px;
}
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 640px; margin: 0 auto; }
.team-card {
  background: var(--n-0);
  border-radius: var(--r-xl);
  padding: 16px;
  box-shadow: 0 16px 32px -18px rgba(54,54,137,.4);
  transition: box-shadow 250ms var(--ease-out), transform 250ms var(--ease-out);
}
.team-card:hover { box-shadow: 0 20px 40px -20px rgba(54,54,137,.4); transform: translateY(-4px); }
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 14px;
  background: var(--n-50);
}
.team-name { font-family: var(--ff-body); font-size: 17px; font-weight: 700; color: var(--n-900); letter-spacing: -0.01em; }
.team-title { font-size: 14.5px; font-weight: 500; color: var(--n-500); margin-top: 7px; }
.team-bio { font-size: 14px; color: var(--n-600); line-height: 1.6; margin-top: 8px; max-width: 34ch; }
.team-founder-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brand-blue-700);
  background: var(--brand-blue-50);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.team-card-founder {
  padding: 20px;
  box-shadow: 0 20px 44px -18px rgba(54,54,137,.45);
}
.team-card-founder:hover { box-shadow: 0 24px 48px -18px rgba(54,54,137,.5); }

/* ============ Page hero (products.html) ============ */
.page-hero { padding: 96px 0 64px; }
.page-hero h1 { font-size: clamp(32px, 4.2vw, 48px); margin-bottom: 16px; }
.page-hero .subhead { margin-bottom: 0; }

/* ============ Legal pages (terms, privacy, cookies) ============ */
.legal-hero { padding: 64px 0 32px; }
.legal-hero p.section-eyebrow { margin-bottom: 8px; }
.legal-hero h1 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 8px; }
.legal-effective-date { font-size: 14px; color: var(--n-500); }
.legal-content { max-width: 760px; padding: 32px 0 96px; }
.legal-content h2 { font-size: 20px; font-weight: 700; margin: 40px 0 14px; color: var(--n-900); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 15.5px; line-height: 1.75; color: var(--n-600); margin-bottom: 14px; }
.legal-content ul { list-style: none; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.legal-content li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.7; color: var(--n-600); }
.legal-content li::before { content: '–'; position: absolute; left: 0; color: var(--brand-blue-700); font-weight: 700; }
.legal-content a { color: var(--brand-blue-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--brand-red-600); }
.legal-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.legal-content th, .legal-content td { text-align: left; padding: 10px 14px; border: 1px solid var(--n-100); color: var(--n-600); vertical-align: top; }
.legal-content th { background: var(--n-25); color: var(--n-900); font-weight: 700; }
.legal-content .legal-contact { margin-top: 8px; font-style: normal; }
.legal-content .legal-contact p { margin-bottom: 4px; }

/* ============ 404 Page ============ */
.error-page { min-height: 64vh; display: flex; align-items: center; padding: 80px 0; }
.error-page-inner { text-align: center; max-width: 520px; margin: 0 auto; }
.error-code {
  font-family: var(--ff-display);
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.error-page h1 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.error-page p { font-size: 16px; color: var(--n-600); line-height: 1.7; margin-bottom: 32px; }
.error-page .cta-group { justify-content: center; }
.error-page-links { margin-top: 28px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.error-page-links a { color: var(--brand-blue-700); font-weight: 600; }
.error-page-links a:hover { color: var(--brand-red-600); }

/* ============ Utility modifiers ============ */
.proof-grid-4 { grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
.tech-stack-line { margin-top: 24px; font-size: 13px; color: var(--n-500); font-family: var(--ff-mono); }
.cta-group-top { margin-top: 32px; }

/* ============ Final CTA ============ */
.final-cta { position: relative; }
.final-cta .container { position: relative; z-index: 1; }
.final-cta-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.final-cta .cta-group { justify-content: center; }
.final-cta h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.final-cta p { font-size: 17px; color: rgba(255,255,255,.8); margin-bottom: 16px; line-height: 1.7; }
.final-cta .cta-group { margin-top: 32px; }
.final-cta .cta-note { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,.6); }

/* ============ Footer ============ */
.site-footer { padding: 32px 0 10px; font-size: 12.5px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { height: 64px; width: auto; object-fit: contain; display: block; margin-bottom: 8px; }
.footer-col h5 { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.footer-col p, .footer-col a { color: rgba(255,255,255,.75); margin-bottom: 6px; display: block; }
.footer-product-link { font-family: 'Sora', sans-serif; font-weight: 600; }
.footer-col a:hover { color: var(--accent-orange-500); }
.footer-col .footer-tagline { font-size: 11.5px; color: rgba(255,255,255,.65); margin-top: 8px; }
.footer-col .footer-brand-tagline { font-size: 11.5px; font-style: italic; color: rgba(255,255,255,.8); margin-bottom: 8px; }
.footer-social { display: flex; gap: 10px; margin-top: 2px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.75);
  font-size: 16px;
  margin-bottom: 0;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.footer-social a:hover { background: var(--accent-orange-500); color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 12px;
  font-size: 11.5px;
  color: rgba(255,255,255,.68);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a:hover { color: var(--accent-orange-500); }

/* ============ Responsive ============ */
@media (max-width: 1230px) {
  .nav-link { padding: 10px 10px; }
  .nav-links { gap: 2px; }
  .nav-actions { gap: 8px; }
  .nav-tagline { padding-left: 10px; }
  .nav-brand { gap: 10px; }
  .service-pipeline { flex-direction: column; }
  .service-pipeline + .service-pipeline { margin-top: 16px; }
  .service-pipeline-label { writing-mode: horizontal-tb; transform: none; width: 100%; padding: 10px 0; }
  .service-pipeline-grid { grid-template-columns: 1fr; }
  .service-pipeline-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.16); min-height: 0; }
  .service-pipeline-item:last-child { border-bottom: none; }
}
@media (max-width: 1024px) {
  .container { padding: 0 40px; }
  .card-grid-3, .stat-grid, .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .products-mini-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .credential-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-actions { display: none; }
  .nav-tagline { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 860px) {
  .hero { padding: 40px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-content { max-width: 100%; }
  .hero-media { order: -1; aspect-ratio: 16 / 9; }
  .approach-grid, .card-grid-2 { grid-template-columns: 1fr; }
  .credential-grid-6 { grid-template-columns: 1fr 1fr; }
  .approach-header { grid-template-columns: 1fr; gap: 20px; }
  .approach-heading { font-size: 28px; }

  .service-tabs { grid-template-columns: 1fr; gap: 20px; }
  .service-tabs-nav {
    position: static; flex-direction: row; flex-wrap: nowrap;
    overflow-x: auto; gap: 8px; padding-bottom: 8px; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    background-image:
      linear-gradient(to right, var(--n-0) 0%, rgba(255,255,255,0) 100%),
      linear-gradient(to left, var(--n-0) 0%, rgba(255,255,255,0) 100%),
      linear-gradient(to right, rgba(26,32,44,.14), rgba(26,32,44,0)),
      linear-gradient(to left, rgba(26,32,44,.14), rgba(26,32,44,0));
    background-position: 0 0, 100% 0, 0 0, 100% 0;
    background-repeat: no-repeat;
    background-size: 32px 100%, 32px 100%, 10px 100%, 10px 100%;
    background-attachment: local, local, scroll, scroll;
  }
  .service-tab-group-label { display: none; }
  .service-tab-btn {
    flex-shrink: 0; white-space: nowrap;
    border-left: none; border-bottom: 2px solid var(--n-100);
    border-radius: var(--r-md) var(--r-md) 0 0;
    scroll-snap-align: start;
  }
  .service-tab-btn.active { border-left-color: transparent; border-bottom-color: var(--brand-blue-700); }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .card-grid-3, .stat-grid, .proof-grid { grid-template-columns: 1fr; }
  .products-mini-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .credential-grid { grid-template-columns: 1fr 1fr; }
  .credential-grid-6 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; max-width: 400px; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-group .btn { width: 100%; }
  .hero .cta-group { flex-direction: row; align-items: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-stats .dot { display: none; }
}

/* ============ One section = one viewport frame (desktop only) ============ */
@media (min-width: 861px) {
  .hero,
  .section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero > .container,
  .section > .container { width: 100%; }

  /* Final CTA is intentionally short — forcing it to a full frame just adds dead space */
  .final-cta { min-height: auto; }

  /* Belief statement is a short, content-sized interstitial — not a blocking full-screen wall */
  .belief-statement { min-height: auto; }

  /* Utility pages (legal, 404) are not part of the marketing scroll-frame pacing */
  .page-utility .section { min-height: auto; display: block; }

  /* Service tabs panel height varies by tab — don't force full-viewport centering */
  .service-tabs-section { min-height: auto; display: block; padding: 72px 0; }

  /* ---- Approach (4 cards) ---- */
  #beliefs { padding: 40px 0; }
  #beliefs .section-head { margin-bottom: 20px; }
  .approach-grid { gap: 20px; }
  .approach-card { padding: 28px 28px 26px; }
  .approach-card-num { margin-bottom: 10px; }
  .approach-card-body { line-height: 1.55; }
  .beliefs-closing { margin-top: 20px; }
  .beliefs-closing-bold { font-size: 17px; }
  .beliefs-closing-light { font-size: 14px; }

  /* ---- Track Record (stats + certifications) ---- */
  #track-record { padding: 40px 0; }
  #track-record .section-head { margin-bottom: 16px; }
  #track-record .stat-grid { gap: 12px; margin-bottom: 16px; }
  #track-record .stat-card { padding: 16px 14px; }
  #track-record .track-record-credentials { margin-top: 16px; padding-top: 16px; }
  #track-record .track-record-credentials-label { margin-bottom: 10px; }
  #track-record .credential-grid-6 { gap: 12px; }
  #track-record .credential-grid-6 .credential-card { padding: 12px; }
  #track-record .credential-logo-badge { padding: 6px 10px; margin-bottom: 8px; }
  #track-record .credential-card p { font-size: 11.5px; line-height: 1.4; }

  /* ---- Success Story ---- */
  #clients .section-head { margin-bottom: 20px; }
  .wg-proof-strip { margin-bottom: 24px; padding-bottom: 16px; }
  .wg-proof-logos { gap: 6px; }
  .wg-proof-logo-badge { height: 60px; padding: 8px 14px; }
  .wg-proof-logo-badge img { height: 40px; }
  .wg-proof-logo-badge[data-client="bqsm"] img { height: 51px; }
  .wg-proof-logo-badge[data-client="asr"] img { height: 27px; }
  .wg-theme-tabs { gap: 6px; margin-bottom: 20px; }
  .wg-theme-tab { font-size: 12px; padding: 7px 13px; }
  .wg-stories-grid { gap: 14px; }
  .wg-principle-row { padding: 18px; }
  .wg-principle-header { margin-bottom: 14px; }
  .wg-principle-title { margin-bottom: 12px; }
  .wg-principle-metrics { margin-bottom: 12px; gap: 8px; }
  .wg-metric-chip { padding: 4px 9px; font-size: 11px; }
  .wg-principle-body { font-size: 12.5px; line-height: 1.5; }

  /* ---- Enterprise Services ---- */
  #services { padding: 44px 0; }
  #services .section-head { margin-bottom: 16px; }

  /* ---- Industries ---- */
  #industries .section-head { margin-bottom: 24px; }
  #industries .credential-grid { gap: 14px; }
  #industries .credential-card { padding: 16px; }
  #industries .credential-icon { width: 36px; height: 36px; margin-bottom: 10px; }
  #industries .credential-card p { font-size: 12.5px; }

  /* ---- Products ---- */
  #products-redirect .section-head { margin-bottom: 24px; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
