/* ========================================================
   Squired Marketing - Production Design System & Stylesheet
   Brand Name: Squired Marketing (never "Squared")
   Colors: Navy #100558, Orange #E56315, White #FFFFFF, Light Navy Tints
   Typography: Manrope (Headings), Inter (Body)
   ======================================================== */

:root {
  /* Brand Palette */
  --color-navy: #100558;
  --color-navy-dark: #0a033b;
  --color-navy-light: #20137a;
  --color-navy-tint: #f5f6fc;
  --color-navy-tint-subtle: #fafbfe;
  --color-navy-divider: #e4e7f4;
  --color-navy-muted: #4e4975;
  
  --color-orange: #E56315;
  --color-orange-hover: #d2550e;
  --color-orange-active: #bf4907;
  --color-orange-subtle: #fef4ed;
  
  --color-white: #ffffff;
  --color-text: #100558;
  --color-text-muted: #534e79;
  --color-text-subtle: #79759c;

  /* Typography */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing Scale */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 840px;
  --header-height: 76px;
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------- CSS Reset ---------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100vw;
  position: relative;
}

body.nav-locked {
  overflow: hidden;
  touch-action: none;
}

body.nav-locked .mobile-sticky-cta-bar {
  display: none !important;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-orange);
  color: var(--color-navy);
  padding: 8px 16px;
  font-weight: 700;
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 16px;
}

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 2px;
}

/* ---------------- Layout & Containers ---------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* Alternating Section Themes - Tightened to eliminate excessive scrolling */
.section {
  padding-top: clamp(38px, 4.5vw, 56px);
  padding-bottom: clamp(38px, 4.5vw, 56px);
}

.section-tint {
  background-color: var(--color-navy-tint);
}

.section-navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.section-navy .section-title,
.section-navy .section-lead,
.section-navy p {
  color: var(--color-white);
}

.section-divider {
  border: 0;
  height: 1px;
  background-color: var(--color-navy-divider);
  margin: 0;
}

/* ---------------- Typography ---------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: inherit;
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header-centered {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy-muted);
  margin-bottom: var(--space-sm);
}

.section-navy .section-tag {
  color: #c0b9f0;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
}

.section-lead {
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---------------- Buttons ---------------- */
/* CTA buttons: orange fill #E56315 with navy #100558 text (5.2:1 contrast) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 14px 26px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.22s ease, 
              background-color 0.2s ease, 
              color 0.2s ease;
  text-align: center;
}

.btn svg {
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background-color: var(--color-orange);
  color: var(--color-navy);
}

.btn-primary:hover {
  background-color: var(--color-orange-hover);
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 99, 21, 0.28);
}

.btn-primary:active {
  background-color: var(--color-orange-active);
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-navy);
  border: 1px solid var(--color-navy-divider);
}

.btn-secondary:hover {
  background-color: var(--color-navy-tint);
  border-color: var(--color-navy);
  transform: translateY(-2px);
}

.btn-navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.btn-navy:hover {
  background-color: var(--color-navy-light);
}

.btn-text {
  background: none;
  border: none;
  padding: 0;
  font-weight: 700;
  color: var(--color-navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-text:hover {
  text-decoration: underline;
}

/* ---------------- Header & Sticky Nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-navy-divider);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo-img {
  height: 38px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.site-logo-footer {
  height: 42px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-navy);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-orange);
  transition: width 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-navy);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Header Nav CTA Auto-Reveal & Tactile Pop-in (Desktop Only) */
@media (min-width: 901px) {
  .nav-actions #nav-cta-btn {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease,
                visibility 0.3s ease;
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    will-change: opacity, transform;
  }

  .nav-actions #nav-cta-btn.nav-cta-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.9);
  }
}

/* Suppress nav CTA button on Contact page completely */
body.page-contact .nav-actions #nav-cta-btn {
  display: none !important;
}

/* Closing Band CTA Button Focus Pop-in */
.section-navy .btn-primary {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.4s ease;
  will-change: transform, box-shadow;
}

.section-navy.cta-in-view .btn-primary {
  transform: scale(1.05);
  box-shadow: 0 10px 32px rgba(229, 99, 21, 0.45);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 6px;
  color: var(--color-navy);
  border-radius: 6px;
  transition: all 0.2s ease;
  line-height: 1;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus {
  background-color: var(--color-navy-tint);
  border-color: var(--color-navy-divider);
}

.mobile-nav-toggle .icon-close {
  display: none;
}

.mobile-nav-toggle[aria-expanded="true"] .icon-hamburger {
  display: none;
}

.mobile-nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
  color: var(--color-orange);
}

/* Mobile Nav Drawer (Full Viewport Overlay) */
.mobile-menu {
  display: none;
}

@media (max-width: 900px) {
  .nav-links, 
  .nav-actions .btn-primary,
  .nav-actions #nav-cta-btn {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .mobile-menu {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background: #ffffff;
    padding: var(--space-xl) var(--space-lg) var(--space-2xl);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.25s ease, 
                visibility 0.32s ease;
    z-index: 1001; /* Above header and page elements */
    border-top: 1px solid var(--color-navy-divider);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 24px 48px rgba(16, 5, 88, 0.14);
  }

  .mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: var(--space-xl);
    padding: 0;
  }

  .mobile-menu-link {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-navy);
    padding: 12px 0;
    display: block;
    border-bottom: 1px solid rgba(16, 5, 88, 0.08);
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .mobile-menu-link:hover,
  .mobile-menu-link.active {
    color: var(--color-orange);
    transform: translateX(4px);
  }

  .mobile-menu-cta {
    margin-bottom: var(--space-xl);
  }

  .mobile-menu-cta .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(229, 99, 21, 0.25);
  }

  .mobile-menu-footer {
    margin-top: auto;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-navy-divider);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
  }

  .mobile-menu-footer a {
    color: var(--color-navy);
    font-weight: 600;
  }
}

/* ---------------- Hero Section (Home) - Tightened ---------------- */
.hero-section {
  padding-top: clamp(24px, 3vw, 36px);
  padding-bottom: clamp(36px, 4vw, 52px);
  background-color: var(--color-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-3xl);
  align-items: start;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 880px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy-muted);
  margin-bottom: var(--space-sm);
}

.hero-headline {
  font-size: clamp(2.35rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-navy);
  margin-bottom: var(--space-lg);
}

.hero-subhead {
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  max-width: 720px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.hero-microcopy {
  font-size: 0.84rem;
  color: var(--color-text-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-microcopy::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-orange);
}

/* ---------------- Core Visual Mechanism Mockups ---------------- */
/* Rendered conditionally by utm_source in hero visual container */
.hero-visual-card {
  background: var(--color-navy-tint);
  border-radius: 6px;
  padding: var(--space-xl);
  box-shadow: 0 4px 20px rgba(16, 5, 88, 0.04);
}

/* Creative / UGC Mockup (Meta, TikTok) */
.creative-mechanism-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.creative-thumb {
  background: var(--color-white);
  border-radius: 4px;
  padding: 10px;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--color-navy-divider);
}

.thumb-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.thumb-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-orange-subtle);
}
.thumb-line-sm {
  height: 6px;
  width: 45px;
  background: var(--color-navy-divider);
  border-radius: 3px;
}
.thumb-media-body {
  flex: 1;
  margin: 8px 0;
  border-radius: 3px;
  background: linear-gradient(135deg, #f0f2fa, #e2e6f8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.thumb-pill {
  height: 14px;
  width: 50px;
  border-radius: 7px;
  background: var(--color-navy-tint);
}
.thumb-pill.accent {
  background: var(--color-orange);
  width: 32px;
}

/* Dashboard Mockup (Google, Search, Default) */
.dashboard-mechanism-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dash-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.dash-metric-chip {
  background: var(--color-white);
  padding: 10px;
  border-radius: 4px;
  border: 1px solid var(--color-navy-divider);
}
.dash-chip-label {
  height: 6px;
  width: 40px;
  background: var(--color-navy-divider);
  border-radius: 3px;
  margin-bottom: 6px;
}
.dash-chip-value {
  height: 10px;
  width: 60px;
  background: var(--color-navy);
  border-radius: 3px;
}
.dash-chart-mock {
  background: var(--color-white);
  border-radius: 4px;
  padding: 16px;
  border: 1px solid var(--color-navy-divider);
}

/* ---------------- Hero Inline Form ---------------- */
.hero-form-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: var(--space-xl);
  border: 1px solid var(--color-navy-divider);
  box-shadow: 0 8px 30px rgba(16, 5, 88, 0.06);
  transition: box-shadow 0.28s ease, border-color 0.28s ease;
}

.hero-form-card:hover {
  box-shadow: 0 14px 38px rgba(16, 5, 88, 0.09);
  border-color: rgba(16, 5, 88, 0.18);
}

.hero-form-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.hero-form-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-navy-divider);
  border-radius: 4px;
  background-color: var(--color-white);
  color: var(--color-navy);
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-navy);
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 5, 88, 0.1);
}

.form-help {
  font-size: 0.775rem;
  color: var(--color-text-subtle);
  margin-top: 4px;
}

.form-error {
  color: #c92a2a;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 6px;
  display: none;
}

/* Spam Honeypot - Hidden from humans */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-success-card, .brief-success-card {
  padding: var(--space-lg) 0;
  text-align: left;
}

.success-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-orange-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.next-steps-list {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.step-row .step-num {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
}

/* ---------------- Hero Merged Trust Strip ---------------- */
.hero-trust-strip {
  margin-top: var(--space-xl);
  padding: 12px 18px;
  background: var(--color-navy-tint);
  border-radius: 6px;
  border: 1px solid var(--color-navy-divider);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust-strip .trust-strip-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-navy-muted);
  display: inline-block;
  margin-bottom: 0;
  white-space: nowrap;
}

.hero-trust-strip .trust-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hero-trust-strip .trust-pill {
  display: inline-flex;
  padding: 5px 12px;
  background: var(--color-white);
  border-radius: 4px;
  border: 1px solid var(--color-navy-divider);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-trust-strip .trust-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 5, 88, 0.3);
  box-shadow: 0 4px 12px rgba(16, 5, 88, 0.06);
}

.hero-trust-strip .trust-pill-name {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-navy);
}

/* ---------------- Trust Strip ---------------- */
.trust-strip {
  padding: var(--space-xl) 0;
  background-color: var(--color-navy-tint);
  border-top: 1px solid var(--color-navy-divider);
  border-bottom: 1px solid var(--color-navy-divider);
}

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.trust-strip-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-navy-muted);
  flex-shrink: 0;
}

.trust-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}

.trust-pill {
  display: inline-flex;
  flex-direction: column;
  padding: 6px 14px;
  background: var(--color-white);
  border-radius: 4px;
  border: 1px solid var(--color-navy-divider);
}

.trust-pill-name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-navy);
}

.trust-pill-type {
  font-size: 0.72rem;
  color: var(--color-text-subtle);
}

/* ---------------- Proof Bar (Hidden if empty) ---------------- */
.proof-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-navy-divider);
}

.proof-item {
  display: flex;
  flex-direction: column;
}

.proof-value {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1.1;
  margin-bottom: 4px;
}

.proof-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy);
}

.proof-dates {
  font-size: 0.775rem;
  color: var(--color-text-subtle);
  margin-top: 2px;
}

/* ---------------- Problem Trio (Why Growth Stalls) ---------------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.problem-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: 8px;
  border: 1px solid var(--color-navy-divider);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.28s ease;
}

.problem-col:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 5, 88, 0.18);
  box-shadow: 0 14px 32px rgba(16, 5, 88, 0.06);
}

.problem-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: var(--space-xs);
  transition: transform 0.25s ease;
}

.problem-col:hover .problem-num {
  transform: scale(1.06);
}

.problem-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-navy-muted);
  background: var(--color-navy-tint);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: var(--space-sm);
}

.problem-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.problem-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---------------- Services Preview (Home 4 Columns) Horizontal Expanding Deck ---------------- */
.services-preview-grid {
  display: flex;
  gap: var(--space-lg);
  align-items: stretch;
  width: 100%;
}

.service-preview-card {
  background: var(--color-white);
  padding: 26px 22px;
  border-radius: 8px;
  border: 1px solid var(--color-navy-divider);
  border-bottom: 3px solid var(--color-navy-divider);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 410px;
  box-sizing: border-box;

  /* Horizontal Flex Accordion sizing */
  flex: 1 1 0;
  min-width: 0;
  transition: flex 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              border-bottom-color 0.3s ease, 
              box-shadow 0.35s ease, 
              transform 0.35s ease,
              opacity 0.3s ease;
}

@media (min-width: 901px) {
  /* When hovering anywhere on the services deck, compress non-hovered cards */
  .services-preview-grid:hover .service-preview-card {
    flex: 0.73 1 0;
    opacity: 0.88;
  }

  /* The actively hovered card expands horizontally */
  .services-preview-grid .service-preview-card:hover,
  .services-preview-grid .service-preview-card:focus-within {
    flex: 1.82 1 0;
    opacity: 1;
    border-color: rgba(16, 5, 88, 0.18);
    border-bottom-color: var(--color-orange);
    box-shadow: 0 16px 36px rgba(16, 5, 88, 0.09);
    transform: translateY(-2px);
  }
}

.service-preview-top {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
  height: 2.2rem;
}

.service-preview-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
  transition: transform 0.25s ease;
}

.service-preview-card:hover .service-preview-num {
  transform: scale(1.06);
}

.service-preview-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
  line-height: 1.35;
  min-height: 3.1em;
}

.service-preview-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.5;
  min-height: 2.8em;
}

/* Horizontal expansion reveals key execution scope smoothly without vertical reflow */
.service-preview-drawer {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.32s ease 0.05s, transform 0.32s ease 0.05s;
  margin-bottom: var(--space-sm);
}

@media (min-width: 901px) {
  .service-preview-card:hover .service-preview-drawer,
  .service-preview-card:focus-within .service-preview-drawer {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.service-drawer-header {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy-muted);
  margin-bottom: 6px;
}

.service-preview-scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8125rem;
  color: var(--color-navy);
}

.service-preview-scope-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-preview-scope-list svg {
  flex-shrink: 0;
}

.service-preview-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px dashed var(--color-navy-divider);
  transition: gap 0.2s ease, color 0.2s ease;
}

.service-preview-card:hover .service-preview-link {
  color: var(--color-orange);
  gap: 10px;
}

.service-preview-card:hover .service-preview-link svg {
  transform: translateX(4px);
}

/* ---------------- Services Split Explorer (services.html) - Compact Viewport ---------------- */
.services-explorer {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* ---------------- Services Page: Desktop Split Explorer (Zero Layout Shift) ---------------- */
.services-desktop-explorer {
  display: block;
  width: 100%;
}

.services-mobile-deck {
  display: none !important;
}

.services-explorer-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-xl);
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

.services-tabs-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.service-tab-btn {
  flex: 1 1 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--color-white);
  border: 1px solid var(--color-navy-divider);
  border-left: 4px solid transparent;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-tab-btn:hover {
  background: var(--color-navy-tint);
  border-color: rgba(16, 5, 88, 0.2);
  transform: translateX(3px);
}

.service-tab-btn.active {
  background: var(--color-white);
  border-color: rgba(16, 5, 88, 0.2);
  border-left-color: var(--color-orange);
  box-shadow: 0 6px 18px rgba(16, 5, 88, 0.06);
}

.service-tab-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
  flex-shrink: 0;
}

.service-tab-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 2px;
}

.service-tab-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
}

.service-tab-badge {
  font-size: 0.71875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-navy-muted);
}

.service-tab-chevron {
  color: var(--color-navy-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.service-tab-btn.active .service-tab-chevron,
.service-tab-btn:hover .service-tab-chevron {
  transform: translateX(3px);
  color: var(--color-orange);
}

/* Right Detail Column: Common rock-solid stage with pre-rendered panels (ZERO layout shift) */
.services-detail-col {
  height: 100%;
}

.desktop-panels-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  height: 100%;
  position: relative;
}

.desktop-service-panel {
  grid-area: 1 / 1;
  height: 100%;
  min-height: 468px;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-navy-divider);
  border-top: 5px solid var(--color-orange);
  border-radius: 8px;
  padding: 26px 30px;
  box-shadow: 0 8px 24px rgba(16, 5, 88, 0.06);
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

.desktop-service-panel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* Common Head Block (Identical height & dividing line anchor across all 5 cards) */
.desktop-panel-head {
  height: 100px;
  min-height: 100px;
  max-height: 100px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-shrink: 0;
  box-sizing: border-box;
}

.desktop-service-panel .service-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 48px;
  min-height: 48px;
  margin-bottom: 2px;
}

.desktop-service-panel .service-detail-badge {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-orange);
  margin-bottom: 3px;
  line-height: 1.2;
}

.desktop-service-panel .service-detail-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
  margin: 0;
}

.desktop-service-panel .service-detail-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: rgba(16, 5, 88, 0.08);
  line-height: 1;
}

.desktop-service-panel .service-detail-lead {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 6px 0 0 0;
  max-width: 580px;
  height: 44px;
  min-height: 44px;
  box-sizing: border-box;
}

/* Content Grid below dividing line: rock-solid anchor across all 5 cards */
.desktop-service-panel .service-detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px dashed var(--color-navy-divider);
  flex: 1 1 auto;
  align-items: stretch;
  box-sizing: border-box;
}

.desktop-service-panel .service-scope-col {
  display: flex;
  flex-direction: column;
}

.desktop-service-panel .service-subheading {
  font-size: 0.78125rem;
  font-weight: 800;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  line-height: 1.2;
  height: 16px;
}

.desktop-service-panel .service-includes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.desktop-service-panel .service-includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--color-navy);
  font-weight: 500;
  min-height: 42px;
  box-sizing: border-box;
}

.desktop-service-panel .service-includes-list .check-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Right Meta Column: Locked uniform specs box across all 5 cards (zero shift) */
.desktop-service-panel .service-meta-col {
  display: flex;
  flex-direction: column;
}

.desktop-service-panel .service-specs-box {
  background: var(--color-navy-tint);
  border: 1px solid rgba(16, 5, 88, 0.08);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 220px;
  min-height: 220px;
  max-height: 220px;
  box-sizing: border-box;
}

.desktop-service-panel .spec-row {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 84px;
  min-height: 84px;
  max-height: 84px;
  gap: 4px;
  box-sizing: border-box;
}

.desktop-service-panel .spec-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-navy-muted);
  line-height: 1.2;
  flex-shrink: 0;
}

.desktop-service-panel .spec-text {
  font-size: 0.875rem;
  color: var(--color-navy);
  line-height: 1.42;
  margin: 0;
}

.desktop-service-panel .spec-divider {
  width: 100%;
  height: 1px;
  background: rgba(16, 5, 88, 0.09);
  margin: 4px 0;
  flex-shrink: 0;
}

.desktop-service-panel .service-cta-wrap {
  display: none !important;
}

/* Base Service Detail Card & Deck (Mobile Scoped) */
.diagonal-deck-stage {
  position: relative;
  width: 100%;
  padding: 0;
  min-height: auto;
  outline: none;
}

.diagonal-card {
  width: 100%;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fafaff 100%);
  border: 1px solid rgba(16, 5, 88, 0.12);
  border-top: 5px solid var(--color-orange);
  border-radius: 16px;
  padding: var(--space-2xl);
  box-shadow: 0 16px 40px rgba(16, 5, 88, 0.08);
  outline: none;
  display: flex;
  flex-direction: column;
}

.diagonal-card .service-detail-grid {
  flex: 1 1 auto;
}

.diagonal-card .service-card-stepper-footer {
  margin-top: auto;
  padding-top: var(--space-md);
}

/* Card Top Navigation Bar (Chip Badge, Dots & Arrows) */
.service-card-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-navy-divider);
}

.card-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.card-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--color-navy);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 0 6px var(--color-orange);
}

.card-step-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-navy-muted);
}

.card-indicator-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-navy-divider);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-dot:hover {
  background: var(--color-navy);
}

.card-dot.active {
  background: var(--color-orange);
  width: 22px;
  border-radius: 10px;
}

.card-nav-arrows {
  display: flex;
  gap: 8px;
  align-items: center;
}

.card-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-navy-tint);
  border: 1px solid var(--color-navy-divider);
  color: var(--color-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-arrow-btn:hover {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
  transform: scale(1.08);
}

/* Card Footer Stepper (Next & Previous Scope Links) */
.service-card-stepper-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-navy-divider);
  gap: var(--space-md);
}

.stepper-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-navy-tint);
  border: 1px solid var(--color-navy-divider);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--color-navy);
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.stepper-nav-btn:hover {
  background: var(--color-white);
  border-color: var(--color-orange);
  box-shadow: 0 4px 12px rgba(16, 5, 88, 0.08);
}

.stepper-nav-btn.next {
  margin-left: auto;
  text-align: right;
}

.stepper-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.stepper-text small {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy-muted);
}

.stepper-text strong {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
}

.stepper-nav-btn:hover .stepper-text strong {
  color: var(--color-orange);
}

.stepper-nav-btn.prev:hover svg {
  transform: translateX(-3px);
  color: var(--color-orange);
}

.stepper-nav-btn.next:hover svg {
  transform: translateX(3px);
  color: var(--color-orange);
}

.stepper-nav-btn svg {
  color: var(--color-navy);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.card-swipe-hint {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-navy-muted);
  letter-spacing: 0.02em;
  text-align: center;
}

@media (max-width: 650px) {
  .card-swipe-hint {
    display: none;
  }
}

.service-card-tile {
  background: var(--color-navy-tint);
  border: 1px solid rgba(16, 5, 88, 0.06);
  border-radius: 12px;
  padding: var(--space-lg);
}

.service-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-xs);
}

.service-detail-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-orange);
  margin-bottom: 4px;
}

.service-detail-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.25;
  margin: 0;
}

.service-detail-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(16, 5, 88, 0.08);
  line-height: 1;
}

.service-detail-lead {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: var(--space-xs);
  margin-bottom: var(--space-lg);
  max-width: 680px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: var(--space-2xl);
  padding-top: var(--space-md);
  border-top: 1px dashed var(--color-navy-divider);
}

@media (max-width: 900px) {
  .services-explorer-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .services-detail-col {
    position: static;
  }
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .service-detail-card,
  .diagonal-card {
    padding: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Responsive Services Switch: Hide Desktop Explorer, Show Mobile Card Deck */
  .services-desktop-explorer {
    display: none !important;
  }
  .services-mobile-deck {
    display: block !important;
  }

  /* On mobile, services tabs become a swipeable horizontal chip strip */
  .services-tabs-col {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding: 4px 2px 10px 2px;
    margin-bottom: var(--space-xs);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .services-tabs-col::-webkit-scrollbar {
    display: none;
  }
  .service-tab-btn {
    flex: 0 0 auto;
    width: auto;
    padding: 7px 14px;
    border-radius: 30px;
    border: 1px solid var(--color-navy-divider);
    border-left: 1px solid var(--color-navy-divider);
    background: var(--color-white);
    gap: 6px;
  }
  .service-tab-btn.active {
    background: var(--color-navy);
    border-color: var(--color-navy);
    box-shadow: 0 4px 14px rgba(16, 5, 88, 0.15);
  }
  .service-tab-btn.active .service-tab-num {
    color: var(--color-orange);
  }
  .service-tab-btn.active .service-tab-title {
    color: var(--color-white);
  }
  .service-tab-btn .service-tab-chevron,
  .service-tab-btn .service-tab-badge {
    display: none;
  }
  .service-tab-btn .service-tab-title {
    font-size: 0.8125rem;
    white-space: nowrap;
  }
  .service-tab-btn .service-tab-num {
    font-size: 0.84rem;
  }

  /* Mobile 3D Diagonal Deck Stage: perfectly sized to prevent horizontal overflow */
  .diagonal-deck-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 8px 18px 24px 18px;
    perspective: 1000px;
    min-height: auto;
    box-sizing: border-box;
  }

  .diagonal-card,
  .service-detail-card {
    grid-area: 1 / 1;
    display: flex;
    padding: 20px 18px;
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    backface-visibility: hidden;
    transform-origin: center bottom;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.35s ease, 
                box-shadow 0.35s ease;
  }

  .diagonal-card.card-pos-active {
    display: flex !important;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg) !important;
    z-index: 10;
    opacity: 1 !important;
    pointer-events: auto;
    box-shadow: 0 20px 48px -6px rgba(16, 5, 88, 0.16);
    animation: none;
  }

  .diagonal-card.card-pos-next {
    display: flex !important;
    transform: translate3d(16px, 8px, -10px) scale(0.97) rotate(2.2deg) !important;
    opacity: 0.86 !important;
    z-index: 5;
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(16, 5, 88, 0.12);
  }

  .diagonal-card.card-pos-prev {
    display: flex !important;
    transform: translate3d(-16px, 8px, -10px) scale(0.97) rotate(-2.2deg) !important;
    z-index: 4;
    opacity: 0.86 !important;
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(16, 5, 88, 0.12);
  }

  .diagonal-card.card-pos-next:hover {
    transform: translate3d(20px, 6px, -6px) scale(0.98) rotate(1.6deg) !important;
  }

  .diagonal-card.card-pos-prev:hover {
    transform: translate3d(-20px, 6px, -6px) scale(0.98) rotate(-1.6deg) !important;
  }

  .diagonal-card.card-pos-hidden {
    display: none !important;
  }

  /* Mobile Card Top Nav Bar */
  .service-card-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-xs);
    padding-bottom: 8px;
    width: 100%;
  }
  .card-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  .card-chip {
    padding: 3px 8px;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
  .chip-pulse {
    width: 5px;
    height: 5px;
  }
  .card-indicator-dots {
    gap: 4px;
  }
  .card-dot {
    width: 6px;
    height: 6px;
  }
  .card-dot.active {
    width: 16px;
  }
  .card-nav-arrows {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
  }
  .card-arrow-btn {
    width: 32px;
    height: 32px;
  }

  /* Mobile Card Header */
  .service-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 4px;
    width: 100%;
  }
  .service-detail-header > div {
    min-width: 0;
    flex: 1 1 auto;
  }
  .service-detail-badge {
    font-size: 0.6875rem;
    margin-bottom: 2px;
  }
  .service-detail-title {
    font-size: 1.25rem !important;
    line-height: 1.25;
    margin: 0;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .service-detail-num {
    font-size: 1.75rem !important;
    line-height: 1;
    flex-shrink: 0;
  }

  /* Mobile Card Body & Deliverables */
  .service-detail-lead {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-top: 4px;
    margin-bottom: var(--space-sm);
    max-width: 100%;
  }
  .service-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding-top: var(--space-xs);
    width: 100%;
  }
  .service-card-tile {
    padding: 12px 14px;
    border-radius: 10px;
  }
  .service-subheading {
    font-size: 0.8125rem;
    margin-bottom: 8px;
  }
  .service-includes-list {
    gap: 8px;
  }
  .service-includes-list li {
    font-size: 0.8125rem;
    line-height: 1.4;
    gap: 8px;
  }
  .service-includes-list li svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .service-meta-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }
  .service-meta-card {
    padding: 10px 12px;
  }
  .meta-card-title {
    font-size: 0.6875rem;
    margin-bottom: 2px;
  }
  .meta-card-text {
    font-size: 0.8125rem;
    line-height: 1.4;
  }
  .service-cta-wrap {
    margin-top: 4px;
  }
  .service-cta-wrap .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 11px;
    font-size: 0.875rem;
  }

  /* Mobile Stepper Footer */
  .service-card-stepper-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: var(--space-md);
    padding-top: 8px;
    width: 100%;
  }
  .stepper-nav-btn {
    padding: 6px 10px;
    max-width: 48%;
    gap: 6px;
  }
  .stepper-nav-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
  .stepper-text small {
    font-size: 0.625rem;
  }
  .stepper-text strong {
    font-size: 0.75rem;
    max-width: 95px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* On mobile preview cards, keep preview drawer compact */
  .service-preview-drawer {
    max-height: 200px;
    opacity: 1;
    margin-top: var(--space-xs);
    margin-bottom: var(--space-sm);
  }
}

/* Super Small Phones (iPhone SE, iPhone mini, Galaxy Fold <= 380px) */
@media (max-width: 380px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .diagonal-deck-stage {
    padding: 6px 14px 20px 14px;
  }
  .diagonal-card,
  .service-detail-card {
    padding: 16px 12px;
  }
  .diagonal-card.card-pos-next {
    display: flex !important;
    transform: translate3d(12px, 6px, -6px) scale(0.97) rotate(1.8deg) !important;
  }
  .diagonal-card.card-pos-prev {
    display: flex !important;
    transform: translate3d(-12px, 6px, -6px) scale(0.97) rotate(-1.8deg) !important;
  }
  .service-card-top-nav .card-indicator-dots {
    display: none;
  }
  .stepper-text strong {
    max-width: 75px;
  }
}

.service-subheading {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.service-includes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--color-navy);
  transition: transform 0.2s ease, color 0.2s ease;
}

.service-includes-list li:hover {
  transform: translateX(4px);
  color: var(--color-orange);
}

.service-includes-list .check-icon {
  flex-shrink: 0;
  margin-top: 3px;
}

.service-meta-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.service-meta-card {
  background: var(--color-navy-tint);
  padding: var(--space-lg);
  border-radius: 4px;
}

.meta-card-title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy-muted);
  margin-bottom: 6px;
}

.meta-card-text {
  font-size: 0.9375rem;
  color: var(--color-navy);
  line-height: 1.55;
}

/* ---------------- How We Work (4 Numbered Steps) ---------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-lg);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.25s ease, 
              border-color 0.25s ease, 
              box-shadow 0.28s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  background: var(--color-white);
  border-color: var(--color-navy-divider);
  box-shadow: 0 12px 30px rgba(16, 5, 88, 0.05);
}

.step-num-large {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 4vw, 4rem);
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: var(--space-sm);
  transition: transform 0.25s ease;
}

.process-step:hover .step-num-large {
  transform: scale(1.08);
}

.process-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.process-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ---------------- What We Measure (Metrics Framework) ---------------- */
.metrics-framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.metric-framework-item {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: 8px;
  border: 1px solid var(--color-navy-divider);
  border-top: 3px solid var(--color-navy-divider);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-top-color 0.25s ease, 
              box-shadow 0.28s ease;
}

.metric-framework-item:hover {
  transform: translateY(-4px);
  border-top-color: var(--color-orange);
  box-shadow: 0 14px 32px rgba(16, 5, 88, 0.07);
}

.metric-framework-name {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.metric-framework-item:hover .metric-framework-name {
  color: var(--color-orange);
}

.metric-framework-def {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---------------- Interactive Calculator ---------------- */
.calculator-box {
  background: var(--color-white);
  border-radius: 8px;
  border: 1px solid var(--color-navy-divider);
  padding: var(--space-3xl);
  box-shadow: 0 8px 30px rgba(16, 5, 88, 0.05);
  transition: box-shadow 0.28s ease;
}

.calculator-box:hover {
  box-shadow: 0 12px 36px rgba(16, 5, 88, 0.08);
}

/* Calculator Mode Selector (ROAS vs TACoS) */
.calc-mode-selector {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-navy-divider);
}

.calc-mode-label {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-navy-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calc-mode-pills {
  display: inline-flex;
  background: var(--color-navy-tint);
  padding: 4px;
  border-radius: 6px;
  border: 1px solid var(--color-navy-divider);
  gap: 4px;
}

.calc-mode-btn {
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-navy-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.calc-mode-btn .mode-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-navy-divider);
  transition: all 0.2s ease;
}

.calc-mode-btn.active {
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: 0 2px 8px rgba(16, 5, 88, 0.08);
}

.calc-mode-btn.active .mode-dot {
  background: var(--color-orange);
}

.calc-label-with-tip {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.tooltip-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy-muted);
  cursor: help;
  position: relative;
  transition: color 0.2s;
}

.tooltip-trigger:hover,
.tooltip-trigger:focus {
  color: var(--color-orange);
}

.tooltip-bubble {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--color-navy);
  color: var(--color-white);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.775rem;
  line-height: 1.45;
  width: 260px;
  box-shadow: 0 8px 24px rgba(16, 5, 88, 0.25);
  pointer-events: none;
  z-index: 50;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.tooltip-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: var(--color-navy) transparent transparent transparent;
}

.tooltip-trigger:hover .tooltip-bubble,
.tooltip-trigger:focus .tooltip-bubble {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.calc-metric-explainer {
  font-size: 0.775rem;
  color: var(--color-text-subtle);
  margin-top: 6px;
  margin-bottom: 0;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.calc-input-group {
  margin-bottom: var(--space-xl);
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.calc-input-num {
  width: 140px;
  padding: 8px 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: right;
  border: 1px solid var(--color-navy-divider);
  border-radius: 4px;
}

.range-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--color-navy-tint);
  accent-color: var(--color-orange);
  cursor: pointer;
}

.calc-results-card {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 6px;
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.calc-result-header {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c0b9f0;
}

.calc-result-lift {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
}

.calc-result-rev-label {
  font-size: 0.875rem;
  color: #e0ddfc;
}

.calc-result-rev-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
}

.calc-note {
  font-size: 0.775rem;
  color: #a49ed4;
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--space-md);
}

/* ---------------- Founder Section ---------------- */
.founder-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-3xl);
  align-items: center;
  background: var(--color-navy-tint);
  padding: var(--space-3xl);
  border-radius: 6px;
}

.founder-avatar-box {
  background: var(--color-white);
  border: 1px solid var(--color-navy-divider);
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  text-align: center;
}

.founder-initials {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-orange);
  margin-bottom: 4px;
}

.founder-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.founder-role {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-navy-muted);
  margin-bottom: var(--space-md);
}

.founder-bio {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.founder-loc {
  font-size: 0.84rem;
  color: var(--color-text-subtle);
}

/* ---------------- Accessible FAQ Accordion ---------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-bottom: 1px solid var(--color-navy-divider);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
}

.faq-question:hover {
  color: var(--color-orange);
}

.faq-icon {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-orange);
  margin-left: var(--space-md);
  line-height: 1;
}

.faq-answer {
  padding-bottom: var(--space-lg);
}

.faq-answer-inner p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ---------------- About Page Sections ---------------- */
.about-story-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.belief-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: 8px;
  border: 1px solid var(--color-navy-divider);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.28s ease;
}

.belief-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 5, 88, 0.18);
  box-shadow: 0 12px 30px rgba(16, 5, 88, 0.06);
}

.belief-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: var(--space-xs);
  transition: transform 0.25s ease;
}

.belief-card:hover .belief-num {
  transform: scale(1.08);
}

.belief-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.belief-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---------------- Contact Page & Multi-Step ---------------- */
.contact-toggle-tabs {
  display: inline-flex;
  background: var(--color-navy-tint);
  padding: 4px;
  border-radius: 4px;
  margin-bottom: var(--space-2xl);
}

.tab-btn {
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  background: none;
  border: none;
  color: var(--color-navy-muted);
  cursor: pointer;
  border-radius: 3px;
  transition: all var(--transition-fast);
}

.tab-btn.active {
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: 0 2px 8px rgba(16, 5, 88, 0.06);
}

.brief-progress-bar-wrap {
  margin-bottom: var(--space-xl);
}

.step-indicator-text {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.step-progress-track {
  height: 4px;
  background: var(--color-navy-tint);
  border-radius: 2px;
  overflow: hidden;
}

.step-progress-fill {
  height: 100%;
  width: 33.33%;
  background: var(--color-orange);
  transition: width var(--transition-base);
}

.brief-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-navy-divider);
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-4xl);
}

.direct-details-box {
  background: var(--color-navy-tint);
  padding: var(--space-2xl);
  border-radius: 6px;
}

.direct-details-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: var(--space-lg);
}

.direct-details-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.direct-detail-item {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy-muted);
  margin-bottom: 2px;
}

.detail-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
}

.privacy-notice {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
  line-height: 1.5;
  margin-top: var(--space-md);
}

/* ---------------- Footer ---------------- */
.site-footer {
  background-color: var(--color-navy-dark);
  color: var(--color-white);
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-2xl);
  margin-top: auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand-col p {
  color: #c0b9f0;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: var(--space-md);
  max-width: 380px;
}

.footer-nav-col h4 {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: var(--space-lg);
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-link {
  font-size: 0.9375rem;
  color: #c0b9f0;
  transition: color var(--transition-fast);
}
.footer-nav-link:hover {
  color: var(--color-orange);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: #9c95d4;
}

/* ---------------- Mobile Sticky Bottom CTA Bar ---------------- */
.mobile-sticky-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-cta-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    background: var(--color-white);
    padding: 10px var(--space-md);
    border-top: 1px solid var(--color-navy-divider);
    box-shadow: 0 -4px 16px rgba(16, 5, 88, 0.08);
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
    will-change: transform, opacity;
  }

  .mobile-sticky-cta-bar.is-hidden {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
  }

  .mobile-sticky-cta-bar .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
  }

  /* Offset body so sticky bar does not cover footer content */
  body {
    padding-bottom: 72px;
  }

  body.page-contact {
    padding-bottom: 0;
  }

  body.page-contact .mobile-sticky-cta-bar {
    display: none !important;
  }

  .services-mobile-deck .service-cta-wrap {
    display: none !important;
  }
}

/* ---------------- Responsive Breakpoints ---------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .beliefs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-block-details {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  .services-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  .service-preview-card {
    flex: unset;
    min-height: auto;
  }
  .service-preview-drawer {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

@media (max-width: 768px) {
  /* Mobile Horizontal Snap-Scroll Carousels for Home Sections */
  .problem-grid,
  .services-preview-grid,
  .process-grid,
  .metrics-framework-grid {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 14px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 4px;
    padding-bottom: 16px;
    align-items: stretch;
  }

  .problem-grid::-webkit-scrollbar,
  .services-preview-grid::-webkit-scrollbar,
  .process-grid::-webkit-scrollbar,
  .metrics-framework-grid::-webkit-scrollbar {
    display: none;
  }

  .problem-col,
  .service-preview-card,
  .process-step,
  .metric-framework-item {
    flex: 0 0 84%;
    width: 84%;
    max-width: 320px;
    min-width: 260px;
    scroll-snap-align: start;
    box-sizing: border-box;
    margin: 0;
  }

  /* Compact padding for cards on mobile touchscreens */
  .problem-col,
  .service-preview-card,
  .metric-framework-item {
    padding: 20px 18px;
  }

  .process-step {
    padding: 20px 18px;
    background: var(--color-white);
    border: 1px solid var(--color-navy-divider);
    box-shadow: 0 2px 10px rgba(16, 5, 88, 0.04);
  }

  /* Section header spacing tightened on mobile */
  .section-header {
    margin-bottom: 18px;
  }

  /* Retain single-column stacking only for non-carousel components */
  .calc-grid,
  .founder-card,
  .beliefs-grid,
  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .proof-bar {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .calc-box {
    padding: 20px 18px;
  }

  .hero-form-card {
    padding: 20px 18px;
  }


  .founder-avatar-box {
    max-width: 160px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Pulse animation for mobile smooth focus */
@keyframes highlightPulse {
  0% { box-shadow: 0 0 0 0 rgba(229, 99, 21, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(229, 99, 21, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 99, 21, 0); }
}

.highlight-pulse {
  animation: highlightPulse 1.2s ease-out;
}

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