/* ==========================================================================
   Psychiatry practice website — site styles
   Mobile-first. Breakpoints: 640px (sm), 900px (md), 1140px (lg / desktop nav)
   ========================================================================== */

:root {
    color-scheme: light;

    --navy-900: #0f2538;
    --navy-800: #15324b;
    --navy-700: #1d4263;
    --blue-600: #2f6596;
    --blue-500: #4f86bd;
    --sky-400: #6fa3d8;   /* matches provider photo backdrops */
    --sky-200: #bcd6ef;
    --sky-100: #e4eff9;
    --sky-50: #f2f7fc;
    --sand-50: #fbf8f4;
    --sand-100: #f4ede3;
    --sand-200: #e9dccb;
    --clay-600: #b4532f;
    --clay-700: #96421f;
    --clay-100: #f8e6dc;

    --ink: #1a2633;
    --text: #2c3a48;
    --muted: #546272;
    --line: #dde5ec;
    --white: #fff;

    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-serif: "Fraunces", Georgia, "Times New Roman", serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgba(15, 37, 56, .06), 0 2px 8px rgba(15, 37, 56, .05);
    --shadow: 0 2px 6px rgba(15, 37, 56, .05), 0 12px 32px rgba(15, 37, 56, .08);
    --shadow-lg: 0 24px 60px rgba(15, 37, 56, .16);

    --gutter: 20px;
    --section-y: clamp(56px, 8vw, 104px);
    --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--ink);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.01em;
    margin: 0 0 .5em;
    font-optical-sizing: auto;
    text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.625rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.375rem); font-weight: 600; }
h4 { font-size: 1.0625rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }

:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 2px; border-radius: 4px; }

address { font-style: normal; }

.icon {
    width: 1.15em; height: 1.15em;
    flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
    display: inline-block; vertical-align: -.18em;
}

.skip-link {
    position: absolute; left: 12px; top: -100px; z-index: 100;
    background: var(--navy-900); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: var(--white); }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--sky-50); }
.section--sand { background: var(--sand-50); }
.section--navy { background: var(--navy-800); color: #d7e3ee; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: end; justify-content: space-between; }
.section-head--split > div { max-width: 640px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-sans); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--blue-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--sky-400); border-radius: 2px; }
.section--navy .eyebrow { color: var(--sky-200); }

.lead { font-size: clamp(1.125rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.6; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.2fr .8fr; } }

.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--navy-700); --btn-fg: var(--white); --btn-border: var(--btn-bg);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 22px;
    font: 600 1rem/1.2 var(--font-sans);
    color: var(--btn-fg); background: var(--btn-bg);
    border: 1.5px solid var(--btn-border); border-radius: 999px;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: none; }
.btn-primary { --btn-bg: var(--clay-600); }
.btn-primary:hover { --btn-bg: var(--clay-700); }
.btn-secondary { --btn-bg: var(--navy-700); }
.btn-secondary:hover { --btn-bg: var(--navy-900); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy-700); --btn-border: #b7c8d8; }
.btn-outline:hover { --btn-bg: var(--sky-50); --btn-border: var(--navy-700); }
.btn-light { --btn-bg: var(--white); --btn-fg: var(--navy-800); }
.btn-light:hover { --btn-bg: var(--sky-100); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--navy-700); --btn-border: transparent; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: 15px 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; color: var(--navy-700); text-decoration: none;
}
.link-arrow .icon { transition: transform .18s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #c9d7e4; font-size: .875rem; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 40px; }
.topbar-note { margin: 0; display: none; }
.topbar-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.topbar-links a { color: #e8eff6; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { color: var(--white); text-decoration: underline; }
@media (min-width: 900px) { .topbar-inner { justify-content: space-between; } .topbar-note { display: block; } }
@media (max-width: 420px) { .topbar-links { gap: 14px; font-size: .8125rem; } .topbar-links li:last-child { display: none; } }

/* ---------- Header & navigation ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it. */
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(160%) blur(10px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15, 37, 56, .06); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }

.brand { display: inline-flex; text-decoration: none; margin-right: auto; }
/* "Sprout" logo: the mark's colors swap on dark backgrounds via .brand--light. */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { width: 42px; height: 42px; flex: none; }
.lm-bg { fill: var(--sky-100); }
.lm-stem { stroke: var(--navy-700); fill: none; }
.lm-leaf-left { fill: var(--sky-400); }
.lm-leaf-right { fill: var(--navy-700); }
.lm-seed { fill: var(--clay-600); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
    font-family: var(--font-serif); font-size: 1.625rem; font-weight: 400; color: var(--navy-700);
    letter-spacing: -.02em; text-transform: lowercase; white-space: nowrap;
}
.logo-sub { font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: lowercase; color: var(--muted); margin-top: 4px; white-space: nowrap; }
@media (max-width: 419.98px) {
    .logo { gap: 8px; }
    .logo-mark { width: 36px; height: 36px; }
    .logo-name { font-size: 1.3125rem; }
    .logo-sub { font-size: .6875rem; letter-spacing: .08em; }
    .header-inner { gap: 10px; }
    .header-actions { gap: 8px; }
    .header-actions .btn-sm { padding: 8px 14px; font-size: .875rem; }
}
.brand--light .logo-name { color: var(--white); }
.brand--light .logo-sub { color: #a9bdd0; }
.brand--light .lm-bg { fill: var(--navy-800); }
.brand--light .lm-stem { stroke: var(--white); }
.brand--light .lm-leaf-right { fill: var(--white); }
.brand--light .lm-seed { fill: #e08a62; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
    display: inline-grid; place-items: center; width: 46px; height: 46px;
    border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy-800); cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: inline-block; }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-link {
    display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%;
    padding: 14px 4px; font: 500 1.0625rem/1.3 var(--font-sans); color: var(--ink);
    background: none; border: 0; text-decoration: none; cursor: pointer; text-align: left;
}
.nav-link:hover, .nav-link.is-active { color: var(--blue-600); }
.nav-link .chev { transition: transform .2s ease; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.sub-menu { list-style: none; margin: 0; padding: 0 0 8px 8px; display: none; }
.has-sub.is-open > .sub-menu { display: block; }
.sub-menu a {
    display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px;
    color: var(--text); text-decoration: none; font-size: 1rem;
}
.sub-menu a:hover { background: var(--sky-50); color: var(--navy-700); }
.sub-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--sky-100); color: var(--blue-600); flex: none; }
.sub-all a { font-weight: 600; color: var(--navy-700); }

/* Mobile panel */
@media (max-width: 1139.98px) {
    .primary-nav {
        position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 49;
        background: var(--white); padding: 8px var(--gutter) 32px; overflow-y: auto;
        border-top: 1px solid var(--line);
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }
    .primary-nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .nav-list > li { border-bottom: 1px solid var(--line); }
    .nav-mobile-ctas { display: grid; gap: 10px; margin-top: 24px; }
    body.nav-open { overflow: hidden; }
}
@media (max-width: 639.98px) { .hide-sm { display: none; } }

/* Desktop nav */
@media (min-width: 1140px) {
    .menu-toggle, .nav-mobile-ctas { display: none; }
    .brand { margin-right: 0; }
    .primary-nav { margin-inline: auto; }
    .nav-list { display: flex; align-items: center; gap: 2px; }
    .nav-list > li { position: relative; }
    .nav-link { padding: 10px 12px; font-size: .96875rem; border-radius: 10px; width: auto; white-space: nowrap; }
    .nav-link:hover { background: var(--sky-50); }
    .nav-link.is-active { color: var(--navy-700); box-shadow: inset 0 -2px 0 var(--sky-400); border-radius: 0; }

    .sub-menu {
        position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; padding: 10px;
        background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
        box-shadow: var(--shadow-lg); display: block;
        opacity: 0; visibility: hidden; transform: translateY(6px);
        transition: opacity .16s ease, transform .16s ease, visibility .16s;
    }
    .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
    .sub-menu--wide { min-width: 360px; }
    /* Open on hover, on click/tap (.is-open, managed in site.js), or while a keyboard user is tabbing
       through the menu. :focus-visible (not :focus-within) so a mouse click doesn't pin a menu open. */
    .has-sub:hover > .sub-menu, .has-sub:has(:focus-visible) > .sub-menu, .has-sub.is-open > .sub-menu {
        opacity: 1; visibility: visible; transform: none;
    }
    .has-sub:hover > .nav-link .chev { transform: rotate(180deg); }
}
/* Narrower desktops: tighten nav spacing so every item fits on one line. */
@media (min-width: 1140px) and (max-width: 1299.98px) {
    .nav-link { padding-inline: 8px; font-size: .9375rem; }
    .header-inner { gap: 10px; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1200px 600px at 100% -10%, var(--sky-100) 0%, transparent 60%),
        radial-gradient(800px 500px at -10% 110%, var(--sand-100) 0%, transparent 60%),
        var(--sand-50);
    padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px);
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--blue-600); }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero .btn-row { margin-bottom: 28px; }
@media (max-width: 479.98px) { .hero .btn-row .btn { width: 100%; } }

.trust-line { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; color: var(--muted); max-width: 520px; }
.trust-line .icon { color: var(--blue-600); margin-top: 3px; }

/* Home hero with a background video montage. A navy scrim keeps the white text readable over
   any frame: heavier on the left behind the copy on desktop, top-to-bottom on phones. */
.hero--video {
    display: flex; align-items: center;
    min-height: clamp(560px, 78vh, 760px);
    padding-block: clamp(72px, 10vw, 128px);
    background: var(--navy-900); color: var(--white);
}
.hero-media, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity 1.2s ease; }
.hero-media video.is-active { opacity: 1; }
.hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15, 37, 56, .62) 0%, rgba(15, 37, 56, .78) 100%);
}
@media (min-width: 768px) {
    .hero-media::after { background: linear-gradient(90deg, rgba(15, 37, 56, .86) 0%, rgba(15, 37, 56, .62) 48%, rgba(15, 37, 56, .18) 100%); }
}
.hero-content { position: relative; z-index: 1; width: 100%; }
.hero-content > * { max-width: 640px; }
.hero--video .eyebrow { color: var(--sky-200); }
.hero--video h1 { color: var(--white); }
.hero--video h1 em { color: var(--sky-200); }
.hero--video .lead { color: rgba(255, 255, 255, .9); }
.hero--video .trust-line { color: #d7e3ee; }
.hero--video .trust-line .icon { color: var(--sky-200); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-border: rgba(255, 255, 255, .65); }
.btn-outline-light:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-fg: var(--white); --btn-border: var(--white); }
.hero-pill {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
    padding: 8px 16px; border-radius: 999px; font-size: .875rem;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #4fd08f; box-shadow: 0 0 0 5px rgba(79, 208, 143, .2); flex: none; }
.hero-pause {
    position: absolute; z-index: 2; right: 16px; bottom: 16px;
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(15, 37, 56, .5); color: var(--white); cursor: pointer;
}
.hero-pause:hover { background: rgba(15, 37, 56, .75); }
.hero-pause[hidden] { display: none; }
.hero-pause .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.hero-pause-icon--play, .hero-pause[aria-pressed="true"] .hero-pause-icon--pause { display: none; }
.hero-pause[aria-pressed="true"] .hero-pause-icon--play { display: block; }
@media (min-width: 768px) { .hero-pause { right: 24px; bottom: 24px; } }

/* ---------- Insurance strip ---------- */
.insurance-strip { border-block: 1px solid var(--line); background: var(--white); }
.insurance-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; padding-block: 22px; }
.insurance-strip p { margin: 0; font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.insurer-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.insurer-list li {
    padding: 8px 16px; border-radius: 999px; background: var(--sky-50); border: 1px solid var(--sky-100);
    font-weight: 600; color: var(--navy-700); font-size: .9375rem;
}

/* ---------- Cards ---------- */
.card {
    position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }

.icon-badge {
    display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
    background: var(--sky-100); color: var(--blue-600); margin-bottom: 18px;
}
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge--clay { background: var(--clay-100); color: var(--clay-600); }
.icon-badge--sand { background: var(--sand-100); color: var(--clay-700); }

.service-card { display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky-200); }
.service-card p { flex: 1; }
.service-card .link-arrow { margin-top: 18px; }
.service-card .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.value-card { background: transparent; border: 0; box-shadow: none; padding: 0; }
.partner-note {
    margin: clamp(32px, 4vw, 48px) 0 0; padding-top: 24px; border-top: 1px solid var(--line);
    text-align: center; font-size: .9375rem; color: var(--muted);
}
.partner-note a { font-weight: 600; color: var(--navy-700); }

/* ---------- Pills ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pill-list li {
    padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
    font-size: .9375rem; color: var(--ink);
}
.section--tint .pill-list li { border-color: var(--sky-100); }
.pill-list--compact li { padding: 6px 12px; font-size: .875rem; background: var(--sky-50); border-color: var(--sky-100); }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
    content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
    background: var(--sky-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6596' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
@media (min-width: 640px) { .check-list--2col { grid-template-columns: 1fr 1fr; gap: 12px 28px; } }

/* ---------- Providers ---------- */
.provider-grid { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.provider-card {
    position: relative; display: flex; flex-direction: column; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.provider-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.provider-photo { aspect-ratio: 10 / 9; background: var(--sky-400); overflow: hidden; }
.provider-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.provider-card:hover .provider-photo img { transform: scale(1.03); }
.provider-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.provider-body h3 { margin-bottom: 2px; font-size: 1.25rem; }
.provider-body h3 a { color: inherit; text-decoration: none; }
.provider-body h3 a::after { content: ""; position: absolute; inset: 0; }
.provider-creds { font-weight: 600; color: var(--blue-600); font-size: .9375rem; margin-bottom: 4px; }
.provider-role { font-size: .9375rem; color: var(--muted); margin-bottom: 14px; }
.provider-body .pill-list { margin-top: auto; }

.provider-hero { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .provider-hero { grid-template-columns: 380px 1fr; } }
.provider-portrait { border-radius: var(--radius-lg); overflow: hidden; background: var(--sky-400); box-shadow: var(--shadow); aspect-ratio: 10 / 9; }
.provider-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.provider-quote {
    font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.4;
    color: var(--navy-700); border-left: 3px solid var(--sky-400); padding-left: 20px; margin: 0 0 24px;
}
.provider-aside { display: grid; gap: 14px; margin-top: 20px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.steps li { counter-increment: step; position: relative; padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.steps li::before {
    content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px;
    border-radius: 50%; background: var(--navy-700); color: var(--white); font: 600 1.125rem var(--font-serif);
}
.steps h3 { font-size: 1.1875rem; }
.steps p { color: var(--muted); }

/* ---------- Testimonials ---------- */
.quote-card { display: flex; flex-direction: column; gap: 16px; }
.quote-card blockquote { margin: 0; font-family: var(--font-serif); font-size: 1.125rem; line-height: 1.5; color: var(--ink); flex: 1; }
.quote-card figcaption { font-size: .9375rem; color: var(--muted); }
.quote-card figcaption strong { color: var(--ink); }
.stars { display: flex; gap: 2px; color: #e2a33b; }
.stars .icon { width: 18px; height: 18px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
    background:
        radial-gradient(900px 400px at 100% 0%, var(--sky-100) 0%, transparent 65%),
        var(--sand-50);
    padding-block: clamp(36px, 6vw, 80px) clamp(40px, 6vw, 72px);
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); max-width: 860px; }
.page-hero .lead { max-width: 720px; }
.page-hero .btn-row { margin-top: 28px; }

.breadcrumbs { margin-bottom: 18px; font-size: .875rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #9aa8b5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy-700); text-decoration: underline; }

/* ---------- Content layout with sidebar ---------- */
.with-sidebar { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 960px) { .with-sidebar { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .sidebar { position: sticky; top: calc(var(--header-h) + 24px); } }
.sidebar { display: grid; gap: 20px; }
.sidebar-card { background: var(--navy-800); color: #d7e3ee; border-radius: var(--radius-lg); padding: 28px; }
.sidebar-card h2, .sidebar-card h3 { color: var(--white); font-size: 1.375rem; }
.sidebar-card .btn { width: 100%; }
.sidebar-card .btn + .btn { margin-top: 10px; }
.sidebar-card a:not(.btn) { color: var(--white); }
.sidebar-card--light { background: var(--sky-50); color: var(--text); border: 1px solid var(--sky-100); }
.sidebar-card--light h2, .sidebar-card--light h3 { color: var(--ink); }
.sidebar-card--light a:not(.btn) { color: var(--blue-600); }

.content-block + .content-block { margin-top: clamp(32px, 4vw, 48px); }
.content-block h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }

/* ---------- Prose (blog, policy) ---------- */
.prose { font-size: 1.125rem; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 1.875rem); margin-top: 1.8em; margin-bottom: .4em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.5em; margin-bottom: .3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--blue-500); }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--sky-400); color: var(--navy-700); font-style: italic; }
.prose img { border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--sky-50); }
.prose p, .prose li { margin-bottom: 0; }

/* ---------- FAQ accordion ---------- */
.faq-group + .faq-group { margin-top: clamp(36px, 5vw, 56px); }
.faq-group > h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: var(--sky-200); box-shadow: var(--shadow-sm); }
.faq-item summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 18px 22px; font-weight: 600; color: var(--ink); font-size: 1.0625rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
    background: var(--sky-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4263' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
    transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }

.toc { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 40px; }
.toc a {
    display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
    text-decoration: none; color: var(--navy-700); font-weight: 500; font-size: .9375rem; background: var(--white);
}
.toc a:hover { border-color: var(--navy-700); background: var(--sky-50); }

/* ---------- Pricing / info tables ---------- */
.rate-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rate-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--sky-50); }
.rate-list strong { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy-800); font-weight: 600; }

.callout {
    display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius);
    background: var(--clay-100); color: #5b2a15; font-size: 1rem;
}
.callout .icon { color: var(--clay-600); width: 22px; height: 22px; margin-top: 2px; }
.callout--info { background: var(--sky-50); color: var(--navy-800); border: 1px solid var(--sky-100); }
.callout--info .icon { color: var(--blue-600); }
.callout a { color: inherit; font-weight: 600; }

/* ---------- Resource cards ---------- */
.resource-card { display: flex; flex-direction: column; gap: 6px; }
.resource-card .btn { margin-top: 16px; align-self: flex-start; }
.telehealth-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .telehealth-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .telehealth-list { grid-template-columns: repeat(3, 1fr); } }
.telehealth-list a {
    display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.telehealth-list a:hover { border-color: var(--sky-400); box-shadow: var(--shadow-sm); }
.telehealth-list img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--sky-400); }
.telehealth-list span { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.telehealth-list small { color: var(--muted); font-size: .875rem; }
.telehealth-list .icon { color: var(--blue-600); }

.crisis-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .crisis-grid { grid-template-columns: 1fr 1fr; } }
.crisis-item { padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.crisis-item strong { display: block; color: var(--white); font-size: 1.125rem; margin-bottom: 4px; }
.crisis-item a { color: var(--white); font-weight: 600; }

/* ---------- Path chooser (get started) ---------- */
.path-card { display: flex; flex-direction: column; gap: 8px; padding: clamp(26px, 3.6vw, 40px); border-radius: var(--radius-lg); }
.path-card .btn { margin-top: 18px; align-self: flex-start; }
.path-card--new { background: var(--navy-800); color: #d7e3ee; border: 0; }
.path-card--new h2 { color: var(--white); }
.path-card--new .check-list li::before { background-color: rgba(255, 255, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .9375rem; color: var(--ink); margin-bottom: 6px; }
.field .optional { font-weight: 400; color: var(--muted); }
.input, .select, .textarea {
    width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
    background: var(--white); border: 1.5px solid #cbd6e0; border-radius: 12px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 150px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(79, 134, 189, .18); }
.input-validation-error { border-color: #c0392b; }
.field-error, .validation-summary-errors { color: #b42318; font-size: .875rem; margin-top: 6px; display: block; }
.validation-summary-errors ul { margin: 0; padding-left: 1.1em; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; margin: 0; }
.radio-row input { width: 18px; height: 18px; accent-color: var(--navy-700); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .875rem; color: var(--muted); }

.alert { padding: 18px 20px; border-radius: var(--radius); margin-bottom: 24px; display: flex; gap: 12px; align-items: flex-start; }
.alert--success { background: #e7f6ee; color: #14532d; border: 1px solid #b7e2c8; }
.alert--error { background: #fdecea; color: #7a1d14; border: 1px solid #f5c2bc; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon-badge { margin: 0; width: 44px; height: 44px; border-radius: 12px; }
.contact-list .icon-badge .icon { width: 20px; height: 20px; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a { text-decoration: none; }

.map-embed { border: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); background: var(--sky-50); display: block; }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: clamp(20px, 2.6vw, 32px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); }
.post-card {
    position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
    background: var(--white); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--sky-100), var(--sand-100)); display: grid; place-items: center; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb .icon { width: 44px; height: 44px; color: var(--sky-400); stroke-width: 1.4; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body h3 { font-size: 1.3rem; margin: 0; }
.post-body h3 a { color: inherit; text-decoration: none; }
.post-body h3 a::after { content: ""; position: absolute; inset: 0; }
.post-body p { color: var(--muted); font-size: 1rem; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .875rem; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--sky-100); color: var(--navy-700); font-size: .8125rem; font-weight: 600; text-decoration: none; position: relative; z-index: 1; }
a.tag:hover { background: var(--sky-200); color: var(--navy-900); }
.tag.is-active { background: var(--navy-700); color: var(--white); }
.tag-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }

.article-header { max-width: 820px; }
.article-hero-img { border-radius: var(--radius-lg); overflow: hidden; margin-top: 32px; aspect-ratio: 16 / 8; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--sky-400); }
.byline div { line-height: 1.35; font-size: .9375rem; color: var(--muted); }
.byline strong { color: var(--ink); }
.byline a { color: inherit; }
.article-footer { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 20px; }
.disclaimer { font-size: .9375rem; color: var(--muted); background: var(--sand-50); border-radius: var(--radius); padding: 18px 20px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span {
    min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding-inline: 12px;
    border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--navy-700); font-weight: 600;
}
.pagination .is-current { background: var(--navy-700); color: var(--white); border-color: var(--navy-700); }

.empty-state { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }

/* ---------- Beliefs table (about) ---------- */
.belief-list { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.belief-list li { display: grid; gap: 6px 24px; padding: 20px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
@media (min-width: 760px) { .belief-list li { grid-template-columns: 1fr 1fr; align-items: center; } }
.belief-old { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(84, 98, 114, .5); }
.belief-new { color: var(--ink); font-weight: 600; font-family: var(--font-serif); font-size: 1.125rem; }
.belief-head { display: none; font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-inline: 22px; }
@media (min-width: 760px) { .belief-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 4px; } }

.stat-row { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-serif); font-size: clamp(1.75rem, 3vw, 2.25rem); color: var(--navy-800); font-weight: 500; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9375rem; }

/* ---------- CTA band ---------- */
.cta-band {
    background:
        radial-gradient(700px 300px at 90% 0%, rgba(111, 163, 216, .35) 0%, transparent 70%),
        var(--navy-800);
    color: #d7e3ee; padding-block: clamp(48px, 7vw, 88px);
}
.cta-inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .cta-inner { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { max-width: 620px; font-size: 1.125rem; }
.cta-band a:not(.btn) { color: var(--white); font-weight: 600; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479.98px) { .cta-actions .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c8d6; font-size: .9375rem; }
.site-footer a { color: #dfe8f1; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.crisis-strip { background: #0b1c2b; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.crisis-strip .container { display: flex; gap: 12px; align-items: flex-start; padding-block: 16px; }
.crisis-strip .icon { color: var(--sky-400); width: 22px; height: 22px; margin-top: 2px; }
.crisis-strip p { margin: 0; }
.crisis-strip strong { color: var(--white); }
.crisis-strip a { font-weight: 700; text-decoration: underline; }

.footer-grid { display: grid; gap: 36px 28px; padding-block: 56px 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr 1.1fr 1fr .8fr 1fr; } }
.footer-brand p { margin: 16px 0 20px; max-width: 320px; }
.footer-heading { font: 600 .8125rem/1.2 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer address { display: grid; gap: 12px; }
.site-footer address a { display: flex; gap: 10px; align-items: flex-start; }
.site-footer address .icon { margin-top: 4px; color: var(--sky-400); }
.social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.social a:hover { background: rgba(255, 255, 255, .16); }
.footer-areas { padding-bottom: 28px; font-size: .8125rem; color: #8ea3b6; }
.footer-areas strong { color: #c9d7e4; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 20px; font-size: .875rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }

/* ---------- Location links ---------- */
.footer-locations a { color: #dfe8f1; }
.footer-locations { margin-bottom: 8px; }
.pill-list li a { text-decoration: none; color: inherit; }
.pill-list li:has(a):hover { border-color: var(--navy-700); background: var(--sky-50); }

/* ---------- Provider portrait & welcome note ---------- */
.provider-portrait--tall { aspect-ratio: 3 / 4; }
.provider-portrait--tall img { object-position: center 20%; }
@media (max-width: 899.98px) { .provider-portrait--tall { max-width: 420px; } }
.welcome-note { background: var(--sand-50); border-left: 3px solid var(--sky-400); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.welcome-note h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.welcome-note .prose { font-family: var(--font-serif); font-size: 1.125rem; color: var(--navy-800); }
.credential-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.credential-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .975rem; color: var(--text); }
.credential-list .icon { color: var(--blue-600); margin-top: 3px; }

/* ---------- Office hours ---------- */
.hours-row { display: block; color: var(--text); font-size: .95rem; }
.footer-hours { display: flex; gap: 10px; align-items: flex-start; color: #dfe8f1; }
.footer-hours .icon { margin-top: 4px; color: var(--sky-400); }
