/* ========== FONTS ========== */
@font-face {
  font-family: 'Inter';
  src: url('Inter_18pt-Regular-1.ttf') format('truetype');
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('Inter_18pt-Black.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ========== CSS VARIABLES ========== */
:root {
  --color-dark: #2C3539;
  --color-dark-mid: #575E62;
  --color-text: #212121;
  --color-white: #fff;
  --color-gold: #f7ca2f;
  --color-gold-hover: #e6bb2a;
  --color-bg-light: #f4f4f4;
  --color-cyan: #3ADAEF;
  --color-purple: #B186FF;
  --gradient-accent: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: #212121;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Lock both html and body scroll while the fullscreen nav overlay is open.
   iOS Safari needs html locked too — body alone leaves the document scrollable
   and shows a second scroll indicator next to the menu's own. */
html.nav-open,
body.nav-open { overflow: hidden; height: 100%; }

img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: 'Inter', sans-serif; }

/* iOS prevents auto-zoom on focus only when inputs are >= 16px */
input, select, textarea { font-size: 16px; }

/* ========== HEADINGS + HIGHLIGHTS ========== */
h1, h2, h3, h4, h5, h6,
.heading-xl, .heading-lg, .heading-md, .heading-sm,
.accordion-trigger {
  text-transform: uppercase;
}
h1, h2, h3, h4, h5, h6 {
  color: #2C3539;
}
.highlight {
  background: linear-gradient(to bottom, transparent 5%, #f7ca2f 5%, #f7ca2f 95%, transparent 95%);
  padding: 0 14px;
  display: inline;
  color: #2C3539;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.highlight-dark {
  background: linear-gradient(to bottom, transparent 5%, #2C3539 5%, #2C3539 95%, transparent 95%);
  padding: 0 14px;
  display: inline;
  color: #fff;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.highlight-gradient {
  background: linear-gradient(135deg, #3ADAEF, #B186FF);
  padding: 0 14px;
  display: inline;
  color: #fff;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ========== KEYFRAMES ========== */
@keyframes themifyAnimatedBG {
  0%   { background-color: #33baab; }
  20%  { background-color: #dd5135; }
  25%  { background-color: #2bb8ed; }
  33.3%{ background-color: #2ea85c; }
  50%  { background-color: #4961d7; }
  100% { background-color: #e33b9e; }
}
@keyframes marquee-scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-scroll-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
@keyframes navFadeIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 202;
  /* 90% opaque dark with frosted blur. Browsers without
     backdrop-filter support fall back to the rgba layer alone. */
  background: rgba(44, 53, 57, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 2px solid #fff;
  transition: background 0.3s ease;
}
.site-header.scrolled {
  background: rgba(44, 53, 57, 0.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  padding: 26px 40px;
}
.site-logo {
  position: absolute;
  left: 40px;
  display: flex;
  align-items: center;
}
.site-logo img {
  height: 28px;
}
.header-center-nav {
  display: flex;
  gap: 40px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}
.header-center-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: color 0.4s cubic-bezier(0.7, 0, 0.3, 1);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding: 6px 12px;
}
.header-nav-highlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1), background 0.3s ease;
}
.header-nav-text {
  position: relative;
  z-index: 1;
}
.header-center-nav a:hover .header-nav-highlight {
  transform: scaleX(1);
  background: #f7ca2f;
}
.header-center-nav a:hover {
  color: #2C3539;
}
.header-center-nav a.is-active .header-nav-highlight {
  transform: scaleX(1);
  background: #fff;
}
.header-center-nav a.is-active {
  color: #2C3539;
}
.header-center-nav a.is-active:hover .header-nav-highlight {
  background: #f7ca2f;
}
@media (max-width: 1024px) {
  .header-center-nav {
    display: none;
  }
}
.menu-toggle {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  z-index: 201;
  background: none;
  border: none;
  padding: 4px;
  white-space: nowrap;
  width: max-content;
  max-width: max-content;
  min-width: max-content;
}
.menu-toggle-label {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}
.menu-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}
.menu-toggle-icon span {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  transition: transform 0.35s ease, opacity 0.35s ease;
  transform-origin: center;
}
.menu-toggle.active .menu-toggle-icon span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active .menu-toggle-icon span:nth-child(2) { opacity: 0; }
.menu-toggle.active .menu-toggle-icon span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ========== FULL-SCREEN NAV ========== */
.fullscreen-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  /* Dark layer thin enough to let the frosted blur read clearly. */
  background: rgba(44, 53, 57, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 0;
  overflow-y: auto;
  /* Stop scroll from chaining to the underlying page on iOS */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  /* Slide in from the right + fade. pointer-events (not visibility)
     blocks clicks while closed — visibility transitioned alongside
     transform was snapping mid-animation in some browsers. */
  opacity: 0;
  pointer-events: none;
  transform: translate3d(100%, 0, 0);
  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}
.fullscreen-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}
.fullscreen-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: flex-start;
  max-width: 90%;
  width: 100%;
  padding: 0 40px;
}
@media (min-width: 1025px) {
  .fullscreen-nav-inner {
    flex-direction: row;
    gap: 120px;
    justify-content: center;
  }
}
.fullscreen-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}
.fullscreen-nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
  padding: 8px 20px;
  position: relative;
  display: inline-block;
  transition: color 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}
.fullscreen-nav-links a .nav-highlight {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #f7ca2f;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}
.fullscreen-nav-links a:hover .nav-highlight { transform: scaleX(1); }
.fullscreen-nav-links a:hover { color: #2C3539; }
.fullscreen-nav.open .fullscreen-nav-links a {
  animation: navFadeIn 0.5s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}
.fullscreen-nav.open .fullscreen-nav-links a:nth-child(1) { animation-delay: 0.1s; }
.fullscreen-nav.open .fullscreen-nav-links a:nth-child(2) { animation-delay: 0.15s; }
.fullscreen-nav.open .fullscreen-nav-links a:nth-child(3) { animation-delay: 0.2s; }
.fullscreen-nav.open .fullscreen-nav-links a:nth-child(4) { animation-delay: 0.25s; }
.fullscreen-nav.open .fullscreen-nav-links a:nth-child(5) { animation-delay: 0.3s; }
.fullscreen-nav.open .fullscreen-nav-links a:nth-child(6) { animation-delay: 0.35s; }
.fullscreen-nav.open .fullscreen-nav-links a:nth-child(7) { animation-delay: 0.4s; }
/* Main nav section with categories and submenu */
.fullscreen-nav-main {
  display: flex;
  gap: 140px;
  align-items: flex-start;
  padding-top: 16px;
  flex: 1;
}
.fullscreen-nav-categories {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 280px;
}
.fs-cat-item {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 4vw, 72px);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 20px;
  position: relative;
  display: inline-block;
  text-align: left;
  line-height: 1.1;
  transition: color 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}
.fs-cat-text {
  position: relative;
  display: inline-block;
}
.nav-highlight {
  position: absolute;
  top: -6px;
  left: -10px;
  right: -10px;
  bottom: -6px;
  background: #f7ca2f;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}
.nav-highlight-gradient {
  background: linear-gradient(135deg, #3ADAEF, #B186FF) !important;
}
@media (hover: hover) {
  .fs-cat-item:hover .nav-highlight {
    transform: scaleX(1);
  }
  .fs-cat-item:hover {
    color: #2C3539;
  }
  .fs-cat-item.fs-cat-adaptive:hover {
    color: #fff;
  }
}
.fullscreen-nav-submenu {
  flex: 1;
  min-height: 200px;
  position: relative;
}
.fs-submenu-panel {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.fs-submenu-panel.active {
  opacity: 1;
  pointer-events: auto;
}
.fs-submenu-panel ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.fs-submenu-panel ul li a {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s ease;
}
.fs-submenu-arrow {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.fs-submenu-panel ul li a:hover .fs-submenu-arrow {
  opacity: 1;
  transform: translateX(0);
}
.fs-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 10px 18px;
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.fs-view-all .fs-submenu-arrow {
  width: 18px;
  height: 18px;
  opacity: 1;
  transform: none;
}
.fs-view-all:hover {
  background: #f7ca2f;
  color: #2C3539;
  border-color: #f7ca2f;
}
.fs-submenu-panel ul li a:hover {
  color: rgba(255,255,255,0.9);
}
.fullscreen-nav-secondary {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
}
.fullscreen-nav-secondary a {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 8px 20px;
  transition: color 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}
.fullscreen-nav-secondary a .nav-highlight {
  position: absolute;
  top: -6px;
  left: -10px;
  right: -10px;
  bottom: -6px;
  background: #f7ca2f;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}
.fullscreen-nav-secondary a:hover .nav-highlight {
  transform: scaleX(1);
}
.fullscreen-nav-secondary a:hover {
  color: #2C3539;
}
/* Mobile-only nav elements — hidden by default on desktop */
.fullscreen-nav-mobile-services { display: none; }
.fs-section-label { display: none; }
.fs-drill-screen { display: none; }
.fs-mobile-cta { display: none; }

@media (max-width: 1024px) {
  /* Nav becomes a non-centered overlay so drill screens can stack inside */
  .fullscreen-nav {
    display: block;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
  }
  .fullscreen-nav-inner {
    /* Explicit top/bottom (not inset: 0 + padding) so iOS Safari can't shrink-wrap the
       overflow container and clip the first/last row under the header/CTA. */
    position: absolute;
    top: 100px;
    right: 0;
    bottom: 120px;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 100%;
    width: 100%;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  /* Hide the desktop two-column categories+side-panel layout */
  .fullscreen-nav-main { display: none; }

  /* Show the mobile drill-down service list */
  .fullscreen-nav-mobile-services { display: block; }

  /* Section labels */
  .fs-section-label {
    display: block;
    color: rgba(255,255,255,0.55);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 16px 20px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  /* Service rows + site rows share visual treatment */
  .fs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    text-align: left;
    text-decoration: none;
    line-height: 1.2;
    cursor: pointer;
  }
  .fs-row:active { background: rgba(255,255,255,0.04); }
  .fs-row-chevron {
    width: 18px; height: 18px;
    color: rgba(255,255,255,0.55);
    flex-shrink: 0;
  }
  .fs-row-adaptive .fs-row-label {
    background: linear-gradient(135deg, #3ADAEF, #B186FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  /* Site links section reuses the same row treatment */
  .fullscreen-nav-secondary {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
  .fullscreen-nav-secondary a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    line-height: 1.2;
  }
  .fullscreen-nav-secondary a .nav-highlight { display: none; }

  /* Drill screens — siblings of .fullscreen-nav-inner, overlay it */
  .fs-drill-screen {
    display: block;
    position: absolute;
    top: 100px;
    right: 0;
    bottom: 120px;
    left: 0;
    background: #2C3539;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
  }
  .fs-drill-screen.active {
    transform: translateX(0);
    pointer-events: auto;
  }
  .fs-back-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    font-family: 'Inter', sans-serif;
    text-align: left;
    cursor: pointer;
  }
  .fs-back-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
  .fs-back-screen-title {
    font-size: 20px;
    font-weight: 800;
  }
  .fs-drill-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.2;
  }
  .fs-drill-link .fs-row-chevron { color: rgba(255,255,255,0.55); }
  .fs-drill-all {
    color: #f7ca2f;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  /* Sticky "Book A Call" CTA — only renders while nav is open. Sibling of nav. */
  .fs-mobile-cta {
    position: fixed;
    left: 16px; right: 16px; bottom: 16px;
    z-index: 250;
    align-items: center;
    justify-content: center;
    height: 56px;
    background: #f7ca2f;
    color: #2C3539;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  }
  body.nav-open .fs-mobile-cta { display: flex; }
}

/* ========== YELLOW SVG CONTAINER ========== */
.yellow-svg-wrap {
  background: #f7ca2f;
  border-radius: 24px;
  padding: 40px 40px 0;
  aspect-ratio: 1 / 1;
  line-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.yellow-svg-wrap img {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: bottom center;
}
.yellow-svg-wrap:has(img[src*="AB Test"]) {
  padding: 40px;
  justify-content: center;
  align-items: center;
}
.yellow-svg-wrap img[src*="AB Test"] {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  transform: translateY(4%);
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-block;
  padding: 16px 32px;
  background: #f7ca2f;
  color: #212121;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  border: 2px solid #f7ca2f;
  border-radius: 2px;
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
}
.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.btn-primary.btn-white {
  background: #fff;
  border-color: #fff;
  color: #2C3539;
}
.btn-primary.btn-gradient {
  background: var(--gradient-accent);
  border: none;
  color: #fff;
}
.btn-primary.btn-gradient:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* ========== GEO HERO (shared across service pages) ========== */
.geo-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 170px 0 0;
  background: #2C3539;
  overflow: hidden;
}
.geo-hero-inner {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.geo-hero-h1-row {
  margin-bottom: 40px;
}
.geo-hero-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}
.geo-hero-cols .geo-hero-text {
  padding-top: 25px;
  padding-bottom: 100px;
}
.geo-hero-visual {
  display: flex;
  flex-direction: column;
  padding-top: 25px;
  overflow: hidden;
}
.geo-hero-visual img {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: block;
  object-fit: contain;
  object-position: top center;
}
.breadcrumb {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f7ca2f;
  margin-bottom: 24px;
}
.breadcrumb a {
  color: #f7ca2f;
  text-decoration: none;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb .arrow { color: rgba(255,255,255,0.4); margin: 0 8px; }
.geo-hero-h1-row h1 {
  font-family: 'Inter', sans-serif;
  font-size: 108px;
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 0;
  letter-spacing: -0.03em;
}
.geo-scroll-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fff;
  margin-top: 32px;
  animation: bounce-arrow 2s ease-in-out infinite;
  opacity: 0.9;
  transition: opacity 0.2s, background 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.geo-scroll-arrow:hover { opacity: 1; background: #f7ca2f; }
.geo-scroll-arrow svg { width: 22px; height: 22px; }
.geo-hero-text .hero-body {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.geo-hero-text .hero-subheading {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  text-transform: none;
}

/* ========== TEAM CARDS (CPT-driven, sitewide) ==========
   Templates (front-page, page-team, page-about) define the bulk of
   the .team-card / .team-card-photo styling locally. These rules
   add the sitewide pieces needed for CPT-linked cards: the photo
   overlay anchor that links the whole photo to /team/{slug}/, the
   yellow-square initial fallback when no profile photo is set,
   and the h6 anchor styling. */
.team-card-photo-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.team-card-photo-initial {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Inter', sans-serif;
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 800;
  color: #2C3539;
  line-height: 1;
}
.team-card h6 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.team-card h6 a:hover { color: #f7ca2f; }

/* Team card photo hover effect: greyscale default, full color on hover */
.team-card-photo {
  position: relative;
  overflow: hidden;
}
.team-card-photo-link {
  position: absolute;
  inset: 0;
  z-index: 10;
}
/* Primary image: greyscale by default */
.team-card-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%);
  transition: opacity 0.4s ease-out;
}
/* Hover image: hidden by default, full color */
.team-card-photo-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-out;
}
.team-card-photo-hover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* On hover: fade out primary, fade in hover image */
.team-card:hover > .team-card-photo > img {
  opacity: 0;
}
.team-card:hover .team-card-photo-hover {
  opacity: 1;
}

/* ========== CASE STUDIES ========== */
.case-studies-section {
  background: #f4f4f4;
  padding: 100px 0;
}
.case-studies-inner {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 40px;
}
.case-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 70px;
}
.case-header h2 {
  font-family: 'Inter', sans-serif;
  font-size: 86px;
  font-weight: 800;
  line-height: 1.1;
  color: #212121;
}
.view-all-link {
  display: inline-block;
  padding: 12px 28px;
  background: #f7ca2f;
  color: #2C3539;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  border: 2px solid #f7ca2f;
  border-radius: 2px;
  transition: opacity 0.2s, transform 0.2s;
}
.view-all-link:hover { opacity: 0.85; transform: translateY(-1px); }
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.case-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: #212121;
  cursor: none;
  display: flex;
  flex-direction: column;
}
.case-card * { pointer-events: none; }
.case-cursor {
  position: fixed;
  left: -200px;
  top: -200px;
  pointer-events: none;
  z-index: 9999;
  background: #f7ca2f;
  color: #2C3539;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 24px;
  border-radius: 50px;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: left, top, opacity, transform;
}
.case-cursor.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.case-card-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0.6;
}
.case-card:hover .case-card-bg {
  transform: scale(1.05); opacity: 0.45;
}
.case-card-overlay {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 80px 40px 40px;
  min-height: 500px;
  flex: 1;
}
.case-card-overlay .case-logo {
  display: none;
}
.case-card-overlay h3 {
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-top: auto;
  margin-bottom: 220px;
}
.case-stats-wrap {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
}
.case-stats {
  background: #fff;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
}
.case-stat {
  text-align: center;
  padding: 16px 20px;
}
.case-stat .stat-number {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: #2C3539;
  line-height: 1;
  margin-bottom: 4px;
}
.case-stat .stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #666;
}
.case-stats .stat-divider {
  width: 1px;
  height: 60%;
  background: #dedfe0;
  justify-self: center;
  align-self: center;
}

/* ========== CASE-CTA BANNER (post-case-studies gradient banner) ========== */
.case-cta-banner {
  margin-top: 24px;
  padding: 48px 56px;
  background: linear-gradient(135deg, #3ADAEF, #B186FF);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.case-cta-body {
  flex: 1 1 420px;
}
.case-cta-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 12px;
}
.case-cta-body p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
}
.case-cta-btn {
  padding: 18px 36px;
  font-size: 16px;
  white-space: nowrap;
}

/* ========== PARTNERS ========== */
.partners-section {
  background: #f4f4f4;
  padding: 60px 0;
  border-top: 1px solid #e0e0e0;
}
.partners-inner {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.partners-inner span {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: rgba(44,53,57,0.2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ========== BLOG ========== */
.blog-section {
  background: #575E62;
  padding: 100px 0;
}
.blog-inner {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 40px;
}
.blog-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: end;
}
.blog-header h2 {
  font-family: 'Inter', sans-serif;
  font-size: 86px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}
.blog-header-right p {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #3a3f42;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px 0; }
.blog-card-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
  text-transform: none;
}
.blog-card-body p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}
.blog-card-arrow {
  display: inline-block;
  margin-top: 16px;
  color: #f7ca2f;
  font-size: 32px;
  transition: transform 0.2s;
}
.blog-card:hover .blog-card-arrow { transform: translateX(6px); }

/* ========== FAQ ========== */
.faq-section {
  background: #fff;
  padding: 100px 0;
  color: #2C3539;
}
.faq-inner {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.faq-left h2 {
  font-family: 'Inter', sans-serif;
  font-size: 86px;
  font-weight: 800;
  line-height: 1.05;
  color: #2C3539;
  margin-bottom: 24px;
}
.faq-left .faq-subheading {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #2C3539;
  margin-bottom: 16px;
  text-transform: none;
}
.faq-left p {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.6;
  color: #2C3539;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  margin-bottom: 12px;
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: #f7ca2f;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #2C3539;
  cursor: pointer;
  transition: background 0.2s;
  text-align: left;
  text-transform: none;
}
.faq-trigger:hover { background: #e6bb2a; }
.faq-trigger .faq-icon {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: #fff;
  flex-shrink: 0;
  margin-left: 16px;
  line-height: 1;
  transition: color 0.3s ease;
}
.faq-item.active .faq-trigger { background: #f7ca2f; }
.faq-item.active .faq-trigger .faq-icon { color: #fff; }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-body-inner {
  padding: 0 0 24px;
}
.faq-body-inner p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: #666;
}

/* ========== CTA ========== */
.cta-section {
  padding: 100px 0;
  color: #fff;
  background: var(--gradient-accent);
}
.cta-inner {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 40px;
}
.cta-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.cta-left h2 {
  font-family: 'Inter', sans-serif;
  font-size: 86px;
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 24px;
}
.cta-left p {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

/* ========== FOOTER ========== */
.site-footer {
  background: #2C3539;
  color: #fff;
  padding: 0;
  overflow: hidden;
}
.footer-marquee {
  overflow: hidden;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll-left 30s linear infinite;
}
.footer-marquee-track span {
  font-family: 'Inter', sans-serif;
  font-size: clamp(80px, 10vw, 160px);
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255,255,255,0.06);
  letter-spacing: -0.03em;
  padding: 0 40px;
  line-height: 1;
}
.footer-inner {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 40px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px 0;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
}
.footer-brand img {
  width: 100%;
  max-width: 480px;
}
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.footer-nav-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.footer-nav-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  text-transform: none;
}
.footer-nav-col ul li { margin-bottom: 10px; }
.footer-nav-col ul a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  text-decoration: none;
}
.footer-nav-col ul a:hover { color: #fff; }
.footer-contact a {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: block;
  line-height: 1.5;
  transition: color 0.2s;
}
.footer-contact a:hover { color: #f7ca2f; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-left span,
.footer-bottom-left a {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}
.footer-bottom-left a:hover { color: #fff; }
.footer-bottom-left .separator { color: rgba(255,255,255,0.2); }
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f7ca2f;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.footer-social a:hover {
  background: #fff;
  transform: translateY(-2px);
}
.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: #2C3539;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
              transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ========== SCROLL-REVEAL WORD ========== */
.definition-statement .ww-word,
.outcomes-statement .ww-word {
  opacity: 0.15;
  transition: opacity 0.35s ease;
  will-change: opacity;
}

/* ========== GRADIENT TEXT UTILITY ========== */
.gradient-text {
  background: linear-gradient(135deg, #3ADAEF, #B186FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ========== GLOBAL RESPONSIVE (shared-foundation baseline) ========== */
/* Acts as the sitewide mobile fallback. Page templates may override further. */

@media (min-width: 1025px) and (max-width: 1200px) {
  .fullscreen-nav-inner { gap: 64px; }
  .fullscreen-nav-services { min-width: 180px; }
  .fullscreen-nav-services ul a { font-size: 16px; }
  .fullscreen-nav-links a { font-size: clamp(44px, 5.5vw, 72px); }
}

@media (max-width: 1024px) {
  /* Contained-image pattern (spotlights, CRO, product discovery, GEO on the
     search page, etc.) — any cell whose direct child is one of the brand's
     image-container wrappers. On tablet/mobile only, left-align the image and
     push the visual cell to order:1 so text always sits above the image when
     the grid stacks, regardless of DOM order. */
  body :has(> .yellow-svg-wrap),
  body :has(> .gradient-img-wrap) {
    justify-content: flex-start;
    order: 1;
  }
  body .yellow-svg-wrap,
  body .gradient-img-wrap { margin-left: 0; margin-right: auto; }

  /* Widen section containers to ~85% of viewport at tablet. Default pattern is
     max-width:90% + padding:0 40px, which compounded to ~80% content width on
     iPad. Target only the OUTERMOST "-inner" containers (direct children of
     <section> or <footer>) so nested inners (e.g. .thought-panel-inner inside
     .thought-inner) don't compound padding. */
  body section > [class$="-inner"],
  body footer > [class$="-inner"] {
    max-width: 100%;
    padding-left: clamp(40px, 7.5vw, 72px);
    padding-right: clamp(40px, 7.5vw, 72px);
  }

  .geo-hero-cols { grid-template-columns: 1fr; gap: 40px; }
  .geo-hero-h1-row h1 { font-size: clamp(44px, 8vw, 96px); }
  .case-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-header { grid-template-columns: 1fr; gap: 20px; }
  .blog-header h2 { font-size: clamp(44px, 7vw, 86px); }
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .faq-left h2 { font-size: clamp(44px, 7vw, 86px); }
  .cta-layout { grid-template-columns: 1fr; gap: 40px; }
  .cta-left h2 { font-size: clamp(44px, 7vw, 86px); }
  .case-header h2 { font-size: clamp(44px, 7vw, 86px); }
  .footer-main { grid-template-columns: 1fr; gap: 48px; }
  .footer-brand img { max-width: 360px; }
  .partners-inner { gap: 40px; }
  .partners-inner span { font-size: 18px; }

  /* Tab panels (journey-tabs on GEO/service pages, approach-tabs on about/team):
     drop the desktop's fixed-height + absolute-positioned panel pattern at
     tablet/mobile so the active panel flows below the tabs and grows with its
     content. Internal column layout stays at desktop 2-col for tablet, page
     templates collapse to 1-col at @768 for mobile. */
  body .journey-panels,
  body .approach-panels { min-height: 0 !important; }
  body .journey-panels::before,
  body .approach-panels::before { display: none !important; }
  body .journey-panel,
  body .approach-panel {
    position: relative !important;
    inset: auto !important;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  body .journey-panel:not(.active),
  body .approach-panel:not(.active) { display: none !important; }

  /* Case study cards: at tablet/mobile, stack content with auto height.
     Without this, desktop's 500px min-height + 220px h3 margin-bottom + absolute
     stats-wrap fight the narrower 1-col layout and clip text. */
  .case-card .case-card-overlay { padding: 64px 28px 32px; min-height: auto; }
  .case-card .case-card-overlay .case-logo { display: none; }
  .case-card .case-card-overlay h3 { font-size: clamp(34px, 5vw, 48px); margin-top: auto; margin-bottom: 40px; line-height: 1.05; }
  .case-card .case-stats-wrap { position: static; margin-top: auto; left: auto; right: auto; bottom: auto; }
  .case-stats { padding: 16px; }
  .case-stat { padding: 12px 16px; }
  .case-stat .stat-number { font-size: clamp(36px, 5vw, 56px); }
  .case-stat .stat-label { font-size: 14px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet-only padding/gap on tab panels so we don't fight the page templates'
     tighter @768 mobile values. Journey panel drops bottom padding so the image
     sits flush against the panel base, matching the desktop pattern. */
  body .journey-panel  { gap: 32px; padding: 40px 40px 0 40px; }
  body .approach-panel { gap: 32px; padding: 40px; }
}

@media (max-width: 900px) {
  .case-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .blog-header { gap: 32px; }
  .case-cta-banner { padding: 40px 40px; }
  .case-cta-body h3 { font-size: clamp(26px, 4vw, 36px); }
  /* Mid-tablet: tighten gaps before stack so columns don't drift apart */
  .faq-inner { gap: 32px; }
  .footer-nav-cols { gap: 24px; }
  .partners-inner { gap: 32px; }
  /* Category page shared components — body-scoped to win over each template's
     inline CSS specificity. At mid-tablet the desktop compare-card padding
     (56/48) is too generous for the narrower column, and the framework phase
     180px number column crowds the body. Reduce padding + stack the phase. */
  body .cat-compare-card,
  body .cat-compare-card.gradient { padding: 40px 32px; }
  body .framework-phase-inner { grid-template-columns: 1fr; gap: 24px; }
  body .framework-phase-num { font-size: 96px; line-height: 1; }
}

@media (max-width: 768px) {
  /* Header / nav */
  .header-inner { padding: 16px 24px; }
  .site-logo { left: 24px; }
  .site-logo img { height: 24px; }
  .menu-toggle-label { font-size: 14px; }
  /* Mobile nav layout owned by the @1024 drill-down rules; no overrides here */

  /* Geo hero (shared service-page hero) */
  .geo-hero { padding: 120px 0 72px; min-height: auto; }
  .geo-hero-inner { padding: 0 clamp(20px, 5vw, 32px); max-width: 100%; }
  .geo-hero-h1-row { margin-bottom: 32px; }
  .geo-hero-h1-row h1 { font-size: clamp(36px, 9vw, 64px); letter-spacing: -0.02em; }
  .geo-hero-cols { grid-template-columns: 1fr; gap: 32px; }
  .geo-hero-cols .geo-hero-text { padding-top: 0; padding-bottom: 0; }
  .geo-hero-text .hero-body { font-size: 18px; }
  .geo-hero-text .hero-subheading { font-size: 22px; margin-bottom: 24px; }
  .geo-hero-visual { flex-direction: row; justify-content: center; padding-top: 0; overflow: visible; }
  .geo-hero-visual img { flex: none; width: 90%; max-width: 420px; height: auto; min-height: auto; }

  /* Buttons (keep tappable) */
  .btn-primary { padding: 14px 26px; }
  .view-all-link { padding: 10px 22px; }

  /* Case studies, let stats flow below the title/logo so they don't overlap */
  .case-studies-section { padding: 72px 0; }
  .case-studies-inner { padding: 0 clamp(20px, 5vw, 32px); max-width: 100%; }
  .case-header { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  .case-header h2 { font-size: clamp(40px, 10vw, 72px); }
  /* Higher-specificity (.case-card .case-card-overlay) so page-level single-class rules don't override */
  .case-card .case-card-overlay { padding: 64px 28px 32px; min-height: auto; }
  .case-card .case-card-overlay .case-logo { display: none; }
  .case-card .case-card-overlay h3 { font-size: clamp(30px, 7vw, 44px); margin-top: auto; margin-bottom: 40px; line-height: 1.05; }
  .case-card .case-stats-wrap { position: static; margin-top: auto; left: auto; right: auto; bottom: auto; }
  .case-stats { padding: 14px; }
  .case-stat { padding: 10px 14px; }
  .case-stat .stat-label { font-size: 14px; }

  /* Case CTA banner. `body` prefix + !important because every service
     page template inlines its own .case-cta-banner CSS (same single-class
     specificity) and loads after site.css, so we'd otherwise lose the
     cascade. Key things this fixes:
       - dead space band between body and button (flex: 1 1 420px on the
         body was pushing it to 420px tall in a column flex container)
       - long button labels ("Book A Free Content Strategy Call",
         "Start Your Microsoft Ads Plan") bleeding past the button edge
         because page CSS sets white-space: nowrap. */
  body .case-cta-banner {
    margin-top: 20px !important;
    padding: 32px 24px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }
  body .case-cta-body {
    flex: 0 0 auto !important;
    width: 100% !important;
  }
  body .case-cta-body h3 { font-size: clamp(24px, 6vw, 32px) !important; margin-bottom: 8px !important; }
  body .case-cta-body p { font-size: 16px !important; margin-bottom: 0 !important; }
  body .case-cta-btn {
    padding: 16px 20px !important;
    width: 100% !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }

  /* Partners */
  .partners-section { padding: 48px 0; }
  .partners-inner { padding: 0 clamp(20px, 5vw, 32px); max-width: 100%; gap: 24px 32px; }
  .partners-inner span { font-size: 16px; }

  /* Blog */
  .blog-section { padding: 72px 0; }
  .blog-inner { padding: 0 clamp(20px, 5vw, 32px); max-width: 100%; }
  .blog-header { margin-bottom: 40px; gap: 24px; }
  .blog-header h2 { font-size: clamp(40px, 10vw, 72px); }
  .blog-header-right p { font-size: 18px; }
  .blog-grid { grid-template-columns: 1fr; gap: 32px; }
  .blog-card-body h3 { font-size: 24px; }
  .blog-card-body p { font-size: 16px; }

  /* FAQ */
  .faq-section { padding: 72px 0; }
  .faq-inner { padding: 0 clamp(20px, 5vw, 32px); max-width: 100%; gap: 32px; }
  .faq-left h2 { font-size: clamp(40px, 10vw, 72px); margin-bottom: 16px; }
  .faq-left .faq-subheading { font-size: 22px; }
  .faq-left p { font-size: 18px; }
  .faq-trigger { padding: 20px 22px; font-size: 17px; }
  .faq-trigger .faq-icon { font-size: 28px; margin-left: 12px; }
  .faq-body-inner { padding: 0 0 20px; }
  .faq-body-inner p { font-size: 16px; }

  /* CTA */
  .cta-section { padding: 72px 0; }
  .cta-inner { padding: 0 clamp(20px, 5vw, 32px); max-width: 100%; }
  .cta-layout { grid-template-columns: 1fr; gap: 40px; }
  .cta-left h2 { font-size: clamp(40px, 10vw, 72px); margin-bottom: 20px; }
  .cta-left p { font-size: 18px; }

  /* Footer */
  .footer-marquee { padding: 14px 0; }
  .footer-marquee-track span { font-size: clamp(60px, 14vw, 100px); padding: 0 24px; }
  .footer-inner { padding: 0 clamp(20px, 5vw, 32px); max-width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; padding: 56px 0; }
  .footer-brand img { max-width: 260px; }
  .footer-nav-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-contact a { font-size: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; padding: 20px 0; gap: 16px; }
  .footer-bottom-left { gap: 10px; }
  .footer-social { justify-content: flex-start; }

  /* Scroll arrow */
  .geo-scroll-arrow { margin-top: 24px; }

  .highlight,
  .highlight-dark,
  .highlight-gradient {
    padding: 1px 10px;
  }

  /* Disable the custom "View Case Study" follow-cursor on touch, restore a normal pointer */
  .case-card { cursor: pointer; }
  .case-cursor { display: none; }

  /* Sitewide bold subheading size on mobile, matches the home page
     "Expect more from your agency" treatment (22px). Prefixed with `body`
     so specificity beats page-level `.class { ... !important }` rules
     that ship inline and load after site.css. */
  body .hero-subheading,
  body .about-hero .hero-sub,
  body .am-intro-lead,
  body .faq-subheading,
  body .closing-text,
  body .subheading,
  body p.subheading,
  body .why-content-lead,
  body .what-cro-lead,
  body .seo-content-lede,
  body .intro-text-left h6,
  body .intro-text-right h6,
  body .ai-content h6,
  body .team-header h6,
  body .why-brace-header h6,
  body .services-strip-header h6,
  body .specialists-header h6,
  body .team-framework-header h6 {
    font-size: 22px !important;
    line-height: 1.4 !important;
  }

  /* Section intro body text, the paragraph that sits under / beside an h2
     (Brace pattern is "heading on one side, intro paragraph on the other").
     Scoped to *-header, *-right, *-left wrappers only so it doesn't touch
     card descriptions, list items, FAQ answers, etc.
     18px matches the home page treatment (.intro-text-right p,
     .adaptive-top-right p, .cta-left p). */
  /* Sitewide mobile body-text baseline, all paragraphs inside <section>
     render at 18px, matching the home-page treatment of every section
     body paragraph (`.intro-text-right p`, `.adaptive-top-right p`, etc).
     Scoped to `section` so footer / header / nav are untouched.
     `:not()` list protects the 22px subheading variants and the 13px
     breadcrumb. Explicit override block below keeps card descriptions,
     FAQ answers, and small labels at their intended smaller sizes. */
  body section p:where(:not(.breadcrumb):not(.hero-subheading):not(.faq-subheading):not(.subheading):not(.am-intro-lead):not(.why-content-lead):not(.what-cro-lead):not(.seo-content-lede):not(.closing-text)) {
    font-size: 18px !important;
    line-height: 1.6 !important;
  }
  /* Keep cards, FAQ answers, stat labels, and small UI chrome compact */
  body [class*="-card"] p,
  body [class*="-card"] .role,
  body section .stat-label,
  body section .case-stat .stat-label,
  body .faq-body-inner p,
  body .blog-card-body p,
  body .adaptive-card p,
  body .am-step p,
  body .team-card .role,
  body .testimonial-slide .attribution-role {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  /* Consistent mobile gutters for every section's inner wrapper.
     The Brace pattern puts every section's content inside a direct-
     child `.*-inner` div. Targeting `section > [class$="-inner"]` (plus
     the footer equivalent) gives consistent horizontal padding across
     ALL sections sitewide, without needing to enumerate every class. */
  body section > [class$="-inner"],
  body footer > [class$="-inner"] {
    max-width: 100% !important;
    padding-left: clamp(20px, 5vw, 32px) !important;
    padding-right: clamp(20px, 5vw, 32px) !important;
  }

  /* Tabs + content panel pattern (journey-tabs on GEO/service pages,
     approach-tabs on about/team). On mobile:
      - stack only the active panel (auto-height container)
      - stack its inner text and visual vertically (1-col grid)
      - hide the desktop triangle-arrow that points from panels at the
        active tab (sits on the left edge of the panel container and
        makes no sense once the tabs are above the panels). */
  body .journey-panels,
  body .approach-panels { min-height: 0 !important; }
  body .journey-panels::before,
  body .approach-panels::before { display: none !important; }
  body .journey-panel,
  body .approach-panel {
    position: relative !important;
    inset: auto !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 24px !important;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  body .journey-panel:not(.active),
  body .approach-panel:not(.active) { display: none !important; }
  body .journey-panel-visual,
  body .approach-panel-visual {
    justify-content: center;
    align-items: center;
  }
  body .journey-panel-visual img,
  body .approach-panel-visual img { max-width: 320px; margin: 0 auto; }

  /* Preserve large stat numbers + large emphasis statements that shouldn't
     be pulled down to the 18px body baseline. */
  body .case-stat .stat-number { font-size: clamp(36px, 8vw, 56px) !important; line-height: 1 !important; }
  body .why-ai-stat-card .stat-big { font-size: clamp(48px, 12vw, 72px) !important; line-height: 1 !important; }
  body .why-ai-stat-card .stat-desc { font-size: 18px !important; }
  body .fragmented-conclusion p { font-size: 22px !important; line-height: 1.3 !important; }
  body .fragmented-conclusion-strong { font-size: 20px !important; }
  body .definition-statement { font-size: 22px !important; line-height: 1.4 !important; }
  body .outcomes-statement { font-size: 22px !important; line-height: 1.4 !important; }
}

@media (max-width: 600px) {
  body section p:where(:not(.breadcrumb):not(.hero-subheading):not(.faq-subheading):not(.subheading):not(.am-intro-lead):not(.why-content-lead):not(.what-cro-lead):not(.seo-content-lede):not(.closing-text)) {
    font-size: 17px !important;
  }
  body [class*="-card"] p,
  body [class*="-card"] .role,
  body section .stat-label,
  body section .case-stat .stat-label,
  body .faq-body-inner p,
  body .blog-card-body p,
  body .adaptive-card p,
  body .am-step p,
  body .team-card .role,
  body .testimonial-slide .attribution-role {
    font-size: 15px !important;
  }
  /* Large stat numbers + emphasis statements, hold larger sizes at phone */
  body .case-stat .stat-number { font-size: clamp(32px, 10vw, 48px) !important; line-height: 1 !important; }
  body .why-ai-stat-card .stat-big { font-size: clamp(44px, 14vw, 64px) !important; line-height: 1 !important; }
  body .why-ai-stat-card .stat-desc { font-size: 16px !important; }
  body .fragmented-conclusion p { font-size: 22px !important; }
  body .fragmented-conclusion-strong { font-size: 20px !important; }
  body .definition-statement { font-size: 22px !important; }
  body .outcomes-statement { font-size: 22px !important; }
}

@media (max-width: 600px) {
  .header-inner { padding: 14px 20px; }
  .site-logo { left: 20px; }
  .site-logo img { height: 22px; }
  .menu-toggle-label { display: none; }
  /* Nav layout owned by the @1024 drill-down rules — no padding overrides here */

  .geo-hero { padding: 104px 0 60px; }
  /* Inner gutters inherited from @768 clamp(20px, 5vw, 32px), no override needed */

  .case-header h2,
  .blog-header h2,
  .faq-left h2,
  .cta-left h2 { font-size: clamp(34px, 10vw, 56px); }

  .case-card .case-card-overlay { padding: 56px 24px 28px; min-height: auto; }
  .case-card .case-card-overlay h3 { font-size: clamp(26px, 8vw, 36px); margin-top: auto; margin-bottom: 24px; }
  .case-stats { grid-template-columns: 1fr; gap: 8px; padding: 12px; }
  .case-stats .stat-divider { display: none; }
  .case-stat { padding: 10px 0; }

  body .case-cta-banner { padding: 28px 20px !important; gap: 14px !important; }
  body .case-cta-body h3 { font-size: clamp(22px, 6vw, 28px) !important; }
  body .case-cta-btn { padding: 14px 16px !important; }

  .faq-trigger { padding: 18px 20px; font-size: 16px; }
  .faq-trigger .faq-icon { font-size: 24px; }

  .footer-nav-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-contact a { font-size: 18px; }
  .footer-marquee-track span { font-size: clamp(48px, 16vw, 80px); padding: 0 20px; }
  .footer-social a { width: 36px; height: 36px; }
  .footer-social a svg { width: 16px; height: 16px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 12px 16px; }
  .site-logo { left: 16px; }
  /* Inner gutters inherited from @768 clamp(20px, 5vw, 32px) */
  .case-card .case-card-overlay { padding: 48px 20px 24px; min-height: auto; }
  .geo-hero-h1-row h1 { font-size: clamp(32px, 10vw, 48px); }
}
