/* Oceanic Counseling Group — design system
   Concept: the horizon line. Cool foam-white water, deep navy type,
   one warm sunrise-gold accent used only for the primary action.
   DESIGN FREEZE: these tokens and the type pairing are approved. Change only on request. */

/* Self-hosted type (same Google Fonts files, SIL Open Font License; licenses in data/brand/fonts). */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/fraunces.woff2") format("woff2-variations"), url("/assets/fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/albert-sans.woff2") format("woff2-variations"), url("/assets/fonts/albert-sans.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/albert-sans-italic.woff2") format("woff2-variations"), url("/assets/fonts/albert-sans-italic.woff2") format("woff2"); }

:root {
  --foam: #F3F7F8;        /* page */
  --shallow: #DCEBEE;     /* tinted panels */
  --tide: #176B7C;        /* links; 4.9:1 on shallow, 5.9:1 on foam */
  --deep: #0E3A4F;        /* headings, nav, footer */
  --abyss: #082634;       /* darkest text on light */
  --ink: #1B2A33;         /* body text */
  --mist: #4F6670;        /* muted text, 6.1:1 on foam */
  --line: #C9DADF;        /* rules */
  --sun: #E3A33E;         /* primary CTA, horizon */
  --sun-deep: #C98A28;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.84rem, 0.8rem + 0.2vw, 0.94rem);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3: clamp(1.9rem, 1.5rem + 2vw, 2.9rem);
  --step-4: clamp(2.4rem, 1.7rem + 3.6vw, 4.4rem);

  --measure: 66ch;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wrap: 72rem;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--tide); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 3px; box-shadow: 0 0 0 6px var(--sun); }
:root { color-scheme: light; }
.site-footer :focus-visible, .section.deep :focus-visible { outline-color: var(--white); }
.btn, .nav a, .menu-btn { min-height: 44px; }
.nav a { display: inline-flex; align-items: center; }
.menu-btn { min-width: 44px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--abyss);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  font-variation-settings: "opsz" 96, "SOFT" 60;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; }
p { margin: 0 0 1em; max-width: var(--measure); overflow-wrap: anywhere; }
ul, ol { padding-left: 1.2em; max-width: var(--measure); }
li { margin-bottom: 0.3em; }
.lede { font-size: var(--step-1); color: var(--deep); line-height: 1.45; max-width: 36ch; }
.muted { color: var(--mist); }
.small { font-size: var(--step--1); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section.tint { background: var(--shallow); border-top: 0; }
.section.deep { background: var(--deep); color: #DCEBEE; border-top: 0; }
.section.deep h2, .section.deep h3 { color: var(--white); }
.section.deep a { color: #BFE3EA; }

/* Horizon: the single warm rule that every hero sits on */
.horizon { position: relative; height: 2px; background: linear-gradient(90deg, var(--sun) 0 38%, var(--line) 38% 100%); }

/* ---------- Header ---------- */
.site-header { background: var(--foam); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 48px; width: auto; display: block; }
@media (max-width: 480px) { .brand img { height: 38px; } }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--deep); text-decoration: none; font-weight: 500; font-size: .98rem; white-space: nowrap; }
.nav a:hover { text-decoration: underline; }
.nav-cta { display: flex; gap: .6rem; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--mist); border-radius: 8px; padding: .45rem .7rem; font: inherit; color: var(--deep); }
@media (max-width: 1080px) { .nav { gap: 1rem; } .nav a { font-size: .92rem; } }
@media (max-width: 920px) {
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; inset: 4.5rem 0 auto 0; flex-direction: column; align-items: stretch; background: var(--foam); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.25rem; gap: .9rem; }
  .nav.open .nav-cta { flex-direction: column; align-items: stretch; margin-top: .4rem; }
  .menu-btn { display: inline-block; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.25rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; font-size: 1rem; line-height: 1.1; white-space: nowrap; }
.btn-sun { background: var(--sun); color: var(--abyss); border-color: var(--sun); }
.btn-sun:hover { background: var(--sun-deep); border-color: var(--sun-deep); color: var(--abyss); }
.btn-ghost { background: transparent; color: var(--deep); border-color: var(--deep); }
.btn-ghost:hover { background: var(--deep); color: var(--white); }
.btn-tel { background: var(--white); color: var(--deep); border-color: var(--mist); }
.section.deep .btn-ghost { color: var(--white); border-color: #8FB8C2; }
.section.deep .btn-ghost:hover { background: var(--white); color: var(--deep); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { max-width: 14ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; align-items: center; }
.hero .proof { margin-top: 1.5rem; color: var(--mist); font-size: var(--step--1); }

/* Office finder: a list, not a map */
.finder { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.1rem; }
.finder h2 { font-size: var(--step-1); margin-bottom: .6rem; }
.finder ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.finder li { margin: 0; border-bottom: 1px solid var(--line); }
.finder li a { display: block; padding: .5rem 0; text-decoration: none; color: var(--deep); font-weight: 500; line-height: 1.3; }
.finder li a .fn { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.finder li a small { display: block; color: var(--mist); font-weight: 400; font-size: .8rem; }
.finder li a:hover .fn { color: var(--tide); text-decoration: underline; }
.finder .virtual { margin: .85rem 0 0; font-size: .92rem; color: var(--mist); }
@media (max-width: 420px) { .finder ul { grid-template-columns: 1fr; } }

/* ---------- Ledger lists (replace cards) ---------- */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: none; }
.ledger li { margin: 0; border-bottom: 1px solid var(--line); }
.ledger a, .ledger .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding: .95rem 0; text-decoration: none; color: var(--abyss); }
.ledger a:hover .t { color: var(--tide); text-decoration: underline; }
.ledger .t { font-weight: 600; font-size: 1.05rem; }
.ledger .d { color: var(--mist); font-size: .95rem; max-width: 60ch; }
.ledger .meta { color: var(--mist); font-size: .9rem; white-space: nowrap; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.5rem, 5vw, 4rem); }
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Offices by region ---------- */
.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2rem; }
.region h2, .region h3 { font-size: var(--step-1); margin-bottom: .5rem; color: var(--deep); }
.region ul { list-style: none; padding: 0; margin: 0; }
.region li { padding: .7rem 0; border-top: 1px solid var(--line); margin: 0; }
.region li a { font-weight: 600; text-decoration: none; color: var(--abyss); }
.region li a:hover { color: var(--tide); }
.region li address { font-style: normal; color: var(--mist); font-size: .92rem; margin-top: .15rem; }

/* ---------- Steps (a real sequence) ---------- */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; max-width: none; }
.steps li { counter-increment: s; margin: 0; padding-top: .5rem; border-top: 2px solid var(--sun); }
.steps li::before { content: counter(s); display: block; font-family: var(--font-display); font-size: var(--step-2); color: var(--deep); margin-bottom: .3rem; }
.steps h3 { font-size: var(--step-1); }

/* ---------- Location page ---------- */
.loc-hero .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .loc-hero .hero-grid { grid-template-columns: 1fr; } }
.postcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.postcard img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.postcard .body { padding: 1.1rem 1.25rem 1.25rem; }
.postcard address { font-style: normal; line-height: 1.5; }
.postcard .tel { font-size: var(--step-1); font-weight: 600; color: var(--abyss); text-decoration: none; display: inline-block; margin-top: .4rem; }
.postcard .tel:hover { color: var(--tide); }
.postcard dl { margin: .9rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; font-size: .95rem; }
.postcard dt { color: var(--mist); }
.postcard dd { margin: 0; }
.postcard .map-link { display: inline-block; margin-top: .9rem; font-weight: 500; }
@media (max-width: 420px) { .postcard dl { grid-template-columns: 1fr; gap: 0; } .postcard dt { margin-top: .5rem; } }

/* Team */
.team { list-style: none; padding: 0; margin: 0; max-width: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.5rem 2rem; }
.team li { margin: 0; display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: start; }
.team img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; background: var(--shallow); }
.team .name { font-weight: 600; color: var(--abyss); text-decoration: none; display: block; }
.team .name:hover { color: var(--tide); }
.team .cred { color: var(--mist); font-size: .92rem; }
.team .role { color: var(--tide); font-size: .9rem; }
.team .tags { color: var(--mist); font-size: .88rem; margin-top: .2rem; }

/* Therapist page */
.person-hero { display: grid; grid-template-columns: minmax(0, 10rem) 1fr; gap: 2rem; align-items: start; }
.person-hero img { width: 100%; max-width: 10rem; border-radius: 50%; object-fit: cover; aspect-ratio: 1; background: transparent; }
@media (max-width: 640px) { .person-hero { grid-template-columns: 1fr; } .person-hero img { max-width: 12rem; } }
.bio p { max-width: var(--measure); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.25rem; margin: 1rem 0 0; font-size: .97rem; }
.facts dt { color: var(--mist); }
.facts dd { margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: var(--measure); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: .9rem 0; font-weight: 600; color: var(--abyss); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline-offset: 0; }
.faq summary::after { content: "+"; color: var(--tide); font-family: var(--font-display); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 1rem; color: var(--ink); }

/* ---------- Insurance ---------- */
.insurers { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem .6rem; max-width: none; }
.insurers li { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; font-size: .95rem; }

/* ---------- Prose ---------- */
.prose h2 { margin-top: 2rem; font-size: var(--step-2); }
.prose h3 { margin-top: 1.5rem; font-size: var(--step-1); }
.prose ul { max-width: var(--measure); }
.prose li, .faq .a, .bio p, address, dd { overflow-wrap: anywhere; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
/* Headshots are always round, wherever they appear (including inside .prose). */
.prose .team img, .team img { border-radius: 50%; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.25rem); display: grid; grid-template-columns: 1fr auto; gap: 1.25rem; align-items: center; }
@media (max-width: 700px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band h2 { font-size: var(--step-2); margin-bottom: .25rem; }
.cta-band p { margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: .9rem; color: var(--mist); margin: 0 0 1rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; max-width: none; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line); }
.crumbs a { color: var(--mist); }

/* ---------- Form ---------- */
.form-shell { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem; }
.form-shell iframe { width: 100%; border: 0; min-height: 1500px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: #C9DADF; padding: clamp(2rem, 6vw, 4rem) 0 2rem; font-size: .93rem; }
.site-footer a { color: #DCEBEE; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: var(--white); font-size: 1rem; margin-bottom: .6rem; font-family: var(--font-body); font-weight: 600; }
.foot-logo { height: 56px; width: auto; margin-bottom: 1rem; display: block; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 .4rem; }
.foot-offices { margin-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.75rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.75rem 1.5rem; }
@media (max-width: 1000px) { .foot-offices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot-offices address { font-style: normal; color: #C9DADF; font-size: .86rem; line-height: 1.5; }
.foot-offices .foot-tel { display: inline-block; margin-top: .3rem; font-weight: 600; white-space: nowrap; }
.foot-offices strong { color: var(--white); font-weight: 600; display: block; font-size: .93rem; margin-bottom: .3rem; }
.foot-bottom { margin-top: 2rem; color: #B8CDD4; font-size: .85rem; text-align: center; }
.foot-bottom ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.5rem; margin: 0 0 1rem; padding: 0; max-width: none; }
.foot-copy { margin: 0; max-width: none; }

/* ---------- Tide (one orchestrated motion, homepage only) ---------- */
.tide { display: block; width: 100%; height: 42px; margin-top: -1px; }
.tide path { fill: var(--shallow); }
@media (prefers-reduced-motion: no-preference) {
  .tide .w1 { animation: tide 11s ease-in-out infinite alternate; }
  .tide .w2 { animation: tide 17s ease-in-out infinite alternate-reverse; opacity: .6; }
  @keyframes tide { from { transform: translateX(0); } to { transform: translateX(-60px); } }
}

.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--abyss); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Quiz tiles ---------- */
.quiz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .quiz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .quiz-grid { grid-template-columns: 1fr; } }
.quiz-tile { display: grid; gap: .35rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.4rem; text-decoration: none; color: var(--ink); }
.quiz-tile:hover { border-color: var(--tide); }
.quiz-tile:hover .qt { color: var(--tide); }
.quiz-tile .qi { display: block; width: 56px; height: 56px; margin-bottom: .5rem; }
.quiz-tile .qi svg { width: 100%; height: 100%; }
.quiz-tile .qt { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; color: var(--abyss); }
.quiz-tile .qs { color: var(--mist); font-size: .9rem; }
.quiz-tile .qd { font-size: .95rem; margin-top: .3rem; }

/* ---------- Insurer logos ---------- */
.logo-grid { list-style: none; padding: 0; margin: 0 0 1.25rem; max-width: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 960px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.logo-grid li { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; padding: 1.1rem 1.25rem; min-height: 7.5rem; }
.logo-grid img { max-height: 5rem; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Icons in lists, heroes, kiosk band ---------- */
.ledger-icons a { grid-template-columns: 3.5rem minmax(0, 1fr) auto; align-items: start; }
.li-icon { width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 50%; padding: .45rem; }
.section.tint .li-icon { background: var(--white); }
.li-icon svg { width: 100%; height: 100%; }
.hero-icon-row { display: flex; align-items: center; gap: 1rem; margin-bottom: .25rem; }
.hero-icon { width: 4rem; height: 4rem; flex: none; }
.hero-icon svg { width: 100%; height: 100%; }
.hero-icon-row h1 { margin-bottom: 0; }
.kicker { color: var(--tide); font-weight: 600; margin: 0 0 .2rem; font-size: var(--step-0); }
.kiosk { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.25rem; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2rem); }
.kiosk .qi { width: 4.5rem; height: 4.5rem; display: block; }
.kiosk .qi svg { width: 100%; height: 100%; }
.kiosk h2 { font-size: var(--step-2); margin-bottom: .35rem; }
.kiosk p { margin: 0; }
@media (max-width: 540px) { .kiosk { grid-template-columns: 1fr; } .kiosk .qi { width: 3.5rem; height: 3.5rem; } }
.quiz-tile .qhead { display: flex; align-items: center; gap: .75rem; margin-bottom: .4rem; }
.quiz-tile .qhead .qi { margin: 0; width: 48px; height: 48px; }
.quiz-tile .qtopic { font-weight: 600; color: var(--tide); font-size: 1.05rem; }
.logo-grid li.more { background: var(--shallow); border-style: dashed; }
.logo-grid li.more a { text-decoration: none; text-align: center; color: var(--deep); display: grid; gap: .1rem; line-height: 1.25; }
.logo-grid li.more span { font-family: var(--font-display); font-size: var(--step-1); }
.logo-grid li.more small { color: var(--mist); font-size: .85rem; }
a[href^="tel:"] { white-space: nowrap; }

/* ---------- Homepage team showcase ---------- */
.ts-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.ts-pause { font: inherit; font-size: .9rem; font-weight: 500; background: var(--white); color: var(--deep); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; min-height: 44px; cursor: pointer; }
.ts-bar { display: flex; align-items: flex-start; gap: 1rem; margin: 1rem 0 1.5rem; }
.ts-tabs { display: flex; flex-wrap: wrap; gap: .5rem; flex: 1; }
.ts-bar .ts-pause { flex: none; }
.ts-tabs [role=tab] { font: inherit; font-weight: 500; white-space: nowrap; background: var(--white); color: var(--deep); border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; min-height: 44px; cursor: pointer; }
.ts-tabs [role=tab][aria-selected=true] { background: var(--deep); color: var(--white); border-color: var(--deep); }
.tp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tp-head h3 { font-size: var(--step-2); margin: 0; }
.tp-head p { margin: .2rem 0 0; }
.tp-scroller { position: relative; }
.tp-track { list-style: none; margin: 0; padding: .25rem .25rem 1rem; max-width: none; display: grid; grid-auto-flow: column; grid-auto-columns: 10.5rem; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; }
.tp-track li { margin: 0; scroll-snap-align: start; }
.tp-track a { display: grid; justify-items: center; text-align: center; gap: .3rem; text-decoration: none; color: var(--abyss); padding: .5rem; border-radius: var(--radius); }
.tp-track a:hover .nm { color: var(--tide); text-decoration: underline; }
.tp-track img, .tp-track .ph { width: 8.5rem; height: 8.5rem; border-radius: 50%; object-fit: cover; background: var(--shallow); display: block; }
.tp-track .nm { font-weight: 600; line-height: 1.25; margin-top: .4rem; }
.tp-track .cr { color: var(--mist); font-size: .88rem; }
.tp-arrow { position: absolute; top: 4.25rem; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--deep); font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 2; box-shadow: 0 2px 8px rgba(8,38,52,.08); }
.tp-arrow.prev { left: -.75rem; } .tp-arrow.next { right: -.75rem; }
@media (max-width: 640px) { .tp-arrow { display: none; } .tp-track { grid-auto-columns: 8.5rem; } .tp-track img, .tp-track .ph { width: 7rem; height: 7rem; } }

.tp-arrow[hidden] { display: none; }

/* What we treat: grouped cards */
.svc-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.svc-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--deep); text-decoration: none; font-weight: 600; font-size: .95rem; }
.svc-jump a:hover { border-color: var(--tide); color: var(--tide); }
.svc-head { display: grid; grid-template-columns: 1fr; gap: .35rem; margin-bottom: 1.5rem; }
.svc-head h2 { margin: 0; }
.svc-head p { margin: 0; color: var(--mist); max-width: 36rem; }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; max-width: none; }
.svc-card { position: relative; margin: 0; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(8, 38, 52, .45); border-color: var(--tide); }
.svc-card:focus-within { border-color: var(--tide); }
.svc-art { position: relative; height: 150px; display: grid; place-items: center; background: var(--shallow); overflow: hidden; }
.svc-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc-sea { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46px; }
.svc-icon { box-shadow: 0 6px 18px -8px rgba(8, 38, 52, .55); }
.svc-icon { position: relative; width: 84px; height: 84px; padding: 14px; border-radius: 50%; background: var(--white); box-shadow: 0 6px 18px -10px rgba(8, 38, 52, .5); }
.svc-icon svg { width: 100%; height: 100%; display: block; }
.svc-body { padding: 1.1rem 1.35rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { margin: 0 0 .4rem; font-size: 1.3rem; }
.svc-body h3 a { color: var(--abyss); text-decoration: none; }
.svc-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc-body h3 a:focus-visible { outline: none; }
.svc-card:has(h3 a:focus-visible) { outline: 3px solid var(--tide); outline-offset: 3px; }
.svc-body p { margin: 0; color: var(--mist); font-size: .98rem; }
.svc-quiz { margin-top: auto !important; padding-top: 1rem; }
.svc-quiz a { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--tide); font-weight: 600; font-size: .92rem; }
.svc-quiz a::after { content: "\2192"; }
.svc-grid-one { grid-template-columns: minmax(0, 1fr); }
.svc-grid-one .svc-card { flex-direction: row; }
.svc-grid-one .svc-art { width: 38%; height: auto; min-height: 200px; flex: none; }
.svc-grid-one .svc-body { justify-content: center; padding: 1.75rem 2rem; }
.svc-unsure { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 1.5rem 3rem; align-items: center; background: var(--deep); color: var(--white); border-radius: 22px; padding: 2rem 2.25rem; }
.svc-unsure h2 { color: var(--white); margin-top: 0; }
.svc-unsure p { color: var(--shallow); margin-bottom: 0; }
.svc-unsure .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.chip-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; max-width: none; }
.chip-list li { margin: 0; }
.chip-list a { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1.05rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--deep); text-decoration: none; font-weight: 500; }
.chip-list a:hover { border-color: var(--tide); color: var(--tide); }
.chip-list .chip-more { background: var(--deep); border-color: var(--deep); color: var(--white); }
.chip-list .chip-more:hover { background: var(--tide); color: var(--white); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc-head { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; gap: 1rem; }
  .svc-art { height: 104px; }
  .svc-icon { width: 68px; height: 68px; padding: 12px; }
  .svc-grid-one .svc-card { flex-direction: column; }
  .svc-grid-one .svc-art { width: auto; min-height: 150px; }
  .svc-grid-one .svc-body { padding: 1.1rem 1.35rem 1.35rem; }
  .svc-unsure { grid-template-columns: 1fr; padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .svc-card:hover { transform: none; } }
/* Whole-life check-in: featured first tile on the quizzes grid */
.quiz-grid .quiz-feature { grid-column: 1 / -1; background: var(--deep); border-color: var(--deep); color: var(--white); }
.quiz-tile.quiz-feature .qt, .quiz-tile.quiz-feature .qtopic, .quiz-tile.quiz-feature:hover .qt { color: var(--white); }
.quiz-tile.quiz-feature .qs, .quiz-tile.quiz-feature .qd { color: var(--shallow); }
.quiz-tile.quiz-feature .qi { background: var(--white); border-radius: 50%; }
.quiz-feature:hover { background: var(--abyss); border-color: var(--abyss); }
.reg { font-size: .55em; vertical-align: super; line-height: 0; margin-left: .04em; font-family: var(--font-body); font-weight: 400; }
/* Legal documents */
.doc-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.doc-view { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
.doc-view iframe { display: block; width: 100%; height: 85vh; min-height: 640px; border: 0; }
.doc-mobile { display: none; }
@media (max-width: 640px) { .doc-view iframe { height: 70vh; min-height: 480px; } .doc-mobile { display: block; margin-top: .75rem; } }
.legal-text h2 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; color: var(--abyss); margin-top: 2.25rem; }
.legal-text .legal-caps { font-size: .95rem; letter-spacing: .01em; }
.legal-text .legal-lead { font-size: 1.15rem; color: var(--abyss); }
.legal-text ol, .legal-text ul { padding-left: 1.4rem; }
.legal-text li { margin-bottom: .6rem; }
.legal-text ol[type="a"] { margin-top: .5rem; }

.svc-pay { margin-top: .6rem !important; font-size: .88rem !important; color: var(--deep) !important; font-weight: 600; }
.svc-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pay-note { margin-top: 1.25rem; max-width: 40rem; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--sun); border-radius: 12px; padding: .9rem 1.1rem; color: var(--ink); }
@media (max-width: 640px) { .svc-grid-two { grid-template-columns: 1fr; } }

/* Careers */
.car-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: start; }
.car-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.car-facts div { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; }
.car-facts dt { font-size: .85rem; color: var(--mist); }
.car-facts dd { margin: .15rem 0 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--abyss); }
.car-grid { list-style: none; padding: 0; margin: 1.25rem 0 0; max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.car-grid li { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem; }
.car-grid h3 { font-size: 1.1rem; margin: 0 0 .35rem; }
.car-grid p { margin: 0; color: var(--mist); font-size: .97rem; }
.car-grid-plain li { background: transparent; border: 0; border-top: 2px solid var(--sun); border-radius: 0; padding: .9rem 0 0; }
.car-values { list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 2rem; max-width: none; }
.car-values li { margin: 0; }
@media (max-width: 860px) { .car-intro { grid-template-columns: 1fr; } .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .car-grid, .car-values { grid-template-columns: 1fr; } }


.ref-brochure { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem 1.75rem; }
.ref-brochure h2 { margin-top: 0; }
.ref-brochure p { margin-bottom: 0; }
.form-script iframe { width: 100% !important; border: 0; min-height: 0; }
.form-script { min-height: 12rem; }

/* Decorated steps: icon disc, number badge, wave connector */
.steps-fancy { list-style: none; padding: 0; margin: 1.5rem 0 0; max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.steps-fancy li { margin: 0; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 1.4rem 1.4rem; text-align: center; }
.steps-fancy li:not(:last-child)::after { content: ""; position: absolute; top: 3.4rem; right: -1.6rem; width: 1.7rem; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14'%3E%3Cpath d='M1 7c3-5 6-5 9 0s6 5 9 0 6-5 8-1' fill='none' stroke='%23E3A33E' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; z-index: 1; }
.sf-badge { position: relative; width: 5.5rem; height: 5.5rem; margin: 0 auto 1rem; }
.sf-icon { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--white), var(--shallow)); border: 1px solid var(--line); padding: 1.1rem; box-sizing: border-box; }
.sf-icon svg { width: 100%; height: 100%; display: block; }
.sf-num { position: absolute; top: -.2rem; right: -.35rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--deep); color: var(--white); font-family: var(--font-display); font-size: 1.05rem; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--white); }
.steps-fancy h3 { font-size: var(--step-1); margin: 0 0 .5rem; }
.steps-fancy p { margin: 0; color: var(--mist); }
@media (max-width: 860px) {
  .steps-fancy { grid-template-columns: 1fr; gap: 1.25rem; }
  .steps-fancy li { text-align: left; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: 1.1rem; align-items: start; padding: 1.2rem; }
  .steps-fancy li .sf-badge { grid-row: span 2; width: 4.5rem; height: 4.5rem; margin: 0; }
  .steps-fancy li .sf-icon { padding: .85rem; }
  .steps-fancy li:not(:last-child)::after { top: auto; bottom: -1.3rem; right: auto; left: 2.85rem; width: 14px; height: 1.3rem; transform: rotate(90deg); }
}

/* Home: recognition band with award collage */
.recog { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem 3rem; align-items: center; }
.recog p { max-width: 52ch; }
.recog-art { margin: 0; }
.recog-art img { width: 100%; height: auto; display: block; }
@media (max-width: 860px) { .recog { grid-template-columns: 1fr; } }

/* Press */
.press-band { list-style: none; padding: 0; margin: 0; max-width: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1rem; align-items: center; }
.press-band li { margin: 0; display: grid; place-items: center; height: 6.5rem; padding: .25rem; }
.press-band img { max-width: 100%; max-height: 5.5rem; width: auto; height: auto; object-fit: contain; }
@media (max-width: 960px) { .press-band { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .press-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.press-grid { list-style: none; padding: 0; margin: 1.25rem 0 0; max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.press-grid li { margin: 0; }
.press-grid a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--abyss); transition: border-color .2s ease, transform .2s ease; }
.press-grid a:hover { border-color: var(--tide); transform: translateY(-2px); }
.pc-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--shallow); display: grid; place-items: center; overflow: hidden; }
.pc-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.pc-thumb .pc-fallback { position: static; width: auto; height: auto; max-width: 55%; max-height: 60%; object-fit: contain; z-index: 0; }
.pc-meta { display: flex; align-items: center; gap: .55rem; padding: .85rem 1rem 0; }
.pc-logo { width: 2.6rem; height: 1.6rem; object-fit: contain; }
.pc-outlet { font-size: .82rem; font-weight: 600; color: var(--tide); letter-spacing: .02em; }
.pc-title { padding: .4rem 1rem 1.1rem; font-weight: 600; line-height: 1.35; }
@media (max-width: 960px) { .press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .press-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .press-grid a:hover { transform: none; } }

/* Quiz disclaimer under the name */
.quiz-disclaimer { margin: .5rem 0 0; max-width: 46rem; font-size: .92rem; color: var(--deep); background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--sun); border-radius: 10px; padding: .6rem .85rem; }

.quiz-disclaimer + .lede { margin-top: 1rem; }

/* Self-pay rates table (insurance page) */
.rates { width: 100%; max-width: 44rem; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 1rem; }
.rates th, .rates td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.rates thead th { background: var(--shallow); color: var(--abyss); font-weight: 600; }
.rates tbody th { font-weight: 500; color: var(--abyss); }
.rates td { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--deep); white-space: nowrap; }
@media (max-width: 520px) { .rates { font-size: .92rem; } .rates th, .rates td { padding: .6rem .5rem; } }

/* Activity Zone legal line: full width under the grids */
.az-legal { max-width: none; margin-top: 2rem; }
/* Founders under leadership */
.founders-h { margin-top: 2.5rem; }
/* What we treat: first group sits closer to the intro */
.horizon + .svc-group { padding-top: clamp(2rem, 4vw, 3rem); }

/* What we treat: contact card beside the intro */
.svc-contact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 1.75rem); align-self: start; }
.svc-contact h2 { font-size: var(--step-1); margin: 0 0 .5rem; }
.svc-contact p { margin: 0 0 1rem; }
.svc-contact .actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: .9rem; }
.svc-contact .small { margin: 0; }
/* Condition pages */
.cond-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.cond-signs { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--tide); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.cond-signs h2 { font-size: var(--step-1); margin: 0 0 .75rem; }
.cond-signs ul { margin: 0; padding-left: 1.1em; }
.cond-signs li { margin: .35rem 0; }
.cond-list { margin: 1.25rem 0 0; display: grid; gap: 0; max-width: none; border-top: 1px solid var(--line); }
.cond-list > div { padding: 1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: .5rem 2rem; }
.cond-list dt { font-weight: 600; color: var(--abyss); }
.cond-list dd { margin: 0; color: var(--ink); max-width: 70ch; }
.cond-when { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; }
.cond-when .actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 860px) { .cond-top, .cond-when, .cond-list > div { grid-template-columns: 1fr; } }

/* Therapist search (client-side filter; nothing is sent anywhere) */
.team-search { margin-top: 1.5rem; max-width: 36rem; }
.team-search label { display: block; font-weight: 600; color: var(--abyss); margin-bottom: .4rem; }
.team-search .ts-row { display: flex; gap: .6rem; }
.team-search input[type=search] { flex: 1; min-width: 0; min-height: 48px; padding: .6rem .75rem; font: inherit; font-size: .92rem; border: 1px solid var(--mist); border-radius: 12px; background: var(--white); color: var(--ink); }
.team-search input[type=search]:focus { outline: 3px solid var(--deep); outline-offset: 1px; border-color: var(--tide); box-shadow: 0 0 0 5px var(--sun); }
.team-search .small { margin: .5rem 0 0; }
.team-sec[hidden], .team li[hidden], #leadership[hidden] { display: none; }
.hero-grid.hg-center { align-items: center; }
.hero-grid.hg-center > * { align-self: center; }
.team-search.svc-contact { margin-top: 0; max-width: none; }
.team-search label { font-size: var(--step-1); font-family: var(--font-display); font-weight: 500; }
#team-status.team-none { color: #B3261E; font-weight: 600; }

/* Mobile: long home-page lists start collapsed to three items with a View more button */
.more-btn { display: none; }
@media (max-width: 700px) {
  .more-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: .75rem 0 0; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--mist); background: var(--white); color: var(--deep); font: inherit; font-weight: 600; cursor: pointer; width: 100%; }
  .more-btn:focus-visible { outline: 3px solid var(--deep); outline-offset: 2px; box-shadow: 0 0 0 5px var(--sun); }
  ul.collapsible.is-collapsed > li:nth-child(n+4) { display: none; }
  .finder ul { grid-template-columns: 1fr; }
}

/* Home h1: brush-marker swash under "Therapy" (tapered: thick at the left, thin where it crosses the p and y), revealed once on load */
.scribble { position: relative; display: inline-block; white-space: nowrap; }
.scribble svg { position: absolute; left: -1%; width: 106%; bottom: -.16em; height: .3em; overflow: visible; }
.scribble path { fill: #2FCFC2; clip-path: inset(0 100% 0 0); animation: scribble-draw .6s cubic-bezier(.6,.1,.3,1) .35s forwards; }
.scribble path + path { opacity: .9; animation-duration: .45s; animation-delay: .9s; }
@keyframes scribble-draw { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .scribble path { animation: none; clip-path: none; } }
/* Mobile footer: office addresses are on the Locations page; hide the full list */
@media (max-width: 700px) { .foot-offices { display: none; } }

/* Home "What we help with": one ordered grid, six shown on desktop (three on phones), View all expands */
.help-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 5vw, 4rem); }
.help-grid > li:nth-child(2) { border-top: 0; }
.help-grid.is-collapsed > li:nth-child(n+7) { display: none; }
/* "Where to get help": full list on desktop; three locations plus a View all button on phones */
.loc-mobile, .help-more.loc-more-wrap { display: none; }
@media (max-width: 700px) {
  .loc-desktop { display: none; }
  .loc-mobile { display: block; }
  .help-more.loc-more-wrap { display: flex; }
  .loc-list.is-collapsed > li:nth-child(n+4) { display: none; }
}
.help-more { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.5rem; }
.more-btn.more-btn-all { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1.3rem; border-radius: 999px; border: 1px solid var(--deep); background: var(--white); color: var(--deep); font: inherit; font-weight: 600; cursor: pointer; width: auto; margin: 0; }
.more-btn.more-btn-all:hover { background: var(--deep); color: var(--white); }
.more-btn.more-btn-all::after { content: ""; width: .5em; height: .5em; margin-left: .6em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.more-btn.more-btn-all[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.help-all { font-size: .95rem; }
@media (max-width: 700px) {
  .help-grid { grid-template-columns: 1fr; }
  .help-grid.is-collapsed > li:nth-child(n+4) { display: none; }
  .more-btn.more-btn-all { width: 100%; }
}

/* Online page: county list */
.county-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .4rem 1.25rem; max-width: none; }
.county-list li { margin: 0; padding: .35rem 0; border-bottom: 1px solid var(--line); color: var(--deep); font-size: .95rem; }
.county-more { margin-top: .5rem; }
.county-more > summary { display: inline-flex; align-items: center; min-height: 44px; margin-top: .75rem; padding: .5rem 1.2rem; border-radius: 999px; border: 1px solid var(--deep); background: var(--white); color: var(--deep); font-weight: 600; cursor: pointer; list-style: none; }
.county-more > summary::-webkit-details-marker { display: none; }
.county-more > summary::after { content: ""; width: .5em; height: .5em; margin-left: .6em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.county-more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.county-more[open] > summary { margin-bottom: .25rem; }

/* Client forms: cards + dialog */
.fcards { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; max-width: none; }
.fcard { margin: 0; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.35rem; }
.fcard-ic { width: 3.25rem; height: 3.25rem; display: grid; place-items: center; border-radius: 50%; background: var(--foam); margin-bottom: .9rem; }
.fcard-ic svg { width: 2.4rem; height: 2.4rem; }
.fcard h3 { margin: 0 0 .4rem; font-size: var(--step-1); }
.fcard p { margin: 0 0 .6rem; color: var(--ink); }
.fcard .fcard-when { font-size: .9rem; color: var(--mist); }
.fcard-tab { display: inline-block; padding: .35rem 0; min-height: 24px; }
.fcard-act { margin-top: auto; padding-top: .75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.form-dialog { width: min(52rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: 14px; box-shadow: 0 24px 60px rgba(6, 31, 46, .35); }
.form-dialog::backdrop { background: rgba(6, 31, 46, .55); }
.fd-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--white); }
.fd-head h2 { margin: 0; font-size: var(--step-1); }
.fd-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--mist); background: var(--white); font-size: 1.6rem; line-height: 1; color: var(--deep); cursor: pointer; }
.fd-body iframe { display: block; width: 100%; height: min(70dvh, 900px); border: 0; }
.fd-foot { margin: 0; padding: .75rem 1.25rem 1rem; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fcards { grid-template-columns: 1fr; } }

/* Sponsorships page */
.sp-art { display: block; width: 100%; height: auto; }
.sp-hero-art { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(6, 31, 46, .08); }
.sp-hero h1 { max-width: 16ch; }
.sp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.25rem; }
.sp-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.sp-card-art { border-bottom: 1px solid var(--line); }
.sp-card-body { padding: 1.5rem 1.6rem 1.75rem; }
.sp-card-body h3 { margin: .1rem 0 .6rem; font-size: var(--step-2); }
.sp-ticks { list-style: none; padding: 0; margin: 1rem 0 0; }
.sp-ticks li { position: relative; padding-left: 1.75rem; margin: .5rem 0; }
.sp-ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--shallow); }
.sp-ticks li::after { content: ""; position: absolute; left: .38rem; top: .5em; width: .3rem; height: .55rem; border-right: 2px solid var(--tide); border-bottom: 2px solid var(--tide); transform: rotate(45deg); }
.sp-steps { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; max-width: none; counter-reset: none; }
.sp-steps li { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.3rem; position: relative; }
.sp-steps li:not(:last-child)::after { content: ""; position: absolute; top: 2.3rem; right: -1.1rem; width: 1rem; border-top: 2px dashed var(--tide); }
.sp-num { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--deep); color: var(--white); font-family: var(--font-display); font-size: 1.2rem; margin-bottom: .8rem; }
.sp-steps h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.sp-steps p { margin: 0; font-size: .95rem; color: var(--ink); }
.sp-benefits { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 2rem; max-width: none; }
.sp-benefits li { margin: 0; display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; align-items: start; }
.sp-b-ic { width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--foam); display: grid; place-items: center; border: 1px solid var(--line); }
.sp-b-ic svg { width: 2.2rem; height: 2.2rem; }
.sp-benefits h3 { margin: .2rem 0 .3rem; font-size: 1.08rem; }
.sp-benefits p { margin: 0; color: var(--ink); font-size: .97rem; }
.sp-stats-sec { background: var(--deep); color: var(--white); }
.sp-stats-sec h2 { color: var(--white); }
.sp-stats { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; max-width: none; }
.sp-stats li { margin: 0; border-top: 3px solid var(--sun); padding-top: 1rem; }
.sp-big { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--white); margin-bottom: .6rem; }
.sp-stats p { margin: 0 0 .5rem; color: #DCEBEE; }
.sp-src { font-size: .82rem; color: #9FC3CC; }
.sp-signs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem 3.5rem; align-items: start; }
.sp-sign-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.25rem; max-width: none; }
.sp-sign-list li { margin: 0; padding: .7rem .9rem; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--tide); border-radius: 10px; font-size: .95rem; }
.sp-form-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.25rem, 4vw, 2.5rem); max-width: 56rem; margin: 0 auto; box-shadow: 0 18px 40px rgba(6, 31, 46, .06); }
.sp-form-head { text-align: center; margin-bottom: 1rem; }
.sp-form-head p { margin-left: auto; margin-right: auto; }
@media (max-width: 960px) { .sp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sp-steps li::after { display: none; } .sp-benefits, .sp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sp-signs { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .sp-two, .sp-steps, .sp-benefits, .sp-stats, .sp-sign-list { grid-template-columns: 1fr; } }
.team-search [hidden] { display: none !important; }

/* Windows High Contrast / forced colors: states that rely on background colour get an outline; the orb gets an edge. */
@media (forced-colors: active) {
  .cz-orb { border: 2px solid CanvasText; }
  [aria-selected="true"], [aria-pressed="true"], [aria-checked="true"], [aria-current="page"] { outline: 2px solid Highlight; outline-offset: 2px; }
  button[disabled], .btn[aria-disabled="true"] { opacity: 1; color: GrayText; border-color: GrayText; }
}

/* Section 1557 language-assistance taglines */
.taglines { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: .9rem 1.5rem; margin-top: .75rem; }
.tagline { border-top: 1px solid var(--line); padding-top: .6rem; }
.tagline strong { display: block; color: var(--deep); margin-bottom: .2rem; }
.tagline p { margin: 0; font-size: .95rem; }
.tagline[dir=rtl] { text-align: right; }

/* Intake form at the bottom of location pages */
.loc-intake { scroll-margin-top: 5.5rem; }
.loc-intake:focus { outline: none; }
.form-wait { margin: 0; padding: 2rem 1rem; text-align: center; color: var(--muted, #4a5f68); }
