/* =============================================================
   EMPOWERED JOURNEYS ABA — Website Design System
   Colors derived from the approved logo files.
   Slogan: Empowering Growth. Building Independence.
   ============================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand core (sampled from logo) */
  --navy: #03285D;
  --navy-700: #0A3A7A;
  --navy-300: #7C93B8;
  --green: #639729;          /* decorative brand green */
  --green-deep: #3F6B17;     /* accessible text/buttons (>=4.5:1 on white) */
  --green-700: #34590F;
  --leaf-orange: #F88503;
  --orange-deep: #A64A00;    /* accessible orange text/accents (>=4.5:1 on bg) */
  --leaf-purple: #7F27A2;
  --leaf-blue: #0073E0;
  --blue-deep: #0058A6;      /* accessible blue text/accents (>=4.5:1 on bg) */
  --leaf-red: #D70B16;
  --gold: #F5A623;

  /* Neutrals / surfaces (warm) */
  --bg: #FFFCF6;             /* warm white */
  --bg-tint-green: #F1F6EC;  /* soft green tint */
  --bg-tint-warm: #FFF6E9;   /* soft gold tint */
  --bg-tint-blue: #EEF5FD;
  --bg-tint-purple: #F5EEF9;
  --card: #FFFFFF;
  --ink: #17233B;            /* body text (>=12:1 on bg) */
  --ink-soft: #4A566C;       /* secondary text (>=6:1) */
  --line: #E7E3D8;           /* borders on warm bg */
  --line-soft: #F0ECE2;

  /* Semantic */
  --primary: var(--green-deep);
  --primary-hover: var(--green-700);
  --secondary: var(--navy);
  --secondary-hover: #052A66;
  --focus: #0A66C2;

  /* Type */
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  /* Spacing scale */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px;

  /* Radius */
  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;

  /* Shadows (soft, warm) */
  --shadow-sm: 0 2px 8px rgba(3, 40, 93, .06);
  --shadow-md: 0 8px 24px rgba(3, 40, 93, .09);
  --shadow-lg: 0 18px 48px rgba(3, 40, 93, .13);
  --shadow-focus: 0 0 0 3px #fff, 0 0 0 6px var(--focus);

  --container: 1180px;
  --header-h: 104px;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* keep anchor-jump targets clear of the sticky header */
:target { scroll-margin-top: calc(var(--header-h) + 14px); }
[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
ul { padding-left: 1.2em; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { text-wrap: pretty; }

/* ---------- 3. Layout helpers ---------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 40px, 820px); margin-inline: auto; }
.section { padding-block: var(--sp-8); position: relative; }
.section-sm { padding-block: var(--sp-7); }
.section-tint-green { background: var(--bg-tint-green); }
.section-tint-warm { background: var(--bg-tint-warm); }
.section-navy { background: var(--navy); color: #EAF0FA; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }

/* Eyebrow is now the PRIMARY (large) heading; the following heading becomes a subheading */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -0.01em; text-transform: none;
  color: var(--navy); line-height: 1.14; margin-bottom: 8px; text-wrap: balance;
}
.eyebrow[style*="center"] { justify-content: center; }
.section-navy .eyebrow { color: #fff; }
/* former heading, now a supporting subheading */
.eyebrow + h1, .eyebrow + h2, .eyebrow + h3 {
  font-family: var(--font-head); font-weight: 600 !important;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem) !important;
  color: var(--green-deep) !important; letter-spacing: 0; line-height: 1.4; margin-top: 0;
}
.section-navy .eyebrow + h1, .section-navy .eyebrow + h2, .section-navy .eyebrow + h3 { color: #EAF1FC !important; }
/* Small overline label used above a true page <h1> (e.g. About hero) */
.eyebrow-label {
  display: block; font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 10px;
}
.section-head { max-width: 720px; margin-bottom: var(--sp-6); }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.section-navy .lead { color: #C6D3EA; }

.grid { display: grid; gap: var(--sp-5); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-7); align-items: center; }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--primary); --btn-fg: #fff; --btn-bd: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 15px 26px; min-height: 52px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bd); border-radius: var(--r-pill);
  cursor: pointer; text-decoration: none; text-align: center;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn-secondary { --btn-bg: var(--secondary); --btn-bd: var(--secondary); }
.btn-secondary:hover { background: var(--secondary-hover); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--navy); box-shadow: none; }
.btn-outline:hover { background: var(--navy); --btn-fg: #fff; color: #fff; }
.btn-gold { --btn-bg: var(--gold); --btn-fg: #3a2500; --btn-bd: var(--gold); }
.btn-gold:hover { --btn-bg: #ffb828; color: #3a2500; }
.section-navy .btn-outline { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.7); }
.section-navy .btn-outline:hover { background: #fff; --btn-fg: var(--navy); color: var(--navy); }
.btn-lg { font-size: 1.06rem; padding: 17px 32px; min-height: 58px; }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* Focus visibility (never removed) */
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--r-sm); }
.btn:focus-visible { border-radius: var(--r-pill); }

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 12px 12px;
  font-family: var(--font-head); font-weight: 600; transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* Visually hidden but available to screen readers (e.g. step numbers in a process graphic) */
.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;
}

/* ---------- 6. Announcement bar ---------- */
.announce {
  background: linear-gradient(90deg, var(--navy), var(--navy-700));
  color: #EAF1FC; font-size: .93rem; text-align: center;
  padding: 9px 44px 9px 16px; position: relative;
}
.announce strong { color: var(--gold); }
.announce.announce-static { padding: 10px 16px; }
.announce .announce-close {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: transparent; border: 0; color: #C6D3EA; cursor: pointer;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
}
.announce .announce-close:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- 7. Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 252, 246, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: var(--sp-4);
}
.brand { display: flex; align-items: center; }
.brand img { height: 96px; width: auto; }
@media (max-width: 1000px) { .brand img { height: 66px; } }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--navy); text-decoration: none; padding: 10px 13px; border-radius: var(--r-sm);
  position: relative; transition: background .18s ease, color .18s ease;
}
.nav-links a:hover { background: var(--bg-tint-green); color: var(--green-deep); }
.nav-links a[aria-current="page"] { color: var(--green-deep); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 3px;
  border-radius: 2px; background: var(--gold);
}

/* ---- Dropdown submenus (About / Services) ---- */
.nav-links .has-sub { position: relative; display: flex; align-items: center; }
.nav-links .has-sub > a { padding-right: 4px; }
.sub-toggle {
  background: transparent; border: 0; cursor: pointer; color: var(--navy);
  padding: 8px 6px; display: inline-grid; place-items: center; border-radius: var(--r-sm);
}
.sub-toggle:hover { color: var(--green-deep); background: var(--bg-tint-green); }
.sub-toggle svg { transition: transform .2s ease; }
.subnav {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 248px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  z-index: 120;
}
/* invisible hover bridge so the menu doesn't close in the gap */
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.subnav li { margin: 0; }
.subnav a {
  display: block; padding: 11px 14px; border-radius: var(--r-sm); white-space: nowrap;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy); text-decoration: none;
}
.subnav a:hover { background: var(--bg-tint-green); color: var(--green-deep); }
@media (min-width: 1001px) {
  .nav-links .has-sub:hover > .subnav,
  .nav-links .has-sub:focus-within > .subnav,
  .nav-links .has-sub.open > .subnav { opacity: 1; visibility: visible; transform: none; }
  .nav-links .has-sub:hover > .sub-toggle svg,
  .nav-links .has-sub.open > .sub-toggle svg { transform: rotate(180deg); }
}

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 20px; min-height: 46px; font-size: .93rem; }
.nav-toggle {
  display: none; background: transparent; border: 2px solid var(--line); border-radius: var(--r-sm);
  width: 48px; height: 48px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { margin-inline: auto; }

@media (max-width: 1000px) {
  /* backdrop-filter would trap the fixed slide-in menu inside the header box, so drop it here */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav-toggle { display: grid; place-items: center; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    background: var(--card); box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .3s ease;
    display: flex; flex-direction: column; padding: calc(var(--header-h) + 20px) 24px 32px;
    gap: 8px; overflow-y: auto; z-index: 150;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-links a[aria-current="page"]::after { left: 16px; right: auto; width: 22px; bottom: 8px; }
  /* dropdowns become inline expandable groups on mobile */
  .nav-links .has-sub { flex-wrap: wrap; align-items: center; }
  .nav-links .has-sub > a { flex: 1; }
  .sub-toggle { width: 46px; height: 46px; border: 1px solid var(--line); }
  .subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line-soft);
    border-radius: 0; min-width: 0; width: 100%;
    margin: 2px 0 6px 14px; padding: 2px 0 2px 6px; display: none;
  }
  .nav-links .has-sub.open > .subnav { display: block; }
  .nav-links .has-sub.open > .sub-toggle svg { transform: rotate(180deg); }
  .subnav a { font-size: 1rem; padding: 12px 14px; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: 16px; }
  .nav-cta .btn { width: 100%; min-height: 52px; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(3,40,93,.4); z-index: 140;
    opacity: 0; visibility: hidden; transition: opacity .3s ease;
  }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
}

/* ---------- 8. Hero ---------- */
.hero { position: relative; padding-block: var(--sp-6) var(--sp-8); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 520px at 88% -8%, var(--bg-tint-warm), transparent 60%),
    radial-gradient(900px 500px at 4% 10%, var(--bg-tint-green), transparent 62%),
    var(--bg);
}
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: var(--sp-7); align-items: start; }
.hero h1 .accent { color: var(--green-deep); }
.hero .lead { margin-top: var(--sp-4); max-width: 30em; }
.hero-locale {
  margin-top: var(--sp-4); display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line);
  padding: 9px 16px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); font-size: .95rem;
}
.hero-locale svg { color: var(--leaf-red); }
.hero .btn-group { margin-top: var(--sp-6); }
.hero-art { position: relative; }

/* Photo placeholder */
.photo-ph {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(3,40,93,.03) 0 14px, rgba(3,40,93,.06) 14px 28px);
  border: 2px dashed var(--navy-300);
  display: grid; place-items: center; text-align: center; padding: 24px; min-height: 260px;
  color: var(--navy); aspect-ratio: 4 / 3;
}
.photo-ph .ph-badge {
  font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; background: var(--navy); color: #fff; padding: 5px 12px;
  border-radius: var(--r-pill); margin-bottom: 10px; display: inline-block;
}
.photo-ph .ph-desc { font-size: .92rem; color: var(--ink-soft); max-width: 30ch; margin-inline: auto; }
.photo-ph svg { color: var(--navy-300); margin-bottom: 10px; }
.photo-ph.tall { aspect-ratio: 3 / 4; }
.photo-ph.wide { aspect-ratio: 16 / 9; }

/* Real photos: clean framed look (rounded corners + soft shadow) */
.photo-img { width: 100%; display: block; border-radius: var(--r-lg); object-fit: cover; aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); }
.photo-img.tall { aspect-ratio: 3 / 4; }
.photo-img.wide { aspect-ratio: 16 / 9; }

/* ---------- 9. Credibility strip ---------- */
.credibility { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.cred-item {
  display: flex; align-items: center; gap: 12px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.cred-item .ic { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; }
.cred-item b { font-family: var(--font-head); font-size: .98rem; color: var(--navy); line-height: 1.25; }

/* ---------- 10. Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-6); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative; overflow: hidden;
}
.card.hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: var(--sp-4); flex: none; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); }
.card-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: var(--sp-4);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  color: var(--green-deep); text-decoration: none;
}
.card-link .arrow { transition: transform .2s ease; }
.card-link:hover .arrow { transform: translate(3px,-3px); }
.card-accent { position: absolute; top: 0; left: 0; right: 0; height: 5px; }

/* Accent color helpers */
.bg-navy { background: var(--navy); } .bg-green { background: var(--green); }
.bg-orange { background: var(--leaf-orange); } .bg-purple { background: var(--leaf-purple); }
.bg-blue { background: var(--leaf-blue); } .bg-red { background: var(--leaf-red); }
.bg-gold { background: var(--gold); }
.tx-navy { color: var(--navy); } .tx-green { color: var(--green-deep); }

/* ---------- 11. Icon feature list ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-4); }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .fic {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-tint-green); color: var(--green-deep);
}
.section-navy .feature-list .fic { background: rgba(255,255,255,.1); color: var(--gold); }
.feature-list b { font-family: var(--font-head); color: var(--navy); display: block; }
.section-navy .feature-list b { color: #fff; }
.feature-list p { color: var(--ink-soft); font-size: .97rem; }
.section-navy .feature-list p { color: #C6D3EA; }

/* Simple checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--navy); }
.checklist .chk { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin-top: 1px; }
.section-navy .checklist li { color: #EAF1FC; }

/* Plain bullet list styled */
.bullets { list-style: none; padding: 0; margin: var(--sp-3) 0; display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.bullets li::before {
  content: ""; position: absolute; left: 2px; top: 9px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--green); }

/* ---------- 12. Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); position: relative; }
.steps::before {
  content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--leaf-blue));
  border-radius: 2px; z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step-num {
  width: 62px; height: 62px; border-radius: 50%; background: #fff; border: 3px solid var(--green);
  color: var(--green-deep); font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  display: grid; place-items: center; margin: 0 auto var(--sp-4); box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* horizontal mini-steps (Learn -> Assess -> Plan -> Monitor) */
.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.flow-node {
  flex: 1 1 160px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.flow-node .fn-ic { width: 48px; height: 48px; border-radius: 14px; margin: 0 auto 12px; display: grid; place-items: center; color:#fff; }
.flow-node b { font-family: var(--font-head); color: var(--navy); }
.flow-arrow { display: grid; place-items: center; color: var(--navy-300); flex: none; }
@media (max-width: 720px){ .flow { flex-direction: column; } .flow-arrow { transform: rotate(90deg); } }

/* ---------- 13. Insurance logo grid ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.logo-slot {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  min-height: 118px; display: grid; place-items: center; padding: 18px; text-align: center;
}
.logo-slot .status {
  font-family: var(--font-head); font-weight: 700; color: var(--navy-300);
  font-size: .82rem; letter-spacing: .04em;
}
.logo-slot.pending {
  background: repeating-linear-gradient(45deg, #fff 0 12px, #FBFAF5 12px 24px);
  border-style: dashed;
}
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px; background: var(--bg-tint-warm);
  border: 1px solid #F0D9AE; color: #8A5B00; font-weight: 700; font-family: var(--font-head);
  padding: 8px 16px; border-radius: var(--r-pill); font-size: .9rem;
}
.badge-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }

/* Named payer tiles (used while credentialing — swap in real logos later) */
.logo-slot.payer {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 9px; background: #fff; border-style: solid; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.logo-slot.payer:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.payer-accent { width: 34px; height: 4px; border-radius: 2px; }
.payer-name { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .98rem; line-height: 1.25; }
/* Real payer logos: consistent size, fully visible, centered, responsive */
.logo-slot.payer img { max-width: 150px; max-height: 60px; width: auto; height: auto; object-fit: contain; }
.payer-subnote { font-size: .74rem; color: var(--ink-soft); line-height: 1.3; max-width: 22ch; }
.payer-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .04em;
  text-transform: uppercase; color: #8A5B00;
}
.payer-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.payer-status.in-network { color: var(--green-deep); }
.payer-status.in-network .dot { background: var(--green); }

/* "Don't see your insurance listed?" note under the payer grid */
.ins-more-note {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-6); margin-top: var(--sp-6); text-align: center;
  box-shadow: var(--shadow-sm);
}
.ins-more-note p { max-width: 60ch; margin: 0 auto; color: var(--ink-soft); }
.ins-more-note p strong { color: var(--navy); }
.ins-more-note .btn-group { justify-content: center; margin-top: var(--sp-4); }

/* ---------- 14. Service area markers ---------- */
.area-map {
  position: relative; background: var(--bg-tint-blue); border: 1px solid #D6E6F7;
  border-radius: var(--r-lg); padding: var(--sp-6); overflow: hidden; min-height: 360px;
}
.marker { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 10px 18px 10px 12px; box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-weight: 700; color: var(--navy); width: fit-content; }
.marker .pin { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.marker.primary .pin { background: var(--leaf-red); }
.marker.secondary .pin { background: var(--leaf-blue); }
.marker.tertiary .pin { background: var(--green); }
.who-support-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }

/* ---------- 15. FAQ accordion ---------- */
.accordion { display: grid; gap: 14px; }
.acc-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: transparent; border: 0; cursor: pointer; text-align: left;
  padding: 20px 22px; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--navy);
}
.acc-trigger:hover { color: var(--green-deep); }
.acc-icon { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-tint-green);
  color: var(--green-deep); display: grid; place-items: center; transition: transform .25s ease, background .2s ease; }
.acc-trigger[aria-expanded="true"] .acc-icon { transform: rotate(45deg); background: var(--green); color: #fff; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.acc-panel-inner { overflow: hidden; }
.acc-panel[data-open="true"] { grid-template-rows: 1fr; }
.acc-panel p { padding: 0 22px 22px; color: var(--ink-soft); }
.acc-panel p + p { padding-top: 12px; }
@media (prefers-reduced-motion: reduce){ .acc-panel { transition: none; } }

/* ---------- 16. Forms ---------- */
.form-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-7); box-shadow: var(--shadow-md); }
.jotform-ph {
  border: 2px dashed var(--green); border-radius: var(--r-lg); background: var(--bg-tint-green);
  padding: var(--sp-6); position: relative;
}
.jotform-ph .jf-tag {
  position: absolute; top: -14px; left: 24px; background: var(--green-deep); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 14px; border-radius: var(--r-pill);
}
.field { margin-bottom: var(--sp-5); }
.field label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy); margin-bottom: 7px; font-size: .96rem; }
.field .req { color: var(--leaf-red); }
.field .opt { color: var(--navy-300); font-weight: 600; font-size: .82rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 15px; min-height: 50px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:disabled, .field select:disabled, .field textarea:disabled {
  background: #FAFAF5; color: var(--ink-soft); opacity: 1; cursor: not-allowed; -webkit-text-fill-color: var(--ink-soft);
}
.field input:disabled::placeholder, .field textarea:disabled::placeholder { color: var(--ink-soft); opacity: .85; }
.consent input:disabled { cursor: not-allowed; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--focus); }
.field .hint { font-size: .86rem; color: var(--ink-soft); margin-top: 6px; }
.notice-warn {
  display: flex; gap: 12px; align-items: flex-start; background: var(--bg-tint-warm);
  border: 1px solid #F0D9AE; border-radius: var(--r-md); padding: 14px 16px; color: #6b4a00; font-size: .93rem;
}
.notice-warn svg { flex: none; color: var(--leaf-orange); margin-top: 2px; }
/* Neutral information notice (not a warning) — e.g. non-diagnostic clarifications */
.notice-info {
  display: flex; gap: 12px; align-items: flex-start; background: var(--bg-tint-blue);
  border: 1px solid #D6E6F7; border-radius: var(--r-md); padding: 14px 16px; color: var(--ink-soft); font-size: .93rem;
}
.notice-info svg { flex: none; color: var(--leaf-blue); margin-top: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-tint-green); border-radius: var(--r-md); padding: 16px; }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.consent label { font-size: .92rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- 17. Referral banner ---------- */
.referral-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-5);
  background: var(--navy); color: #EAF1FC; border-radius: var(--r-lg); padding: var(--sp-6) var(--sp-7);
}
.referral-banner h3 { color: #fff; }
.referral-banner p { color: #C6D3EA; font-size: .96rem; max-width: 46ch; }
.fax-line { font-size: .9rem; color: #A9BBD8; margin-top: 8px; }

/* ---------- 18. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 0; }
.cta-band .container { position: relative; z-index: 1; text-align: center; }
.cta-band .watermark {
  position: absolute; right: -40px; bottom: -60px; width: 320px; opacity: .06; z-index: 0; pointer-events: none;
}

/* ---------- 19. Footer ---------- */
.site-footer { background: #06203F; color: #B9C7DE; padding-block: var(--sp-8) var(--sp-5); font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-6); }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: var(--sp-4); letter-spacing: .02em; }
.footer-brand img { height: 62px; width: auto; margin-bottom: var(--sp-4); }
.footer-slogan { color: var(--gold); font-family: var(--font-head); font-weight: 600; }
.footer-social { display: flex; gap: 10px; margin-top: var(--sp-5); }
.footer-social .social-ic {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.16);
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.footer-social .social-ic:hover { background: var(--gold); color: #06203F; border-color: var(--gold); transform: translateY(-2px); }
.footer-social .social-ic:focus-visible { box-shadow: var(--shadow-focus); }
.footer-social .social-ic svg { width: 20px; height: 20px; display: block; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: #B9C7DE; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-contact { display: grid; gap: 10px; }
.footer-contact a { color: #B9C7DE; text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-contact .fc-row { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; color: var(--gold); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: var(--sp-7); padding-top: var(--sp-5); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; }
.footer-legal a { color: #9DB0CD; text-decoration: none; font-size: .88rem; }
.footer-legal a:hover { color: #fff; }
.footer-disclaimer { font-size: .82rem; color: #7E92B4; line-height: 1.6; margin-top: var(--sp-4); max-width: 100%; }

/* ---------- 20. Decorative journey path & leaves ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco-leaf { width: 24px; height: 24px; opacity: .9; }
.section > .container { position: relative; z-index: 1; }
/* The hero uses class="hero", not "section", so it needs its own rule to lift
   its content (and buttons) above the decorative path SVG behind it. */
.hero > .container { position: relative; z-index: 1; }
.blob { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .5; z-index: 0; }

/* ---------- 21. Scroll reveal (fail-safe: hidden only when JS confirmed) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .btn, .card, .card-link .arrow { transition: none !important; }
}

/* ---------- 22. Page hero (interior pages) ---------- */
.page-hero { position: relative; padding-block: var(--sp-8); overflow: hidden; background: var(--bg-tint-green); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero.warm { background: var(--bg-tint-warm); }
.page-hero.blue { background: var(--bg-tint-blue); }
.page-hero.purple { background: var(--bg-tint-purple); }

/* ---------- 23. Misc ---------- */
.quote {
  border-left: 5px solid var(--green); background: var(--bg-tint-green); border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--sp-5) var(--sp-6); font-size: 1.15rem; font-style: italic; color: var(--navy); position: relative;
}
.quote cite { display: block; margin-top: 12px; font-style: normal; font-weight: 700; font-family: var(--font-head); font-size: .95rem; color: var(--green-deep); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 16px; font-weight: 600; font-family: var(--font-head); color: var(--navy); font-size: .92rem; box-shadow: var(--shadow-sm); display:inline-flex; align-items:center; gap:8px; }
.roles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.role-card { border-radius: var(--r-lg); padding: var(--sp-6); }
.role-card.rbt { background: var(--bg-tint-blue); border: 1px solid #D6E6F7; }
.role-card.bcba { background: var(--bg-tint-green); border: 1px solid #DBE9CD; }
.role-card h3 { display: flex; align-items: center; gap: 10px; }
.tag { font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); color: #fff; }

/* ---------- 24. Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .credibility { grid-template-columns: repeat(2, 1fr); }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding-block: var(--sp-7); }
  .cols-2, .cols-3, .cols-4, .credibility, .steps, .roles-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .btn { width: 100%; }
  .hero .btn-group .btn, .btn-group .btn { width: 100%; }
  .form-wrap { padding: var(--sp-5); }
  .footer-top { grid-template-columns: 1fr; }
  .referral-banner { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr !important; }
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

/* ---------- 25. Read-more disclosure ---------- */
details.disclosure { margin-top: var(--sp-4); border-top: 1px solid var(--line); }
details.disclosure > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; color: var(--green-deep);
  padding: 14px 0 6px; font-size: .98rem;
}
details.disclosure > summary::-webkit-details-marker { display: none; }
details.disclosure > summary::marker { content: ""; }
details.disclosure > summary .chev { transition: transform .2s ease; }
details.disclosure[open] > summary .chev { transform: rotate(180deg); }
details.disclosure > summary:hover { color: var(--green-700); }
details.disclosure[open] > summary { margin-bottom: 6px; }

/* ---------- 26. Mobile sticky CTA — removed. Request Services / Refer a
   Client now appear only in their normal in-page sections on every
   breakpoint; no fixed/persistent bottom bar on mobile. ---------- */

/* ---------- 27. "We can help with" grid ---------- */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.help-item { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease; }
.help-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.help-item .hic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.help-item b { font-family: var(--font-head); color: var(--navy); font-size: 1rem; display: block; line-height: 1.2; }
.help-item small { font-size: .84rem; color: var(--ink-soft); }
@media (max-width: 900px) { .help-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .help-grid { grid-template-columns: 1fr; } }

/* ---------- 28. Good-to-know callout ---------- */
.goodtoknow { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-tint-blue);
  border: 1px solid #D6E6F7; border-radius: var(--r-md); padding: 13px 16px; font-size: .88rem;
  color: var(--ink-soft); margin-top: var(--sp-4); }
.goodtoknow svg { flex: none; color: var(--leaf-blue); margin-top: 2px; }
.goodtoknow b { color: var(--navy); font-family: var(--font-head); }

/* ---------- 29. Service pages: coordinated hero photo + notice row ----------
   Scoped to body[data-page="services"] only. Does not modify .photo-img,
   .two-col, .card, .page-hero, .section, or .flow directly. */
body[data-page="services"] .svc-hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 440px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
body[data-page="services"] .svc-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: auto;
}
@media (max-width: 1000px) {
  body[data-page="services"] .svc-hero-photo {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    max-height: 220px;
    margin-top: var(--sp-5);
  }
}

body[data-page="services"] .svc-notice-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  align-items: start;
}
@media (min-width: 860px) {
  body[data-page="services"] .svc-notice-row { grid-template-columns: 1fr 1fr; }
}
body[data-page="services"] .svc-notice-row > .notice-info,
body[data-page="services"] .svc-notice-row > .goodtoknow {
  margin: 0;
  max-width: none;
  height: 100%;
}

/* Services overview hero: keep photo from reading too tall on desktop/mobile */
body[data-page="services"] .svc-hero-photo.svc-overview {
  aspect-ratio: 4 / 3;
  max-height: 420px;
}

/* ---------- 30. One-to-One page: RBT/BCBA roles disclosure — mobile stacking ----------
   Scoped to this page's .svc-roles-grid instance only; does not alter the shared
   .roles-grid / .role-card rules used elsewhere. Desktop/tablet (>768px) keep the
   existing side-by-side layout untouched. */
@media (max-width: 768px) {
  body[data-page="services"] .svc-roles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  body[data-page="services"] .svc-roles-grid .role-card {
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }
  body[data-page="services"] .svc-roles-grid .role-card h3 {
    flex-wrap: wrap;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  body[data-page="services"] .svc-roles-grid .role-card p,
  body[data-page="services"] .svc-roles-grid .role-card ul.bullets li {
    overflow-wrap: break-word;
    word-break: break-word;
  }
}
/* ---------- 33. Homepage credibility strip (BCBA-Owned / Individualized Care /
   Family-Centered / Home, School & Community-Based) — mobile-only compaction.
   Desktop/tablet keep the exact existing padding-block:var(--sp-6) band, the
   shared .credibility gap and .cred-item padding are untouched above 640px. */
body[data-page="home"] .home-cred-band { padding-block: var(--sp-6); }
@media (max-width: 640px) {
  /* ~25% less space above the first box and below the last */
  body[data-page="home"] .home-cred-band { padding-block: var(--sp-5); }
  /* ~25% tighter gap between boxes */
  body[data-page="home"] .credibility { gap: var(--sp-3); }
  /* ~25% less vertical padding (so shorter overall box height); horizontal
     padding, icon, colors, border-radius and wording are unchanged */
  body[data-page="home"] .cred-item { padding-top: 12px; padding-bottom: 12px; }
}

/* ---------- 33b. Homepage "Our Services" 4-card grid — mobile-only compaction.
   Desktop/tablet are completely untouched: card size, icon size, gaps, and
   padding above 620px stay exactly as they were. Text size is left alone so
   everything stays readable; only padding, spacing, icon size, and the grid
   gap shrink on small screens, so the 4 stacked cards take less scroll room. */
@media (max-width: 620px) {
  body[data-page="home"] .home-services-section { padding-block: var(--sp-6); }
  body[data-page="home"] .home-services-grid { gap: var(--sp-3); }
  body[data-page="home"] .home-services-grid .card { padding: 16px; }
  body[data-page="home"] .home-services-grid .card-icon {
    width: 42px; height: 42px; border-radius: 12px; margin-bottom: 10px;
  }
  body[data-page="home"] .home-services-grid .card-icon svg { width: 22px; height: 22px; }
  body[data-page="home"] .home-services-grid .card h3 { margin-bottom: 5px; }
  body[data-page="home"] .home-services-grid .card-accent { height: 4px; }
}

/* ---------- 34. About page hero photo — wide, integrated frame, 45/55 split ----------
   Scoped to body[data-page="about"] only. Does not alter .photo-img, .two-col's
   shared grid rule, .page-hero, or any other page. */
body[data-page="about"] #who .two-col {
  grid-template-columns: 9fr 11fr; /* ~45% text / 55% image on desktop */
}
body[data-page="about"] .about-hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 420px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
body[data-page="about"] .about-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: auto;
}
@media (max-width: 1000px) {
  body[data-page="about"] #who .two-col { grid-template-columns: 1fr; }
  body[data-page="about"] .about-hero-photo {
    aspect-ratio: 16 / 9;
    max-height: 260px;
    margin-top: var(--sp-2);
    box-shadow: var(--shadow-sm);
  }
}
@media (max-width: 640px) {
  /* phone widths: hold a consistent short landscape band (~200-230px) */
  body[data-page="about"] .about-hero-photo {
    aspect-ratio: auto;
    height: 220px;
  }
}

/* ---------- 35. About page "Our Philosophy" — open editorial grid (no cards) ----------
   Scoped to body[data-page="about"] only. Mobile-first: stacked rows by default,
   promoted to a divided 2x2 grid at >=721px. */
body[data-page="about"] .philosophy-grid {
  display: block;
  margin-top: var(--sp-2);
}
body[data-page="about"] .phil-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 2px;
  position: relative;
}
body[data-page="about"] .phil-item:not(:last-child)::after {
  content: "";
  position: absolute; left: 2px; right: 2px; bottom: 0; height: 1px;
  background: linear-gradient(90deg,
    rgba(63,107,23,.4) 0%, rgba(99,151,41,.4) 22%, rgba(0,115,224,.4) 45%,
    rgba(127,39,162,.4) 68%, rgba(248,133,3,.4) 88%, rgba(215,11,22,.35) 100%);
}
body[data-page="about"] .phil-ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; color: #fff; flex: none; margin-top: 2px;
}
body[data-page="about"] .phil-text h3 { margin-bottom: 4px; font-size: 1.08rem; }
body[data-page="about"] .phil-text p { color: var(--ink-soft); font-size: .94rem; }

@media (min-width: 721px) {
  body[data-page="about"] .philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: var(--sp-4);
  }
  body[data-page="about"] .phil-item {
    padding: 24px 32px;
  }
  body[data-page="about"] .phil-item:not(:last-child)::after { display: none; }
  body[data-page="about"] .phil-item:nth-child(1)::after,
  body[data-page="about"] .phil-item:nth-child(2)::after {
    display: block; content: "";
    position: absolute; left: 20px; right: 20px; bottom: 0; height: 1px;
    background: linear-gradient(90deg,
      rgba(63,107,23,.4) 0%, rgba(99,151,41,.4) 22%, rgba(0,115,224,.4) 45%,
      rgba(127,39,162,.4) 68%, rgba(248,133,3,.4) 88%, rgba(215,11,22,.35) 100%);
  }
  body[data-page="about"] .phil-item:nth-child(odd)::before {
    content: "";
    position: absolute; top: 16px; bottom: 16px; right: 0; width: 1px;
    background: linear-gradient(180deg,
      rgba(63,107,23,.4) 0%, rgba(99,151,41,.4) 22%, rgba(0,115,224,.4) 45%,
      rgba(127,39,162,.4) 68%, rgba(248,133,3,.4) 88%, rgba(215,11,22,.35) 100%);
  }
  body[data-page="about"] .phil-item:nth-child(1),
  body[data-page="about"] .phil-item:nth-child(2) { padding-top: 4px; }
  body[data-page="about"] .phil-ic { width: 52px; height: 52px; border-radius: 14px; margin-top: 0; }
  body[data-page="about"] .phil-text h3 { margin-bottom: 6px; font-size: 1.15rem; }
  body[data-page="about"] .phil-text p { font-size: .96rem; }
}

/* ---------- 31. Homepage hero photo — integrated landscape frame ----------
   Scoped to body[data-page="home"] only. Does not alter .photo-img, .hero,
   .hero-inner's shared grid rule, or any other page's hero. */
body[data-page="home"] .home-hero-photo {
  display: block;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  aspect-ratio: 4 / 3;
  max-height: 420px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
body[data-page="home"] .home-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: auto;
}
@media (max-width: 1000px) {
  /* tighter gap once the hero stacks, so the photo doesn't feel far from the text */
  body[data-page="home"] .hero-inner { gap: var(--sp-5); }
  body[data-page="home"] .home-hero-photo {
    max-width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 260px;
    margin-top: var(--sp-2);
    box-shadow: var(--shadow-sm);
  }
}
@media (max-width: 640px) {
  /* phone widths: hold a consistent short landscape band (~200-240px)
     regardless of exact viewport width, rather than letting a narrower
     screen shrink the aspect-ratio box below that. */
  body[data-page="home"] .home-hero-photo {
    aspect-ratio: auto;
    height: 220px;
  }
}

/* ---------- 32. Homepage "Our Approach" — open pathway (no cards) ----------
   Scoped to body[data-page="home"] only. */
body[data-page="home"] .approach-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  padding-top: 44px;
}
body[data-page="home"] .approach-line {
  position: absolute;
  top: 71px; left: 8%; right: 8%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(to right, #639729, #F88503, #0073E0);
  opacity: .8;
  z-index: 0;
}
body[data-page="home"] .approach-point {
  position: relative; z-index: 1;
  text-align: center;
}
body[data-page="home"] .approach-ic {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  margin: 0 auto 16px; box-shadow: var(--shadow-sm);
}
body[data-page="home"] .approach-point h3 { margin-bottom: 8px; }
body[data-page="home"] .approach-point p { color: var(--ink-soft); font-size: .96rem; max-width: 30ch; margin-inline: auto; }

@media (max-width: 720px) {
  body[data-page="home"] .approach-path {
    display: block;
    padding-top: 0;
  }
  body[data-page="home"] .approach-line { display: none; }
  body[data-page="home"] .approach-point {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    position: relative;
    padding-bottom: 26px;
  }
  body[data-page="home"] .approach-point::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 58px;
    bottom: -6px;
    width: 2px;
    background: var(--line);
  }
  body[data-page="home"] .approach-point:last-child::before { display: none; }
  body[data-page="home"] .approach-ic { margin: 0; flex: none; }
  body[data-page="home"] .approach-text { flex: 1 1 auto; min-width: 0; }
  body[data-page="home"] .approach-point p { max-width: none; margin-inline: 0; }
}

/* ---------- 36. About page — Meet the Founder ----------
   Scoped to body[data-page="about"] only. Does not alter .photo-img, .two-col,
   .eyebrow-label, .quote, or any other shared class/section. .founder-photo
   wraps a bare <img> and controls its own sizing/radius/shadow so the photo
   stays a clean, un-framed portrait rather than a heavy card. .founder-quote
   is fully custom (not the shared .quote card) — a thin green rule with no
   box or background.

   Layout approach: the HTML has two real wrapper divs — .founder-left
   (label, photo, quote — in that literal order, quote immediately after the
   image) and .founder-right (name, title, bio). At desktop widths those
   wrappers simply become the two grid columns and each one's own children
   flow normally inside it, so the photo/quote pairing never has to fight
   the (much taller) biography for row space. On mobile the wrappers are
   set to display:contents — they stop being boxes and their children
   become direct flex items of .founder-grid — so a plain `order` on each
   child reorders the quote to the end (after the bio) without moving it in
   the DOM. */
body[data-page="about"] .founder-section { padding-block: 40px; }
body[data-page="about"] .founder-container { max-width: 1080px; }

body[data-page="about"] .founder-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
body[data-page="about"] .founder-left,
body[data-page="about"] .founder-right { display: contents; }

body[data-page="about"] .founder-eyebrow { order: 1; margin-bottom: 14px; }
body[data-page="about"] .founder-photo {
  order: 2;
  max-width: 300px;
  width: 100%;
  margin-bottom: 20px;
}
body[data-page="about"] .founder-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
body[data-page="about"] .founder-name {
  order: 3;
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
  font-size: 1.6rem; line-height: 1.15; margin-bottom: 6px;
}
body[data-page="about"] .founder-title {
  order: 4;
  color: var(--ink-soft); font-weight: 600; margin-bottom: 22px;
}
body[data-page="about"] .founder-bio { order: 5; text-align: left; width: 100%; }
body[data-page="about"] .founder-bio p { color: var(--ink-soft); margin-bottom: 16px; }
body[data-page="about"] .founder-bio p:last-child { margin-bottom: 0; }
body[data-page="about"] .founder-quote {
  order: 6;
  border-left: 3px solid var(--green);
  padding-left: 18px;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--navy);
  text-align: left;
  margin-top: 28px;
  width: 100%;
}
body[data-page="about"] .founder-quote cite {
  display: block; margin-top: 10px; font-style: normal; font-weight: 700;
  font-family: var(--font-head); font-size: .88rem; color: var(--green-deep);
}

@media (max-width: 720px) {
  body[data-page="about"] .founder-photo { max-width: 280px; }
}

/* Desktop: .founder-left / .founder-right become the two real grid columns
   (39%/61%). Their children go back to normal block flow, so `order` no
   longer applies and each column simply stacks in source order: label →
   photo → quote on the left; name → title → bio on the right. */
@media (min-width: 1001px) {
  body[data-page="about"] .founder-section { padding-block: 68px; }
  body[data-page="about"] .founder-grid {
    display: grid;
    grid-template-columns: 39fr 61fr;
    column-gap: 52px;
    align-items: start;
    text-align: left;
  }
  body[data-page="about"] .founder-left,
  body[data-page="about"] .founder-right { display: block; }
  body[data-page="about"] .founder-eyebrow { margin-bottom: 18px; }
  body[data-page="about"] .founder-photo {
    max-width: 380px;
    width: 100%;
    margin-bottom: 0;
  }
  body[data-page="about"] .founder-quote {
    max-width: 380px;
    margin-top: 22px;
  }
  body[data-page="about"] .founder-name { font-size: 1.9rem; margin-bottom: 6px; }
  body[data-page="about"] .founder-title { margin-bottom: 20px; }
  body[data-page="about"] .founder-bio p { font-size: 1.05rem; line-height: 1.7; }
}

/* =============================================================
   SERVICE PAGES — per-page color system & section redesigns
   ============================================================= */

/* ---------- One-to-One (green hero only; rest of page uses the normal
   warm off-white background, with green kept only as a small accent) ---------- */
body.svc-page-onetoone .svc-goals-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  box-shadow: var(--shadow-sm);
}
/* Right column: goals panel beside the "What One-to-One ABA Therapy May
   Look Like" copy. The RBT/BCBA disclosure now lives below the two-col
   content (see .svc-roles-wrap below) and spans the full content width. */
body.svc-page-onetoone .svc-right-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

@media (max-width: 720px) {
  body.svc-page-onetoone .svc-goals-panel { padding: var(--sp-5); }
}

/* Explore Other Services cards on this page hold only an icon, title, and
   link (no description paragraph), so the shared .card padding reads as
   excess empty space — trim it slightly here without touching the shared
   .card rule used by every other card on the site. */
body.svc-page-onetoone .svc-explore-grid .card { padding: var(--sp-5); }

/* ---------- Assessment (blue hero only; the section below keeps the normal
   warm off-white background, with blue reserved for accents/icons/borders) ---------- */
body.svc-page-assessment .svc-assess-head .eyebrow { position: relative; }
body.svc-page-assessment .svc-assess-head::after {
  content: ""; display: block; width: 56px; height: 3px; margin-top: 12px;
  background: var(--leaf-blue); border-radius: 2px;
}
body.svc-page-assessment .svc-assess-flow .flow-node { border-color: #C3DCF3; box-shadow: var(--shadow-sm); background: #fff; }
body.svc-page-assessment .svc-assess-flow .flow-arrow { color: var(--blue-deep); }
body.svc-page-assessment .svc-assess-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7);
  background: #fff; border: 1px solid #D6E6F7; border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-7); box-shadow: var(--shadow-sm); position: relative;
}
body.svc-page-assessment .svc-assess-col:first-child {
  padding-right: var(--sp-7);
  border-right: 1px solid #D6E6F7;
}
body.svc-page-assessment .svc-assess-note {
  max-width: none;
}
@media (max-width: 860px) {
  body.svc-page-assessment .svc-assess-panel { grid-template-columns: 1fr; padding: var(--sp-5); gap: var(--sp-5); }
  body.svc-page-assessment .svc-assess-col:first-child {
    padding-right: 0; padding-bottom: var(--sp-5);
    border-right: 0; border-bottom: 1px solid #D6E6F7;
  }
}
@media (max-width: 720px) {
  body.svc-page-assessment .svc-look-section { padding-block: var(--sp-6); }
  /* Compact horizontal step cards (Listen / Observe / Plan / Review) on mobile only.
     .flow-node's shared desktop rule (flex: 1 1 160px) sets a 160px flex-basis that,
     once .flow switches to flex-direction:column here, becomes a height floor (and
     flex-grow:1 stretches it further) — must be overridden per node below. */
  body.svc-page-assessment .svc-assess-flow {
    gap: 6px;
  }

  body.svc-page-assessment .svc-assess-flow .flow-node {
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    padding: 18px 20px !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    text-align: left;
  }

  body.svc-page-assessment .svc-assess-flow .flow-node .fn-ic {
    width: 52px;
    height: 52px;
    margin: 0;
    flex: 0 0 52px;
  }

  body.svc-page-assessment .svc-assess-flow .flow-arrow {
    height: 24px;
    min-height: 24px;
    margin: 0;
    transform: rotate(90deg);
  }
}

/* ---------- Caregiver (orange/peach hero only; the sections below use the
   site's normal warm-white card treatment, with orange kept to a small accent) ---------- */
body.svc-page-caregiver .svc-care-band {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
}
body.svc-page-caregiver .svc-care-band::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--leaf-orange);
}
@media (max-width: 720px) {
  body.svc-page-caregiver .svc-care-band { padding: var(--sp-5); }
}
body.svc-page-caregiver .svc-care-address {
  position: relative;
}
body.svc-page-caregiver .svc-care-address::before {
  content: "";
  position: absolute; top: 0; left: 28px; right: 28px; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--leaf-orange);
  opacity: .85;
}
body.svc-page-caregiver .svc-care-connector {
  display: flex; justify-content: center; margin: var(--sp-4) 0 var(--sp-6);
}
body.svc-page-caregiver .svc-care-connector span {
  width: 3px; height: 34px; border-radius: 2px;
  background: linear-gradient(to bottom, #F88503, #A64A00);
  opacity: .55;
}

/* =============================================================
   GET STARTED PAGE
   ============================================================= */
body[data-page="get-started"] .gs-hero { padding-block: var(--sp-5); background: var(--bg-tint-green); }
body[data-page="get-started"] .gs-hero-photo {
  display: block; width: 100%; aspect-ratio: 4 / 3; max-height: 400px;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
body[data-page="get-started"] .gs-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; box-shadow: none; aspect-ratio: auto; }
@media (max-width: 1000px) {
  body[data-page="get-started"] .gs-hero-photo { aspect-ratio: 16/9; max-height: 240px; margin-top: var(--sp-5); }
}
/* Desktop-only hero refinement: tighter two-column composition, a
   slightly smaller photo, and less top/bottom padding, per request.
   Mobile/tablet (<=1000px) keep the rules above untouched. */
@media (min-width: 1001px) {
  body[data-page="get-started"] .gs-hero { padding-block: var(--sp-4) var(--sp-3); }
  body[data-page="get-started"] .gs-hero .two-col { grid-template-columns: 1.15fr .85fr; gap: var(--sp-6); }
  body[data-page="get-started"] .gs-hero-photo { max-height: 320px; }
}

/* Compact hero contact block (email + phone) — secondary to the
   "Request ABA Services" heading, kept small so the hero doesn't grow. */
body[data-page="get-started"] .gs-hero-contact { margin-top: 14px; }
body[data-page="get-started"] .gs-hero-contact-label {
  display: block; font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  color: var(--navy); margin-bottom: 8px;
}
body[data-page="get-started"] .gs-hero-contact-row { display: flex; flex-wrap: wrap; gap: 10px; }
body[data-page="get-started"] .gs-hero-contact-pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: #fff; border: 1px solid #DBE9CD; border-radius: var(--r-pill);
  padding: 8px 16px; font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  color: var(--navy); text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
body[data-page="get-started"] .gs-hero-contact-pill svg { flex: none; color: var(--green-deep); }
body[data-page="get-started"] .gs-hero-contact-pill:hover { background: var(--bg-tint-green); border-color: var(--green); color: var(--green-deep); }
body[data-page="get-started"] .gs-hero-contact-pill:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 2px; }
body[data-page="get-started"] .gs-hero-contact-note {
  font-size: .8rem; color: var(--ink-soft); font-style: italic; margin: 10px 0 0; max-width: 46ch;
}
@media (max-width: 620px) {
  body[data-page="get-started"] .gs-hero-contact-row { flex-direction: column; align-items: flex-start; }
  body[data-page="get-started"] .gs-hero-contact-pill { width: 100%; box-sizing: border-box; }
}

body[data-page="get-started"] .gs-pathway {
  display: flex; align-items: flex-start; gap: var(--sp-6); position: relative;
}
body[data-page="get-started"] .gs-pathway::before {
  content: ""; position: absolute; top: 22px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(to right, var(--green), var(--leaf-blue), var(--leaf-orange));
  opacity: .35; z-index: 0;
}
body[data-page="get-started"] .gs-pathway-step { flex: 1; text-align: center; position: relative; z-index: 1; }
body[data-page="get-started"] .gs-pathway-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; margin: 0 auto 12px; box-shadow: var(--shadow-sm); }
body[data-page="get-started"] .gs-pathway-step h3 { font-size: 1.02rem; margin-bottom: 4px; }
body[data-page="get-started"] .gs-pathway-step p { color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 760px) {
  body[data-page="get-started"] .gs-pathway { flex-direction: column; gap: var(--sp-5); }
  body[data-page="get-started"] .gs-pathway::before { left: 22px; top: 0; bottom: 0; right: auto; width: 2px; height: auto; }
  body[data-page="get-started"] .gs-pathway-step { text-align: left; display: flex; gap: 14px; align-items: flex-start; }
  body[data-page="get-started"] .gs-pathway-ic { margin: 0; flex: none; }
}

body[data-page="get-started"] .gs-form-section { background: var(--bg); padding-top: var(--sp-5); padding-bottom: var(--sp-7); }
body[data-page="get-started"] .gs-happens-section { background: var(--bg-tint-blue); }
body[data-page="get-started"] .gs-referral-section { background: var(--bg); }
body[data-page="get-started"] .gs-form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: var(--sp-6) var(--sp-7); position: relative;
}
@media (min-width: 1001px) {
  body[data-page="get-started"] .gs-form-section { padding-top: var(--sp-3); }
}
body[data-page="get-started"] .gs-form-notice {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .74rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--green-deep); background: var(--bg-tint-green);
  border: 1px solid #DBE9CD; padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 16px;
}
body[data-page="get-started"] .gs-field-group-h {
  font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--navy-300); margin: var(--sp-5) 0 var(--sp-4); padding-bottom: 8px; border-bottom: 1px solid var(--line-soft);
}
body[data-page="get-started"] .gs-field-group-h:first-of-type { margin-top: 0; }
body[data-page="get-started"] .gs-privacy-reminder {
  font-size: .88rem; color: var(--ink-soft); font-style: italic; margin: var(--sp-5) 0 var(--sp-4);
}
@media (max-width: 720px) {
  body[data-page="get-started"] .gs-form-wrap { padding: var(--sp-5); }
}

body[data-page="get-started"] .gs-referral { padding: var(--sp-5) var(--sp-6); gap: var(--sp-5); }
body[data-page="get-started"] .gs-referral-ic {
  width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.12);
  color: #fff; display: grid; place-items: center; margin-bottom: 10px;
}
body[data-page="get-started"] .gs-referral h3 { font-size: 1.1rem; }
body[data-page="get-started"] .gs-referral p { max-width: 40ch; }
@media (min-width: 761px) {
  body[data-page="get-started"] .gs-referral { flex-wrap: nowrap; }
  body[data-page="get-started"] .gs-referral > div:first-child { flex: 1 1 auto; min-width: 0; }
  body[data-page="get-started"] .gs-referral .btn { flex: none; white-space: nowrap; }
}
@media (max-width: 720px) {
  body[data-page="get-started"] .gs-referral { padding: var(--sp-5); }
  body[data-page="get-started"] .gs-referral .btn { width: 100%; text-align: center; justify-content: center; }
}

/* ---------- Get Started: native Service Inquiry form ----------
   Additive only — every rule above this point for .gs-hero,
   .gs-pathway, .gs-form-wrap, .gs-form-notice, .gs-field-group-h,
   .gs-privacy-reminder and .gs-referral is untouched. These rules add
   the tap-friendly choice tiles, the fieldset/legend styling used for
   each radio/checkbox question, the smooth conditional-field reveal,
   and the confirmation-state spacing used by initServiceInquiryForm()
   in assets/js/main.js. */
body[data-page="get-started"] .gs-required-note {
  font-size: .86rem; color: var(--ink-soft); margin: 0 0 var(--sp-5);
}
body[data-page="get-started"] .gs-scope-note {
  font-size: .92rem; color: var(--ink-soft); font-style: italic; margin: 0 0 10px;
}
body[data-page="get-started"] .gs-form-error {
  margin: var(--sp-4) 0 0; padding: 10px 14px; border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--leaf-red) 12%, transparent);
  border: 1px solid var(--leaf-red); color: var(--ink);
  font-size: .92rem;
}

/* fieldset/legend used for every radio & checkbox question — made to
   look exactly like the existing .field label above an input */
body[data-page="get-started"] fieldset.field { border: 0; padding: 0; margin: 0 0 var(--sp-5); }
body[data-page="get-started"] fieldset.field > legend {
  display: block; width: 100%; padding: 0;
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
  margin-bottom: 7px; font-size: .96rem;
}

/* Tap-friendly choice tiles for single- and multi-select questions */
body[data-page="get-started"] .gs-choice-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
body[data-page="get-started"] .gs-choice {
  display: flex; align-items: center; gap: 10px; flex: 1 1 190px;
  border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff;
  padding: 12px 16px; min-height: 48px; font-weight: 600; color: var(--navy);
  font-size: .95rem; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
body[data-page="get-started"] .gs-choice input { width: 20px; height: 20px; flex: none; accent-color: var(--green-deep); }
body[data-page="get-started"] .gs-choice:hover { border-color: var(--navy-300); }
body[data-page="get-started"] .gs-choice:has(input:checked) { border-color: var(--green-deep); background: var(--bg-tint-green); }
body[data-page="get-started"] .gs-choice:has(input:focus-visible) { box-shadow: var(--shadow-focus); }
@media (max-width: 620px) {
  body[data-page="get-started"] .gs-choice { flex: 1 1 100%; }
}

/* Conditional follow-up fields — hidden by default, fade in smoothly when
   JS reveals them; collapse instantly with no transition either way */
body[data-page="get-started"] .gs-conditional[hidden] { display: none; }
@keyframes gsConditionalIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
body[data-page="get-started"] .gs-conditional:not([hidden]) { animation: gsConditionalIn .22s ease; }
@media (prefers-reduced-motion: reduce) {
  body[data-page="get-started"] .gs-conditional:not([hidden]) { animation: none; }
}

/* Confirmation state */
body[data-page="get-started"] .gs-confirmation .btn { margin-top: var(--sp-5); }

/* Refer a Client page: two-column hero photo, mirroring the same
   rounded-photo treatment used on the service pages' .svc-hero-photo. */
body[data-page="refer"] .svc-hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 440px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
body[data-page="refer"] .svc-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: auto;
}
@media (max-width: 1000px) {
  body[data-page="refer"] .svc-hero-photo {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    max-height: 220px;
    margin-top: var(--sp-5);
  }
}

/* Refer a Client page reuses the same shared form component styles as
   Get Started above — additive duplication only, nothing above this
   point is changed. Plus a small set of refer-only additions below
   (multi-step progress indicator, review-step summary, section
   dividers for Child/Parent subsections) further down this file. */
body[data-page="refer"] .gs-form-section { background: var(--bg); padding-top: var(--sp-5); padding-bottom: var(--sp-7); }
body[data-page="refer"] .gs-form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: var(--sp-6) var(--sp-7); position: relative;
}
@media (min-width: 1001px) {
  body[data-page="refer"] .gs-form-section { padding-top: var(--sp-3); }
}
body[data-page="refer"] .gs-form-notice {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .74rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--green-deep); background: var(--bg-tint-green);
  border: 1px solid #DBE9CD; padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 16px;
}
body[data-page="refer"] .gs-field-group-h {
  font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--navy-300); margin: var(--sp-5) 0 var(--sp-4); padding-bottom: 8px; border-bottom: 1px solid var(--line-soft);
}
body[data-page="refer"] .gs-field-group-h:first-of-type { margin-top: 0; }
body[data-page="refer"] .gs-privacy-reminder {
  font-size: .88rem; color: var(--ink-soft); font-style: italic; margin: var(--sp-5) 0 var(--sp-4);
}
@media (max-width: 720px) {
  body[data-page="refer"] .gs-form-wrap { padding: var(--sp-5); }
}

body[data-page="refer"] .gs-referral { padding: var(--sp-5) var(--sp-6); gap: var(--sp-5); }
body[data-page="refer"] .gs-referral-ic {
  width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.12);
  color: #fff; display: grid; place-items: center; margin-bottom: 10px;
}
body[data-page="refer"] .gs-referral h3 { font-size: 1.1rem; }
body[data-page="refer"] .gs-referral p { max-width: 40ch; }
@media (min-width: 761px) {
  body[data-page="refer"] .gs-referral { flex-wrap: nowrap; }
  body[data-page="refer"] .gs-referral > div:first-child { flex: 1 1 auto; min-width: 0; }
  body[data-page="refer"] .gs-referral .btn { flex: none; white-space: nowrap; }
}
@media (max-width: 720px) {
  body[data-page="refer"] .gs-referral { padding: var(--sp-5); }
  body[data-page="refer"] .gs-referral .btn { width: 100%; text-align: center; justify-content: center; }
}

/* ---------- Get Started: native Service Inquiry form ----------
   Additive only — every rule above this point for .gs-hero,
   .gs-pathway, .gs-form-wrap, .gs-form-notice, .gs-field-group-h,
   .gs-privacy-reminder and .gs-referral is untouched. These rules add
   the tap-friendly choice tiles, the fieldset/legend styling used for
   each radio/checkbox question, the smooth conditional-field reveal,
   and the confirmation-state spacing used by initServiceInquiryForm()
   in assets/js/main.js. */
body[data-page="refer"] .gs-required-note {
  font-size: .86rem; color: var(--ink-soft); margin: 0 0 var(--sp-5);
}
body[data-page="refer"] .gs-scope-note {
  font-size: .92rem; color: var(--ink-soft); font-style: italic; margin: 0 0 10px;
}
body[data-page="refer"] .gs-form-error {
  margin: var(--sp-4) 0 0; padding: 10px 14px; border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--leaf-red) 12%, transparent);
  border: 1px solid var(--leaf-red); color: var(--ink);
  font-size: .92rem;
}

/* fieldset/legend used for every radio & checkbox question — made to
   look exactly like the existing .field label above an input */
body[data-page="refer"] fieldset.field { border: 0; padding: 0; margin: 0 0 var(--sp-5); }
body[data-page="refer"] fieldset.field > legend {
  display: block; width: 100%; padding: 0;
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
  margin-bottom: 7px; font-size: .96rem;
}

/* Tap-friendly choice tiles for single- and multi-select questions */
body[data-page="refer"] .gs-choice-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
body[data-page="refer"] .gs-choice {
  display: flex; align-items: center; gap: 10px; flex: 1 1 190px;
  border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff;
  padding: 12px 16px; min-height: 48px; font-weight: 600; color: var(--navy);
  font-size: .95rem; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
body[data-page="refer"] .gs-choice input { width: 20px; height: 20px; flex: none; accent-color: var(--green-deep); }
body[data-page="refer"] .gs-choice:hover { border-color: var(--navy-300); }
body[data-page="refer"] .gs-choice:has(input:checked) { border-color: var(--green-deep); background: var(--bg-tint-green); }
body[data-page="refer"] .gs-choice:has(input:focus-visible) { box-shadow: var(--shadow-focus); }
@media (max-width: 620px) {
  body[data-page="refer"] .gs-choice { flex: 1 1 100%; }
}

/* Conditional follow-up fields — hidden by default, fade in smoothly when
   JS reveals them; collapse instantly with no transition either way */
body[data-page="refer"] .gs-conditional[hidden] { display: none; }
@keyframes gsConditionalIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
body[data-page="refer"] .gs-conditional:not([hidden]) { animation: gsConditionalIn .22s ease; }
@media (prefers-reduced-motion: reduce) {
  body[data-page="refer"] .gs-conditional:not([hidden]) { animation: none; }
}

/* Confirmation state */
body[data-page="refer"] .gs-confirmation .btn { margin-top: var(--sp-5); }

/* =============================================================
   FAQ PAGE
   ============================================================= */
body[data-page="faq"] .faq-hero { padding-block: var(--sp-6); text-align: center; }
body[data-page="faq"] .faq-hero-inner { max-width: 760px; margin-inline: auto; }
body[data-page="faq"] .faq-hero-illus { width: auto; height: 140px; display: block; margin: 0 auto var(--sp-4); }
body[data-page="faq"] .faq-hero-inner .lead { margin-top: 14px; max-width: 740px; margin-inline: auto; }
@media (max-width: 720px) {
  body[data-page="faq"] .faq-hero-illus { height: 105px; }
}

body[data-page="faq"] .faq-categories { display: grid; gap: var(--sp-7); }
body[data-page="faq"] .faq-cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--sp-4); }
body[data-page="faq"] .faq-cat-head h2 { font-size: 1.25rem; margin: 0; }
body[data-page="faq"] .faq-cat-ic {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff;
}
body[data-page="faq"] .faq-category .accordion { display: grid; gap: 11px; }
body[data-page="faq"] .acc-item { box-shadow: none; }
body[data-page="faq"] .acc-trigger { padding: 15px 20px; font-size: 1.02rem; }
body[data-page="faq"] .acc-panel p { padding: 0 20px 18px; }

body[data-page="faq"] .faq-cat-green .faq-cat-ic { background: var(--green); }
body[data-page="faq"] .faq-cat-green .acc-item { border-left: 4px solid var(--green); }
body[data-page="faq"] .faq-cat-green .acc-panel-inner { background: var(--bg-tint-green); }

body[data-page="faq"] .faq-cat-blue .faq-cat-ic { background: var(--leaf-blue); }
body[data-page="faq"] .faq-cat-blue .acc-item { border-left: 4px solid var(--leaf-blue); }
body[data-page="faq"] .faq-cat-blue .acc-trigger:hover { color: var(--blue-deep); }
body[data-page="faq"] .faq-cat-blue .acc-icon { background: var(--bg-tint-blue); color: var(--blue-deep); }
body[data-page="faq"] .faq-cat-blue .acc-trigger[aria-expanded="true"] .acc-icon { background: var(--leaf-blue); color: #fff; }
body[data-page="faq"] .faq-cat-blue .acc-panel-inner { background: var(--bg-tint-blue); }

body[data-page="faq"] .faq-cat-orange .faq-cat-ic { background: var(--leaf-orange); }
body[data-page="faq"] .faq-cat-orange .acc-item { border-left: 4px solid var(--leaf-orange); }
body[data-page="faq"] .faq-cat-orange .acc-trigger:hover { color: var(--orange-deep); }
body[data-page="faq"] .faq-cat-orange .acc-icon { background: var(--bg-tint-warm); color: var(--orange-deep); }
body[data-page="faq"] .faq-cat-orange .acc-trigger[aria-expanded="true"] .acc-icon { background: var(--leaf-orange); color: #fff; }
body[data-page="faq"] .faq-cat-orange .acc-panel-inner { background: var(--bg-tint-warm); }

@media (max-width: 600px) {
  body[data-page="faq"] .faq-categories { padding-inline: 2px; gap: var(--sp-6); }
  body[data-page="faq"] .acc-trigger { padding: 13px 16px; font-size: .98rem; }
  body[data-page="faq"] .acc-panel p { padding: 0 16px 16px; }
}

/* =============================================================
   INSURANCE PAGE
   ============================================================= */
body[data-page="insurance"] .ins-hero { position: relative; overflow: hidden; padding-block: var(--sp-7); }
body[data-page="insurance"] .ins-hero-cols { align-items: center; }
body[data-page="insurance"] .ins-hero-illus-wrap {
  position: relative; display: flex; align-items: center; justify-content: center; min-height: 220px;
}
body[data-page="insurance"] .ins-hero-illus {
  position: relative; z-index: 1; width: 100%; max-width: 400px; height: auto; display: block;
  background: transparent;
}
@media (max-width: 1000px) {
  body[data-page="insurance"] .ins-hero-illus { max-width: 210px; margin: 0 auto; }
  body[data-page="insurance"] .ins-hero-illus-wrap { min-height: 0; margin-top: var(--sp-5); }
}

body[data-page="insurance"] .logo-slot.payer { min-height: 96px; padding: 14px; gap: 7px; box-shadow: none; }
body[data-page="insurance"] .logo-slot.payer img { max-width: 130px; max-height: 48px; }

body[data-page="insurance"] .ins-process-section { background: linear-gradient(160deg, #EEF5FD 0%, #F1F6EC 100%); }
body[data-page="insurance"] .ins-process {
  display: flex; align-items: flex-start; gap: var(--sp-6); margin-top: var(--sp-6); position: relative;
}
body[data-page="insurance"] .ins-process::before {
  content: ""; position: absolute; top: 22px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(to right, var(--navy), var(--green), var(--leaf-orange));
  opacity: .35; z-index: 0;
}
body[data-page="insurance"] .ins-process-step { flex: 1; text-align: center; position: relative; z-index: 1; }
body[data-page="insurance"] .ins-process-ic {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  margin: 0 auto 12px; box-shadow: var(--shadow-sm);
}
body[data-page="insurance"] .ins-process-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
body[data-page="insurance"] .ins-process-step p { color: var(--ink-soft); font-size: .93rem; }
@media (max-width: 760px) {
  body[data-page="insurance"] .ins-process { flex-direction: column; gap: var(--sp-5); }
  body[data-page="insurance"] .ins-process::before { left: 22px; top: 0; bottom: 0; right: auto; width: 2px; height: auto; }
  body[data-page="insurance"] .ins-process-step { text-align: left; display: flex; gap: 14px; align-items: flex-start; }
  body[data-page="insurance"] .ins-process-ic { margin: 0; flex: none; }
}

/* =============================================================
   SERVICE AREAS PAGE
   ============================================================= */
body[data-page="service-areas"] .page-hero.areas-hero {
  background: linear-gradient(160deg, #EAF5EE 0%, #E9F2F9 100%);
  overflow: hidden;
}
body[data-page="service-areas"] .areas-hero-contours {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
}
body[data-page="service-areas"] .page-hero.areas-hero .container { position: relative; z-index: 1; }

body[data-page="service-areas"] .areas-map-wrap {
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-5);
}
body[data-page="service-areas"] .areas-map-img {
  width: 100%; height: auto; display: block; border-radius: var(--r-lg);
}
body[data-page="service-areas"] .areas-map-caption {
  margin: 10px 4px 0; font-size: .78rem; color: var(--ink-soft); text-align: center;
}
@media (max-width: 1000px) {
  body[data-page="service-areas"] .areas-map-wrap { margin-top: var(--sp-5); padding: var(--sp-4); }
}

/* Current Service Focus — open pathway, not cards */
body[data-page="service-areas"] .areas-pathway {
  display: flex; align-items: center; gap: 0; margin-top: var(--sp-6); flex-wrap: wrap;
}
body[data-page="service-areas"] .areas-pathway-step {
  display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700;
  color: var(--navy); font-size: 1rem; padding-right: var(--sp-5); position: relative;
}
body[data-page="service-areas"] .areas-pathway-step:not(:last-child)::after {
  content: ""; display: block; width: 40px; height: 2px; background: var(--line);
  margin-left: var(--sp-4);
}
body[data-page="service-areas"] .areas-pathway-ic {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none;
}
@media (max-width: 720px) {
  body[data-page="service-areas"] .areas-pathway { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
  body[data-page="service-areas"] .areas-pathway-step { padding-right: 0; }
  body[data-page="service-areas"] .areas-pathway-step:not(:last-child)::after {
    position: absolute; left: 19px; top: 100%; width: 2px; height: var(--sp-4); margin: 0;
  }
}

/* Future Growth — slim warm band, not a disclaimer box */
body[data-page="service-areas"] .areas-growth-band {
  background: var(--bg-tint-warm);
  padding-block: var(--sp-6);
}

/* ---------- Home/School/Community (purple) ---------- */
body.svc-page-environments .page-hero .eyebrow-label { color: var(--leaf-purple); }
body.svc-page-environments .svc-hero-mosaic {
  display: flex;
  gap: 10px;
  width: 100%;
  height: 400px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-tint-purple);
}
body.svc-page-environments .svc-mosaic-community { width: 60%; height: 100%; }
body.svc-page-environments .svc-mosaic-stack {
  width: 40%; height: 100%; display: flex; flex-direction: column; gap: 10px;
}
body.svc-page-environments .svc-mosaic-stack .svc-mosaic-tile { flex: 1 1 50%; min-height: 0; }
body.svc-page-environments .svc-mosaic-tile {
  position: relative; overflow: hidden; border-radius: 0;
}
body.svc-page-environments .svc-mosaic-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 0; box-shadow: none; aspect-ratio: auto;
}
@media (max-width: 1000px) {
  body.svc-page-environments .svc-hero-mosaic {
    height: 300px; margin-top: var(--sp-5);
  }
}
@media (max-width: 480px) {
  body.svc-page-environments .svc-hero-mosaic { height: 280px; gap: 7px; }
  body.svc-page-environments .svc-mosaic-stack { gap: 7px; }
}
/* Top-align the three setting cards so Home and Community keep a
   content-driven height instead of stretching to match the taller
   School card (CSS Grid's default align-items: stretch). Cards stay
   visually coordinated (same border/shadow/radius via .card) without
   the large empty area that used to appear beneath Home/Community. */
body.svc-page-environments .grid.cols-3 { align-items: start; }
body.svc-page-environments .svc-env-note { margin-top: var(--sp-5); }

/* ---------- Legal pages (Privacy Policy / Notice of Privacy Practices /
   Accessibility / Terms) — footer-only pages, not in primary nav ---------- */
.legal-hero { padding-block: var(--sp-6); }
.legal-updated { margin-top: 10px; color: var(--ink-soft); font-size: .92rem; }
.legal-content { padding-block: var(--sp-2) var(--sp-4); }
.legal-content h2 { margin-top: var(--sp-7); margin-bottom: var(--sp-3); font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { margin-top: var(--sp-5); margin-bottom: 10px; font-size: 1.05rem; }
.legal-content p { color: var(--ink-soft); margin-bottom: 14px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul.bullets { margin-bottom: var(--sp-4); }
.legal-content a { color: var(--green-deep); font-weight: 600; }
.legal-content strong { color: var(--navy); }
.legal-note {
  display: flex; gap: 12px; align-items: flex-start; background: var(--bg-tint-blue);
  border: 1px solid #D6E6F7; border-radius: var(--r-md); padding: 13px 16px; font-size: .88rem;
  color: var(--ink-soft); margin: var(--sp-5) 0;
}
.legal-note svg { flex: none; color: var(--leaf-blue); margin-top: 2px; }

/* =============================================================
   REFER A CLIENT PAGE — multi-step professional referral form
   Original progress/step treatment (segmented bars + labels), not
   modeled on any reference site's numbered-circle design.
   ============================================================= */
body[data-page="refer"] .ref-step[hidden] { display: none; }

body[data-page="refer"] .ref-progress { display: flex; gap: 8px; margin-bottom: var(--sp-6); }
body[data-page="refer"] .ref-progress-step { flex: 1 1 0; min-width: 0; }
body[data-page="refer"] .ref-progress-bar { height: 6px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
body[data-page="refer"] .ref-progress-bar > span { display: block; height: 100%; width: 0; background: var(--green-deep); transition: width .25s ease; }
body[data-page="refer"] .ref-progress-step.is-complete .ref-progress-bar > span,
body[data-page="refer"] .ref-progress-step.is-current .ref-progress-bar > span { width: 100%; }
body[data-page="refer"] .ref-progress-label {
  display: block; margin-top: 8px; font-family: var(--font-head); font-weight: 700;
  font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-300);
}
body[data-page="refer"] .ref-progress-step.is-current .ref-progress-label { color: var(--green-deep); }
body[data-page="refer"] .ref-progress-step.is-complete .ref-progress-label { color: var(--navy); }
@media (max-width: 640px) {
  body[data-page="refer"] .ref-progress-label { display: none; }
  body[data-page="refer"] .ref-progress-step.is-current .ref-progress-label { display: block; }
}

body[data-page="refer"] .ref-subsection-h {
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
  font-size: 1rem; margin: var(--sp-5) 0 var(--sp-3); padding-top: var(--sp-4);
  border-top: 1px dashed var(--line);
}
body[data-page="refer"] .ref-subsection-h:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }

body[data-page="refer"] .ref-step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: var(--sp-6); }
body[data-page="refer"] .ref-step-nav .btn { flex: none; }
@media (max-width: 520px) {
  body[data-page="refer"] .ref-step-nav { flex-direction: column-reverse; }
  body[data-page="refer"] .ref-step-nav .btn { width: 100%; text-align: center; justify-content: center; }
}

body[data-page="refer"] .ref-review-group { margin-bottom: var(--sp-5); }
body[data-page="refer"] .ref-review-group h4 {
  font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--navy-300); margin-bottom: var(--sp-3);
}
body[data-page="refer"] .ref-review-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
body[data-page="refer"] .ref-review-row dt { color: var(--ink-soft); font-weight: 600; font-size: .92rem; flex: none; }
body[data-page="refer"] .ref-review-row dd { color: var(--ink); font-size: .92rem; margin: 0; text-align: right; }
