/* Sterling & Vega, P.C. — Global Styles
   Design language: boundless.com motion + FOREST & CLAY palette (deep forest, terracotta, sage, cream). */

/* Custom elements registered in partials.js — don't introduce layout boxes */
ct-announce, ct-nav, ct-footer, ct-chat-fab, ct-cta-band { display: contents; }

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: 90px; /* keep anchored content clear of the sticky nav */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  color: var(--slate);
  background: var(--ivory);
  width: 100%;
  max-width: 100vw;
  /* overflow-x: clip (not hidden) prevents horizontal bleed without
     creating a scroll container — position: sticky on header still works. */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Contact page two-column layout ──────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}
@media (max-width: 820px) {
  .contact-layout { grid-template-columns: 1fr; gap: var(--space-md); }
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ── Skip nav ─────────────────────────────────────────────────────── */
.skip-nav {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--white);
  padding: var(--space-sm) var(--space-md);
  z-index: var(--z-toast);
}
.skip-nav:focus { left: var(--space-sm); top: var(--space-sm); }

/* ── Container ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
}
.container-wide   { max-width: var(--content-wide); }
.container-narrow { max-width: var(--content-narrow); }

/* ── Typography ───────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--navy);
  margin: 0 0 var(--space-sm) 0;
}
h1 { font-size: var(--text-hero); font-weight: var(--weight-extra); }
h2 { font-size: var(--text-display); }
h3 { font-size: var(--text-heading); font-weight: var(--weight-semibold); }
h4 { font-size: var(--text-sub); font-weight: var(--weight-semibold); }

p { margin: 0 0 var(--space-sm) 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-micro);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--saffron);
  margin-bottom: var(--space-sm);
}

.lede {
  font-size: var(--text-sub);
  color: var(--stone);
  line-height: var(--leading-normal);
  max-width: 60ch;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  transition: transform var(--dur-med) var(--ease-out),
              background var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              color var(--dur-med) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  border: none;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--saffron);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--blue-dark); box-shadow: var(--shadow-blue); }

.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-soft); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--white); border-color: var(--navy); }

.btn-link {
  color: var(--saffron);
  font-weight: var(--weight-semibold);
  border-bottom: 1.5px solid transparent;
  padding: 0 0 2px 0;
  border-radius: 0;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.btn-link:hover { color: var(--blue-dark); border-bottom-color: var(--blue-dark); }

/* ── Nav ──────────────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  transition: box-shadow var(--dur-med) var(--ease-out);
}
body.is-scrolled header { box-shadow: 0 4px 20px rgba(31, 58, 46, 0.06); }

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.5rem, 2vw, var(--space-md));
  padding: 1.1rem clamp(0.75rem, 3vw, 2.5rem);
  width: 100%;
  max-width: 100vw;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  /* no overflow clip here — body's overflow-x: clip handles horizontal bleed,
     and the mega-menu (position: absolute) must be free to drop below the nav. */
}

/* ── Wordmark brand (stacked, Inter sans, intrinsic-width grid) ──── */
.nav-brand {
  display: grid;
  grid-template-columns: max-content;
  justify-items: start;
  gap: 3px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: var(--navy);
  line-height: 1;
  text-transform: uppercase;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.nav-brand:hover { opacity: 0.82; }
.nav-brand-word {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: clamp(0.78rem, 1.3vw, 1.05rem);
  letter-spacing: 0.04em;
  color: var(--navy);
  white-space: nowrap;
}
.nav-brand-rule {
  justify-self: stretch;
  height: 1px;
  background: var(--saffron);
  margin: 1px 0;
}
.nav-brand-sub {
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: clamp(0.5rem, 0.78vw, 0.56rem);
  letter-spacing: 0.18em;
  color: var(--stone);
  white-space: nowrap;
}

/* ── Top-level link list ────────────────────────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links > li > a,
.nav-links .nav-dd-btn {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0.55rem 0;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--dur-fast) var(--ease-out);
  background: transparent;
  border: 0;
}
.nav-links > li > a::after,
.nav-links .nav-dd-btn::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur-med) var(--ease-out);
}
.nav-links > li > a:hover,
.nav-links .nav-dd-btn:hover,
.nav-dd-mega[data-open="true"] .nav-dd-btn,
.nav-dd-mega:hover .nav-dd-btn { color: var(--saffron); }
.nav-links > li > a:hover::after,
.nav-links .nav-dd-btn:hover::after,
.nav-dd-mega[data-open="true"] .nav-dd-btn::after,
.nav-dd-mega:hover .nav-dd-btn::after { transform: scaleX(1); }
.nav-caret {
  transition: transform var(--dur-med) var(--ease-out);
}
.nav-dd-mega:hover .nav-caret,
.nav-dd-mega[data-open="true"] .nav-caret { transform: rotate(180deg); }

/* ── Mega menu (full-width drawer beneath nav) ──────────────────── */
.nav-dd { position: relative; }
.nav-dd-mega { position: static; }

.nav-mega {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 1px);
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(31, 58, 46, 0.10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out),
              visibility var(--dur-med);
}
.nav-dd-mega:hover .nav-mega,
.nav-dd-mega[data-open="true"] .nav-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-mega-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: clamp(2rem, 3.5vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.1fr;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
}
.nav-mega-col { min-width: 0; }

.nav-mega-head {
  display: block;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--saffron);
  text-decoration: none !important;
}
.nav-mega-title {
  display: block;
  font-family: var(--font-body);
  font-weight: var(--weight-extra);
  font-size: 1rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-mega-head:hover .nav-mega-title { color: var(--saffron); }
.nav-mega-head small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: var(--weight-regular);
  color: var(--stone);
  text-transform: none;
  letter-spacing: 0;
}
.nav-mega-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}
.nav-mega-col ul a {
  display: block;
  padding: 8px 10px 8px 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: var(--weight-medium);
  color: var(--slate);
  border-radius: 4px;
  transition: color var(--dur-fast) var(--ease-out), padding-left var(--dur-fast) var(--ease-out);
}
.nav-mega-col ul a:hover {
  color: var(--saffron);
  padding-left: 8px;
}

/* ── Mega-menu CTA card (right column) ──────────────────────────── */
.nav-mega-cta {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: grid;
  gap: 10px;
  align-content: start;
}
.nav-mega-cta .eyebrow {
  color: var(--saffron-lt);
  margin: 0;
}
.nav-mega-cta h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  font-size: 1.1rem;
  margin: 0;
}
.nav-mega-cta p {
  color: rgba(250, 246, 238, 0.75);
  font-size: 0.82rem;
  margin: 0 0 6px;
  line-height: 1.5;
}
.nav-mega-cta .btn { justify-content: center; }
.nav-mega-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(250, 246, 238, 0.85);
  font-size: 0.85rem;
  font-weight: var(--weight-semibold);
  padding-top: 6px;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-mega-phone:hover { color: var(--saffron-lt); }
.nav-mega-phone svg { color: var(--saffron-lt); }

/* ── Right-side CTA cluster (phone + Get Started) ───────────────── */
.nav-cta { display: flex; align-items: center; gap: var(--space-sm); }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: var(--weight-semibold);
  color: var(--navy);
  padding: 0.55rem 0;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-phone svg { color: var(--saffron); }
.nav-phone:hover { color: var(--saffron); }

.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--line-strong);
  transition: background var(--dur-fast) var(--ease-out);
}
.nav-burger:hover { background: var(--cream); }

/* ── Mobile / narrow nav ───────────────────────────────────────── */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-cta { gap: 0.5rem; flex-shrink: 0; }
  .nav-cta .btn-primary { padding: 0.55rem 0.95rem; font-size: 0.78rem; }
  .nav { padding: 0.8rem 0.9rem; gap: 0.5rem; }
  .nav-brand { min-width: 0; flex-shrink: 1; }
  .nav-brand-word { font-size: 0.95rem; letter-spacing: 0.03em; }
  .nav-brand-sub { font-size: 0.5rem; letter-spacing: 0.22em; }
}
@media (max-width: 560px) {
  .nav-brand-word { font-size: 0.88rem; }
  .nav-brand-sub { font-size: 0.46rem; letter-spacing: 0.2em; }
  .nav-cta .btn-primary { padding: 0.5rem 0.8rem; font-size: 0.74rem; }
}
@media (max-width: 420px) {
  .nav-brand-rule, .nav-brand-sub { display: none; }
  .nav-brand-word { font-size: 0.9rem; }
  .nav-burger { width: 38px; height: 38px; }
}
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-sm);
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .nav-links.open > li > a,
  .nav-links.open .nav-dd-btn {
    padding: 1rem 0.4rem;
    border-bottom: 1px solid var(--line);
    justify-content: space-between;
    width: 100%;
    font-size: 0.88rem;
  }
  .nav-links.open > li > a::after,
  .nav-links.open .nav-dd-btn::after { display: none; }
  .nav-mega {
    position: static;
    box-shadow: none;
    border: 0;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    transition: max-height var(--dur-med) var(--ease-out), visibility var(--dur-med);
  }
  .nav-dd-mega[data-open="true"] .nav-mega {
    visibility: visible;
    max-height: 2000px;
  }
  .nav-mega-inner {
    padding: var(--space-sm);
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .nav-mega-cta { display: none; }
}

/* ── Announcement bar — centered pill above nav ──────────────────── */
.announce {
  display: block;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 16px auto 0;
  background: #E6ECE4;
  color: var(--navy);
  text-align: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0;
  border-radius: var(--radius-pill);
}
.announce a { color: var(--saffron); font-weight: var(--weight-bold); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .announce { margin: 10px auto 0; padding: 0.55rem 1rem; font-size: 0.85rem; max-width: calc(100% - 24px); }
}

/* ── Sections ─────────────────────────────────────────────────────── */
section { padding: var(--section-py) 0; }
.section-alt  { background: var(--cream); }
.section-dark { background: var(--navy-deep); color: var(--ivory); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .eyebrow { color: var(--saffron-lt); }
.section-dark .lede { color: rgba(251, 248, 243, 0.82); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-lg) auto;
}
.section-head .lede { margin: var(--space-sm) auto 0; }

/* ── Eligibility Assessment wizard ────────────────────────────────── */
.wizard-wrap {
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(1000px 500px at 90% 0%, rgba(199, 109, 74, 0.08), transparent 60%),
    linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
}
.wizard-intro { text-align: center; margin-bottom: var(--space-md); }
.wizard-intro h1 { margin-bottom: 12px; }
.wizard-intro .lede { margin-inline: auto; }

.wizard { max-width: 640px; margin: 0 auto; }

.wizard-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 14px;
}

.wizard-progress {
  height: 4px;
  background: var(--cream-alt);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.wizard-progress-bar {
  height: 100%;
  background: var(--saffron);
  border-radius: var(--radius-pill);
  transition: width 400ms var(--ease-out);
}
.wizard-step-count {
  font-size: 0.72rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.wizard-title {
  font-family: var(--font-body);
  font-weight: var(--weight-extra);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.wizard-subtitle {
  color: var(--stone);
  font-size: 0.95rem;
  margin: 0 0 6px;
}

/* ── Option cards (flex, caret on right) ─────────────────────────── */
.wizard-options {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.wizard-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--ivory);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
  color: var(--slate);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  font: inherit;
  min-height: 58px;
}
.wizard-option:hover,
.wizard-option:focus-visible {
  border-color: var(--saffron);
  transform: translateX(2px);
  box-shadow: 0 4px 14px rgba(199, 109, 74, 0.12);
  outline: none;
}
.wizard-option.selected {
  border-color: var(--saffron);
  background: #fbeee5;
}
.wizard-option-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wizard-option-label {
  display: block;
  font-size: 1rem;
  font-weight: var(--weight-semibold);
  color: var(--navy);
  line-height: 1.35;
}
.wizard-option-hint {
  display: block;
  font-size: 0.82rem;
  color: var(--stone);
  font-weight: var(--weight-regular);
  line-height: 1.35;
}
.wizard-option-caret {
  flex: 0 0 auto;
  color: var(--saffron);
  font-size: 1.1rem;
  transition: transform var(--dur-fast) var(--ease-out);
}
.wizard-option:hover .wizard-option-caret { transform: translateX(4px); }

/* Multi-select option (with checkbox on the left) */
.wizard-option-multi .wizard-check {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border: 2px solid var(--line-strong);
  border-radius: 4px;
  position: relative;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.wizard-option-multi.selected .wizard-check {
  background: var(--saffron);
  border-color: var(--saffron);
}
.wizard-option-multi.selected .wizard-check::after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Mobile: slightly tighter padding, smaller label */
@media (max-width: 520px) {
  .wizard-option { padding: 14px 16px; gap: 12px; min-height: 52px; }
  .wizard-option-label { font-size: 0.95rem; }
  .wizard-option-hint { font-size: 0.78rem; }
}

/* ── Text / textarea ───────────────────────────────────────────── */
.wizard-input-wrap { margin-top: 4px; }
.wizard-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--ivory);
  color: var(--slate);
  line-height: var(--leading-normal);
  transition: border-color var(--dur-fast), background var(--dur-fast);
  resize: vertical;
}
.wizard-textarea:focus {
  outline: none;
  border-color: var(--saffron);
  background: var(--white);
}

/* ── Identity form grid (final step) ──────────────────────────── */
.wizard-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.wizard-form-grid .field-full { grid-column: 1 / -1; }
@media (max-width: 520px) {
  .wizard-form-grid { grid-template-columns: 1fr; }
  .wizard-form-grid .field-full { grid-column: auto; }
}
.wizard-form-grid .field { display: grid; gap: 6px; }
.wizard-form-grid label {
  font-size: 0.82rem;
  font-weight: var(--weight-semibold);
  color: var(--navy);
}
.wizard-form-grid label .optional {
  color: var(--stone);
  font-weight: var(--weight-regular);
  font-size: 0.75rem;
}
.wizard-form-grid input,
.wizard-form-grid select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--ivory);
  color: var(--slate);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.wizard-form-grid input:focus,
.wizard-form-grid select:focus {
  outline: none;
  border-color: var(--saffron);
  background: var(--white);
}

/* ── Submit row + nav ─────────────────────────────────────────── */
.wizard-submit-row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: 6px;
}
.wizard-submit-row .btn { flex: 0 0 auto; }
@media (max-width: 520px) {
  .wizard-submit-row .btn { flex: 1 1 100%; }
}

.wizard-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 28px;
  margin-top: 2px;
}
.wizard-back {
  background: transparent;
  color: var(--stone);
  font-size: 0.85rem;
  font-weight: var(--weight-medium);
  padding: 4px 0;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
}
.wizard-back:hover { color: var(--saffron); }

.wizard-error {
  background: var(--error-bg);
  color: var(--error-text);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: var(--weight-medium);
}

/* ── Summary / done screens ───────────────────────────────────── */
.wizard-summary-card {
  background: linear-gradient(160deg, var(--cream) 0%, #F7EEDC 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: grid;
  gap: 10px;
}
.wizard-summary-card .eyebrow { margin: 0; }
.wizard-summary-card h3 {
  font-family: var(--font-body);
  font-weight: var(--weight-extra);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.01em;
}
.wizard-summary-card p {
  color: var(--slate);
  font-size: 0.95rem;
  margin: 0;
  line-height: var(--leading-normal);
}
.wizard-next-steps {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(31, 58, 46, 0.08);
  font-size: 0.9rem;
  color: var(--stone);
}
.wizard-next-steps strong { color: var(--navy); }

.wizard-done {
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem);
}
.wizard-done-mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--white);
  font-size: 1.8rem;
  font-weight: var(--weight-bold);
  display: grid; place-items: center;
  margin: 0 auto 12px;
  box-shadow: 0 6px 16px rgba(199, 109, 74, 0.28);
}
.wizard-done h2 {
  font-family: var(--font-body);
  font-weight: var(--weight-extra);
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
  color: var(--navy);
  margin-bottom: 10px;
}
.wizard-done .wizard-submit-row { justify-content: center; }

.wizard-fallback {
  text-align: center;
  color: var(--stone);
  font-size: 0.85rem;
  margin-top: var(--space-md);
}
.wizard-fallback a { color: var(--saffron); font-weight: var(--weight-semibold); border-bottom: 1px solid currentColor; }

/* ── Inner-page hero (non-homepage) ──────────────────────────────── */
.inner-hero {
  position: relative;
  margin: 16px;
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-radius: 24px;
  background:
    radial-gradient(900px 400px at 90% 20%, rgba(199, 109, 74, 0.10), transparent 60%),
    linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
  overflow: hidden;
}
.inner-hero > .container { padding-inline: clamp(1.25rem, 3vw, 2.5rem); }
@media (max-width: 640px) { .inner-hero { margin: 12px; border-radius: 18px; padding: 2.25rem 0; } }

/* ── Service/check lists ─────────────────────────────────────────── */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li {
  padding: 14px 18px 14px 42px;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--slate);
  font-size: 0.98rem;
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 16px; top: 14px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--saffron); color: var(--white);
  display: grid; place-items: center;
  font-size: 0.7rem; font-weight: var(--weight-bold);
}

/* ── Numbered step list (for process flows) ─────────────────────── */
.numbered-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  gap: 14px;
  max-width: 680px;
  margin-inline: auto;
}
.numbered-steps li {
  position: relative;
  padding: 14px 18px 14px 56px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  counter-increment: step;
  color: var(--slate);
}
.numbered-steps li::before {
  content: counter(step);
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--saffron); color: var(--white);
  display: grid; place-items: center;
  font-weight: var(--weight-bold); font-size: 0.9rem;
}
.numbered-steps li strong { color: var(--navy); }

/* ── 404 page layout ─────────────────────────────────────────────── */
.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: var(--space-xl) var(--space-md);
}
.not-found-inner {
  text-align: center;
  max-width: 560px;
}
.not-found-inner .lede { margin: var(--space-sm) auto var(--space-md); }
.not-found-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Blog post meta + archive note ───────────────────────────────── */
.post-meta {
  font-size: 0.78rem;
  font-weight: var(--weight-semibold);
  color: var(--stone);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 4px !important;
}
.blog-note {
  text-align: center;
  color: var(--stone);
  font-size: 0.9rem;
  margin: var(--space-lg) auto 0;
  max-width: 640px;
}
.blog-note a { color: var(--saffron); font-weight: var(--weight-semibold); border-bottom: 1px solid currentColor; }

/* ── Contact sidebar aside (call/email/office) ───────────────────── */
.contact-aside {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}
.contact-aside h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: var(--weight-semibold);
  margin: 0 0 8px;
}
.contact-aside h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: var(--weight-semibold);
  color: var(--navy);
  margin: 0 0 6px;
}
.contact-aside p { color: var(--stone); font-size: 0.95rem; }
.contact-aside hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-md) 0; }
.contact-aside .contact-aside-actions {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}
.contact-aside-note { font-size: 0.9rem; color: var(--stone); margin: 0; line-height: 1.5; }
.contact-aside-note-sm { font-size: 0.85rem; color: var(--stone); margin: 0; }
.contact-aside-note-sm strong { color: var(--navy); }
.contact-aside ol {
  padding-left: 18px;
  color: var(--stone);
  font-size: 0.95rem;
  line-height: var(--leading-normal);
  margin: 0;
}
.contact-submit-row {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  flex-wrap: wrap;
}
.contact-submit-row span {
  color: var(--stone);
  font-size: var(--text-small);
}

/* ── Team: founder hero photo card ─────────────────────────────────── */
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  background: var(--cream);
}

/* ── Team initials placeholder (when no headshot) ───────────────── */
.team-initials {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-alt) 100%);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  display: grid;
  place-items: center;
  color: var(--navy-soft);
  font-family: var(--font-body);
  font-weight: var(--weight-extra);
  font-size: 2rem;
  letter-spacing: -0.02em;
}

/* ── Hero — pilled card with looping video bg (boundless-inspired) ── */
.hero {
  position: relative;
  margin: 16px;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-radius: 32px;
  background: #142821;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 40, 33, 0.35) 0%, rgba(20, 40, 33, 0.82) 100%);
  z-index: -1;
  pointer-events: none;
}
.hero > .container { padding-inline: clamp(1.25rem, 3vw, 2.5rem); position: relative; }
.hero h1, .hero h1 span.accent { color: var(--white); }
.hero h1 span.accent { color: #E8B69A; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.92); background: rgba(255, 255, 255, 0.14); padding: 6px 14px; border-radius: var(--radius-pill); backdrop-filter: blur(6px); }
.hero .lede { color: rgba(255, 255, 255, 0.88); }
.hero .hero-meta { border-top-color: rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.72); }
.hero .hero-meta strong { color: var(--white); }
.hero .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--white); }
@media (max-width: 640px) {
  .hero { margin: 12px; border-radius: 24px; padding: 2.5rem 0 3rem; }
  .hero > .container { padding-inline: 1.25rem; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: center;
}
.hero h1 span.accent { color: var(--saffron); }
.hero .lede { margin-bottom: var(--space-md); }
.hero-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; margin-bottom: var(--space-md); }
.hero-meta {
  display: flex; gap: var(--space-md); flex-wrap: wrap;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line);
  font-size: var(--text-small);
  color: var(--stone);
}
.hero-meta strong { color: var(--navy); font-weight: var(--weight-semibold); }

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md);
}
.hero-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: var(--weight-semibold); }
.hero-card .pick-list { list-style: none; margin: var(--space-sm) 0 0; padding: 0; display: grid; gap: 10px; }
.hero-card .pick-list button {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-weight: var(--weight-medium);
  color: var(--navy);
  transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.hero-card .pick-list button:hover {
  background: var(--white);
  border-color: var(--saffron);
  transform: translateX(2px);
}
.hero-card .pick-list .arrow { color: var(--saffron); font-weight: var(--weight-bold); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ── Reviews marquee (auto-scrolling client reviews) ──────────────── */
.reviews-strip {
  background: #E6ECE4;
  padding: clamp(2rem, 4vw, 3rem) 0;
  overflow: hidden;
}
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding-inline: var(--space-md);
  color: var(--navy);
  font-size: 0.95rem;
  flex-wrap: wrap;
}
.reviews-header .rh-rating { display: inline-flex; align-items: center; gap: 6px; }
.reviews-header .rh-stars { color: #f4b400; letter-spacing: 2px; }
.reviews-header strong { font-weight: var(--weight-bold); }
.reviews-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
          mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.reviews-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: review-scroll 55s linear infinite;
}
.reviews-track:hover { animation-play-state: paused; }
.review-card {
  flex: 0 0 360px;
  background: var(--white);
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.review-card .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.review-card .review-body { flex: 1; min-width: 0; display: grid; gap: 6px; }
.review-card .stars { color: #f4b400; letter-spacing: 2px; font-size: 13px; line-height: 1; }
.review-card p { font-size: 0.92rem; line-height: 1.5; color: var(--slate); margin: 0; }
.review-card footer {
  background: transparent;
  padding: 0;
  margin-top: 2px;
  font-size: 0.82rem;
  color: var(--stone);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.review-card footer strong { color: var(--navy); font-weight: var(--weight-semibold); font-size: 0.88rem; }
.review-card footer .source { margin-left: auto; font-size: 0.72rem; color: var(--stone); }
@keyframes review-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
}

/* ── Logo strip (kept as a utility) ───────────────────────────────── */
.logos {
  padding: var(--space-md) 0;
  background: var(--white);
  border-block: 1px solid var(--line);
}
.logos-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.logos-label {
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--stone);
  font-weight: var(--weight-semibold);
}
.logos-row { display: flex; gap: var(--space-md); flex-wrap: wrap; align-items: center; }
.logos-row .logo {
  font-family: var(--font-display);
  color: var(--stone);
  font-size: 1rem;
  opacity: 0.7;
  font-weight: var(--weight-medium);
}

/* ── Feature grid (services) ──────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex; flex-direction: column;
  gap: var(--space-xs);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(199, 109, 74, 0.10);
  color: var(--saffron);
  display: grid; place-items: center;
  margin-bottom: var(--space-xs);
}
.card h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: var(--weight-semibold); }
.card p  { color: var(--stone); font-size: 0.95rem; margin: 0; }
.card-cta { margin-top: auto; padding-top: var(--space-sm); }

/* ── How it works — the journey (alternating slide-in, dashed map line) ─ */
.journey {
  --node-size: 56px;
  --line-x: calc(var(--node-size) / 2);
  --journey-line-end: 100%;
  list-style: none;
  padding: 0;
  margin: var(--space-lg) auto 0;
  max-width: 680px;
  position: relative;
}

/* Base dashed line — faint, ends at last node center */
.journey::before {
  content: "";
  position: absolute;
  left: var(--line-x);
  top: 16px;
  height: calc(var(--journey-line-end) - 16px);
  width: 0;
  border-left: 2.5px dashed var(--saffron);
  opacity: 0.22;
  z-index: 0;
  transform: translateX(-1.25px);
}

/* Active line — grows with scroll progress, capped at last node */
.journey::after {
  content: "";
  position: absolute;
  left: var(--line-x);
  top: 16px;
  width: 0;
  height: min(var(--journey-progress, 0%), calc(var(--journey-line-end) - 16px));
  border-left: 2.5px dashed var(--saffron);
  z-index: 1;
  transform: translateX(-1.25px);
  transition: height 500ms var(--ease-out);
}

.journey-step {
  position: relative;
  display: grid;
  grid-template-columns: var(--node-size) 1fr;
  gap: 18px;
  padding: 14px 0;
  align-items: start;
  z-index: 2;
}

/* Base step reveal — fade only. Children animate with distinct transforms. */
.journey-step.reveal {
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
}
.journey-step.reveal.in { opacity: 1; }

/* Node pops in: scales up from 0.6 with a bounce */
.journey-node {
  width: var(--node-size); height: var(--node-size);
  border-radius: 50%;
  background: var(--cream);
  border: 2.5px dashed var(--saffron);
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-weight: var(--weight-extra);
  font-size: 1.2rem;
  color: var(--saffron);
  position: relative;
  z-index: 2;
  transform: scale(0.55);
  transition: transform 520ms cubic-bezier(0.34, 1.56, 0.64, 1),
              background 420ms var(--ease-out),
              color 420ms var(--ease-out),
              border-style 420ms,
              box-shadow 420ms var(--ease-out);
}
.journey-step.in .journey-node {
  background: var(--saffron);
  color: var(--white);
  border-style: solid;
  box-shadow: 0 6px 16px rgba(199, 109, 74, 0.32);
  transform: scale(1);
}

/* Card slides in from side + fades, staggered slightly behind the node */
.journey-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: opacity 620ms var(--ease-out),
              transform 620ms var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out);
}
.journey-step[data-side="left"]  .journey-card { transform: translateX(-56px); }
.journey-step[data-side="right"] .journey-card { transform: translateX(56px); }
.journey-step.in .journey-card {
  transform: translateX(0);
  opacity: 1;
  border-color: rgba(199, 109, 74, 0.22);
  box-shadow: var(--shadow-md);
  transition-delay: 180ms;  /* lag slightly behind the node pop */
}

.journey-card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: var(--weight-semibold);
  margin: 0 0 6px;
}
.journey-card p { color: var(--stone); font-size: 0.95rem; margin: 0; }

/* Stagger subsequent steps so you see each animate in sequence when in view */
.journey-step:nth-child(2) .journey-node { transition-delay: 80ms; }
.journey-step:nth-child(2).in .journey-card { transition-delay: 260ms; }
.journey-step:nth-child(3) .journey-node { transition-delay: 160ms; }
.journey-step:nth-child(3).in .journey-card { transition-delay: 340ms; }
.journey-step:nth-child(4) .journey-node { transition-delay: 240ms; }
.journey-step:nth-child(4).in .journey-card { transition-delay: 420ms; }

/* Desktop — nudge spacing */
@media (min-width: 720px) {
  .journey { --node-size: 64px; }
  .journey-step { gap: 26px; padding: 20px 0; }
  .journey-card { padding: var(--space-md) clamp(1.25rem, 2vw, 1.75rem); }
}

@media (prefers-reduced-motion: reduce) {
  .journey-step.reveal,
  .journey-node,
  .journey-card { transition-duration: 1ms !important; transition-delay: 0 !important; }
  .journey-step[data-side="left"] .journey-card,
  .journey-step[data-side="right"] .journey-card { transform: none; }
  .journey-node { transform: scale(1); }
  .journey::after { transition: none; }
}

/* ── Split feature ────────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.split-flip { grid-template-columns: 1fr 1fr; }
.split-flip .split-media { order: 2; }
@media (max-width: 880px) {
  .split, .split-flip { grid-template-columns: 1fr; }
  .split-flip .split-media { order: 0; }
}
.split-media {
  background: var(--cream-alt);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid; place-items: center;
  color: var(--stone);
  font-family: var(--font-body);
  box-shadow: var(--shadow-md);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split ul { list-style: none; padding: 0; margin: var(--space-sm) 0; display: grid; gap: 10px; }
.split ul li { padding-left: 28px; position: relative; color: var(--slate); }
.split ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--saffron); color: var(--white);
  display: grid; place-items: center;
  font-size: 0.75rem; font-weight: var(--weight-bold);
}

/* ── Stats strip ──────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); text-align: center; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat-num {
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--saffron-lt);
  font-weight: var(--weight-extra);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-lbl { font-size: var(--text-small); color: var(--stone); margin-top: 6px; }

/* ── Testimonials ─────────────────────────────────────────────────── */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
@media (max-width: 960px) { .quote-grid { grid-template-columns: 1fr; } }
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}
.quote .stars { color: var(--saffron); letter-spacing: 2px; margin-bottom: var(--space-xs); }
.quote blockquote {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: var(--leading-snug);
  color: var(--navy);
}
.quote .author { font-size: var(--text-small); color: var(--stone); }
.quote .author strong { color: var(--navy); font-weight: var(--weight-semibold); }

/* ── Pricing ──────────────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); align-items: stretch; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; } }
.price {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex; flex-direction: column;
}
.price.featured {
  border: 2px solid var(--saffron);
  box-shadow: var(--shadow-md);
  position: relative;
}
.price.featured::before {
  content: "Most Popular";
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--saffron);
  color: var(--navy-deep);
  font-size: var(--text-micro);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.price h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: var(--weight-semibold); margin-bottom: 4px; }
.price .amt {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: var(--weight-semibold);
  color: var(--navy);
  line-height: 1;
  margin: var(--space-xs) 0 var(--space-sm);
}
.price .amt small { font-size: 0.55em; color: var(--stone); font-weight: var(--weight-regular); display: block; margin-top: 6px; }
.price ul { list-style: none; padding: 0; margin: 0 0 var(--space-md); display: grid; gap: 8px; }
.price ul li { padding-left: 22px; position: relative; font-size: 0.95rem; }
.price ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--leaf); font-weight: var(--weight-bold);
}
.price .btn { margin-top: auto; }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border-top: 1px solid var(--line);
  padding: var(--space-sm) 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--saffron);
  transition: transform var(--dur-fast) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--stone); padding: var(--space-xs) 0 0; }

/* ── Resources (blog preview) ─────────────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr; } }
.post {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--cream-alt) 0%, var(--cream) 100%);
  display: grid; place-items: center;
  color: var(--stone);
  font-family: var(--font-body);
  overflow: hidden;
}
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-xs); flex: 1; }
.post-tag {
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--saffron);
  font-weight: var(--weight-semibold);
}
.post h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: var(--weight-semibold); }
.post p { color: var(--stone); font-size: 0.95rem; margin: 0; }
.post .btn-link { margin-top: auto; align-self: flex-start; }

/* ── CTA band ─────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--ivory);
  padding: var(--section-py) 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band .lede { color: rgba(251, 248, 243, 0.82); margin: var(--space-sm) auto var(--space-md); }
.cta-band .btn-group { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }

/* ── Form ─────────────────────────────────────────────────────────── */
.form {
  display: grid;
  gap: var(--space-sm);
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label {
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: var(--text-body);
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--ivory);
  color: var(--slate);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--saffron);
  background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }

/* ── Footer ───────────────────────────────────────────────────────── */
footer {
  background: var(--navy-deep);
  color: rgba(251, 248, 243, 0.78);
  padding: var(--space-lg) 0 var(--space-md);
  font-size: var(--text-small);
}
footer .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 960px) {
  footer .foot-grid { grid-template-columns: repeat(2, 1fr); }
}
footer h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-sm);
}
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer ul a { color: rgba(251, 248, 243, 0.72); }
footer ul a:hover { color: var(--saffron); }
footer .foot-brand { color: rgba(251, 248, 243, 0.86); }
footer .foot-brand p { max-width: 38ch; color: rgba(251, 248, 243, 0.6); }
footer .foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--space-md); flex-wrap: wrap;
  padding-top: var(--space-md);
  font-size: var(--text-micro);
  color: rgba(251, 248, 243, 0.5);
  letter-spacing: var(--tracking-wide);
}
footer .foot-bottom .legal-disclaimer { max-width: 68ch; }

/* ── Chat widget shell (dormant, enable via app.js) ───────────────── */
.chat-fab {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--white);
  display: none;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-overlay);
  transition: transform var(--dur-med) var(--ease-out), background var(--dur-med) var(--ease-out);
}
.chat-fab.enabled { display: inline-flex; }
.chat-fab:hover { transform: scale(1.08); background: var(--blue-dark); }

/* ── Utility ──────────────────────────────────────────────────────── */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

/* ── Reveal animations (triggered via app.js) ─────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 100ms; }
.reveal[data-delay="2"] { transition-delay: 200ms; }
.reveal[data-delay="3"] { transition-delay: 300ms; }

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