/* =============================================================
   Vanguard Digital Marketing
   Direction: Performance & Accessibility Maximal.
   - System-font-first: zero web-font requests, instant first paint.
   - AAA-leaning contrast, single --motion-ok gate, reduced-motion safe.
   - Retheme the whole site by editing the :root tokens below.
   ============================================================= */

:root {
  /* ── Colour (contrast-checked against bg/surface) ──
     text on bg        ≈ 15:1  (AAA)
     muted on bg       ≈ 7.4:1 (AAA body)
     brand-hi on surf  ≈ 6.0:1 (AA+ large & UI)
     #fff on brand     ≈ 6.2:1 (AA+)
     #fff on ink       ≈ 15:1  (AAA)                        */
  --color-bg:        #f6f7f9;
  --color-surface:   #ffffff;
  --color-ink:       #0e1726;  /* deep navy-ink for bands  */
  --color-ink-soft:  #1b2738;
  --color-brand:     #1d59c4;  /* #fff on it ≈ 5.4:1       */
  --color-brand-hi:  #134caf;  /* on surface ≈ 6.6:1       */
  --color-brand-dk:  #0e3c8e;  /* hover / deep             */
  --color-accent:    #1f9d76;  /* secondary accent (green) */
  --color-accent-dk: #15795b;
  --color-text:      #0e1726;  /* on bg ≈ 15:1 (AAA)       */
  --color-muted:     #4a5567;  /* on bg ≈ 7.4:1 (AAA body) */
  --color-border:    #d9dee6;
  --color-border-2:  #c4ccd8;

  /* ── Fluid type scale (clamp = no breakpoint soup) ── */
  --text-sm:   clamp(0.875rem, 0.84rem + 0.18vw, 0.95rem);
  --text-base: clamp(1rem,     0.96rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1.04rem + 0.45vw, 1.35rem);
  --text-xl:   clamp(1.375rem, 1.18rem + 1.00vw, 1.9rem);
  --text-2xl:  clamp(1.75rem,  1.35rem + 2.10vw, 2.85rem);
  --text-3xl:  clamp(2.25rem,  1.65rem + 3.10vw, 3.9rem);

  --leading-tight: 1.1;
  --leading-snug:  1.25;
  --leading-body:  1.65;

  --weight-normal:   400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-black:    800;

  /* ── Fluid spacing scale ── */
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-s:  clamp(0.75rem, 0.5rem + 1vw,  1rem);
  --space-m:  clamp(1.25rem, 0.9rem + 1.6vw, 1.75rem);
  --space-l:  clamp(2rem,    1.5rem + 2.4vw, 3rem);
  --space-xl: clamp(3rem,    2.2rem + 4vw,   5rem);
  --space-2xl:clamp(4rem,    3rem + 6vw,     7rem);

  /* ── Radius / shadow / layout ── */
  --radius-sm: 0.5rem;
  --radius-md: 0.85rem;
  --radius-lg: 1.25rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgb(14 23 38 / 0.06), 0 1px 3px rgb(14 23 38 / 0.05);
  --shadow-md: 0 6px 16px rgb(14 23 38 / 0.08), 0 2px 6px rgb(14 23 38 / 0.05);
  --shadow-lg: 0 18px 40px rgb(14 23 38 / 0.14);

  --content-max: 72rem;
  --narrow-max:  46rem;
  --nav-height:  4.25rem;

  /* ── Fonts: system stack — no network request, instant paint ── */
  --font-head: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;

  /* ── Motion gate (single source of truth) ── */
  --motion-ok: 1;
}

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

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
  background: var(--color-bg);   /* base behind the fixed FX layer */
}

body {
  background: transparent;   /* lets the fixed .bg-fx layer show through */
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
svg { height: auto; }
a { color: var(--color-brand-hi); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
ul { list-style: none; }
strong, b { font-weight: var(--weight-bold); }

h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -0.02em; }
h1 { font-size: var(--text-3xl); line-height: var(--leading-tight); font-weight: var(--weight-black); }
h2 { font-size: var(--text-2xl); line-height: var(--leading-snug);  font-weight: var(--weight-black); }
h3 { font-size: var(--text-lg);  line-height: var(--leading-snug);  font-weight: var(--weight-bold); letter-spacing: -0.01em; }

/* ── Layout utilities ── */
.container { width: min(100% - 2 * var(--space-m), var(--content-max)); margin-inline: auto; }
.container--narrow { max-width: var(--narrow-max); }
.section { padding-block: var(--space-2xl); position: relative; }
.section--surface { background: var(--color-surface); border-block: 1px solid var(--color-border); }

.card-grid {
  display: grid;
  gap: var(--space-l);
  grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr));
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.eyebrow {
  font-weight: var(--weight-bold); font-size: var(--text-sm);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-brand-hi); margin-bottom: var(--space-3);
}
.eyebrow--center { text-align: center; }

.section__title { text-align: center; text-wrap: balance; }
.section__lead {
  text-align: center; color: var(--color-muted);
  max-width: 44rem; margin: var(--space-4) auto var(--space-xl);
  font-size: var(--text-lg); text-wrap: pretty;
}

/* ── Skip link ── */
.skip-link {
  position: fixed; top: var(--space-2); left: var(--space-2); z-index: 9999;
  padding: var(--space-2) var(--space-4);
  background: var(--color-brand-dk); color: #fff;
  border-radius: var(--radius-md); text-decoration: none; font-weight: var(--weight-bold);
  box-shadow: var(--shadow-lg);
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { clip-path: none; }

/* ── Focus (visible, consistent, high-contrast) ── */
:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }
/* On dark bands, switch focus ring to a light colour for contrast */
.cta-band :focus-visible,
.footer :focus-visible,
.panel--brand :focus-visible { outline-color: #fff; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-m);
  min-height: 2.75rem; min-width: 2.75rem;
  font-family: var(--font-body); font-size: var(--text-base); font-weight: var(--weight-bold);
  text-decoration: none; border-radius: var(--radius-md);
  border: 2px solid transparent; cursor: pointer; line-height: 1.1; text-align: center;
  transition: background-color .18s ease, color .18s ease, transform .14s ease,
              box-shadow .18s ease, border-color .18s ease;
}
.btn--sm { padding: var(--space-2) var(--space-4); min-height: 2.5rem; font-size: var(--text-sm); }
.btn--block { width: 100%; }
.btn--primary { background: var(--color-brand); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--color-brand-dk); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--color-brand-hi); border-color: var(--color-border-2); }
.btn--ghost:hover { border-color: var(--color-brand-hi); background: color-mix(in srgb, var(--color-brand) 7%, transparent); }

/* ── Header / nav ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
header.nav--scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--nav-height); gap: var(--space-m);
}

.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--color-text); }
.brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: var(--radius-md);
  background: linear-gradient(150deg, var(--color-brand), var(--color-brand-dk)); color: #fff;
  font-family: var(--font-head); font-weight: var(--weight-black); font-size: 1.3rem;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--color-brand) 30%, transparent);
  transition: transform .2s ease, box-shadow .2s ease;
}
.brand__name { font-family: var(--font-head); font-weight: var(--weight-black); font-size: 1.2rem; letter-spacing: -0.02em; }
.brand__name span { color: var(--color-brand-hi); }

.nav__menu { display: flex; align-items: center; gap: var(--space-m); }
.nav__menu a:not(.btn) {
  text-decoration: none; color: var(--color-text); font-weight: var(--weight-semibold);
  padding-block: var(--space-2); border-radius: var(--radius-sm);
}
.nav__menu a:not(.btn):hover { color: var(--color-brand-hi); }

.nav__toggle {
  display: none; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; background: transparent;
  border: 2px solid var(--color-border-2); border-radius: var(--radius-md); cursor: pointer;
}
.nav__bars, .nav__bars::before, .nav__bars::after {
  display: block; width: 1.25rem; height: 2px; background: var(--color-text);
  border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav__bars { position: relative; }
.nav__bars::before, .nav__bars::after { content: ''; position: absolute; left: 0; }
.nav__bars::before { top: -6px; }
.nav__bars::after  { top: 6px; }
/* Animate hamburger → X when the toggle is open (JS sets aria-expanded) */
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 48rem) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: absolute; top: var(--nav-height); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: var(--space-2);
    padding: var(--space-m); margin: 0 var(--space-s);
    background: var(--color-surface);
    border: 1px solid var(--color-border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav__menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__menu .btn { width: 100%; }
}

/* ── Active nav state ── */
.nav__menu a[aria-current="page"]:not(.btn) {
  color: var(--color-brand-hi);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* ── Scroll reveal (content visible by default; only animates when motion ok) ── */
[data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(1.25rem); transition: opacity .55s ease, transform .55s ease; }
  [data-reveal].is-visible { opacity: 1; transform: none; }
  [data-reveal][data-reveal-delay="1"] { transition-delay: .07s; }
  [data-reveal][data-reveal-delay="2"] { transition-delay: .14s; }
  [data-reveal][data-reveal-delay="3"] { transition-delay: .21s; }
}

/* ── Hero ── */
.hero { padding-block: clamp(3.5rem, 8vw, 7rem); overflow: hidden; }
.hero__art { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__art::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, color-mix(in srgb, var(--color-brand) 14%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 0% 100%, color-mix(in srgb, var(--color-accent) 12%, transparent) 0%, transparent 55%);
}
/* Subtle grid texture — pure CSS, no image request */
.hero__art::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(color-mix(in srgb, var(--color-text) 4%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--color-text) 4%, transparent) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 0%, transparent 75%);
}
.hero__content { position: relative; max-width: 48rem; }
.hero h1 { margin-bottom: var(--space-m); text-wrap: balance; }
.hero h1 .accent { color: var(--color-brand-hi); }
.hero__sub { font-size: var(--text-lg); color: var(--color-muted); max-width: 40rem; margin-bottom: var(--space-l); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero__reassure {
  margin-top: var(--space-m); font-size: var(--text-sm); color: var(--color-muted);
  font-weight: var(--weight-semibold);
  display: inline-flex; align-items: center; gap: var(--space-2); flex-wrap: wrap;
}

/* ── Social proof / stat band ── */
.proof { padding-block: var(--space-xl); }
.stat-band {
  display: grid; gap: var(--space-l);
  grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr));
  text-align: center;
}
.stat-band li { display: flex; flex-direction: column; gap: var(--space-2); }
.stat__num { font-family: var(--font-head); font-size: var(--text-2xl); font-weight: var(--weight-black); color: var(--color-brand-hi); line-height: 1; letter-spacing: -0.03em; }
.stat__label { color: var(--color-muted); font-size: var(--text-sm); }

/* ── Feature cards ── */
.feature-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-l);
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-border-2); }
.feature-card h3 { margin-bottom: var(--space-3); }
.feature-card p { color: var(--color-muted); }
.feature-icon {
  display: flex; align-items: center; justify-content: center;
  width: 3.25rem; height: 3.25rem; border-radius: var(--radius-md);
  background: linear-gradient(150deg, var(--color-brand), var(--color-brand-dk));
  color: #fff; margin-bottom: var(--space-4); flex-shrink: 0;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--color-brand) 28%, transparent);
}
.feature-icon svg { width: 1.6rem; height: 1.6rem; }

/* ── Testimonials ── */
.testimonial-card {
  position: relative;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-l); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 0.4rem; right: 1.1rem;
  font-family: var(--font-head); font-size: 4.5rem; line-height: 1;
  color: color-mix(in srgb, var(--color-accent) 42%, transparent); pointer-events: none;
}
.testimonial-card blockquote p { font-size: var(--text-lg); font-weight: var(--weight-medium); margin-bottom: var(--space-m); color: var(--color-text); text-wrap: pretty; }
.testimonial-card footer { display: flex; align-items: center; gap: var(--space-3); }
.testimonial-card cite { font-style: normal; font-size: var(--text-sm); color: var(--color-muted); line-height: 1.4; }
.testimonial-card cite strong { color: var(--color-text); font-size: var(--text-base); }
.avatar {
  width: 3rem; height: 3rem; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: var(--weight-bold); font-size: var(--text-sm);
  background: hsl(var(--avatar-hue, 215) 38% 88%);
  color: hsl(var(--avatar-hue, 215) 55% 24%);
  user-select: none;
}

/* ── Pricing ── */
.pricing-grid { align-items: stretch; }
.pricing-card {
  display: flex; flex-direction: column;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-l);
  box-shadow: var(--shadow-sm);
}
.pricing-card--featured {
  border-color: var(--color-brand); border-width: 2px;
  box-shadow: var(--shadow-md); position: relative;
}
.pricing-card--featured::before {
  content: attr(data-badge);
  position: absolute; top: -0.9rem; left: 50%; transform: translateX(-50%);
  background: var(--color-brand); color: #fff;
  font-size: var(--text-sm); font-weight: var(--weight-bold);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-full);
  white-space: nowrap; box-shadow: var(--shadow-sm);
}
.pricing-card__name { color: var(--color-brand-hi); margin-bottom: var(--space-2); }
.pricing-card__price { font-family: var(--font-head); margin-bottom: var(--space-3); display: flex; align-items: baseline; gap: 0.25rem; }
.pricing-card__price .amount { font-size: var(--text-2xl); font-weight: var(--weight-black); letter-spacing: -0.03em; }
.pricing-card__price .per { color: var(--color-muted); font-size: var(--text-base); }
.pricing-card__desc { color: var(--color-muted); margin-bottom: var(--space-m); }
.pricing-card__list { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-l); flex-grow: 1; }
.pricing-card__list li { position: relative; padding-left: 1.75rem; }
.pricing-card__list li::before {
  content: ''; position: absolute; left: 0; top: 0.42em;
  width: 0.8rem; height: 0.45rem; border-left: 2.5px solid var(--color-accent-dk);
  border-bottom: 2.5px solid var(--color-accent-dk); transform: rotate(-45deg);
}
.pricing-card__cta { margin-top: auto; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item summary {
  cursor: pointer; padding-block: var(--space-m);
  font-weight: var(--weight-bold); font-family: var(--font-head); font-size: var(--text-lg);
  letter-spacing: -0.01em;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-m);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--color-brand-hi); font-size: 1.6em; line-height: 1; flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding-bottom: var(--space-m); color: var(--color-muted); max-width: 64ch; }

/* ── Closing CTA band ── */
.cta-band { background: var(--color-ink); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; text-wrap: balance; }
.cta-band__sub { color: color-mix(in srgb, #fff 84%, transparent); font-size: var(--text-lg); max-width: 38rem; margin: var(--space-4) auto var(--space-l); text-wrap: pretty; }

.contact-form { display: grid; gap: var(--space-4); text-align: left; max-width: 34rem; margin-inline: auto; }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label { font-weight: var(--weight-bold); font-size: var(--text-sm); color: #fff; }
.field input, .field select {
  font-family: var(--font-body); font-size: var(--text-base);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
  border: 2px solid transparent; background: var(--color-surface); color: var(--color-text);
  width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:hover, .field select:hover { border-color: var(--color-border-2); }
.field input::placeholder { color: var(--color-muted); }
.field input:focus, .field select:focus { outline: none; }
.field input:focus-visible, .field select:focus-visible {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand) 35%, transparent);
}
.field select {
  cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234a5567' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--space-4) center; padding-right: 2.5rem;
}
.contact-form .btn { margin-top: var(--space-2); }
.contact-form__fine { font-size: var(--text-sm); color: color-mix(in srgb, #fff 78%, transparent); text-align: center; margin-top: var(--space-2); }
.form-confirm {
  margin: 0 auto; max-width: 34rem; text-align: center;
  font-weight: var(--weight-bold); font-size: var(--text-lg); color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
}
.form-confirm svg { color: var(--color-accent); }

/* ── Footer ── */
.footer { background: var(--color-ink); color: color-mix(in srgb, #fff 80%, transparent); padding-block: var(--space-xl) var(--space-l); }
.footer__inner {
  display: grid; gap: var(--space-l);
  grid-template-columns: 1.4fr 1fr auto; align-items: start;
}
.footer .brand--footer { color: #fff; }
.footer .brand__name { color: #fff; }
.footer .brand__name span { color: color-mix(in srgb, var(--color-accent) 80%, #fff); }
.footer__tag { margin-top: var(--space-3); font-size: var(--text-sm); max-width: 24rem; }
.footer__nav { display: flex; flex-direction: column; gap: var(--space-2); }
.footer__nav a { color: color-mix(in srgb, #fff 80%, transparent); text-decoration: none; }
.footer__nav a:hover { color: #fff; text-decoration: underline; }
.footer__social { display: flex; gap: var(--space-3); }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: var(--radius-md);
  background: color-mix(in srgb, #fff 12%, transparent); color: #fff;
  transition: background-color .2s ease;
}
.footer__social a:hover { background: var(--color-brand); }
.footer__copy {
  text-align: center; font-size: var(--text-sm);
  margin-top: var(--space-l); padding-top: var(--space-l);
  border-top: 1px solid color-mix(in srgb, #fff 16%, transparent);
  color: color-mix(in srgb, #fff 66%, transparent);
}

@media (max-width: 48rem) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* =============================================================
   Multi-page additions — services / industries / about pages.
   ============================================================= */

/* ── Compact inner-page hero ── */
.hero--compact { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero--compact .hero__content { max-width: 54rem; }
.hero--compact h1 { margin-bottom: var(--space-4); }

/* ── Breadcrumb ── */
.breadcrumb { margin-bottom: var(--space-m); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: var(--text-sm); }
.breadcrumb li { display: flex; align-items: center; gap: var(--space-2); color: var(--color-muted); }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--color-border-2); }
.breadcrumb a { color: var(--color-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-brand-hi); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--color-text); font-weight: var(--weight-semibold); }

/* ── Button rows + a light ghost button for dark bands ── */
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.btn-row--center { justify-content: center; }
.btn--ghost-light { background: transparent; color: #fff; border-color: color-mix(in srgb, #fff 50%, transparent); }
.btn--ghost-light:hover { border-color: #fff; background: color-mix(in srgb, #fff 12%, transparent); color: #fff; }

/* ── Left-aligned section intros (for split layouts) ── */
.section__title--left { text-align: left; }
.section__lead--left { text-align: left; margin-inline: 0; }
.section__head { max-width: 46rem; }

/* ── Split / alternating rows ── */
.split-stack > * + * { margin-top: var(--space-2xl); }
.split { display: grid; gap: var(--space-l); align-items: center; }
.split__body h2, .split__body h3 { text-align: left; margin-bottom: var(--space-4); }
.split__body > p { color: var(--color-muted); margin-bottom: var(--space-m); }
.split__body > p:last-child { margin-bottom: 0; }
@media (min-width: 52rem) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .split--reverse .split__media { order: -1; }
}

/* ── Panel (the "media" side of a split) ── */
.panel {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-l); box-shadow: var(--shadow-md);
}
.panel--brand {
  background: linear-gradient(150deg, var(--color-brand), var(--color-brand-dk));
  color: #fff; border-color: transparent;
}
.panel__label {
  font-size: var(--text-sm); font-weight: var(--weight-bold); letter-spacing: .08em;
  text-transform: uppercase; color: var(--color-brand-hi); margin-bottom: var(--space-4);
}
.panel--brand .panel__label { color: color-mix(in srgb, #fff 88%, transparent); }
.panel__stat { font-family: var(--font-head); font-weight: var(--weight-black); font-size: var(--text-3xl); line-height: 1; color: var(--color-brand-hi); letter-spacing: -0.03em; }
.panel--brand .panel__stat { color: #fff; }
.panel__stat + p { color: var(--color-muted); margin-top: var(--space-3); }
.panel--brand .panel__stat + p { color: color-mix(in srgb, #fff 84%, transparent); }

/* ── Checklist ── */
.checklist { display: flex; flex-direction: column; gap: var(--space-3); }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ''; position: absolute; left: 0.3rem; top: 0.48em;
  width: 0.8rem; height: 0.45rem; border-left: 2.5px solid var(--color-accent-dk);
  border-bottom: 2.5px solid var(--color-accent-dk); transform: rotate(-45deg);
}
.panel--brand .checklist li::before { border-color: #fff; }

/* ── Numbered process steps ── */
.steps { display: grid; gap: var(--space-l); grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); counter-reset: step; }
.step {
  position: relative; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-l); padding-top: calc(var(--space-l) + 1.25rem);
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -1.1rem; left: var(--space-l);
  display: flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: var(--radius-md);
  background: var(--color-brand); color: #fff;
  font-family: var(--font-head); font-weight: var(--weight-black); font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.step h3 { margin-bottom: var(--space-3); }
.step p { color: var(--color-muted); }

/* ── Arrow link ── */
.arrow-link { font-weight: var(--weight-bold); color: var(--color-brand-hi); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.arrow-link::after { content: '\2192'; transition: transform .15s ease; }
.arrow-link:hover { text-decoration: underline; }
.arrow-link:hover::after { transform: translateX(3px); }

/* ── Feature-card tweaks for inner pages ── */
.feature-card .checklist { margin-top: var(--space-4); }
.feature-card .arrow-link { margin-top: var(--space-m); }

/* ── Prose blocks (about) ── */
.prose h2 { text-align: left; margin-bottom: var(--space-4); }
.prose h2:not(:first-child) { margin-top: var(--space-xl); }
.prose p { color: var(--color-muted); margin-bottom: var(--space-m); max-width: 64ch; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--color-text); }

/* ── Veteran-owned trust signals ── */
.vet-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.4rem var(--space-3); margin-bottom: var(--space-m);
  border: 1px solid var(--color-border-2); border-radius: var(--radius-full);
  background: var(--color-surface); box-shadow: var(--shadow-sm);
  font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--color-text);
}
.vet-badge svg { color: var(--color-brand-hi); flex-shrink: 0; }

.footer__vet {
  display: inline-flex; align-items: center; gap: var(--space-2);
  margin-top: var(--space-3); font-size: var(--text-sm); font-weight: var(--weight-bold);
  color: color-mix(in srgb, #fff 88%, transparent);
}
.footer__vet svg { color: color-mix(in srgb, var(--color-accent) 80%, #fff); flex-shrink: 0; }

.vet-callout { display: flex; gap: var(--space-m); align-items: center; }
.vet-callout__icon { flex-shrink: 0; color: #fff; }
.vet-callout__text { color: color-mix(in srgb, #fff 90%, transparent); margin-top: var(--space-2); }

/* ── Founder note (homepage) ── */
.founder {
  display: grid; gap: var(--space-l); align-items: center;
  grid-template-columns: auto 1fr;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 6px solid var(--color-brand);
  border-radius: var(--radius-lg);
  padding: var(--space-l);
  box-shadow: var(--shadow-md);
}
@media (max-width: 38rem) {
  .founder { grid-template-columns: 1fr; text-align: center; }
}
.founder__portrait {
  width: clamp(5rem, 16vw, 7.5rem); height: clamp(5rem, 16vw, 7.5rem);
  flex-shrink: 0; margin-inline: auto;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, var(--color-brand), var(--color-brand-dk));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: var(--weight-black); font-size: clamp(1.6rem, 5vw, 2.4rem);
  letter-spacing: -0.02em; box-shadow: var(--shadow-sm); user-select: none;
}
.founder__body p { color: var(--color-muted); margin-bottom: var(--space-3); }
.founder__body p:last-child { margin-bottom: 0; }
.founder__quote { font-family: var(--font-head); font-size: var(--text-lg); font-style: italic; color: var(--color-text); font-weight: var(--weight-semibold); }
.founder__sign {
  display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--space-2);
  font-family: var(--font-head); font-weight: var(--weight-bold);
}
.founder__name { font-size: var(--text-lg); color: var(--color-brand-hi); }
.founder__role { font-family: var(--font-body); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-muted); }

/* ── "Promise" chips — trust row on the closing CTA band ──
   The CTA band is dark (--color-ink), so chips sit on a light
   surface with brand-coloured checks for AA-legible contrast. */
.promise-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-l); }
.promise {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem var(--space-4); border-radius: var(--radius-full);
  background: var(--color-surface); border: 1px solid var(--color-border-2);
  font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--color-text);
  box-shadow: var(--shadow-sm);
}
.promise svg { color: var(--color-accent-dk); flex-shrink: 0; }

/* =============================================================
   Motion polish — subtle & professional.
   Keyframe animations are gated behind prefers-reduced-motion:
   no-preference; transitions are neutralised by the reduced-motion
   reset at the top of this file. Reduced-motion users get a calm,
   static, fully-legible page.
   ============================================================= */

/* ── Hero photo backdrop (homepage) — warm AI art, slow ken-burns ──
   hero__art isolates a stacking context so the veil never covers text. */
.hero__art { isolation: isolate; }
.hero__photo {
  position: absolute; inset: 0; z-index: 0;
  background: url("hero-blue.webp") center right / cover no-repeat;
  opacity: 0.55;
}
/* Inner (compact) heroes: a touch lighter so dense text stays crisp */
.hero--compact .hero__photo { opacity: 0.42; }
.hero__veil {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(100deg,
      var(--color-bg) 0%,
      color-mix(in srgb, var(--color-bg) 82%, transparent) 38%,
      color-mix(in srgb, var(--color-bg) 34%, transparent) 74%,
      color-mix(in srgb, var(--color-bg) 55%, transparent) 100%),
    linear-gradient(to bottom, transparent 48%, var(--color-bg) 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__photo { animation: hero-kenburns 34s ease-in-out infinite alternate; will-change: transform; }
}
@keyframes hero-kenburns {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-2.5%, -1.5%, 0); }
}

/* ── Staggered hero entrance (homepage hero — data-reveal removed) ── */
@media (prefers-reduced-motion: no-preference) {
  .hero__content:not([data-reveal]) > * { animation: hero-rise .65s cubic-bezier(.2,.65,.3,1) backwards; }
  .hero__content:not([data-reveal]) > :nth-child(1) { animation-delay: .05s; }
  .hero__content:not([data-reveal]) > :nth-child(2) { animation-delay: .12s; }
  .hero__content:not([data-reveal]) > :nth-child(3) { animation-delay: .19s; }
  .hero__content:not([data-reveal]) > :nth-child(4) { animation-delay: .26s; }
  .hero__content:not([data-reveal]) > :nth-child(5) { animation-delay: .33s; }
  .hero__content:not([data-reveal]) > :nth-child(6) { animation-delay: .40s; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ── Feature cards: gentle lift + brand glow + icon flourish ── */
.feature-icon { transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--color-brand) 42%, transparent);
}
.feature-card:hover {
  box-shadow: var(--shadow-md), 0 0 0 1px color-mix(in srgb, var(--color-brand) 22%, transparent);
}

/* ── Nav links: sliding underline (replaces the static current-page underline) ── */
.nav__menu a:not(.btn) { position: relative; }
.nav__menu a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 0.15rem; height: 2px; width: 100%;
  background: var(--color-brand-hi); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav__menu a:not(.btn):hover::after,
.nav__menu a:not(.btn):focus-visible::after { transform: scaleX(1); }
.nav__menu a[aria-current="page"]:not(.btn) { text-decoration: none; }
.nav__menu a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }

/* ── Buttons: gentle ghost lift to match the primary button ── */
.btn--ghost:hover { transform: translateY(-2px); }
.btn--ghost:active { transform: translateY(0); }

/* ── Arrow-link icon nudge already defined above; add to inner CTAs ── */
.btn-row .btn--primary:hover { transform: translateY(-2px); }

/* ── Brand logo mark (custom SVG) ── */
.brand__mark svg { width: 1.4rem; height: 1.4rem; transition: transform .25s ease; }
.brand:hover .brand__mark {
  transform: translateY(-1px) rotate(-3deg) scale(1.05);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--color-brand) 42%, transparent);
}
.brand:hover .brand__mark svg { transform: translate(1px, -1px); }

/* ── Honeypot (bot trap; hidden from users + AT) ── */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Cloudflare Turnstile (shown when FORM_ENDPOINT + site key are set in script.js) ── */
.turnstile-field { display: flex; justify-content: center; min-height: 0; }
.turnstile-field:not(:empty) { min-height: 4.5rem; margin-top: var(--space-2); }
.turnstile-field:empty { display: none; }

/* ── Form error message (on dark CTA band) ── */
.form-error {
  margin-top: var(--space-3); text-align: center;
  color: #ffd2d2; font-weight: var(--weight-semibold); font-size: var(--text-sm);
}

/* ── Embedded Google map ── */
.map-frame {
  border-radius: var(--radius-lg); overflow: hidden; line-height: 0;
  border: 1px solid var(--color-border); box-shadow: var(--shadow-md);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 22rem; border: 0; display: block; }

/* ── Thank-you page ── */
.thanks { text-align: center; }
.thanks__icon {
  width: 5rem; height: 5rem; margin: 0 auto var(--space-m); border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(150deg, var(--color-accent), var(--color-accent-dk));
  box-shadow: 0 8px 22px color-mix(in srgb, var(--color-accent) 38%, transparent);
}
.thanks .btn-row { justify-content: center; margin-top: var(--space-l); }
.next-steps { display: grid; gap: var(--space-l); grid-template-columns: repeat(auto-fit, minmax(min(15rem,100%),1fr)); counter-reset: step; margin-top: var(--space-xl); text-align: left; }

/* ── Section background accents & CTA texture (on-scheme, subtle) ── */
.cta-band { position: relative; isolation: isolate; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: url("hero-navy.webp") center / cover no-repeat; opacity: .38;
}
.cta-band::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--color-ink) 72%, transparent) 0%,
    color-mix(in srgb, var(--color-ink) 88%, transparent) 60%,
    var(--color-ink) 100%);
}
/* faint on-scheme tint to give key sections depth */
#pricing, #testimonials { position: relative; isolation: isolate; }
#pricing::before, #testimonials::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 55% at 92% 4%, color-mix(in srgb, var(--color-brand) 7%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 50% at 6% 96%, color-mix(in srgb, var(--color-accent) 6%, transparent), transparent 70%);
}

/* =============================================================
   Living background system — aurora + parallax orbs +
   scroll-progress + constellation. Fixed behind all content;
   transparent sections reveal it, solid sections (surface/ink)
   sit on top. Heavy motion gated by prefers-reduced-motion.
   ============================================================= */
.bg-fx {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  contain: strict;
}
.bg-aurora, .bg-orb { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform; }

.bg-aurora { filter: blur(72px); opacity: 0.42; }
.bg-aurora--1 {
  width: 46vw; height: 46vw; top: -10%; left: -8%;
  background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--color-brand) 60%, transparent), transparent 70%);
}
.bg-aurora--2 {
  width: 42vw; height: 42vw; top: 32%; right: -12%;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--color-accent) 42%, transparent), transparent 70%);
}
.bg-aurora--3 {
  width: 40vw; height: 40vw; bottom: -12%; left: 22%;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--color-brand-hi) 48%, transparent), transparent 70%);
}

.bg-orb { filter: blur(6px); opacity: 0.5; }
.bg-orb--1 { width: 12rem; height: 12rem; top: 14%; left: 9%;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-brand) 30%, transparent), transparent 68%); }
.bg-orb--2 { width: 8rem;  height: 8rem;  top: 52%; left: 74%;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-accent) 26%, transparent), transparent 68%); }
.bg-orb--3 { width: 15rem; height: 15rem; top: 78%; left: 30%;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-brand-hi) 24%, transparent), transparent 68%); }
.bg-orb--4 { width: 6rem;  height: 6rem;  top: 30%; left: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-brand) 22%, transparent), transparent 68%); }

@media (prefers-reduced-motion: no-preference) {
  .bg-aurora--1 { animation: bg-drift-1 26s ease-in-out infinite alternate; }
  .bg-aurora--2 { animation: bg-drift-2 33s ease-in-out infinite alternate; }
  .bg-aurora--3 { animation: bg-drift-3 30s ease-in-out infinite alternate; }
}
@keyframes bg-drift-1 { to { transform: translate(9%, 11%) scale(1.18); } }
@keyframes bg-drift-2 { to { transform: translate(-11%, -7%) scale(1.12); } }
@keyframes bg-drift-3 { to { transform: translate(7%, -11%) scale(1.22); } }
/* Reduced-motion: calmer, dimmer, no movement */
@media (prefers-reduced-motion: reduce) { .bg-fx { opacity: 0.5; } }

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--color-brand), var(--color-accent));
  z-index: 200; pointer-events: none;
  transition: width .1s linear;
}

/* ── Constellation canvas (dark CTA bands) ── */
.cta-band > .container { position: relative; z-index: 1; }
.cta-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* Failsafe: reveal content always visible */
[data-reveal]{opacity:1 !important;transform:none !important;}
