/* ==========================================================================
   Healthy Solutions for Children and Families — site styles
   Palette pulled from the logo: Ember #FE4109 and Apricot #FA8D4A
   Type: Fraunces (soft, wonky display) + Figtree (friendly sans)
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ember: #FE4109;          /* logo orange, for shapes and large type */
  --ember-ink: #C93203;      /* same orange, deepened so text passes WCAG AA on white, milk and blush */
  --apricot: #FA8D4A;        /* logo light orange */
  --apricot-soft: #FDC9A6;
  --blush: #FFEDE2;          /* tinted sections */
  --milk: #FFFBF7;           /* page background */
  --white: #FFFFFF;
  --cocoa: #3A2219;          /* ink */
  --cocoa-2: #57372B;
  --dune: #7D6156;           /* secondary text */
  /* channel versions for transparent tints, so every tint comes from the same palette */
  --ember-rgb: 254 65 9;
  --apricot-rgb: 250 141 74;
  --cocoa-rgb: 58 34 25;
  --milk-rgb: 255 251 247;
  --white-rgb: 255 255 255;
  --shadow-rgb: 122 45 10;
  --ok-bg: #EAF5EC;
  --ok-fg: #1F5A2E;
  --err-bg: #FDECE6;
  --err-fg: #8A2400;
  --line: rgb(var(--cocoa-rgb) / .14);
  --line-strong: rgb(var(--cocoa-rgb) / .28);
  color-scheme: light;

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem);
  --step-4: clamp(2.15rem, 1.4rem + 3vw, 3.4rem);
  --step-5: clamp(2.8rem, 1.6rem + 5vw, 5.4rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --radius-panel: 28px;
  --radius-small: 14px;
  --section: clamp(72px, 9vw, 136px);
  --header-h: 78px;
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-soft: cubic-bezier(.22, .8, .24, 1);
  --shadow-warm: 0 30px 60px -30px rgb(var(--shadow-rgb) / .35);
  --shadow-soft: 0 10px 24px -14px rgb(var(--shadow-rgb) / .5);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--milk);
  color: var(--cocoa);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ember-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cocoa); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ember-ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--apricot-soft); color: var(--cocoa); }

.sr-only { position: absolute !important; 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: 16px; top: -60px; z-index: 2000; background: var(--cocoa); color: var(--milk); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--milk); }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-optical-sizing: auto;
  font-weight: 420;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--cocoa);
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}
h1 { font-size: var(--step-5); letter-spacing: -0.025em; line-height: 1.0; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); font-weight: 480; line-height: 1.2; }
h4 { font-size: var(--step-1); font-weight: 520; }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--cocoa-2); max-width: 54ch; }
.muted { color: var(--dune); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: max(var(--gutter), var(--safe-l)); padding-right: max(var(--gutter), var(--safe-r)); }
.split > *, .content-grid > *, .contact-grid > *, .svc-layout > *, .page-hero-grid > *, .profile-hero > *, .footer-grid > *, .event-band > *, .finder-result > * { min-width: 0; }
.section { padding-block: var(--section); }
.section--blush { background: var(--blush); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.section-head p { margin: 0; }
.split { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.15fr .85fr; } }

/* ---------- spacing utilities (replace one-off inline styles) ---------- */
.mt-s { margin-top: 20px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 36px; }
.sub-h { margin: 34px 0 12px; }
.section--flush-top { padding-top: 0; }
.details-h { font-size: var(--step-3); margin-bottom: 18px; }
.btn-row--center { justify-content: center; }
.nf-lead { margin: 20px auto 30px; }
.pill-list--white { gap: 10px; }
.pill-list.pill-list--white li { background: var(--white); }
.team-card .creds { font-family: var(--f-body); font-size: .55em; font-weight: 700; color: var(--ember-ink); margin-left: 8px; letter-spacing: .02em; }
.pull-quote p { margin: 0; }

/* ---------- house frames (clip paths defined inline per page) ---------- */
.house { clip-path: url(#house); -webkit-clip-path: url(#house); }
.house-c { clip-path: url(#house-chimney); -webkit-clip-path: url(#house-chimney); }
.house-img { position: relative; aspect-ratio: 4 / 5; background: var(--apricot-soft); overflow: hidden; }
.house-img img, .house-img video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ember-ink); --fg: var(--white); --bd: var(--ember-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-family: var(--f-body); font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .35s var(--ease-spring);
}
.btn:hover { --bg: var(--cocoa); --bd: var(--cocoa); color: var(--white); }
.btn:active { transform: scale(.97); }
.btn--ghost { --bg: transparent; --fg: var(--cocoa); --bd: var(--line-strong); }
.btn--ghost:hover { --bg: var(--cocoa); --fg: var(--milk); --bd: var(--cocoa); color: var(--milk); }
.btn--light { --bg: var(--milk); --fg: var(--cocoa); --bd: var(--milk); }
.btn--light:hover { --bg: var(--cocoa); --fg: var(--milk); --bd: var(--cocoa); color: var(--milk); }
.btn--small { min-height: 42px; padding: 10px 18px; font-size: .9375rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-weight: 650; color: var(--cocoa); text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-underline-offset .25s ease, color .2s ease; }
.text-link:hover { color: var(--ember-ink); text-underline-offset: 9px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgb(var(--milk-rgb) / 0.86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cocoa); flex: none; }
.brand img { width: 46px; height: auto; }
.brand-name { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 500; font-size: 1.02rem; line-height: 1.08; letter-spacing: -0.005em; }
.brand-name small { display: block; font-family: var(--f-body); font-weight: 500; font-size: .74rem; color: var(--dune); letter-spacing: .01em; }
.nav { margin-left: auto; display: none; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button { white-space: nowrap; position: relative; padding: 10px 12px; border-radius: 999px; font-weight: 550; font-size: .97rem; color: var(--cocoa); text-decoration: none; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav-drop > button:hover, .nav-drop.is-open > button { background: var(--blush); color: var(--cocoa); }
.nav a[aria-current="page"], .nav-drop.is-current > button { color: var(--ember-ink); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 12px; height: 12px; transition: transform .25s ease; }
.nav-drop.is-open > button svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  width: min(640px, 80vw); padding: 14px; border-radius: var(--radius-panel);
  background: var(--white); box-shadow: 0 30px 70px -28px rgb(var(--cocoa-rgb) / .35), 0 0 0 1px var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .22s ease, transform .3s var(--ease-soft), visibility .22s;
}
.nav-drop.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: block; padding: 12px 14px; border-radius: var(--radius-small); text-decoration: none; color: var(--cocoa); }
.nav-menu a:hover { background: var(--blush); }
.nav-menu a strong { display: block; font-weight: 650; font-size: .97rem; }
.nav-menu a span { display: block; font-size: .85rem; color: var(--dune); line-height: 1.4; margin-top: 2px; }
.nav-menu .nav-menu-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-weight: 650; color: var(--ember-ink); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); color: var(--cocoa); text-decoration: none; font-weight: 600; font-size: .9rem; }
.lang-switch:hover { border-color: var(--cocoa); color: var(--cocoa); background: var(--white); }
.lang-switch svg { width: 16px; height: 16px; }
.header-cta { display: none; white-space: nowrap; }
.menu-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--cocoa); border-radius: 2px; box-shadow: 0 -6px 0 var(--cocoa), 0 6px 0 var(--cocoa); }
@media (min-width: 1200px) {
  .nav { display: flex; }
  .header-actions { margin-left: 8px; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}
.lang-short { display: none; }
/* desktop widths where the Spanish menu is longest: tighten before anything can collide */
@media (min-width: 1200px) and (max-width: 1379px) {
  .nav > a, .nav-drop > button { padding: 10px 9px; }
  .lang-switch .lang-text { display: none; }
  .lang-switch .lang-short { display: inline; }
  .header-inner { gap: 14px; }
}
@media (max-width: 520px) { .brand-name small { display: none; } .brand-name { font-size: .95rem; } .lang-switch .lang-text { display: none; } .lang-short { display: inline; } .lang-switch { padding: 8px 12px; } }
@media (max-width: 380px) {
  .header-inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 38px; }
  .brand-name { font-size: .86rem; }
  .header-actions { gap: 6px; }
  .menu-toggle { width: 44px; height: 44px; }
  .lang-switch { padding: 7px 10px; }
  .lang-switch svg { display: none; }
}

/* mobile sheet */
.mobile-sheet {
  position: fixed; inset: 0; z-index: 950; background: var(--milk);
  display: flex; flex-direction: column; padding: 18px max(var(--gutter), var(--safe-r)) calc(32px + var(--safe-b)) max(var(--gutter), var(--safe-l));
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .3s ease, transform .4s var(--ease-soft), visibility .3s;
  overflow-y: auto;
}
.mobile-sheet.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-sheet-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mobile-close { width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; cursor: pointer; display: grid; place-items: center; }
.mobile-close svg { width: 18px; height: 18px; }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(1.35rem, 6.2vw, 1.9rem); line-height: 1.2; color: var(--cocoa); text-decoration: none; }
.mobile-nav a[aria-current="page"] { color: var(--ember-ink); }
.mobile-nav details summary { list-style: none; cursor: pointer; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(1.35rem, 6.2vw, 1.9rem); line-height: 1.2; display: flex; justify-content: space-between; align-items: center; }
.mobile-nav details summary::-webkit-details-marker { display: none; }
.mobile-nav details summary::after { content: "+"; font-family: var(--f-body); font-size: 1.6rem; color: var(--ember-ink); transition: transform .3s ease; }
.mobile-nav details[open] summary::after { transform: rotate(45deg); }
.mobile-nav details a { font-family: var(--f-body); font-size: 1.1rem; padding: 12px 0 12px 14px; }
.mobile-sheet .btn { margin-top: 28px; width: 100%; }
.mobile-sheet .lang-switch { align-self: flex-start; margin-top: 18px; }
.mobile-sheet .mobile-contact { margin-top: 20px; color: var(--dune); font-size: .95rem; }
.mobile-sheet .mobile-contact a { color: var(--cocoa); font-weight: 600; }

/* ---------- splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 1500; background: var(--white);
  display: grid; place-items: center; text-align: center; padding: 24px;
  transition: opacity .9s ease .1s, visibility .9s ease .1s;
}
.splash[hidden] { display: none; }
.splash.is-leaving { opacity: 0; visibility: hidden; }
.splash-inner { display: grid; justify-items: center; gap: 26px; }
.splash-door {
  position: relative; width: clamp(170px, 34vw, 240px); aspect-ratio: 312 / 287;
  background: none; border: 0; padding: 0; cursor: pointer; border-radius: 30px;
  transform-origin: 50% 70%;
}
.splash-door img { width: 100%; height: auto; position: relative; z-index: 1; }
.splash-door::before {
  content: ""; position: absolute; left: 50%; top: 58%; width: 150%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; background: radial-gradient(circle, rgb(var(--apricot-rgb) / .22), rgb(var(--apricot-rgb) / 0) 62%);
  animation: glow 4.8s ease-in-out infinite;
}
.splash-door img { animation: breathe 4.8s ease-in-out infinite; }
.splash-door:hover img { animation-play-state: paused; transform: scale(1.04); transition: transform .4s var(--ease-spring); }
.splash-hint { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: var(--step-2); color: var(--cocoa); margin: 0; }
.splash-name { font-size: .95rem; color: var(--dune); margin: 0; line-height: 1.4; }
.splash-lang { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--blush); }
.splash-lang a { padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--cocoa); text-decoration: none; }
.splash-lang a[aria-current="true"] { background: var(--white); box-shadow: 0 2px 8px rgb(var(--cocoa-rgb) / .12); }
.splash.is-entering .splash-door img { animation: enter-door 1.15s cubic-bezier(.7, 0, .2, 1) forwards; }
.splash.is-entering .splash-door::before { animation: none; opacity: 0; transition: opacity .3s; }
.splash.is-entering .splash-hint, .splash.is-entering .splash-name, .splash.is-entering .splash-lang { opacity: 0; transition: opacity .35s ease; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes glow { 0%, 100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes enter-door {
  0% { transform: scale(1); opacity: 1; filter: blur(0); }
  22% { transform: scale(.93); opacity: 1; }
  100% { transform: scale(14); opacity: 0; filter: blur(6px); }
}
body.site-reveal main, body.site-reveal .site-header { animation: site-in 1.1s var(--ease-soft) both; }
@keyframes site-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- hero: full-width film with a roofline edge ---------- */
.hero--film {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: center;
  min-height: clamp(560px, 80vh, 840px);
  background: var(--cocoa); color: var(--milk);
}
.hero-film { position: absolute; inset: 0; z-index: -1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.hero-shade {
  position: absolute; inset: 0;
  /* darkest behind the headline, wherever the content column sits */
  background:
    linear-gradient(90deg, rgb(var(--cocoa-rgb) / .86) 0, rgb(var(--cocoa-rgb) / .66) calc(50vw + 40px), rgb(var(--cocoa-rgb) / .14) calc(50vw + 460px), rgb(var(--cocoa-rgb) / 0) 100%),
    linear-gradient(0deg, rgb(var(--cocoa-rgb) / .42) 0%, rgb(var(--cocoa-rgb) / 0) 40%);
}
@media (max-width: 1100px) {
  .hero-shade { background: linear-gradient(90deg, rgb(var(--cocoa-rgb) / .86) 0%, rgb(var(--cocoa-rgb) / .62) 70%, rgb(var(--cocoa-rgb) / .45) 100%), linear-gradient(0deg, rgb(var(--cocoa-rgb) / .4) 0%, rgb(var(--cocoa-rgb) / 0) 40%); }
}
.hero-inner { padding-block: clamp(72px, 9vw, 120px) clamp(130px, 14vw, 190px); }
.hero-copy { display: grid; gap: 26px; max-width: 640px; }
.hero--film h1, .hero--film .lead { text-shadow: 0 1px 28px rgb(var(--cocoa-rgb) / .35); }
.hero--film h1 { color: var(--white); font-size: clamp(3.1rem, 1.6rem + 5.2vw, 6rem); font-weight: 380; text-wrap: pretty; }
.hero--film .lead { color: rgb(var(--milk-rgb) / .92); }
.hero--film .btn--ghost { --fg: var(--white); --bd: rgb(var(--white-rgb) / .6); }
.hero--film .btn--ghost:hover { --bg: var(--white); --fg: var(--cocoa); --bd: var(--white); color: var(--cocoa); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 4px 0 0; padding: 0; list-style: none; color: rgb(var(--milk-rgb) / .94); font-weight: 550; font-size: .97rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.hero-points li::before { content: ""; width: 14px; height: 13px; background: var(--apricot); clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%); border-radius: 2px; }
.hero-controls-wrap { position: absolute; left: 0; right: 0; bottom: clamp(64px, 8vw, 104px); z-index: 2; }
.hero-controls-wrap .wrap { display: flex; justify-content: flex-end; }
.hero-controls { display: flex; align-items: center; gap: 14px; padding: 8px 10px 8px 16px; border-radius: 999px; background: rgb(var(--cocoa-rgb) / .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.scene-bars { display: flex; gap: 6px; }
.scene-bar { width: 34px; height: 4px; border-radius: 4px; background: rgb(var(--white-rgb) / .35); overflow: hidden; padding: 0; border: 0; cursor: pointer; position: relative; }
.scene-bar::after { content: ""; position: absolute; inset: -10px 0; }
.scene-bar i { display: block; height: 100%; width: 0; background: var(--white); border-radius: inherit; }
.video-toggle { width: 34px; height: 34px; border-radius: 999px; border: 0; background: rgb(var(--white-rgb) / .92); color: var(--cocoa); display: grid; place-items: center; cursor: pointer; }
.video-toggle svg { width: 14px; height: 14px; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }
.hero-roof { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(34px, 6vw, 92px); color: var(--milk); z-index: 1; display: block; }
@media (max-width: 760px) {
  .hero--film { align-items: end; min-height: 640px; }
  .hero-video { object-position: 50% 30%; }
  .hero-shade { background: linear-gradient(0deg, rgb(var(--cocoa-rgb) / .92) 0%, rgb(var(--cocoa-rgb) / .78) 50%, rgb(var(--cocoa-rgb) / .3) 80%, rgb(var(--cocoa-rgb) / .1) 100%); }
  .hero-inner { padding-block: 200px 120px; }
  .hero-controls-wrap { bottom: auto; top: 16px; }
}

/* ---------- finder ---------- */
.finder { position: relative; }
.finder-panel { background: var(--white); border-radius: clamp(24px, 4vw, 36px); padding: clamp(18px, 4vw, 56px); box-shadow: var(--shadow-warm); position: relative; overflow: hidden; }
.finder-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: 32px; }
.finder-head h2 { font-size: var(--step-3); max-width: 22ch; }
.finder-head p { margin: 0; color: var(--dune); max-width: 40ch; }
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .who-grid { grid-template-columns: repeat(5, 1fr); } }
.who {
  position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center;
  padding: 18px 12px 20px; border-radius: 22px; background: var(--milk); border: 1.5px solid var(--line);
  cursor: pointer; transition: background-color .3s ease, border-color .3s ease, transform .4s var(--ease-spring);
}
.who:hover { border-color: var(--apricot); }
.who[aria-pressed="true"] { background: var(--ember-ink); border-color: var(--ember-ink); color: var(--white); transform: translateY(-4px); }
.who svg { width: 100%; max-width: 132px; height: 84px; color: var(--ember); margin-bottom: 6px; overflow: visible; }
.who[aria-pressed="true"] svg { color: var(--white); }
.who strong { font-weight: 700; font-size: 1.02rem; }
.who span { font-size: .85rem; color: var(--dune); }
.who[aria-pressed="true"] span { color: rgb(var(--white-rgb) / .9); }
.who-grid.has-choice .who:not([aria-pressed="true"]) { opacity: .62; }
.who-grid.has-choice .who:not([aria-pressed="true"]):hover { opacity: 1; }
@media (max-width: 719px) { .who:last-child { grid-column: 1 / -1; } }

/* figures that cheer */
.who .fig .arm { transition: transform .55s var(--ease-spring); }
.who .fig .arm-l { transform: rotate(-98deg); }
.who .fig .arm-r { transform: rotate(98deg); }
.who:hover .fig .arm, .who[aria-pressed="true"] .fig .arm { transform: rotate(0deg); }
.who:hover .fig, .who[aria-pressed="true"] .fig { animation: hop .6s var(--ease-spring); }
.who .fig:nth-child(2) { animation-delay: .06s; }
.who .fig:nth-child(3) { animation-delay: .12s; }
@keyframes hop { 0% { transform: translateY(0); } 40% { transform: translateY(-5px); } 100% { transform: translateY(0); } }

.finder-step { margin-top: 30px; padding-top: 30px; border-top: 1px dashed var(--line-strong); }
.finder-step[hidden] { display: none; }
.finder-step h3 { font-size: var(--step-2); margin-bottom: 16px; }
.concern-list { display: flex; flex-wrap: wrap; gap: 10px; }
.concern { padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--white); cursor: pointer; font-weight: 600; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.concern:hover { border-color: var(--cocoa); }
.concern[aria-pressed="true"] { background: var(--cocoa); border-color: var(--cocoa); color: var(--milk); }
.finder-result { margin-top: 30px; display: grid; gap: 22px; grid-template-columns: 1fr; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-panel); background: var(--blush); }
.finder-result[hidden] { display: none; }
@media (min-width: 860px) { .finder-result { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.finder-result.is-in { animation: result-in .55s var(--ease-soft); }
@keyframes result-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.finder-result h3 { font-size: var(--step-2); margin-bottom: 12px; }
.rec-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.rec-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--white); text-decoration: none; color: var(--cocoa); font-weight: 650; transition: transform .3s var(--ease-spring), box-shadow .3s ease; }
.rec-list a:hover { transform: translateX(4px); box-shadow: var(--shadow-soft); color: var(--cocoa); }
.rec-list a svg { width: 18px; height: 18px; color: var(--ember-ink); flex: none; }
.finder-note { font-size: .88rem; color: var(--dune); margin: 0; }
.match { display: flex; gap: 18px; align-items: center; }
.match .house-img { width: 108px; flex: none; }
.match p { margin: 0 0 4px; font-size: .9rem; color: var(--dune); }
.match strong { display: block; font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 480; font-size: 1.45rem; line-height: 1.15; }
.match .role { font-size: .9rem; color: var(--cocoa-2); margin: 4px 0 12px; }
.finder-restart { background: none; border: 0; padding: 0; color: var(--cocoa); font-weight: 650; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }

/* ---------- intro ---------- */
.intro-media { position: relative; }
.intro-media .house-img { aspect-ratio: 5 / 5.4; }
.intro-media .tag { position: absolute; right: -6px; bottom: 9%; background: var(--white); border-radius: 999px; padding: 12px 18px 12px 14px; display: flex; gap: 10px; align-items: center; font-weight: 650; font-size: .92rem; box-shadow: var(--shadow-warm); }
.intro-media .tag img { width: 30px; }
.facts { list-style: none; margin: 30px 0 30px; padding: 0; display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 620px) { .facts { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.facts li { padding: 18px 0; border-top: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 500; font-size: 1.22rem; margin-bottom: 4px; }
.facts span { color: var(--dune); font-size: .97rem; }

/* ---------- service list ---------- */
.svc-layout { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .svc-layout { grid-template-columns: .8fr 1.2fr; gap: 72px; } .svc-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.svc-group + .svc-group { margin-top: 48px; }
.svc-group h3 { font-family: var(--f-body); font-size: 1rem; font-weight: 700; color: var(--ember-ink); margin-bottom: 8px; letter-spacing: 0; }
.svc-group > p { color: var(--dune); margin-bottom: 14px; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 22px 4px; text-decoration: none; color: var(--cocoa); align-items: center; }
.svc-list .svc-name { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 420; line-height: 1.15; transition: color .25s ease; }
.svc-list .svc-short { grid-column: 1; color: var(--dune); font-size: .98rem; }
.svc-list .svc-go { grid-column: 2; grid-row: 1 / span 2; width: 46px; height: 46px; border-radius: 999px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background-color .3s ease, border-color .3s ease, transform .4s var(--ease-spring); }
.svc-list .svc-go svg { width: 18px; height: 18px; }
.svc-list a:hover .svc-name { color: var(--ember-ink); }
.svc-list a:hover .svc-go { background: var(--ember-ink); border-color: var(--ember-ink); color: var(--white); transform: rotate(-45deg); }

/* ---------- breathe ---------- */
.breathe { text-align: center; }
.breathe .section-head { margin-inline: auto; justify-items: center; }
.breathe .section-head p { margin-inline: auto; }
.breathe-stage { position: relative; width: min(340px, 74vw); aspect-ratio: 1; margin: 0 auto 8px; display: grid; place-items: center; }
.breathe-house { width: 100%; height: 100%; transform: scale(.7); transition: transform 4s cubic-bezier(.45, 0, .55, 1); }
.breathe-house .bh-back { fill: var(--apricot); opacity: .35; }
.breathe-house .bh-front { fill: var(--ember); }
.breathe-house { color: var(--white); }
.breathe-readout { display: flex; justify-content: center; align-items: baseline; gap: 14px; min-height: 3rem; margin-bottom: 22px; }
.breathe-label { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: var(--step-3); color: var(--cocoa); }
.breathe-count { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: var(--step-3); color: var(--ember); min-width: 1ch; }
.breathe-stage.is-in .breathe-house { transform: scale(1); transition-duration: 4s; }
.breathe-stage.is-hold .breathe-house { transform: scale(1); }
.breathe-stage.is-out .breathe-house { transform: scale(.7); transition-duration: 6s; }

/* ---------- team preview ---------- */
.team-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
@media (min-width: 1100px) { .team-row { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }
.person { scroll-snap-align: start; text-decoration: none; color: var(--cocoa); display: grid; gap: 14px; align-content: start; }
.person .house-img { transition: transform .5s var(--ease-spring); }
.person .house-img img { transition: transform .8s var(--ease-soft); }
.person:hover .house-img img { transform: scale(1.05); }
.person h3 { font-size: 1.32rem; }
.person p { margin: 0; font-size: .93rem; color: var(--dune); line-height: 1.45; }
.person .creds { font-family: var(--f-body); font-size: .85rem; font-weight: 700; color: var(--ember-ink); margin-left: 4px; letter-spacing: .02em; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; padding-top: 22px; border-top: 2px solid var(--cocoa); position: relative; }
.steps li::before { content: counter(step); display: block; font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: 3.4rem; line-height: 1; color: var(--ember); margin-bottom: 14px; font-weight: 380; }
.steps h3 { font-size: 1.35rem; margin-bottom: 8px; }
.steps p { color: var(--dune); margin: 0; font-size: .98rem; }

/* ---------- areas ---------- */
.city-cloud { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 26px 0 30px; padding: 0; list-style: none; }
.city-cloud a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); color: var(--cocoa); text-decoration: none; font-weight: 650; transition: border-color .25s ease, background-color .25s ease, color .25s ease; }
.city-cloud a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--apricot); }
.city-cloud a:hover { border-color: var(--ember-ink); background: var(--ember-ink); color: var(--white); }
.city-cloud a:hover::before { background: var(--white); }
.city-cloud .is-home::before { background: var(--ember-ink); }
.map-frame { border-radius: var(--radius-panel); overflow: hidden; background: var(--blush); aspect-ratio: 4 / 3.2; box-shadow: var(--shadow-warm); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75) sepia(.12) contrast(1.02); }
.map-frame--wide { aspect-ratio: 16 / 7; }
@media (max-width: 700px) { .map-frame--wide { aspect-ratio: 4 / 3.6; } }

/* ---------- event band ---------- */
.event-band { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; background: var(--cocoa); color: var(--milk); border-radius: 36px; padding: clamp(24px, 4vw, 48px); overflow: hidden; position: relative; }
@media (min-width: 820px) { .event-band { grid-template-columns: 220px 1fr; gap: 44px; } }
.event-band img { width: 100%; max-width: 260px; border-radius: 18px; transform: rotate(-3deg); box-shadow: 0 24px 50px -20px rgb(var(--cocoa-rgb) / .6); }
.event-band h2 { color: var(--milk); font-size: var(--step-4); margin: 10px 0 12px; }
.event-band p { color: rgb(var(--milk-rgb) / .82); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--ember-ink); color: var(--white); font-weight: 700; font-size: .85rem; }
.event-band .btn--ghost { --fg: var(--milk); --bd: rgb(var(--milk-rgb) / .4); }
.event-band .btn--ghost:hover { --bg: var(--milk); --fg: var(--cocoa); --bd: var(--milk); color: var(--cocoa); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 2px; font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); font-weight: 450; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 38px; height: 38px; border-radius: 999px; border: 1.5px solid var(--line-strong); position: relative; transition: transform .35s var(--ease-spring), background-color .25s ease, border-color .25s ease; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--cocoa); translate: -50% -50%; border-radius: 2px; }
.faq summary .plus::after { rotate: 90deg; transition: rotate .3s ease; }
.faq details[open] summary .plus { background: var(--ember-ink); border-color: var(--ember-ink); }
.faq details[open] summary .plus::before, .faq details[open] summary .plus::after { background: var(--white); }
.faq details[open] summary .plus::after { rotate: 0deg; }
.faq .faq-a { padding: 0 2px 24px; color: var(--cocoa-2); max-width: 70ch; }
.faq .faq-a p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ember-ink); color: var(--white); border-radius: 40px; padding: clamp(40px, 6vw, 88px) clamp(26px, 5vw, 80px); position: relative; overflow: hidden; display: grid; gap: 28px; }
.cta-band h2 { color: var(--white); font-size: var(--step-4); max-width: 18ch; position: relative; z-index: 1; }
.cta-band p { color: rgb(var(--white-rgb) / .92); font-size: var(--step-1); max-width: 46ch; margin: 0; position: relative; z-index: 1; }
.cta-band .btn-row { position: relative; z-index: 1; }
.cta-band .btn--ghost { --fg: var(--white); --bd: rgb(var(--white-rgb) / .6); }
.cta-band .btn--ghost:hover { --bg: var(--white); --fg: var(--cocoa); --bd: var(--white); color: var(--cocoa); }
.cta-band .cta-house { position: absolute; right: -40px; bottom: -60px; width: min(440px, 60%); color: rgb(var(--white-rgb) / .13); pointer-events: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--cocoa); color: rgb(var(--milk-rgb) / .8); padding-block: clamp(56px, 7vw, 96px) 32px; margin-top: clamp(24px, 3vw, 48px); font-size: .96rem; }
.site-footer a { color: var(--milk); text-decoration: none; }
.site-footer a:hover { color: var(--apricot); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.footer-brand img { width: 64px; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-brand .footer-name { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: 1.4rem; color: var(--milk); line-height: 1.15; margin-bottom: 10px; }
.site-footer h2 { font-family: var(--f-body); font-size: .95rem; font-weight: 700; color: var(--apricot); margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-crisis { margin-top: 48px; padding: 18px 22px; border-radius: 18px; background: rgb(var(--milk-rgb) / .07); color: rgb(var(--milk-rgb) / .9); font-size: .93rem; }
.footer-crisis p { margin: 0; max-width: none; }
.footer-crisis a { text-decoration: underline; color: var(--white); }
.footer-bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgb(var(--milk-rgb) / .14); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: .86rem; color: rgb(var(--milk-rgb) / .6); }
.footer-bottom p { margin: 0; max-width: none; }

/* ---------- inner pages ---------- */
.page-hero { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.page-hero-grid { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 1.15fr .85fr; } .page-hero-grid--text { grid-template-columns: 1fr; } }
.page-hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5rem); margin-bottom: 22px; }
.page-hero .house-img { max-width: 460px; justify-self: end; width: 100%; }
.crumbs { font-size: .88rem; color: var(--dune); margin-bottom: 26px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--dune); text-decoration: none; }
.crumbs a:hover { color: var(--ember-ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--cocoa); font-weight: 600; }
.meta-row { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 26px 0 30px; padding: 0; }
.meta-row div { display: grid; gap: 2px; }
.meta-row dt { font-size: .85rem; color: var(--dune); }
.meta-row dd { margin: 0; font-weight: 650; }

.content-grid { display: grid; gap: clamp(40px, 6vw, 88px); grid-template-columns: 1fr; }
@media (min-width: 980px) { .content-grid { grid-template-columns: minmax(0, 1fr) 360px; } }
.prose h2 { font-size: var(--step-3); margin: 56px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.08rem; }
.house-list { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 12px; }
.house-list li { position: relative; padding-left: 32px; max-width: 64ch; }
.house-list li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 16px; height: 15px; background: var(--ember); clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%); }
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { padding: 8px 16px; border-radius: 999px; background: var(--blush); font-weight: 600; font-size: .93rem; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); box-shadow: var(--shadow-warm); border-radius: var(--radius-panel); padding: 30px; display: grid; gap: 18px; align-self: start; }
.aside-card h2 { font-size: 1.7rem; }
.aside-card p { margin: 0; color: var(--cocoa-2); font-size: .98rem; }
.aside-card .btn { width: 100%; padding-inline: 16px; font-size: .95rem; }
.aside-card dl { margin: 6px 0 0; display: grid; gap: 14px; border-top: 1px solid var(--line-strong); padding-top: 18px; font-size: .95rem; }
.aside-card dt { font-weight: 700; font-size: .85rem; color: var(--dune); }
.aside-card dd { margin: 2px 0 0; }
.aside-card dd a { color: var(--cocoa); font-weight: 650; }
.clinician-mini { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.clinician-mini a { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 20px; border: 1.5px solid var(--line); text-decoration: none; color: var(--cocoa); transition: border-color .25s ease, background-color .25s ease; }
.clinician-mini a:hover { border-color: var(--apricot); background: var(--white); }
.clinician-mini .house-img { width: 64px; flex: none; }
.clinician-mini strong { display: block; font-weight: 700; }
.clinician-mini span { font-size: .86rem; color: var(--dune); line-height: 1.35; display: block; }
.related { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { display: grid; gap: 8px; padding: 26px; border-radius: var(--radius-panel); background: var(--white); text-decoration: none; color: var(--cocoa); border: 1.5px solid var(--line); transition: border-color .25s ease, transform .4s var(--ease-spring); }
.related a:hover { border-color: var(--ember); transform: translateY(-3px); color: var(--cocoa); }
.related strong { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 450; font-size: 1.4rem; line-height: 1.2; }
.related span { color: var(--dune); font-size: .95rem; }

/* values */
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .values { grid-template-columns: 1fr 1fr; } }
.values li { padding: 30px 30px 30px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .values li:nth-child(odd) { border-right: 1px solid var(--line); } .values li:nth-child(even) { padding-left: 30px; } }
.values h3 { margin-bottom: 10px; }
.values p { margin: 0; color: var(--dune); }

/* quote */
.pull-quote { margin: 0 0 40px; padding: 0; font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); font-weight: 400; line-height: 1.3; color: var(--cocoa); position: relative; max-width: 34ch; }
.prose .pull-quote p { font-size: inherit; line-height: inherit; max-width: none; }
.pull-quote::before { content: "\201C"; display: block; font-size: 4.4rem; line-height: .7; color: var(--ember); margin-bottom: 8px; }

/* team hub */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 36px; }
.filters .filters-label { font-weight: 650; margin-right: 8px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; cursor: pointer; font-weight: 600; font-size: .93rem; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.chip:hover { border-color: var(--cocoa); }
.chip[aria-pressed="true"] { background: var(--cocoa); color: var(--milk); border-color: var(--cocoa); }
.team-grid { display: grid; gap: 40px 24px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.team-card { display: grid; gap: 14px; text-decoration: none; color: var(--cocoa); align-content: start; }
.team-card[hidden] { display: none; }
.team-card .house-img img { transition: transform .8s var(--ease-soft); }
.team-card:hover .house-img img { transform: scale(1.05); }
/* staff grid: plain vertical rectangles instead of the house frame (profile pages and the menu keep the house) */
.team-card .house-img.house { clip-path: none; -webkit-clip-path: none; border-radius: var(--radius-small); }
.team-card h2 { font-size: 1.55rem; }
.team-card .role { font-size: .93rem; color: var(--cocoa-2); margin: 0; font-weight: 550; }
.team-card .short { font-size: .93rem; color: var(--dune); margin: 0; }
.team-empty { color: var(--dune); }

/* profile */
.profile-hero { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .profile-hero { grid-template-columns: .8fr 1.2fr; } }
.profile-hero .house-img { max-width: 440px; width: 100%; }
.profile-hero .role { font-size: var(--step-1); color: var(--cocoa-2); margin: 14px 0 0; }
.profile-hero h1 .creds { font-family: var(--f-body); font-size: .32em; font-weight: 700; color: var(--ember-ink); letter-spacing: .02em; vertical-align: middle; margin-left: 10px; }
.detail-grid { display: grid; gap: 34px 48px; grid-template-columns: 1fr; margin-top: 44px; }
@media (min-width: 760px) { .detail-grid { grid-template-columns: 1fr 1fr; } }
.detail-grid h2 { font-family: var(--f-body); font-size: 1rem; font-weight: 700; color: var(--ember-ink); margin: 0 0 12px; letter-spacing: 0; }
.detail-grid ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }

/* contact */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1fr; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.15fr .85fr; } }
.form-panel { background: var(--white); border-radius: 32px; padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-warm); }
.form-panel h2 { font-size: var(--step-3); margin-bottom: 10px; }
.form-note { font-size: .92rem; color: var(--dune); margin-bottom: 26px; }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-weight: 650; font-size: .93rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--cocoa); background: var(--milk);
  border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 14px 16px; min-height: 52px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember-ink); background: var(--white); box-shadow: 0 0 0 4px rgb(var(--ember-rgb) / .16); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233A2219' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { position: relative; cursor: pointer; }
.radio-row input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-row span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 600; font-size: .92rem; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.radio-row input:checked + span { background: var(--cocoa); color: var(--milk); border-color: var(--cocoa); }
.radio-row input:focus-visible + span { outline: 3px solid var(--ember-ink); outline-offset: 2px; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 14px; font-weight: 600; font-size: .95rem; }
.form-status[hidden] { display: none; }
.form-status.is-ok { background: var(--ok-bg); color: var(--ok-fg); }
.form-status.is-err { background: var(--err-bg); color: var(--err-fg); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 0; }
.contact-list li { padding: 20px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.contact-list .k { font-size: .86rem; color: var(--dune); font-weight: 650; }
.contact-list .v { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: 1.45rem; font-weight: 450; line-height: 1.25; }
.contact-list .v a { color: var(--cocoa); text-decoration: none; }
.contact-list .v a:hover { color: var(--ember-ink); }
.contact-list .v small { display: block; font-family: var(--f-body); font-size: .95rem; color: var(--cocoa-2); }
.crisis-note { padding: 18px 20px; border-radius: 18px; background: var(--blush); font-size: .93rem; color: var(--cocoa-2); }
.crisis-note p { margin: 0; }

/* areas hub */
.area-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .area-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
.area-card { display: grid; gap: 10px; padding: 30px; border-radius: var(--radius-panel); background: var(--white); border: 1.5px solid var(--line); text-decoration: none; color: var(--cocoa); transition: border-color .3s ease, transform .4s var(--ease-spring); position: relative; overflow: hidden; }
.area-card:hover { border-color: var(--ember); transform: translateY(-3px); color: var(--cocoa); }
.area-card strong { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: 2rem; font-weight: 420; line-height: 1.1; }
.area-card span { color: var(--dune); font-size: .95rem; }
.area-card .drive-time { color: var(--ember-ink); font-weight: 700; font-size: .88rem; }
.plain-cloud { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.plain-cloud li { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .93rem; background: var(--white); }

/* ---------- event modal ---------- */
.event-modal { width: min(920px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 32px; background: var(--white); color: var(--cocoa); box-shadow: 0 40px 120px -30px rgb(var(--cocoa-rgb) / .55); overflow: hidden; }
.event-modal::backdrop { background: rgb(var(--cocoa-rgb) / .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.event-modal[open] { animation: modal-in .7s var(--ease-soft); }
.event-modal[open]::backdrop { animation: backdrop-in .6s ease; }
.event-modal.is-closing { animation: modal-out .35s ease forwards; }
.event-modal.is-closing::backdrop { animation: backdrop-out .35s ease forwards; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes modal-out { to { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes backdrop-out { to { opacity: 0; } }
.event-modal-grid { display: grid; grid-template-columns: 1fr; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 760px) { .event-modal-grid { grid-template-columns: .9fr 1.1fr; } }
.event-flyer { background: var(--blush); position: relative; }
.event-flyer img { width: 100%; height: 100%; object-fit: cover; object-position: top; max-height: 260px; }
@media (min-width: 760px) { .event-flyer { background: var(--milk); display: flex; align-items: center; } .event-flyer img { max-height: none; height: auto; object-fit: contain; } }
.event-body { padding: clamp(24px, 4vw, 44px); display: grid; gap: 16px; align-content: start; justify-items: start; }
.event-body > * { max-width: 100%; }
main h1[tabindex="-1"]:focus { outline: none; }
.event-body h2 { font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); }
.event-body .event-sub { margin: -6px 0 0; color: var(--dune); font-weight: 550; }
.event-body p { margin: 0; color: var(--cocoa-2); }
.event-facts { margin: 4px 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.event-facts li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.event-facts svg { width: 22px; height: 22px; color: var(--ember-ink); margin-top: 2px; }
.event-facts strong { display: block; }
.event-facts span { color: var(--dune); font-size: .95rem; }
.event-leaders { font-size: .92rem; color: var(--dune); }
.event-leaders strong { color: var(--cocoa); font-weight: 650; }
.event-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: .95rem; }
.event-links button, .event-links a { background: none; border: 0; padding: 0; cursor: pointer; color: var(--cocoa); font-weight: 650; text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: 5px; }
.event-modal-grid:focus { outline: none; }
.event-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgb(var(--white-rgb) / .94); color: var(--cocoa); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgb(var(--cocoa-rgb) / .18); }
.event-close svg { width: 16px; height: 16px; }
.event-pill { visibility: hidden; position: fixed; left: calc(16px + var(--safe-l)); bottom: calc(16px + var(--safe-b)); max-width: calc(100vw - 32px); z-index: 800; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--cocoa); color: var(--milk); border: 0; cursor: pointer; font-weight: 650; font-size: .92rem; box-shadow: 0 16px 36px -14px rgb(var(--cocoa-rgb) / .6); transform: translateY(140%); transition: transform .6s var(--ease-spring); }
.event-pill.is-shown { transform: none; visibility: visible; }
.event-pill img { width: 30px; height: 30px; border-radius: 999px; object-fit: cover; object-position: top; }
.event-pill:hover { background: var(--ember-ink); }

/* ---------- 404 ---------- */
.nf { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.nf img { width: 160px; margin: 0 auto 30px; opacity: .9; }
.nf p { margin-inline: auto; }


/* ---------- articles (Resources) ---------- */
.article-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.article-card { display: grid; align-content: start; border-radius: var(--radius-panel); background: var(--white); border: 1.5px solid var(--line); color: var(--cocoa); text-decoration: none; overflow: hidden; transition: border-color .25s ease, transform .4s var(--ease-spring); }
.article-card[hidden] { display: none; }
.article-card-img { aspect-ratio: 16 / 10; background: var(--apricot-soft); overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft); }
.article-card:hover .article-card-img img { transform: scale(1.04); }
.article-card-body { display: grid; gap: 10px; padding: 24px 26px 28px; }
.article-card:hover { border-color: var(--ember-ink); transform: translateY(-3px); color: var(--cocoa); }
.article-card strong { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 450; font-size: 1.45rem; line-height: 1.2; text-wrap: balance; }
.article-card-meta { font-size: .86rem; color: var(--dune); font-weight: 600; }
.article-card-summary { color: var(--cocoa-2); font-size: .97rem; }
.article-card .text-link { justify-self: start; margin-top: 4px; }
.draft-banner { background: var(--cocoa); color: var(--milk); text-align: center; font-weight: 650; font-size: .92rem; padding: 12px max(var(--gutter), var(--safe-r)) 12px max(var(--gutter), var(--safe-l)); }
.article-body h2 { scroll-margin-top: calc(var(--header-h) + 20px); }
.article-body h3 { font-size: 1.3rem; margin: 30px 0 10px; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; }
.num-list { margin: 0 0 1em; padding-left: 1.4em; display: grid; gap: 10px; max-width: 64ch; }
.num-list li::marker { color: var(--ember-ink); font-weight: 700; }
.cite { font-size: .72em; line-height: 0; margin-left: 2px; white-space: nowrap; }
.cite a { color: var(--ember-ink); text-decoration: none; font-weight: 700; }
.cite a:hover { text-decoration: underline; }
.callout { margin: 26px 0; padding: 20px 22px; border-radius: 18px; background: var(--white); border-left: 4px solid var(--ember); }
.callout p { margin: 0; font-weight: 550; color: var(--cocoa); }
.article-crisis { margin: 40px 0 20px; background: var(--white); }
.article-crisis h2 { font-size: 1.3rem; margin: 0 0 8px; }
.review-box { margin: 20px 0 10px; padding: 20px 22px; border-radius: 18px; border: 1.5px solid var(--line-strong); }
.review-box p { margin: 0; font-size: .95rem; color: var(--cocoa-2); }
.review-box .review-box-who { font-weight: 700; color: var(--cocoa); margin-bottom: 6px; }
.ref-list { margin: 0; padding-left: 1.4em; display: grid; gap: 10px; font-size: .93rem; color: var(--cocoa-2); max-width: 72ch; overflow-wrap: anywhere; }
.ref-list li { scroll-margin-top: calc(var(--header-h) + 20px); }
.ref-list li:target { background: var(--white); border-radius: 8px; outline: 2px solid var(--apricot); outline-offset: 4px; }
.article-aside { display: grid; gap: 18px; align-content: start; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.article-aside .aside-card { position: static; }
.toc { padding: 24px; border-radius: var(--radius-panel); background: var(--white); }
.toc-h { font-weight: 700; color: var(--ember-ink); margin: 0 0 10px; font-size: .95rem; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: .95rem; }
.toc a { color: var(--cocoa); text-decoration: none; }
.toc a:hover { color: var(--ember-ink); text-decoration: underline; }
.toc-mobile { display: none; margin-bottom: 28px; }
.toc-mobile summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; margin: 0; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary::after { content: "+"; font-size: 1.3rem; line-height: 1; }
.toc-mobile[open] summary::after { content: "–"; }
.toc-mobile ol { margin-top: 12px; }
@media (max-width: 979px) { .article-aside { position: static; } .article-aside .toc { display: none; } .toc-mobile { display: block; } }
@media (max-width: 600px) { .crumbs li:last-child:not(:first-child) { display: none; } }

/* ---------- menus: activities (one column) and staff (people with photos) ---------- */
.nav-menu--one { width: min(340px, 80vw); grid-template-columns: 1fr; }
.nav-menu--people { width: min(720px, 86vw); grid-template-columns: repeat(3, 1fr); }
.nav-menu a.nav-person { display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
.nav-person .house-img { width: 44px; flex: none; }
.nav-person .nav-person-text { display: block; margin: 0; min-width: 0; }
.nav-menu a.nav-person strong { font-size: .93rem; line-height: 1.25; }
.nav-menu a.nav-person .nav-person-text span { font-size: .8rem; margin-top: 1px; }
@media (min-width: 1200px) and (max-width: 1379px) { .nav-menu--people { width: min(640px, 80vw); grid-template-columns: repeat(2, 1fr); } }

/* ---------- homepage news cards / activity cards ---------- */
.news-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.news-card { display: grid; align-content: start; border-radius: var(--radius-panel); background: var(--white); border: 1.5px solid var(--line); overflow: hidden; color: var(--cocoa); text-decoration: none; transition: border-color .25s ease, transform .4s var(--ease-spring), box-shadow .3s ease; }
.news-card:hover { border-color: var(--ember); transform: translateY(-4px); box-shadow: var(--shadow-warm); color: var(--cocoa); }
.news-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--apricot-soft); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft); }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card > div:last-child { display: grid; gap: 10px; padding: 24px 26px 28px; }
.news-card h2, .news-card h3 { font-size: 1.6rem; }
.news-card p { margin: 0; color: var(--cocoa-2); font-size: .98rem; }
.news-card .text-link { justify-self: start; margin-top: 4px; }
.section--blush .news-card { border-color: transparent; }

/* staff rows with nine people */
@media (min-width: 1100px) { .team-row--nine { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } .team-row--four { grid-template-columns: repeat(4, 1fr); } }
.team-row--four { grid-auto-columns: minmax(190px, 1fr); }

/* ---------- testimonials ---------- */
.testimonial-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); align-items: start; }
.testimonial { margin: 0; padding: 32px 30px 28px; border-radius: var(--radius-panel); background: var(--white); display: grid; gap: 14px; position: relative; }
.testimonial::before { content: "\201C"; font-family: var(--f-display); font-size: 4.2rem; line-height: .6; color: var(--ember); display: block; height: 28px; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { margin: 0; font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-size: 1.3rem; line-height: 1.35; color: var(--cocoa); }
.testimonial details { color: var(--cocoa-2); font-size: .97rem; }
.testimonial details p { margin: 0 0 .8em; }
.testimonial summary { list-style: none; cursor: pointer; font-weight: 650; color: var(--cocoa); text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 2px; text-underline-offset: 5px; margin-bottom: 10px; display: inline-block; }
.testimonial summary::-webkit-details-marker { display: none; }
.testimonial .t-less, .testimonial details[open] .t-more { display: none; }
.testimonial details[open] .t-less { display: inline; }
.testimonial details[open] summary { order: 2; }
.testimonial figcaption { font-weight: 700; color: var(--ember-ink); font-size: .95rem; }

/* ---------- insurance logos ---------- */
.logo-strip { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 150px), 1fr)); }
.logo-strip li { background: var(--white); border: 1.5px solid var(--line); border-radius: 18px; display: grid; place-items: center; padding: 10px; }
.logo-strip img { width: 100%; max-width: 180px; height: auto; }

/* values in two or three columns */
@media (min-width: 900px) {
  .values--three { grid-template-columns: repeat(3, 1fr); }
  .values--three li { padding-left: 30px; border-right: 1px solid var(--line); }
  .values--three li:first-child { padding-left: 0; }
  .values--three li:last-child { border-right: 0; }
  .values--three li:nth-child(even) { padding-left: 30px; }
}
.values--two li { padding-top: 0; }
.values-h { font-size: var(--step-3); margin-bottom: 12px; }
.section--blush .values { border-top-color: var(--line-strong); }

/* ---------- videos (load YouTube only when someone presses play) ---------- */
.yt-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.yt { display: grid; gap: 10px; }
.yt-link, .yt iframe { position: relative; display: block; aspect-ratio: 16 / 9; width: 100%; border-radius: 20px; overflow: hidden; background: var(--cocoa); border: 0; }
.yt-link img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .3s ease, transform .6s var(--ease-soft); }
.yt-link:hover img { opacity: 1; transform: scale(1.03); }
.yt-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 64px; height: 64px; border-radius: 999px; background: var(--ember-ink); color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgb(var(--cocoa-rgb) / .6); transition: transform .35s var(--ease-spring); }
.yt-play svg { width: 22px; height: 22px; margin-left: 3px; }
.yt-link:hover .yt-play { transform: scale(1.08); }
.yt-title { margin: 0; font-weight: 650; font-size: .95rem; }

/* ---------- posters and flyers ---------- */
.poster-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); align-items: start; }
.poster { margin: 0; display: grid; gap: 12px; }
.poster-img { border-radius: 20px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-soft); }
.poster-img img { width: 100%; height: auto; }
.poster figcaption { font-size: .95rem; color: var(--cocoa-2); display: grid; gap: 2px; }
.poster figcaption strong { color: var(--cocoa); font-weight: 650; font-size: 1rem; }
.event-band--page { grid-template-columns: 1fr; }
@media (min-width: 820px) { .event-band--page { grid-template-columns: 260px 1fr; } }
.event-band-h { color: var(--milk); font-size: var(--step-4); margin: 10px 0 12px; }
.event-facts--light span { color: rgb(var(--milk-rgb) / .78); }
.event-facts--light svg { color: var(--apricot); }
.event-band .event-leaders { color: rgb(var(--milk-rgb) / .78); }
.event-band .event-leaders strong { color: var(--milk); }
.event-band .event-facts { margin: 16px 0; }

/* ---------- gallery + lightbox ---------- */
.gallery { list-style: none; margin: 0; padding: 0; columns: 2 160px; column-gap: 14px; }
@media (min-width: 760px) { .gallery { columns: 3 220px; } }
@media (min-width: 1100px) { .gallery { columns: 4 220px; } }
.gallery li { break-inside: avoid; margin-bottom: 14px; }
.g-item { display: block; border-radius: 18px; overflow: hidden; background: var(--apricot-soft); }
.g-item img { width: 100%; height: auto; transition: transform .7s var(--ease-soft); }
.g-item:hover img { transform: scale(1.04); }
.gallery--post { columns: 2 180px; margin-bottom: 20px; }
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(var(--cocoa-rgb) / .94); color: var(--white); }
.lightbox::backdrop { background: rgb(var(--cocoa-rgb) / .6); }
.lightbox[open] { display: grid; place-items: center; animation: backdrop-in .3s ease; }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 140px); width: auto; height: auto; border-radius: 12px; }
.lightbox p { margin: 14px auto 0; text-align: center; max-width: 60ch; padding-inline: 16px; color: rgb(var(--white-rgb) / .9); font-size: .95rem; }
.lb-btn { position: fixed; width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgb(var(--white-rgb) / .94); color: var(--cocoa); display: grid; place-items: center; cursor: pointer; }
.lb-btn svg { width: 18px; height: 18px; }
.lb-close { top: calc(14px + env(safe-area-inset-top, 0px)); right: calc(14px + var(--safe-r)); }
.lb-prev, .lb-next { top: 50%; translate: 0 -50%; }
.lb-prev { left: calc(12px + var(--safe-l)); }
.lb-next { right: calc(12px + var(--safe-r)); }
.lb-prev svg { transform: rotate(180deg); }

/* ---------- workshop and course cards ---------- */
.card-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); margin: 10px 0 30px; }
.card-grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.w-card { display: grid; align-content: start; border-radius: 24px; background: var(--white); overflow: hidden; }
.w-card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--apricot-soft); }
.w-card-img--wide { aspect-ratio: 16 / 9; }
.w-card-img img { width: 100%; height: 100%; object-fit: cover; }
.w-card-blank { display: grid; place-items: center; background: var(--blush); }
.w-card-house { width: 72px; color: var(--apricot); }
.w-card > div:last-child { padding: 20px 22px 24px; display: grid; gap: 8px; }
.prose .w-card h3 { font-size: 1.3rem; margin: 0; }
.prose .w-card p { margin: 0; font-size: .97rem; color: var(--cocoa-2); }
.w-card .text-link { justify-self: start; margin-top: 6px; font-size: .95rem; }
.prose h3 { font-size: 1.35rem; margin: 30px 0 10px; }

/* ---------- insurance page ---------- */
.packs { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.pack { padding: 30px; border-radius: var(--radius-panel); background: var(--white); border: 1.5px solid var(--line); display: grid; gap: 6px; }
.pack strong { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 420; font-size: 2.3rem; line-height: 1.05; color: var(--ember-ink); }
.pack span { color: var(--cocoa-2); }
.split--top { align-items: start; }
.test-list, .plan-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line-strong); }
.test-list li { padding: 16px 0; border-bottom: 1px solid var(--line-strong); display: grid; gap: 2px; }
.test-list strong { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 450; font-size: 1.35rem; }
.test-list span { color: var(--dune); font-size: .95rem; }
.plan-list { border-top-color: var(--line); }
.plan-list li { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.plan-list svg { width: 22px; height: 22px; color: var(--ember-ink); flex: none; }
.plan-list strong { font-weight: 700; font-size: 1.08rem; }
.in-net { font-style: normal; font-size: .82rem; font-weight: 700; color: var(--ok-fg); background: var(--ok-bg); padding: 3px 10px; border-radius: 999px; margin-left: 8px; white-space: nowrap; }
.tricare { padding: 18px 20px; border-radius: 18px; background: var(--err-bg); color: var(--err-fg); font-weight: 650; }

/* ---------- footer areas ---------- */
.footer-areas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; }
.footer-areas a { color: rgb(var(--milk-rgb) / .8); }
.footer-areas .footer-areas-hub { color: var(--apricot); font-weight: 700; }

/* ---------- small phones ---------- */
@media (max-width: 480px) {
  .hero .btn-row .btn, .page-hero .btn-row .btn, .cta-band .btn-row .btn, .event-body .btn-row .btn { width: 100%; }
  .aside-card { position: static; padding: 24px; }
  .cta-band { border-radius: 28px; }
  .event-band { border-radius: 28px; }
  .form-panel { border-radius: 24px; }
  .who { padding: 14px 8px 16px; }
  .who svg { height: 70px; }
}
@media (max-width: 979px) { .aside-card { position: static; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .breathe-house { transition-duration: 2s !important; }
}

/* very long words (e.g. psychoneuroimmunology) must wrap on small phones */
.prose, .lead, .article-card, .news-card, .w-card, .testimonial { overflow-wrap: break-word; }
@media (max-width: 480px) { .prose p, .prose li, .lead, .article-card-summary { hyphens: auto; } }
