/* ==========================================================================
   IndexAI v3 — Premium Agency
   Charcoal · signal-orange · Sora display · Inter body
   Aesthetic reference: Linear · Stripe · Vercel · Clay
   All v2 components inherit through tokens — zero functionality loss.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Surface — premium neutrals */
  --bg:           #FFFFFF;
  --surface:      #F6F6F6;
  --surface-2:    #EFEFEF;
  --surface-3:    #E5E5E5;

  /* Ink — charcoal scale */
  --ink:          #111111;
  --ink-2:        #1A1A1A;
  --ink-3:        #2D2D2D;
  --ink-4:        #4A4A4A;
  --muted:        #737373;
  --muted-2:      #A3A3A3;

  /* Lines */
  --line:         #E5E5E5;
  --line-2:       #D4D4D4;
  --line-dark:    rgba(255, 255, 255, 0.10);

  /* Accent — signal orange */
  --accent:       #FF6B00;
  --accent-dark:  #E55C00;
  --accent-soft:  #FFF1E6;
  --accent-glow:  #FFA666;

  /* Secondary accent — urgency red */
  --accent-2:       #E63946;
  --accent-2-dark:  #C72E3B;
  --accent-2-soft:  #FDECEE;

  /* Semantic */
  --success:      #10B981;
  --success-soft: #D1FAE5;
  --warning:      #F59E0B;
  --warning-soft: #FEF3C7;
  --danger:       #EF4444;
  --danger-soft:  #FEE2E2;

  /* Dark surfaces */
  --night:        #111111;
  --night-2:      #1A1A1A;
  --night-3:      #2D2D2D;

  /* Type */
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:    ui-monospace, 'SF Mono', Menlo, Monaco, monospace;

  /* Sizing */
  --container:    1200px;
  --container-wide: 1320px;
  --container-narrow: 760px;
  --gutter:       clamp(20px, 4vw, 32px);
  --radius-sm:    6px;
  --radius:       10px;
  --radius-md:    14px;
  --radius-lg:    18px;
  --radius-xl:    24px;
  --radius-2xl:   32px;

  /* Shadows — premium, restrained */
  --shadow-xs:    0 1px 2px rgba(17, 17, 17, .04);
  --shadow-sm:    0 1px 2px rgba(17, 17, 17, .04), 0 1px 3px rgba(17, 17, 17, .04);
  --shadow:       0 4px 6px rgba(17, 17, 17, .04), 0 10px 24px rgba(17, 17, 17, .06);
  --shadow-md:    0 8px 16px rgba(17, 17, 17, .06), 0 16px 40px rgba(17, 17, 17, .08);
  --shadow-lg:    0 12px 24px rgba(17, 17, 17, .08), 0 28px 64px rgba(17, 17, 17, .10);
  --shadow-accent: 0 8px 24px rgba(255, 107, 0, .22);
  --ring:         0 0 0 3px rgba(255, 107, 0, .22);

  /* Motion */
  --ease:         cubic-bezier(.4, 0, .2, 1);
  --ease-out:     cubic-bezier(.16, 1, .3, 1);
  --ease-spring:  cubic-bezier(.5, 1.5, .5, 1);
  --dur:          220ms;
  --dur-slow:     480ms;

  --header-h:     76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-3);
  background: var(--bg);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 .4em;
}
h1 em, h2 em, h3 em, h4 em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--accent); }

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

::selection { background: var(--accent); color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -40px; left: 0; z-index: 9999;
  padding: 10px 18px; background: var(--ink); color: #fff;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.container--wide   { max-width: var(--container-wide); }

.section { padding: clamp(56px, 6.5vw, 92px) 0; position: relative; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 .35em;
}
.display em { color: var(--accent); font-style: normal; font-weight: 600; }

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.6;
  color: var(--ink-4);
  max-width: 44ch;
  letter-spacing: -0.005em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 18px;
}
.eyebrow--center { justify-content: center; }
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 4.5vw, 56px); }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 14px; letter-spacing: -0.03em; }
.section-head .eyebrow { justify-content: center; }
.section-sub { color: var(--ink-4); font-size: 17px; max-width: 58ch; margin: 0 auto; line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  line-height: 1;
  position: relative;
}
.btn svg { transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(2px); }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15), 0 4px 12px rgba(0, 0, 0, .08);
}
.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}
.btn-primary:active { transform: translateY(0); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(229, 92, 0, .25), 0 4px 12px rgba(255, 107, 0, .25);
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229, 92, 0, .35), 0 12px 28px rgba(255, 107, 0, .3);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { background: var(--surface); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); color: #fff; }

.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-lg { padding: 15px 28px; font-size: 15px; }
.btn-xl { padding: 18px 32px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header — glass effect ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header[data-scrolled="true"] {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 1px 0 rgba(17, 17, 17, .02);
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

/* Brand lockup */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 32px; height: 32px;
  flex-shrink: 0;
}
.brand-name { line-height: 1; }
.brand-name b { font-weight: 600; }
.brand-name span { color: var(--accent); }
.custom-logo-link img { max-height: 36px; width: auto; }

.primary-nav { margin-left: auto; }
.primary-nav .menu { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu > li > a {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  color: var(--ink-3);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  letter-spacing: -0.005em;
}
.primary-nav .menu > li > a:hover { background: var(--surface); color: var(--ink); }
.primary-nav .menu .current-menu-item > a,
.primary-nav .menu .current_page_item > a { color: var(--accent); }

/* Submenu */
.primary-nav .menu .sub-menu {
  display: none; position: absolute;
  top: 100%; left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  margin-top: 10px;
  list-style: none;
  z-index: 10;
}
/* Invisible hover-bridge on the PARENT <li> — covers the 10px gap between
   parent <a> and submenu so the cursor can travel without breaking :hover.
   Must be on the <li> (not the .sub-menu) so it exists BEFORE submenu opens. */
.primary-nav .menu > li.menu-item-has-children::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  /* No background — invisible but inside the <li>'s hover-detectable area. */
  pointer-events: auto;
}
/* Chevron icon for parent items that have a dropdown */
.primary-nav .menu .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 7px;
  opacity: 0.55;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.primary-nav .menu .menu-item-has-children:hover > a::after {
  transform: rotate(225deg) translateY(-2px);
  opacity: 1;
}
.primary-nav .menu li { position: relative; }
.primary-nav .menu li:hover > .sub-menu,
.primary-nav .menu li:focus-within > .sub-menu { display: block; }
.primary-nav .menu .sub-menu a {
  display: block; padding: 10px 12px;
  font-size: 14px; color: var(--ink-3);
  border-radius: 8px;
}
.primary-nav .menu .sub-menu a:hover { background: var(--surface); color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.phone-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  transition: all var(--dur) var(--ease);
}
.phone-link:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  padding: 0;
}
.nav-toggle span {
  display: block; width: 16px; height: 1.5px; background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  padding: 16px var(--gutter) 28px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.mobile-nav:not([hidden]) { display: block; }
.mobile-nav .mobile-menu {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: flex; flex-direction: column;
}
.mobile-nav .mobile-menu a {
  display: block; padding: 16px 6px;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.015em;
}
.mobile-nav .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(52px, 7vw, 96px) 0 clamp(60px, 8vw, 112px);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(56rem 38rem at 95% -15%, rgba(255, 107, 0, .12), transparent 55%),
    radial-gradient(40rem 28rem at 0% 100%, rgba(230, 57, 70, .07), transparent 55%);
}
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(17, 17, 17, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(65% 65% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(65% 65% at 50% 50%, #000 30%, transparent 80%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-text .display { margin-bottom: 28px; }
.hero-text .lede { margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  color: var(--ink-3);
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
  transition: all var(--dur) var(--ease);
}
.hero-pill:hover { border-color: var(--accent); color: var(--ink); }

/* Hero AI-platform chips — instant relevance + premium signal */
.hero-platforms {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin: 0 0 32px;
}
.hp-label {
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted);
  margin-right: 4px;
}
.hp-chip {
  font-size: 13px; font-weight: 600; color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 8px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hp-chip:hover { transform: translateY(-2px); border-color: var(--accent); }
.hero-pill span.new {
  display: inline-block;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  padding: 4px 9px;
  border-radius: 999px;
}

.hero-trust {
  display: flex; align-items: center; gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
}
.hero-trust .avatars span:first-child { margin-left: 0; }
.hero-trust .ht-text { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.hero-trust .ht-text strong { color: var(--ink); font-weight: 600; }
.hero-trust .ht-text span { color: var(--muted); }
.hero-trust .stars { color: var(--accent); letter-spacing: -1px; font-size: 13px; }

/* Audit card visual — premium 3D treatment */
.audit-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 460px;
  margin-left: auto;
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg) translateZ(0);
  transition: transform var(--dur-slow) var(--ease-out);
}
.audit-card:hover { transform: perspective(1400px) rotateY(0) rotateX(0) translateZ(0); }
.audit-card-head {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.ac-dot { width: 9px; height: 9px; border-radius: 50%; }
.ac-dot--red { background: #FF5F57; }
.ac-dot--amber { background: #FEBC2E; }
.ac-dot--green { background: #28C840; }
.ac-label { margin-left: 8px; font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: -0.005em; }
.audit-card-body { padding: 24px 26px; }
.ac-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.ac-row:last-of-type { border-bottom: none; }
.ac-name { color: var(--ink-2); font-weight: 500; }
.ac-score { font-weight: 600; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; letter-spacing: -0.005em; }
.ac-score--low  { background: var(--accent-2-soft); color: var(--accent-2); }
.ac-score--mid  { background: var(--accent-soft);   color: var(--accent-dark); }
.ac-score--good { background: var(--success-soft);  color: var(--success); }
.ac-bar { margin: 16px 0 14px; height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.ac-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-glow));
  border-radius: 999px;
  transition: width 1.2s var(--ease-out);
}
.ac-meta { font-size: 13px; color: var(--ink-4); margin: 0; }
.ac-meta strong { color: var(--ink); font-weight: 600; }
.ac-sep { color: var(--muted-2); margin: 0 4px; }

/* ---------- Hero proof-metric row (premium credibility anchors) ---------- */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
  margin: 32px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hm-item { display: flex; flex-direction: column; gap: 4px; }
.hm-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hm-label {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
  max-width: 22ch;
}
.hm-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .5);
  animation: hmPulse 2s var(--ease-out) infinite;
}
@keyframes hmPulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, .5); }
  70%  { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ---------- Audit card: live status pill + scan sweep ---------- */
.audit-card-head { position: relative; }
.ac-status {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .02em;
  color: var(--success);
  background: var(--success-soft);
  padding: 3px 9px; border-radius: 999px;
}
.ac-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  animation: hmPulse 2s var(--ease-out) infinite;
}
.audit-card-body { position: relative; overflow: hidden; }
.ac-scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 38%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,107,0,.14), rgba(255,107,0,0));
  border-bottom: 1px solid rgba(255,107,0,.35);
  opacity: 0;
}
.audit-card.is-scanning .ac-scanline {
  animation: acScan 1.5s var(--ease-out) 1 forwards;
}
@keyframes acScan {
  0%   { opacity: 1; transform: translateY(0); }
  90%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(260%); }
}
@media (prefers-reduced-motion: reduce) {
  .hm-live, .ac-status-dot { animation: none; }
  .audit-card.is-scanning .ac-scanline { animation: none; opacity: 0; }
}

/* ---------- Logo strip ---------- */
.logos { padding: 36px 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos-label { text-align: center; font-family: var(--font-body); font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 26px; }
.logos-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(28px, 4vw, 56px);
}
.logos-row .logo-item {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--ink-4);
  letter-spacing: -0.015em;
  opacity: .65;
  transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}
.logos-row .logo-item:hover { opacity: 1; color: var(--ink); }

/* ---------- Problem strip ---------- */
.problem { background: var(--surface); text-align: center; }
.problem-h {
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 30ch;
  text-wrap: balance;
  margin: 0 auto 20px;
}
.problem-h em { color: var(--accent); font-style: normal; }
.problem-sub { color: var(--ink-4); font-size: 16px; max-width: 46ch; margin: 0 auto; line-height: 1.6; }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: #fff; padding: clamp(64px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(36rem 24rem at 12% -5%, rgba(255, 107, 0, .22), transparent 55%),
    radial-gradient(40rem 26rem at 88% 105%, rgba(230, 57, 70, .12), transparent 55%);
}
.stats .container { position: relative; }
.stats-head { text-align: center; margin-bottom: 56px; }
.stats-head .eyebrow { color: var(--accent-glow); }
.stats-head h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.stats-head h2 em { color: var(--accent); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat { text-align: center; padding: 0 8px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 3.8rem);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}
.stat-num em { color: var(--accent); font-style: normal; }
.stat-label { font-family: var(--font-body); font-size: 13.5px; color: rgba(255,255,255,.65); letter-spacing: -0.005em; }

/* ---------- Shift / search mockup ---------- */
.shift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.search-mockup {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 24px;
  max-width: 520px;
}
.sm-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-4);
  font-size: 14px;
  margin-bottom: 18px;
}
.sm-bar-icon { width: 14px; height: 14px; border: 1.5px solid var(--ink-4); border-radius: 50%; position: relative; }
.sm-bar-icon::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 6px; height: 1.5px; background: var(--ink-4); transform: rotate(45deg); }
.sm-overview {
  background: linear-gradient(180deg, var(--accent-soft), rgba(255, 241, 230, .35));
  border: 1px solid rgba(255, 107, 0, .18);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 14px;
}
.sm-overview-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sm-badge { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-dark); background: #fff; border: 1px solid rgba(255, 107, 0, .22); padding: 3px 9px; border-radius: 999px; }
.sm-source { font-size: 11px; color: var(--muted); }
.sm-overview p { font-size: 13.5px; color: var(--ink-2); margin: 0 0 12px; line-height: 1.5; }
.sm-overview p strong { color: var(--ink); }
.sm-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.sm-pills span { font-size: 11px; padding: 4px 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-4); }
.sm-result { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-md); background: var(--surface); }
.sm-result--dim { opacity: .55; }
.sm-favicon { width: 24px; height: 24px; background: var(--muted); border-radius: 50%; flex-shrink: 0; }
.sm-result strong { font-size: 14px; color: var(--ink); display: block; }
.sm-result small { font-size: 12px; color: var(--muted); }

.shift-list { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 14px; }
.shift-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink-2); }
.shift-list svg { color: var(--accent); flex-shrink: 0; }

/* ---------- Services ---------- */
.services { background: var(--surface); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 30px 36px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(40% 30% at 100% 0%, rgba(255, 107, 0, .08), transparent 70%);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
  z-index: -1;
}
.service-card::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover::before { opacity: 1; }
.sc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  margin-bottom: 22px;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service-card:hover .sc-icon { background: var(--accent); }
.service-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.02em; }
.service-card p { font-size: 14.5px; color: var(--ink-4); margin: 0 0 20px; line-height: 1.6; flex: 1; }
.sc-foot {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  transition: color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.service-card:hover .sc-foot { color: var(--accent); gap: 10px; }
.service-card:hover .sc-foot svg { transform: translateX(0); }

/* ---------- How it works ---------- */
.how .steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  counter-reset: step;
}
.step {
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  position: relative;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.step:hover { border-color: var(--ink); transform: translateY(-3px); background: #fff; }
.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.06em;
}
.step h3 { font-size: 22px; margin: 0 0 12px; letter-spacing: -0.02em; }
.step p { font-size: 15px; color: var(--ink-4); margin: 0 0 18px; line-height: 1.6; }
.step-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.step-link:hover { gap: 10px; }

/* ---------- Proof ---------- */
.proof-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.proof-chart {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.pc-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.pc-title { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 16px; letter-spacing: -0.015em; }
.pc-meta { font-size: 13px; color: var(--muted); }
.pc-bars { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.pc-bar { display: grid; grid-template-columns: 60px 1fr 50px; align-items: center; gap: 14px; }
.pc-label { font-size: 13px; color: var(--ink-4); font-weight: 500; }
.pc-track { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.pc-fill { height: 100%; width: 0; background: var(--ink-4); border-radius: 999px; transition: width 1.4s var(--ease-out); }
.pc-fill--strong { background: linear-gradient(90deg, var(--accent), var(--accent-glow)); }
.reveal--visible .pc-fill { width: var(--w); }
.pc-val { font-size: 13px; font-weight: 600; color: var(--ink); text-align: right; }
.pc-val--strong { color: var(--accent); }
.pc-foot { font-size: 14px; color: var(--ink-4); border-top: 1px dashed var(--line); padding-top: 18px; margin: 0; }
.pc-foot strong { color: var(--ink); font-weight: 600; }

.testimonials { display: flex; flex-direction: column; gap: 16px; }
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px 30px;
  position: relative;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.testimonial:hover { border-color: var(--ink); transform: translateY(-2px); }
.testimonial .tq { color: var(--accent); opacity: .85; margin-bottom: 12px; }
.testimonial p {
  font-family: var(--font-display);
  font-size: 18px; line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.testimonial footer { font-size: 13px; color: var(--ink-4); }
.testimonial footer strong { display: block; color: var(--ink); font-weight: 600; font-size: 14px; }

/* ---------- Comparison ---------- */
.compare { background: var(--bg); }
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-table th,
.compare-table td {
  padding: 18px 26px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 14.5px;
}
.compare-table thead th {
  font-family: var(--font-body);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--surface);
}
.compare-table thead th.us {
  background: var(--ink);
  color: #fff;
}
.compare-table tbody td:first-child {
  font-weight: 600; color: var(--ink); font-size: 14.5px;
}
.compare-table td.yes { color: var(--success); font-weight: 600; }
.compare-table td.no  { color: var(--muted); }
.compare-table td.us-cell { background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }

/* ---------- Audit / lead form ---------- */
.audit { background: var(--surface); }
.audit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.audit-text h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.audit-lede { font-size: 17px; color: var(--ink-4); margin: 0 0 24px; line-height: 1.6; }
.audit-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; margin: 0 0 28px; }
.audit-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.audit-list svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.audit-promise {
  font-size: 13.5px; color: var(--ink); font-weight: 600;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center; gap: 8px;
}
.audit-promise::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px var(--success-soft);
}

.audit-form-wrap { position: sticky; top: calc(var(--header-h) + 16px); }
.audit-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.audit-form h3 { font-size: 24px; margin: 0 0 8px; letter-spacing: -0.02em; }
.audit-form-sub { font-size: 13.5px; color: var(--muted); margin: 0 0 22px; }
.hp-wrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ff { display: block; margin-bottom: 14px; }
.ff-label { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.005em; }
.ff-label small { font-weight: 400; color: var(--muted); }
.ff input, .ff select, .ff textarea {
  display: block; width: 100%;
  padding: 13px 16px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--ink);
  font-family: var(--font-body);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.ff input:focus, .ff select:focus, .ff textarea:focus { border-color: var(--accent); outline: none; box-shadow: var(--ring); }
.ff textarea { resize: vertical; min-height: 64px; }
.ff select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.audit-form .btn { margin-top: 10px; }
.form-error { padding: 12px 16px; border-radius: var(--radius); background: var(--accent-2-soft); color: var(--accent-2); font-size: 13.5px; font-weight: 500; margin: 0 0 16px; }
.form-success { padding: 12px 16px; border-radius: var(--radius); background: var(--success-soft); color: var(--success); font-size: 13.5px; font-weight: 500; margin: 0 0 16px; }
.form-fine { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }

.audit-success { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 56px 40px; text-align: center; box-shadow: var(--shadow-md); }
.as-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; background: var(--success-soft); color: var(--success); border-radius: 50%; margin: 0 auto 18px; }
.audit-success h3 { font-size: 28px; margin: 0 0 12px; letter-spacing: -0.025em; }
.audit-success p { color: var(--ink-4); font-size: 15.5px; margin: 0 0 12px; }
.as-meta { font-size: 13px !important; color: var(--muted) !important; }

/* ---------- Trust band ---------- */
.trust { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(48px, 7vw, 72px) 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.trust-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ti-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--surface); color: var(--ink); border-radius: 12px; margin-bottom: 10px; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.trust-item:hover .ti-icon { background: var(--ink); color: var(--accent); }
.trust-item strong { font-family: var(--font-display); font-size: 17px; color: var(--ink); font-weight: 600; letter-spacing: -0.015em; }
.trust-item span { font-size: 13px; color: var(--ink-4); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq-item[open] { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17.5px; font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; }
.faq-chev { flex-shrink: 0; color: var(--ink-3); transition: transform var(--dur) var(--ease); }
.faq-item[open] .faq-chev { transform: rotate(180deg); color: var(--accent); }
.faq-answer { padding: 0 26px 24px; color: var(--ink-4); font-size: 15.5px; line-height: 1.65; }
.faq-answer p { margin: 0; }
.faq-foot { text-align: center; margin: 36px 0 0; color: var(--ink-4); font-size: 14.5px; }

/* ---------- Final CTA — premium dark conversion section ---------- */
.final-cta {
  background: var(--night);
  color: #fff;
  padding: clamp(88px, 12vw, 144px) 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(40rem 25rem at 80% 20%, rgba(255, 107, 0, .28), transparent 55%),
    radial-gradient(36rem 28rem at 12% 80%, rgba(230, 57, 70, .16), transparent 55%);
}
.final-cta::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(50% 50% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.fc-wrap { position: relative; text-align: center; max-width: 760px; margin: 0 auto; z-index: 1; }
.fc-wrap .eyebrow { color: var(--accent); justify-content: center; }
.fc-wrap h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 0 0 20px; line-height: 1.02; letter-spacing: -0.035em; }
.fc-wrap h2 em { color: var(--accent); font-style: normal; }
.fc-wrap p { color: rgba(255, 255, 255, .72); font-size: clamp(1rem, 1.5vw, 1.16rem); max-width: 56ch; margin: 0 auto 32px; line-height: 1.6; }
.fc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 24px; }
.fc-meta { font-size: 13px; color: rgba(255, 255, 255, .5) !important; letter-spacing: 0.02em; }
.fc-trust { display: inline-flex; align-items: center; gap: 16px; margin-top: 32px; padding: 12px 20px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 999px; }
.fc-trust .stars { color: var(--accent); font-size: 13px; }
.fc-trust span { font-size: 13.5px; color: rgba(255, 255, 255, .75); }
.fc-trust strong { color: #fff; font-weight: 600; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.newsletter h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0 0 8px; letter-spacing: -0.025em; }
.newsletter p { color: var(--ink-4); margin: 0; max-width: 48ch; line-height: 1.6; }
.newsletter-form { display: flex; gap: 8px; max-width: 480px; margin-left: auto; }
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-family: var(--font-body);
}
.newsletter-form input:focus { border-color: var(--accent); outline: none; box-shadow: var(--ring); }
.newsletter-form button { padding: 14px 24px; font-weight: 600; }

/* ---------- Footer — premium multi-column ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .68); padding: 88px 0 36px; position: relative; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(40rem 24rem at 90% 0%, rgba(255, 107, 0, .08), transparent 55%);
  pointer-events: none;
}
.site-footer .container { position: relative; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.site-footer .brand,
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name span { color: var(--accent); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-tag { color: rgba(255, 255, 255, .65); font-size: 14.5px; line-height: 1.65; max-width: 38ch; margin: 0 0 20px; }
.footer-meta { font-size: 13px; color: rgba(255, 255, 255, .42); letter-spacing: -0.005em; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: rgba(255, 255, 255, .72); transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease); }
.footer-col a:hover { color: var(--accent); padding-left: 3px; }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  font-size: 13px; font-weight: 600;
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .03);
  transition: all var(--dur) var(--ease);
}
.footer-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .42);
  font-size: 13px;
}
.footer-bottom p { margin: 0; letter-spacing: -0.005em; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; }
.footer-menu a { color: rgba(255, 255, 255, .55); font-size: 13px; }
.footer-menu a:hover { color: #fff; }

/* ---------- Mobile sticky bar ---------- */
.mobile-sticky {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-sticky a {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 16px;
  font-size: 15px; font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.ms-call { background: var(--bg); color: var(--ink); border: 1px solid var(--line-2); }
.ms-cta { background: var(--accent); color: #fff; }
.ms-cta:hover { background: var(--accent-dark); color: #fff; }

/* ---------- Sticky desktop CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(140%);
  z-index: 88;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 10px 10px 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 107, 0, .15);
  transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur) var(--ease);
  opacity: 0;
  pointer-events: none;
}
.sticky-cta.visible { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.sticky-cta span { font-size: 14px; font-weight: 500; letter-spacing: -0.005em; }
.sticky-cta .btn { padding: 10px 18px; font-size: 13.5px; }
@media (max-width: 768px) { .sticky-cta { display: none; } }

/* ---------- AI assistant ---------- */
.ai-widget { position: fixed; bottom: 28px; right: 28px; z-index: 95; }
.ai-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 14px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.ai-toggle:hover { background: var(--accent); transform: translateY(-2px); }
.ai-panel {
  position: absolute;
  bottom: 64px; right: 0;
  width: min(400px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  max-height: 72vh;
  animation: ai-slide-in 240ms var(--ease-out);
}
.ai-panel[hidden] { display: none !important; }
@keyframes ai-slide-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ai-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: var(--surface); border-bottom: 1px solid var(--line); }
.ai-head-text strong { display: block; font-family: var(--font-display); font-size: 16px; color: var(--ink); font-weight: 600; letter-spacing: -0.015em; }
.ai-head-text span { display: block; font-size: 12px; color: var(--muted); }
.ai-close { background: transparent; border: none; width: 32px; height: 32px; font-size: 22px; color: var(--ink-3); line-height: 1; cursor: pointer; border-radius: 50%; transition: background var(--dur) var(--ease); }
.ai-close:hover { background: var(--surface-2); color: var(--ink); }
.ai-messages { flex: 1; padding: 18px 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.ai-msg { max-width: 85%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; word-wrap: break-word; }
.ai-msg p { margin: 0; }
.ai-msg--bot { background: var(--surface); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.ai-msg--user { background: var(--ink); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.ai-msg--typing { background: var(--surface); color: var(--muted); align-self: flex-start; font-style: italic; }
.ai-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 14px; }
.ai-suggest button { font-size: 12px; padding: 6px 12px; background: transparent; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-3); cursor: pointer; transition: all var(--dur) var(--ease); }
.ai-suggest button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.ai-form { display: flex; gap: 8px; padding: 14px 16px 16px; border-top: 1px solid var(--line); background: #fff; }
.ai-form input { flex: 1; padding: 11px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-family: var(--font-body); }
.ai-form input:focus { background: #fff; border-color: var(--accent); outline: none; box-shadow: var(--ring); }
.ai-form button { width: 40px; height: 40px; background: var(--ink); color: #fff; border: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--dur) var(--ease); }
.ai-form button:hover { background: var(--accent); }

/* ---------- Exit intent modal ---------- */
.exit-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(17, 17, 17, .58);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.exit-modal.visible { opacity: 1; pointer-events: auto; }
.exit-modal-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  max-width: 480px; width: 100%;
  padding: 40px;
  position: relative;
  transform: scale(.96);
  transition: transform var(--dur-slow) var(--ease-out);
}
.exit-modal.visible .exit-modal-card { transform: scale(1); }
.exit-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: transparent; border: none;
  border-radius: 50%;
  font-size: 22px; color: var(--muted);
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.exit-modal-close:hover { background: var(--surface); color: var(--ink); }
.exit-modal h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 12px; letter-spacing: -0.025em; }
.exit-modal p { color: var(--ink-4); margin: 0 0 24px; line-height: 1.6; }
.exit-modal .btn { margin: 0; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal--visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pc-fill { transition: none; width: var(--w); }
  .ai-panel, .exit-modal-card { animation: none; transform: none !important; }
  .audit-card { transform: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(64px, 9vw, 104px) 0 clamp(48px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(40rem 25rem at 90% 0%, rgba(255, 107, 0, .08), transparent 55%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin: 0; letter-spacing: -0.035em; }
.page-hero p { color: var(--ink-4); margin-top: 16px; font-size: 17px; max-width: 60ch; line-height: 1.6; }
.breadcrumb { font-family: var(--font-body); font-size: 13px; color: var(--muted); margin-bottom: 20px; letter-spacing: -0.005em; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; }

.entry { padding: clamp(56px, 7vw, 88px) 0; }
.entry-content { max-width: var(--container-narrow); margin: 0 auto; font-size: 17px; line-height: 1.7; color: var(--ink-3); }
.entry-content h2 { font-size: 1.8rem; margin: 1.8em 0 .6em; letter-spacing: -0.025em; }
.entry-content h3 { font-size: 1.35rem; margin: 1.6em 0 .5em; letter-spacing: -0.02em; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content a { color: var(--accent); border-bottom: 1px solid currentColor; }
.entry-content blockquote { border-left: 3px solid var(--accent); padding-left: 22px; margin: 1.4em 0; font-family: var(--font-display); font-size: 1.2em; color: var(--ink); font-weight: 500; letter-spacing: -0.02em; }
.entry-content img { border-radius: var(--radius-md); margin: 1.2em 0; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.entry-meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

.search-form { display: flex; gap: 8px; max-width: 480px; }
.search-form input[type="search"] { flex: 1; padding: 13px 18px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; font-size: 15px; }
.search-form button { padding: 13px 22px; background: var(--ink); color: #fff; border: none; border-radius: 999px; font-weight: 600; cursor: pointer; }

.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.post-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.post-card h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.02em; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { font-size: 14.5px; color: var(--ink-4); margin: 0; line-height: 1.6; }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.about-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px 22px; transition: border-color var(--dur) var(--ease); }
.about-stat:hover { border-color: var(--ink); }
.about-stat strong { display: block; font-family: var(--font-display); font-size: 30px; color: var(--accent); font-weight: 600; letter-spacing: -0.035em; }
.about-stat span { font-size: 13px; color: var(--ink-4); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.value:hover { border-color: var(--ink); transform: translateY(-4px); }
.value h3 { font-size: 20px; margin: 0 0 10px; letter-spacing: -0.02em; }
.value h3 em { color: var(--accent); font-style: normal; }
.value p { font-size: 14.5px; color: var(--ink-4); margin: 0; line-height: 1.6; }

/* ---------- Service detail page ---------- */
.service-hero {
  background: var(--surface);
  padding: clamp(48px, 6.5vw, 84px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.service-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40rem 26rem at 90% 0%, rgba(255, 107, 0, .08), transparent 55%); }
.service-hero .container { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.service-hero .breadcrumb { margin-bottom: 20px; }
.service-hero h1 { font-size: clamp(2rem, 3.8vw, 3rem); margin: 0 0 20px; letter-spacing: -0.035em; }
.service-hero .lede { font-size: 18px; margin-bottom: 32px; max-width: 50ch; }
.service-features {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.service-features h3 { font-size: 17px; margin: 0 0 18px; letter-spacing: -0.02em; }
.service-features ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.service-features li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); align-items: flex-start; line-height: 1.5; }
.service-features svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

.service-process { background: var(--bg); padding: clamp(48px, 6.5vw, 84px) 0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-step { padding: 28px; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.process-step:hover { border-color: var(--ink); transform: translateY(-3px); }
.process-step .ps-num { font-family: var(--font-display); font-weight: 600; font-size: 38px; color: var(--accent); line-height: 1; margin-bottom: 12px; letter-spacing: -0.04em; }
.process-step h4 { font-size: 16.5px; margin: 0 0 8px; letter-spacing: -0.015em; }
.process-step p { font-size: 13.5px; color: var(--ink-4); margin: 0; line-height: 1.55; }

.service-benefits { background: var(--surface); padding: clamp(48px, 6.5vw, 84px) 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.benefit:hover { border-color: var(--ink); transform: translateY(-4px); }
.benefit-icon {
  display: inline-flex; width: 44px; height: 44px;
  background: var(--ink); color: var(--accent);
  border-radius: 12px;
  align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.benefit h4 { font-size: 17px; margin: 0 0 8px; letter-spacing: -0.02em; }
.benefit p { font-size: 14.5px; color: var(--ink-4); margin: 0; line-height: 1.6; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-block {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur) var(--ease);
}
.contact-block:hover { border-color: var(--ink); }
.contact-block .cb-icon { display: inline-flex; width: 44px; height: 44px; background: var(--ink); color: var(--accent); border-radius: 12px; align-items: center; justify-content: center; margin-bottom: 14px; }
.contact-block h4 { font-size: 17.5px; margin: 0 0 8px; letter-spacing: -0.02em; }
.contact-block p { color: var(--ink-4); font-size: 14.5px; margin: 0 0 6px; line-height: 1.55; }
.contact-block a { color: var(--accent); font-weight: 600; }

/* ---------- Case study card ---------- */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.case-card:hover { transform: translateY(-6px); border-color: var(--ink); box-shadow: var(--shadow-md); }
.case-pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-dark); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; align-self: flex-start; }
.case-card h3 { font-size: 21px; margin: 0 0 10px; letter-spacing: -0.025em; }
.case-card p { color: var(--ink-4); font-size: 14.5px; margin: 0 0 18px; flex: 1; line-height: 1.6; }
.case-numbers { display: flex; gap: 22px; padding-top: 18px; border-top: 1px solid var(--line); margin-bottom: 18px; flex-wrap: wrap; }
.case-num { display: flex; flex-direction: column; }
.case-num strong { font-family: var(--font-display); font-size: 24px; color: var(--accent); font-weight: 600; letter-spacing: -0.03em; }
.case-num span { font-size: 12px; color: var(--muted); }
.case-card .sc-foot { color: var(--ink); font-weight: 600; font-size: 13.5px; align-self: flex-start; transition: color var(--dur) var(--ease), gap var(--dur) var(--ease); }
.case-card:hover .sc-foot { color: var(--accent); gap: 10px; }

/* ---------- 404 ---------- */
.notfound { padding: clamp(96px, 14vw, 160px) 0; text-align: center; }
.notfound h1 { font-family: var(--font-display); font-size: clamp(4.5rem, 14vw, 9rem); color: var(--accent); margin: 0; letter-spacing: -0.05em; line-height: 1; font-weight: 600; }
.notfound h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 12px 0 18px; letter-spacing: -0.025em; }
.notfound p { color: var(--ink-4); margin-bottom: 32px; line-height: 1.6; }

/* ==========================================================================
   Responsive — intentional mobile design, not stacked desktop
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .audit-card { margin: 0 auto; max-width: 480px; }
  .shift-grid, .audit-grid, .proof-grid, .about-grid, .contact-grid, .service-hero .container, .newsletter-grid { grid-template-columns: 1fr; }
  .audit-form-wrap { position: static; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .trust-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .values-grid, .benefits-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid, .how .steps { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form { margin: 0; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  body { font-size: 15.5px; line-height: 1.6; }
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-wrap { height: 64px; gap: 12px; }
  .nav-actions { gap: 8px; margin-left: auto; }

  /* Intentional mobile type system — not just shrunk */
  .display { font-size: clamp(2.2rem, 10vw, 3.2rem); line-height: 1.06; letter-spacing: -0.03em; }
  .section-head h2 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .lede { font-size: 1rem; }

  .section { padding: 44px 0; }
  .section--tight { padding: 32px 0; }
  .hero { padding: 40px 0 64px; }

  .hero-cta { width: 100%; flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; padding: 16px 22px; }
  .hero-trust { padding-top: 22px; }
  .audit-card { transform: none; max-width: 100%; }
  .hero-metrics { grid-template-columns: 1fr; gap: 16px; margin-top: 26px; padding-top: 22px; }
  .hm-item { flex-direction: row; align-items: baseline; gap: 12px; }
  .hm-num { font-size: 1.45rem; flex: 0 0 auto; min-width: 54px; }
  .hm-label { max-width: none; }

  .services-grid, .case-grid, .values-grid, .benefits-grid, .how .steps { grid-template-columns: 1fr; gap: 14px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid, .trust-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }

  .mobile-sticky { display: flex; }
  body { padding-bottom: 76px; }

  .ai-widget { bottom: 84px; right: 16px; }
  .ai-toggle-label { display: none; }
  .ai-toggle { padding: 14px; }
  .ai-panel { bottom: 64px; right: -8px; width: calc(100vw - 32px); }

  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 14px 16px; }

  .audit-form { padding: 28px; border-radius: var(--radius-lg); }
  .testimonial { padding: 24px; }
  .step { padding: 28px 24px; }
  .step-num { font-size: 48px; }
  .service-card { padding: 28px 24px 30px; }

  /* Mobile-specific touch target sizing */
  .btn { padding: 14px 22px; min-height: 48px; }
  .btn-sm { padding: 10px 16px; min-height: 40px; }
  .service-card, .case-card { min-height: 0; }

  .page-hero { padding: 48px 0 32px; }
  .page-hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
}

@media (max-width: 480px) {
  .stats-grid, .trust-grid, .footer-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .nav-actions .phone-link { display: none; }
  .case-numbers { gap: 16px; }
  .container { padding: 0 18px; }
  .gutter { --gutter: 18px; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .mobile-sticky, .ai-widget, .sticky-cta, .exit-modal, .audit-form-wrap, .hero-bg, .final-cta::before, .final-cta::after { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 24px 0; page-break-inside: avoid; }
}

/* ==========================================================================
   v3.0.2 — Additions: stars layout, image utils, reveal-stagger,
   related-services, mobile chat refinements, micro-breakpoints
   ========================================================================== */

/* Star rating layout (works with the SVG star icon) */
.stars { display: inline-flex; align-items: center; gap: 1px; color: var(--accent); line-height: 0; }
.stars svg { display: block; }
.hero-trust .stars { gap: 2px; }

/* Image utilities */
.media,
.entry-content figure,
.entry-content .wp-block-image {
  margin: 1.6em 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.media img,
.entry-content figure img,
.entry-content .wp-block-image img {
  width: 100%; height: auto; display: block; object-fit: cover;
}
.media--rounded { border-radius: var(--radius-xl); }
.media--frame { padding: 8px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.media--shadow { box-shadow: var(--shadow-md); }
figure figcaption,
.wp-block-image figcaption {
  font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; letter-spacing: -0.005em;
}
.aspect-16-9 { aspect-ratio: 16 / 9; }
.aspect-4-3  { aspect-ratio: 4 / 3; }
.aspect-1-1  { aspect-ratio: 1 / 1; }

.featured-media {
  margin: clamp(28px, 4vw, 56px) 0 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: relative;
}
.featured-media img { width: 100%; height: auto; display: block; }

/* Reveal-stagger for grids of cards */
.services-grid .reveal:nth-child(1) { --reveal-delay: 0ms; }
.services-grid .reveal:nth-child(2) { --reveal-delay: 80ms; }
.services-grid .reveal:nth-child(3) { --reveal-delay: 160ms; }
.services-grid .reveal:nth-child(4) { --reveal-delay: 240ms; }
.services-grid .reveal:nth-child(5) { --reveal-delay: 320ms; }
.services-grid .reveal:nth-child(6) { --reveal-delay: 400ms; }
.case-grid .reveal:nth-child(even)  { --reveal-delay: 100ms; }
.benefits-grid .reveal:nth-child(2) { --reveal-delay: 80ms; }
.benefits-grid .reveal:nth-child(3) { --reveal-delay: 160ms; }

/* Related services strip (internal linking) */
.related-services { background: var(--surface); padding: clamp(64px, 9vw, 96px) 0; border-top: 1px solid var(--line); }
.related-services .section-head { margin-bottom: clamp(32px, 5vw, 48px); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  text-decoration: none; color: inherit;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.related-card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: var(--shadow); color: inherit; }
.related-card .rc-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--ink); color: #fff; border-radius: 9px; margin-bottom: 14px; transition: background var(--dur) var(--ease); }
.related-card:hover .rc-icon { background: var(--accent); }
.related-card h4 { font-size: 16.5px; margin: 0 0 6px; letter-spacing: -0.015em; color: var(--ink); }
.related-card p  { font-size: 13.5px; color: var(--ink-4); margin: 0 0 14px; line-height: 1.55; flex: 1; }
.related-card .rc-foot { font-size: 13px; color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; transition: color var(--dur) var(--ease), gap var(--dur) var(--ease); }
.related-card:hover .rc-foot { color: var(--accent); gap: 8px; }
@media (max-width: 1024px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .related-grid { grid-template-columns: 1fr; } }

/* Mobile chat widget — better small-screen UX */
@media (max-width: 480px) {
  .ai-widget { bottom: 80px; right: 12px; }
  .ai-panel {
    position: fixed;
    inset: 12px 12px 80px 12px;
    width: auto;
    max-height: none;
    border-radius: var(--radius-lg);
  }
}

/* Micro-breakpoint: 375px and below (iPhone SE / mini phones) */
@media (max-width: 374px) {
  .container { padding: 0 14px; }
  .display { font-size: 2rem; line-height: 1.08; }
  .section-head h2 { font-size: 1.6rem; }
  .hero { padding: 32px 0 56px; }
  .hero-pill { font-size: 11.5px; }
  .hero-pill span.new { font-size: 9.5px; padding: 3px 7px; }
  .nav-wrap { gap: 8px; }
  .brand-name { font-size: 17px; }
  .nav-btn { padding: 8px 12px; font-size: 12.5px; }
  .audit-form { padding: 20px; }
  .ff input, .ff select, .ff textarea { padding: 11px 14px; font-size: 14.5px; }
  .stats-grid { gap: 14px; }
  .stat-num { font-size: 2.2rem; }
  .mobile-sticky a { padding: 12px 10px; font-size: 14px; }
  .ms-call span { display: none; }
}

/* Wide-display refinements (1440px+) */
@media (min-width: 1440px) {
  :root { --container: 1240px; }
  .display { font-size: clamp(3rem, 5.6vw, 5.4rem); }
  .stats-head h2, .section-head h2 { font-size: clamp(2.2rem, 3.4vw, 3.2rem); }
  .hero { padding: clamp(96px, 10vw, 152px) 0 clamp(112px, 12vw, 184px); }
}

@media (min-width: 1920px) {
  :root { --container: 1280px; }
}

@media (prefers-reduced-motion: reduce) {
  .related-card, .featured-media, .stars svg { transition: none !important; transform: none !important; }
}

/* ==========================================================================
   v3.1.0 additions
   ========================================================================== */

/* Service hero illustration + features stacked aside */
.service-aside { display: flex; flex-direction: column; gap: 18px; }
.service-hero-media {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
  aspect-ratio: 3 / 2;
}
.service-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1024px) { .service-hero-media { aspect-ratio: 16 / 9; } }

/* Premium audit form layout (v3.1 — matches new copy) */
.audit-left .audit-bullets {
  list-style: none; padding: 0; margin: 22px 0 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.audit-left .audit-bullets li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15.5px; color: var(--ink-2); line-height: 1.5;
}
.audit-left .audit-bullets .ab-num {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: var(--ink); color: #fff;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 1px;
}
.audit-left .audit-bullets li:hover .ab-num { background: var(--accent); }

/* Contact page premium layout (v3.1) */
.contact-hero { background: var(--surface); padding: clamp(64px, 9vw, 112px) 0 clamp(40px, 5vw, 56px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.contact-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40rem 24rem at 88% -5%, rgba(255,107,0,.10), transparent 55%); pointer-events: none; }
.contact-hero .container { position: relative; max-width: 880px; }
.contact-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 0 0 16px; letter-spacing: -0.035em; }
.contact-hero .lede { font-size: 18px; max-width: 56ch; }
.contact-wrap { padding: clamp(56px, 7vw, 96px) 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-channels { display: flex; flex-direction: column; gap: 14px; }
.contact-channel {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.contact-channel:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.contact-channel .cc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: var(--ink); color: var(--accent);
  border-radius: 12px;
  transition: background var(--dur) var(--ease);
}
.contact-channel:hover .cc-icon { background: var(--accent); color: #fff; }
.contact-channel h3 { font-size: 16px; margin: 0 0 4px; letter-spacing: -0.015em; color: var(--ink); }
.contact-channel .cc-value { font-size: 17px; font-weight: 600; color: var(--ink); margin: 0 0 4px; letter-spacing: -0.015em; word-break: break-word; }
.contact-channel .cc-value a { color: var(--ink); border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.contact-channel .cc-value a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.contact-channel p { font-size: 13.5px; color: var(--ink-4); margin: 0; line-height: 1.55; }
.contact-promise {
  margin-top: 14px;
  padding: 18px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-promise .cp-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: rgba(255,107,0,.15); color: var(--accent); border-radius: 8px; flex-shrink: 0; }
.contact-promise h4 { color: #fff; margin: 0 0 4px; font-size: 14.5px; letter-spacing: -0.01em; }
.contact-promise p { color: rgba(255,255,255,.65); font-size: 13px; margin: 0; line-height: 1.5; }
.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.contact-form-card h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 0 0 6px; letter-spacing: -0.025em; }
.contact-form-card .cf-lede { font-size: 14.5px; color: var(--ink-4); margin: 0 0 22px; line-height: 1.55; }
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form-card { position: static; }
}

/* Case studies (empty-state SEO content) */
.cs-intro { padding: clamp(72px, 9vw, 112px) 0; }
.cs-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.cs-intro-grid h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0 0 16px; letter-spacing: -0.03em; }
.cs-intro-grid p { color: var(--ink-4); margin: 0 0 16px; line-height: 1.65; }
.cs-intro-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 36px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.cs-intro-card .stat-box {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}
.cs-intro-card .stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px; font-weight: 600; color: var(--accent);
  letter-spacing: -0.035em; line-height: 1;
  margin-bottom: 6px;
}
.cs-intro-card .stat-box span { font-size: 13px; color: var(--ink-4); line-height: 1.4; }
@media (max-width: 768px) {
  .cs-intro-grid { grid-template-columns: 1fr; }
  .cs-intro-card { grid-template-columns: 1fr 1fr; }
}

.cs-industries { background: var(--surface); padding: clamp(72px, 9vw, 112px) 0; }
.cs-industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cs-industry {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cs-industry:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); }
.cs-industry .ci-tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--accent-soft);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.cs-industry h3 { font-size: 18px; margin: 0 0 10px; letter-spacing: -0.02em; }
.cs-industry p { font-size: 14px; color: var(--ink-4); margin: 0 0 14px; line-height: 1.55; }
.cs-industry .ci-result { font-size: 13.5px; color: var(--ink); font-weight: 600; display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--line); }
.cs-industry .ci-result svg { color: var(--accent); }
@media (max-width: 1024px) { .cs-industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .cs-industries-grid { grid-template-columns: 1fr; } }

.cs-method { padding: clamp(72px, 9vw, 112px) 0; }
.cs-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cs-step {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.cs-step .cs-num {
  font-family: var(--font-display); font-weight: 600;
  color: var(--accent); font-size: 32px; line-height: 1;
  letter-spacing: -0.04em; margin-bottom: 14px;
}
.cs-step h4 { font-size: 17px; margin: 0 0 8px; letter-spacing: -0.02em; }
.cs-step p { font-size: 14px; color: var(--ink-4); margin: 0; line-height: 1.55; }
@media (max-width: 1024px) { .cs-method-grid { grid-template-columns: 1fr; } }

/* Premium blog post layout */
.post-body .entry-content { font-size: 17px; line-height: 1.78; }
.post-body .entry-content > p:first-of-type { font-size: 19px; line-height: 1.65; color: var(--ink-2); letter-spacing: -0.005em; }
.post-body .entry-content p { margin: 0 0 1.3em; }
.post-meta-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  margin-bottom: 14px;
  font-size: 13px; color: var(--muted);
}
.post-meta-strip .pm-author { display: inline-flex; align-items: center; gap: 8px; }
.post-meta-strip .pm-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--ink));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px;
}
.post-meta-strip .pm-sep { color: var(--line-2); }
.post-meta-strip strong { color: var(--ink); font-weight: 600; }
.post-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line); align-items: center; }
.post-share span { font-size: 13px; color: var(--muted); margin-right: 6px; }
.post-share a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13px; font-weight: 600;
  transition: all var(--dur) var(--ease);
}
.post-share a:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-1px); }

.post-author-card {
  margin: 56px 0 0;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: start;
}
.post-author-card .pa-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--ink));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 22px;
  letter-spacing: -0.02em;
}
.post-author-card h4 { font-size: 16px; margin: 0 0 4px; letter-spacing: -0.015em; }
.post-author-card .pa-meta { font-size: 13px; color: var(--muted); margin: 0 0 8px; letter-spacing: -0.005em; }
.post-author-card p { font-size: 14.5px; color: var(--ink-4); margin: 0; line-height: 1.6; }

.related-posts { background: var(--surface); padding: clamp(64px, 9vw, 96px) 0; border-top: 1px solid var(--line); margin-top: clamp(56px, 8vw, 96px); }
.related-posts-head { margin-bottom: 28px; }
.related-posts-head h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 0; letter-spacing: -0.025em; }
.related-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1024px) { .related-posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .related-posts-grid { grid-template-columns: 1fr; } }

/* Premium comments */
.comments-section {
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.comments-section h2.comments-title { font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 0 0 28px; letter-spacing: -0.025em; }
.commentlist { list-style: none; padding: 0; margin: 0 0 48px; display: flex; flex-direction: column; gap: 18px; }
.commentlist .comment,
.commentlist .pingback {
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.commentlist .children { list-style: none; padding: 18px 0 0 32px; margin: 16px 0 0; border-left: 2px solid var(--line); }
.comment-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.comment-meta .avatar { border-radius: 50%; }
.comment-author { font-weight: 600; color: var(--ink); font-size: 14.5px; letter-spacing: -0.005em; }
.comment-author cite { font-style: normal; }
.comment-metadata { font-size: 12.5px; color: var(--muted); }
.comment-metadata a { color: var(--muted); }
.comment-content { font-size: 15px; color: var(--ink-3); line-height: 1.65; margin-bottom: 12px; }
.comment-content p { margin: 0 0 0.8em; }
.comment-content p:last-child { margin: 0; }
.reply { margin: 0; }
.reply .comment-reply-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  transition: all var(--dur) var(--ease);
}
.reply .comment-reply-link:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.comment-respond {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.comment-respond h3.comment-reply-title { font-size: 1.4rem; margin: 0 0 8px; letter-spacing: -0.025em; }
.comment-respond .comment-notes { font-size: 13.5px; color: var(--ink-4); margin: 0 0 22px; }
.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form label { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 6px; letter-spacing: -0.005em; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  display: block; width: 100%;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: 15px; font-family: var(--font-body); color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--accent); outline: none; box-shadow: var(--ring); }
.comment-form-author, .comment-form-email, .comment-form-url { display: block; }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 10px; }
.comment-form-cookies-consent label { font-weight: 400; font-size: 13.5px; color: var(--ink-4); margin: 0; line-height: 1.45; }
.comment-form .form-submit { margin: 8px 0 0; }
.comment-form .form-submit input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  background: var(--ink); color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.comment-form .form-submit input[type="submit"]:hover { background: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-accent); }

/* v3.1.3 — loading state for form-submit buttons */
.btn-loading { opacity: 0.75; cursor: wait; }
.btn-loading svg { display: none; }
.btn-loading::after {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  margin-left: 8px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: indexai-spin 0.7s linear infinite;
}
@keyframes indexai-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-loading::after { animation: none; border-top-color: currentColor; opacity: 0.4; }
}

/* ==========================================================================
   v3.1.4 — Responsive Fixes & Homepage Image Placeholder System
   Fixes: compare-table overflow, hero image placeholder, shift-visual gap,
   proof section stack, logo strip overflow, newsletter mobile, FAQ mobile,
   stats heading alignment, audit form stack, footer-grid 3-col edge case.
   ========================================================================== */

/* ---- 1. Compare table: horizontal scroll on small screens ---- */
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.compare-wrap .compare-table {
  min-width: 640px;
  box-shadow: none;
  border-radius: 0;
}

/* Fade hint so users know table scrolls */
@media (max-width: 768px) {
  .compare-wrap {
    position: relative;
  }
  .compare-wrap::after {
    content: "";
    position: sticky;
    right: 0;
    top: 0;
    display: block;
    width: 32px;
    height: 100%;
    background: linear-gradient(to left, rgba(255,255,255,.9), transparent);
    pointer-events: none;
    float: right;
    margin-top: -100%;
  }
}

/* ---- 2. Hero placeholder image system ---- */
/* 
  Usage: wrap your hero visual area in .hero-image-frame
  The placeholder shows until a real <img> is placed inside.
  Replace placeholder by adding: <img src="YOUR-IMAGE.jpg" alt="..."> inside .hero-image-frame
*/
.hero-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Placeholder shown when no img child is present */
.hero-image-frame:not(:has(img))::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
}
.hero-image-frame:not(:has(img))::after {
  content: "[ Hero image — replace with real photo ]";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 20px;
}

/* Section image frames (reusable for shift section, proof section etc.) */
.section-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.section-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.section-image-frame--team   { aspect-ratio: 16 / 9; }
.section-image-frame--square { aspect-ratio: 1 / 1; }
.section-image-frame--portrait { aspect-ratio: 3 / 4; }
/* Placeholder state */
.section-image-frame:not(:has(img)) {
  min-height: 240px;
}
.section-image-frame:not(:has(img))::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 20px;
  text-align: center;
}

/* ---- 3. Shift section: visual gap on 768–1024 ---- */
@media (max-width: 1024px) {
  .shift-grid { gap: clamp(28px, 4vw, 48px); }
  .search-mockup { margin: 0 auto; max-width: 480px; }
}
@media (max-width: 768px) {
  .search-mockup { max-width: 100%; }
  /* Shift visual stacks above text on mobile */
  .shift-grid { display: flex; flex-direction: column-reverse; gap: 28px; }
  .shift-visual { width: 100%; }
}

/* ---- 4. Proof section: chart and testimonials stack ---- */
@media (max-width: 768px) {
  .proof-grid { display: flex; flex-direction: column; gap: 24px; }
  .proof-chart { width: 100%; }
  .testimonials { width: 100%; }
}

/* ---- 5. Logo strip: prevent wrapping issues on very small screens ---- */
@media (max-width: 480px) {
  .logos-row {
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .logos-row .logo-item {
    font-size: 13px;
    white-space: normal;
  }
}

/* ---- 6. Newsletter section: form stacks properly on mobile ---- */
@media (max-width: 640px) {
  .newsletter-form {
    flex-direction: column;
    max-width: 100%;
    margin: 0;
  }
  .newsletter-form input { width: 100%; }
  .newsletter-form button { width: 100%; justify-content: center; }
}

/* ---- 7. FAQ: reduce padding on mobile ---- */
@media (max-width: 480px) {
  .faq-item { padding: 18px 16px; }
  .faq-q { font-size: 15.5px; }
  .faq-a { font-size: 14.5px; }
}

/* ---- 8. Stats band heading: fix misalignment on 768px edge ---- */
@media (max-width: 768px) {
  .stats-head { text-align: center; margin-bottom: 32px; }
  .stats-head h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
}

/* ---- 9. Audit form: better spacing when stacked on tablet ---- */
@media (max-width: 1024px) {
  .audit-grid { gap: 40px; }
  .audit-form-wrap { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) {
  .audit-left .audit-promise {
    font-size: 14px;
    padding: 14px 16px;
  }
}

/* ---- 10. Footer grid: fix 3-col at 768–1024 edge ---- */
@media (max-width: 860px) and (min-width: 769px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---- 11. Mobile sticky bar: ensure it clears content properly ---- */
@media (max-width: 768px) {
  .mobile-sticky {
    z-index: 100;
    box-shadow: 0 -2px 16px rgba(0,0,0,.10);
  }
}

/* ---- 12. Service cards: fix 2-col layout at 640px edge (gap between 640-768) ---- */
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---- 13. Process steps: fix orphan on odd-count at 768px ---- */
@media (max-width: 768px) and (min-width: 481px) {
  .how .steps li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* ---- 14. Trust grid: fix 2x2 layout on medium phones ---- */
@media (max-width: 640px) and (min-width: 481px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- 15. General img safety net (catches any un-styled img tags) ---- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* ---- Hero visual: image frame + audit card stacked layout ---- */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-image-frame {
  width: 100%;
}
/* On desktop, image frame gets a max height to keep proportions */
@media (min-width: 1025px) {
  .hero-image-frame {
    max-height: 260px;
    aspect-ratio: 16 / 7;
  }
}
/* Audit card stays at full width below image */
.hero-visual .audit-card {
  margin: 0;
  max-width: 100%;
}
/* If no image: audit card reverts to standalone centered treatment */
.hero-visual:not(:has(.hero-image-frame img)):not(:has(.hero-image-frame + .audit-card)) .audit-card {
  margin-left: auto;
  max-width: 460px;
}

