/* ── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  background: #fff;
  color: #0A0A0A;
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

/* ── FOCUS VISIBILITY (WCAG 2.4.7) ───────────────────────────── */
/* Remove default outline only when not keyboard-navigating */
:focus:not(:focus-visible) { outline: none; }
/* Clear, high-contrast ring for keyboard users */
:focus-visible {
  outline: 2px solid var(--accent, #0D9488);
  outline-offset: 3px;
  border-radius: 3px;
}
/* Slightly larger offset for buttons and links in nav */
.nav-links a:focus-visible,
.nav-drop-trigger:focus-visible,
.nav-cta:focus-visible,
.nav-burger:focus-visible,
.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-dark:focus-visible {
  outline-offset: 4px;
}

/* ── CSS TOKENS ───────────────────────────────────────────────── */
:root {
  --accent: #0D9488;
  --dark:   #0A0A0A;
  --bg:     #fff;
  --bg-sub: #F7F7F5;
  --border: #EBEBEB;
  --text:   #0A0A0A;
  --text-2: #6B6B6B;
  --text-3: #A0A0A0;
  --max-w:  1120px;
  --pad-x:  40px;
  --pad-y:  100px;
  --radius-card: 24px;
  --radius-btn:  980px;
}

/* ── ANIMATIONS ───────────────────────────────────────────────── */
@keyframes fadeUp    { from { opacity:0; transform:translateY(24px) } to { opacity:1; transform:none } }
@keyframes videoFd   { from { opacity:0 } to { opacity:1 } }
@keyframes ticker    { 0% { transform:translateX(0) } 100% { transform:translateX(-50%) } }
@keyframes floatY    { 0%,100% { transform:translateY(0) } 50% { transform:translateY(-14px) } }
@keyframes spinSlow  { from { transform:rotate(0deg) } to { transform:rotate(360deg) } }
@keyframes pulse     { 0%,100% { opacity:.6 } 50% { opacity:1 } }
@keyframes blobDrift1 { 0%,100% { transform:translate(0,0) scale(1) } 33% { transform:translate(30px,-20px) scale(1.05) } 66% { transform:translate(-20px,15px) scale(.97) } }
@keyframes blobDrift2 { 0%,100% { transform:translate(0,0) scale(1) } 40% { transform:translate(-25px,20px) scale(1.08) } 70% { transform:translate(15px,-25px) scale(.95) } }
@keyframes blobDrift3 { 0%,100% { transform:translate(0,0) scale(1) } 50% { transform:translate(20px,30px) scale(1.04) } }
@keyframes countUp   { from { opacity:0 } to { opacity:1 } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── SCROLL REVEAL ────────────────────────────────────────────── */
.reveal { opacity:0; transform:translateY(28px); transition: opacity .65s cubic-bezier(.2,0,0,1), transform .65s cubic-bezier(.2,0,0,1); }
.reveal.in { opacity:1; transform:none; }

/* ── TYPOGRAPHY HELPERS ───────────────────────────────────────── */
.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.h1-display {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(56px, 8vw, 108px); font-weight: 800;
  line-height: .98; letter-spacing: -.045em; color: #fff;
}
.h2-section {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.2vw, 56px); font-weight: 800;
  letter-spacing: -.04em; line-height: 1.07; color: var(--text);
}
.h2-dark { color: #fff; }
.h2-sp {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 4vw, 52px); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.07; color: var(--text);
}
.grad-text {
  display: inline;
  background: linear-gradient(90deg, var(--accent), #A78BFA);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ── LAYOUT WRAP ──────────────────────────────────────────────── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.section-rel { position: relative; overflow: hidden; }

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn-primary {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700;
  padding: 14px 32px; border-radius: var(--radius-btn); background: var(--accent);
  color: #fff; text-decoration: none; display: inline-block;
  transition: transform .22s, filter .22s; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-outline {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 600;
  padding: 14px 32px; border-radius: var(--radius-btn);
  background: rgba(255,255,255,.09); color: rgba(255,255,255,.85);
  text-decoration: none; display: inline-block;
  border: 1px solid rgba(255,255,255,.18); transition: background .2s;
}
.btn-outline:hover { background: rgba(255,255,255,.16); }
.btn-dark {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700;
  padding: 14px 32px; border-radius: var(--radius-btn); background: #0A0A0A;
  color: #fff; text-decoration: none; display: inline-block;
  transition: background .2s; border: none; cursor: pointer;
}
.btn-dark:hover { background: var(--accent); }

/* ── NAV ──────────────────────────────────────────────────────── */
nav#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
nav#site-nav.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(0,0,0,.06);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { height: 34px; width: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.nav-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 22px; letter-spacing: -.04em;
  color: #fff; transition: color .3s;
}
.nav-logo-accent { color: #0D9488; }
nav.scrolled .nav-logo-text { color: #0A0A0A; }

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a, .nav-drop-trigger {
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: color .2s; cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  background: none; border: none; font-family: inherit;
}
/* Only top-level nav items go white — not the dropdown links inside them */
nav:not(.scrolled) .nav-links > li > a,
nav:not(.scrolled) .nav-drop-trigger { color: rgba(255,255,255,.75); }
nav:not(.scrolled) .nav-links > li > a:hover,
nav:not(.scrolled) .nav-drop-trigger:hover { color: #fff; }
nav.scrolled .nav-links > li > a,
nav.scrolled .nav-drop-trigger { color: #555; }
nav.scrolled .nav-links > li > a:hover,
nav.scrolled .nav-drop-trigger:hover { color: #000; }

/* Dropdown */
.nav-drop-wrap { position: relative; }
/* Invisible bridge: activates when hovered, then maintains itself so the mouse
   can cross the gap between trigger and dropdown without losing :hover */
.nav-drop-wrap::after {
  content: ''; position: absolute; top: 100%; left: -24px; right: -24px;
  height: 0; /* collapsed by default — won't trigger dropdown accidentally */
}
.nav-drop-wrap:hover::after,
.nav-drop-wrap.open::after { height: 18px; } /* must be ≥ gap (10px) */
.nav-drop-chevron { transition: transform .2s; display: inline-block; }
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: -16px;
  background: #fff; border-radius: 16px; padding: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,.12); border: 1px solid #EFEFEF;
  min-width: 264px; z-index: 300;
  visibility: hidden; opacity: 0; pointer-events: none;
  /* 500ms hide-delay gives plenty of time to move cursor to dropdown */
  transition: opacity .18s ease, visibility 0s linear .5s;
}
.nav-drop-wrap:hover .nav-dropdown,
.nav-drop-wrap.open .nav-dropdown {
  visibility: visible; opacity: 1; pointer-events: auto;
  transition: opacity .15s ease, visibility 0s linear 0s;
}
.nav-drop-wrap:hover .nav-drop-chevron,
.nav-drop-wrap.open .nav-drop-chevron { transform: rotate(180deg); }
.nav-dropdown a {
  display: block; padding: 10px 16px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: #3A3A3A;
  text-decoration: none; transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-dropdown a:hover { background: rgba(13,148,136,.1); color: #0D9488; }

/* Dropdown section labels & dividers */
.nav-dropdown-label {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: #6B6B6B; padding: 10px 16px 4px;
  margin: 0; pointer-events: none; line-height: 1;
}
.nav-dropdown-divider {
  height: 1px; background: rgba(0,0,0,.08); margin: 4px 8px 2px; border: none;
}

/* Mobile nav section headings */
.mobile-nav-section {
  display: block; font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3);
  padding: 20px 0 4px; margin: 0; pointer-events: none;
}

.nav-cta {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700;
  padding: 10px 22px; border-radius: var(--radius-btn); text-decoration: none;
  transition: background .2s, color .2s; letter-spacing: -.01em; white-space: nowrap;
}
nav.scrolled .nav-cta { background: #0A0A0A; color: #fff; }
nav.scrolled .nav-cta:hover { background: var(--accent); }
nav:not(.scrolled) .nav-cta { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); }
nav:not(.scrolled) .nav-cta:hover { background: rgba(255,255,255,.2); }

/* Nav right group (CTA + burger) */
.nav-right {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.nav-phone {
  font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .04em;
  text-decoration: none; white-space: nowrap; transition: opacity .2s;
}
nav:not(.scrolled) .nav-phone { color: rgba(255,255,255,.65); }
nav:not(.scrolled) .nav-phone:hover { color: #fff; }
nav.scrolled .nav-phone { color: #6B6B6B; }
nav.scrolled .nav-phone:hover { color: #0A0A0A; }

/* Mobile hamburger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: currentColor; transition: all .3s; border-radius: 2px; }
nav:not(.scrolled) .nav-burger span { background: #fff; }
nav:not(.scrolled) .nav-right .nav-cta { color: #fff; }

/* (open state consolidated into hover block above) */

/* ── HERO (HOMEPAGE) ──────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; background: #060606;
}
.hero-vid {
  position: absolute; inset: 0; overflow: hidden;
  background: #060606; /* fallback if video frame isn't painted */
  transform: translateZ(0); /* avoid scroll-related video compositing glitches */
}
.hero-vid video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .78; pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}
.hero-vid iframe {
  position: absolute; top: 50%; left: 50%;
  width: 177.78vh; height: 56.25vw; min-width: 100%; min-height: 100%;
  transform: translate(-50%,-50%); border: none;
  opacity: 0; animation: videoFd 1s ease 1.5s forwards;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.62) 55%, rgba(0,0,0,.9) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2; max-width: 900px; padding: 0 24px;
  animation: fadeUp .8s ease .15s both;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.55); padding: 7px 16px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.14); margin-bottom: 36px;
  background: rgba(255,255,255,.04);
}
.hero-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease infinite; }
.hero-h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(56px, 8vw, 108px); font-weight: 800;
  line-height: .98; letter-spacing: -.045em; color: #fff; margin-bottom: 28px;
}
.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px); font-weight: 300; line-height: 1.65;
  color: rgba(255,255,255,.6); max-width: 540px; margin: 0 auto 48px;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center;
  border-top: 1px solid rgba(255,255,255,.07);
}
.hs { padding: 26px 52px; text-align: center; border-right: 1px solid rgba(255,255,255,.07); }
.hs:last-child { border-right: none; }
.hs-n { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.04em; display: block; }
.hs-l { font-size: 11px; color: rgba(255,255,255,.55); letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; display: block; font-family: 'DM Mono', monospace; }

/* ── SECTION BACKGROUND REVEAL ───────────────────────────────── */
/* Dark overlay fades OUT as section enters view — section bg is never stripped */
.s-reveal-overlay {
  position: absolute; inset: 0;
  background: #060606;
  opacity: 0.92;
  transition: opacity 0.95s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 8;
}
.s-reveal-overlay.active { opacity: 0; }

/* ── SERVICE PAGE HERO ────────────────────────────────────────── */
.sp-hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; background: #060606; position: relative; overflow: hidden;
  padding: 120px 40px 100px;
}
.sp-hero.no-stats { min-height: 85vh; padding-bottom: 80px; }
/* Video background */
.sp-hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; opacity: .78;
}
/* Dark gradient over the video so text stays readable */
.sp-hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(6,6,6,.5)  0%,
    rgba(6,6,6,.08) 40%,
    rgba(6,6,6,.75) 100%
  );
}
/* Hide videos on mobile — save bandwidth, dark fallback background shows instead */
@media (max-width: 768px) {
  .sp-hero-video { display: none; }
  .hero-vid video { display: none; }
}
.sp-hero-glow { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.sp-hero-inner { position: relative; z-index: 2; max-width: 820px; padding: 0 24px; animation: fadeUp .8s ease .1s both; }
.sp-hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px;
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.55); padding: 7px 16px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04);
}
.sp-hero-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.sp-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(44px, 6.5vw, 82px); font-weight: 800; line-height: 1.02;
  letter-spacing: -.04em; color: #fff; margin-bottom: 24px;
}
.sp-hero p {
  font-size: clamp(16px, 1.8vw, 19px); font-weight: 300; line-height: 1.65;
  color: rgba(255,255,255,.6); max-width: 520px; margin: 0 auto 44px;
}
.sp-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sp-hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: center; border-top: 1px solid rgba(255,255,255,.07); z-index: 2;
}
.sp-hs { padding: 22px 48px; text-align: center; border-right: 1px solid rgba(255,255,255,.07); }
.sp-hs:last-child { border-right: none; }
.sp-hs-n { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.03em; display: block; }
.sp-hs-l { font-size: 11px; color: rgba(255,255,255,.55); letter-spacing: .06em; text-transform: uppercase; display: block; margin-top: 2px; font-family: 'DM Mono', monospace; }

/* ── CLIENTS TICKER ───────────────────────────────────────────── */
.clients-section { background: #F7F7F5; padding: 28px 0; overflow: hidden; border-bottom: 1px solid #E8E8E8; }
.clients-label { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #767676; text-align: center; margin-bottom: 20px; }
.ticker-wrap { overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker-item {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600;
  color: #C8C8C8; white-space: nowrap; letter-spacing: .02em; text-transform: uppercase;
  padding: 0 40px; border-right: 1px solid #E0E0E0;
}

/* ── ABSTRACT BG DECORATIONS ──────────────────────────────────── */
.abs-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.abs-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(13,148,136,.12) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}
.abs-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(13,148,136,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(13,148,136,.06) 1px, transparent 1px);
  background-size: 56px 56px;
}
.abs-circle {
  position: absolute; border-radius: 50%; pointer-events: none;
}

/* ── INTRO SECTION ────────────────────────────────────────────── */
.intro-section { padding: 0; max-width: none; margin: 0; }
.intro-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 680px; }
.intro-left { padding: 100px 80px; max-width: 680px; display: flex; flex-direction: column; justify-content: center; }
.intro-right { position: relative; overflow: hidden; background: #0A0A0A; }
.intro-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-img-ov { position: absolute; inset: 0; }
.intro-stat-block { position: absolute; bottom: 48px; left: 48px; right: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.intro-stat-pill { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 20px 24px; }
.intro-stat-pill:first-child { border-radius: 16px 0 0 0; }
.intro-stat-pill:nth-child(2) { border-radius: 0 16px 0 0; }
.intro-stat-pill:nth-child(3) { border-radius: 0 0 0 16px; }
.intro-stat-pill:last-child { border-radius: 0 0 16px 0; }
.intro-h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(36px, 4vw, 58px); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; color: #0A0A0A; margin-bottom: 24px; }
.intro-body { font-size: 17px; line-height: 1.8; color: #5A5A5A; max-width: 480px; }
.intro-stat-n { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -.04em; color: #fff; line-height: 1; display: block; }
.intro-stat-l { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 4px; display: block; font-family: 'DM Mono', monospace; letter-spacing: .06em; text-transform: uppercase; }

/* ── SERVICES BENTO ───────────────────────────────────────────── */
.services-section { background: #0A0A0A; padding: var(--pad-y) 0; }
.services-hd { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 56px; }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bc-full { grid-column: span 2; min-height: 380px; }
.bc-half { grid-column: span 1; min-height: 380px; }
.bc {
  border-radius: var(--radius-card); padding: 44px; position: relative; overflow: hidden;
  cursor: pointer; transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none; background: #111;
}
.bc:hover { transform: translateY(-4px); box-shadow: 0 28px 72px rgba(0,0,0,.55); }
.bc-img { position: absolute; inset: 0; }
.bc-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0) brightness(.4); transition: transform .65s ease, filter .55s ease; }
.bc:hover .bc-img img { transform: scale(1.04); filter: saturate(.7) brightness(.55); }
.bc-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.96) 0%, rgba(0,0,0,.65) 45%, rgba(0,0,0,.25) 100%); transition: background .5s ease; }
.bc:hover .bc-ov { background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.5) 45%, rgba(0,0,0,.12) 100%); }
.bc::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-card);
  pointer-events: none; opacity: 0; z-index: 3;
  background: radial-gradient(360px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.06), transparent 60%);
  transition: opacity .25s;
}
.bc:hover::before { opacity: 1; }
.bc-content { position: relative; z-index: 2; }
.bc-num  { font-family: 'DM Mono', monospace; font-size: 11px; color: rgba(255,255,255,.2); letter-spacing: .1em; margin-bottom: 20px; display: block; }
.bc-stat { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; margin-bottom: 4px; }
.bc-stat-l { font-family: 'DM Mono', monospace; font-size: 10px; color: rgba(255,255,255,.55); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; display: block; }
.bc-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -.025em; margin-bottom: 10px; line-height: 1.2; }
.bc-full .bc-name { font-size: 28px; }
.bc-desc { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,.6); margin-bottom: 22px; max-width: 480px; }
.bc-lnk  { font-size: 12px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; letter-spacing: .01em; }

/* ── MARQUEE BAND ─────────────────────────────────────────────── */
.mq-band { padding: 24px 0; overflow: hidden; background: #F7F7F5; border-top: 1px solid #E8E8E8; border-bottom: 1px solid #E8E8E8; }
.mq-track { display: flex; width: max-content; animation: ticker 22s linear infinite; }
.mq-item { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600; color: rgba(0,0,0,.2); letter-spacing: .06em; text-transform: uppercase; padding: 0 32px; border-right: 1px solid #E8E8E8; white-space: nowrap; }

/* ── RESULTS ──────────────────────────────────────────────────── */
.results-section { padding: 0; }
.results-wrap { max-width: none; margin: 0; }
.results-hd { padding: 100px 80px 72px; max-width: 1120px; margin: 0 auto; }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.result-card {
  padding: 64px 56px; position: relative; overflow: hidden;
  min-height: 480px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: filter .3s; background: #F7F7F5;
}
.result-card:hover { filter: brightness(1.04); }
.result-card.featured { background: #0A0A0A; }
.rc-img-bg { position: absolute; inset: 0; }
.rc-img-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(255,255,255,.95) 70%); }
.rc-overlay.dark-ov { background: linear-gradient(180deg, transparent 10%, rgba(10,10,10,.96) 60%); }
.rc-content { position: relative; z-index: 2; }
.rc-tag { display: inline-block; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; margin-bottom: 20px; }
.rc-tag.light { background: rgba(0,0,0,.07); color: #666; }
.rc-tag.dark  { background: rgba(255,255,255,.12); color: rgba(255,255,255,.55); }
.rc-n { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(60px, 7vw, 100px); font-weight: 800; letter-spacing: -.06em; line-height: .9; margin-bottom: 16px; }
.rc-d { font-size: 16px; line-height: 1.6; font-weight: 500; }
.rc-client { font-size: 11px; font-family: 'DM Mono', monospace; letter-spacing: .06em; margin-top: 20px; opacity: .4; }

/* ── WHY SECTION ──────────────────────────────────────────────── */
.why-section { padding: 0; max-width: none; margin: 0; }
.why-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; }
.why-left { position: relative; overflow: hidden; }
.why-left-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.why-big-stat { position: absolute; bottom: 0; left: 0; right: 0; padding: 48px; background: linear-gradient(0deg, rgba(255,255,255,.98) 60%, transparent); }
.why-big-stat-n { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 80px; font-weight: 800; letter-spacing: -.05em; line-height: .9; color: #0A0A0A; }
.why-big-stat-l { font-size: 15px; color: #5A5A5A; margin-top: 8px; font-weight: 500; }
.why-right { padding: 100px 80px; display: flex; flex-direction: column; justify-content: center; background: #FAFAF8; }
.why-grid { display: flex; flex-direction: column; gap: 0; margin-top: 48px; }
.why-card { padding: 28px 0; border-bottom: 1px solid #E8E8E8; display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start; background: none; border-radius: 0; transition: none; }
.why-card:first-child { border-top: 1px solid #E8E8E8; }
.why-card:hover { background: none; transform: none; }
.why-icon { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; margin-bottom: 0; }
.why-h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 700; color: #0A0A0A; letter-spacing: -.02em; margin-bottom: 6px; }
.why-p { font-size: 14px; line-height: 1.75; color: #6B6B6B; }

/* ── REVIEWS ──────────────────────────────────────────────────── */
.reviews-section { padding: var(--pad-y) var(--pad-x); background: #0A0A0A; overflow: hidden; }
.reviews-wrap { max-width: var(--max-w); margin: 0 auto; }
.reviews-hd { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; flex-wrap: wrap; gap: 20px; }
.reviews-scroll {
  display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; cursor: grab;
  margin: 0 calc(-1 * var(--pad-x));
  padding-left: var(--pad-x); padding-right: var(--pad-x);
}
.reviews-scroll::-webkit-scrollbar { display: none; }
.reviews-scroll.dragging { cursor: grabbing; }
.review-card {
  flex: 0 0 380px; scroll-snap-align: start;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-card); padding: 36px;
  display: flex; flex-direction: column; gap: 20px;
  transition: background .2s; position: relative; overflow: hidden;
}
.review-card:hover { background: rgba(255,255,255,.08); }
.review-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); }
.review-stars { display: flex; gap: 3px; }
.review-star { font-size: 13px; }
.review-text { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.65); flex: 1; }
.review-author { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9); }
.review-platform { font-size: 11px; font-family: 'DM Mono', monospace; color: rgba(255,255,255,.25); letter-spacing: .06em; margin-top: 2px; }
.review-q { position: absolute; bottom: 20px; right: 24px; font-size: 72px; color: rgba(255,255,255,.04); font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; line-height: 1; }

/* ── REVIEW CARDS (masonry / reviews page only) ───────────────── */
.reviews-masonry .review-card {
  background: #fff; border: 1px solid #EBEBEB; border-radius: 20px;
  padding: 24px; transition: box-shadow .2s, transform .2s;
}
.reviews-masonry .review-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.07); transform: translateY(-2px); }
.reviews-masonry .review-text { color: #5A5A5A; }
.reviews-masonry .review-author { color: #0A0A0A; }
.reviews-masonry .review-platform { color: #9A9A9A; }
.reviews-masonry { columns: 3; column-gap: 20px; }
@media (max-width: 900px) { .reviews-masonry { columns: 2; } }
@media (max-width: 560px) { .reviews-masonry { columns: 1; } }

/* ── FACTS STRIP ──────────────────────────────────────────────── */
.facts-strip { background: #0A0A0A; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.facts-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); display: grid; grid-template-columns: repeat(4, 1fr); }
.fact-item { padding: 36px 32px; border-right: 1px solid rgba(255,255,255,.06); }
.fact-item:last-child { border-right: none; }
.fact-label { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 8px; }
.fact-value { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -.01em; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-section { padding: var(--pad-y) var(--pad-x); max-width: var(--max-w); margin: 0 auto; }
.faq-cols { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.faq-sticky { position: sticky; top: 88px; }
.faq-intro { font-size: 15px; line-height: 1.7; color: #6B6B6B; margin-top: 16px; max-width: 260px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid #E8E8E8; }
.faq-item:first-child { border-top: 1px solid #E8E8E8; }
.faq-q {
  width: 100%; text-align: left; padding: 22px 0; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; font-weight: 700;
  color: #0A0A0A; letter-spacing: -.02em; line-height: 1.3; transition: color .2s;
}
.faq-q:hover, .faq-q[aria-expanded="true"] { color: var(--accent); }
.faq-icon { font-size: 22px; color: #B0B0B0; flex-shrink: 0; transition: transform .3s ease, color .2s; font-weight: 300; line-height: 1; display: inline-block; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  font-size: 15px; line-height: 1.75; color: #5A5A5A;
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.2,0,0,1), padding .3s ease;
  padding-bottom: 0;
}
.faq-a.open { max-height: 400px; padding-bottom: 24px; }

/* ── CTA SECTION ──────────────────────────────────────────────── */
.cta-section { padding: 120px var(--pad-x); background: #0A0A0A; text-align: center; position: relative; overflow: hidden; }
.cta-inner { max-width: 600px; margin: 0 auto; position: relative; z-index: 2; }
.cta-h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(36px, 5vw, 62px); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; color: #fff; margin-bottom: 20px; }
.cta-sub { font-size: 17px; color: rgba(255,255,255,.45); line-height: 1.65; margin-bottom: 40px; }
.cta-note { font-family: 'DM Mono', monospace; font-size: 11px; color: rgba(255,255,255,.2); letter-spacing: .08em; margin-top: 20px; }
.cta-ring { position: absolute; border-radius: 50%; pointer-events: none; left: 50%; top: 50%; transform: translate(-50%,-50%); animation: spinSlow 30s linear infinite; }

/* ── CTA HOMEPAGE VARIANT ─────────────────────────────────────── */
.cta-section-home { padding: 60px 40px; background: #060606; position: relative; overflow: hidden; min-height: 680px; display: flex; align-items: center; justify-content: center; text-align: center; }
.cta-bg-img { position: absolute; inset: 0; }
.cta-bg-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.4); }
.cta-bg-ov { position: absolute; inset: 0; }
.cta-proof { display: flex; gap: 40px; justify-content: center; margin-bottom: 52px; flex-wrap: wrap; }
.cta-proof-item { text-align: center; }
.cta-proof-n { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 32px; font-weight: 800; letter-spacing: -.04em; color: #fff; line-height: 1; display: block; }
.cta-proof-l { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 4px; display: block; }

/* ── FOOTER ───────────────────────────────────────────────────── */
footer { border-top: 1px solid #EBEBEB; padding: 56px var(--pad-x) 32px; background: #fff; }
.footer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; flex-wrap: wrap; gap: 16px; }
.footer-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px 28px; margin-bottom: 48px; }
.footer-col h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0A0A0A; margin: 0 0 10px; padding: 0; }
.footer-col h3.footer-col-sub { margin-top: 22px; }
.footer-col a { display: block; font-size: 13px; color: #999; text-decoration: none; line-height: 1; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: #0A0A0A; }
.footer-col a.footer-parent { color: #555; font-weight: 600; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid #EBEBEB; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 13px; color: #B0B0B0; margin: 0; }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { font-size: 13px; color: #B0B0B0; text-decoration: none; transition: color .2s; }
.footer-legal-links a:hover { color: #0A0A0A; }
/* Keep old classes for any legacy templates still using them */
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: #B0B0B0; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #0A0A0A; }
.footer-links .footer-cta { color: var(--accent); font-weight: 600; }

/* ── SERVICE PAGE FEATURE GRID ────────────────────────────────── */
.sp-section { padding: var(--pad-y) var(--pad-x); max-width: var(--max-w); margin: 0 auto; }
.sp-section-full { padding: var(--pad-y) var(--pad-x); }
.sp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.sp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.sp-card {
  background: #F9F9F9; border: 1px solid #EBEBEB; border-radius: 20px; padding: 36px;
  transition: background .2s, transform .2s;
}
.sp-card:hover { background: #F0F4FF; transform: translateY(-3px); }
.sp-card-dark { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 36px; }
.sp-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px; }
.sp-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 700; color: #0A0A0A; letter-spacing: -.02em; margin-bottom: 8px; }
.sp-card p  { font-size: 14px; line-height: 1.7; color: #6B6B6B; }
.sp-card-dark h3 { color: #fff; }
.sp-card-dark p  { color: rgba(255,255,255,.5); }

/* Process section 2-col layout */
.sp-process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

/* Process steps */
.sp-step { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.07); align-items: flex-start; }
.sp-step:first-child { border-top: 1px solid rgba(255,255,255,.07); }
.sp-step-n { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 32px; font-weight: 800; letter-spacing: -.04em; line-height: 1; flex-shrink: 0; min-width: 48px; }
.sp-step h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.sp-step p  { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.45); }

/* Result row */
.sp-result-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sp-result-stat { padding: 24px 0; border-bottom: 1px solid #E0E0E0; display: flex; align-items: baseline; gap: 20px; }
.sp-result-stat:first-child { border-top: 1px solid #E0E0E0; }
.sp-result-n { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; min-width: 160px; }
.sp-result-d { font-size: 14px; color: #6B6B6B; line-height: 1.5; }

/* ── CASE STUDIES STRIP (homepage) ───────────────────────────── */
.case-studies-section { background: #F7F7F5; padding: 100px var(--pad-x); }
.case-studies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── BLOG LISTING ─────────────────────────────────────────────── */
.blog-hero { background: #060606; padding-top: 120px; padding-bottom: 72px; padding-left: var(--pad-x); padding-right: var(--pad-x); position: relative; overflow: hidden; }
.blog-hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 2; }
.blog-hero h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(44px, 6vw, 80px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; color: #fff; margin-bottom: 20px; }
.blog-hero p  { font-size: 18px; font-weight: 300; color: rgba(255,255,255,.55); max-width: 500px; line-height: 1.65; }

.tag-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.tag-btn {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .08em;
  padding: 7px 16px; border-radius: 100px; border: 1px solid #E0E0E0;
  background: #fff; cursor: pointer; transition: all .15s; color: #888;
}
.tag-btn:hover, .tag-btn.active { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid #EBEBEB; transition: transform .25s, box-shadow .25s; text-decoration: none; display: block; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.08); }
.post-card.featured { grid-column: span 2; }
.post-thumb {
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: #0A0A0A; /* nicer fallback behind images */
}
.post-card.featured .post-thumb { aspect-ratio: 21/9; }
.post-thumb-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  z-index: 0;
  transform: translateZ(0); /* reduce subpixel “drift” */
}
.post-thumb-label { font-family: 'DM Mono', monospace; font-size: 11px; color: rgba(255,255,255,.25); letter-spacing: .1em; text-transform: uppercase; position: relative; z-index: 1; }
.post-body { padding: 28px; }
.post-tag { display: inline-block; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; margin-bottom: 12px; }
.post-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 700; color: #0A0A0A; letter-spacing: -.02em; line-height: 1.3; margin-bottom: 10px; }
.post-card.featured .post-title { font-size: 24px; }
.post-excerpt { font-size: 14px; line-height: 1.7; color: #6B6B6B; margin-bottom: 16px; }
.post-meta { font-family: 'DM Mono', monospace; font-size: 11px; color: #B0B0B0; letter-spacing: .04em; }

/* ── NEWSLETTER BAND ──────────────────────────────────────────── */
.newsletter-band { background: #0A0A0A; padding: 80px var(--pad-x); text-align: center; }
.newsletter-inner { max-width: 540px; margin: 0 auto; }
.nl-form { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; justify-content: center; }
.nl-input {
  flex: 1; min-width: 220px; padding: 13px 20px; border-radius: var(--radius-btn);
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06);
  color: #fff; font-family: 'DM Sans', sans-serif; font-size: 15px; outline: none;
}
.nl-input::placeholder { color: rgba(255,255,255,.3); }
.nl-btn { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; padding: 13px 28px; border-radius: var(--radius-btn); border: none; cursor: pointer; transition: all .2s; background: var(--accent); color: #fff; }
.nl-btn:hover { filter: brightness(1.1); }

/* ── SINGLE ARTICLE ───────────────────────────────────────────── */
.article-hero {
  background: #060606;
  padding: 120px var(--pad-x) 80px;
  position: relative;
  overflow: hidden;
}
.article-hero > img {
  /* positioned via inline styles; no GPU hints — they caused layer-drop on scroll-back */
}
.article-hero-inner { max-width: 980px; margin: 0 auto; position: relative; z-index: 2; }
.article-tag { display: inline-block; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 100px; margin-bottom: 24px; }
.article-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(32px, 5vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: 1.06; color: #fff; margin-bottom: 20px; }
.article-meta { font-family: 'DM Mono', monospace; font-size: 12px; color: rgba(255,255,255,.35); letter-spacing: .06em; }
/* Two-column article layout: body + sticky TOC sidebar */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  align-items: stretch;
}
.article-body { padding: 72px 0 100px; min-width: 0; }

/* TOC sidebar */
/* Sticky applied to the grid item itself — more reliable than sticky on a nested child in Chrome */
.article-toc-sidebar {
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 108px);
  overflow-y: auto;
  padding-top: 72px;
  scrollbar-width: thin;
  scrollbar-color: #E0E0E0 transparent;
}
.article-toc-sidebar::-webkit-scrollbar { width: 4px; }
.article-toc-sidebar::-webkit-scrollbar-track { background: transparent; }
.article-toc-sidebar::-webkit-scrollbar-thumb { background: #E0E0E0; border-radius: 4px; }
.article-toc-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 260px;
  max-width: 100%;
}
.toc-heading {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(0,0,0,.38);
  margin: 0 0 12px;
}
.toc-nav { display: flex; flex-direction: column; gap: 1px; margin-bottom: 28px; }
.toc-link {
  font-size: 13px;
  color: #6B6B6B;
  text-decoration: none;
  padding: 6px 12px;
  border-left: 2px solid #E5E7EB;
  transition: color .15s, border-color .15s, background .15s;
  line-height: 1.4;
  border-radius: 0 6px 6px 0;
  display: block;
}
.toc-link:hover  { color: #0A0A0A; border-left-color: #CBD5E1; }
.toc-link.active { color: var(--accent); border-left-color: var(--accent); background: rgba(13,148,136,.06); font-weight: 600; }
.toc-cta {
  background: #0A0A0A;
  border-radius: 16px;
  padding: 22px 20px;
}
.toc-cta-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 16px;
  letter-spacing: -.02em;
}
.toc-cta-btn {
  display: block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-align: center;
  letter-spacing: -.01em;
  transition: opacity .15s;
}
.toc-cta-btn:hover { opacity: .88; color: #fff; text-decoration: none; }

@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .article-toc-sidebar { display: none; }
  .article-body { padding: 52px var(--pad-x) 80px; }
}
.article-body p { font-size: 17px; line-height: 1.85; color: #3A3A3A; margin-bottom: 28px; }
.article-body h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: #0A0A0A; margin: 48px 0 16px; }
.article-body h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 700; color: #0A0A0A; margin: 36px 0 12px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 28px; }
.article-body li { font-size: 17px; line-height: 1.8; color: #3A3A3A; margin-bottom: 8px; }
.article-body blockquote { border-left: 3px solid var(--accent); padding: 16px 24px; margin: 36px 0; background: #F7F7F5; border-radius: 0 12px 12px 0; font-size: 17px; line-height: 1.7; color: #555; }
.article-body strong { color: #0A0A0A; font-weight: 600; }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-body figure { margin: 40px 0 36px; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,.07); }
.article-body figure img { width: 100%; height: auto; display: block; aspect-ratio: 9/5; object-fit: cover; }
.article-body figcaption { font-family: 'DM Mono', monospace; font-size: 11px; color: #999; padding: 8px 12px; background: #F7F7F5; letter-spacing: .04em; }

/* ── AI-generated article components ─────────────────────────── */
.article-body .summary-box {
  background: #F0FDF4; border: 1px solid #86EFAC; border-radius: 14px;
  padding: 22px 26px; margin: 0 0 36px;
}
.article-body .summary-box::before {
  content: '⚡ At a Glance';
  display: block; font-family: 'DM Mono', monospace; font-size: 11px;
  font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: #15803D; margin-bottom: 10px;
}
.article-body .summary-box p,
.article-body .summary-box li { font-size: 15px; color: #166534; margin-bottom: 6px; }
.article-body .summary-box ul { margin-bottom: 0; }
.article-body .expert-insight {
  background: linear-gradient(135deg, #EEF2FF 0%, #F0F9FF 100%);
  border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0;
  padding: 22px 26px; margin: 36px 0;
}
.article-body .expert-insight::before {
  content: '💡 Expert Insight';
  display: block; font-family: 'DM Mono', monospace; font-size: 11px;
  font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.article-body .expert-insight p { font-size: 16px; color: #1e293b; margin-bottom: 0; }
.article-body .definition-box {
  background: #FAFAF9; border: 1px solid #E7E5E4; border-radius: 14px;
  padding: 20px 24px; margin: 32px 0;
}
.article-body .definition-box::before {
  content: '📖 Definition';
  display: block; font-family: 'DM Mono', monospace; font-size: 11px;
  font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: #78716C; margin-bottom: 8px;
}
.article-body .definition-box p { font-size: 15px; color: #44403C; margin-bottom: 0; }
.article-body .faq-section { max-width: none; padding: 0; }
.article-body .faq-section > h2 { margin-top: 52px; }
.article-body .faq-item { border-bottom: 1px solid #E5E7EB; padding: 20px 0; }
.article-body .faq-item:last-child { border-bottom: none; }
.article-body .faq-item h3 { font-size: 17px; margin: 0 0 10px; color: #0A0A0A; }
.article-body .faq-item p { margin-bottom: 0; font-size: 16px; }

.article-back { display: inline-flex; align-items: center; gap: 8px; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.4); text-decoration: none; margin-bottom: 32px; transition: color .2s; }
.article-back:hover { color: rgba(255,255,255,.8); }

/* Author card */
.author-card { padding: 0 var(--pad-x) 72px; }
.author-card-inner {
  max-width: 880px; margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 20px;
  padding: 22px 22px 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}
.author-card-inner::before{
  content:'';
  position:absolute; inset:-1px;
  background: radial-gradient(900px 220px at 20% 0%, rgba(13,148,136,.18) 0%, transparent 60%);
  pointer-events:none;
}
.author-kicker{
  position: relative;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(0,0,0,.45);
  margin: 0 0 12px;
}
.author-row{
  position: relative;
  display:flex;
  align-items:center;
  gap: 14px;
  margin-bottom: 12px;
}
.author-meta{ min-width: 0; }
.author-avatar {
  width: 46px; height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg,#0A0A0A 0%, #0D9488 160%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -.03em;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.author-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0;
  color: #0A0A0A;
  font-size: 16px;
}
.author-role {
  margin: 2px 0 0;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(0,0,0,.45);
}
.author-bio {
  position: relative;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(0,0,0,.68);
}

@media (max-width: 600px) {
  .author-card { padding-bottom: 56px; }
  .author-card-inner { padding: 18px 18px 16px; }
  .author-avatar { width: 42px; height: 42px; border-radius: 14px; }
}

/* ── MOBILE NAV PANEL ─────────────────────────────────────────── */
.mobile-nav {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10001;
  background: rgba(6,6,6,.98); display: none; flex-direction: column;
  padding: 80px 40px 40px; overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: rgba(255,255,255,.6); font-size: 28px; cursor: pointer; }
.mobile-nav a { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 24px; font-weight: 700; color: rgba(255,255,255,.8); text-decoration: none; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); display: block; }
.mobile-nav a:hover { color: #fff; }
.mobile-nav .mobile-service-link { font-size: 16px; font-weight: 500; color: rgba(255,255,255,.5); padding: 10px 0 10px 16px; }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --pad-x: 24px; }
  .bc-full { min-height: 340px; }
  .bc-half { min-height: 320px; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .result-card.featured { grid-column: span 1; }
  .sp-result-row { grid-template-columns: 1fr; gap: 40px; }
  .faq-cols { grid-template-columns: 1fr; gap: 48px; }
  .faq-sticky { position: static; }
  .sp-grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
  .results-hd { padding: 72px 48px 52px; }
  /* Intro split: stack at tablet */
  .intro-split { grid-template-columns: 1fr; min-height: auto; }
  .intro-left { padding: 72px 48px; max-width: 100%; }
  .intro-right { min-height: 480px; }
  /* Why split: stack at tablet */
  .why-split { grid-template-columns: 1fr; min-height: auto; }
  .why-left { min-height: 420px; }
  .why-right { padding: 72px 48px; }
}

@media (max-width: 768px) {
  :root { --pad-y: 60px; --pad-x: 20px; }
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-right .nav-cta,
  .nav-right .nav-phone { display: none; }
  .nav-burger { display: flex; }
  .hero-h1 { font-size: clamp(40px, 10vw, 72px); }
  /* Stack hero content above stats bar on mobile */
  .hero { flex-direction: column; align-items: stretch; }
  .hero-stats { position: static; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.07); width: 100%; }
  .hs { padding: 18px 24px; flex: 1 0 42%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .hs:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.07); }
  .bento { grid-template-columns: 1fr; }
  .bc-full, .bc-half { grid-column: span 1; min-height: 300px; }
  .results-grid { grid-template-columns: 1fr; }
  .facts-inner { grid-template-columns: 1fr 1fr; }
  .sp-grid-3 { grid-template-columns: 1fr; }
  .sp-grid-2 { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card.featured { grid-column: span 1; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .footer-top { margin-bottom: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .review-card { flex: 0 0 300px; }
  /* Case studies strip: single column on mobile */
  .case-studies-grid { grid-template-columns: 1fr; gap: 20px; }
  /* Catch-all: standalone page 2-col content layouts with large gaps (not form fields) */
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:80px"],
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:72px"],
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:56px"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  /* Catch-all: bento-style 2-col card grids (gap:2px means butted-together cards) */
  div[style*="grid-template-columns:repeat(2,1fr)"][style*="gap:2px"],
  div[style*="grid-template-columns:repeat(2,1fr)"][style*="gap:16px"],
  div[style*="grid-template-columns:repeat(2,1fr)"][style*="gap:20px"] {
    grid-template-columns: 1fr !important;
  }
  /* Catch-all: 3-col card grids on standalone pages */
  div[style*="grid-template-columns:repeat(3,1fr)"][style*="gap:20px"],
  div[style*="grid-template-columns:repeat(3,1fr)"][style*="gap:16px"] {
    grid-template-columns: 1fr !important;
  }
  /* Service page process grid: single column on mobile */
  .sp-process-grid { grid-template-columns: 1fr; gap: 40px; }
  /* Stack service page hero stats below content on mobile */
  .sp-hero { flex-direction: column; align-items: stretch; }
  .sp-hero-stats { position: static; flex-wrap: wrap; width: 100%; }
  .sp-hs { padding: 16px 20px; flex: 1 0 42%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .sp-hs:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.07); }
  .article-body { padding: 48px var(--pad-x) 72px; }
  /* Results */
  .results-hd { padding: 56px 24px 40px; }
  /* Intro split mobile */
  .intro-left { padding: 56px 24px; }
  .intro-right { min-height: 360px; }
  .intro-stat-block { left: 20px; right: 20px; bottom: 24px; }
  .intro-stat-pill { padding: 14px 16px; }
  .intro-stat-n { font-size: 22px; }
  /* Why split mobile */
  .why-left { min-height: 320px; }
  .why-right { padding: 56px 24px; }
  .why-big-stat { padding: 28px 24px; }
  .why-big-stat-n { font-size: 56px; }
  /* CTA home */
  .cta-section-home { min-height: 560px; }
  .cta-proof { gap: 24px; }
  .cta-proof-n { font-size: 26px; }
}

/* ── AUDIT MODAL ──────────────────────────────────────────────── */
.audit-modal {
  position: fixed; inset: 0; z-index: 900;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.audit-modal.open { opacity: 1; pointer-events: auto; }

.am-backdrop {
  position: absolute; inset: 0;
  background: rgba(4,4,8,.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.am-card {
  position: relative; z-index: 1;
  background: #0F0F16;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  width: 100%; max-width: 560px;
  max-height: 92vh; overflow-y: auto;
  padding: 36px 32px 28px;
  transform: translateY(24px) scale(.98);
  transition: transform .35s cubic-bezier(.2,0,.2,1);
  scrollbar-width: none;
}
.am-card::-webkit-scrollbar { display: none; }
.audit-modal.open .am-card { transform: translateY(0) scale(1); }

.am-top-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #A855F7, #EC4899);
  border-radius: 20px 20px 0 0;
}
.am-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none;
  color: rgba(255,255,255,.35); font-size: 26px; line-height: 1;
  cursor: pointer; padding: 4px 8px;
  transition: color .2s;
}
.am-close:hover { color: #fff; }

.am-header { margin-bottom: 18px; }
.am-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(20px,3vw,26px); font-weight: 800;
  letter-spacing: -.035em; color: #fff; margin-bottom: 5px;
}
.am-sub { font-size: 13px; color: rgba(255,255,255,.38); }

.am-progress { display: flex; gap: 6px; margin-bottom: 22px; }
.am-prog {
  flex: 1; height: 3px; border-radius: 99px;
  background: rgba(255,255,255,.12);
  transition: background .3s;
}
.am-prog.active { background: linear-gradient(90deg,#A855F7,#EC4899); }

.am-step { display: none; }
.am-step.active { display: block; }

.am-q {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; font-weight: 700;
  color: #fff; margin-bottom: 14px; text-align: center;
}
.am-opts { display: flex; flex-direction: column; gap: 8px; }
.am-opt { cursor: pointer; user-select: none; }
.am-opt-inner {
  padding: 13px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  transition: border-color .18s, background .18s;
}
.am-opt-inner:hover { background: rgba(255,255,255,.07); }
.am-opt.selected .am-opt-inner {
  border-color: #EC4899;
  background: rgba(236,72,153,.09);
}
.am-opt-inner strong { display: block; font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; }
.am-opt-inner span { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 3px; display: block; }

.am-field { margin-bottom: 12px; }
.am-field label { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.65); margin-bottom: 5px; }
.am-req { color: #EC4899; }
.am-opt-label { font-weight: 400; color: rgba(255,255,255,.3); }

.am-qgroup { margin-bottom: 22px; }
.am-qgroup:last-child { margin-bottom: 0; }
.am-qgroup-label { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.4; }
.am-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.am-pill { cursor: pointer; user-select: none; }
.am-pill-inner {
  padding: 9px 18px; border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6);
  transition: all .2s;
}
.am-pill-inner:hover { background: rgba(255,255,255,.07); color: #fff; }
.am-pill.selected .am-pill-inner {
  border-color: transparent;
  background: linear-gradient(90deg,#A855F7,#EC4899);
  color: #fff;
}
.am-field input {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: #fff; font-size: 14px; font-family: inherit;
  box-sizing: border-box;
  transition: border-color .2s;
}
.am-field input:focus { outline: none; border-color: rgba(168,85,247,.6); }
.am-field input::placeholder { color: rgba(255,255,255,.22); }

.am-err { font-size: 12px; color: #EC4899; margin-top: 6px; min-height: 16px; }

.am-nav { display: flex; gap: 10px; margin-top: 20px; }
.am-back {
  flex: 1; padding: 13px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px; color: rgba(255,255,255,.6);
  font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: .08em;
  cursor: pointer; transition: background .2s;
}
.am-back:hover { background: rgba(255,255,255,.1); }
.am-continue {
  flex: 2; padding: 13px;
  background: linear-gradient(90deg, #A855F7, #EC4899);
  border: none; border-radius: 100px;
  color: #fff; font-family: 'DM Mono', monospace;
  font-size: 12px; font-weight: 500; letter-spacing: .08em;
  cursor: pointer; transition: opacity .2s;
}
.am-continue:hover { opacity: .88; }
.am-continue:disabled { opacity: .45; cursor: default; }

.am-success { text-align: center; padding: 24px 0 8px; }
.am-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #A855F7, #EC4899);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #fff; margin: 0 auto 20px;
}
.am-success h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 10px;
}
.am-success p { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 380px; margin: 0 auto; }

@media (max-width: 480px) {
  .am-card { padding: 28px 20px 22px; }
  .am-title { font-size: 19px; }
}
@keyframes amShake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}
