/* ============================================================
   SOLANO THEME — solano.css
   SoCal Compassionate — Warm Minimalist / Imagery-Forward
   Palette: Cream & Charcoal with Terra Cotta accents
   First light-background theme in LaunchCMS

   patch-421 (solano fidelity) — framework restore at markup v2. Blocks
   edited by this pass carry the tag "patch-421 (solano fidelity)".
   INTENTIONAL DEVIATIONS from the framework (framework-src/solano):
    1. Primary button fill stays --clr-terra-dark #A05A3C (fw terra #C2714F:
       white text only 3.40:1). Hover adds the fw terra glow via
       --clr-terra-border instead of darkening further.
    2. Small terra text (eyebrows, kickers, mega heads, card links, roles,
       labels) uses --clr-eyebrow / --clr-terra-dark, not fw terra (3.4:1).
       Footer heads use the patch-393 --clr-terra-on-dark (fw terra 3.95:1).
    3. fw --color-muted #7A7971 body/label text (4.10:1 on cream, 4.35:1 on
       white) is --clr-ink-light throughout (hero subtext, trust labels,
       tagline, card copy, testimonial location, mega descriptions).
    4. Article prose held at 1.125rem (fw body 16px) — Joe Cooper is mostly
       blog articles; readability kept. Body copy elsewhere follows fw 16px.
    5. Hero fade-up keyframes animate transform only (no opacity-0 start) so
       the LCP heading is never invisible; timings/delays/easing are fw d1-d6.
       The portrait frame scale-in keeps the fw opacity fade.
    6. CTA / inline-CTA gradient starts at sage-dark deepened 15% toward black
       (color-mix) so white/cream text holds >= 4.5:1 on every light palette
       (desert-bloom sage-dark would give 3.73:1). fw .btn--white text uses
       terra-dark (5.22:1), not terra.
    7. bg-image service cards (not in fw): warm sage-dark scrim deepened
       toward black (0.92 → 0.86 → 0.40 → 0), text anchored to the card
       bottom; measured >= 5.0:1 (1440) on Joe Cooper's six photos.
    8. Small sage text (pills, loc links, outline numerals) uses sage-dark
       deepened 20% so it holds AA on desert-bloom.
    9. Mega-menu, hover and contrast values from patch-393 were INVERTED for
       the white panel and RE-SCOPED (not deleted) to the charcoal
       fullpage-nav overlay.
   10. Monogram tile keeps fw terra behind white (3.64:1): logotype text is
       exempt under WCAG 1.4.3.
   11. The Blackwood palettes (inverted dark tokens) cannot express the fw
       WHITE surfaces (--clr-white stays #FFF); see flags for the palette
       follow-up. Default, Coastal, Desert Bloom and Olive Grove all pass.
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  /* Core Palette */
  --clr-cream-100:    #FAF8F4;
  --clr-cream-200:    #EDE8DE;
  --clr-cream-300:    #D9D0BF;
  --clr-cream-400:    #C8BFB0;
  --clr-sage:         #7A9E8C;
  --clr-sage-light:   #A8C4B5;
  --clr-sage-dark:    #4E7263;
  --clr-terra:        #C2714F;
  --clr-eyebrow:      #924e2e;
  --clr-terra-dark:   #A05A3C;
  --clr-terra-subtle: rgba(194,113,79,0.12);
  --clr-terra-border: rgba(194,113,79,0.25);
  --clr-charcoal:     #2A2A28;
  --clr-charcoal-2:   #3A3A38;
  --clr-charcoal-3:   #4A4A48;
  --clr-ink:          #3D3D3A;
  --clr-ink-light:    #5A5A58;
  --clr-muted:        #7A7971;
  --clr-muted-dark:   #A8A8A1; /* patch-393 WCAG AA: muted text on dark surfaces; 6.01:1 on charcoal, 4.77:1 on charcoal-2 (worst dark palette 4.77) */
  --clr-terra-on-dark: #DE9670; /* patch-393 WCAG AA: terra label text on dark surfaces; 5.96:1 on charcoal, 4.72:1 on charcoal-2 (worst dark palette 4.72) */
  --clr-ash:          #B8B8B2;
  --clr-white:        #FFFFFF;
  --clr-hero-gradient: rgba(26,26,26,0.50) 0%;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing Scale */
  --sp-1:  0.25rem;  --sp-2:  0.5rem;   --sp-3:  0.75rem;
  --sp-4:  1rem;     --sp-5:  1.25rem;  --sp-6:  1.5rem;
  --sp-7:  1.75rem;  --sp-8:  2rem;     --sp-10: 2.5rem;
  --sp-12: 3rem;     --sp-14: 3.5rem;   --sp-16: 4rem;
  --sp-20: 5rem;     --sp-24: 6rem;     --sp-32: 8rem;

  /* Layout */
  --max-width:  1440px;
  --nav-height: 76px;

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows — warm rgba base */
  --shadow-sm: 0 1px 3px rgba(42,42,40,0.08);
  --shadow-md: 0 4px 16px rgba(42,42,40,0.10);
  --shadow-lg: 0 16px 48px rgba(42,42,40,0.14);
  --shadow-xl: 0 32px 80px rgba(42,42,40,0.20);

  --section-bg-overlay: rgba(20, 16, 12, 0.5);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* patch-421 (solano fidelity): framework body type 16px / 1.65 (fw styles.css:88-101) */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--clr-ink);
  background-color: var(--clr-cream-100);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Utility ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

@media (min-width: 1080px) { .container { padding-inline: var(--sp-12); } }

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

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ── Focus ── */
:focus-visible {
  outline: 2px solid var(--clr-terra);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   SHARED SECTION ELEMENTS
   ============================================================ */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-eyebrow); /* WCAG AA fix: was var(--clr-terra) #C2714F → 3.43:1 on cream-100; #924e2e = 5.91:1 on cream-100, 4.97:1 on cream-200 */
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
/* No decorative line before eyebrow in Solano */
.section-eyebrow::before { display: none; }

.section-eyebrow--light { color: var(--clr-sage-light); }
.section-eyebrow--light::before { display: none; }
.section-eyebrow--CTA { justify-content: center; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500; /* patch-421 (solano fidelity): fw section title weight 500 (fw :208-215) */
  line-height: 1.15;
  color: var(--clr-charcoal);
  margin-bottom: var(--sp-6);
}
/* Italic accents on light-bg sections: sage-dark */
.section-title em { font-style: italic; color: var(--clr-sage-dark); }
/* patch-307 — light variant for dark-bg sections */
.section-title--light { color: var(--clr-ash); }
.section-title--light em { color: var(--clr-sage-light); }

.section-desc {
  font-size: 1.125rem; /* patch-421 (solano fidelity): fw subtitle text-md (fw :217-223) */
  line-height: 1.7;
  color: var(--clr-ink-light);
  max-width: 52ch;
}

.section-header { margin-bottom: var(--sp-12); }
.section-header--centered { text-align: center; }
.section-header--centered .section-eyebrow { justify-content: center; }
.section-header--centered .section-eyebrow::before { display: none; }
.section-header--centered .section-desc { margin-inline: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
/* patch-421 (solano fidelity): framework buttons — SENTENCE CASE, 0.875rem,
   0.02em tracking, 2px border, -1px lift, terra glow on hover (fw :243-295).
   The primary keeps the --clr-terra-dark fill (WCAG deviation, see header). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 0.75rem 1.75rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease,
              box-shadow 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg   { padding: 0.9rem 2.25rem; font-size: 1rem; }
.btn--sm   { padding: 0.5rem 1.25rem; font-size: 0.8125rem; }
.btn--full { width: 100%; }

.btn--primary {
  background-color: var(--clr-terra-dark);
  color: var(--clr-white);
  border-color: var(--clr-terra-dark);
}
.btn--primary:hover {
  background-color: var(--clr-terra-dark);
  border-color: var(--clr-terra-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--clr-terra-border);
}

/* Secondary CTAs (v2 secondary_cta ghost / outline). A field colour set via
   the inline --btn-fc custom property wins over the theme default. */
.btn--outline {
  background-color: transparent;
  color: var(--btn-fc, var(--clr-ink));
  border-color: var(--btn-fc, var(--clr-cream-400));
}
.btn--outline:hover {
  border-color: var(--btn-fc, var(--clr-ink));
  background-color: var(--clr-cream-200);
}

/* Mega-menu outline button — light-panel equivalent of the old dark-panel rule */
.mega-menu .btn--outline {
  color: var(--clr-charcoal);
  border-color: var(--clr-charcoal);
  white-space: nowrap;
  width: 100%;
}
.mega-menu .btn--outline:hover {
  background-color: var(--clr-charcoal);
  border-color: var(--clr-charcoal);
  color: var(--clr-white);
  transform: translateY(-1px);
}

/* Ghost = the framework's charcoal outline (fw :285-294) */
.btn--ghost {
  background-color: transparent;
  color: var(--btn-fc, var(--clr-charcoal));
  border-color: var(--btn-fc, var(--clr-charcoal));
}
.btn--ghost:hover {
  background-color: var(--clr-charcoal);
  border-color: var(--clr-charcoal);
  color: var(--clr-white);
}

/* Ghost-white — the framework's ghost on dark / gradient bands (fw :296-305) */
.btn--ghost-white,
.btn--ghost-light {
  background-color: transparent;
  color: var(--btn-fc, var(--clr-white));
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost-white:hover,
.btn--ghost-light:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: var(--clr-white);
  color: var(--clr-white);
}

.btn--ivory {
  background-color: var(--clr-cream-100);
  color: var(--clr-charcoal);
  border-color: var(--clr-cream-100);
}
.btn--ivory:hover {
  background-color: var(--clr-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   NAVIGATION — LIGHT HEADER (unique to Solano)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  height: var(--nav-height);
  background: var(--clr-cream-100);
  border-bottom: 1px solid var(--clr-cream-300);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: var(--clr-cream-100);
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  padding-inline: var(--sp-6);
  max-width: var(--max-width);
  margin-inline: auto;
}

.nav-logo {
  display: flex; align-items: center; gap: var(--sp-3);
  color: var(--clr-ink); flex-shrink: 0; text-decoration: none;
}
/* patch-421 (solano fidelity): v2 monogram lockup — 40px terra tile with a
   white serif monogram, Cormorant name, small sentence-case tagline
   (fw :382-425). The tagline text comes only from the logo_tagline setting. */
.nav-logo__mark  {
  color: var(--clr-white);
  background: var(--clr-terra);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.nav-logo__text  { display: flex; flex-direction: column; gap: 1px; line-height: 1.1; min-width: 0; }
.nav-logo__name  { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; line-height: 1.1; color: var(--clr-charcoal); }
.nav-logo__sub   { font-size: 0.75rem; font-weight: 400; letter-spacing: 0.04em; text-transform: none; line-height: 1.3; color: var(--clr-ink-light); /* fw muted #7A7971 = 4.10:1 on cream-100; ink-light keeps AA */ }

/* patch-510: header logo pair
   Light header (--clr-cream-100) shows the dark logo; the full-page topbar
   (--clr-charcoal) shows the light logo. Blackwood swaps both tokens
   (cream-100 #0A0A0A, charcoal #F0F0EC), so it inverts both. */
.nav-logo.nav-logo--pair { display: inline-grid; align-items: center; justify-items: start; }
.nav-logo--pair > .nav-logo__img { grid-area: 1 / 1; display: block !important; filter: none; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
.nav-logo--pair > .nav-logo__img--on-dark { opacity: 0; visibility: hidden; }
.nav-logo--pair > .nav-logo__img--on-light { opacity: 1; visibility: visible; }
.fullpage-nav__topbar .nav-logo--pair > .nav-logo__img--on-dark { opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s linear 0s; }
.fullpage-nav__topbar .nav-logo--pair > .nav-logo__img--on-light { opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
:root[data-palette="blackwood"] .nav-logo--pair > .nav-logo__img--on-dark { opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s linear 0s; }
:root[data-palette="blackwood"] .nav-logo--pair > .nav-logo__img--on-light { opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
:root[data-palette="blackwood"] .fullpage-nav__topbar .nav-logo--pair > .nav-logo__img--on-dark { opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
:root[data-palette="blackwood"] .fullpage-nav__topbar .nav-logo--pair > .nav-logo__img--on-light { opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s linear 0s; }
@media (prefers-reduced-motion: reduce) { .nav-logo--pair > .nav-logo__img { transition: none !important; } }

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: var(--sp-1);
  margin-left: auto;
}

.nav-item { position: static; }

.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.8rem; font-weight: 400; letter-spacing: 0.06em;
  color: var(--clr-ink-light);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.nav-link:hover { color: var(--clr-ink); }
.nav-chevron { transition: transform 0.25s var(--ease-out-expo); flex-shrink: 0; color: var(--clr-muted); }
.nav-link--trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }

.nav-actions {
  display: none;
  align-items: center;
  gap: var(--sp-4);
  margin-left: var(--sp-4);
  flex-shrink: 0;
}
.nav-phone {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.04em;
  color: var(--clr-ink-light); text-decoration: none;
  transition: color 0.2s ease;
}
.nav-phone:hover { color: var(--clr-ink); }

/* Hamburger — ink bars (light header) */
.nav-hamburger {
  margin-left: auto; display: flex; flex-direction: column;
  justify-content: center; gap: 5px; padding: var(--sp-2);
}
.hamburger-bar {
  display: block; width: 22px; height: 1.5px;
  background: var(--clr-ink); border-radius: 2px;
  transition: all 0.3s var(--ease-out-expo); transform-origin: center;
}
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 1080px) {
  .nav-links     { display: flex; }
  .nav-logo      { flex: 1; }
  .nav-actions   { display: flex; flex: 1; justify-content: flex-end; }
  .nav-hamburger { display: none; }
  .nav-wrapper   { padding-inline: var(--sp-12); }
}

/* ── Mega Menu — patch-421 (solano fidelity): WHITE panel, 2px terra top rule
   (fw :497-584). The patch-393 dark-panel contrast rules below are INVERTED to
   light-panel equivalents (each re-measured on #FFFFFF); the original
   dark-surface values are re-scoped, not deleted, to the charcoal fullpage-nav
   overlay (see "FULLPAGE NAV — dark mega re-scope" further down). ── */
.mega-menu {
  position: fixed;
  top: var(--nav-height);
  left: max(var(--sp-12), calc(50% - var(--max-width) / 2 + var(--sp-12)));
  right: max(var(--sp-12), calc(50% - var(--max-width) / 2 + var(--sp-12)));
  background: var(--clr-white);
  border: 1px solid var(--clr-cream-300);
  border-top: 2px solid var(--clr-terra);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 12px 40px rgba(42,42,40,0.12);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out-expo), visibility 0s linear 0.2s;
  z-index: 800;
}
.mega-menu::before {
  content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
.mega-menu.is-open {
  opacity: 1; pointer-events: all; visibility: visible; transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out-expo), visibility 0s linear 0s;
}
.mega-menu__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 260px;
  gap: 0;
  padding: var(--sp-8);
}
.mega-menu__inner--2col { grid-template-columns: 1fr 260px; }
.mega-menu__inner--contact { display: flex; gap: var(--sp-3); padding: var(--sp-6); }
.mega-menu__col {
  padding: var(--sp-4) var(--sp-6);
  border-right: 1px solid var(--clr-cream-200);
}
.mega-menu__col:first-child { padding-left: 0; }
.mega-menu__col:last-child  { border-right: none; }
.mega-menu__heading {
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--clr-terra-dark); /* patch-421 inverts patch-393 (was terra-on-dark on charcoal): fw terra #C2714F = 3.40:1 on white; terra-dark #A05A3C = 5.22:1 on white */
  margin-bottom: var(--sp-4); padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--clr-cream-300);
}
.mega-menu__col ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.mega-menu__link {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3); border-radius: var(--radius-sm);
  transition: background 0.15s ease; text-decoration: none;
}
.mega-menu__link:hover { background: var(--clr-cream-100); }
.mega-menu__link:hover strong { color: var(--clr-terra-dark); }
/* The ◈ glyph is not part of the framework menu */
.mega-menu__icon { display: none; }
.mega-menu__link strong {
  display: block; font-size: 0.875rem; font-weight: 500;
  color: var(--clr-ink); letter-spacing: 0.01em; /* patch-421 inverts patch-393 (was ash on charcoal): ink #3D3D3A = 10.90:1 on white */
}
.mega-menu__link em {
  display: block; font-style: normal; font-size: 0.75rem;
  color: var(--clr-ink-light); /* patch-421 inverts patch-393 (was muted-dark on charcoal): muted #7A7971 = 4.35:1 on white fails; ink-light #5A5A58 = 6.91:1 on white */ margin-top: 1px;
}
/* Sand CTA card with an italic serif prompt (fw :563-584) */
.mega-menu__cta-card {
  background: var(--clr-cream-200);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  height: 100%;
  display: flex; flex-direction: column; gap: var(--sp-4);
  align-items: stretch;
  text-align: center;
}
.mega-menu__cta-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--clr-eyebrow); /* patch-421 inverts patch-393 (was terra-on-dark over charcoal): eyebrow #924E2E = 5.91:1 on cream-100, 5.13:1 on cream-200 */ font-weight: 600;
}
.mega-menu__cta-title {
  font-family: var(--font-display); font-size: 1.25rem; font-style: italic;
  font-weight: 500; color: var(--clr-charcoal); line-height: 1.3; /* patch-421 inverts patch-393 (was ash on charcoal): charcoal = 11.78:1 on cream-200 */
}
.mega-menu__cta-desc {
  font-size: 0.8125rem; color: var(--clr-ink-light); /* patch-421 inverts patch-393 (was muted-dark over charcoal): ink-light #5A5A58 = 5.66:1 on cream-200 */ line-height: 1.6; flex: 1;
}

/* Contact Mega Buttons */
.mega-contact-btns {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  width: 100%;
}

.mega-contact-btn {
  width: 100%;
  box-sizing: border-box;
  flex: none;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--clr-cream-300);
  background: var(--clr-white);
  border-radius: var(--radius-md);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.22s ease;
  min-height: 52px;
}
.mega-menu__cta-card .mega-contact-btn { flex: none; width: 100%; }
.mega-contact-btn:hover { background: var(--clr-cream-100); border-color: var(--clr-cream-400); transform: translateY(-2px); }
.mega-contact-btn--accent { background: var(--clr-white); border-color: var(--clr-terra-border); }
.mega-contact-btn--accent:hover { background: var(--clr-cream-100); border-color: var(--clr-terra); }
.mega-contact-btn__icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--clr-cream-200); color: var(--clr-terra-dark); flex-shrink: 0;
  transition: background 0.2s ease;
}
.mega-contact-btn--accent .mega-contact-btn__icon { background: var(--clr-terra-subtle); }
.mega-contact-btn:hover .mega-contact-btn__icon { background: var(--clr-cream-200); }
.mega-contact-btn__text { display: flex; flex-direction: column; gap: 3px; }
.mega-contact-btn__text strong { display: block; font-size: 0.82rem; font-weight: 600; color: var(--clr-charcoal); letter-spacing: 0.02em; /* patch-421 inverts patch-393 (was ash on charcoal): charcoal on white / cream-100 >= 13.56:1 */ }
.mega-contact-btn__text em    { display: block; font-style: normal; font-size: 0.75rem; color: var(--clr-ink-light); /* patch-421 inverts patch-393 (was ash over two terra-subtle layers on charcoal): the contact buttons are now opaque white / cream-100, so ink-light #5A5A58 = 6.91:1 on white, 6.52:1 on cream-100 */ }

/* Mobile Menu — slides from right, cream background */
.mobile-menu {
  position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: var(--clr-cream-100); z-index: 999;
  display: flex; flex-direction: column; padding: var(--sp-6);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out-expo);
}
.mobile-menu.is-open { transform: translateX(0); }
body.menu-open { overflow: hidden; }
.mobile-nav-list { display: flex; flex-direction: column; gap: 0; flex: 1; }
.mobile-nav-item { width: 100%; }
.mobile-nav-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: var(--sp-4) var(--sp-2); font-size: 1.05rem; font-weight: 300;
  color: var(--clr-ink); letter-spacing: 0.04em;
  border-bottom: 1px solid var(--clr-cream-300);
  background: none; text-align: left; transition: color 0.2s ease;
}
.mobile-nav-link:hover { color: var(--clr-terra); }
.mobile-chevron { transition: transform 0.25s var(--ease-out-expo); flex-shrink: 0; color: var(--clr-muted); }
.mobile-accordion-trigger[aria-expanded="true"] .mobile-chevron { transform: rotate(180deg); }
.mobile-accordion-panel {
  padding: var(--sp-2) 0 var(--sp-4) var(--sp-4);
  display: flex; flex-direction: column; gap: 0;
  border-bottom: 1px solid var(--clr-cream-300);
}
.mobile-accordion-panel[hidden] { display: none; }
.mobile-accordion-group-label {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--clr-terra); padding: var(--sp-3) 0 var(--sp-2); margin-top: var(--sp-2);
}
.mobile-accordion-group-label:first-child { margin-top: 0; }
.mobile-nav-sublink {
  font-size: 0.88rem; color: var(--clr-ink-light); padding: var(--sp-2) 0;
  display: block; letter-spacing: 0.03em; transition: color 0.2s ease; text-decoration: none;
}
.mobile-nav-sublink:hover { color: var(--clr-terra); }
@media (min-width: 1080px) { .mobile-menu { display: none; } .nav-hamburger { display: none; } }

/* ============================================================
   HERO — HOMEPAGE (two-column split layout)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: var(--clr-cream-100);
  padding-top: var(--nav-height);
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 100svh;
  }
}

/* Subtle warm radial gradient background wash — no mountains */
.hero__bg {
  position: absolute;
  inset: 0;
  /* patch-421 (solano fidelity): the framework's double radial wash (fw :728-736) */
  background:
    radial-gradient(ellipse 60% 50% at 75% 60%, rgba(122,158,140,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(194,113,79,0.07) 0%, transparent 60%);
  pointer-events: none;
}

/* Mountain elements hidden in Solano */
.hero__mountain,
.hero__mountain--back,
.hero__mountain--mid,
.hero__mountain--front { display: none; }

/* No fog in Solano */
.hero__fog { display: none; }

/* No grain in Solano */
.hero__grain { opacity: 0; pointer-events: none; }

/* Override peak's pseudo-elements */
.hero::before { display: none; }
.hero::after  { display: none; }

/* patch-421 (solano fidelity): framework CSS keyframe hero stagger d1-d6
   (fw :136-191) — durations/delays/easing from the framework. The fade-up
   stays transform-only (no opacity 0 start) so the hero heading is never
   invisible at first paint (LCP) — intentional deviation, see header. */
@keyframes heroFadeUp { from { transform: translateY(24px); } to { transform: translateY(0); } }
@keyframes heroFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroPortraitScaleIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
.hero__animate { opacity: 1; animation: heroFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero__animate--1 { animation-duration: 0.65s; animation-delay: 0.05s; }
.hero__animate--2 { animation-duration: 0.65s; animation-delay: 0.18s; }
.hero__animate--3 { animation-duration: 0.70s; animation-delay: 0.32s; }
.hero__animate--4 { animation-duration: 0.70s; animation-delay: 0.46s; }
.hero__animate--5 { animation-duration: 0.70s; animation-delay: 0.60s; }
.hero__animate--6 { animation-duration: 0.80s; animation-delay: 0.75s; }

/* Left column: editorial content — left-aligned */
.hero__center {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  padding: var(--sp-20) var(--sp-6) var(--sp-16);
  width: 100%;
}

@media (min-width: 900px) {
  .hero__center {
    padding: var(--sp-20) var(--sp-12) var(--sp-20) max(var(--sp-12), calc(50% - var(--max-width) / 2 + var(--sp-12)));
    justify-content: center;
  }
}

/* patch-421 (solano fidelity): plain terra kicker — 600 / 0.16em (fw :751-758).
   --clr-eyebrow is the patch-393-era accessible terra (fw terra = 3.43:1). */
.hero__badge {
  display: flex; align-items: center; gap: var(--sp-4);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--clr-eyebrow); margin-bottom: var(--sp-4);
}
.hero__badge-line { display: block; width: 40px; height: 1px; background: var(--clr-cream-300); }
.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 400; line-height: 1.1; /* fw hero weight 400 (fw :760-767) */
  color: var(--clr-charcoal); margin-bottom: var(--sp-6);
}
.hero__heading-top { display: block; }
/* v2 heading_mid — the middle voice between -top and the italic accent */
.hero__heading-mid { display: block; }
/* Italic accent in hero: sage-dark */
.hero__heading-accent { display: block; font-style: italic; color: var(--clr-sage-dark); }
.hero__subtext {
  font-size: 1.125rem;
  font-weight: 400; line-height: 1.7;
  color: var(--clr-ink-light); /* fw muted #7A7971 = 4.10:1 on cream-100; ink-light kept for AA */ max-width: 48ch; margin-bottom: var(--sp-8);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: flex-start; }

.hero__stats-bar {
  position: relative;
  left: auto; right: auto; bottom: auto;
  width: 100%;
  margin-top: var(--sp-12);
  padding-bottom: var(--sp-8);
}

/* patch-391 — desktop: keep the hero stats bar in column 1, below the copy.
   The hero grid is 1fr 1fr at >=900px but column 2 is never filled, so row-major
   auto-placement was putting the stats bar beside the copy instead of under it. */
@media (min-width: 900px) {
  .hero { grid-template-rows: 1fr auto; }
  .hero__stats-bar {
    grid-column: 1;
    padding-left: max(var(--sp-12), calc(50% - var(--max-width) / 2 + var(--sp-12)));
    padding-right: var(--sp-12);
  }
  .hero__stats-bar .container { max-width: none; padding-inline: 0; }
}
.hero__stats {
  display: flex; flex-wrap: nowrap; gap: var(--sp-6);
  align-items: center; justify-content: flex-start;
  padding-top: var(--sp-8);
  border-top: 1px solid var(--clr-cream-300);
}
.hero__stat { display: flex; flex-direction: column; gap: var(--sp-1); }
/* patch-421 (solano fidelity): trust numerals Cormorant 600, small
   sentence-case labels (fw :790-824) */
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 600;
  color: var(--clr-charcoal); line-height: 1;
}
.hero__stat-label {
  font-size: 0.75rem; letter-spacing: 0.02em;
  text-transform: none; color: var(--clr-ink-light); /* fw muted = 4.10:1 on cream-100; ink-light kept for AA */
}
.hero__stat-divider { width: 1px; height: 36px; background: var(--clr-cream-300); }
.hero__scroll-hint {
  position: absolute; bottom: var(--sp-8); right: var(--sp-8);
  display: flex; flex-direction: column; align-items: center;
  gap: var(--sp-3); z-index: 2;
}
.hero__scroll-line {
  display: block; width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--clr-cream-400));
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce { 0%, 100% { transform: scaleY(1); opacity: 0.5; } 50% { transform: scaleY(1.2); opacity: 1; } }
.hero__scroll-text {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--clr-muted); writing-mode: vertical-rl;
}

/* patch-421 (solano fidelity): removed the dead .hero__visual / __visual-frame
   rules (no renderer emits them); the framed portrait is .hero--portrait below. */

/* Hero ticker — hidden in Solano (like Peak/Apex/Arcform) */
.hero__ticker { display: none; }

/* v2 scroll hint — Solano does not opt in (variant hero_scroll_hint false) */
.hero-scroll-hint,
.hero-scroll-hint__label,
.hero-scroll-hint__line { display: none; }

/* Hero photo modifier */
.hero--has-photo { position: relative; }
.hero--has-photo .hero__bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center top;
  z-index: 0;
  opacity: 0.3;
}

/* patch-357 — mobile-only hero focal point: consume --hero-bg-pos-mobile (hero_home photo layer only) */
@media (max-width: 767px) {
  .hero--has-photo .hero__bg::before {
    background-position: var(--hero-bg-pos-mobile, center top);
  }
}
.hero--has-photo .hero__center,
.hero--has-photo .hero__stats-bar { position: relative; z-index: 2; }

/* ============================================================
   HERO — PORTRAIT (v2 variant hero_centered 'portrait')
   patch-421 (solano fidelity): the framework's framed 4:5 portrait with two
   soft accent circles over the double radial wash (fw index.html:170-219,
   styles.css:826-891, 1888-1981). The image is the section's existing
   --hero-bg custom property. .hero--has-photo WITHOUT --portrait keeps
   today's full-bleed 0.3 photo wash above.
   ============================================================ */
/* Suppress the full-bleed photo layer and every overlay/texture */
.hero--portrait .hero__bg::before { content: none; display: none; }
.hero--portrait::before,
.hero--portrait::after,
.hero--portrait .hero__grain,
.hero--portrait .hero__video-overlay { display: none; }

.hero__portrait {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  justify-self: center;
  align-self: center;
  margin: 0 auto var(--sp-12);
}
.hero__portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  opacity: 1;
  background-color: var(--clr-cream-200);
  background-image: var(--hero-bg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: var(--hero-bg-pos, center);
  box-shadow: var(--shadow-lg);
  animation: heroPortraitScaleIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
/* patch-357 mobile focal point carries over to the portrait frame */
@media (max-width: 767px) {
  .hero--portrait .hero__portrait-frame {
    background-position: var(--hero-bg-pos-mobile, var(--hero-bg-pos, center));
  }
}
.hero__portrait-accent {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__portrait-accent--1 {           /* terra 120px, bottom-right */
  width: 120px; height: 120px;
  right: -24px; bottom: -24px;
  background-color: var(--clr-terra-subtle);
}
.hero__portrait-accent--2 {           /* sage 60px, top-left */
  width: 60px; height: 60px;
  left: -16px; top: 24px;
  background-color: rgba(122,158,140,0.18);
}

/* Below 900px: stacked — copy, trust bar, then the portrait (fw order) */
@media (max-width: 899px) {
  .hero--portrait .hero__center     { order: 1; padding-bottom: var(--sp-8); }
  .hero--portrait .hero__stats-bar  { order: 2; margin-top: 0; }
  .hero--portrait .hero__portrait   { order: 3; width: calc(100% - 2 * var(--sp-6)); }
}

/* >=900px: 2-column grid — content left, portrait right */
@media (min-width: 900px) {
  .hero--portrait {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: var(--sp-12);
    padding-inline: max(var(--sp-12), calc((100% - var(--max-width)) / 2 + var(--sp-12)));
  }
  .hero--portrait .hero__center {
    grid-column: 1; grid-row: 1;
    padding: var(--sp-12) 0 var(--sp-8);
    justify-content: flex-start;
  }
  .hero--portrait .hero__stats-bar {
    grid-column: 1; grid-row: 2;
    margin-top: 0;
    padding-left: 0; padding-right: 0;
  }
  .hero--portrait .hero__portrait {
    grid-column: 2; grid-row: 1 / span 2;
    margin: var(--sp-12) auto;
  }
}
@media (min-width: 1280px) {
  .hero--portrait { grid-template-columns: 55% minmax(0, 1fr); }
  .hero--portrait .hero__portrait { max-width: 460px; }
}

/* Trust bar in the half-width column: let text stats (e.g. "Mon–Fri") wrap
   as whole items instead of breaking mid-phrase */
.hero--portrait .hero__stats { flex-wrap: wrap; row-gap: var(--sp-4); }
.hero--portrait .hero__stat-num { font-size: clamp(1.5rem, 2.2vw, 2rem); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .hero__portrait-frame { animation: none; }
}

/* ============================================================
   PAGE HERO — SERVICE / INNER PAGES (LIGHT background)
   ============================================================ */
.page-hero {
  background: var(--clr-cream-200);
  padding-top: calc(var(--nav-height) + var(--sp-20));
  padding-bottom: var(--sp-20);
  position: relative; overflow: hidden; text-align: center;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(122,158,140,0.08), transparent),
    var(--clr-cream-200);
}
/* Mountain decoration hidden in Solano page hero */
.page-hero__mountain { display: none; }

.page-hero__content { position: relative; z-index: 1; }
.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-4);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--clr-eyebrow); /* patch-421: was terra #C2714F = 3.13:1 on cream-200; eyebrow #924E2E AA */ margin-bottom: var(--sp-5);
}
/* No decorative lines flanking eyebrow */
.page-hero__eyebrow::before,
.page-hero__eyebrow::after { display: none; }

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400; /* patch-421: fw hero weight 400 */ color: var(--clr-charcoal); line-height: 1.1; margin-bottom: var(--sp-6);
}
.page-hero__title em { font-style: italic; color: var(--clr-sage-dark); }
.page-hero__desc {
  font-size: 1.125rem; font-weight: 400; color: var(--clr-ink-light); /* patch-421: fw text-md */
  max-width: 56ch; margin-inline: auto; line-height: 1.8; margin-bottom: var(--sp-8);
}
.page-hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: center; }
.page-hero__stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--sp-8); margin-top: var(--sp-14); padding-top: var(--sp-10);
  border-top: 1px solid var(--clr-cream-300); position: relative; z-index: 1;
}
.page-hero__stat { text-align: center; }
.page-hero__stat-num {
  display: block; font-family: var(--font-display);
  font-size: 2rem; font-weight: 300; color: var(--clr-terra); line-height: 1;
}
.page-hero__stat-label {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--clr-muted); margin-top: var(--sp-2); display: block;
}

/* Page hero photo modifier */
.page-hero--has-photo { position: relative; overflow: hidden; }
.page-hero--has-photo::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--page-hero-bg);
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.2;
}
.page-hero--has-photo .container { position: relative; z-index: 1; }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: var(--sp-2); font-size: 0.7rem; letter-spacing: 0.07em;
  color: var(--clr-muted); margin-bottom: var(--sp-7);
}
.breadcrumb a { color: var(--clr-ink-light); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--clr-terra); }
.breadcrumb__sep { color: var(--clr-cream-400); }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
/* patch-421 (solano fidelity): services band is WHITE, cards are cream
   (fw practice-areas :895-962) */
.services { padding-block: var(--sp-20); background: var(--clr-white); }
.services-grid { display: grid; grid-template-columns: repeat(var(--sc-cols), 1fr); gap: var(--sp-4); }
@media (max-width: 639px)  { .services-grid { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 1079px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }

/* patch-421 (solano fidelity): cream card on white, sage hover border + lift.
   Removed the Peak terra ::before bottom sweep (was .service-card::before /
   :hover::before / --featured::before). */
.service-card {
  position: relative; background: var(--clr-cream-100);
  border: 1px solid var(--clr-cream-300);
  border-radius: var(--radius-lg); padding: var(--sp-6);
  display: flex; flex-direction: column; gap: var(--sp-4);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; overflow: hidden;
}
.service-card:hover { border-color: var(--clr-sage); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card--featured { background: var(--clr-charcoal); border-color: var(--clr-charcoal); color: var(--clr-ash); }
.service-card--featured .service-card__title { color: var(--clr-ash); }
.service-card--featured .service-card__desc  { color: var(--clr-muted-dark); /* patch-393 WCAG AA: was var(--clr-muted) #7A7971 -> 3.29:1 on charcoal; var(--clr-muted-dark) #A8A8A1 = 6.01:1 */ }
.service-card--featured .service-card__link  { color: var(--clr-terra-on-dark); /* patch-393 WCAG AA: was var(--clr-terra) #C2714F -> 3.95:1 on charcoal; var(--clr-terra-on-dark) #DE9670 = 5.96:1 */ }
.service-card--featured .service-card__icon  { color: var(--clr-sage-light); }
.service-card__featured-tag {
  align-self: flex-start;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--clr-terra-on-dark);
}
/* patch-421 (solano fidelity): 44px sage-dark OUTLINE icon, no filled tile
   (fw :922-932). The ICONS set is stroke/currentColor. */
.service-card__icon {
  color: var(--clr-sage-dark);
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: flex-start;
  background: none; border-radius: 0; flex-shrink: 0;
  font-size: 1.5rem; line-height: 1;
}
/* service card inline SVG icon sizing (patch-343) — fills the 44px box */
.service-card__icon svg { width: 100%; height: 100%; stroke-width: 1; /* ~1.8px line at 44px, matching the fw 1.5/40 outline */ }
.service-card__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--clr-charcoal); line-height: 1.2; }
.service-card__desc  { font-size: 0.875rem; line-height: 1.7; color: var(--clr-ink-light); flex: 1; }
.service-card__link  {
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0; text-transform: none;
  color: var(--clr-terra-dark); /* fw terra = 3.43:1 on cream-100; terra-dark #A05A3C = 4.92:1 */ text-decoration: none; margin-top: auto;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  transition: color 0.15s ease;
}
.service-card__link:hover { color: var(--clr-eyebrow); text-decoration: underline; }

/* Service card image modifier */
.service-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-3);
  background: var(--clr-cream-200);
}
.service-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.service-card--has-image:hover .service-card__image img { transform: scale(1.04); }

/* patch-392 - service card background-image style (Solano) */
/* Grid-mode service cards in a section set to the background image style.
   The base card is already a clipped flex column, so only the minimum height and
   the bottom alignment are added; the cream border and large radius are kept.
   The charcoal tint is far lighter than the other themes' near-black, so the
   gradient runs deeper (0.88 / 0.60 / 0.35) to hold the text contrast.
   The four-class .services .services-grid prefix (0,4,0) is used for uniformity
   with the other themes; this theme carries no light-mode service rules of its own.
   The desc children get color: inherit so a per-field inline colour set on the
   desc div still wins over them. */
.services .services-grid .service-card--bg-image {
  position: relative;
  overflow: hidden;
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.services .services-grid .service-card--bg-image .service-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}
.services .services-grid .service-card--bg-image:hover .service-card__bg {
  transform: scale(1.04);
}
/* patch-421 (solano fidelity): Solano WARM scrim instead of the 0.88 charcoal
   Peak scrim — sage-dark (deepened toward black so white text keeps >= 4.5:1
   on any photo) at ~0.72 in the text zone, fading to transparent at the top.
   The fallback line is for engines without color-mix(). */
.services .services-grid .service-card--bg-image .service-card__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(43, 63, 54, 0.92) 0%,
    rgba(56, 82, 71, 0.86) 62%,
    rgba(78, 114, 99, 0.40) 86%,
    rgba(78, 114, 99, 0) 100%);
  background: linear-gradient(to top,
    color-mix(in srgb, color-mix(in srgb, var(--clr-sage-dark) 55%, #000) 92%, transparent) 0%,
    color-mix(in srgb, color-mix(in srgb, var(--clr-sage-dark) 72%, #000) 86%, transparent) 62%,
    color-mix(in srgb, var(--clr-sage-dark) 40%, transparent) 86%,
    color-mix(in srgb, var(--clr-sage-dark) 0%, transparent) 100%);
}
/* Text sits at the card bottom, over the deepest scrim stop (the base
   .service-card__desc flex:1 would push the title up onto bright photo). */
.services .services-grid .service-card--bg-image .service-card__desc { flex: 0 0 auto; }
.services .services-grid .service-card--bg-image .service-card__link { margin-top: var(--sp-2); }
.services .services-grid .service-card--bg-image > :not(.service-card__bg) {
  position: relative;
  z-index: 1;
}
.services .services-grid .service-card--bg-image .service-card__title,
.services .services-grid .service-card--bg-image .service-card__desc {
  color: var(--clr-white);
}
.services .services-grid .service-card--bg-image .service-card__title {
  font-family: var(--font-display);
  font-weight: 500;
}
.services .services-grid .service-card--bg-image .service-card__desc p,
.services .services-grid .service-card--bg-image .service-card__desc li {
  color: inherit;
}
/* Neither terra nor sage-light holds AA over the warm scrim, so the link and
   the featured tag are cream on the deepest scrim stop. */
.services .services-grid .service-card--bg-image .service-card__link,
.services .services-grid .service-card--bg-image .service-card__featured-tag {
  color: var(--clr-cream-100);
}
.services .services-grid .service-card--bg-image:hover {
  border-color: var(--clr-sage);
}
.services .services-grid .service-card--bg-image .service-card__icon {
  display: none;
}

/* ============================================================
   PROCESS STEPS — patch-421 (solano fidelity): the Peak charcoal numeral band
   is re-skinned to the framework idiom — a SAND band, cream cards, a sage
   outline step mark. The patch-306/393 dark-band contrast rules are INVERTED
   to light-band equivalents (each re-measured on the cream-100 card).
   ============================================================ */
.process {
  padding-block: var(--sp-20);
  background: var(--clr-cream-200);
  position: relative; overflow: hidden;
}
.process__mountain { display: none; }
.process__inner { position: relative; z-index: 1; }
.process .section-title { color: var(--clr-charcoal); }
.process .section-title em { color: var(--clr-sage-dark); }
.process .section-eyebrow { color: var(--clr-eyebrow); /* patch-421 inverts the dark-band fix (#d68a65 on charcoal): eyebrow #924E2E = 5.13:1 on cream-200 */ }

.process-steps { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); margin-top: var(--sp-12); }
@media (min-width: 768px)  { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .process-steps { grid-template-columns: repeat(3, 1fr); } }

.process-step {
  background: var(--clr-cream-100); border: 1px solid var(--clr-cream-300);
  border-radius: var(--radius-lg); padding: var(--sp-7);
  display: flex; flex-direction: column; gap: var(--sp-4);
  position: relative; overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.process-step:hover { border-color: var(--clr-sage); box-shadow: var(--shadow-md); transform: translateY(-2px); }
/* Sage outline mark (decorative numeral, aria-irrelevant) */
.process-step__number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--clr-sage);
  font-family: var(--font-display); font-style: italic;
  font-size: 1.1rem; font-weight: 500;
  color: var(--clr-sage-dark); color: color-mix(in srgb, var(--clr-sage-dark) 80%, #000); line-height: 1;
  position: static;
}
.process-step__label  { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clr-terra-dark); /* patch-421 inverts patch-393 (was terra-on-dark on charcoal glass): terra-dark #A05A3C = 4.92:1 on cream-100 */ }
.process-step__title  { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--clr-charcoal); line-height: 1.3; max-width: 26ch; }
.process-step__desc   { font-size: 0.875rem; line-height: 1.75; color: var(--clr-ink-light); /* patch-421 inverts patch-306 (was ash on charcoal): ink-light #5A5A58 = 6.52:1 on cream-100 */ }
.process-step__time   { font-size: 0.75rem; letter-spacing: 0.04em; color: var(--clr-ink-light); /* patch-421 inverts patch-393/306 (was muted-dark on charcoal glass): ink-light = 6.52:1 on cream-100 */ margin-top: auto; display: flex; align-items: center; gap: var(--sp-2); }
.process-step__time::before { content: '—'; color: var(--clr-sage-dark); /* decorative dash (glyph ornament) */ }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding-block: var(--sp-20); /* patch-421: fw section rhythm 5rem */ background: var(--clr-cream-100); }
.faq__inner { display: grid; grid-template-columns: 1fr; gap: var(--sp-10); }
@media (min-width: 900px) { .faq__inner { grid-template-columns: 1fr 360px; align-items: start; } }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--clr-cream-300); }
.faq-item__trigger {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); width: 100%; padding: var(--sp-6) 0;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: inherit; transition: color 0.2s ease;
}
.faq-item__trigger:hover { color: var(--clr-terra); }
.faq-item__question { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; color: var(--clr-charcoal); line-height: 1.45; }
.faq-item__icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--clr-terra); transition: transform 0.25s var(--ease-out-expo); }
.faq-item__trigger[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer { padding: 0 var(--sp-7) var(--sp-6); font-size: 0.88rem; line-height: 1.78; color: var(--clr-ink-light); }
.faq-item__answer[hidden] { display: none; }

.faq-aside-card {
  background: var(--clr-charcoal); border-radius: var(--radius-xl);
  padding: var(--sp-8); position: relative; overflow: hidden;
}
.faq-aside-card__inner { position: relative; z-index: 1; }
.faq-aside-card__eyebrow { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clr-terra-on-dark); /* patch-393 WCAG AA: was var(--clr-terra) #C2714F -> 3.95:1 on charcoal; var(--clr-terra-on-dark) #DE9670 = 5.96:1 */ margin-bottom: var(--sp-4); }
.faq-aside-card__title   { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; color: var(--clr-ash); line-height: 1.25; margin-bottom: var(--sp-4); }
.faq-aside-card__body    { font-size: 0.85rem; line-height: 1.75; color: var(--clr-muted-dark); /* patch-393 WCAG AA: was var(--clr-muted) #7A7971 -> 3.29:1 on charcoal; var(--clr-muted-dark) #A8A8A1 = 6.01:1 */ margin-bottom: var(--sp-7); }

/* ============================================================
   FINAL CTA — patch-421 (solano fidelity): 135deg sage-dark → charcoal
   gradient, left-aligned at >=900px, two large low-opacity deco circles,
   white + ghost-white buttons (fw :1414-1483).
   The gradient's sage end is deepened 15% toward black (color-mix) so white /
   cream text keeps >= 4.5:1 at EVERY stop on every palette (desert-bloom's
   sage-dark #A87878 would give white only 3.73:1). The first background line
   is the engine fallback without color-mix().
   The patch-393 muted-dark text rules were written for flat charcoal; on the
   gradient they are re-measured and replaced by cream/white (notes inline).
   ============================================================ */
.final-cta,
.inline-cta {
  background: linear-gradient(135deg, #426154 0%, var(--clr-charcoal) 100%);
  background: linear-gradient(135deg, color-mix(in srgb, var(--clr-sage-dark) 85%, #000) 0%, var(--clr-charcoal) 100%);
  position: relative; overflow: hidden;
}
.final-cta  { padding-block: var(--sp-20); text-align: center; }
.inline-cta { padding-block: var(--sp-16); text-align: center; }
/* Deco circles (fw .cta-deco-circle--1 / --2) — pseudo-elements, no text */
.final-cta::before,
.final-cta::after,
.inline-cta::before,
.inline-cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.final-cta::before,
.inline-cta::before { width: 400px; height: 400px; right: -100px; top: -120px; background-color: var(--clr-sage-light); }
.final-cta::after,
.inline-cta::after  { width: 200px; height: 200px; right: 80px; bottom: -80px; background-color: var(--clr-terra); }
.final-cta__mountain,
.inline-cta__mountain { display: none; }
.final-cta > .container,
.inline-cta > .container { position: relative; z-index: 1; }

.final-cta__content { position: relative; z-index: 1; max-width: 680px; margin-inline: auto; }
.final-cta__title   {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 400;
  color: var(--clr-white); line-height: 1.2; margin-bottom: var(--sp-5);
}
.final-cta__title em { font-style: italic; color: var(--clr-cream-200); /* sage-light fails 3:1 on the sage stop; cream-200 = 5.60:1 (large text) */ }
.final-cta__desc    { font-size: 1.125rem; color: var(--clr-cream-100); /* patch-421 re-measures patch-393 for the gradient: muted-dark #A8A8A1 < 4.5:1 on the sage stop; cream-100 = 6.45:1 (worst light palette 4.68:1) */ line-height: 1.7; margin-bottom: var(--sp-8); max-width: 52ch; margin-inline: auto; }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.final-cta__note    { font-size: 0.75rem; color: var(--clr-cream-100); /* patch-421 re-measures patch-393 for the gradient: cream-100 = 6.45:1 (worst light palette 4.68:1) */ margin-top: var(--sp-5); letter-spacing: 0.04em; }

/* ============================================================
   INLINE CTA — patch-421 (solano fidelity): shares the final-CTA gradient,
   circles and buttons; stays centred (it sits inside article flow).
   ============================================================ */
.inline-cta__content { position: relative; z-index: 1; max-width: 600px; margin-inline: auto; }
.inline-cta__title   {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 400;
  color: var(--clr-white); margin-bottom: var(--sp-4);
}
.inline-cta__title em { font-style: italic; color: var(--clr-cream-200); }
.inline-cta__desc    { font-size: 1rem; color: var(--clr-cream-100); /* patch-421 re-measures patch-393 for the gradient: cream-100 = 6.45:1 (worst light palette 4.68:1) */ line-height: 1.75; margin-bottom: var(--sp-8); }
.inline-cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

/* CTA band eyebrow + buttons (white primary, ghost-white secondary) */
.final-cta .section-eyebrow,
.inline-cta .section-eyebrow { color: var(--clr-cream-100); /* sage-light < 4.5:1 on the sage stop; cream-100 = 6.45:1 (worst light palette 4.68:1) */ }
.final-cta .btn--primary,
.inline-cta .btn--primary {
  background-color: var(--clr-white);
  color: var(--clr-terra-dark); /* fw .btn--white uses terra (3.40:1 on white); terra-dark = 5.22:1 */
  border-color: var(--clr-white);
}
.final-cta .btn--primary:hover,
.inline-cta .btn--primary:hover {
  background-color: var(--clr-cream-100);
  border-color: var(--clr-cream-100);
  box-shadow: 0 4px 16px rgba(255,255,255,0.3);
}
.final-cta .btn--ghost,
.final-cta .btn--outline,
.inline-cta .btn--ghost,
.inline-cta .btn--outline {
  background-color: transparent;
  color: var(--btn-fc, var(--clr-white));
  border-color: rgba(255,255,255,0.5);
}
.final-cta .btn--ghost:hover,
.final-cta .btn--outline:hover,
.inline-cta .btn--ghost:hover,
.inline-cta .btn--outline:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: var(--clr-white);
  color: var(--clr-white);
}
@media (min-width: 900px) {
  .final-cta { text-align: left; }
  .final-cta__content { margin-inline: 0; }
  .final-cta__desc { margin-inline: 0; }
  .final-cta__actions { justify-content: flex-start; }
  .final-cta .section-eyebrow--CTA { justify-content: flex-start; }
}

/* ============================================================
   ABOUT — cream-200 background, sage pillar marks
   ============================================================ */
.about { padding-block: var(--sp-20); background: var(--clr-cream-100); /* patch-421: fw about band is cream (fw :967-969) */ overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-16); align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-16); } }
.about__visual   { position: relative; max-width: 600px; margin: 0 auto; width: 100%; }
/* patch-296 — cap mobile about image height */
@media (max-width: 767px) { .about__img-frame { max-height: 60vh; } }
/* patch-421 (solano fidelity): sand placeholder frame (fw :985-1004); the
   Peak mountain clip-path + silhouette no longer show in Solano. */
.about__img-frame {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4/5; background: var(--clr-cream-200);
  border: 1px solid var(--clr-cream-300);
}
.about__img-mountain,
.about__img-silhouette { display: none; }
.about__img-accent {
  position: absolute; bottom: calc(-1 * var(--sp-6)); right: calc(-1 * var(--sp-6));
  width: 120px; height: 120px; border: 2px solid var(--clr-terra);
  border-radius: var(--radius-lg); transform: translate(24px, 24px);
  z-index: -1; opacity: 0.3;
}
.about__img-frame--has-photo {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5; background: var(--clr-cream-200);
}
.about__photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top; display: block;
}
/* patch-421 (solano fidelity): the charcoal badge sits bottom-RIGHT
   (fw .about-badge :1006-1032) */
.about__credential-card {
  position: absolute; bottom: -16px; right: 16px; left: auto;
  background: var(--clr-charcoal); border: none;
  border-radius: var(--radius-md); padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-md); transform: none; text-align: center;
}
.about__credential-num   { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--clr-white); line-height: 1.1; margin-bottom: 2px; }
.about__credential-label { font-size: 0.75rem; font-weight: 400; letter-spacing: 0.04em; color: var(--clr-ash); /* fw rgba(255,255,255,.65); ash #B8B8B2 = 7.22:1 on charcoal */ text-transform: none; max-width: 16ch; line-height: 1.4; }
.about__body    { font-size: 1rem; line-height: 1.75; color: var(--clr-ink); margin-bottom: var(--sp-5); }
/* patch-421 (solano fidelity): the first body paragraph is the italic
   Cormorant sage-dark LEAD (fw .about-lead :1035-1042) — CSS-only, no field */
.about__body > p:first-child {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  color: var(--clr-sage-dark);
  line-height: 1.5;
  margin-bottom: var(--sp-5);
}
.about__pillars { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4) var(--sp-4); align-items: start; margin: var(--sp-8) 0; }
.about__pillar  { display: contents; }
/* Pillar marks: numerals when a mark is set (sage-dark italic), terra dots
   when the mark is empty (fw .pillar-dot :1064-1071) */
.about__pillar-mark { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; font-weight: 500; color: var(--clr-sage-dark); color: color-mix(in srgb, var(--clr-sage-dark) 80%, #000); min-width: 24px; padding-top: 2px; line-height: 1.3; }
.about__pillar-mark:empty {
  width: 10px; height: 10px; min-width: 10px; padding: 0;
  margin-top: 6px; border-radius: 50%;
  background-color: var(--clr-terra);
}
.about__pillar strong { display: block; font-size: 1rem; font-weight: 600; color: var(--clr-charcoal); margin-bottom: 2px; }
.about__pillar p { font-size: 0.875rem; color: var(--clr-ink-light); line-height: 1.6; margin: 0; }

/* ============================================================
   TESTIMONIALS — cream-100 background, terra stars
   ============================================================ */
/* patch-421 (solano fidelity): testimonials sit on the SAND band with white
   quote-mark cards (fw :1302-1366) */
.testimonials { padding-block: var(--sp-20); background: var(--clr-cream-200); }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); margin-bottom: var(--sp-10); }
@media (min-width: 640px)  { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  position: relative;
  background: var(--clr-white); border: none;
  border-radius: var(--radius-lg); padding: var(--sp-8) var(--sp-6);
  display: flex; flex-direction: column; gap: var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
/* 5rem terra opening quote-mark at 15% (glyph ornament only) */
.testimonial-card::before {
  content: '\201C';
  content: '\201C' / '';
  position: absolute;
  top: var(--sp-4); left: var(--sp-5);
  font-family: var(--font-display);
  font-size: 5rem; line-height: 1;
  color: var(--clr-terra);
  opacity: 0.15;
  pointer-events: none;
}
.testimonial-card--featured { background: var(--clr-charcoal); border-color: var(--clr-charcoal); }
.testimonial-card--featured .testimonial-card__stars    { color: var(--clr-terra); }
.testimonial-card--featured .testimonial-card__quote    { color: var(--clr-ash); }
.testimonial-card--featured .testimonial-card__name     { color: var(--clr-ash); }
.testimonial-card--featured .testimonial-card__location { color: var(--clr-muted-dark); /* patch-393 WCAG AA: was var(--clr-muted) #7A7971 -> 3.29:1 on charcoal; var(--clr-muted-dark) #A8A8A1 = 6.01:1 */ }
.testimonial-card--featured .testimonial-card__avatar   { background: var(--clr-terra-subtle); color: var(--clr-terra-on-dark); /* patch-393 WCAG AA: was var(--clr-terra) #C2714F -> 3.40:1 on terra-subtle over charcoal; var(--clr-terra-on-dark) #DE9670 = 5.13:1 */ border-color: var(--clr-terra-border); }
/* Terra stars */
.testimonial-card__stars   { font-size: 0.95rem; color: var(--clr-terra); letter-spacing: 0.08em; }
.testimonial-card__quote   { position: relative; z-index: 1; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; font-weight: 400; line-height: 1.6; color: var(--clr-charcoal); flex: 1; }
.testimonial-card__author  { display: flex; align-items: center; gap: var(--sp-4); padding-top: var(--sp-5); border-top: 1px solid var(--clr-cream-200); }
.testimonial-card--featured .testimonial-card__author { border-top-color: rgba(255,255,255,0.07); }
.testimonial-card__avatar  {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--clr-cream-300); background: var(--clr-cream-200);
  color: var(--clr-muted); display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; flex-shrink: 0;
}
.testimonial-card__avatar-img {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; object-position: center top; flex-shrink: 0;
  border: 2px solid var(--clr-terra);
}
.testimonial-card__name     { font-style: normal; font-weight: 600; font-size: 0.875rem; color: var(--clr-charcoal); display: block; }
.testimonial-card__location { font-size: 0.75rem; color: var(--clr-ink-light); /* patch-421: muted #7A7971 = 4.35:1 on white; ink-light = 6.92:1 */ letter-spacing: 0.04em; }
.testimonials__footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-4); padding-top: var(--sp-8); border-top: 1px solid var(--clr-cream-300);
}
.testimonials__source { font-size: 0.75rem; color: var(--clr-muted); letter-spacing: 0.04em; }
.testimonials__rating { display: flex; align-items: center; gap: var(--sp-3); }
.testimonials__rating-num   { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; color: var(--clr-charcoal); line-height: 1; }
.testimonials__rating-stars { font-size: 0.9rem; color: var(--clr-terra); letter-spacing: 0.06em; }
.testimonials__rating-count { font-size: 0.78rem; color: var(--clr-muted); }

/* ============================================================
   VALUES — patch-421 (solano fidelity): the Peak charcoal band with italic
   terra numerals is re-skinned to the framework idiom — a WHITE band, cream
   cards, sage OUTLINE marks. The dark-band contrast rules are INVERTED
   (re-measured on the cream-100 card).
   ============================================================ */
.values {
  padding-block: var(--sp-20); background: var(--clr-white);
  position: relative; overflow: hidden;
}
.values__mountain { display: none; }
.values__inner { position: relative; z-index: 1; }
.values .section-title { color: var(--clr-charcoal); }
.values .section-title em { color: var(--clr-sage-dark); }
.values .section-eyebrow { color: var(--clr-eyebrow); /* patch-421 inverts the dark-band fix (#d68a65 on charcoal): eyebrow #924E2E = 6.27:1 on white */ }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); margin-top: var(--sp-12); }
/* patch-305 — values grid: responsive breakpoints matching services-grid */
@media (max-width: 639px)  { .values-grid { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 1079px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }

.value-card {
  background: var(--clr-cream-100); border: 1px solid var(--clr-cream-300);
  border-radius: var(--radius-lg); padding: var(--sp-7);
  display: flex; flex-direction: column; gap: var(--sp-4);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.value-card:hover { border-color: var(--clr-sage); box-shadow: var(--shadow-md); transform: translateY(-2px); }
/* Sage outline mark around the numeral */
.value-card__numeral {
  display: inline-flex; align-items: center; justify-content: center; align-self: flex-start;
  min-width: 44px; height: 44px; padding: 0 var(--sp-2); border-radius: 999px;
  border: 1.5px solid var(--clr-sage);
  font-family: var(--font-display); font-style: italic; font-size: 1.1rem; font-weight: 500;
  color: var(--clr-sage-dark); color: color-mix(in srgb, var(--clr-sage-dark) 80%, #000); line-height: 1;
}
.value-card__numeral:empty { display: none; }
.value-card__title   { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; letter-spacing: 0; color: var(--clr-charcoal); text-transform: none; line-height: 1.25; }
.value-card__desc    { font-size: 0.875rem; line-height: 1.7; color: var(--clr-ink-light); /* patch-421 inverts patch-306 (was ash on charcoal): ink-light = 6.52:1 on cream-100 */ }

/* ============================================================
   SECTION STANDARD
   ============================================================ */
/* patch-421 (solano fidelity): section-standard alternates white and cream
   (fw band rhythm white → cream → white); sibling sections in <main> count. */
.section-standard { padding-block: var(--sp-20); background: var(--clr-white); }
.section-standard:nth-of-type(even) { background: var(--clr-cream-100); }
.section-standard--with-image .section-standard__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
@media (max-width: 767px) {
  .section-standard--with-image .section-standard__grid { grid-template-columns: 1fr; }
}
.section-standard__image img {
  width: 100%; height: 100%; max-height: 480px;
  object-fit: cover; border-radius: var(--radius-lg); display: block;
}
.section-standard__image-placeholder {
  width: 100%; height: 480px;
  background: var(--clr-cream-200); border-radius: var(--radius-lg);
}
.section-standard__body { display: flex; flex-direction: column; gap: var(--sp-5); }

/* ============================================================
   ARTICLE HERO — charcoal dark (content pages need contrast)
   ============================================================ */
.article-hero {
  background: var(--clr-charcoal);
  padding-top: calc(var(--nav-height) + var(--sp-20));
  padding-bottom: 0;
  position: relative; overflow: hidden;
}
.article-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(122,158,140,0.12), transparent),
    var(--clr-charcoal);
}
.article-hero__content {
  position: relative; z-index: 1;
  max-width: 780px; margin-inline: auto;
  padding-bottom: var(--sp-16); text-align: center;
}
/* Terra category badge */
.article-hero__category {
  display: inline-block;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--clr-terra-on-dark); /* patch-393 WCAG AA: was var(--clr-terra) #C2714F -> 3.40:1 on terra-subtle over charcoal; var(--clr-terra-on-dark) #DE9670 = 5.13:1 */ background: var(--clr-terra-subtle);
  border: 1px solid var(--clr-terra-border);
  border-radius: 999px; padding: var(--sp-1) var(--sp-4); margin-bottom: var(--sp-6);
}
.article-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 300;
  color: var(--clr-ash); line-height: 1.15; margin-bottom: var(--sp-8);
}
.article-hero__title em { font-style: italic; color: var(--clr-sage-light); }
.article-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--sp-4); font-size: 0.78rem; color: var(--clr-muted-dark); /* patch-393 WCAG AA: was var(--clr-muted) #7A7971 -> 3.29:1 on charcoal; var(--clr-muted-dark) #A8A8A1 = 6.01:1 */ }
.article-meta__item { display: flex; align-items: center; gap: var(--sp-2); }
.article-meta__item svg { flex-shrink: 0; color: var(--clr-terra); }
.article-meta__sep { width: 3px; height: 3px; border-radius: 50%; background: var(--clr-charcoal-3); flex-shrink: 0; }
.article-hero__image-strip {
  position: relative; max-width: var(--max-width); margin-inline: auto;
  margin-top: var(--sp-12); border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden; aspect-ratio: 21/9; background: var(--clr-charcoal-2);
}

/* Article hero photo modifier */
.article-hero--has-photo { position: relative; overflow: hidden; }
.article-hero--has-photo::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--article-hero-bg);
  background-size: cover;
  background-position: center top;
  z-index: 0;
  opacity: 0.25;
}
.article-hero--has-photo .container { position: relative; z-index: 1; }

/* ============================================================
   ARTICLE LAYOUT
   ============================================================ */
.article-layout { background: var(--clr-cream-100); padding-block: var(--sp-4); }
.article-layout__inner {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-12);
  padding-top: var(--sp-10);
}
@media (min-width: 1024px) { .article-layout__inner { grid-template-columns: 1fr 320px; } }

.article-layout--intro { background: var(--clr-cream-100); padding-block: 0; }
.article-layout--section { background: var(--clr-cream-100); padding-block: 0; }
.article-layout--section:first-of-type { padding-top: var(--sp-10); }
.article-layout--section + .article-layout--section .article-body h2 { margin-top: 0; }

.article-layout--intro .article-body p {
  font-size: 1.1875rem; /* patch-421: intro one step above the 1.125rem article prose */
  line-height: 1.9;
  color: var(--clr-ink);
}

.article-body { min-width: 0; }
/* patch-421 (solano fidelity): article prose held at 1.125rem — intentional
   deviation from the 16px framework body (Joe Cooper is mostly articles). */
.article-body p       { font-size: 1.125rem; line-height: 1.8; color: var(--clr-ink-light); margin-bottom: var(--sp-6); }
.article-body h2      {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400; color: var(--clr-charcoal); line-height: 1.2;
  margin-top: var(--sp-12); margin-bottom: var(--sp-5);
  padding-top: var(--sp-12); border-top: 1px solid var(--clr-cream-300);
}
.article-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.article-body h2 em   { font-style: italic; color: var(--clr-sage-dark); }
.article-body h3      { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--clr-ink); margin-top: var(--sp-8); margin-bottom: var(--sp-3); }
.article-body strong  { color: var(--clr-ink); font-weight: 600; }
.article-body a       { color: var(--clr-terra); text-decoration: underline; text-decoration-thickness: 1px; }
.article-body a:hover { color: var(--clr-terra-dark); }
.article-body ul, .article-body ol { display: flex; flex-direction: column; gap: var(--sp-3); padding-left: 0; margin-bottom: var(--sp-6); list-style: none; }
.article-body ul li, .article-body ol li { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: 1.125rem; line-height: 1.75; color: var(--clr-ink-light); counter-increment: article-list; }
.article-body ul li::before { content: '◈'; color: var(--clr-terra); font-size: 0.65rem; margin-top: 6px; flex-shrink: 0; }
.article-body ol { counter-reset: article-list; }
.article-body ol li::before {
  content: counter(article-list);
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--clr-terra-subtle); border: 1px solid var(--clr-terra-border);
  font-size: 0.65rem; font-weight: 600; color: var(--clr-terra); flex-shrink: 0; margin-top: 2px;
}

.article-pullquote {
  border-left: 3px solid var(--clr-terra);
  padding: var(--sp-6) var(--sp-8); margin: var(--sp-10) 0;
  background: var(--clr-cream-200); border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.article-pullquote p { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.6; color: var(--clr-ink) !important; margin-bottom: 0 !important; }
.article-pullquote cite { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clr-terra); margin-top: var(--sp-4); font-style: normal; }

.article-author {
  display: flex; align-items: flex-start; gap: var(--sp-6);
  background: var(--clr-cream-200); border: 1px solid var(--clr-cream-300);
  border-radius: var(--radius-lg); padding: var(--sp-7); margin-top: var(--sp-12);
}
.article-author__avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--clr-cream-300); flex-shrink: 0;
  overflow: hidden; position: relative;
}
.article-author__avatar-mountain {
  position: absolute; inset: 0;
  background: var(--clr-cream-400);
  clip-path: polygon(0% 100%, 15% 55%, 35% 70%, 55% 35%, 75% 60%, 100% 40%, 100% 100%);
}
.article-author__name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; color: var(--clr-charcoal); margin-bottom: var(--sp-1); }
.article-author__role { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clr-terra); margin-bottom: var(--sp-3); }
.article-author__bio  { font-size: 0.85rem; line-height: 1.7; color: var(--clr-ink-light); }

/* ============================================================
   SIDEBAR TOC
   ============================================================ */
.article-sidebar { display: flex; flex-direction: column; gap: var(--sp-6); }
.sidebar-toc {
  background: var(--clr-white); border: 1px solid var(--clr-cream-300);
  border-radius: var(--radius-lg); padding: var(--sp-7);
  position: sticky; top: calc(var(--nav-height) + var(--sp-6));
}
.sidebar-toc__title { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clr-muted); margin-bottom: var(--sp-5); }
.sidebar-toc__list  { display: flex; flex-direction: column; gap: var(--sp-1); list-style: none; padding: 0; }
.sidebar-toc__item a {
  display: block; font-size: 0.85rem; line-height: 1.5;
  color: var(--clr-ink-light); text-decoration: none;
  padding: var(--sp-2) var(--sp-3); border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}
.sidebar-toc__item a:hover { background: var(--clr-cream-100); color: var(--clr-charcoal); }
.sidebar-toc__item--active a { background: var(--clr-terra-subtle); color: var(--clr-terra); font-weight: 500; }
.article-sidebar.is-fixed { z-index: 10; }
.article-sidebar .article-pullquote { margin: 0 0 var(--sp-6) 0; padding: var(--sp-5) var(--sp-6); }

/* === Article Page Grid (patch-229) === */
.article-page { padding-block: var(--sp-4); background: var(--clr-cream-100); }
.article-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: start;
  padding-top: var(--sp-10);
}
@media (min-width: 1024px) {
  .article-page__grid { grid-template-columns: 1fr 320px; }
}
.article-page__main { min-width: 0; }
.article-intro { margin-bottom: var(--sp-8); }
.article-page .article-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--sp-6));
}
@media (max-width: 1023px) {
  .article-page .article-sidebar { display: none; }
  .article-page__grid { grid-template-columns: 1fr !important; }
}

.sidebar-cta {
  background: var(--clr-charcoal); border-radius: var(--radius-lg);
  padding: var(--sp-7); position: relative; overflow: hidden;
}
.sidebar-cta__inner    { position: relative; z-index: 1; }
.sidebar-cta__eyebrow  { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clr-terra-on-dark); /* patch-393 WCAG AA: was var(--clr-terra) #C2714F -> 3.95:1 on charcoal; var(--clr-terra-on-dark) #DE9670 = 5.96:1 */ margin-bottom: var(--sp-3); }
.sidebar-cta__title    { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; color: var(--clr-ash); line-height: 1.3; margin-bottom: var(--sp-4); }
.sidebar-cta__desc     { font-size: 0.82rem; line-height: 1.7; color: var(--clr-muted-dark); /* patch-393 WCAG AA: was var(--clr-muted) #7A7971 -> 3.29:1 on charcoal; var(--clr-muted-dark) #A8A8A1 = 6.01:1 */ margin-bottom: var(--sp-6); }

/* ============================================================
   BLOG GRID — cream-100 bg, terra category badges
   ============================================================ */
.blog-grid-section { padding-block: var(--sp-20); background: var(--clr-cream-100); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(var(--blog-grid-cols, 3), 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}
@media (max-width: 1023px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px)  { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  display: flex; flex-direction: column;
  background: var(--clr-white); border: 1px solid var(--clr-cream-300);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card--featured { border-color: var(--clr-terra); border-width: 2px; }

.blog-card__image-link { display: block; flex-shrink: 0; }
.blog-card__image { aspect-ratio: 16/9; overflow: hidden; background: var(--clr-cream-200); }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card__image img { transform: scale(1.04); }
.blog-card__image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--clr-cream-200) 0%, var(--clr-cream-300) 100%);
}

.blog-card__body { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-6); flex: 1; }

/* Terra category badge */
.blog-card__category {
  display: inline-block;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--clr-terra); background: var(--clr-terra-subtle);
  border: 1px solid var(--clr-terra-border);
  border-radius: 999px; padding: var(--sp-1) var(--sp-3); width: fit-content;
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 400;
  line-height: 1.35; color: var(--clr-charcoal); flex: 1;
}
.blog-card__title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.blog-card__title a:hover { color: var(--clr-terra); }
.blog-card__excerpt { font-size: 0.88rem; line-height: 1.72; color: var(--clr-ink-light); }
.blog-card__meta {
  display: flex; align-items: center; gap: var(--sp-4);
  font-size: 0.72rem; color: var(--clr-muted);
  margin-top: auto; padding-top: var(--sp-4);
  border-top: 1px solid var(--clr-cream-300);
}
.blog-card__author::before { content: "By "; opacity: 0.6; }
.blog-card__link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--clr-terra); text-decoration: none; transition: gap 0.2s;
}
.blog-card__link:hover { gap: var(--sp-4); }
.blog-grid__empty {
  text-align: center; padding: var(--sp-12); color: var(--clr-muted);
  font-style: italic; grid-column: 1 / -1;
}
.blog-grid__footer { display: flex; justify-content: center; margin-top: var(--sp-10); }

/* blog-grid load-more (patch-397) */
.blog-grid-section .blog-grid .blog-card.blog-card--collapsed { display: none !important; }
.blog-grid-section .blog-load-more { display: flex; justify-content: center; margin-top: var(--sp-10); }
.blog-grid-section .blog-load-more[hidden] { display: none !important; }

/* ============================================================
   LOCATIONS MEGA PANEL
   ============================================================ */
.mega-menu__inner--locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2px;
  padding: 0;
  width: 100%;
}

/* patch-421 (solano fidelity): locations mega panel on the WHITE mega menu —
   the patch-393 dark-panel rules below are inverted (re-measured on white and
   on the terra-subtle-over-white hover surface). */
.loc-card {
  display: block; text-decoration: none;
  padding: 28px 22px 32px;
  border: 1px solid var(--clr-cream-200);
  position: relative; overflow: hidden;
  transition: background 0.2s, border-color 0.2s;
}
.loc-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: var(--clr-terra);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s;
}
.loc-card:hover { background: var(--clr-cream-100); border-color: var(--clr-terra-border); } /* patch-421: cream hover keeps terra-dark text AA on every light palette */
.loc-card:hover::after { transform: scaleX(1); }

.loc-card__name {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 500;
  color: var(--clr-charcoal); line-height: 1.2; margin: 0 0 4px 0; /* patch-421 inverts (was ash on charcoal) */
}
.loc-card__address {
  font-style: normal; font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--clr-terra-dark); /* patch-421 inverts patch-393 (was terra-on-dark on charcoal): terra-dark #A05A3C = 5.22:1 on white, 4.92:1 on the cream-100 hover */ margin: 0 0 14px 0; line-height: 1.5;
}
.loc-card__hours {
  font-size: 12px; line-height: 1.6;
  color: var(--clr-ink-light); /* patch-421 inverts patch-393 (was muted-dark on charcoal): ink-light #5A5A58 = 6.91:1 on white, 6.52:1 on the cream-100 hover */ font-weight: 400; margin: 0 0 14px 0;
}
.loc-card__links { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.loc-card__link {
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none;
  color: var(--clr-sage-dark); color: color-mix(in srgb, var(--clr-sage-dark) 80%, #000); /* patch-421 inverts (was sage-light on charcoal): sage-dark deepened 20% so small text holds AA on every light palette */ transition: color 0.15s; line-height: 1.4;
}
.loc-card__link:hover { color: var(--clr-charcoal); }

/* ============================================================
   LOCATION COMPONENTS
   ============================================================ */
@keyframes loc-pin-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.8); opacity: 0.4; }
}

/* ── Location Grid — charcoal dark bg (matches other themes) ── */
.location-grid-section {
  padding-block: var(--sp-20); /* patch-421: fw section rhythm 5rem */
  background: var(--clr-charcoal);
}
.location-grid-header { max-width: 560px; margin-bottom: var(--sp-12); }
.location-grid-header .section-title     { color: var(--clr-ash); }
.location-grid-header .section-title em  { color: var(--clr-terra); }

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
}
@media (max-width: 1023px) { .locations-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width:  767px) { .locations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width:  479px) { .locations-grid { grid-template-columns: 1fr; } }

.location-card {
  background: var(--clr-charcoal-2);
  padding: 40px 28px;
  display: flex; flex-direction: column; gap: var(--sp-3);
  border-top: 2px solid transparent;
  transition: border-top-color 0.3s var(--ease-out-expo), background 0.2s;
}
.location-card:hover { border-top-color: var(--clr-terra); background: var(--clr-charcoal-2); /* patch-393 WCAG AA: hover surface was var(--clr-charcoal-3) #4A4A48, on which no muted grey reaches 4.5:1 (muted-dark 3.71, ash 4.46). Hover keeps the card surface; the terra top border above is the hover affordance. */ }

.location-card__city {
  font-family: var(--font-display); font-size: 1.35rem;
  font-weight: 300; color: var(--clr-ash); line-height: 1.3;
}
.location-card__state {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--clr-terra-on-dark); /* patch-393 WCAG AA: was var(--clr-terra) #C2714F -> 3.13:1 on charcoal-2; var(--clr-terra-on-dark) #DE9670 = 4.72:1 */ font-weight: 500;
}
.location-card__addr  { font-size: 13px; color: var(--clr-muted-dark); /* patch-393 WCAG AA: was var(--clr-muted) #7A7971 -> 2.61:1 on charcoal-2; var(--clr-muted-dark) #A8A8A1 = 4.77:1 */ line-height: 1.6; }
.location-card__phone,
.location-card__email { font-size: 12px; }
.location-card__phone a,
.location-card__email a { color: var(--clr-terra-on-dark); /* patch-393 WCAG AA: was var(--clr-terra) #C2714F -> 3.13:1 on charcoal-2; var(--clr-terra-on-dark) #DE9670 = 4.72:1 */ text-decoration: none; transition: color 0.15s; }
.location-card__phone a:hover,
.location-card__email a:hover { color: var(--clr-sage-light); }
.location-card__hours { font-size: 11px; color: var(--clr-muted-dark); /* patch-393 WCAG AA: was var(--clr-muted) #7A7971 -> 2.61:1 on charcoal-2; var(--clr-muted-dark) #A8A8A1 = 4.77:1 */ line-height: 1.6; }
.location-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto; padding-top: var(--sp-4);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--clr-terra-on-dark); /* patch-393 WCAG AA: was var(--clr-terra) #C2714F -> 3.13:1 on charcoal-2; var(--clr-terra-on-dark) #DE9670 = 4.72:1 */ text-decoration: none;
  transition: gap 0.2s var(--ease-out-expo), color 0.15s;
}
.location-card__link:hover { gap: 14px; color: var(--clr-sage-light); }

/* ── Location Single — cream-200 bg ─── */
.location-single-section {
  padding-block: var(--sp-20); /* patch-421: fw section rhythm 5rem */
  background: var(--clr-cream-200);
}
.location-single__inner {
  width: 100%; max-width: var(--max-width);
  margin-inline: auto; padding-inline: var(--sp-6);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-20); align-items: start;
}
@media (min-width: 1080px) { .location-single__inner { padding-inline: var(--sp-12); } }

.location-single__content { display: flex; flex-direction: column; gap: var(--sp-6); }
.location-single__desc    { font-size: 1.25rem; line-height: 1.75; color: var(--clr-ink-light); }
.location-single__info    { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--sp-8); }
.location-info-item  { display: flex; flex-direction: column; gap: var(--sp-2); }
.location-info__label {
  font-family: var(--font-body); font-size: 9px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--clr-terra);
}
.location-info__value {
  font-family: var(--font-display); font-size: 1.25rem;
  font-weight: 300; line-height: 1.55; color: var(--clr-ink);
}
.location-info__value a { color: var(--clr-ink); text-decoration: none; transition: color 0.15s; }
.location-info__value a:hover { color: var(--clr-terra); }

.location-single__map {
  position: relative; height: 500px; overflow: hidden;
  background: var(--clr-cream-300); border-radius: var(--radius-md);
}
.loc-single__map-embed { width: 100%; height: 100%; overflow: hidden; }
.loc-single__map-embed iframe { display: block; width: 100%; height: 100%; border: none; }
.loc-single__map-placeholder {
  position: absolute; inset: 0;
  background: var(--clr-cream-200);
  display: flex; align-items: center; justify-content: center;
}
.loc-map__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(194,113,79,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(194,113,79,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}
.loc-map__pin { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); }
.loc-map__pin-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--clr-terra);
  animation: loc-pin-pulse 2s ease-in-out infinite;
}
.loc-map__pin-label {
  font-family: var(--font-body); font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--clr-ash);
  background: rgba(42,42,40,0.9);
  padding: var(--sp-2) var(--sp-4); border-radius: var(--radius-sm); white-space: nowrap;
}

@media (max-width: 1023px) {
  .location-single__inner { grid-template-columns: 1fr; }
  .location-single__map   { height: 360px; }
}
@media (max-width: 479px) {
  .location-single__map  { height: 280px; }
  .location-single__info { grid-template-columns: 1fr; }
}

/* ============================================================
   EMAIL FORM — LIGHT cream-200 background (unique to Solano)
   ============================================================ */
.email-form {
  background: var(--clr-cream-200);
  border-top: 1px solid var(--clr-cream-300);
  padding-block: var(--sp-20); /* patch-421: fw section rhythm 5rem */
}
.email-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}
@media (min-width: 900px) {
  .email-form__grid { grid-template-columns: 1fr 1.5fr; align-items: start; }
}

.email-form__block {
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--clr-cream-300);
}
.email-form__block:last-child { border-bottom: none; margin-bottom: 0; }

.email-form__block-title {
  font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--clr-terra); margin-bottom: var(--sp-2);
}
.email-form__block-value {
  font-family: var(--font-body); font-size: 1.25rem; font-weight: 400;
  color: var(--clr-ink); line-height: 1.6; display: block;
  transition: color 150ms ease;
}
.email-form__block-value--large {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 400;
  color: var(--clr-charcoal); letter-spacing: 0.02em; line-height: 1.3;
}
a.email-form__block-value:hover { color: var(--clr-terra); }

/* Form wrap: white bg, terra top border */
.email-form__form-wrap {
  background: var(--clr-white);
  padding: var(--sp-10);
  border-top: 3px solid var(--clr-terra);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.email-form__form-title {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 400;
  color: var(--clr-charcoal); margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-6); border-bottom: 1px solid var(--clr-cream-300);
  letter-spacing: 0.02em;
}
.email-form__placeholder {
  border: 2px dashed var(--clr-cream-300);
  min-height: 200px; display: flex; align-items: center; justify-content: center;
  color: var(--clr-muted); font-family: var(--font-body); font-size: 0.875rem;
  text-align: center; padding: var(--sp-8);
}

@media (max-width: 899px) { .email-form__form-wrap { padding: var(--sp-8); } }

/* ============================================================
   FOOTER — charcoal dark, terra accents
   ============================================================ */
.site-footer { background: var(--clr-charcoal); color: var(--clr-ash); padding-top: var(--sp-16); }
.footer__grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-10);
  padding-bottom: var(--sp-12); border-bottom: 1px solid rgba(255,255,255,0.07);
}
/* patch-421 (solano fidelity): framework footer proportions — brand 1.5fr,
   then three equal nav columns (1.5fr 1fr 1fr 1fr; fw :1694-1840). The markup
   is brand + one <nav>, so the nav takes 3fr and splits into equal columns. */
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.5fr 3fr; gap: var(--sp-12); } }

.footer__logo {
  display: flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 500;
  color: var(--clr-cream-200); text-decoration: none; margin-bottom: var(--sp-4);
}
/* v2 lockup in the footer (nav → footer class swap keeps the inner classes) */
.footer__logo .nav-logo__name { color: var(--clr-cream-200); /* 11.78:1 on charcoal */ }
.footer__logo .nav-logo__sub  { color: var(--clr-muted-dark); /* #A8A8A1 = 6.01:1 on charcoal */ }
/* Terra tile in the footer. The theme-neutral fallback (no logo HTML) used to
   draw the Peak mountain triangle: the SVG is hidden and a ◆ ornament shows. */
.footer__logo-mark {
  color: var(--clr-white);
  background: var(--clr-terra);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  font-size: 0.8rem; line-height: 1;
}
.footer__logo-mark svg { display: none; }
.footer__logo-mark::before { content: '\25C6'; content: '\25C6' / ''; }
.footer__tagline   { font-size: 0.85rem; color: #979791; /* WCAG AA fix: was muted #7A7971 → 3.29:1 on charcoal; #979791 = 4.90:1 */ line-height: 1.7; max-width: 26ch; margin-bottom: var(--sp-6); }
.footer__socials   { display: flex; gap: var(--sp-3); }
.footer__social-link {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm);
  color: var(--clr-muted-dark); /* patch-393 WCAG AA: was var(--clr-muted) #7A7971 -> 3.29:1 on charcoal; var(--clr-muted-dark) #A8A8A1 = 6.01:1 */ text-decoration: none; transition: all 0.2s ease;
}
.footer__social-link:hover { border-color: var(--clr-terra); color: var(--clr-terra-on-dark); /* patch-393 WCAG AA: was var(--clr-terra) #C2714F -> 3.95:1 on charcoal; var(--clr-terra-on-dark) #DE9670 = 5.96:1 */ }

.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
@media (min-width: 640px) { .footer__nav { grid-template-columns: repeat(3, 1fr); } }
/* patch-421 (solano fidelity): fw terra column heads (fw :1752-1760). The
   earlier grey WCAG fix (#939390, 4.67:1) is kept as the intent; terra #C2714F
   is 3.95:1 on charcoal, so the patch-393 terra-on-dark #DE9670 (5.96:1) is used. */
.footer__nav-heading { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clr-terra-on-dark); margin-bottom: var(--sp-5); }
.footer__nav-col ul  { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__nav-col a   { font-size: 0.85rem; color: #979791; /* WCAG AA fix: was muted #7A7971 → 3.29:1 on charcoal; #979791 = 4.90:1 */ text-decoration: none; transition: color 0.2s ease; letter-spacing: 0.02em; }
.footer__nav-col a:hover { color: var(--clr-ash); }
.footer__address { font-size: 0.85rem; color: #979791; /* WCAG AA fix: was muted #7A7971 → 3.29:1 on charcoal; #979791 = 4.90:1 */ line-height: 1.7; margin-bottom: var(--sp-3); }
.footer__phone   { font-size: 0.85rem; color: #979791; /* WCAG AA fix: was muted → 3.29:1 on charcoal; #979791 = 4.90:1 */ text-decoration: none; transition: color 0.2s ease; letter-spacing: 0.04em; }
.footer__phone:hover { color: var(--clr-terra-on-dark); /* patch-393 WCAG AA: was var(--clr-terra) #C2714F -> 3.95:1 on charcoal; var(--clr-terra-on-dark) #DE9670 = 5.96:1 */ }
.footer__bottom  { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4); padding-block: var(--sp-6); }
.footer__copy    { font-size: 0.78rem; color: #939390; /* WCAG AA fix: was charcoal-3 #4A4A48 → 1.62:1 on charcoal; #939390 = 4.67:1 */ }
.footer__legal   { display: flex; gap: var(--sp-5); }
.footer__legal a { font-size: 0.78rem; color: #939390; /* WCAG AA fix: was charcoal-3 → 1.62:1 on charcoal; #939390 = 4.67:1 */ text-decoration: none; transition: color 0.2s ease; }
.footer__legal a:hover { color: var(--clr-muted-dark); /* patch-393 WCAG AA: was var(--clr-muted) #7A7971 -> 3.29:1 on charcoal; var(--clr-muted-dark) #A8A8A1 = 6.01:1 */ }

/* ============================================================
   READING PROGRESS BAR
   ============================================================ */
.reading-progress {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  height: 2px;
  background: var(--clr-cream-300);
  z-index: 999;
  pointer-events: none;
}
.reading-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--clr-terra), var(--clr-terra-dark));
  width: 0%;
  transition: width 0.1s linear;
}

/* ============================================================
   ARTICLE MISC — tags, nav, stat, takeaways
   ============================================================ */

/* Article tags */
.article-tags {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: var(--sp-2); margin-top: var(--sp-8);
  padding-top: var(--sp-6); border-top: 1px solid var(--clr-cream-300);
}
.article-tags__label {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--clr-muted); margin-right: var(--sp-2);
}
.article-tag {
  font-size: 0.72rem; font-weight: 500; color: var(--clr-ink-light);
  background: var(--clr-cream-200); border: 1px solid var(--clr-cream-300);
  border-radius: 999px; padding: var(--sp-1) var(--sp-4);
  text-decoration: none; transition: all 0.15s ease;
}
.article-tag:hover {
  background: var(--clr-terra-subtle); border-color: var(--clr-terra-border);
  color: var(--clr-terra);
}

/* Article nav (prev/next) */
.article-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4);
  margin-top: var(--sp-12); padding-top: var(--sp-8);
  border-top: 1px solid var(--clr-cream-300);
}
.article-nav__item {
  background: var(--clr-cream-200); border: 1px solid var(--clr-cream-300);
  border-radius: var(--radius-md); padding: var(--sp-5) var(--sp-6);
  text-decoration: none; display: flex; flex-direction: column; gap: var(--sp-1);
  transition: all 0.2s ease;
}
.article-nav__item:hover { background: var(--clr-white); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.article-nav__item--next { text-align: right; }
.article-nav__dir {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--clr-terra);
  display: flex; align-items: center; gap: var(--sp-2);
}
.article-nav__item--next .article-nav__dir { justify-content: flex-end; }
.article-nav__title {
  font-family: var(--font-display); font-size: 0.95rem;
  font-weight: 400; color: var(--clr-ink); line-height: 1.35;
}

/* Key takeaways */
.article-takeaways {
  background: linear-gradient(135deg, var(--clr-cream-200), var(--clr-white));
  border: 1px solid var(--clr-cream-300);
  border-left: 3px solid var(--clr-terra);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--sp-7) var(--sp-8); margin: var(--sp-8) 0;
}
.article-takeaways__label {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--clr-terra);
  margin-bottom: var(--sp-4); display: flex; align-items: center; gap: var(--sp-2);
}
.article-takeaways__label::before { content: '◈'; font-size: 0.6rem; }
.article-takeaways ul {
  display: flex; flex-direction: column; gap: var(--sp-3);
  list-style: none; padding: 0; margin: 0;
}
.article-takeaways ul li {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  font-size: 0.9rem; line-height: 1.7; color: var(--clr-ink); font-weight: 400;
}
.article-takeaways ul li::before {
  content: '◈'; color: var(--clr-terra); font-size: 0.6rem; margin-top: 5px; flex-shrink: 0;
}

/* Article stat row */
.article-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--sp-4); margin: var(--sp-8) 0;
}
.article-stat {
  text-align: center; padding: var(--sp-5);
  background: var(--clr-charcoal); border-radius: var(--radius-md);
  display: flex; flex-direction: column; gap: var(--sp-2);
}
.article-stat__num {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 300;
  color: var(--clr-terra); line-height: 1;
}
.article-stat__label {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--clr-muted-dark); /* patch-393 WCAG AA: was var(--clr-muted) #7A7971 -> 3.29:1 on charcoal; var(--clr-muted-dark) #A8A8A1 = 6.01:1 */
}

/* ============================================================
   CDN IMAGE SUPPORT — modifier classes
   ============================================================ */

/* ── Section Standard — image + text grid ─────────────────── */
.section-standard--with-image .section-standard__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-16); align-items: center;
}
@media (max-width: 767px) {
  .section-standard--with-image .section-standard__grid { grid-template-columns: 1fr; }
}
.section-standard__image img {
  width: 100%; height: 100%; max-height: 480px;
  object-fit: cover; border-radius: var(--radius-lg); display: block;
}
.section-standard__image-placeholder {
  width: 100%; height: 480px;
  background: var(--clr-cream-200); border-radius: var(--radius-lg);
}

/* ── Hero page photo modifier (already declared above, keeping for completeness) ── */

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1023px) {
  .article-sidebar { display: none; }
  .article-layout__inner { grid-template-columns: 1fr !important; }
  .article-layout { padding-block: var(--sp-12); }
}

@media (max-width: 767px) {
  .article-hero__content { padding-bottom: var(--sp-10); }
  .article-author { flex-direction: column; align-items: flex-start; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav__item--next { text-align: left; }
  .article-nav__item--next .article-nav__dir { justify-content: flex-start; }
  .hero__center { padding: var(--sp-16) var(--sp-6) var(--sp-12); }
}

@media (max-width: 479px) {
  .location-single__map  { height: 280px; }
  .location-single__info { grid-template-columns: 1fr; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .hero__scroll-hint { display: none; }
  .hero { min-height: auto; padding-top: var(--sp-8); }
}

/* ============================================================
   HERO SPLIT (TWO COLUMN)
   ============================================================ */
@keyframes heroSplitFadeUp {
  from { transform: translateY(20px); }
  to   { transform: translateY(0); }
}
@keyframes heroSplitFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroSplitScaleIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}
.hero-split {
  position: relative;
  min-height: 100svh;
  padding-top: var(--nav-height);
  background: var(--clr-cream-100);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-split__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 75% 55%, rgba(122,158,140,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 85%, rgba(194,113,79,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero-split .container {
  position: relative;
  z-index: 1;
  padding-block: var(--sp-20);
}
.hero-split__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-split__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }
}
/* patch-421 (solano fidelity): terra kicker 600 / 0.16em (fw :751-758) */
.hero-split__badge {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-eyebrow);
  margin-bottom: var(--sp-4);
}
.hero-split__badge-line {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--clr-terra);
  opacity: 0.5;
}
.hero-split__heading {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 400; /* patch-421: fw hero weight 400 */
  line-height: 1.1;
  color: var(--clr-charcoal);
  margin-bottom: var(--sp-6);
}
.hero-split__heading-top { display: block; }
.hero-split__heading-mid { display: block; }
/* patch-421 (solano fidelity): the split accent italic is sage-dark (fw :769-772) */
.hero-split__heading-accent {
  display: block;
  font-style: italic;
  color: var(--clr-sage-dark);
}
.hero-split__subtext {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--clr-ink-light);
  max-width: 48ch;
  margin-bottom: var(--sp-8);
}
.hero-split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}
.hero-split__stats {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--sp-6);
  align-items: center;
  padding-top: var(--sp-8);
  border-top: 1px solid var(--clr-cream-300);
}
.hero-split__stat { display: flex; flex-direction: column; gap: var(--sp-1); }
.hero-split__stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600; /* patch-421: fw trust numerals 600 */
  color: var(--clr-charcoal);
  line-height: 1;
}
.hero-split__stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--clr-ink-light);
}
.hero-split__stat-divider {
  width: 1px;
  height: 36px;
  background: var(--clr-cream-300);
}
.hero-split__media { display: flex; justify-content: center; }
.hero-split__img-frame { position: relative; width: 100%; max-width: 380px; }
@media (min-width: 1280px) { .hero-split__img-frame { max-width: 460px; } }
.hero-split__img-inner {
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  background: var(--clr-cream-200);
  overflow: hidden;
}
.hero-split--has-photo .hero-split__img-inner {
  background-image: var(--hero-split-img);
  background-size: cover;
  background-position: center top;
}
.hero-split__accent { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-split__accent--1 {
  width: 120px;
  height: 120px;
  bottom: -24px;   /* patch-421: fw .hero-image-accent--1 (fw :875-881) */
  right: -24px;
  background: var(--clr-terra-subtle);
}
.hero-split__accent--2 {
  width: 60px;     /* patch-421: fw .hero-image-accent--2 (fw :883-889) */
  height: 60px;
  top: 24px;
  left: -16px;
  background: rgba(122,158,140,0.18);
}
.hero-split__animate {
  opacity: 1;
  animation: heroSplitFadeUp 0.9s var(--ease-out-expo) both;
}
.hero-split__animate--1 { animation-delay: 0.10s; }
.hero-split__animate--2 { animation-delay: 0.25s; }
.hero-split__animate--3 { animation-delay: 0.40s; }
.hero-split__animate--4 { animation-delay: 0.55s; }
.hero-split__animate--5 { animation: heroSplitFadeIn 0.8s ease both; animation-delay: 0.70s; }
.hero-split__animate--media { animation: heroSplitScaleIn 1s var(--ease-out-expo) both; animation-delay: 0.20s; }
/* patch-421 (solano fidelity): below 1024px the portrait stays visible,
   stacked under the copy at max-width 380px (fw :826-835) — was display:none */
@media (max-width: 1023px) {
  .hero-split__media { display: flex; justify-content: center; }
  .hero-split__img-frame { max-width: 380px; }
}
@media print { .hero-split { min-height: auto; } }

/* ── Section text color override ─────────────────────── */
.section-text--light,
.section-text--light p, .section-text--light li,
.section-text--light h1, .section-text--light h2, .section-text--light h3,
.section-text--light h4, .section-text--light h5, .section-text--light h6,
.section-text--light span, .section-text--light a, .section-text--light blockquote {
  color: #FAF8F4 !important;
}
.section-text--dark,
.section-text--dark p, .section-text--dark li,
.section-text--dark h1, .section-text--dark h2, .section-text--dark h3,
.section-text--dark h4, .section-text--dark h5, .section-text--dark h6,
.section-text--dark span, .section-text--dark a, .section-text--dark blockquote {
  color: #2D2A24 !important;
}

@media (max-width: 1023px) {
  .mega-menu__col--cta { display: none; }
}

/* ── Text scale utilities ─────────────────────────────── */
.text--light,
.text--light h1, .text--light h2, .text--light h3,
.text--light h4, .text--light h5, .text--light h6,
.text--light p, .text--light li, .text--light span,
.text--light a, .text--light blockquote { color: var(--clr-cream-100); }
.text--muted,
.text--muted h1, .text--muted h2, .text--muted h3,
.text--muted h4, .text--muted h5, .text--muted h6,
.text--muted p, .text--muted li, .text--muted span,
.text--muted a, .text--muted blockquote { color: var(--clr-muted); }
.text--dark,
.text--dark h1, .text--dark h2, .text--dark h3,
.text--dark h4, .text--dark h5, .text--dark h6,
.text--dark p, .text--dark li, .text--dark span,
.text--dark a, .text--dark blockquote { color: var(--clr-charcoal); }

/* ── Button variants ──────────────────────────────────── */
.btn--primary-light {
  background-color: var(--clr-terra-dark);
  color: var(--clr-white);
  border-color: var(--clr-terra); /* patch-421: width from the 2px .btn base */
}
.btn--primary-light:hover {
  background-color: var(--clr-terra-dark);
  border-color: var(--clr-terra-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--primary-dark {
  background-color: var(--clr-cream-100);
  color: var(--clr-charcoal);
  border-color: var(--clr-cream-100); /* patch-421: width from the 2px .btn base */
}
.btn--primary-dark:hover {
  background-color: var(--clr-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost-dark {
  background-color: transparent;
  color: var(--clr-ink);
  border-color: var(--clr-terra-dark); /* patch-421: width from the 2px .btn base */
}
.btn--ghost-dark:hover {
  background-color: var(--clr-charcoal-3);
  border-color: rgba(255,255,255,0.6);
  color: var(--clr-white);
}
.btn--outline-light {
  background-color: transparent;
  color: var(--clr-ink);
  border-color: var(--clr-cream-300); /* patch-421: width from the 2px .btn base */
}
.btn--outline-light:hover {
  border-color: var(--clr-ink);
  background-color: var(--clr-cream-200);
}
.btn--outline-dark {
  background-color: transparent;
  color: var(--clr-terra-dark);
  border-color: rgba(255,255,255,0.35); /* patch-421: width from the 2px .btn base */
}
.btn--outline-dark:hover {
  background-color: var(--clr-terra-dark);
  border-color: rgba(255,255,255,0.6);
  color: var(--clr-white);
}

/* ── Smooth Scroll Wrapper ──
   patch-421 (solano fidelity): native scroll (theme.js MOTION.smoothScroll
   false, as in the framework). The wrapper is STATIC here so there is no
   fixed-wrapper flash before JS runs; theme.js pins it only if the lerp
   scroller is switched back on. */
#smooth-wrapper {
  position: static;
  overflow: visible;
  height: auto;
  width: 100%;
}
#smooth-content {
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  html, body { overflow: auto; height: auto; }
  #smooth-wrapper { position: static; overflow: auto; height: auto; }
  #smooth-content { will-change: auto; transform: none !important; }
}

/* video-highlight component */
.video-highlight {
  padding-block: var(--sp-20);
  background: var(--clr-cream-200);
}
.video-highlight--stacked .section-header--centered {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}
.video-highlight--side-by-side .video-highlight__grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: var(--sp-12);
  align-items: center;
}
.video-highlight__video-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-cream-300);
}
.video-highlight__video {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}
@media (max-width: 1023px) {
  .video-highlight--side-by-side .video-highlight__grid {
    grid-template-columns: 1fr;
  }
}

/* text-override eyebrow exemption */
.text--light .section-eyebrow,
.text--muted .section-eyebrow,
.text--dark  .section-eyebrow { color: var(--clr-eyebrow); }

/* media-gallery component */
.media-gallery {
  padding-block: var(--sp-20);
  background: var(--clr-cream-200);
}
.media-gallery .section-header {
  text-align: center;
  margin-bottom: var(--sp-10);
}
.media-gallery__grid {
  display: grid;
  grid-template-columns: repeat(var(--mg-cols), 1fr);
  grid-auto-rows: 1fr;
  gap: var(--sp-3);
}
.media-gallery__item {
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
}
.media-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* blog-filter component */
.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
  justify-content: center;
}
.blog-filter-pill {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 1px solid var(--clr-terra-border);
  background: transparent;
  color: var(--clr-muted);
  cursor: pointer;
  transition: all 200ms var(--ease-in-out);
}
.blog-filter-pill:hover {
  border-color: var(--clr-terra);
  color: var(--clr-terra);
}
.blog-filter-pill--active {
  background: var(--clr-terra-subtle);
  border-color: var(--clr-terra);
  color: var(--clr-terra);
}

/* ── Video Reel Row ─────────────────────────────────────── */
.video-reel-row {
  padding: var(--sp-20) 0;
  background: var(--clr-cream-100);
}

.video-reel-row__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
}

/* Layout reversal */
.video-reel-row--content-right .video-reel-row__inner {
  flex-direction: row-reverse;
}

/* Content side */
.video-reel-row__content {
  flex: 1;
  min-width: 0;
}

.video-reel-row__body {
  color: var(--clr-muted);
  margin: var(--sp-4) 0 var(--sp-8);
  line-height: 1.7;
}

.video-reel-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

/* Carousel side */
.video-reel-row__carousel-wrap {
  flex: 0 0 45%;
  min-width: 0;
}

.video-reel-row__carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.video-reel-row__track {
  display: flex;
  transition: transform 0.4s var(--ease-out-expo);
  cursor: grab;
  user-select: none;
}

.video-reel-row__track:active {
  cursor: grabbing;
}

/* Each slide is 88% wide — peek of 12% from next slide */
.video-reel-row__slide {
  flex: 0 0 88%;
  margin-right: 4%;
  position: relative;
}

/* Vertical video aspect ratio — 9:16 */
.video-reel-row__video-frame {
  position: relative;
  padding-bottom: 177.78%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--clr-charcoal);
}

.video-reel-row__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-reel-row__caption {
  margin-top: var(--sp-2);
  font-size: 0.8rem;
  color: var(--clr-muted);
  text-align: center;
}

/* Arrows */
.video-reel-row__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: var(--clr-white);
  border: 1px solid var(--clr-cream-300);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--clr-ink);
  transition: background 0.2s, color 0.2s;
}

.video-reel-row__arrow:hover {
  background: var(--clr-terra);
  color: var(--clr-white);
  border-color: var(--clr-terra);
}

.video-reel-row__arrow--prev { left: var(--sp-2); }
.video-reel-row__arrow--next { right: var(--sp-2); }

.video-reel-row__arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* Dots */
.video-reel-row__dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.video-reel-row__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--clr-cream-300);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.video-reel-row__dot--active {
  background: var(--clr-terra);
  transform: scale(1.3);
}

/* Mobile */
@media (max-width: 1023px) {
  .video-reel-row__inner {
    flex-direction: column;
  }
  .video-reel-row--content-right .video-reel-row__inner {
    flex-direction: column;
  }
  .video-reel-row__carousel-wrap {
    flex: 0 0 100%;
    width: 100%;
  }
  .video-reel-row__slide {
    flex: 0 0 80%;
  }
}

/* Reduced motion — disable track transition */
@media (prefers-reduced-motion: reduce) {
  .video-reel-row__track {
    transition: none;
  }
}

/* mega-nav blog block */
.mega-menu__col--blog {
  min-width: 260px;
  max-width: 320px;
  padding: 0 var(--sp-4);
  border-left: 1px solid var(--clr-terra-border);
  display: flex;
  flex-direction: column;
}

.mega-menu__col--blog .mega-menu__heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-terra-dark); /* patch-421 inverts patch-393 (was muted-dark on charcoal): terra-dark #A05A3C = 5.22:1 on white, matching the other mega column heads */
  margin-bottom: var(--sp-3);
}

.nav-blog-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.nav-blog-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  text-decoration: none;
  padding: var(--sp-3);
  border-radius: var(--radius-sm);
  transition: background 200ms ease;
}

.nav-blog-card:hover {
  background: var(--clr-cream-100); /* patch-421: cream hover keeps terra-dark text AA on every light palette */
}

.nav-blog-card__category {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-terra-dark); /* patch-421 inverts patch-393 (was terra-on-dark on charcoal): terra-dark = 5.22:1 on white, 4.92:1 on the cream-100 hover */
}

.nav-blog-card__title {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-charcoal); /* patch-421 inverts patch-393 (was ash on charcoal): charcoal = 14.38:1 on white */
  line-height: 1.35;
}

.nav-blog-card__excerpt {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--clr-ink-light); /* patch-421 inverts patch-393 (was muted-dark on charcoal): ink-light = 6.91:1 on white, 6.52:1 on the cream-100 hover */
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nav-blog-card__link {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--clr-terra-dark); /* patch-421 inverts patch-393 (was terra-on-dark on charcoal): terra-dark = 5.22:1 on white, 4.92:1 on the cream-100 hover */
  margin-top: var(--sp-1);
}

/* ============================================================
   TEAM MEMBERS COMPONENT
   ============================================================ */

.team-members-section {
  padding-block: var(--sp-20); /* patch-421: fw section rhythm 5rem */
  background: var(--clr-white); /* patch-421: fw attorneys band is white */
}

.team-members__header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.team-members__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

/* patch-421 (solano fidelity): vertical card — 3:2 photo on top, radius-lg,
   cream card with a hairline, lift on hover (fw .attorney-card :1099-1182) */
.team-members__card {
  background: var(--clr-cream-100);
  border: 1px solid var(--clr-cream-300);
  border-radius: var(--radius-lg);
  color: var(--clr-ink);
  box-shadow: none;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.team-members__card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.team-members__card--owner {
  border: 1px solid var(--clr-cream-300);
}

.team-members__card--featured {
  border: 1px solid var(--clr-cream-300);
}

.team-members__card-upper {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
}

.team-members__card-photo-col {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--clr-cream-200);
}

.team-members__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 0;
}

.team-members__photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  background: var(--clr-cream-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-muted);
  font-size: 1.5rem;
}

.team-members__card-info-col {
  padding: var(--sp-6) var(--sp-6) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  text-align: left;
  justify-content: center;
}

.team-members__card-lower {
  border-top: none;
  padding: 0 var(--sp-6) var(--sp-6);
}

/* patch-421 (solano fidelity): the Owner badge is hidden in Solano */
.team-members__owner-badge {
  display: none;
  background: var(--clr-terra);
  color: var(--clr-white);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-2);
}

.team-members__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--clr-charcoal);
  margin-bottom: var(--sp-1);
}

.team-members__title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--clr-terra-dark); /* patch-421: fw terra role (3.43:1 on cream-100); terra-dark = 4.92:1 */
  margin-bottom: var(--sp-3);
}

.team-members__bio {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--clr-ink-light);
  line-height: 1.6;
  margin-bottom: var(--sp-3);
}

/* patch-421 (solano fidelity): sage pill specialties (fw .specialty-tag :1168-1182) */
.team-members__specialties {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--clr-sage-dark); color: color-mix(in srgb, var(--clr-sage-dark) 80%, #000); /* sage-dark deepened 20%: >= 4.5:1 on the sage-tint pill on every light palette */
  background-color: rgba(122,158,140,0.12);
  border: 1px solid rgba(122,158,140,0.25);
  border-radius: 100px;
  padding: var(--sp-1) var(--sp-3);
  margin-top: var(--sp-1);
}

.team-members__empty {
  text-align: center;
  color: var(--clr-muted);
  font-family: var(--font-body);
  padding: var(--sp-12);
}

/* Accordion layout */
.team-members__accordion {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.team-members__accordion-item {
  border-bottom: 1px solid var(--clr-cream-300);
}

.team-members__accordion-item--owner {
  border-bottom: 1px solid var(--clr-terra-border);
}

.team-members__accordion-trigger {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-4) var(--sp-2);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--clr-ink);
  font-family: var(--font-body);
  text-align: left;
  transition: background 0.2s var(--ease-out-expo);
}

.team-members__accordion-trigger:hover {
  background: var(--clr-cream-200);
}

.team-members__accordion-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.team-members__accordion-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  flex: 1;
}

.team-members__accordion-role {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--clr-muted);
  margin-left: auto;
  margin-right: var(--sp-3);
}

.team-members__accordion-chevron {
  font-size: 1.25rem;
  color: var(--clr-muted);
  transition: transform 0.25s var(--ease-out-expo);
  flex-shrink: 0;
}

.team-members__accordion-trigger[aria-expanded="true"] .team-members__accordion-chevron {
  transform: rotate(180deg);
}

.team-members__accordion-body {
  display: none;
  padding: var(--sp-4) var(--sp-6) var(--sp-6);
  color: var(--clr-ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.65;
}

.team-members__accordion-trigger[aria-expanded="true"] + .team-members__accordion-body {
  display: block;
}

/* ============================================================
   FULLPAGE NAV
   ============================================================ */
/* Note: Solano is a light-background theme. The fullpage nav overlay
   uses --clr-charcoal (dark) so text remains legible on the overlay.
   The topbar on light pages also uses --clr-charcoal for contrast. */

/* Fixed top bar */
.site-header--fullpage { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.fullpage-nav__topbar {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height); padding: 0 var(--sp-8);
  background-color: var(--clr-charcoal);
}

/* Overlay — hidden by default via clip-path */
.fullpage-nav__overlay {
  position: fixed; inset: 0; z-index: 999;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.5s var(--ease-out-expo, cubic-bezier(0.16,1,0.3,1));
  overflow-y: auto;
  display: flex; flex-direction: column;
  background-color: var(--clr-charcoal);
}
.fullpage-nav__overlay--open { clip-path: inset(0 0 0% 0); }
.fullpage-nav__overlay-inner {
  display: flex; flex-direction: column;
  min-height: 100%;
  padding: calc(var(--nav-height) + var(--sp-12)) var(--sp-8) var(--sp-12);
  gap: var(--sp-10);
}

/* Nav links */
.fullpage-nav__links { display: flex; flex-direction: column; gap: var(--sp-2); }
.fullpage-nav__link {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300; line-height: 1.1; letter-spacing: -0.02em;
  background: none; border: none; cursor: pointer; padding: var(--sp-2) 0;
  text-align: left; text-decoration: none; display: block; width: 100%;
  color: var(--clr-cream-100);
  opacity: 0; transform: translateX(-24px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease;
}
.fullpage-nav__link:hover { color: var(--clr-terra); }
.fullpage-nav__overlay--open .fullpage-nav__link { opacity: 1; transform: translateX(0); }
.fullpage-nav__overlay--open .fullpage-nav__link:nth-child(1) { transition-delay: 0.1s; }
.fullpage-nav__overlay--open .fullpage-nav__link:nth-child(2) { transition-delay: 0.15s; }
.fullpage-nav__overlay--open .fullpage-nav__link:nth-child(3) { transition-delay: 0.2s; }
.fullpage-nav__overlay--open .fullpage-nav__link:nth-child(4) { transition-delay: 0.25s; }
.fullpage-nav__overlay--open .fullpage-nav__link:nth-child(5) { transition-delay: 0.3s; }
.fullpage-nav__overlay--open .fullpage-nav__link:nth-child(6) { transition-delay: 0.35s; }
.fullpage-nav__overlay--open .fullpage-nav__link:nth-child(7) { transition-delay: 0.4s; }
.fullpage-nav__overlay--open .fullpage-nav__link:nth-child(8) { transition-delay: 0.45s; }

/* Sub-panels */
.fullpage-nav__sub-panel { display: none; padding: var(--sp-4) 0 var(--sp-4) var(--sp-4); }
.fullpage-nav__sub-panel.is-open { display: block; }
.fullpage-nav__chevron { display: inline-block; transition: transform 0.3s ease; margin-left: var(--sp-2); }
.fullpage-nav__link--has-sub.is-open .fullpage-nav__chevron { transform: rotate(90deg); }

/* Hamburger */
.fullpage-nav__hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: var(--sp-2); z-index: 1001;
  width: 40px; height: 40px;
}
.fullpage-nav__hamburger-line {
  display: block; height: 2px; width: 24px;
  background-color: var(--clr-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.fullpage-nav__hamburger.is-open .fullpage-nav__hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fullpage-nav__hamburger.is-open .fullpage-nav__hamburger-line:nth-child(2) { opacity: 0; }
.fullpage-nav__hamburger.is-open .fullpage-nav__hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Locations strip */
.fullpage-nav__locations-strip {
  display: flex; flex-wrap: wrap; gap: var(--sp-6); padding: var(--sp-6) 0;
  border-top: 1px solid var(--clr-cream-300);
}
.fullpage-nav__location-item { display: flex; flex-direction: column; gap: var(--sp-1); min-width: 180px; }
.fullpage-nav__location-name { font-weight: 500; font-size: 0.875rem; color: var(--clr-cream-100); }
.fullpage-nav__location-phone,
.fullpage-nav__location-address { font-size: 0.8125rem; opacity: 0.7; color: var(--clr-cream-100); }

/* CTAs */
.fullpage-nav__ctas { display: flex; gap: var(--sp-3); flex-wrap: wrap; padding-top: var(--sp-4); }

/* Fullpage nav — neutralise outer header when active */
.fullpage-nav-active #site-header {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
}
.fullpage-nav-active .nav-wrapper > .nav-logo,
.fullpage-nav-active .nav-hamburger,
.fullpage-nav-active .mobile-menu {
  display: none !important;
}

/* Fullpage nav — mega menu visible inside open sub-panels */
.fullpage-nav__sub-panel.is-open .mega-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: none;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
.fullpage-nav__sub-panel.is-open .mega-menu::before {
  display: none;
}
.fullpage-nav__sub-panel.is-open .mega-menu__inner {
  padding: var(--sp-2) 0;
}
.fullpage-nav__sub-panel.is-open .mega-menu__col--cta {
  display: none;
}


/* ============================================================
   SERVICE CARD GRID — ACCORDION LAYOUT
   ============================================================ */

.services--accordion { padding-block: var(--sp-20); background: var(--clr-cream-200); } /* patch-421: fw section rhythm 5rem */

.service-accordion {
  display: block;
  margin-top: var(--sp-12);
}

.service-accordion__item {
  border-top: 1px solid var(--clr-terra-border);
}

.service-accordion__item:last-child {
  border-bottom: 1px solid var(--clr-terra-border);
}

.service-accordion__trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-6) 0;
  text-align: left;
  color: var(--clr-charcoal);
  transition: color 0.2s var(--ease-out-expo);
}

.service-accordion__trigger:hover {
  color: var(--clr-terra);
}

.service-accordion__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.service-accordion__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
  color: var(--clr-terra);
  margin-left: var(--sp-4);
  transition: transform 0.35s var(--ease-out-expo);
}

.service-accordion__icon::before,
.service-accordion__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.35s var(--ease-out-expo), opacity 0.25s ease;
}

.service-accordion__icon::before {
  width: 100%; height: 1.5px;
  top: 50%; left: 0;
  transform: translateY(-50%);
}

.service-accordion__icon::after {
  width: 1.5px; height: 100%;
  left: 50%; top: 0;
  transform: translateX(-50%);
}

.is-open .service-accordion__icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.service-accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out-expo);
}

.is-open .service-accordion__panel {
  max-height: none;
  display: flex;
  flex-direction: row-reverse;
  gap: var(--sp-6);
  padding: var(--sp-4) 0;
}

.service-accordion__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.service-accordion__image {
  flex: 0 0 200px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.service-accordion__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-accordion__desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--clr-ink-light);
  padding: var(--sp-3) 0;
}

.service-accordion__link {
  display: inline-block;
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-terra);
  border-bottom: 1px solid var(--clr-terra-border);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.service-accordion__link:hover {
  color: var(--clr-terra-dark);
  border-color: var(--clr-terra);
}

@media (max-width: 639px) {
  .is-open .service-accordion__panel {
    flex-direction: column;
  }
  .service-accordion__image {
    flex: none;
    width: 100%;
  }
}

/* ── Hero Home — Video Support (patch-148) ──────────────── */

/* Centered layout — video fills .hero__bg */
.hero--has-video .hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: var(--clr-hero-gradient);
  z-index: 1;
}

.hero--has-video .hero__grain { z-index: 2; }
.hero--has-video .hero__center { position: relative; z-index: 3; }
.hero--has-video .hero__stats-bar { position: relative; z-index: 3; }
.hero--has-video .hero__ticker { position: relative; z-index: 3; }

/* Split layout — right column video */
.hero-split--has-video .hero-split__media {
  display: flex;
  align-items: stretch;
}

.hero-split__video-wrap {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

.hero-split__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Click affordance — desktop only — terra cotta for Solano */
.hero-split__video-expand {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(194, 113, 79, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.2s ease-out;
}

.hero-split__video-expand::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}

.hero-split__video-wrap:hover .hero-split__video-expand {
  background: #C2714F;
}

@media (max-width: 1023px) {
  .hero-split__video-wrap { cursor: default; }
  .hero-split__video-expand { display: none; }
}

/* Video modal */
.hero-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.hero-video-modal--open {
  display: flex;
}

.hero-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.85);
  cursor: pointer;
}

.hero-video-modal__inner {
  position: relative;
  z-index: 1;
  width: min(90vw, 1100px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.hero-video-modal__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-video-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease-out;
}

.hero-video-modal__close:hover {
  background: rgba(194, 113, 79, 0.85);
}

@media (max-width: 767px) {
  .team-members__grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .team-members__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .mega-menu {
    left: var(--sp-4);
    right: var(--sp-4);
  }
}

/* ============================================================
   SECTION STYLE OVERRIDES — .section--light / --muted / --dark
   ============================================================ */

/* ── section--light ─────────────────────────────────────── */
/* Background: --clr-cream-100 (#FAF8F4)
   Text contrast vs cream-100: charcoal 14.2:1 PASS
   Eyebrow contrast vs cream-100: terra-dark 7.3:1 PASS        */
.section--light {
  background-color: var(--clr-cream-100);
  color: var(--clr-charcoal);
}
.section--light h1,
.section--light h2,
.section--light h3,
.section--light h4,
.section--light h5,
.section--light h6 {
  color: var(--clr-charcoal);
}
.section--light p,
.section--light li,
.section--light address,
.section--light blockquote {
  color: var(--clr-ink);
}
.section--light .section-eyebrow {
  color: var(--clr-terra-dark);
}
.section--light .section-eyebrow::before {
  background-color: var(--clr-terra-dark);
}
.section--light hr,
.section--light .section-divider {
  border-color: var(--clr-cream-300);
}
/* Button descendant overrides — dark-on-light */
.section--light .btn--primary {
  background-color: var(--clr-terra-dark);
  color: var(--clr-white);
  border-color: var(--clr-terra-dark);
}
.section--light .btn--primary:hover {
  background-color: var(--clr-charcoal);
  border-color: var(--clr-charcoal);
}
.section--light .btn--outline {
  color: var(--btn-fc, var(--clr-charcoal));
  border-color: var(--btn-fc, var(--clr-cream-400));
  background-color: transparent;
}
.section--light .btn--outline:hover {
  border-color: var(--clr-charcoal);
  background-color: var(--clr-cream-200);
}
.section--light .btn--ghost {
  color: var(--btn-fc, var(--clr-charcoal)); /* patch-421: fw charcoal ghost + --btn-fc hook */
  border-color: var(--btn-fc, var(--clr-charcoal));
  background-color: transparent;
}
.section--light .btn--ghost:hover {
  background-color: var(--clr-charcoal);
  border-color: var(--clr-charcoal);
  color: var(--clr-white);
}

/* ── section--muted ─────────────────────────────────────── */
/* Background: --clr-cream-200 (#EDE8DE)
   Text contrast vs cream-200: charcoal 12.6:1 PASS
   Eyebrow contrast vs cream-200: terra 4.5:1 PASS (borderline) */
.section--muted {
  background-color: var(--clr-cream-200);
  color: var(--clr-charcoal);
}
.section--muted h1,
.section--muted h2,
.section--muted h3,
.section--muted h4,
.section--muted h5,
.section--muted h6 {
  color: var(--clr-charcoal);
}
.section--muted p,
.section--muted li,
.section--muted address,
.section--muted blockquote {
  color: var(--clr-ink);
}
.section--muted .section-eyebrow {
  color: var(--clr-terra);
}
.section--muted .section-eyebrow::before {
  background-color: var(--clr-terra);
}
.section--muted hr,
.section--muted .section-divider {
  border-color: var(--clr-cream-300);
}
/* Button descendant overrides */
.section--muted .btn--primary {
  background-color: var(--clr-terra-dark);
  color: var(--clr-white);
  border-color: var(--clr-terra-dark);
}
.section--muted .btn--primary:hover {
  background-color: var(--clr-charcoal);
  border-color: var(--clr-charcoal);
}
.section--muted .btn--outline {
  color: var(--btn-fc, var(--clr-charcoal));
  border-color: var(--btn-fc, var(--clr-cream-400));
  background-color: transparent;
}
.section--muted .btn--outline:hover {
  border-color: var(--clr-charcoal);
  background-color: var(--clr-cream-100);
}
.section--muted .btn--ghost {
  color: var(--btn-fc, var(--clr-charcoal)); /* patch-421: fw charcoal ghost + --btn-fc hook */
  border-color: var(--btn-fc, var(--clr-charcoal));
  background-color: transparent;
}
.section--muted .btn--ghost:hover {
  background-color: var(--clr-charcoal);
  border-color: var(--clr-charcoal);
  color: var(--clr-white);
}

/* ── section--dark ──────────────────────────────────────── */
/* Background: --clr-charcoal (#2A2A28) — Solano's darkest token
   Text contrast vs charcoal: cream-100 14.2:1 PASS
   Eyebrow: sage-light (#A8C4B5) 7.1:1 PASS
   NOTE: terra (#C2714F) yields only 2.8:1 on charcoal — FAILS
   WCAG AA for normal-weight text. sage-light used instead.
   terra is preserved only for large/display-weight eyebrow text
   at the designer's discretion via .section--dark .section-eyebrow--terra
   override; the default eyebrow uses sage-light for AA compliance. */
.section--dark {
  background-color: var(--clr-charcoal);
  color: var(--clr-cream-100);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6,
.section--has-bg-image h1,
.section--has-bg-image h2,
.section--has-bg-image h3,
.section--has-bg-image h4,
.section--has-bg-image h5,
.section--has-bg-image h6,
.section--has-bg-image .section-title {
  color: var(--clr-cream-100);
}
.section--dark p,
.section--dark li,
.section--dark address,
.section--dark blockquote,
.section--has-bg-image p,
.section--has-bg-image li,
.section--has-bg-image address,
.section--has-bg-image blockquote,
.section--has-bg-image .section-desc {
  color: var(--clr-ash);
}
.section--dark .section-eyebrow,
.section--has-bg-image .section-eyebrow {
  color: var(--clr-sage-light);
}
.section--dark .section-eyebrow::before {
  background-color: var(--clr-sage-light);
}
.section--dark hr,
.section--dark .section-divider {
  border-color: var(--clr-charcoal-3);
}
/* Button descendant overrides — light-on-dark */
.section--dark .btn--primary {
  background-color: var(--clr-cream-100);
  color: var(--clr-charcoal);
  border-color: var(--clr-cream-100);
}
.section--dark .btn--primary:hover {
  background-color: var(--clr-white);
  border-color: var(--clr-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.section--dark .btn--outline {
  color: var(--btn-fc, var(--clr-cream-100));
  border-color: rgba(250,248,244,0.35);
  background-color: transparent;
}
.section--dark .btn--outline:hover {
  border-color: var(--clr-cream-100);
  background-color: rgba(250,248,244,0.08);
}
.section--dark .btn--ghost {
  color: var(--btn-fc, var(--clr-cream-100)); /* patch-421: ghost-white on dark + --btn-fc hook */
  border-color: rgba(250,248,244,0.5);
  background-color: transparent;
}
.section--dark .btn--ghost:hover {
  background-color: rgba(250,248,244,0.1);
  border-color: var(--clr-cream-100);
  color: var(--clr-cream-100);
}


/* ============================================================
   LEGAL CONTENT
   ============================================================ */
.legal-content {
  padding-block: var(--sp-20);
}
.legal-content__inner {
  /* .article-body inside already constrains width and provides typography */
}


/* patch-309 — video reel nav row (arrows + dots side-by-side below videos) */
.video-reel-row__nav {
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-4); margin-top: var(--sp-4);
}
.video-reel-row__nav .video-reel-row__arrow {
  position: static; top: auto; transform: none; left: auto; right: auto;
}
.video-reel-row__nav .video-reel-row__dots { margin-top: 0; }


/* patch-310 — high-contrast arrow buttons (palette-independent) */
.video-reel-row__nav .video-reel-row__arrow {
  background: #111111;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.video-reel-row__nav .video-reel-row__arrow:hover {
  background: #ffffff;
  color: #111111;
  border-color: #111111;
  transform: scale(1.06);
}
.video-reel-row__nav .video-reel-row__arrow:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
.video-reel-row__nav .video-reel-row__arrow:disabled {
  opacity: 0.4;
  transform: none;
}


/* patch-313 — video_highlight centered play-overlay button (palette-independent) */
.video-highlight__video-frame { position: relative; }
.video-highlight__play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border: none; padding: 0; margin: 0;
  cursor: pointer;
  transition: opacity 0.25s ease, background 0.2s ease;
  z-index: 2;
}
.video-highlight__play-overlay:hover { background: rgba(0, 0, 0, 0.5); }
.video-highlight__play-overlay:focus-visible {
  outline: 2px solid #ffffff; outline-offset: -4px;
}
.video-highlight__play-overlay svg {
  width: 88px; height: 88px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}
.video-highlight__play-overlay:hover svg { transform: scale(1.08); }
.video-highlight__play-overlay--hidden {
  opacity: 0; pointer-events: none;
}

/* iframe embed support (video_highlight + video_reel_row) */
.video-highlight__video-frame--embed {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.video-highlight__embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-reel-row__embed {
  width: 100%;
  height: 100%;
  border: 0;
}

/* patch-314 — badges component */
.badges-section {
  padding-block: var(--sp-16);
  background: var(--clr-cream-200);
}
.badges-section .section-header {
  margin-bottom: var(--sp-10);
}
.badges-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--sp-8);
}
.badges-list__item {
  flex: 0 0 auto;
  min-width: 120px;
  max-width: 200px;
}
.badges-list__link {
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.badges-list__link:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}
.badges-list__img {
  width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  display: block;
}
@media (max-width: 639px) {
  .badges-list { gap: var(--sp-4); }
  .badges-list__item { min-width: 90px; max-width: 140px; }
  .badges-list__img { max-height: 70px; }
}


/* patch-319 — promote media frames to own GPU layers (eliminates edge jitter under smooth scroll) */
.video-highlight__video-frame,
.video-reel-row__video-frame,
.loc-single__map-embed,
.hero__bg,
.hero-split__video-wrap {
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

/* prose paragraph spacing (patch-328) */
.section-desc p + p,
.about__body p + p,
.inline-cta__desc p + p,
.final-cta__desc p + p,
.page-hero__desc p + p,
.hero__subtext p + p,
.hero-split__subtext p + p,
.video-reel-row__body p + p,
.location-single__desc p + p,
.service-card__desc p + p,
.service-accordion__desc p + p,
.process-step__desc p + p,
.value-card__desc p + p,
.team-members__bio p + p { margin-top: var(--sp-4); }

/* === MEDIA GALLERY VIDEO (patch-340) === */
.media-gallery__grid {
  grid-auto-flow: dense;
}

.media-gallery__item--video {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.media-gallery__grid[style*="--mg-cols:1"] .media-gallery__item--video {
  grid-column: span 1;
  aspect-ratio: 16/9;
}

/* media gallery — patch-345: side-by-side videos at cols=2 */
.media-gallery__grid[style*="--mg-cols:2"] .media-gallery__item--video {
  grid-column: span 1;
  aspect-ratio: 16/9;
}

.media-gallery__video,
.media-gallery__embed {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--clr-charcoal);
  display: block;
  border: 0;
}

@media (max-width: 639px) {
  .media-gallery__grid {
    grid-template-columns: 1fr !important;
  }
  .media-gallery__item--video {
    grid-column: span 1;
    aspect-ratio: 16/9;
  }
  .media-gallery__item {
    aspect-ratio: 1/1;
  }
}

/* section background images (patch-348) */
.services.section--has-bg-image {
  background-image: var(--section-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.services.section--has-bg-image .section__bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--section-bg-overlay);
  z-index: 1;
  pointer-events: none;
}
.services.section--has-bg-image > .container {
  position: relative;
  z-index: 2;
}
.section--light .services.section--has-bg-image .section__bg-overlay {
  background: rgba(255, 255, 255, 0.55);
}
.values.section--has-bg-image {
  background-image: var(--section-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.values.section--has-bg-image .section__bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--section-bg-overlay);
  z-index: 1;
  pointer-events: none;
}
.values.section--has-bg-image > .container {
  position: relative;
  z-index: 2;
}
.section--light .values.section--has-bg-image .section__bg-overlay {
  background: rgba(255, 255, 255, 0.55);
}
.process.section--has-bg-image {
  background-image: var(--section-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.process.section--has-bg-image .section__bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--section-bg-overlay);
  z-index: 1;
  pointer-events: none;
}
.process.section--has-bg-image > .container {
  position: relative;
  z-index: 2;
}
.section--light .process.section--has-bg-image .section__bg-overlay {
  background: rgba(255, 255, 255, 0.55);
}
.final-cta.section--has-bg-image {
  background-image: var(--section-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.final-cta.section--has-bg-image .section__bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--section-bg-overlay);
  z-index: 1;
  pointer-events: none;
}
.final-cta.section--has-bg-image > .container {
  position: relative;
  z-index: 2;
}
.section--light .final-cta.section--has-bg-image .section__bg-overlay {
  background: rgba(255, 255, 255, 0.55);
}
.faq.section--has-bg-image {
  background-image: var(--section-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.faq.section--has-bg-image .section__bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--section-bg-overlay);
  z-index: 1;
  pointer-events: none;
}
.faq.section--has-bg-image > .container {
  position: relative;
  z-index: 2;
}
.section--light .faq.section--has-bg-image .section__bg-overlay {
  background: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   FULLPAGE NAV — dark mega re-scope
   patch-421 (solano fidelity): inside the charcoal fullpage-nav overlay the
   mega panel is transparent, so the patch-393 DARK-surface contrast values
   (originally on the base mega rules) are RE-SCOPED here rather than deleted.
   Ratios are on --clr-charcoal #2A2A28, as measured by patch-393.
   ============================================================ */
.fullpage-nav__sub-panel.is-open .mega-menu { border-top: none; }
.fullpage-nav__sub-panel.is-open .mega-menu__col { border-right-color: rgba(255,255,255,0.05); }
.fullpage-nav__sub-panel.is-open .mega-menu__heading {
  color: var(--clr-terra-on-dark); /* patch-393: #DE9670 = 5.96:1 on charcoal */
  border-bottom-color: rgba(255,255,255,0.06);
}
.fullpage-nav__sub-panel.is-open .mega-menu__link:hover { background: rgba(255,255,255,0.05); }
.fullpage-nav__sub-panel.is-open .mega-menu__link:hover strong { color: var(--clr-white); }
.fullpage-nav__sub-panel.is-open .mega-menu__link strong { color: var(--clr-ash); /* 7.22:1 */ }
.fullpage-nav__sub-panel.is-open .mega-menu__link em { color: var(--clr-muted-dark); /* patch-393: #A8A8A1 = 6.01:1 */ }
.fullpage-nav__sub-panel.is-open .mega-menu__col--blog .mega-menu__heading { color: var(--clr-muted-dark); /* patch-393: 6.01:1 */ }
.fullpage-nav__sub-panel.is-open .nav-blog-card:hover { background: var(--clr-terra-subtle); }
.fullpage-nav__sub-panel.is-open .nav-blog-card__category,
.fullpage-nav__sub-panel.is-open .nav-blog-card__link { color: var(--clr-terra-on-dark); /* patch-393: 5.96:1 */ }
.fullpage-nav__sub-panel.is-open .nav-blog-card__title { color: var(--clr-ash); /* patch-393: 7.22:1 */ }
.fullpage-nav__sub-panel.is-open .nav-blog-card__excerpt { color: var(--clr-muted-dark); /* patch-393: 6.01:1 */ }
.fullpage-nav__sub-panel.is-open .loc-card { border-color: rgba(255,255,255,0.04); }
.fullpage-nav__sub-panel.is-open .loc-card__name { color: var(--clr-ash); }
.fullpage-nav__sub-panel.is-open .loc-card__address { color: var(--clr-terra-on-dark); /* patch-393: 5.96:1 */ }
.fullpage-nav__sub-panel.is-open .loc-card__hours { color: var(--clr-muted-dark); /* patch-393: 6.01:1 */ }
.fullpage-nav__sub-panel.is-open .loc-card__link { color: var(--clr-sage-light); }
.fullpage-nav__sub-panel.is-open .loc-card__link:hover { color: var(--clr-ash); }
.fullpage-nav__sub-panel.is-open .mega-contact-btn { background: transparent; border-color: rgba(255,255,255,0.07); }
.fullpage-nav__sub-panel.is-open .mega-contact-btn:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); }
.fullpage-nav__sub-panel.is-open .mega-contact-btn__icon { background: rgba(255,255,255,0.05); color: var(--clr-terra-on-dark); }
.fullpage-nav__sub-panel.is-open .mega-contact-btn__text strong,
.fullpage-nav__sub-panel.is-open .mega-contact-btn__text em { color: var(--clr-ash); /* patch-393: ash over terra-subtle layers, worst 4.93:1 */ }
.fullpage-nav__sub-panel.is-open .mega-menu .btn--outline { color: var(--clr-ash); border-color: rgba(255,255,255,0.25); }

/* ============================================================
   SECONDARY CTA ON DARK BANDS — patch-421 (solano fidelity)
   v2 secondary CTAs (.btn--ghost / .btn--outline) become ghost-white on every
   dark band this theme paints. The field colour (--btn-fc) still wins.
   (final-cta / inline-cta / section--dark are handled with their blocks.)
   ============================================================ */
.section--has-bg-image .btn--ghost,
.section--has-bg-image .btn--outline,
.faq-aside-card .btn--ghost,
.faq-aside-card .btn--outline,
.sidebar-cta .btn--ghost,
.sidebar-cta .btn--outline,
.article-hero .btn--ghost,
.article-hero .btn--outline,
.location-grid-section .btn--ghost,
.location-grid-section .btn--outline,
.site-footer .btn--ghost,
.site-footer .btn--outline,
.fullpage-nav__overlay .btn--ghost,
.fullpage-nav__overlay .btn--outline,
.fullpage-nav__topbar .btn--ghost,
.fullpage-nav__topbar .btn--outline {
  background-color: transparent;
  color: var(--btn-fc, var(--clr-white));
  border-color: rgba(255,255,255,0.5);
}
.section--has-bg-image .btn--ghost:hover,
.section--has-bg-image .btn--outline:hover,
.faq-aside-card .btn--ghost:hover,
.faq-aside-card .btn--outline:hover,
.sidebar-cta .btn--ghost:hover,
.sidebar-cta .btn--outline:hover,
.article-hero .btn--ghost:hover,
.article-hero .btn--outline:hover,
.location-grid-section .btn--ghost:hover,
.location-grid-section .btn--outline:hover,
.site-footer .btn--ghost:hover,
.site-footer .btn--outline:hover,
.fullpage-nav__overlay .btn--ghost:hover,
.fullpage-nav__overlay .btn--outline:hover,
.fullpage-nav__topbar .btn--ghost:hover,
.fullpage-nav__topbar .btn--outline:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: var(--clr-white);
  color: var(--clr-white);
}

/* ============================================================
   SECTION RHYTHM — mobile (fw .section 4rem below 900px, 5rem above)
   patch-421 (solano fidelity)
   ============================================================ */
@media (max-width: 899px) {
  .services, .services--accordion, .testimonials, .about, .faq, .values,
  .process, .section-standard, .final-cta, .location-grid-section,
  .location-single-section, .email-form, .team-members-section {
    padding-block: var(--sp-16);
  }
  .inline-cta { padding-block: var(--sp-12); }
}

/* ===== patch-434 (phase3 css A) ===== */
/* case_results, stats_band (+count-up in theme.js), marquee_strip, rating_summary */
/* Intentional deviations (solano):
   - case-results--scroll matches fw .results-scroll-track/.result-card: a
     charcoal band, translucent 16px-radius cards with a terra hover border,
     uppercase terra area label, Cormorant 500 outcome, a thin terra
     scrollbar, and a hairline above the disclaimer. The fw fixed 280px card
     follows the contract rail track (minmax(260px, 82%), 340px from 768px).
   - Grid and list layouts have no fw source. They use the service-card idiom
     (cream-100 card on a cream-200 band, cream-300 hairline, 16px radius,
     sage border and -2px lift on hover); the featured card is the charcoal
     .service-card--featured inversion.
   - fw alpha text (sand at 55% / 35%) is too faint for AA. Every tint is a
     colour-mix of the cream-200 / charcoal pair, which stays opposite on
     every palette (blackwood inverts both), so no [data-palette] guard is
     needed. --clr-terra-on-dark / --clr-muted-dark are fixed hexes that do
     not invert on blackwood, so they are not used here.
   - There is no fw ticker (the theme hides .hero__ticker). The marquee band is
     the charcoal results band with Cormorant italic items (the title-em
     voice); the separator keeps the author's markup glyph.
   - The bg-image stats band darkens its overlay with charcoal at 88% (not
     the theme's 50% warm overlay), so its cream text keeps AA over any photo.
   - No words in CSS content: disclaimer text comes from markup only (Joe
     Cooper MD is a medical client on this theme). */

.case-results,
.stats-band,
.marquee,
.rating-summary {
  --so-bg: var(--clr-cream-200);
  --so-surface: var(--clr-cream-100);
  --so-line: var(--clr-cream-300);
  --so-head: var(--clr-charcoal);
  --so-text: var(--clr-ink-light);
  --so-label: color-mix(in srgb, var(--clr-terra-dark) 60%, var(--clr-charcoal));
  --so-accent: color-mix(in srgb, var(--clr-sage-dark) 55%, var(--clr-charcoal));
  --so-star: color-mix(in srgb, var(--clr-terra) 80%, var(--clr-charcoal));
  --so-gap: var(--sp-5);
}

/* Dark tone: the fw charcoal results band. */
.case-results--scroll,
.case-result--featured,
.stats-band--band,
.stats-band.section--has-bg-image,
.marquee--band,
.rating-summary--band {
  --so-bg: var(--clr-charcoal);
  --so-surface: color-mix(in srgb, var(--clr-cream-200) 6%, var(--clr-charcoal));
  --so-line: color-mix(in srgb, var(--clr-cream-200) 16%, var(--clr-charcoal));
  --so-head: var(--clr-cream-200);
  --so-text: color-mix(in srgb, var(--clr-cream-200) 78%, var(--clr-charcoal));
  --so-label: color-mix(in srgb, var(--clr-terra) 45%, var(--clr-cream-200));
  --so-accent: color-mix(in srgb, var(--clr-sage-light) 55%, var(--clr-cream-200));
  --so-star: color-mix(in srgb, var(--clr-terra) 70%, var(--clr-cream-200));
}

/* Shared header in context (the tone decides its ink). */
.case-results .section-title,
.stats-band .section-title,
.rating-summary .section-title { color: var(--so-head); }
.case-results .section-title em,
.stats-band .section-title em,
.rating-summary .section-title em { color: var(--so-accent); }
.case-results .section-eyebrow,
.stats-band .section-eyebrow,
.rating-summary .section-eyebrow { color: var(--so-label); }
.case-results .section-desc,
.stats-band .section-desc,
.rating-summary .section-desc { color: var(--so-text); }

/* ============================================================
   CASE RESULTS
   ============================================================ */
.case-results {
  position: relative;
  padding-block: var(--sp-20);
  background-color: var(--so-bg);
  color: var(--so-text);
}

.case-results--grid,
.case-results--list { background-color: var(--so-bg); }

.case-results__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: var(--so-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-result {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  min-width: 0;
  padding: var(--sp-7) var(--sp-6);
  background-color: var(--so-surface);
  border: 1px solid var(--so-line);
  border-radius: var(--radius-lg);
  color: var(--so-text);
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.case-result:hover {
  border-color: var(--clr-sage);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.case-result--featured {
  background-color: color-mix(in srgb, var(--clr-terra) 12%, var(--so-surface));
  border-color: var(--clr-terra);
}

.case-result__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-1) var(--sp-3);
  margin: 0 0 var(--sp-1);
}

.case-result__type {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--so-label);
}

.case-result__year {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  color: var(--so-text);
}

.case-result__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--so-head);
  overflow-wrap: anywhere;
}

.case-result__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--so-head);
}

.case-result__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--so-text);
}

.case-result__desc p { margin: 0 0 0.75em; }
.case-result__desc p:last-child { margin-bottom: 0; }

.case-result__outcome {
  margin: var(--sp-1) 0 0;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--so-accent);
}

.case-result__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: auto 0 0;
  padding: var(--sp-2) 0 0;
  list-style: none;
}

.case-result__tag {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--so-line);
  border-radius: 999px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--so-text);
}

.case-results__disclaimer {
  max-width: 72ch;
  margin: var(--sp-10) 0 0;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--so-line);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--so-text);
}

.case-results__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-10);
}

/* fw horizontal scroll track */
.case-results--scroll .case-results__list {
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 82%);
  grid-template-columns: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: var(--sp-2) 0 var(--sp-8);
  scrollbar-width: thin;
  scrollbar-color: var(--clr-terra) transparent;
}

.case-results--scroll .case-result { scroll-snap-align: start; }

.case-results--scroll .case-result:hover {
  background-color: color-mix(in srgb, var(--clr-cream-200) 10%, var(--clr-charcoal));
  border-color: color-mix(in srgb, var(--clr-terra) 40%, transparent);
  box-shadow: none;
  transform: none;
}

.case-results--scroll .case-results__list:focus-visible {
  outline: 2px solid var(--so-label);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}

/* List: value column | text column */
.case-results--list .case-results__list { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .case-results--scroll .case-results__list { grid-auto-columns: 340px; }

  .case-results--list .case-result {
    display: grid;
    grid-template-columns: minmax(160px, 14rem) 1fr;
    grid-template-areas:
      "value meta"
      "value title"
      "value desc"
      "value outcome"
      "value tags";
    column-gap: var(--sp-8);
    row-gap: var(--sp-2);
    align-items: start;
  }
  .case-results--list .case-result__value { grid-area: value; }
  .case-results--list .case-result__meta { grid-area: meta; justify-content: flex-start; }
  .case-results--list .case-result__title { grid-area: title; }
  .case-results--list .case-result__desc { grid-area: desc; }
  .case-results--list .case-result__outcome { grid-area: outcome; }
  .case-results--list .case-result__tags { grid-area: tags; }
}

/* ============================================================
   STATS BAND — hero trust numerals (Cormorant 600, small labels)
   ============================================================ */
.stats-band {
  position: relative;
  padding-block: var(--sp-20);
  background-color: var(--so-bg);
  color: var(--so-text);
}

.stats-band--band,
.stats-band--cards { background-color: var(--so-bg); }

.stats-band--inline {
  padding-block: var(--sp-12);
  background-color: var(--clr-cream-100);
}

.stats-band__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-8) var(--so-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .stats-band__list { grid-template-columns: repeat(var(--stats-count, 4), minmax(0, 1fr)); }
  .stats-band__list[style*="--stats-count: 5"],
  .stats-band__list[style*="--stats-count: 6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.stats-band__item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  min-width: 0;
}

.stats-band__value {
  margin: 0 0 var(--sp-1);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: var(--so-head);
}

.stats-band .stats-band__num {
  font-variant-numeric: tabular-nums;
  color: var(--so-head);
}

.stats-band .stats-band__prefix,
.stats-band .stats-band__suffix {
  font-style: italic;
  font-weight: 500;
  font-size: 0.8em;
  color: var(--so-accent);
}

.stats-band .stats-band__label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--so-head);
}

.stats-band .stats-band__desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--so-text);
}

.stats-band--cards .stats-band__item {
  padding: var(--sp-7) var(--sp-6);
  background-color: var(--so-surface);
  border: 1px solid var(--so-line);
  border-radius: var(--radius-lg);
}

.stats-band--inline .stats-band__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6) 0;
  padding-top: var(--sp-8);
  border-top: 1px solid var(--clr-cream-300);
}

.stats-band--inline .stats-band__item {
  flex: 1 1 9rem;
  padding: 0 var(--sp-6);
  border-left: 1px solid var(--clr-cream-300);
}

.stats-band--inline .stats-band__item:first-child { padding-left: 0; border-left: 0; }

.stats-band--inline .stats-band__value { font-size: 2rem; }

.stats-band.section--has-bg-image {
  background-image: var(--section-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.stats-band.section--has-bg-image .section__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: color-mix(in srgb, var(--clr-charcoal) 88%, transparent);
  pointer-events: none;
}

.stats-band.section--has-bg-image > .container {
  position: relative;
  z-index: 2;
}

.stats-band.section--has-bg-image .section-eyebrow,
.stats-band.section--has-bg-image .stats-band__desc { color: var(--so-head); }

/* ============================================================
   MARQUEE — charcoal band, Cormorant italic voice
   ============================================================ */
.marquee {
  position: relative;
  overflow: hidden;
  color: var(--so-text);
}

.marquee__viewport { overflow: hidden; }

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-duration, 40s) linear infinite;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.marquee--right .marquee__track { animation-direction: reverse; }

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }

.marquee__list {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--sp-6);
  margin: 0;
  padding: 0 var(--sp-6) 0 0;
  list-style: none;
}

.marquee__item,
.marquee__sep { white-space: nowrap; }

.marquee--band {
  padding-block: var(--sp-5);
  background-color: var(--so-bg);
}

.marquee--band .marquee__item {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
  color: var(--so-head);
}

.marquee--band .marquee__sep { color: var(--so-label); }

.marquee--outline {
  padding-block: var(--sp-8);
  background-color: transparent;
}

.marquee--outline .marquee__item {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
  color: transparent;
  -webkit-text-stroke: 1px var(--clr-charcoal);
}

@supports not (-webkit-text-stroke: 1px) {
  .marquee--outline .marquee__item { color: var(--clr-charcoal); }
}

.marquee--outline .marquee__sep {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--so-label);
}

.marquee--plain {
  padding-block: var(--sp-6);
  background-color: transparent;
  border-block: 1px solid var(--clr-cream-300);
}

.marquee--plain .marquee__item {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-ink-light);
}

.marquee--plain .marquee__sep { color: var(--so-label); }

/* ============================================================
   RATING SUMMARY — service-card surface, Cormorant score
   ============================================================ */
.rating-summary {
  --so-star-base: color-mix(in srgb, var(--so-head) 55%, var(--so-bg));
  position: relative;
  padding-block: var(--sp-20);
  background-color: var(--clr-cream-100);
  color: var(--so-text);
}

.rating-summary--band {
  background-color: var(--so-bg);
}

.rating-summary__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  text-align: center;
}

.rating-summary__score {
  display: flex;
  align-items: baseline;
  gap: var(--sp-1);
  margin: 0;
  line-height: 1;
}

.rating-summary__value {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 4.5rem);
  font-weight: 600;
  line-height: 0.95;
  color: var(--so-head);
}

.rating-summary__scale {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  color: var(--so-text);
}

.rating-summary__stars {
  position: relative;
  display: inline-block;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.rating-summary__stars-base { color: var(--so-star-base); }

.rating-summary__stars-fill {
  position: absolute;
  inset: 0;
  width: var(--rating-pct);
  overflow: hidden;
  white-space: nowrap;
  color: var(--so-star);
}

.rating-summary__count {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--so-head);
}

.rating-summary__asof {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--so-text);
}

.rating-summary__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--so-label);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: color 0.15s ease;
}

.rating-summary__link:hover { color: var(--so-head); }

.rating-summary__link:focus-visible {
  outline: 2px solid var(--so-label);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.rating-summary--card .rating-summary__body {
  max-width: 520px;
  margin-inline: auto;
  padding: var(--sp-10) var(--sp-8);
  background-color: var(--so-surface);
  border: 1px solid var(--so-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.rating-summary--card { background-color: var(--so-bg); }

.rating-summary--inline {
  padding-block: var(--sp-12);
  border-block: 1px solid var(--clr-cream-300);
}

.rating-summary--inline .rating-summary__body {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: var(--sp-3) var(--sp-6);
  text-align: left;
}

.rating-summary--inline .rating-summary__value { font-size: 3rem; }

@media (max-width: 599px) {
  .rating-summary--inline .rating-summary__body { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; transform: none; width: auto; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee__list { flex-wrap: wrap; justify-content: center; row-gap: 0.5em; }
  .case-result,
  .rating-summary__link { transition: none; }
  .case-result:hover { transform: none; }
}

/* ===== patch-435 (phase3 css B) ===== */
/* contact_form (.lead-form + .form-modal) and the shared .hours-table (Phase 3 batch B) */
/* Intentional deviations (solano):
   - Source: fw .contact / .contact-form-wrap / .form-row--split / .form-group /
     .form-label / .form-input / .form-select / .form-textarea / .form-checkbox /
     .form-submit / .form-disclaimer / .form-success / .form-success__icon. The
     form is the fw white card (radius-xl, shadow-md) on the cream band; fields
     are cream with a 1.5px cream-300 box, radius-md; labels are the fw
     sentence-case 500 voice; the disclaimer note is centred.
   - fw order is info | form; the contract puts the form first (1.45fr | 1fr),
     so the details are the right-hand column, on the cream-200 muted surface
     (radius-lg) that the theme uses for quiet cards.
   - fw terra small text (required mark, links, labels) is 3.4:1 on white and
     fw muted (#7A7971) is 4.3:1, so small accent text is terra-dark mixed 60%
     into charcoal (the batch A --so-label recipe) and muted text is ink-light.
     Every tint mixes the cream/charcoal pair, which inverts on blackwood.
   - fw focus is a 3px terra-subtle glow (under 3:1), so fields also draw a 2px
     terra-dark outline ring.
   - The fw error literal #C0392B has no token: errors use terra-dark mixed into
     charcoal; success uses the sage-dark mix (fw .form-success__icon is sage).
   - Palettes: --clr-white does not invert on blackwood, so a guard makes the
     card cream-100 there. The terra-dark submit fill is too light for white
     text on blackwood / blackwood-light, so a guard switches the submit ink to
     the dark end of that palette (in this block only).
   - Social links have no fw source: they are soft cream-300 pills. Reasons
     icons are the fw .form-success__icon circle (44px, terra-subtle).
   - The modal replaces the fw inline .form-success: the white card at
     radius-xl with shadow-xl and a Cormorant title; it rises 12px on open. */

.lead-form {
  --lf-band: var(--clr-cream-100);
  --lf-card: var(--clr-white);
  --lf-panel: var(--clr-cream-200);
  --lf-field: var(--clr-cream-100);
  --lf-line: var(--clr-cream-300);
  --lf-ink: var(--clr-charcoal);
  --lf-heading: var(--clr-charcoal);
  --lf-body: var(--clr-ink);
  --lf-muted: var(--clr-ink-light);
  --lf-label: color-mix(in srgb, var(--clr-terra-dark) 60%, var(--clr-charcoal));
  --lf-icon: color-mix(in srgb, var(--clr-terra-dark) 80%, var(--clr-charcoal));
  --lf-icon-bg: var(--clr-terra-subtle);
  --lf-ring: var(--clr-terra-dark);
  --lf-error: color-mix(in srgb, var(--clr-terra-dark) 65%, var(--clr-charcoal));
  --lf-success: color-mix(in srgb, var(--clr-sage-dark) 55%, var(--clr-charcoal));
  --lf-btn-bg: var(--clr-terra-dark);
  --lf-btn-ink: var(--clr-white);
  --lf-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7971' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  position: relative;
  padding-block: var(--sp-20);
  background-color: var(--lf-band);
  color: var(--lf-body);
}
/* palette guards: white is fixed on blackwood; the gold fill needs dark ink */
[data-palette="blackwood"] .lead-form {
  --lf-card: var(--clr-cream-200);
  --lf-panel: var(--clr-cream-300);
  --lf-btn-ink: var(--clr-cream-100);
  --lf-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888885' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
[data-palette="blackwood-light"] .lead-form { --lf-btn-ink: var(--clr-charcoal); }

/* band wrappers own the background */
.section--light > .lead-form,
.section--muted > .lead-form,
.section--dark > .lead-form { background-color: transparent; }
.section--muted .lead-form { --lf-panel: var(--clr-cream-100); }
/* dark band: the charcoal/cream pair flips (it inverts again on blackwood) */
.section--dark .lead-form {
  --lf-card: var(--clr-charcoal-2);
  --lf-panel: var(--clr-charcoal-2);
  --lf-field: var(--clr-charcoal);
  --lf-line: var(--clr-charcoal-3);
  --lf-ink: var(--clr-cream-100);
  --lf-heading: var(--clr-cream-100);
  --lf-body: color-mix(in srgb, var(--clr-cream-100) 84%, var(--clr-charcoal));
  --lf-muted: color-mix(in srgb, var(--clr-cream-100) 74%, var(--clr-charcoal));
  --lf-label: color-mix(in srgb, var(--clr-terra) 55%, var(--clr-cream-100));
  --lf-icon: color-mix(in srgb, var(--clr-terra) 70%, var(--clr-cream-100));
  --lf-icon-bg: color-mix(in srgb, var(--clr-cream-100) 8%, transparent);
  --lf-ring: color-mix(in srgb, var(--clr-terra) 55%, var(--clr-cream-100));
  --lf-error: color-mix(in srgb, var(--clr-terra) 55%, var(--clr-cream-100));
  --lf-success: color-mix(in srgb, var(--clr-sage-light) 70%, var(--clr-cream-100));
  --lf-btn-bg: var(--clr-cream-100);
  --lf-btn-ink: var(--clr-charcoal);
  --lf-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B8B8B2' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* -- layout --------------------------------------------------------------- */
.lead-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-12);
  align-items: start;
}
.lead-form__main { min-width: 0; }
.lead-form--panel-none .lead-form__main { width: 100%; max-width: 760px; margin-inline: auto; }
@media (min-width: 900px) {
  .lead-form__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--sp-16); }
  .lead-form--panel-none .lead-form__grid { grid-template-columns: minmax(0, 1fr); }
}
/* shared header in context (the band recipes use fixed eyebrow hexes that do
   not invert on blackwood) */
.lead-form .section-title { color: var(--lf-heading); }
.lead-form .section-title em { color: var(--lf-success); }
.lead-form .section-eyebrow { color: var(--lf-label); }
.lead-form .section-desc { color: var(--lf-muted); }
.lead-form--panel-none .section-header { text-align: center; }
.lead-form--panel-none .section-header .section-eyebrow { justify-content: center; }
.lead-form--panel-none .section-header .section-desc { margin-inline: auto; }

/* -- the form card (fw .contact-form-wrap) --------------------------------- */
.lead-form__form {
  background-color: var(--lf-card);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-md);
}
@media (min-width: 600px) { .lead-form__form { padding: var(--sp-8); } }
.lead-form__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-4);
}
@media (min-width: 600px) { .lead-form__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lead-form__field { display: flex; flex-direction: column; gap: var(--sp-2); min-width: 0; }
.lead-form__field--half { grid-column: auto; }
.lead-form__field--full { grid-column: 1 / -1; }
.lead-form .lead-form__label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lf-heading);
}
.lead-form .lead-form__req { margin-left: 2px; color: var(--lf-label); }
.lead-form__input,
.lead-form__select,
.lead-form__textarea {
  width: 100%;
  min-height: 44px;
  font: inherit;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--lf-ink);
  background-color: var(--lf-field);
  border: 1.5px solid var(--lf-line);
  border-radius: var(--radius-md);
  padding: 0.65rem var(--sp-4);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lead-form__input::placeholder,
.lead-form__textarea::placeholder { color: var(--lf-muted); opacity: 1; }
.lead-form__select {
  -webkit-appearance: none;
  appearance: none;
  background-image: var(--lf-chevron);
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.lead-form__textarea { min-height: 140px; resize: vertical; }
.lead-form__input:focus-visible,
.lead-form__select:focus-visible,
.lead-form__textarea:focus-visible {
  outline: 2px solid var(--lf-ring);
  outline-offset: 2px;
  border-color: var(--lf-ring);
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 3px var(--clr-terra-subtle);
}
@supports selector(:user-invalid) {
  .lead-form__input:user-invalid,
  .lead-form__select:user-invalid,
  .lead-form__textarea:user-invalid { border-color: var(--lf-error); }
}
.lead-form__check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  min-height: 44px;
  padding-block: var(--sp-2);
  cursor: pointer;
}
.lead-form__checkbox {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--clr-terra-dark);
  cursor: pointer;
}
.lead-form__checkbox:focus-visible { outline: 2px solid var(--lf-ring); outline-offset: 3px; border-radius: var(--radius-sm); }
.lead-form .lead-form__check-text { font-size: 0.8125rem; line-height: 1.5; color: var(--lf-muted); }
.lead-form .lead-form__note {
  margin-top: var(--sp-4);
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: center;
  color: var(--lf-muted);
}
.lead-form__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }
/* the fill stays put on hover (the theme's lift + terra glow carry it); band
   hover recipes would otherwise repaint it under the palette-guarded ink */
.lead-form .lead-form__submit,
.lead-form .form-modal__close { min-height: 44px; background-color: var(--lf-btn-bg); border-color: var(--lf-btn-bg); color: var(--lf-btn-ink); }
.lead-form .lead-form__submit:hover,
.lead-form .form-modal__close:hover { background-color: var(--lf-btn-bg); border-color: var(--lf-btn-bg); color: var(--lf-btn-ink); }
.lead-form .lead-form__submit:focus-visible { outline: 2px solid var(--lf-ring); outline-offset: 3px; }
@media (max-width: 599px) { .lead-form__submit { width: 100%; } }
.lead-form .lead-form__status {
  min-height: 1.5em;
  margin-top: var(--sp-4);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--lf-body);
}
.lead-form__form.is-submitting .lead-form__submit { opacity: 0.7; cursor: progress; }
.lead-form__form.is-error .lead-form__status { color: var(--lf-error); }
.lead-form__form.is-success .lead-form__status { color: var(--lf-success); }
.lead-form__fallback {
  background-color: var(--lf-card);
  border: 1px solid var(--lf-line);
  border-left: 3px solid var(--lf-label);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-8);
}
.lead-form .lead-form__fallback p { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--lf-body); }

/* -- side panel ----------------------------------------------------------- */
.lead-form__panel {
  background-color: var(--lf-panel);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
}
.lead-form--panel-info .lead-form__panel,
.lead-form--panel-social .lead-form__panel,
.lead-form--panel-reasons .lead-form__panel { align-self: start; }
.lead-form--panel-image .lead-form__panel {
  height: 100%;
  padding: 0;
  overflow: hidden;
  background-color: var(--lf-line);
  box-shadow: var(--shadow-md);
}
.lead-form__panel-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.lead-form__info { display: flex; flex-direction: column; gap: var(--sp-6); }
.lead-form__info-item { display: flex; flex-direction: column; gap: var(--sp-1); }
.lead-form .lead-form__info-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lf-label);
}
.lead-form .lead-form__info-value {
  margin: 0;
  font-size: 0.9375rem;
  font-style: normal;
  line-height: 1.65;
  color: var(--lf-body);
}
.lead-form .lead-form__info-value a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  color: var(--lf-label);
  text-decoration: underline;
  text-decoration-color: var(--clr-terra-border);
  text-underline-offset: 4px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.lead-form__info-value a:hover { color: var(--lf-heading); text-decoration-color: currentColor; }
.lead-form__info-value a:focus-visible { outline: 2px solid var(--lf-ring); outline-offset: 2px; }
.lead-form__social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
.lead-form .lead-form__social-link:any-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--sp-5);
  border: 1.5px solid var(--lf-line);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--lf-heading);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.lead-form .lead-form__social-link:hover { border-color: var(--lf-ring); background-color: var(--clr-terra-subtle); }
.lead-form .lead-form__social-link:focus-visible { outline: 2px solid var(--lf-ring); outline-offset: 3px; border-radius: 999px; }
.lead-form__reasons { display: flex; flex-direction: column; gap: var(--sp-6); list-style: none; margin: 0; padding: 0; }
.lead-form__reason { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--sp-4); align-items: start; }
.lead-form .lead-form__reason-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--lf-icon-bg);
  color: var(--lf-icon);
}
.lead-form__reason-icon svg { width: 60%; height: 60%; stroke: currentColor; }
.lead-form .lead-form__reason-title {
  margin: 0 0 var(--sp-1);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--lf-heading);
}
.lead-form .lead-form__reason-desc { margin: 0; font-size: 0.875rem; line-height: 1.65; color: var(--lf-muted); }

/* -- success modal (replaces fw .form-success) ----------------------------- */
.form-modal {
  margin: auto;
  border: 0;
  padding: 0;
  width: 100%;
  max-width: min(92vw, 480px);
  background-color: var(--lf-card, var(--clr-white));
  color: var(--lf-body, var(--clr-ink));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}
.form-modal::backdrop { background: rgba(42, 42, 40, 0.55); }
.form-modal__inner { padding: var(--sp-12) var(--sp-8); text-align: center; }
.lead-form .form-modal__title {
  margin: 0 0 var(--sp-3);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--lf-heading);
}
.lead-form .form-modal__text { margin: 0 0 var(--sp-8); font-size: 1rem; line-height: 1.7; color: var(--lf-muted); }
.lead-form .form-modal__close:focus-visible { outline: 2px solid var(--lf-ring); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .form-modal[open] { animation: lf-so-rise 0.4s var(--ease-out-expo); }
  .form-modal[open]::backdrop { animation: lf-so-fade 0.3s ease; }
}
@keyframes lf-so-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes lf-so-fade { from { opacity: 0; } to { opacity: 1; } }

/* -- hours table ---------------------------------------------------------- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.875rem;
  line-height: 1.5;
}
.hours-table__row { border-bottom: 1px solid var(--lf-line, var(--clr-cream-300)); }
.hours-table__row:last-child { border-bottom: 0; }
.hours-table__day,
.hours-table__time { padding-block: var(--sp-2); vertical-align: top; }
.lead-form .hours-table__day {
  padding-right: var(--sp-4);
  text-align: left;
  font-weight: 500;
  color: var(--lf-heading, var(--clr-charcoal));
  white-space: nowrap;
}
.lead-form .hours-table__time { text-align: right; color: var(--lf-body, var(--clr-ink)); white-space: nowrap; }
.lead-form .hours-table__time[colspan] { text-align: left; white-space: normal; font-style: italic; color: var(--lf-muted, var(--clr-ink-light)); }
.lead-form .hours-table__row--closed .hours-table__day,
.lead-form .hours-table__row--closed .hours-table__time { font-weight: 400; color: var(--lf-muted, var(--clr-ink-light)); }
@media (max-width: 359px) {
  .lead-form .hours-table__day,
  .lead-form .hours-table__time { white-space: normal; }
}

/* -- reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .lead-form__input,
  .lead-form__select,
  .lead-form__textarea,
  .lead-form .lead-form__info-value a,
  .lead-form .lead-form__social-link:any-link { transition: none; }
  .form-modal[open],
  .form-modal[open]::backdrop { animation: none; }
}

/* ===== patch-436 (phase3 css C) ===== */
/* case_gallery, feature_list, pull_quote (Phase 3 batch C) */
/* Intentional deviations (solano):
   - No framework section exists for these components. Each one derives from
     Solano's own idioms:
       case_gallery  <- .service-card (cream-100 card on the cream-200 band,
                        cream-300 hairline, 16px radius, sage border, shadow
                        and -2px lift on hover). Photo labels are soft pills
                        (Before = charcoal, After = cream with a terra
                        hairline); the treatment tag is a terra-subtle pill;
                        the caption is the .testimonial-card__quote voice
                        (Cormorant italic, charcoal); the meta line has a sage
                        hairline lead-in.
       feature_list  <- --list: cream-300 hairline rows; --grid: the white
                        .testimonial-card surface (radius-lg, shadow-sm, lift);
                        --pills: soft cream-200 pills (radius-xl); icons are
                        the patch-435 44px terra-subtle circles; the side
                        image is a radius-lg frame with shadow-md.
       pull_quote    <- .testimonial-card: the split figure is the white card
                        with a cream-200 author rule and the terra Cormorant
                        opening mark; centered is the bare quote with a terra
                        hairline over the cite. Quotes are Cormorant italic.
   - fw terra small text is 3.4:1 on white, so small accent text is terra-dark
     mixed 60% into charcoal (the batch A --so-label recipe). Muted text is
     ink-light. Every tint mixes the cream/charcoal pair, which inverts on
     blackwood, so the dark band needs no palette guard.
     --clr-terra-on-dark / --clr-muted-dark are fixed hexes that do not invert
     on blackwood, so they are not used.
   - Palettes: --clr-white does not invert on blackwood, so a guard makes the
     white cards cream-200 there. The terra-dark CTA fill is too light for
     white text on blackwood / blackwood-light, so a guard switches the CTA ink
     to the dark end of that palette (in these blocks only). CTAs keep their
     fill on hover (the theme's lift and glow carry it), so the guarded ink
     never meets the band recipes' charcoal/white hover fills.
   - Scroll gallery tracks widen from minmax(280px, 85%) to 340px from 768px.
   - Feature-list links grow to a 44px tap target below 900px only. */

.case-gallery,
.feature-list,
.pull-quote {
  --pc-band: var(--clr-cream-100);
  --pc-hi: var(--clr-white);
  --pc-card: var(--pc-hi);
  --pc-soft: var(--clr-cream-200);
  --pc-line: var(--clr-cream-300);
  --pc-heading: var(--clr-charcoal);
  --pc-body: var(--clr-ink);
  --pc-muted: var(--clr-ink-light);
  --pc-label: color-mix(in srgb, var(--clr-terra-dark) 60%, var(--clr-charcoal));
  --pc-em: color-mix(in srgb, var(--clr-sage-dark) 55%, var(--clr-charcoal));
  --pc-icon: color-mix(in srgb, var(--clr-terra-dark) 80%, var(--clr-charcoal));
  --pc-icon-bg: var(--clr-terra-subtle);
  --pc-ring: var(--pc-icon);
  --pc-mark: var(--clr-terra);
  --pc-rule: var(--clr-sage);
  --pc-btn-bg: var(--clr-terra-dark);
  --pc-btn-ink: var(--clr-white);
  position: relative;
  padding-block: var(--sp-20);
  background-color: var(--pc-band);
  color: var(--pc-body);
}
.case-gallery {
  --pc-band: var(--clr-cream-200);
  --pc-card: var(--clr-cream-100);
}

/* palette guards: white is fixed on blackwood; the gold fill needs dark ink */
[data-palette="blackwood"] .case-gallery,
[data-palette="blackwood"] .feature-list,
[data-palette="blackwood"] .pull-quote {
  --pc-hi: var(--clr-cream-200);
  --pc-btn-ink: var(--clr-cream-100);
}
[data-palette="blackwood-light"] .case-gallery,
[data-palette="blackwood-light"] .feature-list,
[data-palette="blackwood-light"] .pull-quote { --pc-btn-ink: var(--clr-charcoal); }

/* band wrappers own the background */
.section--light > .case-gallery,
.section--light > .feature-list,
.section--light > .pull-quote,
.section--muted > .case-gallery,
.section--muted > .feature-list,
.section--muted > .pull-quote,
.section--dark > .case-gallery,
.section--dark > .feature-list,
.section--dark > .pull-quote { background-color: transparent; }
.section--light .case-gallery { --pc-card: var(--pc-hi); }
.section--muted .feature-list,
.section--muted .pull-quote { --pc-soft: var(--clr-cream-100); }
/* dark band: the charcoal/cream pair flips (it inverts again on blackwood) */
.section--dark .case-gallery,
.section--dark .feature-list,
.section--dark .pull-quote {
  --pc-card: color-mix(in srgb, var(--clr-cream-100) 6%, var(--clr-charcoal));
  --pc-soft: color-mix(in srgb, var(--clr-cream-100) 6%, var(--clr-charcoal));
  --pc-line: color-mix(in srgb, var(--clr-cream-100) 16%, var(--clr-charcoal));
  --pc-heading: var(--clr-cream-100);
  --pc-body: color-mix(in srgb, var(--clr-cream-100) 84%, var(--clr-charcoal));
  --pc-muted: color-mix(in srgb, var(--clr-cream-100) 74%, var(--clr-charcoal));
  --pc-label: color-mix(in srgb, var(--clr-terra) 45%, var(--clr-cream-100));
  --pc-em: color-mix(in srgb, var(--clr-sage-light) 55%, var(--clr-cream-100));
  --pc-icon: color-mix(in srgb, var(--clr-terra) 70%, var(--clr-cream-100));
  --pc-icon-bg: color-mix(in srgb, var(--clr-cream-100) 8%, transparent);
  --pc-ring: color-mix(in srgb, var(--clr-terra) 55%, var(--clr-cream-100));
  --pc-rule: var(--clr-sage-light);
  --pc-btn-bg: var(--clr-cream-100);
  --pc-btn-ink: var(--clr-charcoal);
}

/* shared header, in context only (the band recipes use fixed eyebrow hexes
   that do not invert on blackwood) */
.case-gallery .section-title,
.feature-list .section-title,
.pull-quote .section-title { color: var(--pc-heading); }
.case-gallery .section-title em,
.feature-list .section-title em,
.pull-quote .section-title em { color: var(--pc-em); }
.case-gallery .section-eyebrow,
.feature-list .section-eyebrow,
.pull-quote .section-eyebrow { color: var(--pc-label); }
.case-gallery .section-desc,
.feature-list .section-desc,
.case-gallery .section-desc p,
.feature-list .section-desc p { color: var(--pc-muted); }

/* CTAs in context: the fill stays put on hover */
.case-gallery .btn--primary,
.feature-list .btn--primary,
.case-gallery .btn--primary:hover,
.feature-list .btn--primary:hover {
  background-color: var(--pc-btn-bg);
  border-color: var(--pc-btn-bg);
  color: var(--pc-btn-ink);
}
.case-gallery .btn:focus-visible,
.feature-list .btn:focus-visible { outline: 2px solid var(--pc-ring); outline-offset: 3px; }

/* ============================================================
   CASE GALLERY — .service-card
   ============================================================ */
.case-gallery__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: var(--sp-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.case-gallery--grid .case-gallery__list { align-items: stretch; }
.case-gallery__item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background-color: var(--pc-card);
  border: 1px solid var(--pc-line);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.case-gallery__item:hover {
  border-color: var(--pc-rule);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.case-gallery__media {
  display: grid;
  gap: 2px;
  background-color: var(--pc-line);
}
.case-gallery__media--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-gallery__media--single { grid-template-columns: minmax(0, 1fr); }
.case-gallery__photo {
  position: relative;
  overflow: hidden;
  background-color: var(--pc-soft);
}
.case-gallery__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.case-gallery__label {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  z-index: 1;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.case-gallery__photo--before .case-gallery__label {
  background-color: var(--clr-charcoal);
  color: var(--clr-cream-100);
}
.case-gallery__photo--after .case-gallery__label {
  background-color: var(--clr-cream-100);
  color: var(--clr-charcoal);
  box-shadow: inset 0 0 0 1px var(--clr-terra);
}
.case-gallery__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-6);
}
.case-gallery .case-gallery__tag {
  padding: 3px 10px;
  border-radius: 100px;
  background-color: var(--pc-icon-bg);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pc-label);
}
.case-gallery .case-gallery__caption {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--pc-heading);
}
.case-gallery .case-gallery__caption p { margin: 0; color: inherit; }
.case-gallery .case-gallery__caption p + p { margin-top: var(--sp-2); }
.case-gallery .case-gallery__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--pc-muted);
}
.case-gallery .case-gallery__meta::before {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 1px;
  background-color: var(--pc-rule);
}
.case-gallery .case-gallery__disclaimer {
  max-width: 70ch;
  margin: var(--sp-8) 0 0;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--pc-line);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--pc-muted);
}
.case-gallery__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-10);
}
.case-gallery--scroll .case-gallery__list {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 85%);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 2px 2px var(--sp-4);
  scrollbar-width: thin;
  scrollbar-color: var(--clr-terra) transparent;
}
.case-gallery--scroll .case-gallery__item { scroll-snap-align: start; }
.case-gallery--scroll .case-gallery__item:hover { transform: none; }
.case-gallery--scroll .case-gallery__list:focus-visible {
  outline: 2px solid var(--pc-ring);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}
@media (min-width: 768px) {
  .case-gallery--scroll .case-gallery__list { grid-auto-columns: 340px; }
}

/* ============================================================
   FEATURE LIST — hairline rows / white cards / soft pills
   ============================================================ */
.feature-list__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-12);
  align-items: center;
}
.feature-list__content { min-width: 0; }
@media (min-width: 900px) {
  .feature-list--has-image .feature-list__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: var(--sp-16);
  }
  .feature-list--image-right .feature-list__media { order: 0; }
  .feature-list--image-left .feature-list__media { order: -1; }
}
.feature-list__items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
  min-width: 0;
}
.feature-list .feature-list__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--pc-icon-bg);
  color: var(--pc-icon);
}
.feature-list__icon svg { display: block; width: 56%; height: 56%; }
.feature-list__text { min-width: 0; }
.feature-list .feature-list__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--pc-heading);
}
.feature-list .feature-list__link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.15s ease;
}
.feature-list .feature-list__link:hover { text-decoration-color: var(--pc-ring); }
.feature-list .feature-list__link:focus-visible {
  outline: 2px solid var(--pc-ring);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
@media (max-width: 899px) {
  .feature-list .feature-list__link { display: inline-flex; align-items: center; min-height: 44px; }
}
.feature-list .feature-list__desc {
  margin-top: var(--sp-2);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--pc-muted);
}
.feature-list .feature-list__desc p { margin: 0; color: inherit; }
.feature-list .feature-list__desc p + p { margin-top: var(--sp-2); }
.feature-list .feature-list__desc a { color: var(--pc-heading); text-decoration-color: var(--pc-ring); }
.feature-list__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-10);
}
.feature-list__media {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--pc-soft);
  box-shadow: var(--shadow-md);
}
@media (min-width: 900px) {
  .feature-list__media { aspect-ratio: 4 / 5; }
}
.feature-list__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* --list: hairline rows */
.feature-list--list .feature-list__item {
  padding-block: var(--sp-6);
  border-bottom: 1px solid var(--pc-line);
}
.feature-list--list .feature-list__item:first-child { padding-top: 0; }
.feature-list--list .feature-list__item:last-child { border-bottom: 0; padding-bottom: 0; }
/* --grid: the white testimonial-card surface */
.feature-list--grid .feature-list__items { gap: var(--sp-5); }
@media (min-width: 600px) {
  .feature-list--grid .feature-list__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .feature-list--grid:not(.feature-list--has-image) .feature-list__items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.feature-list--grid .feature-list__item {
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-8) var(--sp-6);
  background-color: var(--pc-card);
  border: 1px solid var(--pc-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.feature-list--grid .feature-list__item:hover {
  border-color: var(--pc-rule);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
/* --pills: soft cream pills, icon inline */
.feature-list--pills .feature-list__items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.feature-list--pills .feature-list__item {
  align-items: center;
  gap: var(--sp-3);
  max-width: 100%;
  padding: var(--sp-2) var(--sp-5) var(--sp-2) var(--sp-2);
  background-color: var(--pc-soft);
  border: 1px solid var(--pc-line);
  border-radius: var(--radius-xl);
}
.feature-list--pills .feature-list__icon { width: 36px; height: 36px; background-color: var(--pc-card); }
.feature-list--pills .feature-list__title { font-size: 1.15rem; }
.feature-list--pills .feature-list__desc { margin-top: 0; font-size: 0.8rem; line-height: 1.5; }

/* ============================================================
   PULL QUOTE — .testimonial-card
   ============================================================ */
.pull-quote__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-12);
  align-items: center;
}
@media (min-width: 900px) {
  .pull-quote--split .pull-quote__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-columns: minmax(0, 1.15fr);
    grid-auto-flow: column;
    gap: var(--sp-16);
  }
}
.pull-quote__lead { min-width: 0; }
.pull-quote__lead .section-header { margin-bottom: var(--sp-6); }
.pull-quote .pull-quote__body {
  max-width: 52ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--pc-body);
}
.pull-quote .pull-quote__body p { margin: 0; color: inherit; }
.pull-quote .pull-quote__body p + p { margin-top: var(--sp-4); }
.pull-quote .pull-quote__body strong { font-weight: 600; color: var(--pc-heading); }
.pull-quote .pull-quote__body a {
  color: var(--pc-label);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.pull-quote__body a:focus-visible {
  outline: 2px solid var(--pc-ring);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.pull-quote__figure {
  position: relative;
  min-width: 0;
  margin: 0;
}
.pull-quote--split .pull-quote__figure {
  padding: var(--sp-10) var(--sp-8);
  background-color: var(--pc-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 600px) {
  .pull-quote--split .pull-quote__figure { padding: var(--sp-12); }
}
.pull-quote .pull-quote__quote {
  margin: 0;
  padding: 0;
  border: 0;
  quotes: none;
}
.pull-quote__quote::before {
  content: '\201C';
  display: block;
  height: 0.5em;
  margin-bottom: var(--sp-2);
  font-family: var(--font-display);
  font-size: 5rem;
  font-style: normal;
  line-height: 1;
  color: var(--pc-mark);
}
.pull-quote .pull-quote__quote p {
  max-width: 32ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--pc-heading);
}
.pull-quote .pull-quote__quote p + p { margin-top: var(--sp-4); }
.pull-quote__cite {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--pc-line);
}
.pull-quote .pull-quote__name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pc-heading);
}
.pull-quote .pull-quote__role {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--pc-muted);
}
.pull-quote--centered .pull-quote__figure {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.pull-quote--centered .pull-quote__quote p { max-width: none; font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
.pull-quote--centered .pull-quote__cite {
  align-items: center;
  border-top: 0;
  padding-top: 0;
}
.pull-quote--centered .pull-quote__cite::before {
  content: '';
  width: 32px;
  height: 1px;
  margin-bottom: var(--sp-4);
  background-color: var(--pc-mark);
}

/* -- reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .case-gallery__item,
  .feature-list .feature-list__link,
  .feature-list--grid .feature-list__item { transition: none; }
  .case-gallery__item:hover,
  .feature-list--grid .feature-list__item:hover { transform: none; }
  .case-gallery--scroll .case-gallery__list { scroll-behavior: auto; }
}

/* ===== patch-437 (phase3 v3 variants css) ===== */
/* service_card_grid carousel + panels + heading/CTA tiles, testimonials carousel + spotlight, section_standard framed + image pair + image side, about pillar icons + pair, cta_final video, location photos + in-context hours tables, team extras */
/*
   patch-437 (phase3 v3 variants css) - Solano.
   No framework source exists for these variants in Solano (Testing only); each
   one is derived from Solano's own components:
     content-carousel  <- the .services-grid / .testimonials-grid gaps; arrows
                          are the .btn--ghost idiom (radius-sm, 2px charcoal
                          line, charcoal fill with white ink on hover); dots are
                          soft cream-400 circles, the active one a terra pill.
     panel-strip       <- .service-card--bg-image: radius-lg panels with the
                          .final-cta sage-dark to charcoal wash over the photo,
                          a vertical Cormorant italic ghost, the Cormorant card
                          title, the patch-435 44px terra-subtle icon circle and
                          the terra-underlined .service-card__link.
     tiles             <- heading tile = the bare shared header in the grid (no
                          card chrome, no lift); CTA tile = the
                          .service-card--featured charcoal inversion with the
                          .final-cta sage wash and the .section--dark cream
                          button.
     spotlight         <- .testimonial-card__quote at display size (Cormorant
                          italic), the terra Cormorant opening mark of
                          .testimonial-card::before, a sage hairline over the
                          author (the patch-436 meta lead-in).
     framed            <- a cream card (radius-lg, shadow-lg) with the
                          .about__img-accent offset terra outline behind it.
     image pair        <- .about__img-frame / .section-standard__image
                          (radius-lg), the secondary photo matted in the band
                          colour with shadow-md.
     video             <- the .final-cta sage-dark to charcoal gradient, drawn as
                          a wash on .section-video::after; round ghost toggle.
     team extras       <- terra-subtle pills for tags (.team-members__specialties
                          idiom), Cormorant italic credentials and stat numerals,
                          terra-underlined contact links.
   Intentional deviations:
     - fw terra small text is 3.4:1 on white, so small accent text is terra-dark
       mixed 60% into charcoal (the batch A --so-label recipe) and focus rings /
       icons / the active dot 80%. The fixed --clr-eyebrow / --clr-terra-on-dark
       / --clr-muted-dark hexes do not invert on blackwood, so they are not
       used; every tint mixes the cream/charcoal pair, which inverts there.
     - --clr-white does not invert on blackwood, so a guard swaps the white
       surfaces for cream-200 there; the terra-dark CTA fill is too light for
       white text on blackwood / blackwood-light, so a guard switches that ink
       to the dark end of the palette (in these blocks only).
     - The new variant sections drop their own fill inside .section--light /
       --muted / --dark wrappers so the band shows; on the dark band the
       carousel cards take the charcoal card tone.
     - Carousel cards do not lift on hover (the track is a scroll container and
       would clip the lift); the sage border and shadow still show.
     - The band wrappers colour h1-h6 at (0,1,1) and p/li at (0,1,1), so text
       colours here use two-class selectors.
     - Photo sections (testimonials, section_standard) get a charcoal 84% wash;
       the framed variant a 55% wash because its text sits on the cream frame.
     - .team-members__card-info-col gets min-width: 0 only when it holds the
       new extras (:has), so a long e-mail address cannot widen the card.
*/

/* -- roles: light grounds (the default cream / white bands) --------------- */
.services,
.testimonials,
.section-standard,
.about,
.location-single-section,
.email-form,
.team-members-section,
.team-members__card {
  --vx-hi: var(--clr-white);
  --vx-card: var(--clr-cream-100);
  --vx-heading: var(--clr-charcoal);
  --vx-body: var(--clr-ink);
  --vx-muted: var(--clr-ink-light);
  --vx-label: color-mix(in srgb, var(--clr-terra-dark) 60%, var(--clr-charcoal));
  --vx-em: color-mix(in srgb, var(--clr-sage-dark) 55%, var(--clr-charcoal));
  --vx-icon: color-mix(in srgb, var(--clr-terra-dark) 80%, var(--clr-charcoal));
  --vx-icon-bg: var(--clr-terra-subtle);
  --vx-ring: var(--vx-icon);
  --vx-rule: var(--clr-sage);
  --vx-line: var(--clr-cream-300);
  --vx-dot: var(--clr-cream-400);
  --vx-mat: var(--clr-white);
  --vx-arrow-line: var(--clr-charcoal);
  --vx-arrow-fg: var(--clr-charcoal);
  --vx-arrow-hover-bg: var(--clr-charcoal);
  --vx-arrow-hover-fg: var(--clr-cream-100);
  --vx-btn-bg: var(--clr-terra-dark);
  --vx-btn-ink: var(--clr-white);
}
.testimonials,
.section--muted > .services,
.section--muted > .team-members-section,
.location-single-section,
.email-form { --vx-mat: var(--clr-cream-200); }
.about,
.section--light > .services,
.section--light > .testimonials,
.section--light > .section-standard,
.section-standard:nth-of-type(even) { --vx-mat: var(--clr-cream-100); }
/* dark grounds: the charcoal / cream pair flips (and flips back on blackwood) */
.section--dark > .services,
.section--dark > .testimonials,
.section--dark > .section-standard,
.section--dark > .team-members-section,
.testimonials.section--has-bg-image,
.section-standard.section--has-bg-image,
.final-cta,
.location-grid-section {
  --vx-card: color-mix(in srgb, var(--clr-cream-100) 6%, var(--clr-charcoal));
  --vx-heading: var(--clr-cream-100);
  --vx-body: color-mix(in srgb, var(--clr-cream-100) 84%, var(--clr-charcoal));
  --vx-muted: color-mix(in srgb, var(--clr-cream-100) 74%, var(--clr-charcoal));
  --vx-label: color-mix(in srgb, var(--clr-terra) 45%, var(--clr-cream-100));
  --vx-em: color-mix(in srgb, var(--clr-sage-light) 55%, var(--clr-cream-100));
  --vx-icon: color-mix(in srgb, var(--clr-terra) 55%, var(--clr-cream-100));
  --vx-icon-bg: color-mix(in srgb, var(--clr-cream-100) 8%, transparent);
  --vx-ring: color-mix(in srgb, var(--clr-terra) 55%, var(--clr-cream-100));
  --vx-rule: var(--clr-sage-light);
  --vx-line: color-mix(in srgb, var(--clr-cream-100) 16%, var(--clr-charcoal));
  --vx-dot: color-mix(in srgb, var(--clr-cream-100) 35%, var(--clr-charcoal));
  --vx-mat: var(--clr-charcoal);
  --vx-arrow-line: color-mix(in srgb, var(--clr-cream-100) 50%, transparent);
  --vx-arrow-fg: var(--clr-cream-100);
  --vx-arrow-hover-bg: var(--clr-cream-100);
  --vx-arrow-hover-fg: var(--clr-charcoal);
  --vx-btn-bg: var(--clr-cream-100);
  --vx-btn-ink: var(--clr-charcoal);
}
/* the team cards stay cream on every band */
.section--dark .team-members__card {
  --vx-card: var(--clr-cream-100);
  --vx-heading: var(--clr-charcoal);
  --vx-body: var(--clr-ink);
  --vx-muted: var(--clr-ink-light);
  --vx-label: color-mix(in srgb, var(--clr-terra-dark) 60%, var(--clr-charcoal));
  --vx-em: color-mix(in srgb, var(--clr-sage-dark) 55%, var(--clr-charcoal));
  --vx-icon: color-mix(in srgb, var(--clr-terra-dark) 80%, var(--clr-charcoal));
  --vx-ring: var(--vx-icon);
  --vx-line: var(--clr-cream-300);
}
/* palette guards: white is fixed on blackwood; the gold fill needs dark ink */
[data-palette="blackwood"] .services,
[data-palette="blackwood"] .testimonials,
[data-palette="blackwood"] .section-standard,
[data-palette="blackwood"] .about,
[data-palette="blackwood"] .location-single-section,
[data-palette="blackwood"] .email-form,
[data-palette="blackwood"] .team-members-section { --vx-hi: var(--clr-cream-200); --vx-btn-ink: var(--clr-cream-100); --vx-arrow-hover-fg: var(--clr-cream-100); }
[data-palette="blackwood"] .section--light > .services,
[data-palette="blackwood"] .section--light > .testimonials,
[data-palette="blackwood"] .section-standard { --vx-mat: var(--clr-cream-100); }
[data-palette="blackwood-light"] .services,
[data-palette="blackwood-light"] .testimonials,
[data-palette="blackwood-light"] .team-members-section { --vx-btn-ink: var(--clr-charcoal); }

/* -- shared: on blackwood .services paints the fixed --clr-white under
   inverted (light) ink, so the variant sections take the page band there
   (the wrapper rules below still win inside band wrappers) */
[data-palette="blackwood"] .services--carousel,
[data-palette="blackwood"] .services--panels,
[data-palette="blackwood"] .services:has(.service-card--heading-tile) { background-color: var(--clr-cream-100); }

/* -- shared: band wrappers show through the new variant sections ---------- */
.section--light > .services--carousel,
.section--light > .services--panels,
.section--light > .services:has(.service-card--heading-tile),
.section--light > .testimonials--carousel,
.section--light > .testimonials--spotlight,
.section--muted > .services--carousel,
.section--muted > .services--panels,
.section--muted > .services:has(.service-card--heading-tile),
.section--muted > .testimonials--carousel,
.section--muted > .testimonials--spotlight,
.section--dark > .services--carousel,
.section--dark > .services--panels,
.section--dark > .services:has(.service-card--heading-tile),
.section--dark > .testimonials--carousel,
.section--dark > .testimonials--spotlight { background-color: transparent; }
.services--carousel .section-header .section-title,
.services--panels .section-header .section-title,
.testimonials--carousel .section-header .section-title,
.testimonials--spotlight .section-header .section-title { color: var(--vx-heading); }
.services--carousel .section-title em,
.services--panels .section-title em,
.testimonials--carousel .section-title em,
.testimonials--spotlight .section-title em { color: var(--vx-em); }
.services--carousel .section-header .section-eyebrow,
.services--panels .section-header .section-eyebrow,
.testimonials--carousel .section-header .section-eyebrow,
.testimonials--spotlight .section-header .section-eyebrow { color: var(--vx-label); }

/* -- shared: v3 photo sections (testimonials, section_standard) ----------- */
.testimonials--carousel.section--has-bg-image,
.testimonials--spotlight.section--has-bg-image,
.section-standard.section--has-bg-image {
  position: relative;
  isolation: isolate;
  background-color: var(--clr-charcoal);
  background-image: var(--section-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.testimonials--carousel.section--has-bg-image > .section__bg-overlay,
.testimonials--spotlight.section--has-bg-image > .section__bg-overlay,
.section-standard.section--has-bg-image > .section__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: color-mix(in srgb, var(--clr-charcoal) 84%, transparent);
}
.section-standard--framed.section--has-bg-image > .section__bg-overlay { background: color-mix(in srgb, var(--clr-charcoal) 55%, transparent); }
.testimonials--carousel.section--has-bg-image > .container,
.testimonials--spotlight.section--has-bg-image > .container,
.section-standard.section--has-bg-image > .container { position: relative; z-index: 1; }

/* -- content-carousel (services--carousel, testimonials--carousel) --------- */
.content-carousel {
  --vx-gap: var(--sp-4);
  position: relative;
}
.testimonials--carousel .content-carousel { --vx-gap: var(--sp-5); }
.content-carousel__viewport { position: relative; }
.content-carousel__track {
  display: flex;
  gap: var(--vx-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  list-style: none;
  margin: 0;
  padding: 4px 0 var(--sp-3);
  scrollbar-width: none;
}
.content-carousel__track::-webkit-scrollbar { display: none; }
.content-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
}
.content-carousel__slide > .service-card,
.content-carousel__slide > .testimonial-card { flex: 1 1 auto; min-width: 0; height: 100%; margin: 0; }
.content-carousel__slide > .service-card:hover { transform: none; }
@media (min-width: 640px) {
  .content-carousel__slide { flex-basis: calc((100% - var(--vx-gap)) / 2); }
}
@media (min-width: 1024px) {
  .content-carousel__slide { flex-basis: calc((100% - 2 * var(--vx-gap)) / 3); }
}
.content-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.content-carousel__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--vx-arrow-line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--vx-arrow-fg);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.content-carousel__arrow svg { display: block; width: 20px; height: 20px; stroke: currentColor; }
.content-carousel__arrow:hover:not(:disabled) {
  background: var(--vx-arrow-hover-bg);
  border-color: var(--vx-arrow-hover-bg);
  color: var(--vx-arrow-hover-fg);
}
.content-carousel__arrow:focus-visible { outline: 2px solid var(--vx-ring); outline-offset: 3px; }
.content-carousel__arrow:disabled { opacity: 0.35; cursor: default; }
.content-carousel__arrow--prev,
.content-carousel__arrow--next { border-radius: var(--radius-sm); }
.content-carousel__dots { display: flex; align-items: center; gap: 0; }
.content-carousel__dot {
  position: relative;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.content-carousel__dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 100px;
  background: var(--vx-dot);
  transition: background-color 0.2s ease, width 0.2s ease, margin 0.2s ease;
}
.content-carousel__dot.is-active::before,
.content-carousel__dot[aria-current="true"]::before { width: 20px; margin-left: -10px; background: var(--vx-icon); }
.content-carousel__dot:focus-visible { outline: 2px solid var(--vx-ring); outline-offset: -2px; border-radius: 100px; }
/* card colours inside the carousel (band wrappers colour h3/p at (0,1,1)) */
.content-carousel .service-card,
.content-carousel .testimonial-card {
  --vx-c-title: var(--clr-charcoal);
  --vx-c-body: var(--clr-ink-light);
  --vx-c-acc: color-mix(in srgb, var(--clr-terra-dark) 60%, var(--clr-charcoal));
  --vx-c-icon: color-mix(in srgb, var(--clr-sage-dark) 80%, var(--clr-charcoal));
}
.content-carousel .testimonial-card { background: var(--vx-hi); }
.content-carousel .testimonial-card--featured,
.section--dark .content-carousel .service-card,
.section--dark .content-carousel .testimonial-card {
  --vx-c-title: var(--clr-cream-100);
  --vx-c-body: color-mix(in srgb, var(--clr-cream-100) 76%, var(--clr-charcoal));
  --vx-c-acc: color-mix(in srgb, var(--clr-terra) 45%, var(--clr-cream-100));
  --vx-c-icon: color-mix(in srgb, var(--clr-terra) 70%, var(--clr-cream-100));
}
.content-carousel .testimonial-card--featured { background: var(--clr-charcoal); }
.section--dark .content-carousel .service-card,
.section--dark .content-carousel .testimonial-card { background: var(--vx-card); border-color: var(--vx-line); }
.content-carousel .service-card__title,
.content-carousel .testimonial-card__quote,
.content-carousel .testimonial-card__name { color: var(--vx-c-title); }
.content-carousel .service-card__desc,
.content-carousel .service-card__desc p,
.content-carousel .testimonial-card__location { color: var(--vx-c-body); }
.content-carousel .service-card__link { color: var(--vx-c-acc); }
.content-carousel .service-card__icon { color: var(--vx-c-icon); }
.content-carousel .testimonial-card__avatar { color: var(--vx-c-body); }
.content-carousel .service-card__link:focus-visible { outline: 2px solid var(--vx-ring); outline-offset: 3px; }

/* -- panel-strip (services--panels) --------------------------------------- */
.panel-strip {
  --vx-pring: color-mix(in srgb, var(--clr-terra) 30%, var(--clr-cream-100));
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.panel-strip__panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1 1 0;
  min-width: 0;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--clr-charcoal);
  color: var(--clr-cream-100);
  transition: flex-grow 0.6s var(--ease-out-expo);
}
.panel-strip__panel:focus-visible { outline: 2px solid var(--vx-pring); outline-offset: -6px; }
.panel-strip__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--panel-bg, none) center / cover no-repeat;
  transition: transform 0.8s var(--ease-out-expo);
}
.panel-strip__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--clr-sage-dark) 30%, color-mix(in srgb, var(--clr-charcoal) 80%, transparent)), color-mix(in srgb, var(--clr-charcoal) 82%, transparent));
}
.panel-strip__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--clr-charcoal) 55%, transparent), transparent 60%);
}
.panel-strip__ghost {
  position: absolute;
  left: var(--sp-5);
  bottom: var(--sp-6);
  display: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: var(--clr-cream-100);
  transition: opacity 0.35s var(--ease-out-expo);
}
.panel-strip__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-8);
}
.panel-strip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--clr-charcoal) 75%, transparent);
  color: color-mix(in srgb, var(--clr-terra) 45%, var(--clr-cream-100));
}
.panel-strip__icon svg { width: 22px; height: 22px; }
.panel-strip .panel-strip__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--clr-cream-100);
}
.panel-strip .panel-strip__desc,
.panel-strip .panel-strip__desc p { margin: 0; max-width: 42ch; font-size: 0.9rem; line-height: 1.7; color: color-mix(in srgb, var(--clr-cream-100) 86%, var(--clr-charcoal)); }
.panel-strip .panel-strip__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--clr-terra) 70%, transparent);
  text-underline-offset: 5px;
  color: var(--clr-cream-100);
  transition: text-decoration-color 0.15s ease;
}
.panel-strip .panel-strip__link:hover { text-decoration-color: var(--clr-cream-100); }
.panel-strip .panel-strip__link:focus-visible { outline: 2px solid var(--vx-pring); outline-offset: 3px; border-radius: var(--radius-sm); }
@media (min-width: 900px) {
  .panel-strip {
    flex-direction: row;
    height: clamp(420px, 62vh, 580px);
  }
  .panel-strip__panel { min-height: 0; }
  .panel-strip__panel.is-active,
  .panel-strip__panel:focus-within { flex-grow: 4; }
  .panel-strip__ghost { display: block; }
  .panel-strip__panel.is-active .panel-strip__ghost,
  .panel-strip__panel:focus-within .panel-strip__ghost { opacity: 0; }
  .panel-strip__content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    min-width: 330px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
  }
  .panel-strip__panel.is-active .panel-strip__content,
  .panel-strip__panel:focus-within .panel-strip__content { opacity: 1; transform: none; transition-delay: 0.15s; }
  .panel-strip__panel.is-active .panel-strip__bg { transform: scale(1.03); }
}

/* -- heading tile + CTA tile (services grid) ------------------------------ */
.service-card--heading-tile {
  justify-content: center;
  padding: var(--sp-6) var(--sp-4) var(--sp-6) 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.service-card--heading-tile:hover { border-color: transparent; box-shadow: none; transform: none; }
.service-card--heading-tile .section-eyebrow { margin-bottom: var(--sp-3); color: var(--vx-label); }
.service-card--heading-tile .section-title {
  margin-bottom: var(--sp-4);
  font-size: clamp(2rem, 3vw, 2.6rem);
  text-align: left;
  color: var(--vx-heading);
}
.service-card--heading-tile .section-title em { color: var(--vx-em); }
.service-card--heading-tile .section-desc,
.service-card--heading-tile .section-desc p { max-width: 36ch; margin: 0; text-align: left; color: var(--vx-muted); }
.service-card--cta-tile {
  justify-content: flex-end;
  background: linear-gradient(135deg, color-mix(in srgb, var(--clr-sage-dark) 55%, var(--clr-charcoal)), var(--clr-charcoal));
  border-color: var(--clr-charcoal);
}
.service-card--cta-tile:hover { border-color: var(--clr-sage); }
[data-palette="blackwood"] .service-card--cta-tile { background: var(--clr-charcoal); }
.service-card--cta-tile .service-card__title { color: var(--clr-cream-100); font-size: 1.75rem; }
.service-card--cta-tile .service-card__desc,
.service-card--cta-tile .service-card__desc p { color: color-mix(in srgb, var(--clr-cream-100) 86%, var(--clr-charcoal)); }
.service-card--cta-tile .service-card__desc strong { color: var(--clr-cream-100); }
.service-card--cta-tile .service-card__cta {
  align-self: flex-start;
  margin-top: var(--sp-2);
  background-color: var(--clr-cream-100);
  border-color: var(--clr-cream-100);
  color: var(--clr-charcoal);
}
.service-card--cta-tile .service-card__cta:hover { background-color: var(--clr-cream-200); border-color: var(--clr-cream-200); color: var(--clr-charcoal); }
.service-card--cta-tile .service-card__cta:focus-visible { outline: 2px solid color-mix(in srgb, var(--clr-terra) 55%, var(--clr-cream-100)); outline-offset: 3px; }

/* -- testimonials spotlight ----------------------------------------------- */
.testimonial-spotlight {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-top: var(--sp-16);
  text-align: center;
}
.testimonial-spotlight::before {
  content: '\201C';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--clr-terra);
}
.testimonial-spotlight .testimonial-card__stars { margin-bottom: var(--sp-5); color: var(--vx-icon); letter-spacing: 0.2em; }
.testimonial-spotlight__quote { margin: 0; }
.testimonial-spotlight .testimonial-spotlight__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.35;
  color: var(--vx-heading);
}
.testimonial-spotlight__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  margin-top: var(--sp-8);
}
.testimonial-spotlight__author::before {
  content: '';
  width: 40px;
  height: 1px;
  margin-bottom: var(--sp-3);
  background: var(--vx-rule);
}
.testimonial-spotlight .testimonial-spotlight__name {
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--vx-heading);
}
.testimonial-spotlight .testimonial-spotlight__meta { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--vx-muted); }

/* -- section_standard: framed, image side, image pair --------------------- */
.section-standard--framed { padding-block: var(--sp-24); }
.section-standard__frame {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  padding: var(--sp-16) var(--sp-12);
  background: var(--clr-cream-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.section-standard__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 2px solid var(--clr-terra);
  border-radius: var(--radius-lg);
  transform: translate(14px, 14px);
  pointer-events: none;
}
.section-standard__frame .section-header { margin-bottom: 0; }
.section-standard__frame .section-eyebrow { justify-content: center; color: color-mix(in srgb, var(--clr-terra-dark) 60%, var(--clr-charcoal)); }
.section-standard__frame .section-title { color: var(--clr-charcoal); }
.section-standard__frame .section-title em { color: color-mix(in srgb, var(--clr-sage-dark) 55%, var(--clr-charcoal)); }
.section-standard__frame .section-desc,
.section-standard__frame .section-desc p { margin-inline: auto; color: var(--clr-ink); }
.section-standard__frame .section-desc strong { color: var(--clr-charcoal); }
@media (max-width: 767px) {
  .section-standard__frame { padding: var(--sp-10) var(--sp-6); }
  .section-standard__frame::before { transform: translate(8px, 8px); }
}
@media (min-width: 768px) {
  .section-standard--image-left .section-standard__image { order: 0; }
  .section-standard--image-left .section-standard__body { order: 1; }
  .section-standard--image-right .section-standard__image { order: 2; }
  .section-standard--image-right .section-standard__body { order: 1; }
}
.section-standard__image--pair,
.about__img-frame--pair {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  padding-bottom: var(--sp-8);
}
.about__img-frame--pair {
  aspect-ratio: auto;
  max-height: none;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.image-pair__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--clr-cream-200);
  translate: 0 var(--parallax-y, 0px);
}
.image-pair__item--primary { grid-column: 1 / 10; grid-row: 1; aspect-ratio: 4 / 5; }
.image-pair__item--secondary {
  grid-column: 6 / 13;
  grid-row: 1;
  z-index: 1;
  margin-top: 30%;
  aspect-ratio: 1 / 1;
  border: 6px solid var(--vx-mat);
  box-shadow: var(--shadow-md);
}
.image-pair__item img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
}
.about__photo--secondary { object-position: center; }
@media (max-width: 767px) {
  .image-pair__item--primary { grid-column: 1 / 11; }
  .image-pair__item--secondary { grid-column: 5 / 13; margin-top: 22%; border-width: 4px; }
  .section-standard__image--pair,
  .about__img-frame--pair { padding-bottom: var(--sp-4); }
}

/* -- about: pillar icons -------------------------------------------------- */
.about__pillar-mark--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  border-radius: 50%;
  background: var(--vx-icon-bg);
  font-style: normal;
  color: var(--vx-icon);
}
.about__pillar-mark--icon svg { width: 55%; height: 55%; stroke: currentColor; }

/* -- cta_final: background video ------------------------------------------ */
.final-cta--has-video {
  --vx-scrim: var(--clr-charcoal);
  --vx-v-ink: var(--clr-cream-100);
  --vx-v-btn: var(--clr-terra-dark);
  --vx-v-ring: color-mix(in srgb, var(--clr-terra) 55%, var(--clr-cream-100));
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* blackwood: charcoal / cream invert, but the CTA title and button fill are the
   fixed --clr-white, so the scrim stays dark there */
[data-palette="blackwood"] .final-cta--has-video {
  --vx-scrim: var(--clr-cream-100);
  --vx-v-ink: var(--clr-charcoal);
  --vx-v-btn: var(--clr-cream-100);
  --vx-v-ring: color-mix(in srgb, var(--clr-terra) 55%, var(--clr-charcoal));
}
[data-palette="blackwood-light"] .final-cta--has-video { --vx-v-btn: var(--clr-charcoal); }
.final-cta--has-video .section-eyebrow,
.final-cta--has-video .final-cta__title em { color: var(--vx-v-ink); }
.final-cta--has-video .btn--primary { color: var(--vx-v-btn); }
.final-cta--has-video .btn:focus-visible { outline-color: var(--vx-v-ring); }
.section-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--vx-scrim);
}
.section-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--clr-sage-dark) 32%, color-mix(in srgb, var(--vx-scrim) 88%, transparent)), color-mix(in srgb, var(--vx-scrim) 90%, transparent));
}
.section-video__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.final-cta--has-video .section__bg-overlay { z-index: 1; }
.final-cta--has-video > .container { position: relative; z-index: 2; }
.section-video__toggle {
  position: absolute;
  right: var(--sp-6);
  bottom: var(--sp-6);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid color-mix(in srgb, var(--vx-v-ink) 50%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--vx-scrim) 55%, transparent);
  color: var(--vx-v-ink);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.section-video__toggle:hover { background: var(--vx-v-ink); border-color: var(--vx-v-ink); color: var(--vx-scrim); }
.section-video__toggle:focus-visible { outline: 2px solid var(--vx-v-ring); outline-offset: 3px; }
.section-video__toggle-icon { position: relative; display: block; width: 12px; height: 14px; }
.section-video__toggle[aria-pressed="true"] {
  --vx-icon-w: 0;
  --vx-icon-h: 0;
  --vx-icon-bg: transparent;
  --vx-icon-bw: 7px 0 7px 12px;
  --vx-icon-left: 1px;
  --vx-icon-second: none;
}
.section-video__toggle-icon::before,
.section-video__toggle-icon::after {
  content: '';
  position: absolute;
  top: 0;
  width: var(--vx-icon-w, 4px);
  height: var(--vx-icon-h, 14px);
  background: var(--vx-icon-bg, currentColor);
  border-style: solid;
  border-width: var(--vx-icon-bw, 0);
  border-color: transparent transparent transparent currentColor;
  border-radius: 1px;
}
.section-video__toggle-icon::before { left: var(--vx-icon-left, 0); }
.section-video__toggle-icon::after { right: 0; display: var(--vx-icon-second, block); }
@media (max-width: 767px) {
  .section-video__toggle { right: var(--sp-4); bottom: var(--sp-4); }
}

/* -- location photos + in-context hours tables ---------------------------- */
.loc-single__photo-map {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--clr-cream-200);
}
.loc-single__photo-map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--clr-charcoal) 35%, transparent), transparent 55%);
  pointer-events: none;
}
.loc-single__photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.loc-single__photo-map .loc-map__pin { z-index: 1; }
.loc-single__photo-map .loc-map__pin-label { background: color-mix(in srgb, var(--clr-charcoal) 90%, transparent); color: var(--clr-cream-100); }
.location-card__photo {
  margin: -40px -28px var(--sp-3);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0;
  background: var(--clr-charcoal-3);
}
.location-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--vx-zoom, 1));
  transition: transform 0.6s var(--ease-out-expo);
}
.location-card:hover .location-card__photo { --vx-zoom: 1.04; }
.location-info__value .hours-table,
.email-form__block-value .hours-table { max-width: 400px; font-size: 0.92rem; }
.location-info__value .hours-table__row,
.email-form__block-value .hours-table__row { border-bottom-color: var(--clr-cream-300); }
.location-info__value .hours-table__day,
.email-form__block-value .hours-table__day { padding-right: var(--sp-4); text-align: left; font-weight: 600; color: var(--clr-charcoal); white-space: nowrap; }
.location-info__value .hours-table__time,
.email-form__block-value .hours-table__time { text-align: right; color: var(--clr-ink); white-space: nowrap; }
.location-info__value .hours-table__row--closed .hours-table__day,
.location-info__value .hours-table__row--closed .hours-table__time,
.email-form__block-value .hours-table__row--closed .hours-table__day,
.email-form__block-value .hours-table__row--closed .hours-table__time { font-weight: 400; font-style: italic; color: var(--clr-ink-light); }
.location-card__hours .hours-table { font-size: 12px; }
.location-card__hours .hours-table__row { border-bottom-color: var(--clr-charcoal-3); }
.location-card__hours .hours-table__day { padding-right: var(--sp-3); text-align: left; font-weight: 500; color: var(--clr-ash); white-space: nowrap; }
.location-card__hours .hours-table__time { text-align: right; color: var(--clr-ash); }
.location-card__hours .hours-table__row--closed .hours-table__day,
.location-card__hours .hours-table__row--closed .hours-table__time { font-weight: 400; font-style: italic; }

/* -- team extras (grid + accordion) --------------------------------------- */
/* blackwood: .team-members-section paints the fixed --clr-white, so extras in
   the accordion (which sits on that band) take the dark end of the palette */
[data-palette="blackwood"] .team-members__accordion-body {
  --vx-heading: var(--clr-cream-100);
  --vx-body: color-mix(in srgb, var(--clr-cream-100) 82%, var(--clr-white));
  --vx-muted: color-mix(in srgb, var(--clr-cream-100) 72%, var(--clr-white));
  --vx-label: color-mix(in srgb, var(--clr-terra-dark) 45%, var(--clr-cream-100));
  --vx-em: color-mix(in srgb, var(--clr-terra-dark) 45%, var(--clr-cream-100));
  --vx-icon: color-mix(in srgb, var(--clr-terra-dark) 55%, var(--clr-cream-100));
  --vx-ring: color-mix(in srgb, var(--clr-terra-dark) 55%, var(--clr-cream-100));
  --vx-icon-bg: color-mix(in srgb, var(--clr-cream-100) 8%, var(--clr-white));
  --vx-line: color-mix(in srgb, var(--clr-cream-100) 20%, var(--clr-white));
}
.team-members__card-info-col:has(.team-members__stats, .team-members__contact, .team-members__tags, .team-members__credentials) { min-width: 0; }
.team-members__header .team-members__intro { max-width: 56ch; margin: var(--sp-2) auto 0; }
.team-members__card .team-members__credentials,
.team-members__accordion-body .team-members__credentials {
  margin: 0 0 var(--sp-2);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--vx-em);
}
.team-members__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0 0 var(--sp-3);
  padding: 0;
  list-style: none;
}
.team-members__card .team-members__tag,
.team-members__accordion-body .team-members__tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--vx-icon-bg);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: var(--vx-label);
}
.team-members__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: var(--sp-3);
  margin: var(--sp-2) 0 var(--sp-4);
  padding: var(--sp-4) 0 0;
  list-style: none;
  border-top: 1px solid var(--vx-line);
}
.team-members__accordion-body .team-members__stats { max-width: 480px; }
.team-members__stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.team-members__card .team-members__stat-num,
.team-members__accordion-body .team-members__stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1;
  color: var(--vx-heading);
}
.team-members__card .team-members__stat-label,
.team-members__accordion-body .team-members__stat-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--vx-muted);
}
.team-members__contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-4);
  margin-bottom: var(--sp-2);
}
.team-members__card .team-members__contact-link,
.team-members__accordion-body .team-members__contact-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 0.875rem;
  color: var(--vx-body);
  text-decoration: underline;
  text-decoration-color: var(--clr-terra-border);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.15s ease, color 0.15s ease;
}
.team-members__card .team-members__contact-link:hover,
.team-members__accordion-body .team-members__contact-link:hover { color: var(--vx-heading); text-decoration-color: var(--clr-terra); }
.team-members__contact-link--phone,
.team-members__contact-link--email { gap: var(--sp-2); }
.team-members__contact-link--phone::before,
.team-members__contact-link--email::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--vx-rule);
}
.team-members__card .team-members__profile-link,
.team-members__accordion-body .team-members__profile-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--vx-label);
}
.team-members__card .team-members__profile-link:hover,
.team-members__accordion-body .team-members__profile-link:hover { text-decoration: underline; }
.team-members__contact-link:focus-visible,
.team-members__profile-link:focus-visible { outline: 2px solid var(--vx-ring); outline-offset: 3px; border-radius: var(--radius-sm); }
@media (max-width: 767px), (pointer: coarse) {
  .team-members__card .team-members__contact-link,
  .team-members__accordion-body .team-members__contact-link,
  .team-members__card .team-members__profile-link,
  .team-members__accordion-body .team-members__profile-link { min-height: 44px; }
}

/* -- reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .content-carousel__track { scroll-behavior: auto; }
  .content-carousel__arrow,
  .content-carousel__dot::before,
  .panel-strip__panel,
  .panel-strip__bg,
  .panel-strip__ghost,
  .panel-strip__content,
  .panel-strip .panel-strip__link,
  .section-video__toggle,
  .location-card__photo img,
  .team-members__card .team-members__contact-link,
  .team-members__accordion-body .team-members__contact-link { transition: none; }
  .panel-strip__panel.is-active .panel-strip__bg { transform: none; }
  .location-card:hover .location-card__photo { --vx-zoom: 1; }
  .image-pair__item { translate: none; }
}

/* ===== patch-437 (phase3 v3 chrome css) ===== */
/* utility bar, action bar + spacer, mode toggle, mega featured panel, mega svg link icons, footer CTA strip + accreditation chips, hours-table in the footer and the fullpage-nav aside */
/* patch-437 (phase3 v3 chrome css) - Intentional deviations (solano):
   - No framework source for the chrome (Testing only): everything derives
     from Solano's own nav and footer (the charcoal footer band, cream
     header with a cream-300 hairline, Cormorant display lines, DM Sans
     0.12em caps labels, radius-sm/md corners, terra accents).
   - Utility bar = a charcoal band over the cream header: cream phone, a
     Cormorant italic note, DM Sans caps socials. It sits ABOVE the fixed
     header (absolute, bottom 100%): the header moves down by --ub-h and the
     body gains the same top padding, so --nav-height never changes. The
     mega menu and the fullpage bar (fixed, not contained by the header) move
     down by the same amount while the bar shows. The bar folds away (header
     back to top: 0) on .scrolled, while the mobile menu is open
     (body.menu-open) and while the fullpage overlay is open. Below 768px
     only the phone shows (44px tall).
   - Inks on the charcoal bands are cream-100 / ash, which invert with
     charcoal on the blackwood palette (the theme's --clr-muted-dark and
     --clr-terra-on-dark are fixed hexes and would fail there). The accent
     on dark is a terra tint mixed into cream-100 (glyphs, hovers, rings).
   - Filled chrome buttons on the charcoal bands (footer CTA, action-bar
     book) are the cream-100 "on dark" fill with charcoal ink: the theme's
     terra-dark .btn--primary is only 2.4:1 against charcoal and terra
     cannot carry text (3.4-3.9:1).
   - Action bar = a charcoal band with a soft top shadow, Cormorant italic
     label, radius-sm DM Sans buttons (call = cream outline, book = cream
     fill). Shown at every width; below 480px the label hides and the
     buttons split the width. z-index 990: under the header (1001), whose
     stacking context holds the mega menu, the mobile menu (999) and the
     fullpage overlay (999); above page content. Hidden while
     body.menu-open or the fullpage overlay is open.
   - Mode toggle: base styling only (Solano has no author_mode_toggle, so no
     dual token set; theme.json is unchanged). Round, in the cream header's
     ink; cream-on-charcoal in the fullpage bar.
   - Mega featured panel: a cream-100 card (radius-md, cream-300 hairline)
     inside the white panel, Cormorant title, terra-dark underline link.
     Mega svg icons are shown (the glyph span stays hidden) in terra-dark.
   - Palettes: blackwood inverts cream and charcoal (the card turns dark,
     its eyebrow takes the terra fill colour; the svg icons and the card
     focus ring sit on the fixed-white mega panel, so they mix terra-dark
     into the dark cream-100 there); blackwood-light's terra-dark
     is 2.9:1 on cream, so its links and icons mix terra-dark toward
     charcoal. Guards are [data-palette] rules on component-scoped --slc-*
     roles.
   - Location single/grid hours tables were styled in the D1 block; this
     block adds the footer and fullpage-nav aside contexts.
   - No !important. */

/* ---------- palette roles (component-scoped) ---------- */
.utility-bar,
.action-bar,
.mode-toggle,
.mega-featured,
.mega-menu__icon--svg,
.site-footer,
.fullpage-nav__location-item {
  --slc-on-dark-accent: color-mix(in srgb, var(--clr-terra) 55%, var(--clr-cream-100));
  --slc-line-dark: color-mix(in srgb, var(--clr-cream-100) 14%, transparent);
  --slc-link: var(--clr-terra-dark);
  --slc-on-panel: var(--slc-link);
  --slc-eyebrow: var(--clr-eyebrow);
}
[data-palette="blackwood"] :is(.mega-featured, .site-footer) { --slc-eyebrow: var(--clr-terra); }
[data-palette="blackwood"] :is(.mega-featured, .mega-menu__icon--svg) { --slc-on-panel: color-mix(in srgb, var(--clr-terra-dark) 65%, var(--clr-cream-100)); }
[data-palette="blackwood-light"] :is(.mega-featured, .mega-menu__icon--svg, .mode-toggle) {
  --slc-link: color-mix(in srgb, var(--clr-terra-dark) 55%, var(--clr-charcoal));
}

/* ---------- utility bar (above the fixed header) ---------- */
body:has(.site-header > .utility-bar) { --ub-h: 38px; padding-top: var(--ub-h); }
.site-header:has(> .utility-bar) {
  top: var(--ub-h);
  transition: background 0.3s ease, box-shadow 0.3s ease, top 0.35s var(--ease-out-expo);
}
.site-header:has(> .utility-bar) .mega-menu { top: calc(var(--nav-height) + var(--ub-h)); }
.site-header:has(> .utility-bar) .site-header--fullpage { top: var(--ub-h); transition: top 0.35s var(--ease-out-expo); }
.site-header.scrolled,
body.menu-open .site-header,
.site-header:has(.fullpage-nav__overlay--open) { top: 0; }
.site-header.scrolled .mega-menu { top: var(--nav-height); }
.site-header.scrolled .site-header--fullpage,
.site-header:has(.fullpage-nav__overlay--open) .site-header--fullpage { top: 0; }

.utility-bar {
  position: absolute; left: 0; right: 0; bottom: 100%;
  height: var(--ub-h, 38px);
  background: var(--clr-charcoal);
  color: var(--clr-ash);
}
.utility-bar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6);
  height: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: var(--sp-6);
  font-family: var(--font-body);
}
.utility-bar__phone {
  display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 32px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--clr-cream-100); text-decoration: none; transition: color 0.2s ease;
}
.utility-bar__phone:hover { color: var(--slc-on-dark-accent); }
.utility-bar__icon { display: inline-flex; line-height: 0; color: var(--slc-on-dark-accent); }
.utility-bar__icon svg { width: 15px; height: 15px; }
.utility-bar__phone-text { white-space: nowrap; }
.utility-bar__text {
  margin: 0; flex: 1 1 auto; min-width: 0; text-align: center;
  font-family: var(--font-display); font-style: italic; font-size: 1rem; font-weight: 400; letter-spacing: 0.01em;
  color: var(--clr-ash); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.utility-bar__social { display: flex; align-items: center; gap: var(--sp-5); margin: 0; padding: 0; list-style: none; }
.utility-bar__social-link {
  display: inline-flex; align-items: center; min-height: 32px;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--clr-ash); text-decoration: none; transition: color 0.2s ease;
}
.utility-bar__social-link:hover { color: var(--clr-cream-100); }
.utility-bar__phone:focus-visible,
.utility-bar__social-link:focus-visible { outline: 2px solid var(--slc-on-dark-accent); outline-offset: 1px; border-radius: var(--radius-sm); }
@media (min-width: 1080px) { .utility-bar__inner { padding-inline: var(--sp-12); } }
@media (max-width: 767px) {
  body:has(.site-header > .utility-bar) { --ub-h: 44px; }
  .utility-bar__inner { justify-content: center; }
  .utility-bar__text, .utility-bar__social { display: none; }
  .utility-bar__phone { min-height: 44px; padding-inline: var(--sp-3); }
}

/* ---------- mode toggle ---------- */
.mode-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 40px; height: 40px; padding: 0;
  background: transparent; color: var(--clr-ink);
  border: 1px solid var(--clr-cream-400); border-radius: 50%;
  cursor: pointer; transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.mode-toggle:hover { color: var(--slc-link); border-color: var(--slc-link); background-color: var(--clr-terra-subtle); }
.mode-toggle:focus-visible { outline: 2px solid var(--slc-link); outline-offset: 3px; border-radius: 50%; }
.mode-toggle__icon { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.mode-toggle__icon svg { width: 18px; height: 18px; }
.mode-toggle__icon--sun { display: none; }
.mode-toggle[aria-pressed="true"] .mode-toggle__icon--sun { display: inline-flex; }
.mode-toggle[aria-pressed="true"] .mode-toggle__icon--moon { display: none; }
.fullpage-nav__topbar .mode-toggle { width: 44px; height: 44px; margin-left: auto; margin-right: var(--sp-3); color: var(--clr-cream-100); border-color: var(--slc-line-dark); }
.fullpage-nav__topbar .mode-toggle:hover { color: var(--clr-cream-100); border-color: var(--slc-on-dark-accent); background-color: transparent; }
.fullpage-nav__topbar .mode-toggle:focus-visible { outline-color: var(--slc-on-dark-accent); }
.mobile-contact-btns .mode-toggle { align-self: flex-start; width: 44px; height: 44px; }

/* ---------- mega featured panel + svg link icons ---------- */
.mega-menu__col--featured { display: flex; }
.mega-featured {
  display: flex; flex-direction: column; gap: var(--sp-2); width: 100%;
  padding: var(--sp-4) var(--sp-4) var(--sp-5);
  background: var(--clr-cream-100);
  border: 1px solid var(--clr-cream-300); border-radius: var(--radius-md);
  color: var(--clr-ink-light); text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
a.mega-featured:hover { border-color: var(--clr-terra-border); box-shadow: var(--shadow-md); transform: translateY(-1px); }
a.mega-featured:focus-visible { outline: 2px solid var(--slc-on-panel); outline-offset: 3px; }
.mega-featured__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: var(--sp-2); border-radius: var(--radius-sm); background: var(--clr-cream-200); }
.mega-featured__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.mega-featured__eyebrow {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slc-eyebrow);
}
.mega-featured__title { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; line-height: 1.15; color: var(--clr-charcoal); }
.mega-featured__body { display: block; font-size: 0.8rem; line-height: 1.6; color: var(--clr-ink-light); }
.mega-featured__cta {
  display: inline-flex; align-self: flex-start; margin-top: var(--sp-1); padding-bottom: 1px;
  border-bottom: 1px solid currentColor;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--slc-link);
}
.mega-menu__icon--svg { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; font-size: 18px; color: var(--slc-on-panel); }
.mega-menu__icon--svg svg { display: block; width: 1em; height: 1em; }
/* the fullpage overlay is charcoal: the card sits on the band */
.fullpage-nav__sub-panel .mega-featured { max-width: 360px; background: color-mix(in srgb, var(--clr-cream-100) 6%, transparent); border-color: var(--slc-line-dark); }
.fullpage-nav__sub-panel .mega-featured__eyebrow,
.fullpage-nav__sub-panel .mega-featured__cta,
.fullpage-nav__sub-panel .mega-menu__icon--svg { color: var(--slc-on-dark-accent); }
.fullpage-nav__sub-panel .mega-featured__title { color: var(--clr-cream-100); }
.fullpage-nav__sub-panel .mega-featured__body { color: var(--clr-ash); }
.fullpage-nav__sub-panel .mega-featured:focus-visible { outline-color: var(--slc-on-dark-accent); }

/* ---------- footer CTA strip + chips ---------- */
.footer__cta-strip {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8);
  padding-block: var(--sp-10);
  border-bottom: 1px solid var(--slc-line-dark);
}
.footer__cta-text { display: flex; flex-direction: column; gap: var(--sp-2); min-width: 0; }
.footer__cta-title { margin: 0; font-family: var(--font-display); font-size: clamp(1.75rem, 2.6vw, 2.25rem); font-weight: 400; line-height: 1.15; color: var(--clr-cream-100); }
.footer__cta-desc { margin: 0; font-size: 0.9rem; line-height: 1.7; color: var(--clr-ash); }
.footer__cta-strip .footer__cta-btn {
  flex-shrink: 0; min-height: 48px;
  background-color: var(--clr-cream-100); border-color: var(--clr-cream-100); color: var(--clr-charcoal);
}
.footer__cta-strip .footer__cta-btn:hover { background-color: var(--clr-cream-200); border-color: var(--clr-cream-200); color: var(--clr-charcoal); box-shadow: none; }
.footer__cta-strip .footer__cta-btn:focus-visible { outline: 2px solid var(--slc-on-dark-accent); outline-offset: 3px; }
.footer__chips {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3);
  margin: 0; padding: var(--sp-6) 0; list-style: none;
}
.footer__chip {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 6px 14px;
  border: 1px solid var(--slc-line-dark); border-radius: var(--radius-xl);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--clr-ash);
}
.footer__chip::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--slc-on-dark-accent); flex-shrink: 0; }
@media (max-width: 767px) {
  .footer__cta-strip { flex-direction: column; align-items: flex-start; gap: var(--sp-6); }
}

/* ---------- hours table: footer + fullpage-nav aside ---------- */
.site-footer .hours-table,
.fullpage-nav__location-item .hours-table { max-width: 300px; margin-top: var(--sp-3); font-size: 0.82rem; }
.site-footer .hours-table__row,
.fullpage-nav__location-item .hours-table__row { border-bottom-color: var(--slc-line-dark); }
.site-footer .hours-table__day,
.fullpage-nav__location-item .hours-table__day { padding-right: var(--sp-4); text-align: left; font-weight: 500; color: var(--clr-cream-100); white-space: nowrap; }
.site-footer .hours-table__time,
.fullpage-nav__location-item .hours-table__time { text-align: right; color: var(--clr-ash); white-space: nowrap; }
.site-footer .hours-table__row--closed .hours-table__day,
.site-footer .hours-table__row--closed .hours-table__time,
.fullpage-nav__location-item .hours-table__row--closed .hours-table__day,
.fullpage-nav__location-item .hours-table__row--closed .hours-table__time { font-weight: 400; font-style: italic; color: var(--clr-ash); }

/* ---------- action bar (sticky call / consultation) ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 990;
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) max(var(--sp-6), calc((100% - var(--max-width)) / 2 + var(--sp-12))) calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
  background: var(--clr-charcoal);
  box-shadow: 0 -8px 32px rgba(42, 42, 40, 0.18);
  transition: transform 0.35s var(--ease-out-expo), visibility 0s linear 0s;
}
.action-bar__label {
  margin-right: auto; min-width: 0;
  font-family: var(--font-display); font-style: italic; font-size: 1.3rem; font-weight: 400; line-height: 1.1;
  color: var(--clr-cream-100); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.action-bar__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px; padding: 0 var(--sp-6);
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none; white-space: nowrap; border-radius: var(--radius-sm); border: 2px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.action-bar__btn--call { background: transparent; color: var(--clr-cream-100); border-color: color-mix(in srgb, var(--clr-cream-100) 40%, transparent); }
.action-bar__btn--call:hover { border-color: var(--clr-cream-100); }
.action-bar__btn--book { background: var(--clr-cream-100); border-color: var(--clr-cream-100); color: var(--clr-charcoal); }
.action-bar__btn--book:hover { background: var(--clr-cream-200); border-color: var(--clr-cream-200); }
.action-bar__btn:focus-visible { outline: 2px solid var(--slc-on-dark-accent); outline-offset: 3px; }
.action-bar__icon { display: inline-flex; line-height: 0; }
.action-bar__icon svg { width: 18px; height: 18px; }
.action-bar-spacer { height: calc(72px + env(safe-area-inset-bottom, 0px)); }
body.menu-open .action-bar,
body:has(.fullpage-nav__overlay--open) .action-bar { transform: translateY(110%); visibility: hidden; transition: transform 0.35s var(--ease-out-expo), visibility 0s linear 0.35s; }
@media (max-width: 479px) {
  .action-bar { padding-inline: var(--sp-4); gap: var(--sp-2); }
  .action-bar__label { display: none; }
  .action-bar__btn { flex: 1 1 0; padding-inline: var(--sp-3); }
}

@media (prefers-reduced-motion: reduce) {
  .site-header:has(> .utility-bar),
  .site-header:has(> .utility-bar) .site-header--fullpage,
  .utility-bar__phone, .utility-bar__social-link, .mode-toggle,
  .mega-featured,
  .footer__cta-strip .footer__cta-btn,
  .action-bar, .action-bar__btn,
  body.menu-open .action-bar,
  body:has(.fullpage-nav__overlay--open) .action-bar { transition: none; }
  a.mega-featured:hover,
  .footer__cta-strip .footer__cta-btn:hover { transform: none; }
}

/* ===== ux-440 (user UX decisions) ===== */
/* Feature list, image-left: the image leads on mobile. Below the patch-436
   900px two-column breakpoint the grid is a single column, so move the media
   above the content (DOM order is content, then media). Desktop is unchanged
   (patch-436 already sets order:-1 at >=900px). image-right keeps text first. */
@media (max-width: 899.98px) {
  .feature-list--has-image.feature-list--image-left .feature-list__media { order: -1; }
}

/* ============================================================
   GENERATOR NAV MAPPING: per-menu mega columns + mobile CTAs (patch-454)
   ============================================================ */
/* Per-menu mode only (sites with a column_type 'cta' column). The base
   grid reserves a 260px CTA track; menus without a CTA column get plain
   equal tracks instead. Scoped to the header mega (.nav-item--mega) at
   the 1080px desktop-nav breakpoint, so the max-width rules and the
   fullpage sub-panels are untouched. Contact [x | cta] keeps the
   existing --2col 1fr 260px grid. */
@media (min-width: 1080px) {
  .nav-item--mega > .mega-menu > .mega-menu__inner--cols-1:not(.mega-menu__inner--has-cta) { grid-template-columns: minmax(0, 32rem); }
  .nav-item--mega > .mega-menu > .mega-menu__inner--cols-2:not(.mega-menu__inner--has-cta) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-item--mega > .mega-menu > .mega-menu__inner--cols-3:not(.mega-menu__inner--has-cta) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Mobile accordion: CTA buttons placed by a 'cta' column. */
.mobile-accordion-ctas {
  display: flex; flex-direction: column; align-items: stretch;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  padding: var(--sp-2) var(--sp-4) 0 0;
}
.mobile-accordion-ctas:first-child { margin-top: 0; }

/* ============================================================
   NAV FOLLOW-UPS (patch-456)
   ============================================================ */
/* Per-menu CTA placement (patch-456 D1, CSS only). The base grid reserves a
   260px CTA track as the LAST track, so a lone CTA column (--cols-1), a
   two-list + CTA menu (--cols-3, empty 4th track) and a CTA column that is
   not last in column_order (a list column lands in the 260px track) all
   render badly. Size the tracks for the CTA menus and move the CTA to the
   end visually (order), then re-create the first/last-child padding and
   border resets the theme applies when the CTA really is last. Every rule
   requires --has-cta, so legacy panels are untouched; 3+CTA-last and
   1+CTA-last compute exactly as before. */
@media (min-width: 1080px) {
  .nav-item--mega > .mega-menu > .mega-menu__inner--cols-1.mega-menu__inner--has-cta { grid-template-columns: minmax(0, 260px); }
  .nav-item--mega > .mega-menu > .mega-menu__inner--cols-3.mega-menu__inner--has-cta { grid-template-columns: repeat(2, minmax(0, 1fr)) 260px; }
  .nav-item--mega > .mega-menu > .mega-menu__inner--has-cta > .mega-menu__col--cta { order: 1; }
  .nav-item--mega > .mega-menu > .mega-menu__inner--has-cta > .mega-menu__col--cta:not(:last-child) { border-right: none; }
  .nav-item--mega > .mega-menu > .mega-menu__inner--has-cta > .mega-menu__col:last-child:not(.mega-menu__col--cta) { border-right: 1px solid var(--clr-cream-200); }
  .nav-item--mega > .mega-menu > .mega-menu__inner--has-cta > .mega-menu__col--cta:first-child:not(:last-child) { padding-left: var(--sp-6); }
  .nav-item--mega > .mega-menu > .mega-menu__inner--has-cta > .mega-menu__col--cta:first-child + .mega-menu__col { padding-left: 0; }
}

/* patch-485 (process steps balanced rows) */
@supports selector(:has(*)) {
  @media (max-width: 767px) {
    .process-steps { grid-template-columns: minmax(0, 1fr); }
    .process-steps > .process-step { grid-column: auto; }
  }
  @media (min-width: 768px) and (max-width: 1079px) {
    .process-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row; }
    .process-steps > .process-step { grid-column: span 2; }
    .process-steps > .process-step:nth-child(2n + 1):last-child { grid-column: 2 / span 2; }
  }
  @media (min-width: 1080px) {
    .process-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: row; }
    .process-steps:has(> .process-step:nth-child(4):last-child, > .process-step:nth-child(7):last-child, > .process-step:nth-child(8):last-child, > .process-step:nth-child(10)) { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .process-steps > .process-step { grid-column: span 2; }
    .process-steps:not(:has(> .process-step:nth-child(4):last-child, > .process-step:nth-child(7):last-child, > .process-step:nth-child(8):last-child, > .process-step:nth-child(10))) > .process-step:nth-child(3n + 1):nth-last-child(2) { grid-column: 2 / span 2; }
    .process-steps:not(:has(> .process-step:nth-child(4):last-child, > .process-step:nth-child(7):last-child, > .process-step:nth-child(8):last-child, > .process-step:nth-child(10))) > .process-step:nth-child(3n + 1):last-child { grid-column: 3 / span 2; }
    .process-steps:has(> .process-step:nth-child(4):last-child, > .process-step:nth-child(7):last-child, > .process-step:nth-child(8):last-child, > .process-step:nth-child(10)) > .process-step:nth-child(4n + 1):nth-last-child(3) { grid-column: 2 / span 2; }
    .process-steps:has(> .process-step:nth-child(4):last-child, > .process-step:nth-child(7):last-child, > .process-step:nth-child(8):last-child, > .process-step:nth-child(10)) > .process-step:nth-child(4n + 1):nth-last-child(2) { grid-column: 3 / span 2; }
    .process-steps:has(> .process-step:nth-child(4):last-child, > .process-step:nth-child(7):last-child, > .process-step:nth-child(8):last-child, > .process-step:nth-child(10)) > .process-step:nth-child(4n + 1):last-child { grid-column: 4 / span 2; }
  }
  @supports (grid-template-rows: subgrid) {
    @media (min-width: 768px) {
      .process-steps { row-gap: 0; }
      .process-steps > .process-step { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; grid-row: span 4; align-content: start; }
      .process-steps:has(> .process-step > .process-step__metrics) > .process-step, .process-steps:has(> .process-step > .process-step__time) > .process-step { grid-row: span 5; }
      .process-steps:has(> .process-step > .process-step__metrics):has(> .process-step > .process-step__time) > .process-step { grid-row: span 6; }
      .process-steps > .process-step > .process-step__metrics { grid-row: 5; }
      .process-steps > .process-step > .process-step__time { grid-row: -2 / -1; }
    }
    @media (min-width: 768px) and (max-width: 1079px) {
      .process-steps > .process-step:nth-child(n + 3) { margin-top: var(--sp-5); }
    }
    @media (min-width: 1080px) {
      .process-steps:not(:has(> .process-step:nth-child(4):last-child, > .process-step:nth-child(7):last-child, > .process-step:nth-child(8):last-child, > .process-step:nth-child(10))) > .process-step:nth-child(n + 4), .process-steps:has(> .process-step:nth-child(4):last-child, > .process-step:nth-child(7):last-child, > .process-step:nth-child(8):last-child, > .process-step:nth-child(10)) > .process-step:nth-child(n + 5) { margin-top: var(--sp-5); }
    }
  }
}

/* ============================================================
   HERO VIDEO TOGGLE (patch-514)
   ============================================================ */
.hero--has-video .hero__video-toggle {
  position: absolute;
  z-index: 8;
  top: calc(var(--nav-height) + 16px);
  right: max(16px, calc(env(safe-area-inset-right, 0px) + 16px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  line-height: 0;
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.hero--has-video .hero__video-toggle:hover { background: rgba(0, 0, 0, 0.65); border-color: rgba(255, 255, 255, 0.6); }
.hero--has-video .hero__video-toggle:active { transform: scale(0.95); }
.hero--has-video .hero__video-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.55); }
.hero--has-video .hero__video-toggle-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; }
.hero--has-video .hero__video-toggle-icon svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.hero--has-video .hero__video-toggle-icon--play { display: none; }
.hero--has-video .hero__video-toggle--paused .hero__video-toggle-icon--pause { display: none; }
.hero--has-video .hero__video-toggle--paused .hero__video-toggle-icon--play { display: inline-flex; }
.hero--has-video .hero__video-toggle[hidden] { display: none; }
@media (max-width: 767px) {
  .hero--has-video .hero__video-toggle { top: calc(var(--nav-height) + 12px); right: max(12px, calc(env(safe-area-inset-right, 0px) + 12px)); width: 40px; height: 40px; }
  .hero--has-video .hero__video-toggle-icon { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--has-video .hero__video-toggle { transition: none; }
  .hero--has-video .hero__video-toggle:active { transform: none; }
}

/* ── HERO VIDEO CONTRAST (patch-516) ──
   Centered video hero only (.hero--has-video; split video is .hero-split--has-video
   and is untouched). A fixed 60% black scrim independent of --clr-hero-gradient
   (which a project override can invalidate) guarantees cream text >= 4.5:1 on a
   pure-white frame: white under rgba(0,0,0,.6) = #666666 (L 0.133);
   cream-100 #FAF8F4 5.4:1, cream-200 #EDE8DE 4.7:1. `.hero.hero--has-video`
   (0,2,0)+ outranks the .section--light/--muted/--dark descendant rules.
   The focus ring covers every hero CTA: the global terra :focus-visible ring
   is only 1.6:1 against the scrim. */
.hero--has-video .hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.60);
  pointer-events: none;
}
.hero.hero--has-video .hero__badge { color: var(--clr-cream-100); }
.hero.hero--has-video .hero__badge-line { background: rgba(250, 248, 244, 0.45); }
.hero.hero--has-video .hero__heading { color: var(--clr-cream-100); }
.hero.hero--has-video .hero__heading-accent { color: var(--clr-cream-200); }
.hero.hero--has-video .hero__subtext { color: var(--clr-cream-100); }
.hero.hero--has-video .hero__subtext p,
.hero.hero--has-video .hero__subtext li,
.hero.hero--has-video .hero__subtext a { color: inherit; }
.hero.hero--has-video .hero__stats { border-top-color: rgba(250, 248, 244, 0.35); }
.hero.hero--has-video .hero__stat-num,
.hero.hero--has-video .hero__stat-label { color: var(--clr-cream-100); }
.hero.hero--has-video .hero__stat-divider { background: rgba(250, 248, 244, 0.45); }
.hero.hero--has-video .btn--ghost {
  background-color: transparent;
  color: var(--btn-fc, var(--clr-cream-100));
  border-color: var(--btn-fc, rgba(250, 248, 244, 0.75));
}
.hero.hero--has-video .btn--ghost:hover,
.hero.hero--has-video .btn--ghost:focus-visible {
  background-color: var(--clr-cream-100);
  border-color: var(--clr-cream-100);
  color: var(--clr-charcoal);
}
.hero.hero--has-video .hero__actions .btn:focus-visible {
  outline: 2px solid var(--clr-cream-100);
  outline-offset: 3px;
}

/* ── CONTACT MODAL (patch-520) ── */
.contact-modal[hidden] {
  display: none;
}
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
}
.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.72);
}
.contact-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--clr-cream-100);
  color: var(--clr-charcoal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--sp-10) var(--sp-8) var(--sp-8);
}
.contact-modal__title {
  font-family: var(--font-display);
  color: var(--clr-charcoal);
  font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
  margin: 0 var(--sp-12) var(--sp-3) 0;
}
.contact-modal__intro {
  color: var(--clr-ink-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--sp-6);
}
.contact-modal__intro:empty {
  display: none;
}
.contact-modal__close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--clr-charcoal);
  font-size: 1.75rem;
  line-height: 1;
  border: 1px solid var(--clr-cream-300);
  background: var(--clr-cream-100);
}
.contact-modal__close:hover {
  background: var(--clr-cream-200);
}
.contact-modal__close:focus-visible,
.contact-modal__panel :focus-visible {
  outline: 2px solid var(--clr-charcoal);
  outline-offset: 2px;
}
.contact-modal__form {
  min-width: 0;
  max-width: 100%;
}
.contact-modal__iframe {
  display: block;
  width: 100%;
  border: 0;
}
.contact-modal__form iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
}
html.contact-modal-open,
body.contact-modal-open {
  overflow: hidden;
}
@media (max-width: 767px) {
  .contact-modal {
    padding: 0;
    align-items: stretch;
  }
  .contact-modal__panel {
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    padding: var(--sp-14) 16px 16px;
  }
  .contact-modal__close {
    top: 8px;
    right: 8px;
  }
  .contact-modal__title {
    margin-right: var(--sp-12);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .contact-modal.is-open .contact-modal__backdrop {
    animation: contactModalFade .2s ease both;
  }
  .contact-modal.is-open .contact-modal__panel {
    animation: contactModalIn .25s var(--ease-out-expo) both;
  }
  @keyframes contactModalFade {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes contactModalIn {
    from { opacity: 0; transform: scale(.97); }
    to { opacity: 1; transform: none; }
  }
}

/* ── HERO MOBILE FIT (patch-524) ──
   Solano homepage hero (.hero, incl. the centered .hero--has-video), phones
   only (<=767px). Root cause: below 900px .hero is a 1-track grid (1fr =
   minmax(auto,1fr)) whose items keep min-width:auto, and .hero__stats is
   flex-wrap:nowrap, so the stats row's min-content (longest words + gaps)
   widened the track past the viewport and dragged .hero__center/.hero__subtext
   with it (clipped by .hero overflow:hidden). Mobile-only by design: no
   desktop/tablet rule is touched. ── */
@media (max-width: 767px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero > .hero__center,
  .hero > .hero__stats-bar { min-width: 0; max-width: 100%; }
  .hero__subtext { max-width: 100%; overflow-wrap: break-word; }
  .hero__actions .btn { max-width: 100%; white-space: normal; text-align: center; }
  .hero__stats { flex-wrap: wrap; column-gap: var(--sp-6); row-gap: var(--sp-4); align-items: flex-start; }
  .hero__stat { min-width: 0; max-width: 100%; }
  .hero__stat-num { font-size: 1.5rem; overflow-wrap: break-word; }
  .hero__stat-label { overflow-wrap: break-word; }
  .hero__stat-divider { display: none; }
}

/* fontScale (markup v2) */
html { font-size: 106.25%; }
