/* Wellness by Physiatry design tokens. Ported from the bound design system, values unchanged. */
:root{
--color-sage-100:#eef2dc;--color-sage-300:#cdda9a;--color-sage-500:#bbcd6f;--color-sage-600:#a3b85c;--color-sage-700:#8aa047;
--color-forest-500:#6c8a6c;--color-forest-700:#536f58;--color-forest-800:#425844;--color-forest-900:#35462f;
--color-sand-100:#faf3e5;--color-sand-300:#f0dcb8;--color-sand-500:#e8c58f;--color-sand-700:#c99f61;
--color-teal-100:#e3eeee;--color-teal-300:#a8cbcc;--color-teal-500:#66a4a8;--color-teal-700:#4c8285;
--color-gold-100:#fdf6e3;--color-gold-300:#f5e5ae;--color-gold-500:#fadd8b;--color-gold-700:#dcb84f;
--color-mint-100:#e3fbe8;--color-mint-500:#5cff7f;--color-mint-700:#3ca653;
--accent-vital:var(--color-mint-500);--accent-vital-strong:var(--color-mint-700);--accent-vital-bg:var(--color-mint-100);
--color-cream:#fbf8f1;--color-white:#ffffff;
--color-ink:#2f3a2c;--color-ink-soft:#5a6455;
--surface-page:var(--color-cream);--surface-card:var(--color-white);--surface-brand:var(--color-sage-500);
--surface-brand-soft:var(--color-sage-100);--surface-dark:var(--color-forest-800);
--text-primary:var(--color-ink);--text-secondary:var(--color-ink-soft);--text-inverse:var(--color-white);
--text-on-brand:var(--color-forest-900);--text-brand:var(--color-forest-700);
--border-subtle:rgba(83,111,88,.16);--border-strong:rgba(83,111,88,.32);
--link:var(--color-forest-700);--link-hover:var(--color-sage-700);
--condition-tbi:var(--color-gold-500);--condition-tbi-bg:var(--color-gold-100);
--condition-stroke:var(--color-sage-500);--condition-stroke-bg:var(--color-sage-100);
--condition-concussion:var(--color-sand-500);--condition-concussion-bg:var(--color-sand-100);
--condition-cognitive:var(--color-forest-700);--condition-cognitive-bg:#e7ede7;
--condition-neurobehavioral:var(--color-teal-500);--condition-neurobehavioral-bg:var(--color-teal-100);
--shadow-sm:0 2px 8px rgba(83,111,88,.08);--shadow-md:0 8px 24px rgba(83,111,88,.12);--shadow-lg:0 20px 48px rgba(83,111,88,.18);

--font-display:'Newsreader',Georgia,'Times New Roman',serif;
--font-body:'Manrope',-apple-system,'Segoe UI',sans-serif;
--text-hero:clamp(2.75rem,6vw,5rem);
--text-h1:clamp(2.25rem,4vw,3.5rem);
--text-h2:clamp(1.75rem,3vw,2.5rem);
--text-h3:clamp(1.25rem,2vw,1.5rem);
--text-eyebrow:0.8125rem;
--text-body-lg:1.1875rem;
--text-body:1.0625rem;
--text-small:0.9375rem;
--lh-tight:1.1;
--lh-snug:1.3;
--lh-normal:1.6;
--lh-relaxed:1.75;
--tracking-eyebrow:0.14em;--tracking-wide:0.04em;

--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:64px;--space-9:96px;--space-10:128px;
--container-max:1200px;--container-narrow:760px;

--radius-sm:6px;--radius-md:12px;--radius-lg:20px;--radius-pill:999px;
--radius-arch:999px 999px 0 0;
--ease-standard:cubic-bezier(.4,0,.2,1);
--duration-fast:150ms;
--duration-normal:250ms;
}
*{box-sizing:border-box}
body{margin:0;background:var(--surface-page);color:var(--text-primary);font-family:var(--font-body);font-size:var(--text-body);line-height:var(--lh-normal)}
a{color:var(--link);text-decoration:none}
a:hover{color:var(--link-hover);text-decoration:underline}

/* Wellness by Physiatry: layout and components. Tokens only, no raw hex. */

@font-face { font-family: 'Newsreader'; src: url('../fonts/newsreader-latin-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('../fonts/newsreader-latin-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('../fonts/newsreader-latin-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('../fonts/newsreader-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Base ---------- */

img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: var(--lh-tight); margin: 0 0 var(--space-4); color: var(--text-primary); }
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); line-height: var(--lh-snug); }
p { margin: 0 0 var(--space-4); max-width: 70ch; }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25em; }

:focus-visible { outline: 3px solid var(--accent-vital); outline-offset: 2px; border-radius: var(--radius-sm); }

/* Inline links in prose carry an underline: against body text the forest link
   colour is only 1.11:1, so colour alone cannot distinguish them (WCAG 1.4.1). */
p a:not(.btn):not(.text-link) { text-decoration: underline; text-underline-offset: 2px; }

.skip-link { position: absolute; left: var(--space-4); top: -60px; z-index: 100; background: var(--surface-dark); color: var(--text-inverse); padding: var(--space-3) var(--space-5); border-radius: 0 0 var(--radius-md) var(--radius-md); transition: top var(--duration-fast) var(--ease-standard); }
.skip-link:focus { top: 0; color: var(--text-inverse); text-decoration: none; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-5); }
.section { padding: var(--space-8) 0; }
@media (min-width: 900px) { .section { padding: var(--space-9) 0; } }

.eyebrow { display: block; font-size: var(--text-eyebrow); font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--text-brand); margin-bottom: var(--space-3); }
.lead { font-size: var(--text-body-lg); color: var(--text-secondary); max-width: 60ch; }

.section-heading { max-width: 640px; margin-bottom: var(--space-7); }
.section-heading .subtitle { color: var(--text-secondary); margin-bottom: 0; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */

.btn { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-body); font-size: var(--text-small); font-weight: 700; padding: 14px 28px; border-radius: var(--radius-pill); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard); }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--color-forest-700); color: var(--text-inverse); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-forest-800); color: var(--text-inverse); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--surface-card); color: var(--text-brand); border-color: var(--border-strong); }
.btn-secondary:hover { color: var(--color-forest-900); border-color: var(--color-forest-700); }
.btn-ghost { background: transparent; color: var(--text-brand); border-color: var(--border-strong); }
.btn-ghost:hover { color: var(--color-forest-900); border-color: var(--color-forest-700); }
.btn-on-brand.btn-primary { background: var(--color-forest-900); }
.btn-on-brand.btn-primary:hover { background: var(--color-forest-800); }
.btn-on-brand.btn-ghost { color: var(--text-on-brand); border-color: var(--color-forest-900); }
.btn-on-brand.btn-ghost:hover { color: var(--color-forest-900); background: var(--surface-card); }

.btn .btn-arrow { transition: transform var(--duration-fast) var(--ease-standard); }
.btn:hover .btn-arrow { transform: translateX(3px); }

.text-link { font-weight: 700; color: var(--text-brand); }
.text-link .btn-arrow { display: inline-block; transition: transform var(--duration-fast) var(--ease-standard); }
.text-link:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface-page); border-bottom: 1px solid var(--border-subtle); }
.site-header-inner { max-width: var(--container-max); margin: 0 auto; padding: var(--space-3) var(--space-5); display: flex; align-items: center; gap: var(--space-5); }
.site-logo { display: flex; align-items: center; gap: var(--space-3); font-family: var(--font-display); font-size: 1.25rem; color: var(--color-forest-900); }
.site-logo:hover { text-decoration: none; color: var(--color-forest-700); }
.site-logo em { font-style: italic; color: var(--text-brand); }
.site-logo img { width: 54px; height: 40px; object-fit: contain; }

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-item > a { display: inline-block; padding: var(--space-2) var(--space-3); font-size: var(--text-small); font-weight: 600; color: var(--text-primary); position: relative; }
.nav-item > a::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: 2px; height: 2px; background: var(--color-sage-700); transition: left 200ms var(--ease-standard), right 200ms var(--ease-standard); }
.nav-item > a:hover { text-decoration: none; color: var(--color-forest-900); }
.nav-item > a:hover::after, .nav-item > a[aria-current="page"]::after { left: var(--space-3); right: var(--space-3); }
.nav-caret { background: none; border: 0; padding: var(--space-1); color: var(--text-secondary); cursor: pointer; vertical-align: middle; }
.nav-caret svg { transition: transform var(--duration-fast) var(--ease-standard); }
.has-dropdown.open .nav-caret svg { transform: rotate(180deg); }
.nav-dropdown { position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--surface-card); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); border: 1px solid var(--border-subtle); list-style: none; margin: var(--space-2) 0 0; padding: var(--space-2); display: none; }
.has-dropdown.open .nav-dropdown, .has-dropdown:focus-within .nav-dropdown { display: block; }
@media (hover: hover) { .has-dropdown:hover .nav-dropdown { display: block; } }
.nav-dropdown a { display: block; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); font-size: var(--text-small); font-weight: 500; }
.nav-dropdown a:hover { background: var(--surface-brand-soft); text-decoration: none; color: var(--color-forest-900); }

.header-cta { padding: 11px 22px; }
.nav-toggle { display: none; background: none; border: 0; padding: var(--space-2); cursor: pointer; }
.nav-toggle-bar { display: block; width: 24px; height: 2px; background: var(--color-forest-900); margin: 5px 0; border-radius: 2px; transition: transform var(--duration-fast) var(--ease-standard), opacity var(--duration-fast) var(--ease-standard); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer { border-top: 1px solid var(--border-subtle); background: var(--surface-page); padding: var(--space-4) var(--space-5) var(--space-6); }
.drawer-list { list-style: none; margin: 0 0 var(--space-5); padding: 0; }
.drawer-list .nav-item > a { display: block; padding: var(--space-3) 0; font-size: var(--text-body); }
.drawer-list .nav-dropdown { position: static; display: none; box-shadow: none; border: 0; background: var(--surface-brand-soft); border-radius: var(--radius-md); margin: 0 0 var(--space-2); }
.drawer-list .has-dropdown.open .nav-dropdown { display: block; }
.drawer-cta { width: 100%; justify-content: center; }

@media (max-width: 960px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
}
@media (min-width: 961px) { .mobile-drawer { display: none; } }
body.drawer-open { overflow: hidden; }

/* ---------- Hero ---------- */

.hero { padding: var(--space-8) 0 var(--space-9); }
.hero-grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero h1 { font-size: var(--text-hero); font-weight: 400; letter-spacing: -0.015em; line-height: 1.05; text-wrap: pretty; margin-bottom: var(--space-5); }
.hero h1 em { font-style: italic; color: var(--text-brand); }
.hero .lead { margin-bottom: var(--space-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.hero-media { position: relative; }
.hero h2 { font-family: var(--font-body); font-size: var(--text-body-lg); font-weight: 600; line-height: var(--lh-snug); color: var(--text-primary); margin-bottom: var(--space-4); }
/* Fills its grid column edge to edge (see .hero-grid above) rather than a
   fixed px cap smaller than the column, which left dead cream space beside
   it. 600px is a sanity ceiling only; --container-max already stops the
   column from growing past ~550-600px in practice. */
.hero-figure { position: relative; border-radius: var(--radius-arch); overflow: hidden; box-shadow: var(--shadow-md); width: 100%; max-width: 600px; aspect-ratio: 4 / 5; margin: 0; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero-video.playing { opacity: 1; transition: opacity 600ms var(--ease-standard); }
.hero-langs { margin-top: var(--space-5); display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: center; font-size: var(--text-small); color: var(--text-secondary); }
.hero-langs .lang-pill { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); padding: 4px 14px; font-weight: 600; color: var(--text-brand); }

/* ---------- Arch figure (generic) ---------- */

.arch-figure { border-radius: var(--radius-arch); overflow: hidden; margin: 0; }
.arch-figure img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Condition marquee (Home only) ---------- */

.marquee { overflow: hidden; background: var(--surface-brand-soft); padding: var(--space-4) 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.marquee-track { display: flex; width: max-content; gap: var(--space-7); white-space: nowrap; }
.marquee-track span { font-size: var(--text-eyebrow); font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--text-brand); position: relative; padding-left: var(--space-7); }
.marquee-track span:first-child { padding-left: 0; }
.marquee-track span:not(:first-child)::before { content: '\2022'; position: absolute; left: calc(var(--space-7) / -2); color: var(--border-strong); }
/* Static (no scroll) under reduced motion: the two duplicated halves would
   otherwise show as visibly repeated text with the animation switched off. */
.marquee-track span:nth-child(n+6) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  html.motion-ok .marquee-track span:nth-child(n+6) { display: block; }
  html.motion-ok .marquee-track { animation: marquee-scroll 26s linear infinite; }
  html.motion-ok .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Pillars band ---------- */

.band-soft { background: var(--surface-brand-soft); }
.pillar-grid { display: grid; gap: var(--space-6); }
@media (min-width: 760px) { .pillar-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-7); } }
.pillar h3 { margin-bottom: var(--space-3); }
.pillar p { margin-bottom: 0; color: var(--text-secondary); }
.pillar-icon { width: 48px; height: 48px; border-radius: var(--radius-pill); background: var(--surface-card); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); box-shadow: var(--shadow-sm); }
.pillar-icon img { width: 26px; height: 26px; }

/* ---------- Condition tags ---------- */

.condition-row { display: flex; flex-wrap: wrap; gap: var(--space-6); justify-content: space-between; }
.condition-tag { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3); max-width: 200px; flex: 1 1 160px; }
/* The leaf icons carry their accent colour as a baked-in tile, so the circle is
   just a crop. The tint below only shows while the image is still loading. */
.condition-icon { width: 84px; height: 84px; border-radius: var(--radius-pill); overflow: hidden; flex-shrink: 0; }
.condition-icon img { width: 100%; height: 100%; object-fit: cover; }
.condition-name { font-family: var(--font-display); font-size: 1.125rem; color: var(--text-primary); }
.condition-desc { font-size: var(--text-small); color: var(--text-secondary); margin: 0; }
.conditions-note { max-width: var(--container-narrow); margin: var(--space-7) 0 0; color: var(--text-secondary); font-size: var(--text-small); }
.condition-tag.tbi .condition-icon { background: var(--condition-tbi-bg); }
.condition-tag.stroke .condition-icon { background: var(--condition-stroke-bg); }
.condition-tag.concussion .condition-icon { background: var(--condition-concussion-bg); }
.condition-tag.cognitive .condition-icon { background: var(--condition-cognitive-bg); }
.condition-tag.neurobehavioral .condition-icon { background: var(--condition-neurobehavioral-bg); }

/* ---------- Service cards ---------- */

.card-grid { display: grid; gap: var(--space-6); }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.service-card { background: var(--surface-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: var(--space-5); display: flex; flex-direction: column; transition: transform var(--duration-normal) var(--ease-standard), box-shadow var(--duration-normal) var(--ease-standard); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card .arch-figure { aspect-ratio: 4 / 5; margin-bottom: var(--space-5); }
.service-card .arch-figure img { transition: transform var(--duration-normal) var(--ease-standard); }
.service-card:hover .arch-figure img { transform: scale(1.03); }
.service-card h3 { margin-bottom: var(--space-3); }
.service-card p { color: var(--text-secondary); font-size: var(--text-small); flex-grow: 1; }
.service-card .text-link { font-size: var(--text-small); }

/* ---------- Text card (service pages, no photo) ---------- */

.text-card { background: var(--surface-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: var(--space-6); }
.text-card h3 { margin-bottom: var(--space-4); }
.text-card p { color: var(--text-secondary); font-size: var(--text-small); }
.text-card p:last-child { margin-bottom: 0; }

/* ---------- Quote block ---------- */

.quote-block { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 860px) { .quote-block { grid-template-columns: 320px 1fr; } }
.quote-block .arch-figure { aspect-ratio: 4 / 5; max-width: 320px; box-shadow: var(--shadow-md); }
.pull-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 400; line-height: var(--lh-snug); color: var(--color-forest-900); margin: 0 0 var(--space-5); max-width: 26em; }
.quote-copy > .btn { margin-top: var(--space-2); }
.quote-attribution { font-size: var(--text-small); font-weight: 700; letter-spacing: var(--tracking-wide); color: var(--text-secondary); margin-bottom: var(--space-5); }
.quote-attribution strong { color: var(--color-forest-900); display: block; font-size: var(--text-body); letter-spacing: normal; }

/* ---------- Language showcase (Home hero, Mission) ---------- */

.lang-showcase { margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid var(--border-subtle); }
.lang-showcase .lang-intro { font-weight: 700; color: var(--color-forest-900); margin-bottom: var(--space-3); }
.lang-showcase .hero-langs { margin-top: 0; }

/* ---------- Inner page hero ---------- */

.page-hero { padding: var(--space-7) 0 var(--space-8); }
.page-hero h1 { font-size: var(--text-h1); font-weight: 500; text-wrap: pretty; }
/* Utility/list pages (FAQ, Insurance, Referrals, Contact, Privacy, Accessibility)
   skip the photo: a giant image adds nothing on a page people scan for facts. */
.page-hero.no-media .hero-grid { display: block; }
.page-hero.no-media .hero-copy { max-width: var(--container-narrow); }

/* ---------- Prose blocks ---------- */

.prose-grid { display: grid; gap: var(--space-7); }
@media (min-width: 900px) { .prose-grid { grid-template-columns: repeat(3, 1fr); } }
.prose-block h3 { margin-bottom: var(--space-3); }
.prose-block p { color: var(--text-secondary); margin-bottom: 0; }

.measure { max-width: 640px; }

/* ---------- Labelled pillar list ---------- */

.pillar-list { list-style: none; padding: 0; display: grid; gap: var(--space-4); }
@media (min-width: 700px) { .pillar-list { grid-template-columns: repeat(2, 1fr); gap: var(--space-4) var(--space-7); } }
.pillar-list li { display: flex; gap: var(--space-3); align-items: baseline; font-size: var(--text-small); color: var(--text-secondary); }
.pillar-list strong { color: var(--color-forest-900); font-family: var(--font-display); font-size: var(--text-body); font-weight: 500; white-space: nowrap; }

/* ---------- Team card ---------- */

.team-grid { display: grid; gap: var(--space-7); }
@media (min-width: 760px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card { display: flex; gap: var(--space-5); align-items: flex-start; max-width: 560px; }
.team-photo { width: 120px; height: 150px; border-radius: var(--radius-arch); overflow: hidden; flex-shrink: 0; background: var(--surface-brand-soft); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
/* No headshot yet: a monogram tile in brand colours, never an empty frame.
   White, not sage, so the tile still reads when the card sits on a sage band. */
.team-monogram { display: flex; align-items: center; justify-content: center; background: var(--surface-card); box-shadow: var(--shadow-sm); font-family: var(--font-display); font-size: 2.5rem; color: var(--text-brand); }
.team-name { font-family: var(--font-display); font-size: 1.375rem; color: var(--text-primary); }
.team-role { font-size: var(--text-eyebrow); font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-brand); margin: var(--space-1) 0 var(--space-3); }
.team-card p { font-size: var(--text-small); color: var(--text-secondary); margin-bottom: 0; }

/* ---------- Cross-links ---------- */

.crosslink-grid { display: grid; gap: var(--space-5); }
@media (min-width: 700px) { .crosslink-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.crosslink { display: block; background: var(--surface-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: var(--space-5); transition: transform var(--duration-normal) var(--ease-standard), box-shadow var(--duration-normal) var(--ease-standard); }
.crosslink:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-md); }
.crosslink h3 { font-size: var(--text-h3); margin-bottom: var(--space-2); }
.crosslink p { font-size: var(--text-small); color: var(--text-secondary); margin-bottom: var(--space-3); }
.crosslink .btn-arrow { display: inline-block; color: var(--text-brand); font-weight: 700; font-size: var(--text-small); transition: transform var(--duration-fast) var(--ease-standard); }
.crosslink:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Plan grid (Insurance & Billing) ---------- */

.plan-grid { display: grid; gap: var(--space-6); align-items: stretch; }
@media (min-width: 760px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.plan-card { background: var(--surface-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: var(--space-6); display: flex; flex-direction: column; }
.plan-card h3 { margin-bottom: var(--space-3); }
.plan-card p, .plan-card ul { color: var(--text-secondary); font-size: var(--text-small); margin-bottom: 0; }
.plan-card ul { padding-left: 1.1em; margin-top: var(--space-3); }
.plan-card li { margin-bottom: var(--space-2); }
.plan-card li:last-child { margin-bottom: 0; }

/* ---------- Conditions managed list ---------- */

.managed-list { list-style: none; padding: 0; display: grid; gap: var(--space-4); max-width: var(--container-narrow); }
.managed-list li { padding-left: var(--space-5); border-left: 2px solid var(--color-sage-500); }
.managed-item-head { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-1); }
.managed-item-head .leaf-icon { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; }
.managed-list strong { display: block; font-family: var(--font-display); font-size: var(--text-h3); font-weight: 500; color: var(--color-forest-900); margin-bottom: var(--space-1); }
.managed-item-head strong { margin-bottom: 0; }
.heading-leaf { width: 36px; height: 36px; border-radius: 50%; vertical-align: middle; margin-right: var(--space-3); }
.managed-list p { margin: 0; color: var(--text-secondary); font-size: var(--text-small); }

/* ---------- Testimonials ---------- */

.testimonial-grid { display: grid; gap: var(--space-6); }
@media (min-width: 760px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
.testimonial { background: var(--surface-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: var(--space-6); margin: 0; display: flex; flex-direction: column; }
.testimonial blockquote::before { content: '\201C'; }
.testimonial blockquote::after { content: '\201D'; }
.testimonial blockquote { margin: 0 0 var(--space-4); font-family: var(--font-display); font-style: italic; font-size: var(--text-body-lg); line-height: var(--lh-snug); color: var(--color-forest-900); flex-grow: 1; }
.testimonial figcaption { font-size: var(--text-small); font-weight: 700; letter-spacing: var(--tracking-wide); color: var(--text-secondary); }

/* ---------- FAQ ---------- */

.faq-list { max-width: var(--container-narrow); margin: 0 auto; }
.faq-category { margin-bottom: var(--space-8); }
.faq-category:last-child { margin-bottom: 0; }
.faq-category h2 { font-size: var(--text-h3); margin-bottom: var(--space-4); }
details.faq { background: var(--surface-card); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: var(--space-3); }
details.faq summary { list-style: none; cursor: pointer; padding: var(--space-5); font-family: var(--font-display); font-size: var(--text-h3); line-height: var(--lh-snug); display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-family: var(--font-body); font-size: 1.5rem; font-weight: 400; color: var(--text-brand); flex-shrink: 0; line-height: 1; }
details.faq[open] summary::after { content: '\2212'; }
details.faq .faq-body { padding: 0 var(--space-5) var(--space-5); color: var(--text-secondary); }
details.faq .faq-body p:last-child { margin-bottom: 0; }
.faq-more { text-align: center; margin-top: var(--space-6); }

/* ---------- Locations ---------- */

.location-grid { display: grid; gap: var(--space-6); }
@media (min-width: 760px) { .location-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card { background: var(--surface-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: var(--space-6); }
.contact-card h3 { margin-bottom: var(--space-2); }
.contact-card address { font-style: normal; margin-bottom: var(--space-4); }
.contact-card dl { margin: 0 0 var(--space-4); display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-4); font-size: var(--text-small); }
.contact-card dt { font-weight: 700; color: var(--text-brand); }
.contact-card dd { margin: 0; color: var(--text-secondary); }
.contact-card .text-link { font-size: var(--text-small); }
.map-embed { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; margin: 0 0 var(--space-4); border: 1px solid var(--border-subtle); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--surface-brand); padding: var(--space-8) 0; }
.cta-band-inner { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-5); text-align: center; }
.cta-band-heading { color: var(--text-on-brand); }
.cta-band-copy { color: var(--text-on-brand); margin: 0 auto var(--space-6); max-width: 56ch; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }
.cta-band-note { color: var(--text-on-brand); font-size: var(--text-small); margin: var(--space-5) auto 0; }

/* ---------- Footer ---------- */

.site-footer { background: var(--surface-dark); color: var(--text-inverse); padding: var(--space-8) 0 var(--space-5); }
.site-footer a { color: var(--color-sage-300); }
.site-footer a:hover { color: var(--color-sage-100); }
.site-footer-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-5); display: grid; gap: var(--space-7); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-logo { width: 72px; height: 72px; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: var(--space-4); }
.site-footer address { font-style: normal; }
.site-footer address p { margin-bottom: var(--space-4); }
.footer-plain { color: var(--color-sage-100); opacity: .9; }
/* break-word plus the <wbr> before the @ keeps the domain intact on one line
   instead of splitting mid-word. */
.footer-email { overflow-wrap: break-word; hyphens: none; font-size: 0.8125rem; }
.site-footer p { color: var(--color-sage-100); font-size: var(--text-small); }
.footer-heading { font-size: var(--text-eyebrow); font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-sage-300); margin-bottom: var(--space-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: var(--space-2); font-size: var(--text-small); }
.footer-legal { max-width: var(--container-max); margin: var(--space-7) auto 0; padding: var(--space-5) var(--space-5) 0; border-top: 1px solid var(--border-strong); display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: center; }
.footer-legal p { margin: 0; font-size: var(--text-small); }
.footer-legal ul { list-style: none; display: flex; gap: var(--space-4); margin: 0; padding: 0; font-size: var(--text-small); }
.footer-cookie-btn { background: none; border: 0; padding: 0; color: var(--color-sage-300); font: inherit; cursor: pointer; }
.footer-cookie-btn:hover { color: var(--color-sage-100); text-decoration: underline; }

/* ---------- Consent banner ---------- */

.consent-banner { position: fixed; bottom: var(--space-4); left: var(--space-4); right: var(--space-4); z-index: 90; max-width: 560px; margin: 0 auto; background: var(--surface-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border-subtle); padding: var(--space-5); }
.consent-banner p { font-size: var(--text-small); margin-bottom: var(--space-4); }
.consent-actions { display: flex; gap: var(--space-3); }
.consent-actions .btn { padding: 10px 20px; }

/* ---------- Forms ---------- */

.appointment-form { max-width: 560px; }
.form-field { margin-bottom: var(--space-5); }
.form-field label { display: block; font-weight: 700; font-size: var(--text-small); margin-bottom: var(--space-2); }
.form-field input, .form-field select, .form-field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface-card); color: var(--text-primary); }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible { outline: 3px solid var(--accent-vital); outline-offset: 1px; border-color: var(--color-forest-700); }
.form-field input:user-invalid, .form-field select:user-invalid, .form-field textarea:user-invalid { border-color: var(--color-sand-700); }
.form-notice { font-size: var(--text-small); color: var(--text-secondary); }
.honeypot { position: absolute; left: -9999px; }
.form-success { background: var(--accent-vital-bg); border-radius: var(--radius-md); padding: var(--space-5); }

/* ---------- Motion ---------- */

.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  html.motion-ok .reveal { opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--ease-standard), transform 500ms var(--ease-standard); }
  html.motion-ok .reveal.revealed { opacity: 1; transform: none; }
  html.motion-ok .hero-figure img.settle { animation: settle 800ms var(--ease-standard) both; }
  @keyframes settle { from { transform: scale(1.05); } to { transform: scale(1); } }
}
