/* ============================================
   Saddle Up AI — Design System
   ============================================ */

:root {
  /* Color — warm contractor agency palette (Duke & Buck) */
  --bg: #14100c;
  --bg-deep: #0e0a07;
  --bg-elev: #1f1812;
  --bg-elev-2: #2a2118;
  --bg-card: #221b14;
  --text: #f7f0e4;
  --text-muted: #b8a894;
  --text-dim: #8a7a66;
  --accent: #de8a4a;
  --accent-hover: #c67438;
  --accent-neon: #f0a06a;
  --accent-rgb: 222, 138, 74;
  --accent-hover-rgb: 198, 116, 56;
  --accent-soft: rgba(var(--accent-rgb), 0.14);
  --accent-glow: rgba(var(--accent-rgb), 0.38);
  --accent-glow-soft: rgba(var(--accent-rgb), 0.1);
  --gold: #d4a84b;
  --gold-soft: rgba(212, 168, 75, 0.16);
  --tan: #c4a574;
  --tan-soft: rgba(196, 165, 116, 0.14);
  --danger: #e85d4a;
  --danger-soft: rgba(232, 93, 74, 0.12);
  --warn: #e6a23a;
  --warn-soft: rgba(230, 162, 58, 0.14);
  --border: rgba(212, 168, 75, 0.1);
  --border-strong: rgba(212, 168, 75, 0.18);
  --overlay-dark: rgba(20, 16, 12, 0.82);
  --overlay-hero: rgba(20, 16, 12, 0.68);
  --header-bg: rgba(20, 16, 12, 0.88);
  --header-bg-scrolled: rgba(14, 10, 7, 0.96);
  --selection-fg: #1a1008;

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================ Reset ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

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

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(var(--accent-rgb), 0.35); border-radius: 10px; border: 2px solid var(--bg-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
* { scrollbar-color: rgba(var(--accent-rgb), 0.35) var(--bg-deep); scrollbar-width: thin; }

/* Selection */
::selection { background: var(--accent); color: var(--selection-fg); }

/* Focus */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ============================================ Typography ============================================ */
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); letter-spacing: -0.035em; font-weight: 900; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--text-muted); }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--text-muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 100px;
}
.eyebrow.gold { color: var(--gold); background: var(--gold-soft); border-color: rgba(212, 168, 75, 0.32); }
.eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); letter-spacing: -0.01em; }

/* ============================================ Layout ============================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 60px 0; }
.section-dark { background: var(--bg-deep); }
.section-fade { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.section-fade.is-visible { opacity: 1; transform: none; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}

.section-heading { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-heading h2 { line-height: 1.25; margin-bottom: 0.15em; }
.section-heading p { margin-top: 18px; font-size: 1.1rem; }

/* ============================================ Header ============================================ */
header.site,
.site-header {
  --header-bar: 88px;
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  padding: 0;
  min-height: var(--header-bar);
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.65) inset,
    0 4px 20px rgba(0, 0, 0, 0.28);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
header.site.is-scrolled,
.site-header.is-scrolled {
  background: var(--header-bg-scrolled);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.85) inset,
    0 8px 32px rgba(0, 0, 0, 0.35);
  border-bottom-color: var(--border-strong);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: var(--header-bar);
  padding: 16px 0;
  transition: padding 0.35s ease;
}
header.site.is-scrolled .header-row,
.site-header.is-scrolled .header-row {
  padding: 10px 0;
}
.site-header .container.header-row { display: flex; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; position: relative; z-index: 1; }
header.site .brand,
.site-header .brand {
  position: relative;
  width: 220px;
  height: 60px;
  display: inline-block;
  overflow: visible;
  flex-shrink: 0;
  padding: 0;
  min-height: 0;
}
header.site .brand-logo,
.site-header .brand-logo {
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: -10px;
  transform: translateY(-50%);
  z-index: 2;
}
/* Mascot mark — sharp layer only; ambient glow via ::before + drop-shadow (logo stays opacity 1) */
.brand-logo-mark-stack {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: calc(100% - 8px);
  aspect-ratio: 1 / 1;
  width: auto;
  pointer-events: none;
  z-index: 2;
  isolation: isolate;
}
.brand-logo-mark-stack::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  width: 72%;
  height: 66%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 62%,
    rgba(var(--accent-rgb), 0.1) 0%,
    rgba(var(--accent-rgb), 0.04) 42%,
    transparent 72%
  );
  z-index: 0;
  pointer-events: none;
  filter: blur(16px);
  opacity: 0.85;
}
.brand-logo-mark-stack .brand-logo--mark-glow {
  display: none;
}
.brand-logo-mark-stack .brand-logo--mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  border: none;
  box-shadow: none;
  left: auto;
  top: auto;
  transform: none;
  z-index: 1;
  opacity: 1 !important;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}
header.site .brand-logo--mark,
.site-header .brand-logo--mark {
  aspect-ratio: 1 / 1;
  height: calc(100% - 8px);
  width: auto;
  left: 50%;
  transform: translate(-50%, -50%);
  object-position: center center;
  background: transparent;
  border: none;
  box-shadow: none;
}
header.site .brand-logo--lockup,
.site-header .brand-logo--lockup {
  aspect-ratio: 1500 / 280;
  height: calc(100% - 8px);
  width: auto;
  opacity: 1;
}
/* Home: wordmark always in nav; horse mark lives in hero only */
body.home .brand .brand-logo-mark-stack {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
body.home .brand .brand-logo--lockup {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
body:not(.home) .brand-logo-mark-stack {
  display: none !important;
}
@media (max-width: 900px) {
  header.site .container.header-row,
  .site-header .container.header-row {
    padding-left: max(15px, env(safe-area-inset-left, 0px));
    padding-right: max(15px, env(safe-area-inset-right, 0px));
  }
  header.site .brand,
  .site-header .brand {
    padding-left: 0;
  }
  header.site .brand-logo,
  .site-header .brand-logo {
    left: 0;
  }
  header.site .brand-logo--lockup,
  .site-header .brand-logo--lockup {
    left: 0;
    object-position: left center;
  }
}
@media (max-width: 600px) {
  header.site .brand,
  .site-header .brand {
    width: 140px;
    height: 50px;
  }
  header.site .brand-logo-mark-stack,
  .site-header .brand-logo-mark-stack {
    left: 50%;
  }
  header.site .brand-logo--mark,
  .site-header .brand-logo--mark {
    left: 50%;
  }
}
.brand-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.45);
  position: relative;
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-text { line-height: 1.05; }
.brand-name { font-weight: 800; letter-spacing: -0.02em; font-size: 1.05rem; }
.brand-sub { color: var(--text-dim); font-size: 0.7rem; letter-spacing: 0.04em; }

.nav { display: flex; align-items: center; gap: 4px; position: relative; z-index: 10; }
.nav a {
  padding: 8px 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  font-weight: 500;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav a.is-active { color: var(--accent); }

.nav-cta { display: flex; align-items: center; gap: 12px; position: relative; z-index: 10; }

.hamburger {
 --ham-size: 44px;
 display: none;
 position: relative;
 width: var(--ham-size);
 height: var(--ham-size);
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 5px;
 padding: 0;
 border-radius: 10px;
 background: #14100c;
 border: 1px solid rgba(var(--accent-rgb), 0.55);
 box-shadow:
  0 0 0 1px rgba(0, 0, 0, 0.85) inset,
  0 0 18px rgba(var(--accent-rgb), 0.22),
  0 4px 14px rgba(0, 0, 0, 0.45);
 transition:
  border-color 0.25s var(--ease),
  box-shadow 0.25s var(--ease),
  transform 0.2s var(--ease);
}
.hamburger::before {
 content: '';
 position: absolute;
 inset: 3px;
 border-radius: 7px;
 border: 1px solid rgba(var(--accent-rgb), 0.12);
 pointer-events: none;
}
.hamburger:hover {
 border-color: var(--accent-neon);
 box-shadow:
  0 0 0 1px rgba(0, 0, 0, 0.85) inset,
  0 0 26px rgba(var(--accent-rgb), 0.42),
  0 0 48px rgba(var(--accent-hover-rgb), 0.14),
  0 6px 18px rgba(0, 0, 0, 0.5);
 transform: translateY(-1px);
}
.hamburger:active { transform: translateY(0); }
.hamburger:focus-visible {
 outline: 2px solid var(--accent-neon);
 outline-offset: 3px;
}
.hamburger span {
 display: block;
 width: 20px;
 height: 2.5px;
 margin: 0;
 flex-shrink: 0;
 border-radius: 2px;
 background: linear-gradient(90deg, var(--accent) 0%, var(--accent-neon) 55%, var(--accent) 100%);
 box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.75), 0 0 2px rgba(var(--accent-rgb), 0.9);
 transition: transform 0.32s var(--ease), opacity 0.2s, box-shadow 0.25s, top 0.32s var(--ease), left 0.32s var(--ease);
 transform-origin: center center;
}
.hamburger.is-open {
 border-color: var(--accent-neon);
 background: #030304;
 box-shadow:
  0 0 0 1px rgba(var(--accent-rgb), 0.2) inset,
  0 0 30px rgba(var(--accent-rgb), 0.5),
  0 0 60px rgba(var(--accent-hover-rgb), 0.18);
 gap: 0;
}
.hamburger:hover span {
 box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.95), 0 0 3px rgba(var(--accent-rgb), 1);
}
.hamburger.is-open span {
 position: absolute;
 top: 50%;
 left: 50%;
 margin: 0;
 background: var(--accent-neon);
 box-shadow: 0 0 14px rgba(var(--accent-rgb), 1), 0 0 4px rgba(var(--accent-rgb), 1);
}
.hamburger.is-open span:nth-child(1) {
 transform: translate(-50%, -50%) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
 opacity: 0;
 transform: translate(-50%, -50%) scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
 transform: translate(-50%, -50%) rotate(-45deg);
}

/* Mobile menu open — sit above hero, morph overlays (z 111+), sticky CTA */
body.menu-open header.site,
body.menu-open .site-header {
  z-index: 500;
}
body.menu-open .header-row {
  position: relative;
  z-index: 2;
}
body.menu-open .nav-cta {
  position: relative;
  z-index: 3;
}
body.menu-open .sticky-mobile-cta {
  display: none !important;
}
body.menu-open .hamburger.is-open {
  animation: hamburgerPulse 0.55s ease 0.15s 2;
}
@keyframes hamburgerPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.5), 0 0 60px rgba(var(--accent-hover-rgb), 0.18); }
  50% { box-shadow: 0 0 42px rgba(var(--accent-rgb), 0.75), 0 0 80px rgba(var(--accent-hover-rgb), 0.28); }
}

@media (max-width: 900px) {
  .hamburger { display: flex; z-index: 4; }
  .nav, .nav-cta .btn, .nav-cta .btn-call { display: none; }
  .nav.is-mobile-open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: min-content;
    align-content: start;
    position: fixed;
    top: var(--header-h, 70px);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100dvh - var(--header-h, 70px));
    height: calc(100vh - var(--header-h, 70px));
    flex-direction: unset;
    isolation: isolate;
    background:
      linear-gradient(180deg, rgba(14, 16, 20, 0.99) 0%, rgba(8, 10, 12, 1) 40%, rgba(4, 6, 5, 1) 100%);
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    padding:
      28px 20px
      max(12px, env(safe-area-inset-bottom, 0px))
      max(15px, env(safe-area-inset-left, 0px));
    padding-right: max(15px, env(safe-area-inset-right, 0px));
    gap: 0;
    border: 0;
    border-top: 3px solid rgba(var(--accent-rgb), 0.6);
    box-shadow:
      inset 0 3px 0 rgba(var(--accent-rgb), 0.15),
      inset 8px 0 16px rgba(0, 0, 0, 0.35),
      inset -8px 0 16px rgba(0, 0, 0, 0.35),
      0 18px 48px rgba(0, 0, 0, 0.55);
    z-index: 1;
    overflow: hidden;
    transform-origin: top center;
    will-change: transform;
    animation: toolboxDrawerSlide 0.56s cubic-bezier(0.22, 1, 0.32, 1) forwards;
  }
  .nav.is-mobile-open::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(72px, 28vw);
    height: 6px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(180deg, #4a4a4a, #2a2a2a 55%, #1a1a1a);
    box-shadow:
      0 2px 0 rgba(var(--accent-rgb), 0.45),
      0 4px 14px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
    z-index: 2;
    pointer-events: none;
    animation: drawerHandleDrop 0.48s cubic-bezier(0.34, 1.35, 0.64, 1) 0.06s both;
  }
  .nav.is-mobile-open::after {
    content: 'TOOLKIT';
    position: absolute;
    top: 14px;
    left: max(15px, env(safe-area-inset-left, 0px));
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    color: rgba(var(--accent-rgb), 0.55);
    pointer-events: none;
    animation: drawerLabelIn 0.4s ease 0.22s both;
  }
  .nav.is-mobile-open > * {
    opacity: 0;
    animation: mobileNavLinkIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .nav.is-mobile-open > *:nth-child(1) { animation-delay: 0.14s; }
  .nav.is-mobile-open > *:nth-child(2) { animation-delay: 0.18s; }
  .nav.is-mobile-open > *:nth-child(3) { animation-delay: 0.20s; }
  .nav.is-mobile-open > *:nth-child(4) { animation-delay: 0.22s; }
  .nav.is-mobile-open > *:nth-child(5) { animation-delay: 0.24s; }
  .nav.is-mobile-open > *:nth-child(6) { animation-delay: 0.26s; }
  .nav.is-mobile-open > *:nth-child(7) { animation-delay: 0.28s; }
  .nav.is-mobile-open > *:nth-child(8) { animation-delay: 0.30s; }
  .nav.is-mobile-open > *:nth-child(9) { animation-delay: 0.34s; }
  .nav.is-mobile-open > a:nth-child(1) { grid-column: 1; grid-row: 1; }
  .nav.is-mobile-open > a:nth-child(4) { grid-column: 2; grid-row: 1; }
  .nav.is-mobile-open > div.nav-dropdown:nth-of-type(1) { grid-column: 1 / -1; grid-row: 2; }
  .nav.is-mobile-open > div.nav-dropdown:nth-of-type(2) { grid-column: 1 / -1; grid-row: 3; }
  .nav.is-mobile-open > a:nth-child(5) { grid-column: 1; grid-row: 4; }
  .nav.is-mobile-open > a:nth-child(6) { grid-column: 2; grid-row: 4; }
  .nav.is-mobile-open > a:nth-child(7) { grid-column: 1; grid-row: 5; }
  .nav.is-mobile-open > a:nth-child(8) { grid-column: 2; grid-row: 5; }
  .nav.is-mobile-open > .mobile-cta-block { grid-column: 1 / -1; grid-row: 6; }
  .nav.is-mobile-open > a {
    padding: 11px 12px;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text);
  }
  .nav.is-mobile-open > a:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.04);
  }
  .nav.is-mobile-open > a:hover,
  .nav.is-mobile-open > a.is-active {
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.08);
    box-shadow: inset 3px 0 0 var(--accent-neon);
  }
}
@keyframes toolboxDrawerSlide {
  0% {
    transform: translateY(-102%);
    opacity: 0.75;
    box-shadow:
      inset 0 3px 0 rgba(var(--accent-rgb), 0.05),
      0 0 0 rgba(0, 0, 0, 0);
  }
  68% {
    transform: translateY(5px);
    opacity: 1;
  }
  86% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
    box-shadow:
      inset 0 3px 0 rgba(var(--accent-rgb), 0.15),
      inset 8px 0 16px rgba(0, 0, 0, 0.35),
      inset -8px 0 16px rgba(0, 0, 0, 0.35),
      0 18px 48px rgba(0, 0, 0, 0.55);
  }
}
@keyframes drawerHandleDrop {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-14px) scaleX(0.4);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scaleX(1);
  }
}
@keyframes drawerLabelIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes mobileNavLinkIn {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav.is-mobile-open,
  .nav.is-mobile-open::before,
  .nav.is-mobile-open::after,
  .nav.is-mobile-open > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
  }
}

@media (max-width: 900px) and (max-height: 680px) {
  .nav.is-mobile-open {
    padding-top: 14px;
  }
  .nav.is-mobile-open::after { display: none; }
  .nav.is-mobile-open > a { padding: 8px 10px; font-size: 0.88rem; }
  .nav.is-mobile-open .nav-dropdown-trigger { padding: 4px 10px 2px; }
  .nav.is-mobile-open .nav-dropdown-menu a { padding: 7px 8px 7px 10px; font-size: 0.8rem; }
  .nav.is-mobile-open .mobile-cta-call,
  .nav.is-mobile-open .mobile-cta-audit { padding: 10px 8px; font-size: 0.78rem; }
}

/* ============================================ Buttons ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1;
}
.btn-primary {
  background: var(--accent); color: #000;
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.4);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-hover);
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 4px 28px rgba(var(--accent-rgb), 0.55);
}
.btn-outline {
  background: transparent; color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================ Cards ============================================ */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}
.card-icon.green { background: var(--accent-soft); color: var(--accent); }
.card-icon.red { background: var(--danger-soft); color: var(--danger); }
.card-icon.gold { background: var(--gold-soft); color: var(--gold); }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; font-size: 0.95rem; }

/* ============================================ Hero ============================================ */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(212, 168, 75, 0.12), transparent 65%),
    radial-gradient(40% 35% at 15% 20%, rgba(var(--accent-rgb), 0.07), transparent 60%),
    radial-gradient(35% 30% at 85% 15%, rgba(196, 165, 116, 0.1), transparent 55%),
    linear-gradient(180deg, transparent, var(--bg));
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center top, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center top, black 30%, transparent 75%);
  z-index: -1;
}
.hero-content { max-width: 880px; margin: 0 auto; text-align: center; }
.hero h1 { margin: 22px 0 20px; }
.hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
  margin: 22px 0 20px;
  line-height: 1.08;
  text-align: center;
}
.hero-headline-line {
  display: block;
  white-space: nowrap;
}
.hero-headline-line--accent {
  color: var(--accent);
}
@media (max-width: 600px) {
  .hero-headline-line {
    white-space: normal;
  }
}
.hero .lead { max-width: 640px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Agency hero — warm workshop backdrop + emblem */
.hero--cyber,
.hero--agency { padding-top: 72px; }
.hero-cyber-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 120vw);
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(212, 168, 75, 0.14) 0%, rgba(var(--accent-rgb), 0.05) 38%, transparent 72%);
  pointer-events: none;
  z-index: -1;
  filter: blur(2px);
}
.hero-cyber-glow--sub {
  top: -20%;
  height: 380px;
  opacity: 0.85;
}
.hero-brand-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
  text-align: center;
}
.hero-brand-showcase--compact {
  gap: 0;
  margin-bottom: 28px;
}
.hero-logo-frame {
  position: relative;
  width: min(240px, 52vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero-logo-frame::before {
  content: '';
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 0 60px rgba(var(--accent-rgb), 0.15), inset 0 0 40px rgba(var(--accent-rgb), 0.06);
  animation: cyber-ring-pulse 4s ease-in-out infinite;
}
.hero-logo-frame::after {
  content: '';
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.2);
}
@keyframes cyber-ring-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}
.hero-logo-emblem {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}
.hero-logo-wordmark {
  max-width: min(520px, 92vw);
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.35));
}
.hero-logo-wordmark--compact {
  max-width: min(420px, 88vw);
}
.page-hero--cyber::before {
  background:
    radial-gradient(50% 50% at 50% 0%, rgba(var(--accent-rgb), 0.12), transparent 70%),
    radial-gradient(30% 25% at 80% 10%, rgba(var(--accent-rgb), 0.06), transparent 60%);
}

.trust-row {
  margin-top: 64px;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 28px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.trust-row span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
}
.trust-row span::before {
  content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
}

/* ============================================ How It Works ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  padding-top: 2rem;
  --step-line-offset: calc(2rem + 1rem + 32px);
}
.steps::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: var(--step-line-offset);
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--accent) 80%, transparent);
  opacity: 0.4;
  pointer-events: none;
}
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; gap: 32px; } .steps::before { display: none; } }
.step { text-align: center; padding: 1rem 16px 0; position: relative; z-index: 1; }
.step h3 {
  padding-top: 0.25rem;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}
.step p {
  margin-bottom: 0;
  line-height: 1.65;
}
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 2px solid var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 1.4rem; font-weight: 700;
  color: var(--accent);
  margin: 0 auto 20px;
  box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.25), inset 0 0 12px rgba(var(--accent-rgb), 0.1);
  position: relative;
  z-index: 2;
}

/* ============================================ Metrics / Counters ============================================ */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
.metric {
  text-align: left;
  padding: 32px 28px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.metric::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}
.metric-value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}
.metric-value .unit { color: var(--accent); font-size: 0.7em; margin-left: 2px; }
.metric-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ============================================ Industries Grid ============================================ */
.industries {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .industries { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) {
  .industry--photo {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}
.industry {
  padding: 32px 16px;
  text-align: center;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.industry:hover { border-color: var(--accent); transform: translateY(-3px); }
.industry-icon { font-size: 2rem; margin-bottom: 10px; }
.industry-name { font-weight: 600; font-size: 0.95rem; }

.industries--photo { align-items: stretch; }
.industry--photo {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 160px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: inherit;
}
.industry--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  transition: transform 0.4s var(--ease);
}
.industry--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(20, 16, 12, 0.92) 100%);
}
.industry--photo .industry-name {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 16px;
  text-align: left;
}
.industry--photo:hover img { transform: scale(1.06); }
.industry--photo-muted img { filter: saturate(0.7); }

/* ============================================ Case Study Cards ============================================ */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }
.case-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s;
  display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.case-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.case-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  transition: transform 0.5s var(--ease);
}
.case-card:hover .case-card-media img { transform: scale(1.04); }
.case-card-media-stat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 16, 12, 0.35) 40%, rgba(20, 16, 12, 0.92) 100%);
}
.case-card-top {
  padding: 32px 28px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.08), rgba(212, 168, 75, 0.04));
  border-bottom: 1px solid var(--border);
}
.case-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 14px;
}
.case-headline {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.case-headline .sub { display: block; font-size: 0.85rem; color: var(--text-muted); font-family: var(--font-sans); margin-top: 6px; letter-spacing: normal; font-weight: 500; }
.case-card-body { padding: 24px 28px; flex: 1; display: flex; flex-direction: column; }
.case-card-body p { flex: 1; }
.case-card-body a { color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.case-card-body a:hover { color: var(--accent-hover); }

/* Case study filter chips */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.chip {
  padding: 8px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.is-active { background: var(--accent-soft); color: var(--accent); border-color: rgba(var(--accent-rgb), 0.4); }

/* ============================================ Testimonials ============================================ */
.testimonial {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.testimonial:hover {
  border-color: rgba(var(--accent-rgb), 0.25);
  transform: translateY(-2px);
}
.testimonial-stars { color: var(--gold); margin-bottom: 16px; font-size: 1.1rem; letter-spacing: 2px; }
.testimonial-quote { color: var(--text); font-size: 1.05rem; line-height: 1.6; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #39FF14, #22F065 55%, #C6A75E);
  display: grid; place-items: center;
  color: #06231a; font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.35), 0 8px 20px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-meta { font-size: 0.8rem; color: var(--text-dim); }

/* ============================================ Calculator ============================================ */
.calculator {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.calc-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 12px; }
.calc-value { font-family: var(--font-mono); font-size: 2.2rem; color: var(--accent); font-weight: 700; margin-bottom: 20px; }
.calc-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: var(--bg-elev-2);
  border-radius: 100px;
  outline: none;
  margin-bottom: 8px;
}
.calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.6);
  transition: transform 0.15s;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--accent);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.6);
}
.calc-result {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.14), rgba(var(--accent-rgb), 0.04));
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.calc-result-label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em; }
.calc-result-value { font-family: var(--font-mono); font-size: 3rem; font-weight: 800; color: var(--accent); letter-spacing: -0.03em; line-height: 1; }
.calc-result-unit { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 600; color: var(--text-muted); letter-spacing: normal; }
.calc-result-sub { color: var(--text-muted); margin-top: 8px; font-size: 0.9rem; }

/* ============================================ Pricing ============================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
}
.price-card.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.06), var(--bg-elev)); }
.price-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #000;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  padding: 6px 14px; border-radius: 100px;
}
.price-name { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 12px; }
.price-amount { font-family: var(--font-mono); font-size: 2.5rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.price-amount .per { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.price-desc { color: var(--text-muted); margin-bottom: 24px; font-size: 0.95rem; }
.price-features { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--text); }
.price-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ============================================ FAQ ============================================ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  gap: 16px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: transform 0.3s var(--ease), background 0.2s, color 0.2s;
}
.faq-item.is-open .faq-q-icon { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 0 24px; color: var(--text-muted); line-height: 1.7; }

/* ============================================ Final CTA ============================================ */
.final-cta {
  background: linear-gradient(135deg, #0e0a07 0%, #1a1410 50%, #14100c 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(var(--accent-rgb), 0.14), transparent 70%),
    linear-gradient(180deg, rgba(20, 16, 12, 0.85), rgba(20, 16, 12, 0.95));
}
.final-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/hero-agency-bg.jpg') center / cover no-repeat;
  opacity: 0.12;
  mix-blend-mode: screen;
}
.final-cta-inner { position: relative; max-width: 720px; margin: 0 auto; }

/* ============================================ Footer ============================================ */
.site-footer {
  background: var(--bg-deep);
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin-top: 16px; max-width: 320px; }
.footer-col h5 { color: var(--text); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap; gap: 16px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--text-dim); }
.footer-bottom-links a:hover { color: var(--text-muted); }
.footer-bottom-links .admin { opacity: 0.4; }

/* ============================================ Floating Call ============================================ */
.float-call {
  display: none;
  position: fixed; bottom: 20px; right: 20px; z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.6);
  animation: pulse-call 2.5s ease-in-out infinite;
}
.float-call svg { width: 24px; height: 24px; }
@keyframes pulse-call {
  0%, 100% { box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.6), 0 0 0 0 rgba(var(--accent-rgb), 0.4); }
  50% { box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.6), 0 0 0 14px rgba(var(--accent-rgb), 0); }
}
@media (max-width: 900px) { .float-call { display: flex; } }

/* ============================================ Forms ============================================ */
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 8px; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #0d0d12;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.form-success {
  text-align: center;
  padding: 48px 32px;
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: var(--radius);
}
.form-success-icon { font-size: 3rem; margin-bottom: 16px; color: var(--accent); }
.form-local-warning {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.35);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: left;
}
.form-local-warning a { color: var(--accent); font-weight: 600; }
.forms-endpoint-notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.forms-endpoint-notice a { color: var(--accent); font-weight: 600; }

/* In-article blog CTA */
.blog-article-cta {
  margin-top: 48px;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1) 0%, rgba(15, 26, 20, 0.6) 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  text-align: center;
}
.blog-article-cta h3 {
  margin: 12px auto 10px;
  max-width: 480px;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}
.blog-article-cta p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 22px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================ Page Hero (sub-pages) ============================================ */
.page-hero { padding: 80px 0 60px; position: relative; }
.page-hero > .container { text-align: center; }
.page-hero .eyebrow {
  display: inline-flex;
  margin-bottom: 4px;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(50% 50% at 50% 0%, rgba(var(--accent-rgb), 0.1), transparent 70%);
  z-index: -1;
}
.page-hero h1 { text-align: center; max-width: 800px; margin: 16px auto 16px; }
.page-hero .lead { text-align: center; max-width: 640px; margin: 0 auto; }

/* ============================================ Split Layout (Contact, Strategy) ============================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split-panel {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.split-panel h2 { margin-bottom: 16px; }
.info-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item-icon {
  width: 38px; height: 38px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 8px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.info-item-label { font-size: 0.8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.info-item-value { color: var(--text); font-weight: 500; }
.info-item-value a:hover { color: var(--accent); }

.value-prop { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.value-prop-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 8px; display: grid; place-items: center;
}
.value-prop h4 { margin-bottom: 4px; font-size: 1rem; }
.value-prop p { font-size: 0.9rem; margin: 0; }

/* ============================================ Blog ============================================ */
.hidden { display: none !important; }
.blog-search {
  max-width: 540px; margin: 0 auto 24px;
  position: relative;
}
.blog-search input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text);
}
.blog-search input:focus { outline: none; border-color: var(--accent); }
.blog-search::before {
  content: '🔍';
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  opacity: 0.5;
}

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.blog-cover {
  aspect-ratio: 16/9;
  background-size: cover; background-position: center;
  position: relative;
  background-color: var(--bg-elev-2);
}
.blog-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4));
}
.blog-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent);
  padding: 4px 10px;
  background: var(--accent-soft);
  border-radius: 4px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.blog-title { font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin-bottom: 10px; color: var(--text); }
.blog-excerpt { font-size: 0.9rem; color: var(--text-muted); flex: 1; margin-bottom: 16px; }
.blog-read { color: var(--accent); font-weight: 600; font-size: 0.88rem; align-self: flex-start; }
.blog-read:hover { color: var(--accent-hover); }
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.blog-meta time { font-variant-numeric: tabular-nums; }

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; }
}

.blog-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  margin-bottom: 36px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.blog-featured:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.blog-featured__cover {
  min-height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.blog-featured__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 16, 12, 0.15), rgba(20, 16, 12, 0.55));
}
.blog-featured__body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.blog-featured__title {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.25;
  margin-bottom: 12px;
}
.blog-featured__title a { color: var(--text); }
.blog-featured__title a:hover { color: var(--gold); }
.blog-featured__excerpt {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.65;
}
@media (max-width: 900px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured__cover { min-height: 220px; }
}

.blog-timeline {
  position: sticky;
  top: 96px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}
.blog-timeline__head {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.blog-timeline__head h2 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.blog-timeline__head p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.blog-timeline__months {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-height: min(70vh, 720px);
  overflow: auto;
  padding-right: 4px;
}
.blog-timeline__month-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.blog-timeline__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 2px solid rgba(212, 168, 75, 0.22);
}
.blog-timeline__item {
  position: relative;
  padding: 0 0 16px 14px;
}
.blog-timeline__item:last-child { padding-bottom: 0; }
.blog-timeline__item::before {
  content: '';
  position: absolute;
  left: -23px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.12);
}
.blog-timeline__item.is-active::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 168, 75, 0.2);
}
.blog-timeline__date {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.blog-timeline__link {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}
.blog-timeline__link:hover { color: var(--gold); }
.blog-timeline__cat {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
@media (max-width: 1024px) {
  .blog-timeline { position: static; max-height: none; }
  .blog-timeline__months { max-height: none; }
}

/* Blog post article */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.article-meta { display: flex; gap: 12px; align-items: center; color: var(--text-dim); font-size: 0.9rem; margin-bottom: 16px; flex-wrap: wrap; }
.article-cover {
  aspect-ratio: 21/9;
  background-size: cover;
  background-position: 50% 35%;
  border-radius: var(--radius);
  margin: 32px 0;
  border: 1px solid var(--border);
}
@media (max-width: 640px) {
  .article-cover {
    aspect-ratio: 16 / 9;
    background-position: 50% 32%;
  }
}
.article-body { color: var(--text-muted); font-size: 1.05rem; line-height: 1.75; }
.article-body h2 { color: var(--text); margin: 40px 0 16px; font-size: 1.6rem; }
.article-body h3 { color: var(--text); margin: 32px 0 12px; font-size: 1.25rem; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; color: var(--text-muted); }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--text); }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 20px;
  margin: 24px 0;
  color: var(--text);
  font-style: italic;
}

.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 48px; max-width: 1100px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .article-layout .article { padding: 0; } }
.article-aside { position: sticky; top: 100px; align-self: start; }
.aside-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.aside-card h4 { margin-bottom: 12px; }
.aside-related { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.aside-related a { color: var(--text-muted); font-size: 0.92rem; line-height: 1.4; }
.aside-related a:hover { color: var(--accent); }

/* ============================================ Onboarding Wizard ============================================ */
.onb-shell { max-width: 880px; margin: 0 auto; padding: 40px 24px 80px; }
.onb-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.onb-logo { font-family: var(--font-mono); font-weight: 800; letter-spacing: 0.1em; font-size: 0.95rem; color: var(--text); }
.onb-secure {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem;
  color: var(--accent);
  padding: 6px 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 100px;
}
.onb-secure::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent); } 50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0); } }

.track-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
@media (max-width: 700px) { .track-grid { grid-template-columns: 1fr; } }
.track-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s;
  text-align: left;
  display: flex; flex-direction: column; gap: 12px;
}
.track-card:hover { border-color: var(--accent); transform: translateY(-3px); background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.04), var(--bg-elev)); }
.track-card-top { display: flex; justify-content: space-between; align-items: center; }
.track-name { font-size: 1.1rem; font-weight: 700; }
.track-time { font-size: 0.8rem; color: var(--text-dim); font-family: var(--font-mono); padding: 4px 10px; background: var(--bg); border-radius: 100px; border: 1px solid var(--border); }
.track-desc { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.track-cta { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

.ai-panel {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}
.ai-panel-head {
  width: 100%;
  padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-elev);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.ai-panel.is-open .ai-panel-head { border-bottom-color: var(--border); }
.ai-panel-title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; }
.ai-panel-title .badge { font-family: var(--font-mono); font-size: 0.7rem; padding: 3px 8px; background: var(--gold-soft); color: var(--gold); border-radius: 4px; letter-spacing: 0.05em; }
.ai-panel-toggle { color: var(--text-muted); font-size: 0.85rem; }
.ai-panel-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.ai-panel.is-open .ai-panel-body { max-height: 1200px; }
.ai-panel-body-inner { padding: 24px; position: relative; }
.ai-panel-body pre {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 360px;
  overflow-y: auto;
  line-height: 1.6;
}
.copy-btn {
  position: absolute; top: 36px; right: 36px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  background: var(--bg-elev-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
}
.copy-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Wizard step view */
.wizard {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.progress {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
}
.progress::before {
  content: '';
  position: absolute; top: 50%; left: 12px; right: 12px;
  height: 2px;
  background: var(--bg-elev-2);
  z-index: 0;
}
.progress-fill {
  position: absolute; top: 50%; left: 12px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 1;
  transition: width 0.4s var(--ease);
}
.progress-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-elev-2);
  border: 2px solid var(--bg-elev-2);
  display: grid; place-items: center;
  font-size: 0.7rem; font-family: var(--font-mono); font-weight: 600;
  color: var(--text-dim);
  z-index: 2; position: relative;
  transition: all 0.3s var(--ease);
}
.progress-dot.is-active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.6); }
.progress-dot.is-done { background: var(--accent); border-color: var(--accent); color: #fff; }

.step-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px;
  background: var(--gold-soft);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  border-radius: 4px;
  margin-bottom: 14px;
  border: 1px solid rgba(212, 168, 75, 0.2);
}
.step-title { margin-bottom: 12px; }
.step-desc { color: var(--text-muted); margin-bottom: 24px; }

.alert {
  padding: 16px 18px;
  border-radius: 8px;
  display: flex; gap: 12px; align-items: flex-start;
  margin: 16px 0;
  font-size: 0.92rem;
  line-height: 1.5;
}
.alert-warn { background: var(--warn-soft); border: 1px solid rgba(245, 158, 11, 0.3); color: #FCD34D; }
.alert-info { background: var(--accent-soft); border: 1px solid rgba(var(--accent-rgb), 0.3); color: var(--text); }
.alert-icon { flex-shrink: 0; font-size: 1.1rem; line-height: 1; padding-top: 2px; }
.alert strong { color: inherit; }

.info-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.info-row-num { width: 28px; height: 28px; background: var(--accent-soft); color: var(--accent); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }
.info-row-text { flex: 1; }
.info-row-text strong { color: var(--text); display: block; margin-bottom: 2px; }
.info-row-text span { color: var(--text-muted); font-size: 0.92rem; }

.confirm-check { display: flex; gap: 12px; align-items: center; padding: 16px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 8px; margin: 20px 0; cursor: pointer; transition: border-color 0.25s; }
.confirm-check input { width: 20px; height: 20px; accent-color: var(--accent); cursor: pointer; }
.confirm-check input:checked + span { color: var(--text); }
.confirm-check:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.15); }
.confirm-check span { color: var(--text-muted); font-size: 0.95rem; }

.wizard-nav { display: flex; justify-content: space-between; margin-top: 32px; gap: 12px; }

.help-fab {
  position: fixed; bottom: 24px; left: 24px; z-index: 80;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  font-weight: 700;
  color: var(--text-muted);
}
.help-fab:hover { color: var(--accent); border-color: var(--accent); }

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 520px; width: 100%;
  position: relative;
}
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--text-muted); }
.modal-close:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }

.success-screen { text-align: center; padding: 24px 0; }
.success-check {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  display: grid; place-items: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--accent);
  animation: success-pop 0.6s var(--ease);
  box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.3);
}
@keyframes success-pop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.success-list { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 8px; max-width: 360px; margin-left: auto; margin-right: auto; }
.success-list li { display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--bg); border-radius: 8px; font-size: 0.92rem; text-align: left; }
.success-list li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* ========================================
   PATCHES: classes added for newer pages
   (blog, contact, strategy-call, onboarding)
   ======================================== */

.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

.footer-address {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 14px;
}
.footer-bottom-links .admin { opacity: 0.35; }

.form-fine {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 14px;
  text-align: center;
}

.form-success {
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.form-success-large {
  flex-direction: column;
  padding: 48px 32px;
  gap: 16px;
}
.form-success-large h3 { margin: 0; font-size: 1.6rem; }
.form-success-large p { margin: 0; color: var(--text-muted); max-width: 380px; }

.success-check-mini {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent);
  color: #fff; font-weight: 800; font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.45);
  flex-shrink: 0;
}

.newsletter-form .field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}
.newsletter-form-mini input[type="email"] {
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
}
.newsletter-form-mini input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}

/* Calendly placeholder block */
.calendly-placeholder {
  margin: 24px 0 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
}
.calendly-inner { display: flex; flex-direction: column; }
.calendly-header {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(212, 168, 75, 0.05);
}
.calendly-body { height: 320px; background: var(--bg); }
.calendly-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

/* Value prop list (strategy call left panel) */
.value-prop-list { list-style: none; padding: 0; margin: 0 0 32px; }
.value-prop {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.value-prop:last-child { border-bottom: none; }
.value-prop-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
  background: rgba(212, 168, 75, 0.08);
  border: 1px solid rgba(212, 168, 75, 0.2);
  width: 44px; height: 44px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value-prop-body { flex: 1; }
.value-prop-body h4 { margin: 0 0 6px; font-size: 1.05rem; }
.value-prop-body p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

.trust-bar {
  margin-top: 36px;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* Contact info items */
.info-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-icon.green { background: rgba(var(--accent-rgb), 0.08); color: var(--accent); border: 1px solid rgba(var(--accent-rgb), 0.2); }
.info-icon.gold  { background: rgba(212, 168, 75, 0.08); color: var(--gold);   border: 1px solid rgba(212, 168, 75, 0.2); }
.info-body { flex: 1; }
.info-label { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.info-value { color: var(--text); font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.info-sub { font-size: 0.85rem; color: var(--text-muted); margin-top: 2px; }
.info-item-link { text-decoration: none; transition: transform 0.2s; }
.info-item-link:hover { transform: translateX(4px); }
.info-item-link:hover .info-value { color: var(--accent); }

.contact-trust { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }

/* Onboarding-specific */
.onb-h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; margin-bottom: 14px; }
.onb-lead { margin-bottom: 32px; color: var(--text-muted); }
.onb-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-weight: 800; letter-spacing: 0.12em; font-size: 0.92rem; }
.onb-logo-mark {
  width: 26px; height: 26px;
  background: var(--accent);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.4);
}
.onb-secure-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.7);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

.onb-foot-note {
  display: flex; align-items: center; gap: 10px;
  margin-top: 28px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.onb-foot-note svg { color: var(--accent); flex-shrink: 0; }

.track-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.track-icon.meta {
  background: linear-gradient(135deg, #0668E1, #1877F2);
  color: #fff;
}
.track-icon.google {
  background: #fff;
}
.track-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.track-card-head h3 { margin: 0 0 4px; font-size: 1.15rem; }
.track-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 16px; }
.track-cta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.track-card { text-align: left; width: 100%; cursor: pointer; font-family: inherit; }

/* Gate (meta yes/no) */
.gate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 32px 0;
}
.gate-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  font-family: inherit;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.gate-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.04), var(--bg-elev));
  box-shadow: 0 8px 28px rgba(var(--accent-rgb), 0.12);
}
.gate-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.gate-icon.green { background: rgba(var(--accent-rgb), 0.1); color: var(--accent); border: 1px solid rgba(var(--accent-rgb), 0.3); }
.gate-icon.gold  { background: rgba(212, 168, 75, 0.1); color: var(--gold);   border: 1px solid rgba(212, 168, 75, 0.3); }
.gate-card h3 { margin: 0; font-size: 1.15rem; }
.gate-card p { color: var(--text-muted); margin: 0; font-size: 0.92rem; max-width: 240px; }
.gate-time {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  padding: 4px 12px;
  background: var(--bg);
  border-radius: 100px;
  border: 1px solid var(--border);
  margin-top: 4px;
}

/* AI panel additions */
.ai-panel-head-left { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.ai-panel-head-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ai-badge {
  font-size: 0.7rem;
  padding: 4px 10px;
  background: rgba(212, 168, 75, 0.12);
  color: var(--gold);
  border: 1px solid rgba(212, 168, 75, 0.25);
  border-radius: 4px;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-family: var(--font-mono);
}
.ai-panel-title { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.ai-panel-intro {
  padding: 16px 20px 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.copy-btn {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: all 0.2s;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Modal info-list compatibility */
.modal .info-list { margin-top: 0; }

@media (max-width: 720px) {
  .gate-grid { grid-template-columns: 1fr; }
  .newsletter-form .field-row { grid-template-columns: 1fr; }
}

/* =================================================================
   FIX PASS — added 2026-06-10 for design QA punch list
   ================================================================= */

/* --- Nav layout: lock to one line at desktop, tighten font ----- */
.nav {
  white-space: nowrap;
  gap: 2px;
}
.nav a,
.nav-dropdown-trigger {
  font-size: 0.875rem;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.nav-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Call Now button (replaces text-style phone link) ---------- */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-call svg { color: var(--accent); flex-shrink: 0; }
.btn-call:hover {
  background: rgba(var(--accent-rgb), 0.16);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.btn-call span { white-space: nowrap; }
/* At very tight desktop widths, drop the "Call Now" text — keep just the icon as a clickable affordance */
@media (max-width: 1000px) and (min-width: 901px) {
  .btn-call span { display: none; }
  .btn-call { padding: 10px 12px; }
}

/* --- Services dropdown ----------------------------------------- */
.nav-dropdown {
  position: relative;
  display: inline-block;
  z-index: 20;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown-label {
  white-space: nowrap;
}
.nav-dropdown-trigger:hover,
.nav-dropdown.is-open .nav-dropdown-trigger {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.nav-dropdown-trigger.is-active { color: var(--accent); }
.nav-chevron {
  display: inline-block;
  font-size: 0.7em;
  transition: transform 0.2s var(--ease);
  margin-top: 1px;
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.02);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
  z-index: 1000;
  overflow: visible;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s, 0s, 0s;
}
/* Invisible hover bridge so the menu doesn't snap shut between trigger and menu */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  outline: none;
}

/* Lead Desk flyout — nested submenu to the right */
.nav-dropdown-flyout-item {
  position: relative;
  overflow: visible;
}
.nav-dropdown-menu .nav-dropdown-flyout-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown-flyout-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown-flyout-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.nav-dropdown-flyout-label {
  line-height: 1.25;
}
.nav-dropdown-flyout-hint {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.nav-flyout-chevron {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.15s, transform 0.15s;
}
.nav-dropdown-flyout-trigger:hover,
.nav-dropdown-flyout-trigger:focus,
.nav-dropdown-flyout-trigger.is-active {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  outline: none;
}
.nav-dropdown-flyout-trigger:hover .nav-flyout-chevron,
.nav-dropdown-flyout-trigger:focus .nav-flyout-chevron,
.nav-dropdown-flyout-item:hover .nav-flyout-chevron {
  color: var(--accent);
}
.nav-dropdown-flyout-menu {
  position: absolute;
  top: 0;
  left: calc(100% + 4px);
  min-width: 168px;
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.02);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
  z-index: 1001;
}
.nav-dropdown-flyout-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 100%;
  width: 10px;
  height: 100%;
}
.nav-dropdown-flyout-item:hover .nav-dropdown-flyout-menu,
.nav-dropdown-flyout-item:focus-within .nav-dropdown-flyout-menu,
.nav-dropdown-flyout-item.is-flyout-open .nav-dropdown-flyout-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s, 0s, 0s;
}
.nav-dropdown-flyout-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown-flyout-menu a:hover,
.nav-dropdown-flyout-menu a:focus,
.nav-dropdown-flyout-menu a.is-active {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  outline: none;
}

/* --- Desktop nav: toolkit tray (matches hamburger / mobile drawer) --- */
@media (min-width: 901px) {
  .nav {
    gap: 3px;
    padding: 4px;
    border-radius: 12px;
    background: #14100c;
    border: 1px solid var(--border-strong);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.85) inset,
      0 4px 14px rgba(0, 0, 0, 0.35);
  }
  .nav::before {
    content: none;
  }
  .nav a,
  .nav-dropdown-trigger {
    position: relative;
    z-index: 1;
    padding: 8px 12px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 8px;
    border: 1px solid transparent;
    transition:
      color 0.2s var(--ease),
      background 0.2s var(--ease),
      border-color 0.2s var(--ease),
      box-shadow 0.2s var(--ease),
      transform 0.2s var(--ease);
  }
  .nav a:hover,
  .nav-dropdown-trigger:hover,
  .nav-dropdown.is-open .nav-dropdown-trigger {
    color: var(--text);
    background: rgba(var(--accent-rgb), 0.06);
    border-color: rgba(var(--accent-rgb), 0.22);
    box-shadow: inset 3px 0 0 var(--accent-neon);
  }
  .nav a.is-active,
  .nav-dropdown-trigger.is-active {
    color: var(--accent-neon);
    background: rgba(var(--accent-rgb), 0.1);
    border-color: rgba(var(--accent-rgb), 0.32);
    box-shadow:
      inset 3px 0 0 var(--accent-neon),
      0 0 12px rgba(var(--accent-rgb), 0.12);
  }
  .nav-dropdown-menu {
    background: linear-gradient(180deg, #1f1812 0%, #14100c 100%);
    border: 1px solid rgba(var(--accent-rgb), 0.38);
    border-radius: 12px;
    padding: 6px;
    overflow: visible;
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.85) inset,
      0 0 20px rgba(var(--accent-rgb), 0.12),
      0 16px 40px rgba(0, 0, 0, 0.55);
  }
  .nav-dropdown-menu a {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.84rem;
  }
  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:focus {
    color: var(--accent-neon);
    background: rgba(var(--accent-rgb), 0.1);
    box-shadow: inset 3px 0 0 var(--accent-neon);
  }
  .nav-dropdown-flyout-menu {
    background: linear-gradient(180deg, #1f1812 0%, #14100c 100%);
    border: 1px solid rgba(var(--accent-rgb), 0.38);
    border-radius: 12px;
    padding: 6px;
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.85) inset,
      0 0 20px rgba(var(--accent-rgb), 0.12),
      0 16px 40px rgba(0, 0, 0, 0.55);
  }
  .nav-dropdown-flyout-menu a {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.84rem;
  }
  .nav-dropdown-flyout-menu a:hover,
  .nav-dropdown-flyout-menu a:focus {
    color: var(--accent-neon);
    background: rgba(var(--accent-rgb), 0.1);
    box-shadow: inset 3px 0 0 var(--accent-neon);
  }
  .nav-dropdown-flyout-trigger:hover,
  .nav-dropdown-flyout-trigger:focus,
  .nav-dropdown-flyout-trigger.is-active {
    color: var(--accent-neon);
    background: rgba(var(--accent-rgb), 0.1);
    box-shadow: inset 3px 0 0 var(--accent-neon);
  }
  .nav-cta {
    gap: 8px;
    padding: 4px;
    border-radius: 12px;
    background: #14100c;
    border: 1px solid rgba(var(--accent-rgb), 0.4);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.85) inset,
      0 0 16px rgba(var(--accent-rgb), 0.1),
      0 4px 14px rgba(0, 0, 0, 0.35);
  }
  .btn-call {
    padding: 9px 14px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: none;
  }
  .btn-call:hover {
    background: rgba(var(--accent-rgb), 0.06);
    border-color: rgba(var(--accent-rgb), 0.22);
    box-shadow: inset 3px 0 0 var(--accent-neon);
    transform: none;
  }
  .nav-audit-cta.btn-primary {
    border-radius: 8px;
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.5) inset,
      0 0 16px rgba(var(--accent-rgb), 0.2);
  }
  .nav-audit-cta.btn-primary:hover {
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.5) inset,
      0 0 24px rgba(var(--accent-rgb), 0.38),
      0 0 40px rgba(var(--accent-hover-rgb), 0.12);
  }
}

/* --- Audit CTA: same green button, just confirming it stays put -- */
.nav-audit-cta {
  white-space: nowrap;
}

/* --- Mobile menu: <=900px ------------------------------------- */
@media (max-width: 900px) {
  /* Dropdown collapses to inline items inside the open mobile overlay */
  .nav.is-mobile-open .nav-dropdown {
    display: block;
    width: 100%;
    grid-column: 1 / -1;
    margin-top: 4px;
  }
  .nav.is-mobile-open .nav-dropdown-trigger {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    padding: 6px 12px 4px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(var(--accent-rgb), 0.7);
    border-bottom: none;
    border-radius: 0;
    background: transparent;
    pointer-events: none;
  }
  .nav.is-mobile-open .nav-dropdown-trigger .nav-chevron { display: none; }
  .nav.is-mobile-open .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.02);
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    padding: 0;
    transition: none;
    z-index: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .nav.is-mobile-open .nav-dropdown-menu a {
    padding: 9px 10px 9px 12px;
    font-size: 0.84rem;
    border-radius: 0;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav.is-mobile-open .nav-dropdown-menu a:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.04);
  }
  .nav.is-mobile-open .nav-dropdown-flyout-item {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav.is-mobile-open .nav-dropdown-flyout-trigger {
    padding: 9px 10px 9px 12px;
    font-size: 0.84rem;
    border-radius: 0;
  }
  .nav.is-mobile-open .nav-flyout-chevron {
    display: none;
  }
  .nav.is-mobile-open .nav-dropdown-flyout-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.02);
    border: 0;
    border-radius: 0;
    padding: 0 0 0 10px;
    min-width: 0;
  }
  .nav.is-mobile-open .nav-dropdown-flyout-menu a {
    padding: 8px 10px 8px 16px;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav.is-mobile-open .nav-dropdown-flyout-item::after {
    display: none;
  }
  .nav-dropdown { display: block; width: 100%; }
  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 16px;
    font-size: 1.1rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
  }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.02);
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    padding: 0;
    transition: none;
    z-index: auto;
  }
  .nav-dropdown-menu a {
    padding: 14px 24px 14px 32px;
    font-size: 1rem;
    border-radius: 0;
    color: var(--text-muted);
  }
}

/* --- Mobile-only CTA block at bottom of open mobile menu ------- */
/* Default: hidden everywhere with !important so cascade can't fight us */
.mobile-cta-block {
  display: none !important;
}
@media (max-width: 900px) {
  .nav.is-mobile-open .mobile-cta-block {
    display: grid !important;
    grid-template-columns: 1fr 1.15fr;
    gap: 8px;
    margin-top: 6px;
    padding-top: 8px;
    grid-column: 1 / -1;
    border-top: 1px solid rgba(var(--accent-rgb), 0.2);
  }
  .nav.is-mobile-open .mobile-cta-call {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.4);
    border-radius: 10px;
    color: var(--text) !important;
    font-weight: 700;
    font-size: 0.82rem;
    white-space: nowrap;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.4) !important;
  }
  .nav.is-mobile-open .mobile-cta-call span {
    font-size: 0.75rem;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }
  .nav.is-mobile-open .mobile-cta-call svg {
    color: var(--accent);
    flex-shrink: 0;
  }
  .nav.is-mobile-open .mobile-cta-audit {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    background: var(--accent);
    color: #000 !important;
    text-align: center;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.88rem;
    line-height: 1.2;
    white-space: nowrap;
    border-bottom: none !important;
    box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.35);
  }
  .nav.is-mobile-open .mobile-cta-audit:hover,
  .nav.is-mobile-open .mobile-cta-audit:focus-visible {
    background: var(--accent-hover);
    color: #000 !important;
  }
}

@media (max-width: 640px) {
  .trust-row span { font-size: 0.78rem; }
}
@media (max-width: 900px) {
  .trust-row {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* --- Integration / CRM logo bar -------------------------------- */
.integration-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  max-width: 760px;
}
.integration-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 600;
  margin-right: 4px;
}
.integration-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.integration-badge::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* --- Hero "See Case Studies" outline button visibility --------- */
.hero .btn-outline,
.hero-ctas .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.02);
}
.hero .btn-outline:hover,
.hero-ctas .btn-outline:hover {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
}

/* --- "Most Popular" badge on featured pricing card ------------- */
.price-card { position: relative; }
.price-card .most-popular {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.55);
}

.price-card.featured:has(.most-popular)::before {
  content: none;
}

.price-card .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.03);
}
.price-card .btn-outline:hover {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
}

/* Ad spend disclosure under featured tier features */
.price-features .price-feature-note {
  list-style: none;
  margin-left: -1.2em;
  padding-top: 4px;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-style: italic;
}
.price-features .price-feature-note::before { content: none; }
.price-features .price-feature-value {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent);
}

/* Pricing risk-reversal callout */
.price-guarantee {
  margin-top: 36px;
  padding: 22px 28px;
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 12px;
  text-align: center;
  color: var(--text);
  font-size: 0.98rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.price-guarantee strong { color: var(--accent); }

/* --- Footer phone link styled prominently ---------------------- */
.footer-col .footer-phone {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 12px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 8px;
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}
.footer-col .footer-phone:hover {
  background: rgba(var(--accent-rgb), 0.16);
  border-color: var(--accent);
}

/* --- Google reviews link line under testimonials --------------- */
.google-reviews-line {
  text-align: center;
  margin-top: 28px;
  font-size: 0.92rem;
}
.google-reviews-line a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.google-reviews-line a:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.05);
}
.google-reviews-line .stars { color: var(--gold); letter-spacing: 0.1em; }

/* --- Calculator CTA button below output ------------------------ */
.calc-cta {
  text-align: center;
  margin-top: 24px;
}

/* --- FAQ default-open animation (CSS supports both opened &amp; closed) - already handled via .is-open ---- */

/* ============================================ Brand logo ============================================ */
.brand-lockup,
.brand-icon-mobile {
  display: none;
}
.brand-sub--header { display: none; }
.brand--footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 4px;
}
.brand-footer-tagline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  isolation: isolate;
}
.brand-footer-tagline::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(var(--accent-rgb), 0.12) 0%,
    rgba(var(--accent-rgb), 0.05) 45%,
    transparent 72%
  );
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}
.brand-mark--footer {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  opacity: 1;
}
.brand-lockup,
.brand-lockup img {
  object-fit: contain;
  width: auto;
  max-width: 100%;
}
.brand--footer .brand-sub {
  margin: 0;
  text-align: center;
}
.brand-lockup--footer {
  width: auto;
  height: 38px;
  max-width: 200px;
}
.brand-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.brand-mark { display: none; }

@media (max-width: 640px) {
  .site-header { --header-bar: 72px; }
}

/* ============================================ Product modules ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.product-card:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  transform: translateY(-2px);
}
.product-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
}
.product-card h3 { margin: 4px 0 0; font-size: 1.25rem; }
.product-card p { margin: 0; flex: 1; font-size: 0.95rem; }
.product-card-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.product-card-link:hover { color: var(--gold); }

.product-card.featured {
  border-color: rgba(212, 168, 75, 0.35);
  background: linear-gradient(145deg, rgba(198,167,94,0.08), rgba(255,255,255,0.02));
}

/* ============================================ Platform / feature rows ============================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; gap: 32px; } }
.feature-row.reverse .feature-visual { order: 2; }
@media (max-width: 900px) { .feature-row.reverse .feature-visual { order: 0; } }

.feature-visual {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 280px;
}
.feature-list { list-style: none; padding: 0; margin: 20px 0 0; }
.feature-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Dashboard mock */
.dash-mock {
  display: grid;
  gap: 12px;
}
.dash-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.dash-stat {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.dash-stat-val { font-size: 1.35rem; font-weight: 800; color: var(--accent); font-family: var(--font-mono); }
.dash-stat-label { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.dash-bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  margin-top: 8px;
}
.dash-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: 99px; }

/* Connect chat mock */
.chat-mock {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
}
.chat-bubble.bot {
  align-self: flex-start;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  color: var(--text);
}
.chat-bubble.user {
  align-self: flex-end;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ============================================ Checkout ============================================ */
.page-hero--compact {
  padding: 36px 0 20px;
}
.checkout-intro {
  text-align: center;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.checkout-intro .eyebrow {
  margin-bottom: 4px;
}
.checkout-intro h1 {
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  margin: 14px 0 0;
  line-height: 1.18;
  max-width: 720px;
}
.checkout-intro p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.checkout-section {
  padding: 28px 0 48px;
}
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}
.checkout-compare { grid-column: 1; min-width: 0; }
.checkout-summary { grid-column: 2; }
@media (max-width: 1100px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .checkout-compare { grid-column: 1; }
  .checkout-summary {
    grid-column: 1;
    position: static;
    top: auto;
  }
}
@media (max-width: 900px) {
  body.checkout-page { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
.checkout-summary__bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 4px;
}
.checkout-summary__title {
  margin: 0;
  font-size: 1.15rem;
}
.checkout-summary__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.checkout-summary__details .checkout-summary__total-detail {
  display: none;
}
.checkout-summary__notes {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checkout-summary__notes li {
  position: relative;
  padding-left: 14px;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.45;
}
.checkout-summary__notes li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}
.checkout-summary__fine {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
  margin: 12px 0 0;
  line-height: 1.45;
}
.checkout-summary__cta { margin-top: 12px; }
.checkout-line--recurring { border-bottom: none; padding-top: 8px; }
@media (min-width: 901px) {
  .checkout-summary__bar .checkout-summary__total { display: none; }
  .checkout-summary__details .checkout-summary__total-detail { display: flex; }
}

.checkout-option {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 12px;
}
.checkout-option:hover { border-color: rgba(var(--accent-rgb), 0.35); }
.checkout-option.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.checkout-option input { accent-color: var(--accent); margin-right: 10px; }
.checkout-option-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.checkout-option-price { font-family: var(--font-mono); font-weight: 700; color: var(--accent); }
.checkout-summary {
  position: sticky;
  top: 100px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.checkout-line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
}
.checkout-line.total {
  border-bottom: none;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  padding-top: 16px;
}
.checkout-line--highlight {
  font-weight: 700;
  color: var(--text);
  background: var(--accent-soft);
  margin: 8px -12px;
  padding: 12px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.2);
}
.checkout-line--highlight span:last-child {
  color: var(--accent-neon);
  font-family: var(--font-mono);
  font-weight: 800;
}
.checkout-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  gap: 12px 28px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elev-2);
}
.checkout-trust-strip span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.checkout-trust-strip span::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  font-size: 0.72rem;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .checkout-trust-strip {
    grid-template-columns: repeat(4, max-content);
  }
}
.page-hero--checkout { padding-bottom: 48px; }
.checkout-addon {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.checkout-addon:last-child { border-bottom: none; }

/* Pricing comparison table */
.pricing-compare-wrap {
  width: 100%;
}
.pricing-compare {
  display: grid;
  grid-template-columns: minmax(108px, 1.1fr) repeat(4, minmax(0, 1fr));
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev);
}
.pricing-compare__cell {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
}
.pricing-compare__cell:nth-child(5n) { border-right: none; }
.pricing-compare__cell[data-col="4"],
.pricing-compare__plan[data-col="4"] { border-right: none; }
.pricing-compare__label {
  justify-content: flex-start;
  text-align: left;
  color: var(--text-muted);
  font-weight: 600;
  padding-left: 14px;
  background: var(--bg-elev-2);
  font-size: 0.78rem;
  line-height: 1.25;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.pricing-compare__label-note {
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.3;
}
.checkout-compare-note {
  list-style: none;
  margin: 14px 0 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 920px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elev-2);
}
.checkout-compare-note li {
  position: relative;
  padding-left: 14px;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.checkout-compare-note li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}
.checkout-compare-note strong {
  color: var(--text);
}
.checkout-value-banner {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  background: rgba(var(--accent-rgb), 0.06);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 920px;
}
.checkout-value-banner strong { color: var(--text); }
.checkout-intro__sub {
  margin: 18px 0 0;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 720px;
}
.checkout-line--bonus span:last-child {
  color: var(--accent);
  font-weight: 700;
}
.pricing-compare__cell--bundle {
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.pricing-compare__bundled {
  font-weight: 800;
  color: var(--accent);
  font-size: 0.78rem;
}
.pricing-compare__strike {
  text-decoration: line-through;
  color: var(--text-dim);
  font-size: 0.68rem;
}
.pricing-compare__save {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.pricing-compare__corner {
  background: var(--bg-elev-2);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  min-height: 108px;
}
.pricing-compare__plan {
  flex-direction: column;
  gap: 4px;
  padding: 10px 8px 14px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  position: relative;
  background: var(--bg-elev);
  border: none;
  font: inherit;
  color: inherit;
  min-height: 108px;
}
.pricing-compare__plan:hover { background: rgba(var(--accent-rgb), 0.05); }
.pricing-compare__plan.is-selected {
  box-shadow: none;
}

/* Full-column highlight follows selected plan */
.pricing-compare[data-active-col="1"] [data-col="1"],
.pricing-compare[data-active-col="2"] [data-col="2"],
.pricing-compare[data-active-col="3"] [data-col="3"],
.pricing-compare[data-active-col="4"] [data-col="4"] {
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-bottom-color: rgba(var(--accent-rgb), 0.14);
}
.pricing-compare[data-active-col="1"] [data-col="1"].pricing-compare__plan,
.pricing-compare[data-active-col="2"] [data-col="2"].pricing-compare__plan,
.pricing-compare[data-active-col="3"] [data-col="3"].pricing-compare__plan,
.pricing-compare[data-active-col="4"] [data-col="4"].pricing-compare__plan {
  border-top: 2px solid var(--accent);
  border-bottom: none;
  box-shadow: none;
}
.pricing-compare[data-active-col="1"] [data-col="1"].pricing-compare__cta,
.pricing-compare[data-active-col="2"] [data-col="2"].pricing-compare__cta,
.pricing-compare[data-active-col="3"] [data-col="3"].pricing-compare__cta,
.pricing-compare[data-active-col="4"] [data-col="4"].pricing-compare__cta {
  border-bottom: 2px solid var(--accent);
}
.pricing-compare__section {
  grid-column: 1 / -1;
  padding: 10px 14px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.04);
  border-bottom: 1px solid var(--border);
}
.pricing-compare__label--audience {
  font-size: 0.72rem;
  color: var(--text-dim);
}
.pricing-compare__audience .pricing-compare__text {
  font-weight: 600;
  color: var(--text);
  font-size: 0.74rem;
}
.pricing-compare__cta {
  padding: 16px 12px 18px;
  align-items: stretch;
}
.pricing-compare__cta-btn {
  white-space: nowrap;
  font-size: 0.78rem;
  padding: 12px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pricing-compare__cta-label {
  background: transparent;
  border-bottom: none;
}
.pricing-compare__plan.featured,
.pricing-compare__plan.featured.is-selected {
  box-shadow: none;
}
.pricing-compare__plan.featured:hover,
.pricing-compare__plan.featured.is-selected:hover {
  background: rgba(var(--accent-rgb), 0.05);
}
.pricing-compare__plan-name {
  font-weight: 800;
  font-size: 0.8rem;
  line-height: 1.25;
  color: var(--text);
  margin-top: 22px;
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}
.pricing-compare__plan-price {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  white-space: nowrap;
}
.pricing-compare__plan-price .per {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}
.pricing-compare__plan-note {
  font-size: 0.68rem;
  color: var(--text-dim);
  line-height: 1.3;
  white-space: nowrap;
}
.pricing-compare__badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-compare__yes {
  color: var(--accent-neon);
  font-weight: 800;
  font-size: 1rem;
}
.pricing-compare__no {
  color: var(--text-dim);
  font-weight: 500;
}
.pricing-compare__text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.checkout-addon-block {
  margin-top: 20px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* Mobile plan tabs — hidden on desktop */
.pricing-compare-tabs {
  display: none;
}
.pricing-compare-mobile-head {
  display: none;
}

@media (max-width: 767px) {
  .pricing-compare-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
  }
  .pricing-compare-tabs__btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 12px;
    min-height: 68px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-elev);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  }
  .pricing-compare-tabs__btn.is-selected {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.35);
  }
  .pricing-compare-tabs__btn.featured.is-selected {
    border-color: var(--accent);
  }
  .pricing-compare-tabs__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 100px;
    background: var(--accent);
    color: #000;
  }
  .pricing-compare-tabs__name {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--text);
    padding-right: 52px;
    line-height: 1.3;
  }
  .pricing-compare-tabs__price {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
  }

  .pricing-compare-mobile-head {
    display: block;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-elev-2);
  }
  .pricing-compare-mobile-head__audience {
    margin: 0 0 4px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
  }
  .pricing-compare-mobile-head__note {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
  }

  .pricing-compare {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    border-radius: var(--radius);
  }

  .pricing-compare__corner,
  .pricing-compare__plan {
    display: none !important;
  }

  .pricing-compare__cell[data-col],
  .pricing-compare__cta[data-col] {
    display: none;
  }

  .pricing-compare[data-active-col="1"] .pricing-compare__cell[data-col="1"],
  .pricing-compare[data-active-col="1"] .pricing-compare__cta[data-col="1"],
  .pricing-compare[data-active-col="2"] .pricing-compare__cell[data-col="2"],
  .pricing-compare[data-active-col="2"] .pricing-compare__cta[data-col="2"],
  .pricing-compare[data-active-col="3"] .pricing-compare__cell[data-col="3"],
  .pricing-compare[data-active-col="3"] .pricing-compare__cta[data-col="3"],
  .pricing-compare[data-active-col="4"] .pricing-compare__cell[data-col="4"],
  .pricing-compare[data-active-col="4"] .pricing-compare__cta[data-col="4"] {
    display: flex;
  }

  .pricing-compare [data-col] {
    background: var(--bg-elev);
    border-left: none;
    border-right: none;
    border-bottom-color: var(--border);
  }

  .pricing-compare[data-active-col="1"] .pricing-compare__cell[data-col="1"]:not(.pricing-compare__cta),
  .pricing-compare[data-active-col="2"] .pricing-compare__cell[data-col="2"]:not(.pricing-compare__cta),
  .pricing-compare[data-active-col="3"] .pricing-compare__cell[data-col="3"]:not(.pricing-compare__cta),
  .pricing-compare[data-active-col="4"] .pricing-compare__cell[data-col="4"]:not(.pricing-compare__cta) {
    background: var(--accent-soft);
  }

  .pricing-compare__label--audience,
  .pricing-compare__audience,
  .pricing-compare__cta-label {
    display: none !important;
  }

  .pricing-compare__section {
    grid-column: 1 / -1;
    padding: 12px 14px;
    font-size: 0.72rem;
    letter-spacing: 0.07em;
  }

  .pricing-compare__label {
    justify-content: center;
    text-align: left;
    align-items: flex-start;
    padding: 14px 12px;
    font-size: 0.8rem;
    line-height: 1.4;
    min-height: 52px;
    border-right: 1px solid var(--border);
  }

  .pricing-compare__label-note {
    font-size: 0.72rem;
    margin-top: 3px;
    line-height: 1.35;
  }

  .pricing-compare__cell[data-col] {
    padding: 14px 10px;
    font-size: 0.82rem;
    min-height: 52px;
    border-right: none;
  }

  .pricing-compare__text {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .pricing-compare__bundled {
    font-size: 0.84rem;
  }

  .pricing-compare__save {
    font-size: 0.68rem;
  }

  .pricing-compare__cta {
    grid-column: 1 / -1;
    padding: 14px 12px 16px;
    border-right: none;
    background: var(--bg-elev);
  }

  .pricing-compare__cta-btn {
    font-size: 0.9rem;
    padding: 14px 18px;
    min-height: 48px;
  }

  .checkout-intro {
    text-align: left;
    align-items: flex-start;
    margin-bottom: 24px;
  }
  .checkout-intro h1 {
    font-size: clamp(1.5rem, 6.5vw, 1.85rem);
    margin-top: 12px;
  }
  .checkout-intro__sub {
    margin-top: 14px;
  }
  .checkout-intro__sub,
  .checkout-value-banner {
    font-size: 0.86rem;
    max-width: none;
  }
  .checkout-value-banner {
    padding: 14px 16px;
    margin-top: 18px;
  }
  .checkout-compare-note {
    padding: 12px 14px;
    gap: 8px;
  }
  .checkout-compare-note li {
    font-size: 0.8rem;
    line-height: 1.45;
  }
  .checkout-trust-strip {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
    padding: 16px;
    margin-top: 16px;
  }
  .checkout-trust-strip span {
    font-size: 0.8rem;
    line-height: 1.45;
    min-height: 44px;
    padding: 10px 0;
  }
  .checkout-summary {
    padding: 24px 20px;
  }
  .checkout-summary__notes li {
    font-size: 0.84rem;
    line-height: 1.5;
  }
  .checkout-summary__fine {
    font-size: 0.8rem;
  }
  .checkout-summary__eyebrow {
    font-size: 0.75rem;
  }
}

@media (max-width: 640px) {
  .page-hero--compact { padding: 28px 0 16px; }
  .checkout-section { padding: 16px 0 40px; }
  .checkout-line--highlight {
    margin-left: 0;
    margin-right: 0;
  }
  .checkout-option {
    padding: 16px;
  }
  .checkout-option-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .checkout-option-head > span:first-child {
    width: 100%;
  }
  .checkout-option-price {
    font-size: 1.05rem;
    padding-left: 28px;
  }
  .checkout-option p {
    margin-left: 0 !important;
    padding-left: 28px;
  }
  .checkout-addon {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 16px 0;
  }
  .checkout-addon > div:nth-child(2) {
    flex: 1 1 calc(100% - 36px);
    min-width: 0;
  }
  .checkout-addon > div:last-child {
    margin-left: 28px;
    width: 100%;
    text-align: left;
  }
  .page-hero--checkout { padding-bottom: 32px; }
  .page-hero--checkout h1 { font-size: clamp(1.65rem, 7vw, 2.25rem); }
}

/* Logo approval banner */
.logo-preview-banner {
  background: linear-gradient(145deg, rgba(31, 24, 18, 0.92), rgba(14, 10, 7, 0.96));
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(148, 163, 184, 0.08) inset,
    0 0 48px rgba(var(--accent-rgb), 0.08),
    0 24px 64px rgba(0, 0, 0, 0.45);
}
.logo-preview-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(var(--accent-rgb), 0.1), transparent 55%);
  pointer-events: none;
}
.logo-preview-banner--cyber { align-items: center; }
.logo-preview-banner-visual {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.logo-preview-emblem {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(var(--accent-rgb), 0.35));
}
.logo-preview-wordmark {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(var(--accent-rgb), 0.15));
}
.logo-preview-banner-title {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #F8FAFC 0%, #94A3B8 45%, var(--accent-neon) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-preview-banner p {
  margin: 0;
  flex: 1;
  min-width: 200px;
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}
.logo-preview-banner img {
  max-width: 120px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* ============================================ Site-wide lasso cursor ============================================ */
.lasso-trail-canvas,
.hero-trail-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10050;
  pointer-events: none;
}
body.lasso-active,
body.lasso-active * {
  cursor: none !important;
}
body.lasso-active .lasso-caught {
  cursor: none !important;
}
.lasso-caught {
  position: relative;
  z-index: 3;
}

/* ============================================ Conversion optimization ============================================ */
.hero--photo {
  position: relative;
  overflow: hidden;
}
.hero--circuit .hero-overlay,
.hero--circuit .hero-circuit-bg,
.hero--circuit .hero-cyber-glow {
  z-index: -1;
}
.hero--circuit .container,
.hero--circuit .wrap {
  position: relative;
  z-index: 1;
}
.hero--photo .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--overlay-hero) 0%, var(--overlay-dark) 100%);
  z-index: -1;
  pointer-events: none;
}
body.home .hero--photo .hero-copy {
  padding-top: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: heroCopyRise 0.9s ease forwards;
}
body.home .hero--circuit::after {
  display: none;
}
body.home .hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding-top: 32px;
}
body.home .hero-logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 4px;
}
body.home .hero-logo-mark {
  position: relative;
  display: block;
  width: min(280px, 62vw);
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  margin: 0 auto 18px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  isolation: isolate;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s var(--ease);
}
body.home .hero-logo-mark:hover {
  transform: scale(1.03);
}
body.home .hero-logo-mark:active {
  transform: scale(0.98);
}
body.home .hero-logo-mark:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.65);
  outline-offset: 6px;
}
body.home .hero-logo-mark::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  width: 72%;
  height: 66%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 62%,
    rgba(var(--accent-rgb), 0.1) 0%,
    rgba(var(--accent-rgb), 0.04) 42%,
    transparent 72%
  );
  z-index: 0;
  pointer-events: none;
  filter: blur(16px);
  opacity: 0.85;
}
body.home .hero-logo-mark__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}
body.home .hero--circuit {
  padding-top: 48px;
  padding-bottom: 36px;
}
body.home .hero .trust-row {
  margin-top: 28px;
}
body.home .hero--circuit + .section {
  padding-top: 64px;
}
@media (max-width: 600px) {
  body.home .hero-stage {
    padding-top: 24px;
  }
  body.home .hero-logo-mark {
    width: min(240px, 64vw);
    margin-bottom: 14px;
  }
  body.home .hero--circuit {
    padding-top: 36px;
  }
}
@keyframes heroCopyRise {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.eyebrow--pill {
  position: relative;
  z-index: 1;
}
.hero--circuit {
  padding: 100px 0 88px;
}
.hero-circuit-bg {
  position: absolute;
  inset: 0;
  background-color: var(--bg-deep);
  background:
    linear-gradient(180deg, var(--overlay-hero) 0%, var(--overlay-dark) 55%, var(--bg) 100%),
    url('../assets/hero-agency-bg.jpg') center 42% / cover no-repeat;
  z-index: -2;
  pointer-events: none;
}
.hero--circuit .hero-cyber-glow {
  opacity: 0.65;
}
.hero--convert { padding-top: 88px; }
body.home .hero--convert { padding-top: 0; }
.hero-content--first { margin-bottom: 0; }
.hero-website-line {
  margin: -6px auto 18px;
  max-width: 38rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: center;
}
.hero-website-line a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(var(--accent-rgb), 0.45);
}
.hero-website-line a:hover,
.hero-website-line a:focus-visible {
  text-decoration-color: var(--accent);
}
.hero-risk-reversal {
  margin: 16px 0 28px;
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  line-height: 1.4;
}
.hero-risk-reversal > span:not(.hero-risk-sep) {
  white-space: nowrap;
}
.hero-risk-sep {
  opacity: 0.55;
  user-select: none;
}
.hero-brand-showcase--below {
  margin-top: 48px;
  margin-bottom: 0;
  opacity: 0.85;
}
.hero-logo-frame--compact { width: min(100px, 22vw); }
.hero-logo-wordmark--subtle {
  max-width: min(320px, 70vw);
  opacity: 0.9;
  filter: drop-shadow(0 0 16px rgba(212, 168, 75, 0.18));
}
@media (max-width: 640px) {
  .hero--convert { padding-top: 72px; }
  .hero-brand-showcase--below { margin-top: 32px; }
  .hero-logo-frame--compact { display: none; }
}

.cta-band {
  margin-top: 48px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.08), rgba(var(--accent-rgb), 0.02));
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: var(--radius-lg);
}
.cta-band--inline { margin-top: 40px; }
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-band-inner strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--text);
}
.cta-band-inner span {
  font-size: 0.92rem;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .cta-band-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-band-inner .btn { width: 100%; }
}

.google-reviews-card {
  max-width: 560px;
  margin: 40px auto 0;
  padding: 28px;
  text-align: center;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.google-reviews-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.google-reviews-score .stars { color: #FBBF24; font-size: 1.1rem; letter-spacing: 2px; }
.google-reviews-score strong { font-size: 1.5rem; font-family: var(--font-mono); }
.google-reviews-label { font-size: 0.88rem; color: var(--text-dim); }
.google-reviews-quote {
  font-size: 0.98rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0 0 20px;
  line-height: 1.6;
}

/* Mobile header audit CTA */
.nav-audit-cta-mobile {
  display: none;
  padding: 8px 14px;
  font-size: 0.82rem;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .nav-audit-cta-mobile {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
  .float-call { display: none !important; }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  body.menu-open { padding-bottom: 0; }
}

/* Sticky mobile CTA bar */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(20, 16, 12, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(var(--accent-rgb), 0.2);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
  gap: 10px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .sticky-mobile-cta { display: flex; }
}
.sticky-mobile-cta-call {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 64px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}
.sticky-mobile-cta-call svg { color: var(--accent); }
.sticky-mobile-cta-book {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 16px;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.25);
}
.sticky-mobile-cta-book:hover,
.sticky-mobile-cta-book:focus-visible {
  background: var(--accent-hover);
  color: #000;
}

.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* ============================================ Inviting imagery & warmer sections ============================================ */
.section-warm {
  background: linear-gradient(180deg, rgba(15, 26, 20, 0.5) 0%, transparent 45%, rgba(12, 20, 16, 0.4) 100%);
}
.section-dark {
  background: linear-gradient(180deg, #0e0a07 0%, #0a1210 50%, #0e0a07 100%);
}
.card {
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(var(--accent-rgb), 0.06);
  position: relative;
  margin: 0;
  line-height: 0;
}
.media-frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
/* Crop anchors — keep faces in frame when object-fit: cover */
.media-frame img.media-crop-face,
.about-photo img,
.testimonial-avatar--photo {
  object-position: 50% 18%;
}
.media-frame img.media-crop-people,
.industry--photo img,
.case-card-media img {
  object-position: 50% 32%;
}
.media-frame img.media-crop-scene {
  object-position: 50% 48%;
}
/* Cropped frames: aspect-ratio box + absolute img prevents mobile stretch */
.steps-layout .media-frame,
.testimonial-strip .media-frame,
.page-hero-visual .media-frame {
  position: relative;
}
.steps-layout .media-frame img,
.testimonial-strip .media-frame img,
.page-hero-visual .media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}
.testimonial-strip .media-frame img.media-crop-face {
  object-position: 50% 18%;
}
.page-hero-visual .media-frame img.media-crop-people {
  object-position: 50% 22%;
}
.media-frame--glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1) 0%, transparent 55%);
  pointer-events: none;
}
.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .media-split { grid-template-columns: 1fr; gap: 36px; }
  .media-split .media-frame {
    aspect-ratio: 16 / 10;
  }
  .media-split .media-frame--portrait {
    aspect-ratio: 4 / 5;
  }
  .media-split .media-frame--people {
    aspect-ratio: 3 / 2;
  }
  .media-split .media-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 32%;
  }
  .media-split .media-frame--portrait img {
    object-position: 50% 18%;
  }
  .media-split--reverse .media-frame { order: -1; }
}
.media-split h2 { margin: 16px 0 14px; }
.steps-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .steps-layout { grid-template-columns: 1fr; }
  .steps-layout .media-frame { aspect-ratio: 3 / 2; }
  .steps-layout .media-frame--portrait { aspect-ratio: 4 / 5; }
}
.steps-layout .media-frame { aspect-ratio: 4 / 5; }
.steps-layout .media-frame--people { aspect-ratio: 5 / 4; }
.steps-layout .steps {
  grid-template-columns: 1fr;
  gap: 28px;
  padding-top: 0;
}
.steps-layout .steps::before { display: none; }
.steps-layout .step {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 10px;
  text-align: left;
  padding: 0;
}
.steps-layout .step-num {
  grid-row: 1 / span 2;
  margin: 0;
  width: 56px;
  height: 56px;
  font-size: 1.2rem;
  align-self: start;
}
.steps-layout .step h3 {
  grid-column: 2;
  margin-bottom: 0;
  padding-top: 0.35rem;
}
.steps-layout .step p {
  grid-column: 2;
  margin: 0;
}
.testimonial-avatar--photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(var(--accent-rgb), 0.35);
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.15);
}
.testimonial-strip {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.06) 0%, var(--bg-elev) 70%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
@media (max-width: 900px) {
  .testimonial-strip { grid-template-columns: 1fr; }
  .testimonial-strip .media-frame { aspect-ratio: 4 / 5; }
}
.testimonial-strip .media-frame { aspect-ratio: 1; }
.testimonial-strip .media-frame--portrait { aspect-ratio: 4 / 5; }
.final-cta--invite::after {
  background-image: url('../assets/invite-porch-consult.jpg');
  opacity: 0.16;
  mix-blend-mode: soft-light;
}
.page-hero-visual {
  margin-top: 40px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero-visual .media-frame { aspect-ratio: 21 / 8; }
.page-hero-visual .media-frame--people { aspect-ratio: 3 / 2; }
@media (max-width: 900px) {
  .page-hero-visual .media-frame { aspect-ratio: 16 / 9; }
  .page-hero-visual .media-frame--people { aspect-ratio: 3 / 2; }
}
.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  line-height: 0;
}
.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transition: transform 0.5s var(--ease);
}

/* ============================================ Exit popup ============================================ */
.exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 16, 12, 0.84);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.exit-popup.is-open {
  display: flex;
  opacity: 1;
}
.exit-popup.is-closing {
  opacity: 0;
}
.exit-popup__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 3 / 4;
  max-height: min(88vh, 680px);
  background: #14100c;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(var(--accent-rgb), 0.06),
    0 0 64px rgba(var(--accent-rgb), 0.08);
  opacity: 0;
  transform: scale(0.94) translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.exit-popup__card::before {
  display: none;
}
.exit-popup__card.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.exit-popup__card.is-closing {
  opacity: 0;
  transform: scale(0.97) translateY(8px);
}
.exit-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 16, 12, 0.72);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.exit-popup__close:hover,
.exit-popup__close:focus-visible {
  background: rgba(20, 16, 12, 0.92);
  border-color: rgba(var(--accent-rgb), 0.35);
  color: var(--text);
}
.exit-popup__art,
.exit-popup__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: #14100c;
}
.exit-popup__art::after,
.exit-popup__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(20, 16, 12, 0.08) 0%,
    rgba(20, 16, 12, 0.02) 38%,
    rgba(20, 16, 12, 0.42) 62%,
    rgba(20, 16, 12, 0.82) 100%
  );
}
.exit-popup__art img.exit-popup__image,
.exit-popup__media img.exit-popup__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}
.exit-popup__body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 24px 28px 28px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(20, 16, 12, 0) 0%,
    rgba(20, 16, 12, 0.72) 24%,
    rgba(20, 16, 12, 0.96) 52%,
    rgba(20, 16, 12, 0.98) 100%
  );
}
.exit-popup__body .eyebrow {
  margin: 0 auto 16px;
}
.exit-popup__body h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  letter-spacing: -0.03em;
  color: var(--text);
}
.exit-popup__lead {
  margin: 0 0 24px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.exit-popup__body .btn {
  font-weight: 700;
}
.exit-popup__dismiss {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 8px;
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.exit-popup__dismiss:hover,
.exit-popup__dismiss:focus-visible {
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .exit-popup { padding: 12px; align-items: flex-end; }
  .exit-popup__card {
    max-width: 100%;
    max-height: min(92vh, 720px);
    aspect-ratio: 3 / 4;
  }
  .exit-popup__body { padding: 20px 18px 22px; }
  .exit-popup__body h2 { font-size: 1.25rem; }
  .exit-popup__lead { font-size: 0.9rem; margin-bottom: 18px; }
  .exit-popup__close { top: 10px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .exit-popup,
  .exit-popup__card {
    transition: none;
  }
}
@media (max-width: 540px) {
  .about-photo { aspect-ratio: 3 / 4; }
}
.about-photo:hover img { transform: scale(1.03); }

/* ============================================
   Mobile polish — spacing, legibility, images
   Breakpoints: 900 / 767 / 640 / 414 / 375
   ============================================ */

@media (max-width: 900px) {
  .container {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
  .section { padding: 72px 0; }
  .section-sm { padding: 48px 0; }
  .section-heading { margin-bottom: 48px; }
  .section-heading p { font-size: 1.02rem; line-height: 1.55; }
  .page-hero { padding: 64px 0 48px; }
  .hero { padding: 72px 0 60px; }
  .hero-ctas { gap: 12px; }
  .hero-ctas .btn { min-height: 48px; padding: 14px 22px; }
  .hero .lead,
  .page-hero .lead { line-height: 1.6; }
  .final-cta { padding: 72px 0; }
  .site-footer { padding: 64px 0 28px; }
  .footer-grid { gap: 36px; margin-bottom: 44px; }
  .footer-brand p { line-height: 1.6; font-size: 0.92rem; }
  .footer-col a { font-size: 0.9rem; line-height: 1.45; }
  .split-panel { padding: 28px 24px; }
  .card,
  .product-card { padding: 24px 20px; }
  .trust-row { margin-top: 48px; gap: 10px 14px; }
  .trust-row span { font-size: 0.8rem; padding: 10px 16px; line-height: 1.4; }
  .integration-row { gap: 10px 14px; margin-top: 24px; padding-top: 20px; }
  .integration-badge { font-size: 0.8rem; padding: 8px 14px; }
  .checkout-grid { gap: 32px; }
  .checkout-option { padding: 18px; margin-bottom: 14px; }
  .testimonial-strip { padding: 24px 20px; gap: 28px; margin-bottom: 40px; }
  .cta-band { margin-top: 36px; padding: 22px 24px; }
  .field input,
  .field select,
  .field textarea { padding: 14px 16px; font-size: 1rem; line-height: 1.45; }
  .google-reviews-card { padding: 24px 20px; margin-top: 32px; }
}

@media (max-width: 767px) {
  .pricing-compare-mobile-head {
    padding: 14px 16px;
    margin-bottom: 14px;
  }
  .pricing-compare-mobile-head__audience {
    font-size: 0.94rem;
    line-height: 1.35;
  }
  .pricing-compare-mobile-head__note {
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .checkout-compare-note {
    padding: 14px 16px;
    gap: 10px;
  }
  .checkout-compare-note li {
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .media-split { gap: 32px; }
  .page-hero-visual { margin-top: 32px; }
}

@media (max-width: 640px) {
  .container {
    padding-left: max(18px, env(safe-area-inset-left, 0px));
    padding-right: max(18px, env(safe-area-inset-right, 0px));
  }
  .section { padding: 60px 0; }
  .section-sm { padding: 44px 0; }
  .section-heading { margin-bottom: 40px; }
  .page-hero { padding: 52px 0 40px; }
  .hero { padding: 60px 0 48px; }
  .hero-risk-reversal { font-size: 0.84rem; gap: 8px 12px; margin: 14px 0 24px; }
  .hero-brand-showcase--below { margin-top: 28px; }
  .industries { gap: 12px; }
  .industry--photo .industry-name { padding: 14px; font-size: 0.9rem; }
  .case-card-body { padding: 20px; }
  .price-card { padding: 28px 22px; }
  .faq-q { padding: 18px 0; font-size: 0.98rem; line-height: 1.45; }
  .nav.is-mobile-open .mobile-cta-block {
    gap: 10px;
    margin-top: 10px;
    padding-top: 12px;
  }
  .nav.is-mobile-open .mobile-cta-call,
  .nav.is-mobile-open .mobile-cta-audit {
    min-height: 48px;
    padding: 14px 12px;
  }
  .nav.is-mobile-open .mobile-cta-call span { font-size: 0.78rem; }
  .nav.is-mobile-open .mobile-cta-audit { font-size: 0.86rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { text-align: left; }
  .brand--footer { align-items: flex-start; }
  .brand-footer-tagline { align-items: flex-start; }
  .footer-bottom { align-items: flex-start; }
}

@media (max-width: 414px) {
  .container {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas .btn { width: 100%; }
  .cta-band-inner .btn { width: 100%; min-height: 48px; }
  .pricing-compare-tabs__btn { min-height: 72px; }
  .pricing-compare-tabs__name { padding-right: 46px; }
  header.site .brand,
  .site-header .brand {
    width: 132px;
    height: 48px;
  }
}

@media (max-width: 375px) {
  .section { padding: 52px 0; }
  .page-hero h1,
  .checkout-intro h1 { font-size: clamp(1.45rem, 7.5vw, 1.75rem); }
  .nav.is-mobile-open .mobile-cta-block {
    grid-template-columns: 1fr;
  }
  .nav.is-mobile-open .mobile-cta-call span {
    white-space: normal;
  }
  .pricing-compare-tabs {
    gap: 8px;
  }
  .pricing-compare-tabs__btn {
    padding: 12px 10px;
    min-height: 64px;
  }
  .sticky-mobile-cta {
    padding-left: 12px;
    padding-right: 12px;
    gap: 8px;
  }
  .sticky-mobile-cta-book {
    font-size: 0.84rem;
    padding: 14px 12px;
  }
}

/* ============================================ Duke & Buck chase ============================================ */
.duke-bolt-chase {
  position: fixed;
  bottom: 28px;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  pointer-events: none;
  will-change: transform;
}
.duke-bolt-chase__horse,
.duke-bolt-chase__rider {
  display: block;
  height: auto;
  opacity: 1;
}
.duke-bolt-chase__catch {
  pointer-events: auto;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  margin: 0;
  line-height: 0;
  touch-action: manipulation;
  border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 2;
}
.duke-bolt-chase__rider-tap {
  pointer-events: auto;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px 4px;
  margin: 0;
  line-height: 0;
  touch-action: manipulation;
  border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1;
}
.duke-bolt-chase__rider-tap:hover .duke-bolt-sprite--rider,
.duke-bolt-chase__rider-tap:focus-visible .duke-bolt-sprite--rider {
  filter: drop-shadow(0 0 12px rgba(255, 200, 80, 0.45));
}
.duke-bolt-chase__rider-tap:focus-visible {
  outline: 2px solid rgba(255, 200, 80, 0.75);
  outline-offset: 3px;
}
.duke-bolt-chase.is-held .duke-bolt-sprite--rider {
  animation: duke-bolt-rider-stop 0.35s ease-out forwards;
}
.duke-bolt-chase.is-held .duke-bolt-sprite--rider .duke-bolt-sprite__frame {
  animation-play-state: paused;
}
.duke-bolt-chase.is-held .duke-bolt-sprite--horse .duke-bolt-sprite__frame {
  animation-play-state: running;
}
@keyframes duke-bolt-rider-stop {
  40% { transform: translateX(-6px) rotate(-4deg); }
  100% { transform: translateX(0) rotate(0); }
}
.duke-bolt-chase__catch:hover .duke-bolt-sprite--horse,
.duke-bolt-chase__catch:focus-visible .duke-bolt-sprite--horse {
  filter: drop-shadow(0 0 14px rgba(var(--accent-rgb), 0.55));
}
.duke-bolt-chase__catch:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.duke-bolt-chase.is-caught .duke-bolt-sprite--horse {
  animation: duke-bolt-caught 0.35s ease-out forwards;
}
.duke-bolt-chase.is-caught .duke-bolt-sprite__frame,
.duke-bolt-chase.is-caught .duke-bolt-sprite--rider {
  animation-play-state: paused;
}
@keyframes duke-bolt-caught {
  to { transform: scale(0.85) rotate(8deg); opacity: 0; }
}
.duke-bolt-chase.is-caught .duke-bolt-sprite--rider {
  animation: duke-bolt-rider-cheer 0.45s ease-out forwards;
}
.duke-bolt-intro {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 49;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--header-bg);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.duke-bolt-intro.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.duke-bolt-intro__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(var(--accent-rgb), 0.82);
}
.duke-bolt-intro__hint {
  display: block;
  margin-top: 2px;
  font-size: 0.64rem;
  color: var(--text-dim);
}
@keyframes duke-bolt-rider-cheer {
  50% { transform: translateY(-14px) rotate(-6deg); }
  100% { transform: translateY(0) rotate(0); }
}
.exit-popup__image--rider {
  position: relative;
  z-index: 2;
  object-fit: contain;
  object-position: center bottom;
  max-height: 260px;
  width: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}
.exit-popup__media--jobsite {
  aspect-ratio: 4 / 3;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: #1a1410;
}
.exit-popup__media--jobsite::after {
  background: linear-gradient(180deg, transparent 55%, rgba(20, 16, 12, 0.72) 100%);
}
.exit-popup__jobsite {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.exit-popup__jobsite-sky {
  position: absolute;
  inset: 0 0 42%;
  background: linear-gradient(180deg, #2a3544 0%, #4a5f72 38%, #7a8f9c 100%);
}
.exit-popup__jobsite-bay {
  position: absolute;
  left: 0;
  right: 0;
  top: 18%;
  bottom: 28%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, transparent 12%, transparent 88%, rgba(0, 0, 0, 0.28) 100%),
    repeating-linear-gradient(90deg, #3d342c 0, #3d342c 48px, #4a4036 48px, #4a4036 96px);
  box-shadow: inset 0 -12px 24px rgba(0, 0, 0, 0.25);
}
.exit-popup__jobsite-bay::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(180deg, #6b7a88, #3f4d5a);
  box-shadow: 0 6px 0 #2a333c;
}
.exit-popup__jobsite-tools {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 30%;
  height: 34%;
  border-radius: 4px;
  background:
    radial-gradient(circle at 18% 42%, rgba(var(--accent-rgb), 0.14) 0 8%, transparent 9%),
    radial-gradient(circle at 42% 38%, rgba(var(--accent-rgb), 0.12) 0 7%, transparent 8%),
    radial-gradient(circle at 68% 44%, rgba(var(--accent-rgb), 0.1) 0 6%, transparent 7%),
    repeating-linear-gradient(
      90deg,
      #2f2924 0,
      #2f2924 14px,
      #3a332d 14px,
      #3a332d 28px
    );
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.04);
  opacity: 0.92;
}
.exit-popup__jobsite-tools::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 12%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8b5a2b, #c49a6c, #8b5a2b);
  box-shadow: 0 8px 0 -2px #5c3d21, 24px 0 0 -2px #5c3d21, 48px 0 0 -2px #5c3d21;
}
.exit-popup__jobsite-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
    repeating-linear-gradient(90deg, #5e5a56 0, #5e5a56 40px, #6a6560 40px, #6a6560 80px);
  box-shadow: inset 0 8px 16px rgba(0, 0, 0, 0.22);
}
.exit-popup__jobsite-glow {
  position: absolute;
  left: 15%;
  right: 15%;
  top: 8%;
  height: 26%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 236, 179, 0.42) 0%, rgba(255, 236, 179, 0.08) 48%, transparent 72%);
  filter: blur(2px);
}
.duke-bolt-sprite {
  position: relative;
  display: inline-block;
  line-height: 0;
  vertical-align: bottom;
  flex-shrink: 0;
  overflow: visible;
}
.duke-bolt-sprite--horse { width: 100px; }
.duke-bolt-sprite--rider {
  width: 80px;
  margin-bottom: 4px;
  margin-right: -8px;
}
.duke-bolt-sprite__frame {
  display: block;
  width: 100%;
  height: auto;
}
.duke-bolt-sprite--rider .duke-bolt-sprite__frame {
  opacity: 0;
}
.duke-bolt-sprite--rider .duke-bolt-sprite__frame--a {
  position: relative;
  animation: duke-rider-a 0.52s steps(1, end) infinite;
}
.duke-bolt-sprite--rider .duke-bolt-sprite__frame--b,
.duke-bolt-sprite--rider .duke-bolt-sprite__frame--c,
.duke-bolt-sprite--rider .duke-bolt-sprite__frame--d {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}
.duke-bolt-sprite--rider .duke-bolt-sprite__frame--b {
  animation: duke-rider-b 0.52s steps(1, end) infinite;
}
.duke-bolt-sprite--rider .duke-bolt-sprite__frame--c {
  animation: duke-rider-c 0.52s steps(1, end) infinite;
}
.duke-bolt-sprite--rider .duke-bolt-sprite__frame--d {
  animation: duke-rider-d 0.52s steps(1, end) infinite;
}
.duke-bolt-sprite--horse .duke-bolt-sprite__frame--b {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  opacity: 0;
  animation: duke-bolt-frame-b 0.32s steps(1, end) infinite;
}
.duke-bolt-sprite--horse .duke-bolt-sprite__frame--a {
  animation: duke-bolt-frame-a 0.32s steps(1, end) infinite;
}
.duke-bolt-chase.is-rtl .duke-bolt-sprite--horse {
  transform: scaleX(-1);
}
.duke-bolt-chase.is-rtl .duke-bolt-sprite--rider {
  transform: scaleX(-1);
  margin-right: 0;
  margin-left: -10px;
}
.duke-bolt-chase.is-ltr {
  flex-direction: row;
  animation: duke-bolt-ride-ltr 8.5s linear forwards;
}
.duke-bolt-chase.is-rtl {
  flex-direction: row-reverse;
  animation: duke-bolt-ride-rtl 8.5s linear forwards;
}
@keyframes duke-bolt-ride-ltr {
  from { transform: translateX(-180px); }
  to { transform: translateX(calc(100vw + 180px)); }
}
@keyframes duke-bolt-ride-rtl {
  from { transform: translateX(calc(100vw + 180px)); }
  to { transform: translateX(-180px); }
}
@keyframes duke-bolt-frame-a {
  0%, 49.9% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes duke-bolt-frame-b {
  0%, 49.9% { opacity: 0; }
  50%, 100% { opacity: 1; }
}
@keyframes duke-rider-a {
  0%, 24.9% { opacity: 1; }
  25%, 100% { opacity: 0; }
}
@keyframes duke-rider-b {
  0%, 24.9% { opacity: 0; }
  25%, 49.9% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes duke-rider-c {
  0%, 49.9% { opacity: 0; }
  50%, 74.9% { opacity: 1; }
  75%, 100% { opacity: 0; }
}
@keyframes duke-rider-d {
  0%, 74.9% { opacity: 0; }
  75%, 100% { opacity: 1; }
}
@media (max-width: 900px) {
  .duke-bolt-chase {
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  .duke-bolt-intro {
    bottom: calc(148px + env(safe-area-inset-bottom, 0px));
  }
  .duke-bolt-sprite--horse { width: 76px; }
  .duke-bolt-sprite--rider { width: 58px; }
}
@media (max-width: 480px) {
  .duke-bolt-sprite--horse { width: 64px; }
  .duke-bolt-sprite--rider { width: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .duke-bolt-chase,
  .duke-bolt-sprite__frame {
    display: none !important;
    animation: none !important;
  }
}

/* ============================================ Duke calendar (static) ============================================ */
.duke-calendar-band {
  margin: 4px 0 44px;
}
.duke-calendar-band__copy h3 {
  margin: 14px 0 12px;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  line-height: 1.2;
}
.duke-calendar-band__copy p {
  margin: 0;
  color: var(--text-muted);
  max-width: 38ch;
}
.duke-calendar-figure {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), 0.08),
    0 16px 48px rgba(0, 0, 0, 0.42);
}
.duke-calendar-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
@media (max-width: 900px) {
  .duke-calendar-band {
    margin-bottom: 36px;
  }
  .duke-calendar-band__copy {
    text-align: center;
  }
  .duke-calendar-band__copy p {
    max-width: none;
    margin-inline: auto;
  }
}
