@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Playfair+Display:wght@400;700&display=swap');
:root {
  --site-max-width: 1180px;
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Brand palette */
  --color-sage: #7a8f7a;
  --color-deep-sage: #4f6a52;
  --color-mint: #a3b5a3;
  --color-soft-olive: #7e9a87;
  --color-blush: #ebc6c1;
  --color-dusty-blue: #b7c7d6;
  --color-warm-apricot: #f2d2a9;
  --color-soft-taupe: #c8c1b8;

  /* Backgrounds */
  --color-bg: #f7f6f2;
  --color-bg-alt: #efede8;
  --color-bg-glass: rgba(247, 246, 242, 0.97);
  --color-surface: #ffffff;
  --color-surface-soft: #f5f3ef;

  /* Text */
  --color-text: #2E2E2B;
  --color-text-muted: #6D6A66;

  /* Primary — Sage */
  --color-primary: #7a8f7a;
  --color-primary-hover: #4f6a52;
  --color-primary-soft: #dde6dd;
  --color-primary-softer: #edf1ed;
  --color-primary-deep: #4f6a52;

  /* Primary alpha overlays — Sage (122, 143, 122) */
  --color-primary-shadow: rgba(122, 143, 122, 0.07);
  --color-primary-focus: rgba(122, 143, 122, 0.08);
  --color-primary-border-faint: rgba(122, 143, 122, 0.15);
  --color-primary-border: rgba(122, 143, 122, 0.20);
  --color-primary-border-medium: rgba(122, 143, 122, 0.22);
  --color-primary-border-strong: rgba(122, 143, 122, 0.28);
  --color-primary-rule: rgba(122, 143, 122, 0.42);
  --color-primary-shadow-strong: rgba(122, 143, 122, 0.16);

  /* Secondary accent — Warm Apricot */
  --color-secondary: #f2d2a9;
  --color-secondary-hover: #e0b98a;
  --color-secondary-soft: #faf0e4;

  /* Borders */
  --color-border: #d4cfc7;
  --color-divider: #e0dbd3;

  /* White on dark surfaces */
  --color-white: #ffffff;
  --color-white-on-dark: rgba(255, 255, 255, 0.92);
  --color-white-on-dark-muted: rgba(255, 255, 255, 0.9);
  --color-white-on-dark-subtle: rgba(255, 255, 255, 0.18);
  --color-white-on-dark-rule: rgba(255, 255, 255, 0.35);
  --color-white-on-dark-border: rgba(255, 255, 255, 0.7);
  --color-white-on-dark-faint: rgba(255, 255, 255, 0.08);
}

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

/* The [hidden] attribute must always win, even over classes (.stack,
   .funnel-step, etc.) that set their own display value — otherwise author
   CSS silently overrides the browser's native hide-on-hidden behavior. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  /* Scales the whole rem-based type system up in one place — every
     heading, lead, and paragraph grows proportionally from here. */
  font-size: 112.5%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--color-surface);
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-primary);
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
}

a:focus-visible,
button:focus-visible,
.button:focus-visible,
.button-secondary:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--color-primary-deep);
  outline-offset: 2px;
}

.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;
}

.container {
  width: min(var(--site-max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

/* .container and .narrow have equal (single-class) specificity, so without
   this rule .narrow's plain "100%" silently wins the cascade on any element
   carrying both classes and drops .container's side gutter entirely below
   760px — text runs edge-to-edge with no padding. This keeps the 760px cap
   *and* the gutter for that combined case; .narrow used alone (nested
   inside an already-padded container) is unaffected. */
.container.narrow {
  width: min(760px, calc(100% - 2rem));
}

/* ─── Header ─────────────────────────────────────────────────── */
.site-header {
  border-bottom: 2px solid var(--color-primary-border-strong);
  position: sticky;
  top: 0;
  background: var(--color-bg-glass);
  backdrop-filter: blur(8px);
  z-index: 100;
  box-shadow: 0 2px 8px var(--color-primary-shadow);
  transition: box-shadow 0.45s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 20px var(--color-primary-shadow-strong);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 108px;
  transition: min-height 0.45s ease;
}

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

.brand-logo {
  height: 96px;
  width: auto;
  display: block;
}

.footer-logo {
  height: 68px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  margin-bottom: 0.85rem;
  opacity: 0.9;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  color: var(--color-text);
}

.header-top {
  display: flex;
  justify-content: center;
  padding: 1.25rem 0 0.85rem;
  transition: padding 0.45s ease;
}

.site-header.is-scrolled .header-top {
  padding: 0.6rem 0;
}

.header-nav-band {
  background: var(--color-primary-softer);
  border-top: 1px solid var(--color-primary-border-faint);
}

.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list a {
  text-decoration: none;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.15s ease;
}

.nav-list a:hover {
  color: var(--color-primary-deep);
}

.nav-list a[aria-current="page"] {
  color: var(--color-primary-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28rem;
}

.nav-cta {
  background: var(--color-primary-deep);
  color: var(--color-white) !important;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
  letter-spacing: 0.01em;
}

.nav-cta:hover {
  background: var(--color-primary-hover);
  color: var(--color-white) !important;
  transform: translateY(-2px);
}

/* ─── Landing page header/footer ────────────────────────────── */
.lp-header .header-shell {
  align-items: center;
}

.lp-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lp-header-link {
  font-size: 0.95rem;
  white-space: nowrap;
  color: var(--color-primary-deep);
  text-underline-offset: 0.18rem;
}

.lp-header-link:hover {
  color: var(--color-primary-hover);
}

.lp-footer .footer-grid {
  align-items: start;
}

.lp-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lp-footer .footer-links li + li {
  margin-top: 0.35rem;
}

/* ─── Main sections ──────────────────────────────────────────── */
main section {
  padding: 4rem 0;
}

.section-intro {
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-4);
}

.hero {
  padding: 6rem 0 5.5rem;
  background: linear-gradient(150deg, var(--color-primary-soft) 0%, var(--color-bg) 62%);
}

.page-hero {
  padding: 3.75rem 0 4rem;
  border-bottom: 1px solid var(--color-primary-border-medium);
  background: var(--color-bg-alt);
}

.page-hero .lead {
  color: var(--color-text-muted);
}

.page-hero .eyebrow {
  color: var(--color-primary-deep);
  border-bottom-color: var(--color-primary-rule);
}

.hero-grid,
.split-grid,
.contact-grid,
.bio-grid,
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: center;
}

.hero-copy,
.section-intro,
.stack {
  display: grid;
  gap: var(--space-3);
}

.stack-centered {
  text-align: center;
  justify-items: center;
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-deep);
  display: inline-block;
  padding-bottom: 0.3rem;
  border-bottom: 1.5px solid var(--color-primary-rule);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-primary-deep);
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--color-primary-deep);
}

p,
ul,
ol,
blockquote {
  margin: 0;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ─── Surface / card variants ────────────────────────────────── */
.hero-panel,
.info-box,
.quote,
.process-step {
  border: 1px solid var(--color-primary-border-medium);
  border-radius: var(--radius-md);
  background: var(--color-primary-softer);
  position: relative;
  box-shadow: 0 8px 24px var(--color-primary-shadow);
}

.panel {
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  position: relative;
  box-shadow: 0 6px 18px var(--color-primary-shadow);
}

.card,
.form-shell,
.timeline-item,
.resource-item,
.detail-block,
.schedule-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  position: relative;
}

.card {
  box-shadow: 0 4px 16px var(--color-primary-shadow);
  transition: box-shadow 0.32s ease, transform 0.32s ease, border-color 0.32s ease;
}

.card:hover {
  box-shadow: 0 16px 38px var(--color-primary-shadow-strong);
  transform: translateY(-6px);
  border-color: var(--color-primary-border);
}

.stat {
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-md);
  background: var(--color-primary-softer);
  position: relative;
}

.media-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: var(--space-5);
  text-align: center;
  border: 1px dashed var(--color-primary-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-style: italic;
}

.hero-panel,
.panel,
.card,
.info-box,
.form-shell,
.quote,
.timeline-item,
.stat,
.process-step,
.resource-item,
.detail-block,
.schedule-card {
  padding: var(--space-4);
}

.form-shell,
.detail-block {
  padding: var(--space-5);
}

.hero-panel h2,
.panel h3,
.info-box h3,
.quote h3,
.cta-grid h2,
.split-grid h2 {
  color: var(--color-primary-deep);
}

.section-intro h2 {
  color: var(--color-primary-deep);
}

/* Top accent bar on cards/stats */
.card::before,
.stat::before,
.resource-item::before,
.schedule-card::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 999px;
  margin-bottom: 1rem;
  opacity: 0.75;
}

/* ─── Buttons / links ────────────────────────────────────────── */
.button-row,
.inline-links,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.button,
.button-secondary,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.button,
.button-secondary {
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.button {
  background: var(--color-primary-deep);
  color: var(--color-white);
  border: 1px solid var(--color-primary-deep);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-primary-shadow-strong);
}

.button-secondary {
  background: transparent;
  color: var(--color-primary-deep);
  border: 1px solid var(--color-primary);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.button-secondary:hover {
  background: var(--color-primary-softer);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--color-primary-shadow);
}

.text-link {
  font-weight: 700;
  color: var(--color-primary-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2rem;
  text-decoration-color: var(--color-primary-border);
  transition: color 0.15s ease, text-decoration-color 0.15s ease, transform 0.15s ease;
}

.text-link:hover {
  color: var(--color-primary-hover);
  text-decoration-color: var(--color-primary-hover);
  transform: translateX(2px);
}

main p a,
main li a:not(.button):not(.button-secondary):not(.text-link),
.footer-address a,
.footer-links a,
.lp-header-link {
  color: var(--color-primary-deep);
  text-underline-offset: 0.18rem;
}

main p a:hover,
main li a:not(.button):not(.button-secondary):not(.text-link):hover,
.footer-address a:hover,
.footer-links a:hover,
.lp-header-link:hover {
  color: var(--color-primary-hover);
}

/* Tags */
.tag-row .panel {
  padding: 0.55rem 0.8rem;
  background: var(--color-surface);
  border: 1px solid var(--color-primary-border);
  border-radius: 999px;
  color: var(--color-primary-deep);
}

/* ─── Grids ──────────────────────────────────────────────────── */
.grid-2,
.grid-3,
.grid-4,
.stats-grid,
.faq-grid,
.resource-grid,
.schedule-grid {
  display: grid;
  gap: var(--space-4);
}

.grid-2,
.faq-grid,
.schedule-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.grid-4,
.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ─── Vertical rhythm ────────────────────────────────────────── */
.card > *,
.panel > *,
.form-shell > *,
.timeline-item > *,
.resource-item > *,
.detail-block > *,
.schedule-card > * {
  margin-top: 0;
}

.card > * + *,
.panel > * + *,
.form-shell > * + *,
.timeline-item > * + *,
.resource-item > * + *,
.detail-block > * + *,
.schedule-card > * + *,
.stack > * + * {
  margin-top: var(--space-3);
}

/* ─── Lists ──────────────────────────────────────────────────── */
.list-clean,
.check-list,
.number-list {
  padding-left: 1.2rem;
}

.check-list li + li,
.number-list li + li,
.list-clean li + li {
  margin-top: 0.5rem;
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  padding-left: 1.6rem;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary-deep);
  font-weight: 700;
  font-size: 0.9em;
}

.stat-number {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-text-muted);
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  border-top: 3px solid var(--color-primary);
  padding-top: var(--space-6);
  background: linear-gradient(180deg, #3d5540 0%, #283b2b 100%);
  color: var(--color-white-on-dark);
  line-height: 1.7;
  font-size: 0.95rem;
}

.site-footer h2,
.site-footer h3 {
  font-family: var(--font-sans);
  color: var(--color-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr;
  gap: var(--space-5);
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
  color: var(--color-white);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 0.65rem;
}

.footer-links a,
.footer-address a {
  color: var(--color-white-on-dark-muted);
  text-decoration: none;
}

.footer-links a:hover,
.footer-address a:hover {
  color: var(--color-white);
}

.footer-address {
  font-style: normal;
}

.footer-address p + p {
  margin-top: 0.5rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: var(--space-4) 0 var(--space-5);
  margin-top: var(--space-5);
  border-top: 1px solid var(--color-white-on-dark-subtle);
}

.footer-disclaimer-text {
  font-size: 0.8rem;
  color: var(--color-white-on-dark-muted);
  margin-bottom: var(--space-3);
  max-width: 65ch;
}

.site-footer--main .footer-grid {
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr);
  align-items: start;
}

.site-footer--main .footer-grid > section { min-width: 0; }
.site-footer--main .footer-title { margin: 0 0 var(--space-3); }
.site-footer--main .footer-brand { display: grid; gap: var(--space-3); justify-items: start; }
.site-footer--main .footer-brand p,
.site-footer--main .footer-address p { margin: 0; }
.site-footer--main .footer-brand .footer-logo { margin: 0; }
.site-footer--main .footer-social { margin-top: 0; align-items: center; }
.site-footer--main .footer-social a { width: 40px; height: 40px; }
.site-footer--main .footer-address p + p { margin-top: 0.65rem; }
.site-footer--main .footer-address a { overflow-wrap: anywhere; }
.site-footer--main .footer-disclaimer-text { max-width: none; margin: var(--space-5) 0 0; }
.site-footer--main .footer-bottom { gap: 0.5rem var(--space-4); }
.site-footer--main .footer-bottom > p { margin: 0; font-size: 0.82rem; }
.site-footer--main .footer-bottom-links { align-items: center; gap: 0.25rem 1.25rem; }
.site-footer--main .footer-bottom-links li { display: flex; align-items: center; }
.site-footer--main .footer-bottom-links a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer--main .footer-bottom-links [data-analytics-settings] { padding: 0; }

@media (max-width: 1080px) {
  .site-footer--main .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-footer--main .footer-brand {
    grid-column: 1 / -1;
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: var(--space-5);
  }
  .site-footer--main .footer-brand p { grid-column: 2; grid-row: 1 / span 2; max-width: none; }
}

@media (max-width: 900px) {
  .site-footer--main .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .site-footer--main .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer--main .footer-brand { grid-template-columns: minmax(0, 1fr); }
  .site-footer--main .footer-brand p { grid-column: auto; grid-row: auto; }
  .site-footer--main .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── Text contrast on tinted surfaces ───────────────────────── */
.section-tint-teal h2,
.section-tint-teal h3,
.section-tint-teal-light h2,
.section-tint-teal-light h3,
.section-border-top.section-border-bottom h2,
.section-border-top.section-border-bottom h3,
.stat h2,
.hero-panel h2,
.info-box h2,
.info-box h3,
.quote h3,
.process-step h3 {
  color: var(--color-text);
}

.section-tint-teal .eyebrow,
.section-tint-teal-light .eyebrow,
.section-border-top.section-border-bottom .eyebrow {
  color: var(--color-primary-deep);
  border-bottom-color: var(--color-primary-deep);
}

.section-tint-teal .lead,
.section-tint-teal-light .lead,
.section-border-top.section-border-bottom .lead {
  color: var(--color-text);
}

/* Quote card left accent */
.quote {
  border-left: 3px solid var(--color-primary);
}

/* ─── Section utilities ──────────────────────────────────────── */
.section-border-top {
  border-top: 1px solid var(--color-primary-border-faint);
}

.section-border-bottom {
  border-bottom: 1px solid var(--color-primary-border-faint);
}

.section-border-top.section-border-bottom {
  background: var(--color-bg-alt);
}

.section-tint-teal {
  background: var(--color-primary-soft);
}

.section-tint-teal-light {
  background: var(--color-primary-softer);
}

.section-tint-neutral {
  background: var(--color-bg-alt);
}

.section-band-deep {
  background: var(--color-primary-deep);
  color: var(--color-white);
}

.section-band-deep h1,
.section-band-deep h2,
.section-band-deep h3,
.section-band-deep p,
.section-band-deep li,
.section-band-deep .eyebrow,
.section-band-deep .lead {
  color: var(--color-white);
}

.section-band-deep .eyebrow {
  border-bottom-color: var(--color-white-on-dark-rule);
}

.section-band-deep .button {
  background: var(--color-white);
  color: var(--color-primary-deep);
  border-color: var(--color-white);
}

.section-band-deep .button:hover {
  background: var(--color-white-on-dark);
  color: var(--color-primary-deep);
  border-color: var(--color-white-on-dark);
}

.section-band-deep .button-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white-on-dark-border);
}

.section-band-deep .button-secondary:hover {
  background: var(--color-white-on-dark-faint);
}

/* ─── Forms ──────────────────────────────────────────────────── */
.form-row {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 0.5rem;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

legend {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0;
}

label {
  font-weight: 700;
  font-size: 0.9rem;
}

.required-mark {
  color: var(--color-primary-deep);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-text);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--color-primary-border-medium);
  outline-offset: 0;
  border-color: var(--color-primary-deep);
  box-shadow: 0 0 0 3px var(--color-primary-focus);
}

/* ─── Practitioner subnav ────────────────────────────────────── */
.practitioner-subnav {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-primary-softer);
  padding: var(--space-2) 0;
}

.practitioner-subnav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.practitioner-subnav-label {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary-deep);
}

.practitioner-subnav-list a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 600;
}

.practitioner-subnav-list a:hover {
  color: var(--color-primary-deep);
}

.practitioner-subnav-list a[aria-current="page"] {
  color: var(--color-primary-deep);
  font-weight: 700;
}

/* ─── Accordion (details/summary) ────────────────────────────── */
.accordion-group {
  display: grid;
  gap: 0.5rem;
}

details.accordion {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
  box-shadow: 0 3px 12px var(--color-primary-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

details.accordion[open] {
  border-color: var(--color-primary-border);
  box-shadow: 0 8px 26px var(--color-primary-shadow-strong);
}

details.accordion summary {
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-text);
  user-select: none;
  transition: color 0.15s ease;
  line-height: 1.4;
}

details.accordion summary::-webkit-details-marker {
  display: none;
}

details.accordion summary:hover {
  color: var(--color-primary-deep);
}

details.accordion summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.35rem;
  color: var(--color-primary-deep);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
  min-width: 1.35rem;
  text-align: center;
}

details.accordion[open] summary::after {
  content: "−";
}

.accordion-body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--color-primary-border-faint);
  margin-top: 0;
}

.accordion-body > * + * {
  margin-top: 0.75rem;
}

/* ─── Testimonials ───────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: box-shadow 0.32s ease, transform 0.32s ease, border-color 0.32s ease;
}

.testimonial-card:hover {
  box-shadow: 0 12px 36px var(--color-primary-shadow-strong);
  transform: translateY(-5px);
  border-color: var(--color-primary-border);
}

.testimonial-mark {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.25rem;
}

.testimonial-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.testimonial-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text);
  flex: 1;
}

.testimonial-attribution {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary-deep);
  letter-spacing: 0.01em;
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-primary-border-faint);
}

/* ─── Scroll reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger delays for grids */
.reveal:nth-child(2) { transition-delay: 0.12s; }
.reveal:nth-child(3) { transition-delay: 0.24s; }
.reveal:nth-child(4) { transition-delay: 0.36s; }
.reveal:nth-child(5) { transition-delay: 0.48s; }
.reveal:nth-child(6) { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── Misc component utilities ───────────────────────────────── */
.page-hero-photo {
  background: linear-gradient(180deg, rgba(240, 245, 244, 0.94), rgba(251, 248, 242, 0.96));
}

.contact-grid-balanced {
  align-items: start;
}

.form-shell-elevated {
  box-shadow: 0 18px 50px rgba(122, 143, 122, 0.09);
  border-color: rgba(122, 143, 122, 0.12);
}

.small-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.therapist-stack {
  gap: 2rem;
}

.therapist-block {
  padding: 2rem;
  border: 1px solid rgba(122, 143, 122, 0.12);
  box-shadow: 0 16px 40px rgba(122, 143, 122, 0.06);
}

.detail-block {
  box-shadow: 0 8px 32px var(--color-primary-shadow);
}

.therapist-copy {
  max-width: 58ch;
}

.therapist-photo-slot {
  display: flex;
  align-items: stretch;
}

.media-photo-tall {
  min-height: 460px;
  width: 100%;
  border-style: solid;
  border-color: rgba(122, 143, 122, 0.10);
  background: linear-gradient(135deg, rgba(241, 236, 228, 0.95), rgba(221, 230, 221, 0.85));
}

.bio-grid-reversed {
  align-items: center;
}

/* ─── FAQ item (static, for non-accordion fallback) ─────────── */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: var(--space-4);
  box-shadow: 0 3px 12px var(--color-primary-shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 24px var(--color-primary-shadow-strong);
  border-color: var(--color-primary-border);
}

.faq-item > * + * {
  margin-top: var(--space-3);
}

/* ─── Trust strip (credentials/logos row) ────────────────────── */
.trust-strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  overflow-x: auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0;
  text-transform: uppercase;
  flex: 1;
}

.trust-item::before {
  content: "✓";
  color: var(--color-primary-deep);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════════
   MOCKUP DESIGN SYSTEM — components matching the approved mockups
   ══════════════════════════════════════════════════════════════════ */

/* ─── Header / dropdown nav ──────────────────────────────────────── */
/* Brand-forward wordmark, sized up so the logo reads as its own moment
   on the top row, with the nav bar living on a separate band below it. */
.header-shell {
  min-height: 128px;
}

.brand-logo {
  height: 100px;
  transition: height 0.45s ease;
}

.site-header.is-scrolled .header-shell {
  min-height: 84px;
}

.site-header.is-scrolled .brand-logo {
  height: 68px;
}

.nav-list {
  gap: var(--space-3);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-caret {
  appearance: none;
  background: transparent;
  border: 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  width: 0.4em;
  height: 0.4em;
  padding: 0;
  margin: 0.1rem 0 0 0.15rem;
  color: inherit;
  transform: rotate(45deg);
  opacity: 0.55;
  transition: transform 0.18s ease;
  flex-shrink: 0;
  cursor: pointer;
}

.site-header:not([data-nav-ready]) .nav-item:hover .nav-caret,
.site-header:not([data-nav-ready]) .nav-item:focus-within .nav-caret,
.nav-item.is-open .nav-caret {
  transform: rotate(225deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -0.5rem;
  min-width: 230px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(45, 43, 38, 0.12);
  padding: 0.5rem;
  list-style: none;
  margin: 0.65rem 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 200;
  max-height: min(70vh, 34rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-header:not([data-nav-ready]) .nav-item:hover .dropdown-menu,
.site-header:not([data-nav-ready]) .nav-item:focus-within .dropdown-menu,
.nav-item.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-text);
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: var(--color-primary-softer);
  color: var(--color-primary-deep);
}

.dropdown-menu li + li {
  margin-top: 0.1rem;
}

.keep-desktop-line {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .keep-desktop-line {
    white-space: normal;
  }
}

/* ─── Eyebrow rule accent (short colored dash under eyebrow/headline) ── */
.accent-rule {
  width: 46px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 999px;
  margin: 0.35rem 0 0.15rem;
}

.accent-italic {
  font-style: italic;
  color: var(--color-primary-deep);
}

.accent-dot {
  color: var(--color-secondary-hover);
  font-style: normal;
}

/* ─── Home hero split ─────────────────────────────────────────────── */
.home-hero {
  padding: 3.25rem 0 0;
  background: linear-gradient(160deg, var(--color-primary-soft) 0%, var(--color-bg) 58%);
  overflow: hidden;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: var(--space-6);
  align-items: center;
  padding-bottom: 2rem;
}

/* Organic wave divider — a drawn shape, not a cropped photo, so it overlaps
   the hero image without needing any pre-edited asset. */
.home-hero-wave {
  position: relative;
  z-index: 1;
  margin-top: -128px;
  line-height: 0;
  pointer-events: none;
}

.home-hero-wave svg {
  display: block;
  width: 100%;
  height: 150px;
}

.home-hero-copy {
  display: grid;
  gap: var(--space-3);
}

.home-hero-media {
  border-radius: 220px 220px 32px 32px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(79, 106, 82, 0.16);
  aspect-ratio: 4 / 4.3;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-ken-burns 20s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

/* One slow, one-time zoom on the homepage portrait — not a loop, just a
   quiet sense of life in the hero moment. */
@keyframes hero-ken-burns {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}

.hero-note .leaf-mark {
  color: var(--color-primary-deep);
}

/* ─── Image cards with overlay (How We Help) ─────────────────────── */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-4);
}

/* Homepage services: eight cards in two even desktop rows. */
@media (min-width: 1081px) {
  .tile-grid--home-services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--color-white);
  text-decoration: none;
  isolation: isolate;
}

.tile-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  z-index: -2;
}

.tile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45, 43, 38, 0) 35%, rgba(30, 33, 25, 0.78) 100%);
  z-index: -1;
}

.tile-card:hover img {
  transform: scale(1.08);
}

.tile-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-surface);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.tile-icon img {
  position: static;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Self-contained badge icons (color + mark baked into the SVG) skip the white puck */
.tile-icon--badge {
  width: 54px;
  height: 54px;
  background: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.tile-icon--badge img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.tile-card-body {
  padding: 1.25rem;
  display: grid;
  gap: 0.4rem;
}

.tile-card-body h3 {
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.tile-card-body p {
  font-size: 0.88rem;
  color: var(--color-white-on-dark-muted);
  line-height: 1.5;
}

.tile-arrow {
  font-size: 1.1rem;
}

/* ─── Trust columns (outline icon rows) ──────────────────────────── */
.trust-cols {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: var(--space-4);
  text-align: center;
}

.trust-col {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
}

.trust-col img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.trust-col h3 {
  font-size: 0.95rem;
}

.trust-col p {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ─── Growth journey steps ────────────────────────────────────────── */
.journey-section {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: var(--space-5);
  align-items: center;
}

.journey-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.25rem;
}

.journey-step {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  text-align: center;
  width: 108px;
}

.journey-step img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.journey-step h3 {
  font-size: 0.92rem;
}

.journey-step p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.journey-arrow {
  color: var(--color-primary-deep);
  opacity: 0.55;
  font-size: 1.1rem;
  padding-top: 1.6rem;
  flex-shrink: 0;
}

/* ─── Founder / photo split with name tags ───────────────────────── */
.founder-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(79, 106, 82, 0.14);
}

.founder-media img {
  width: 100%;
  display: block;
}

.founder-tags {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.founder-tag {
  background: rgba(247, 246, 242, 0.94);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  line-height: 1.35;
  color: var(--color-text);
  display: grid;
  gap: 0.15rem;
}

.founder-tag-name {
  display: block;
  font-size: 0.9rem;
  color: var(--color-primary-deep);
}

.founder-tag-credentials {
  display: block;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.founder-tag-role {
  display: block;
  font-size: 0.78rem;
}

@media (max-width: 640px) {
  .founder-tags {
    position: static;
    padding: 1rem;
  }
}

/* ─── Program / community tile cards (image, no overlay icon) ───── */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.program-card {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 0.75rem;
}

.program-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  box-shadow: 0 10px 28px var(--color-primary-shadow);
}

.program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.program-card:hover .program-media img {
  transform: scale(1.08);
}

.program-card h3 {
  font-size: 1rem;
}

.program-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* ─── Provider CTA band ──────────────────────────────────────────── */
.provider-band {
  background: var(--color-primary-deep);
  color: var(--color-white);
  padding: var(--space-5) 0;
}

.provider-band-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-5);
}

.provider-band-intro {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.provider-band-icon {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 1.5px solid var(--color-white-on-dark-border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Icon already draws its own ring — drop the wrapper's so they don't double up */
.provider-band-icon--badge {
  border: none;
}

.provider-band-icon--badge img {
  width: 100%;
  height: 100%;
}

.provider-band-icon img {
  width: 60px;
  height: 60px;
  filter: brightness(0) invert(1);
}

.provider-band h3 {
  color: var(--color-white);
  font-size: 1.05rem;
}

.provider-band-intro p {
  font-size: 0.85rem;
  color: var(--color-white-on-dark-muted);
  margin-top: 0.15rem;
}

.provider-band-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.provider-band-links h4 {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 0.2rem;
}

.provider-band-links p {
  font-size: 0.8rem;
  color: var(--color-white-on-dark-muted);
  line-height: 1.4;
}

.provider-band .button {
  background: var(--color-white);
  color: var(--color-primary-deep);
  border-color: var(--color-white);
  white-space: nowrap;
}

.provider-band .button:hover {
  background: var(--color-white-on-dark);
}

/* ─── Footer (mockup structure) ──────────────────────────────────── */
.footer-brand p {
  font-size: 0.88rem;
  max-width: 34ch;
  color: var(--color-white-on-dark-muted);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-white-on-dark-subtle);
  display: grid;
  place-items: center;
  color: var(--color-white);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.footer-social a:hover {
  background: var(--color-white-on-dark-faint);
  border-color: var(--color-white-on-dark-border);
}

.footer-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
}

.footer-bottom-links a {
  color: var(--color-white-on-dark-muted);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: var(--color-white);
}

/* ─── Page hero with photo (interior pages) ──────────────────────── */
.photo-hero {
  padding: 2.5rem 0 3.5rem;
  background: var(--color-bg);
}

.photo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-6);
  align-items: center;
}

.photo-hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(79, 106, 82, 0.15);
  aspect-ratio: 5 / 4;
}

.photo-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-hero-copy h1 .accent-italic {
  display: block;
}

/* ─── Full-width feature photo (signature moment) ────────────────── */
.feature-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 2.2 / 1;
  box-shadow: 0 24px 60px rgba(79, 106, 82, 0.18);
}

/* ─── Map embed (Find Us) ────────────────────────────────────────── */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px var(--color-primary-shadow);
  border: 1px solid var(--color-primary-border-faint);
  aspect-ratio: 16 / 7;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 720px) {
  .map-embed {
    aspect-ratio: 4 / 3.6;
  }
}

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

.feature-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-5) var(--space-5) var(--space-4);
  background: linear-gradient(180deg, rgba(20, 26, 18, 0) 0%, rgba(20, 26, 18, 0.62) 100%);
}

.feature-photo-caption .eyebrow {
  color: var(--color-white);
  opacity: 0.85;
}

.feature-photo-caption h2,
.feature-photo-caption p {
  color: var(--color-white);
}

.feature-photo-caption h2 {
  font-size: 1.5rem;
  max-width: 34ch;
}

@media (max-width: 720px) {
  .feature-photo {
    aspect-ratio: 4 / 3.4;
    border-radius: var(--radius-md);
  }
  .feature-photo-caption h2 {
    font-size: 1.2rem;
  }
}

/* ─── Two-panel challenge/answer block ───────────────────────────── */
.challenge-panel {
  background: var(--color-surface-soft);
  border: 1px solid var(--color-primary-border-faint);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px var(--color-primary-shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.challenge-panel > div {
  padding: var(--space-5);
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.challenge-panel > div + div {
  border-left: 1px solid var(--color-primary-border-faint);
}

.challenge-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-primary-softer);
}

.challenge-icon img {
  width: 26px;
  height: 26px;
}

.challenge-panel h2 {
  font-size: 1.35rem;
}

/* ─── Care model: center photo + surrounding items ───────────────── */
.care-model {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-4);
  align-items: center;
}

.care-model-col {
  display: grid;
  gap: var(--space-4);
}

.care-model-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.care-model-col:last-child .care-model-item {
  flex-direction: row-reverse;
  text-align: right;
}

.care-model-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary-softer);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.care-model-icon img {
  width: 22px;
  height: 22px;
}

/* Self-contained badge icons (color + mark baked into the SVG) skip the sage puck */
.care-model-icon--badge {
  background: none;
}

.care-model-icon--badge img {
  width: 100%;
  height: 100%;
}

.care-model-item h3 {
  font-size: 0.95rem;
}

.care-model-photo {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--color-surface);
  box-shadow: 0 0 0 1px var(--color-primary-border-faint), 0 20px 44px rgba(79, 106, 82, 0.16);
  justify-self: center;
}

.care-model-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.care-model-caption {
  text-align: center;
  font-style: italic;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

/* ─── Symptom / info icon columns (feeding therapy "whole picture") ── */
.info-cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-4);
  text-align: center;
}

.info-col {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
}

.info-col img {
  width: 40px;
  height: 40px;
}

.info-col h3 {
  font-size: 0.92rem;
}

/* Fixed column-count variants, used in place of an inline
   grid-template-columns override so mobile collapse still applies. */
.info-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-col p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* ─── Checklist columns with icon bullets ────────────────────────── */
.icon-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.icon-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
}

.icon-check-list .icon-check-bullet {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--color-primary-softer);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.icon-check-list .icon-check-bullet img {
  width: 20px;
  height: 20px;
}

/* Two-column "commonly help" checklist */
.tag-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}

.tag-check-grid .check-list {
  margin: 0;
}

/* ─── Condition rows (numbered, alternating media) ───────────────── */
.condition-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px var(--color-primary-shadow);
}

.condition-row.is-reversed {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.condition-row.is-reversed .condition-media {
  order: 2;
}

.condition-media {
  min-height: 280px;
}

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

.condition-content {
  padding: var(--space-5);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
  align-content: center;
  background: var(--color-surface-soft);
}

.condition-row:nth-child(odd) .condition-content {
  background: var(--color-bg);
}

.condition-index {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-deep);
  display: block;
  margin-bottom: 0.5rem;
}

.condition-content h2 {
  font-size: 1.4rem;
}

.condition-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  align-self: center;
}

.condition-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.15rem 0;
  border-bottom: 1px solid var(--color-primary-border-faint);
}

.condition-links a:hover {
  color: var(--color-primary-deep);
}

.condition-links .leaf-mark {
  color: var(--color-primary-deep);
  flex-shrink: 0;
}

/* ─── Simple icon + text + button CTA row (final band variant) ──── */
.cta-band-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.cta-band-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--color-white-on-dark-border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cta-band-icon img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}

.cta-band-row p {
  margin: 0;
  flex: 1;
}

.cta-band-row .button {
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .cta-band-row {
    flex-direction: column;
    text-align: center;
  }
}

/* ─── Quote banner (about page) ──────────────────────────────────── */
.quote-banner {
  background: var(--color-primary-softer);
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: var(--space-5);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.quote-banner::before {
  content: url("../images/custom-icons/12.svg");
  position: absolute;
  top: 0.5rem;
  left: var(--space-5);
  width: 2.75rem;
  line-height: 1;
  opacity: 0.4;
}

.quote-banner::after {
  content: "";
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 140px;
  height: 140px;
  background: url("../images/custom-icons/19.svg") no-repeat center / contain;
  opacity: 0.16;
  pointer-events: none;
}

.quote-banner blockquote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.4;
  margin: 1.75rem 0 0;
  color: var(--color-primary-deep);
}

.quote-banner .signature {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  margin-top: 0.75rem;
  color: var(--color-primary-deep);
}

.quote-banner-photo {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.quote-banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Mission band (bold statement moment, mission + vision stacked) ── */
.mission-band {
  background: linear-gradient(160deg, #3d5540 0%, #283b2b 100%);
  position: relative;
  overflow: hidden;
  padding: var(--space-7) 0;
}

.mission-band::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 340px;
  height: 340px;
  background: url("../images/custom-icons/19.svg") no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
}

.mission-band .container {
  position: relative;
  max-width: 720px;
  text-align: center;
}

.mission-band .eyebrow {
  color: var(--color-white-on-dark);
  border-bottom-color: var(--color-white-on-dark-rule);
}

.mission-band h2 {
  color: var(--color-white);
}

.mission-stack {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-5);
}

.mission-block {
  display: grid;
  gap: 0.75rem;
}

.mission-block-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--color-white);
}

.mission-block p {
  color: var(--color-white-on-dark-muted);
  line-height: 1.75;
  margin: 0 auto;
  max-width: 58ch;
}

.mission-divider-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.mission-divider-mark::before,
.mission-divider-mark::after {
  content: "";
  height: 1px;
  width: 64px;
  background: var(--color-white-on-dark-rule);
}

.mission-divider-mark img {
  width: 26px;
  height: 26px;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

/* ─── Values, stacked with graphic index markers ─────────────────── */
.value-stack {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.value-stack::before {
  content: "";
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-primary-border);
}

.value-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-primary-border-faint);
}

.value-row:last-child {
  border-bottom: none;
}

.value-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.value-index {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-secondary-hover);
  line-height: 1;
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-primary-border);
  display: grid;
  place-items: center;
}

.value-icon img {
  width: 22px;
  height: 22px;
}

/* A restrained pass of the handbook's minor palette — one ring color per
   value, framing the icon rather than filling behind it so the icon's own
   baked-in colors stay clean. */
.value-row:nth-child(1) .value-icon { border-color: var(--color-mint); }
.value-row:nth-child(2) .value-icon { border-color: var(--color-dusty-blue); }
.value-row:nth-child(3) .value-icon { border-color: var(--color-soft-olive); }
.value-row:nth-child(4) .value-icon { border-color: var(--color-blush); }

.value-copy h3 {
  margin-bottom: 0.35rem;
}

@media (max-width: 640px) {
  .value-row {
    grid-template-columns: 52px 1fr;
    gap: var(--space-3);
  }
  .value-stack::before {
    left: 25px;
  }
  .value-icon {
    width: 34px;
    height: 34px;
  }
  .value-icon img {
    width: 17px;
    height: 17px;
  }
}

/* ─── Responsive: mockup components ──────────────────────────────── */
@media (max-width: 1080px) {
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .provider-band-inner { grid-template-columns: 1fr; text-align: left; }
  .provider-band-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .info-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .care-model { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .care-model-col:last-child .care-model-item { flex-direction: row; text-align: left; }
  .care-model-item { text-align: left; }
}

@media (max-width: 900px) {
  .home-hero-grid,
  .photo-hero-grid,
  .journey-section,
  .challenge-panel,
  .condition-row,
  .condition-row.is-reversed,
  .quote-banner {
    grid-template-columns: 1fr;
  }

  .challenge-panel > div + div {
    border-left: none;
    border-top: 1px solid var(--color-primary-border-faint);
  }

  .condition-row.is-reversed .condition-media {
    order: 0;
  }

  .condition-content {
    grid-template-columns: 1fr;
  }

  .journey-steps {
    flex-wrap: wrap;
    justify-content: center;
  }

  .journey-arrow {
    display: none;
  }

  .journey-step {
    width: 130px;
  }

  .quote-banner-photo {
    margin: 0 auto;
  }

  .quote-banner {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .tile-grid,
  .program-grid,
  .trust-cols,
  .info-cols,
  .info-cols-4,
  .provider-band-links {
    grid-template-columns: 1fr 1fr;
  }

  .tile-grid--home-services .tile-card {
    aspect-ratio: 4 / 3;
    min-height: min-content;
    border-radius: var(--radius-md);
  }

  .tile-grid--home-services .tile-card-body {
    padding: 0.75rem;
  }

  .tile-grid--home-services .tile-card-body h3 {
    font-size: 0.95rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .tile-grid--home-services .tile-arrow {
    display: none;
  }

  .info-cols-3 {
    grid-template-columns: 1fr;
  }

  .tag-check-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ─── Responsive ─────────────────────────────────────────────── */
/* Nav collapses to a hamburger below the logo — the services dropdown
   alone now lists eight items, too many to fit a laptop-width row. */
@media (max-width: 1240px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-nav-row {
    flex-wrap: wrap;
    justify-content: flex-start;
    min-height: auto;
    padding: 0.6rem 0;
  }

  .site-nav {
    width: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0.75rem 0 1rem;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list .nav-cta {
    margin-top: 0.5rem;
  }

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

  .nav-item > a {
    flex: 1 1 auto;
    padding: 0.6rem 0;
  }

  .nav-item .nav-caret {
    padding: 0.6rem;
    margin: 0;
  }

  .dropdown-menu {
    flex: 1 0 100%;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0.25rem 1rem;
    margin: 0;
    max-height: 0;
    overflow: hidden;
  }

  .nav-item.is-open .dropdown-menu {
    max-height: 560px;
  }

  .header-top {
    padding: 1rem 0 0.75rem;
  }

  .brand-logo {
    height: 72px;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split-grid,
  .contact-grid,
  .bio-grid,
  .cta-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .stats-grid,
  .faq-grid,
  .resource-grid,
  .schedule-grid,
  .testimonial-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .lp-header .header-shell {
    flex-wrap: wrap;
    row-gap: 0.65rem;
    gap: 1rem;
  }

  .lp-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .therapist-block {
    padding: 1.25rem;
  }

  .media-photo-tall {
    min-height: 320px;
  }

  .trust-strip {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3) var(--space-4);
  }
}

/* ══════════════════════════════════════════════════════════════════
   FUNNEL — multi-step intake forms (expo / campaign QR landing pages)
   ══════════════════════════════════════════════════════════════════ */

.funnel-shell {
  width: min(600px, 100%);
  margin: 0 auto;
}

.funnel-progress {
  display: grid;
  gap: 0.5rem;
  margin-bottom: var(--space-4);
}

.funnel-progress-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.funnel-progress-track {
  height: 6px;
  border-radius: 999px;
  background: var(--color-primary-softer);
  overflow: hidden;
}

.funnel-progress-bar {
  height: 100%;
  background: var(--color-primary);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.funnel-step {
  display: grid;
  gap: var(--space-4);
}

.funnel-step-head {
  display: grid;
  gap: 0.35rem;
}

.funnel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.funnel-nav-spacer {
  flex: 1;
}

/* Selectable option cards — multi-select (checkboxes) */
.option-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

@media (min-width: 560px) {
  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.option-card {
  position: relative;
  display: flex;
}

.option-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.option-card-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 44px;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.option-card-label::before {
  content: "";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.option-card input:checked + .option-card-label {
  border-color: var(--color-primary-deep);
  background: var(--color-primary-softer);
  box-shadow: 0 0 0 3px var(--color-primary-focus);
}

.option-card input:checked + .option-card-label::before {
  content: "✓";
  border-color: var(--color-primary-deep);
  background: var(--color-primary);
}

.option-card input:focus-visible + .option-card-label {
  outline: 2px solid var(--color-primary-border-medium);
  outline-offset: 2px;
}

/* Selectable pill groups — single-select (radios) */
.pill-group,
.pill-group-compact {
  display: grid;
  gap: 0.6rem;
}

.pill-group-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pill-option {
  position: relative;
  display: flex;
}

.pill-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.pill-option-label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 44px;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.pill-group .pill-option-label {
  justify-content: flex-start;
  text-align: left;
}

.pill-option input:checked + .pill-option-label {
  border-color: var(--color-primary-deep);
  background: var(--color-primary-softer);
  color: var(--color-primary-deep);
  box-shadow: 0 0 0 3px var(--color-primary-focus);
}

.pill-option input:focus-visible + .pill-option-label {
  outline: 2px solid var(--color-primary-border-medium);
  outline-offset: 2px;
}

/* Conditional field reveal */
.field-reveal {
  animation: funnel-fade-in 0.25s ease;
}

@keyframes funnel-fade-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form status message (success / error) */
.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
}

.form-status[data-state="success"] {
  background: var(--color-primary-softer);
  color: var(--color-primary-deep);
  border: 1px solid var(--color-primary-border);
}

.form-status[data-state="error"] {
  background: #f7ece9;
  color: #8a4a3f;
  border: 1px solid rgba(138, 74, 63, 0.25);
}

/* Terms of Use / Privacy Policy acknowledgment (sits above the submit button) */
.terms-ack {
  display: grid;
  gap: 0.4rem;
}

.terms-ack-label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  font-size: 0.92rem;
  line-height: 1.55;
  cursor: pointer;
}

.terms-ack-label input {
  width: 20px;
  height: 20px;
  margin-top: 0.12rem;
  accent-color: var(--color-primary-deep);
}

.terms-ack-label input:focus-visible {
  outline: 3px solid var(--color-primary-focus);
  outline-offset: 2px;
}

.terms-ack a,
.option-card-label a {
  color: var(--color-primary-deep);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.terms-ack-error {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #8a4a3f;
}

/* Confirmation panel */
.confirmation-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-primary-softer);
  border: 1px solid var(--color-primary-border);
  color: var(--color-primary-deep);
  font-size: 1.5rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .pill-group-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Navigation is usable before enhancement and when JavaScript is unavailable. */
.site-header:not([data-nav-ready]) .nav-toggle,
.site-header:not([data-nav-ready]) .nav-caret { display: none; }
.nav-item .nav-caret { position: relative; min-width: 28px; min-height: 28px; border: 0; transform: none; }
.nav-item .nav-caret::after {
  content: ""; position: absolute; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  left: calc(50% - 4px); top: calc(50% - 6px); transform: rotate(45deg);
}
.nav-item.is-open .nav-caret::after { transform: rotate(225deg); top: calc(50% - 2px); }
.nav-item.is-open .nav-caret { transform: none; }
main { scroll-margin-top: 12rem; }
main:focus { outline: none; }
@media (max-width: 1240px) {
  .site-header:not([data-nav-ready]) { position: static; }
  .site-header:not([data-nav-ready]) .nav-list { display: flex; }
  .site-header:not([data-nav-ready]) .dropdown-menu { max-height: none; }
  .nav-item .nav-caret { min-width: 44px; min-height: 44px; }
  .site-header[data-nav-ready] .nav-list.is-open { max-height: calc(100dvh - 8rem); overflow-y: auto; }
  .nav-item.is-open .dropdown-menu { max-height: none; }
  main { scroll-margin-top: 10rem; }
}

/* Keep desktop labels on one line and scope dark-footer text to the footer. */
.nav-list > li > a { white-space: nowrap; }
main .footer-address a { color: var(--color-primary-deep); }

/* Text-only biographies remain complete when a headshot is unavailable. */
.bio-grid:has(> .media-placeholder[aria-hidden="true"]) { grid-template-columns: minmax(0, 1fr); max-width: 900px; margin-inline: auto; }
.media-placeholder[aria-hidden="true"] { display: none; }


/* Header navigation refresh: social links stay visible beside the logo. */
.header-top {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.header-social a {
  color: var(--color-primary-deep);
  font-weight: 700;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--color-primary-border);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.header-social a:hover {
  background: var(--color-primary-softer);
}

.nav-list {
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.65rem;
}

/* Eight desktop links need slightly more room than the page content column.
   Keep the menu on one row; the existing 1240px breakpoint handles smaller screens. */
@media (min-width: 1241px) {
  .header-nav-row {
    width: min(1280px, calc(100% - 2rem));
  }

  .site-nav,
  .nav-list {
    width: 100%;
  }

  .nav-list > li {
    flex: 0 0 auto;
  }
}

.nav-list .nav-cta-secondary {
  background: transparent;
  color: var(--color-primary-deep);
  border: 1px solid var(--color-primary-deep);
}

.nav-list .nav-cta-secondary:hover {
  background: var(--color-primary-softer);
  color: var(--color-primary-deep) !important;
}

@media (max-width: 1240px) {
  .header-top {
    justify-content: space-between;
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-list > li > a {
    display: inline-flex;
    width: auto;
  }

  .nav-list .nav-cta {
    margin-top: 0.3rem;
  }
}

@media (max-width: 480px) {
  .header-top {
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }

  .site-header.is-scrolled .header-top {
    padding: 0.45rem 0;
  }

  .header-social a {
    min-height: 40px;
  }
}


.program-card--image {
  position: relative;
  display: block;
  color: var(--color-white);
  text-decoration: none;
}

.program-card--image .program-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
}

.program-card--image .program-media::after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(180deg, transparent, rgba(30, 42, 32, 0.78));
}

.program-card--image h3 {
  position: absolute;
  z-index: 1;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  color: var(--color-white);
  font-size: 1.05rem;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.program-card--image p {
  display: none;
}

.program-card--image:focus-visible {
  outline: 2px solid var(--color-primary-deep);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}


/* How We Care icons share a single deep-sage color and aligned headings. */
.how-we-care-page .challenge-icon img,
.how-we-care-page .care-model-icon img,
.how-we-care-page .info-cols img {
  filter: brightness(0) saturate(100%) invert(33%) sepia(13%) saturate(1054%) hue-rotate(72deg) brightness(94%) contrast(88%);
}

.how-we-care-page .care-model-item {
  min-height: 64px;
  align-items: center;
}

.how-we-care-page .care-model-item h3,
.how-we-care-page .info-cols-4 .info-col h3 {
  display: flex;
  align-items: center;
  min-height: 2.5em;
  margin: 0;
}


@media (min-width: 900px) {
  .about-page .value-copy h3 {
    font-size: clamp(1rem, 1.45vw, 1.25rem);
    white-space: nowrap;
  }
}

@media (max-width: 899px) {
  .about-page .value-copy h3 {
    white-space: normal;
  }
}
