/* =============================================================================
   Wolf Psychological Services — design system
   Calm, modern, trustworthy. Serif display (Lora) + clean sans (Inter).
   ========================================================================== */
:root {
  /* palette - "Combined Palette: Earthy Neutral + Oceanic Calm" (client pick, Sept 2026)
     swatches: #0b2d3d / #2c6e73 / #7fb7b2 / #6c836f / #3e443a / #c47a5a / #e8e1d1 / #f5f1e6
     -ink/-deep/-soft/line values are derived tints kept WCAG-safe */
  --ink: #0b2d3d;        /* navy: headings + body text */
  --ink-soft: #3e443a;   /* olive: secondary text */
  --navy: #0b2d3d;
  --navy-soft: #153e4d;  /* page-hero gradient end; keeps aqua text >= 4.5:1 */
  --teal: #2c6e73;       /* primary fill: buttons, brand mark, table heads */
  --teal-ink: #27656a;   /* teal for small text/icons; raw teal is 4.49:1 on sand */
  --teal-deep: #1c4e58;  /* hover */
  --aqua: #7fb7b2;       /* light accent, dark backgrounds only (2.3:1 on white) */
  --aqua-deep: #62a09b;  /* hero CTA hover */
  --aqua-soft: #dcebe9;  /* tints */
  --sage: #6c836f;       /* list markers, hover borders; icons only (4.1:1 on white) */
  --clay: #c47a5a;       /* warm accent; large text/decor only (3.3:1 on white) */
  --clay-deep: #8f5236;  /* clay for small text */
  --clay-soft: #f3e2d8;
  --sand: #e8e1d1;
  --cream: #f5f1e6;
  --white: #ffffff;
  --line: #d9d1c0;

  --shadow-sm: 0 2px 8px rgba(11, 45, 61, .06);
  --shadow-md: 0 14px 40px rgba(11, 45, 61, .10);
  --shadow-lg: 0 30px 70px rgba(11, 45, 61, .14);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --container: 1160px;
  --header-h: 88px;   /* sticky header height; the mobile nav hangs below it */
  --logo-h: 72px;
  --gap: clamp(1.5rem, 4vw, 3rem);

  --font-display: "Lora", Georgia, "Times New Roman", serif; /* Lora replaced Fraunces 9/6/2026: client disliked Fraunces' capital F */
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-ink); text-decoration: none; }
a:hover { color: var(--teal-deep); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }

.container { width: min(var(--container), 92%); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--sand); }
.center { text-align: center; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 1rem; top: .6rem; z-index: 200; background: var(--teal); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); }

.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--teal-ink); margin: 0 0 .8rem; }
.eyebrow--light { color: var(--aqua); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-bottom: .4rem; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.muted-note { color: var(--clay-deep); font-size: .9rem; font-style: italic; }

/* ---- buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--teal); --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .9rem 1.5rem; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: var(--shadow-sm); line-height: 1;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary { --btn-bg: var(--teal); }
.btn-primary:hover { background: var(--teal-deep); }
.btn-outline { background: transparent; color: var(--teal-ink); border-color: var(--teal-ink); box-shadow: none; }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(4px); box-shadow: none; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-ghost--dark { background: transparent; color: var(--teal-ink); border-color: var(--teal-ink); }
.btn-ghost--dark:hover { background: var(--teal); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cream); color: var(--navy); }
.btn-sm { padding: .6rem 1.1rem; font-size: .92rem; }
.btn-block { width: 100%; justify-content: center; }

.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---- header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 241, 230, .85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
/* The WPS logo (logo-wps.png, white keyed to transparent) is the whole brand:
   it carries its own wordmark, so no text sits beside it. Swap the PNG when
   Dr. Wolf's final mark arrives. */
.brand-logo { display: block; height: var(--logo-h); width: auto; }
.brand--footer .brand-logo { background: #fff; border-radius: 12px; padding: 6px 12px; height: 64px; }

.primary-nav { display: flex; align-items: center; gap: .35rem; }
.nav-link { font-weight: 500; color: var(--ink-soft); padding: .55rem .8rem; border-radius: var(--r-sm); background: none; border: 0; font-size: 1rem; font-family: var(--font-body); cursor: pointer; }
.nav-link:hover, .nav-link.is-active { color: var(--teal-deep); background: var(--aqua-soft); }

.nav-has-children { position: relative; }
.nav-parent { display: inline-flex; align-items: center; gap: .35rem; }
.caret { width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.nav-has-children.open .caret { transform: rotate(-135deg) translateY(-1px); }
.nav-dropdown {
  position: absolute; top: calc(100% + .4rem); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: .5rem; display: none; flex-direction: column;
}
.nav-has-children.open .nav-dropdown { display: flex; }
.nav-dropdown a { padding: .6rem .8rem; border-radius: var(--r-sm); color: var(--ink-soft); font-weight: 500; }
.nav-dropdown a:hover { background: var(--sand); color: var(--teal-deep); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 20px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] .bars::after { transform: rotate(-45deg); top: 0; }

/* ---- hero ----------------------------------------------------------------- */
/* Hero (client "final edits" 9/6/2026, revised the same day): the copy sits ON
   the team photo — tagline + heading in the top-left corner above the heads,
   sub-tagline + CTAs in the lower right over knees and ankles — with corner
   gradients for legibility. Below 860px the blocks stack around the photo. */
.announce { background: var(--sand); color: var(--navy); font-size: .92rem; font-weight: 600; text-align: center; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%); color: #fff; padding: clamp(1.4rem, 3vw, 2.2rem) 0 clamp(2rem, 4vw, 3rem); }
.hero-photo { position: relative; }
.hero-photo .img-frame { box-shadow: var(--shadow-lg); }
.hero-photo img { object-position: center top; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); pointer-events: none;
  background:
    linear-gradient(155deg, rgba(11,45,61,.72) 0%, rgba(11,45,61,.35) 24%, rgba(11,45,61,0) 46%),
    linear-gradient(335deg, rgba(11,45,61,.78) 0%, rgba(11,45,61,.4) 22%, rgba(11,45,61,0) 46%);
}
.hero-copy { position: absolute; z-index: 1; text-shadow: 0 2px 14px rgba(11,45,61,.8), 0 0 2px rgba(11,45,61,.6); }
.hero-copy--top { top: 3.5%; left: 3.5%; max-width: 58%; }
.hero-copy--bottom { right: 3.5%; bottom: 5%; max-width: 62%; text-align: right; }
.hero-est { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--aqua); margin: 0 0 .5rem; }
.hero h1 { color: #fff; margin: 0; font-size: clamp(1.5rem, 2.9vw, 2.45rem); }
.hero-sub { font-family: var(--font-display); font-size: clamp(1.1rem, 1.9vw, 1.45rem); line-height: 1.3; color: #fff; margin: 0 0 .9rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero .hero-cta { justify-content: flex-end; }
.hero .btn { text-shadow: none; }
.hero-meta { margin-top: 1.4rem; color: rgba(255,255,255,.85); font-size: .95rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .3rem; }
.hero-meta svg { width: 1.05em; height: 1.05em; vertical-align: -2px; }
.hero-phone, .hero-meta a { color: #fff; font-weight: 600; }
.btn--compact { padding: .7rem 1.15rem; font-size: .92rem; }

/* ---- why grid ------------------------------------------------------------- */
.why .section-head h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--ink-soft); font-weight: 400; line-height: 1.4; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.8rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--aqua-soft); color: var(--navy); margin-bottom: 1.1rem; }
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.why-card p { font-size: .96rem; color: var(--ink-soft); margin: 0; }

/* ---- service cards -------------------------------------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .6rem; transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.service-card-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--clay-soft); color: var(--clay-deep); }
.service-card-icon svg { width: 26px; height: 26px; }
.service-card h3 { margin: .4rem 0 0; }
.service-card p { color: var(--ink-soft); font-size: .98rem; margin: 0; flex-grow: 1; }
.service-card .link-arrow { margin-top: .4rem; }

/* ---- feature blocks ------------------------------------------------------- */
.feature-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature--flip .feature-media { order: 2; }
.feature-media .img-frame { max-width: 520px; margin-inline: auto; }
.feature-body h2 { margin-bottom: .6rem; }
.feature-body > p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---- image frames / placeholders ----------------------------------------- */
.img-frame { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: var(--ratio, 4/5); background: linear-gradient(135deg, var(--aqua-soft), var(--sand)); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder-note { display: none; }
.img-frame.img-missing img { display: none; }
.img-frame.img-missing { display: grid; place-items: center; border: 2px dashed var(--sage); }
.img-frame.img-missing .img-placeholder-note {
  display: block; text-align: center; color: var(--navy); font-weight: 600;
  font-size: .9rem; padding: 1rem 1.2rem; letter-spacing: .03em; text-transform: uppercase;
}
.img-frame.img-missing .img-placeholder-note::before { content: "🖼  "; }

/* ---- lists / chips -------------------------------------------------------- */
.tick-list { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: grid; gap: .55rem; }
.tick-list--2col { grid-template-columns: 1fr 1fr; }
.tick-list li { display: flex; align-items: flex-start; gap: .6rem; color: var(--ink-soft); }
.tick-list svg { width: 1.15em; height: 1.15em; color: var(--sage); flex-shrink: 0; margin-top: .15em; }
.prose-list { list-style: none; padding: 0; margin: .3rem 0 1.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.6rem; }
.prose-list li { position: relative; padding-left: 1.1rem; color: var(--ink-soft); }
.prose-list li::before { content: ""; position: absolute; left: 0; top: .68em; width: .42rem; height: .42rem; border-radius: 50%; background: var(--sage); }
.chip-grid { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 1.8rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); padding: .5rem .9rem; border-radius: var(--r-pill); font-size: .92rem; font-weight: 500; }
.chip svg { width: 1em; height: 1em; color: var(--teal-ink); }

/* ---- team ----------------------------------------------------------------- */
.team-card .img-frame img { object-position: center top; }
.team-banner { max-width: 900px; margin: 0 auto 2.6rem; }
.team-banner .img-frame img { object-position: center top; }
.team-banner .img-frame { box-shadow: var(--shadow-lg); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-bottom: 2.4rem; }
.team-list { display: grid; grid-template-columns: 1fr; gap: 1.8rem; max-width: 860px; margin: 0 auto; }
.team-card { text-align: center; }
/* Home page shows every clinician: auto-fit so 5 sit in one row on desktop and wrap on smaller screens. */
.team-grid.team-grid--all { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.2rem; }
.team-grid--all h3 { font-size: 1.1rem; }
.team-grid--all .team-cred { font-size: .85rem; }
.team-card .img-frame { margin-bottom: 1.1rem; }
.team-card h3 { margin: 0; }
.team-cred { color: var(--teal-ink); font-weight: 600; font-size: .92rem; margin: .2rem 0; }
.team-spec { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.team-card--full { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 210px 1fr; gap: 0; align-items: stretch; }
.team-card--full .img-frame { margin: 0; border-radius: 0; box-shadow: none; height: 100%; aspect-ratio: auto; }
.team-card-body { padding: 1.8rem 2rem; }
.team-card-body h3 { margin-bottom: .25rem; }
.team-card-body .team-cred { margin-top: 0; }
.team-bio { color: var(--ink-soft); font-size: .96rem; margin: .9rem 0 0; }
.team-links { display: flex; flex-wrap: wrap; gap: 1.3rem; margin: 1.1rem 0 0; }
.team-links a { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--teal-ink); line-height: 1; }
.team-links a:hover { color: var(--teal-deep); }
.team-links svg { width: 1em; height: 1em; }

/* ---- steps ---------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.steps--lg { gap: 1.8rem; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.6rem; box-shadow: var(--shadow-sm); position: relative; }
.step-n { font-family: var(--font-display); font-size: 1.6rem; color: var(--clay); font-weight: 600; display: block; margin-bottom: .6rem; }
.step h3 { font-size: 1.18rem; margin-bottom: .35rem; }
.step p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
.getting-started .center, .team-preview .center { margin-top: 2.4rem; }


/* ---- two-column layout ---------------------------------------------------- */
.two-col { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.two-col-main h2 { margin-top: 2rem; }
.two-col-main h2:first-child { margin-top: 0; }
.two-col-main h3 { margin-top: 1.6rem; }
.two-col-aside { position: sticky; top: 100px; display: grid; gap: 1.4rem; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.aside-card h3 { margin-bottom: .8rem; }
.aside-card p { display: flex; gap: .55rem; align-items: flex-start; color: var(--ink-soft); font-size: .96rem; margin: 0 0 .7rem; }
.aside-card svg { width: 1.1em; height: 1.1em; color: var(--teal-ink); flex-shrink: 0; margin-top: .15em; }
.aside-card .btn { margin-top: .6rem; }
.aside-card--badge { text-align: center; }
.aside-card--badge img { width: 120px; height: 120px; margin: 0 auto .8rem; }
.aside-card--badge p { display: block; text-align: center; font-size: .92rem; margin: 0; }
.aside-card--fees { background: var(--navy); color: #fff; border: none; }
.aside-card--fees h3 { color: #fff; }
.fee-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.fee-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.85); font-size: .96rem; }
.fee-list li:last-child { border-bottom: none; }
.fee-list strong { color: #fff; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.8rem; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); background: #fff; }
.fee-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.fee-table th { background: var(--teal); color: #fff; text-align: left; font-weight: 600; padding: .85rem 1.3rem; }
.fee-table td { padding: .7rem 1.3rem; border-top: 1px solid var(--line); color: var(--ink-soft); }
.fee-table td:last-child { color: var(--ink); font-weight: 700; }
.fee-table tbody tr:nth-child(even) { background: var(--cream); }

/* ---- careers -------------------------------------------------------------- */
.careers-banner { max-width: 980px; margin: 0 auto 2.6rem; }
.careers-banner .img-frame { box-shadow: var(--shadow-lg); }

/* ---- page hero (interior pages) ------------------------------------------- */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-soft)); color: #fff; padding: clamp(3rem, 8vw, 5.5rem) 0; }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: var(--aqua); }
.page-hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.9); max-width: 640px; }
.page-hero-loc { color: var(--aqua); font-style: italic; }
.page-hero .hero-cta { margin-top: 1.8rem; }
/* on the navy hero backgrounds a teal button camouflages - use aqua with
   navy text, and the teal-outline ghost variant becomes a white outline */
.hero .btn-primary, .page-hero .btn-primary { --btn-bg: var(--aqua); --btn-fg: var(--navy); }
.hero .btn-primary:hover, .page-hero .btn-primary:hover { background: var(--aqua-deep); }
.page-hero .btn-ghost--dark { color: #fff; border-color: rgba(255,255,255,.65); }
.page-hero .btn-ghost--dark:hover { background: #fff; color: var(--navy); }

/* ---- cta band / join band ------------------------------------------------- */
.cta-band { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2.4rem; flex-wrap: wrap; box-shadow: var(--shadow-sm); }
.cta-band h3 { margin: 0 0 .3rem; }
.cta-band p { margin: 0; color: var(--ink-soft); }
/* EMDRIA Certified band at the bottom of the home page */
.cta-band--badge { margin-top: 2.6rem; }
.cta-band--badge img { width: 112px; height: 112px; flex-shrink: 0; }
.cta-band--badge > div { flex: 1 1 260px; }
.join-band { background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff; border-radius: 0; }
.join-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.join-band h2 { color: #fff; margin-bottom: .4rem; }
.join-band p { color: rgba(255,255,255,.9); margin: 0; max-width: 540px; }

/* ---- contact form / map --------------------------------------------------- */
/* The SimplePractice widget draws its own white card + shadow inside the
   iframe. The container is shorter than the iframe so the widget card's
   rounded bottom edge/shadow is cropped and our border reads as the card. */
.contact-widget { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; height: 1200px; }
.contact-widget iframe { display: block; width: 100%; height: 1228px; border: 0; }
.contact-widget + .muted-note { margin-top: .8rem; text-align: center; }
.map-section { line-height: 0; }
.map-section iframe { width: 100%; height: 420px; border: 0; }

/* ---- footer --------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand p { font-size: .95rem; max-width: 320px; margin-top: 1rem; }
.footer-est { color: var(--aqua) !important; font-size: .88rem !important; }
.footer-col h4 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: rgba(255,255,255,.55); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-col a:not(.btn) { color: rgba(255,255,255,.8); font-size: .95rem; }
.footer-col a:not(.btn):hover { color: #fff; }
.footer-contact p { display: flex; gap: .5rem; align-items: flex-start; font-size: .95rem; margin-bottom: .8rem; }
.footer-contact svg { width: 1.05em; height: 1.05em; color: var(--aqua); flex-shrink: 0; margin-top: .2em; }
.footer-contact a:not(.btn) { color: #fff; }
.footer-social { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 1.2rem; }
.footer-social a { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.8); font-size: .92rem; line-height: 1; }
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 1.15em; height: 1.15em; color: var(--aqua); flex-shrink: 0; margin-top: 0; }
.footer-social .social-facebook svg { margin-top: -0.2em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-disclaimer { max-width: 520px; }
.footer-disclaimer strong { color: var(--aqua); }

/* ---- responsive ----------------------------------------------------------- */
@media (max-width: 980px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid, .team-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 1rem; gap: .2rem;
    box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .25s ease; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .primary-nav.open { transform: translateY(0); }
  .nav-link { padding: .8rem 1rem; }
  .nav-dropdown { position: static; box-shadow: none; border: none; background: var(--sand); margin: .2rem 0 .4rem; }
  .feature-inner { grid-template-columns: 1fr; }
  .feature--flip .feature-media { order: 0; }
  .two-col { grid-template-columns: 1fr; }
  .two-col-aside { position: static; }
  .hero-photo { display: flex; flex-direction: column; gap: 1.2rem; }
  .hero-photo::after { display: none; }
  .hero-copy { position: static; max-width: none; text-align: center; text-shadow: none; }
  .hero-copy--top { order: 0; }
  .hero-photo .img-frame { order: 1; }
  .hero-copy--bottom { order: 2; }
  .hero .hero-cta { justify-content: center; }
}
/* Clinician cards stack below 640px. A square frame shows head and shoulders of the 2:3 portraits;
   the old 16/10 frame cut faces off at the nose. */
@media (max-width: 640px) {
  .team-card--full { grid-template-columns: 1fr; }
  .team-card--full .img-frame { aspect-ratio: 1 / 1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .why-grid, .service-grid, .team-grid, .steps, .tick-list--2col, .prose-list, .field-row { grid-template-columns: 1fr; }
  :root { --header-h: 72px; --logo-h: 56px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band, .join-inner { flex-direction: column; align-items: flex-start; }
  .cta-band--badge > div { flex-basis: auto; } /* the 260px basis would become a min-height in the stacked layout */
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
