/* =========================================================
   Veridale Psychiatric Nursing and Behavioral Health
   Plain CSS: tokens → base → layout → components → sections
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette. Wellness green is the dominant accent. */
  --navy:            #0C2E64;
  --teal:            #055A7E;
  --turquoise:       #099292;
  --wellness-green:  #2A8362; /* dominant accent */
  --healing-purple:  #483785;
  /* Darker shade of wellness green for text links and hover states,
     so link text stays above 4.5:1 on the tinted section backgrounds */
  --wellness-green-dark: #1F6B4F;
  /* Fixed brand shades for backgrounds: unlike --navy and --teal, these do not
     change in dark mode (where --navy and --teal are used as light text colours) */
  --c-navy: #0C2E64;
  --c-teal: #055A7E;

  /* Neutrals: a warm cream "paper" canvas with warm greys (editorial direction) */
  --bg: #FAF7F0;          /* page canvas */
  --surface: #FFFDF8;     /* raised surfaces, inputs */
  --tint: #F3EEE3;        /* cream bands and cards */
  --tint-2: #E9E2D4;      /* stronger cream */
  --ink: #0E1D33;         /* headings: deep brand navy */
  --ink-2: #413E38;       /* running text: warm charcoal */
  --ink-3: #6B675E;       /* muted text */
  --line: #E6DECF;        /* hairlines */
  --line-strong: #D5CAB6;
  --field-border: #857E70; /* form controls: 3.6:1 against the surface (WCAG 1.4.11) */

  --danger: #B42318;
  --danger-bg: #FEF3F2;
  --danger-line: #F5C2BD;
  --success: #1F6F52;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Satoshi", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-sm: 0.9375rem;
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  --fs-h3: clamp(1.125rem, 1.08rem + 0.25vw, 1.25rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.6vw, 3.375rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);

  /* Space & shape */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --section-y: clamp(4.5rem, 2.75rem + 7vw, 9rem);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  /* Shadows carry the warm hue of the canvas and stay rare */
  --shadow-sm: 0 1px 2px rgba(62, 46, 22, .06);
  --shadow: 0 1px 2px rgba(62, 46, 22, .05), 0 14px 34px -18px rgba(62, 46, 22, .22);
  --shadow-lg: 0 2px 6px rgba(62, 46, 22, .05), 0 30px 60px -28px rgba(62, 46, 22, .32);
  --focus: 0 0 0 3px var(--surface), 0 0 0 5px var(--turquoise);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
  text-wrap: balance;
}
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.005em; }
h4 { font-size: 1.0625rem; }
h2 em, h1 em { font-style: italic; color: var(--teal); }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 700; }

a { color: var(--wellness-green-dark); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
main:focus { outline: none; }

:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: .75rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--c-navy); color: #fff; font-weight: 700; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); color: #fff; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Preloader (home page) ---------- */
.preloader { display: none; }
.js .preloader {
  --pl-total: 5000ms;
  --pl-fill: 4300ms; /* ring completes just before the curtain lifts */
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  text-align: center; overflow: hidden; isolation: isolate;
  color: #fff;
  /* Starts navy, brightens to the site green, then settles on white (pl-sky) */
  background-color: #0A2754;
  clip-path: inset(0 0 0 0);
}
.js .preloader[hidden] { display: none !important; }

/* Drifting aurora light behind everything */
.preloader__aurora { position: absolute; inset: -20%; z-index: -2; filter: blur(60px); opacity: .9; }
.preloader__aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.preloader__aurora span:nth-child(1) { width: 46vmax; height: 46vmax; left: 8%; top: 12%; background: radial-gradient(circle, rgba(9,146,146,.55), transparent 65%); }
.preloader__aurora span:nth-child(2) { width: 40vmax; height: 40vmax; right: 6%; top: 30%; background: radial-gradient(circle, rgba(72,55,133,.6), transparent 65%); }
.preloader__aurora span:nth-child(3) { width: 36vmax; height: 36vmax; left: 30%; bottom: 4%; background: radial-gradient(circle, rgba(42,131,98,.5), transparent 65%); }
/* Fine film grain for depth */
.preloader__grain {
  position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Everything behind the preloader is hidden, unfocusable and unscrollable */
html.is-preloading { overflow: hidden; }
html.is-preloading body > :not(.preloader):not(script):not(.sprite) { visibility: hidden; }
/* Hold hero entrance animations and the slider progress until the page is revealed */
html.is-preloading .hero *, html.is-preloading .hero { animation-play-state: paused !important; }

.preloader__inner { display: grid; justify-items: center; gap: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); width: min(100%, 680px); }
.preloader__logo {
  position: relative; display: grid; place-items: center;
  width: clamp(150px, 120px + 8vw, 200px); aspect-ratio: 1;
}
/* Slow-turning light around the logo */
.preloader__halo {
  position: absolute; inset: -14%; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(127,214,207,.55) 70deg, transparent 150deg, rgba(166,217,191,.4) 230deg, transparent 320deg);
  filter: blur(18px); opacity: .8;
}
.preloader__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.preloader__track, .preloader__progress { fill: none; stroke-width: 2; }
.preloader__track { stroke: rgba(255,255,255,.1); }
.preloader__progress { stroke: url(#pl-grad); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(127,214,207,.7)); }
.preloader__logo picture {
  display: grid; place-items: center; width: 76%; aspect-ratio: 1; border-radius: 50%; background: #fff;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 8px rgba(255,255,255,.06), 0 0 60px rgba(127,214,207,.25);
}
.preloader__img { width: 80%; height: auto; }

.preloader__quote { margin: 0; color: #fff; }
.preloader__quote blockquote { margin: 0; }
.preloader__quote p {
  margin: 0 auto; max-width: 14em; font-family: var(--font-display); font-weight: 400; font-style: italic;
  font-size: clamp(1.45rem, 1.05rem + 2vw, 2.5rem); line-height: 1.2; letter-spacing: -0.01em;
  color: inherit; text-wrap: balance;
}
.preloader__quote p span { display: inline-block; }
.preloader__quote figcaption {
  display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.1rem;
  font-size: clamp(.72rem, .68rem + .25vw, .85rem); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: inherit; opacity: .78;
  white-space: nowrap;
}
.preloader__quote figcaption::before, .preloader__quote figcaption::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.preloader__quote figcaption::after { transform: scaleX(-1); }

/* The ring and the colour journey are synced to the time since navigation
   started (--pl-elapsed): navy -> website green -> white, with the text and ring
   switching to dark ink as the background turns light. */
.preloader.is-running .preloader__progress { animation: pl-fill var(--pl-fill) cubic-bezier(.45, 0, .2, 1) calc(var(--pl-elapsed, 0ms) * -1) forwards; }
.preloader.is-running,
.preloader.is-running .preloader__quote,
.preloader.is-running .preloader__track,
.preloader.is-running .preloader__aurora,
.preloader.is-running .preloader__grain,
.preloader.is-running #pl-grad stop {
  animation-duration: var(--pl-fill); animation-timing-function: ease-in-out;
  animation-delay: calc(var(--pl-elapsed, 0ms) * -1); animation-fill-mode: forwards;
}
.preloader.is-running { animation-name: pl-sky; }
.preloader.is-running .preloader__quote { animation-name: pl-ink; }
.preloader.is-running .preloader__track { animation-name: pl-track; }
.preloader.is-running .preloader__aurora { animation-name: pl-aurora-out; }
.preloader.is-running .preloader__grain { animation-name: pl-grain-out; }
.preloader.is-running #pl-grad stop:nth-child(1) { animation-name: pl-stop-1; }
.preloader.is-running #pl-grad stop:nth-child(2) { animation-name: pl-stop-2; }
.preloader.is-running #pl-grad stop:nth-child(3) { animation-name: pl-stop-3; }
/* Ends on the page's own canvas colour (cream, or the dark canvas in dark mode) */
@keyframes pl-sky { 0% { background-color: #0A2754; } 45%, 60% { background-color: #2A8362; } 88%, 100% { background-color: var(--bg); } }
@keyframes pl-ink { 0%, 68% { color: #FFFFFF; } 80%, 100% { color: #0C2E64; } }
@keyframes pl-track { 0%, 68% { stroke: rgba(255,255,255,.14); } 80%, 100% { stroke: rgba(12,46,100,.12); } }
@keyframes pl-aurora-out { 0% { opacity: .9; } 55% { opacity: .55; } 85%, 100% { opacity: 0; } }
@keyframes pl-grain-out { 0%, 55% { opacity: .07; } 85%, 100% { opacity: 0; } }
@keyframes pl-stop-1 { 0%, 68% { stop-color: #7FD6CF; } 80%, 100% { stop-color: #055A7E; } }
@keyframes pl-stop-2 { 0%, 68% { stop-color: #3FC1C1; } 80%, 100% { stop-color: #099292; } }
@keyframes pl-stop-3 { 0%, 68% { stop-color: #A6D9BF; } 80%, 100% { stop-color: #2A8362; } }
/* Dark mode ends on the dark canvas, so the quote and ring keep their light colours */
[data-theme="dark"] .preloader.is-running .preloader__quote,
[data-theme="dark"] .preloader.is-running .preloader__track,
[data-theme="dark"] .preloader.is-running #pl-grad stop { animation-name: none; }
@media (prefers-reduced-motion: no-preference) {
  .preloader.is-running .preloader__aurora span { animation: pl-drift 6s ease-in-out infinite alternate; }
  .preloader.is-running .preloader__aurora span:nth-child(2) { animation-duration: 7s; animation-direction: alternate-reverse; }
  .preloader.is-running .preloader__aurora span:nth-child(3) { animation-duration: 5s; }
  .preloader.is-running .preloader__halo { animation: pl-spin 4s linear infinite, pl-fade-in 1s var(--ease) both; }
  .preloader.is-running .preloader__logo picture { animation: pl-pop .9s var(--ease-out) both; }
  .preloader.is-running .preloader__ring { animation: pl-fade-in .6s var(--ease) .15s both; }
  .preloader.is-running .preloader__quote p span { animation: pl-word .8s var(--ease-out) both; animation-delay: calc(.4s + var(--w, 0) * 110ms); }
  .preloader.is-running .preloader__quote figcaption { animation: pl-rise .9s var(--ease-out) 1.4s both; }

  /* Exit: the content lifts away and the curtain rises to reveal the page */
  .preloader.is-exiting { clip-path: inset(0 0 100% 0); transition: clip-path .7s cubic-bezier(.76, 0, .24, 1); }
  .preloader.is-exiting .preloader__inner { opacity: 0; transform: translateY(-36px) scale(.98); transition: opacity .4s var(--ease), transform .6s var(--ease-out); }
}
@media (prefers-reduced-motion: reduce) {
  .preloader.is-exiting { opacity: 0; transition: opacity .3s; }
  /* The fill and the colour change are progress cues, not decorative motion; keep their real duration */
  .preloader.is-running .preloader__progress,
  .preloader.is-running, .preloader.is-running .preloader__quote, .preloader.is-running .preloader__track,
  .preloader.is-running .preloader__aurora, .preloader.is-running .preloader__grain,
  .preloader.is-running #pl-grad stop { animation-duration: var(--pl-fill) !important; }
}
@keyframes pl-fill { to { stroke-dashoffset: 0; } }
@keyframes pl-pop { from { opacity: 0; transform: scale(.82); filter: blur(6px); } }
@keyframes pl-word { from { opacity: 0; transform: translateY(.45em); filter: blur(8px); } }
@keyframes pl-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes pl-fade-in { from { opacity: 0; } }
@keyframes pl-spin { to { transform: rotate(360deg); } }
@keyframes pl-drift { to { transform: translate3d(6%, -5%, 0) scale(1.12); } }

@media (max-width: 480px) {
  .preloader__quote p { max-width: 11em; }
}
@media (max-width: 340px) {
  .preloader__quote figcaption::before, .preloader__quote figcaption::after { display: none; }
}
@media (max-height: 480px) and (orientation: landscape) {
  .preloader__inner { grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 2.5rem; text-align: left; width: min(100%, 760px); }
  .preloader__logo { width: 132px; }
  .preloader__quote p { margin: 0; font-size: 1.6rem; }
  .preloader__quote figcaption::before { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--wellness-green);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  font: 700 .975rem/1.2 var(--font-body); letter-spacing: .005em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease),
              box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover { color: var(--btn-fg); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  --btn-bg: var(--wellness-green);
  --btn-fg: #fff;
  box-shadow: 0 1px 2px rgba(12,46,100,.18), 0 8px 20px -8px rgba(42,131,98,.6);
}
.btn--primary:hover { --btn-bg: var(--wellness-green-dark); box-shadow: 0 2px 4px rgba(12,46,100,.18), 0 14px 28px -10px rgba(42,131,98,.65); transform: translateY(-1px); }
.btn--primary:active { --btn-bg: #185A42; }

/* White button: the only alternative to green, in both themes */
.btn--ghost { --btn-bg: #fff; --btn-fg: var(--c-navy); --btn-bd: #C7D3D6; box-shadow: 0 1px 2px rgba(12,46,100,.08); }
.btn--ghost:hover { --btn-bg: #fff; --btn-bd: var(--wellness-green); --btn-fg: var(--wellness-green-dark); transform: translateY(-1px); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--light:hover { --btn-bg: var(--tint); --btn-fg: var(--navy); transform: translateY(-1px); }

.btn--emergency { --btn-bg: #fff; --btn-fg: var(--danger); --btn-bd: #fff; }
.btn--emergency:hover { --btn-bg: var(--danger-bg); --btn-fg: var(--danger); }

/* Zocdoc booking button: green, like every primary action on the site */
.btn--zocdoc { --btn-bg: var(--wellness-green); --btn-fg: #fff; box-shadow: 0 1px 2px rgba(12,46,100,.18), 0 8px 20px -8px rgba(42,131,98,.6); }
.btn--zocdoc:hover { --btn-bg: #1F6B4F; --btn-fg: #fff; box-shadow: 0 2px 4px rgba(12,46,100,.18), 0 14px 28px -10px rgba(42,131,98,.65); transform: translateY(-1px); }
.btn__zd { width: 22px; height: 22px; flex: none; border-radius: 50%; }
.btn--lg .btn__zd { width: 26px; height: 26px; }

.btn--sm { min-height: 42px; padding: .55rem 1.05rem; font-size: .9rem; }
.btn--lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; white-space: normal; text-align: center; }
.btn.is-loading { opacity: .85; cursor: progress; }
.btn[disabled]:not(.is-loading), .btn[aria-disabled="true"] { --btn-bg: #C9D3D6; --btn-fg: #3D4B5F; --btn-bd: transparent; box-shadow: none; cursor: not-allowed; transform: none; }

.text-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .15rem; background: none; border: 0; cursor: pointer;
  font: 700 .925rem var(--font-body); color: var(--teal);
  text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px;
}
.text-btn:hover { color: var(--navy); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--tint); color: var(--navy); border: 1px solid var(--line);
  cursor: pointer; transition: background-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: var(--tint-2); transform: rotate(90deg); }

/* ---------- Small components ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--turquoise), var(--wellness-green)); }
.eyebrow--light { color: #BFE6E3; }
.eyebrow--light::before { background: linear-gradient(90deg, #7fd6cf, #a6d9bf); }

.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .9rem .45rem .5rem; margin: 0;
  font-size: .875rem; font-weight: 600; color: var(--navy);
  background: rgba(255,255,255,.85); border: 1px solid var(--line);
  border-radius: 999px; box-shadow: var(--shadow-sm);
}
.pill .icon {
  width: 28px; height: 28px; padding: 6px; border-radius: 50%;
  color: #fff; background: linear-gradient(135deg, var(--turquoise), var(--wellness-green));
}

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.chip {
  padding: .35rem .8rem; border-radius: 999px;
  font-size: .8125rem; font-weight: 700; line-height: 1.35;
  color: var(--navy); background: #EAEFF7; border: 1px solid #D6DFEE;
}
.chip--teal { color: #04506F; background: #E3F2F2; border-color: #C6E4E3; }

.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--tint); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head__lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.6; }
.h2-sm { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); letter-spacing: -0.01em; }

.check-list li, .dot-list li { position: relative; }
.check-list { display: grid; gap: .7rem; margin: 0 0 1.5rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list .icon {
  width: 24px; height: 24px; padding: 4px; margin-top: .05em; border-radius: 50%;
  color: var(--wellness-green); background: #E4F2EC; stroke-width: 2.5;
}

.dot-list { margin: 0 0 1em; padding-left: 1.2rem; }
.dot-list li { margin-bottom: .3rem; }
.dot-list li::marker { color: var(--turquoise); }
.dot-list--cols { columns: 2 220px; column-gap: 2rem; }
.dot-list--cols li { break-inside: avoid; }

/* ---------- Emergency bar ---------- */
.emergency-bar { background: var(--c-navy); color: #E6ECF6; font-size: .875rem; line-height: 1.45; }
.emergency-bar__inner { display: flex; align-items: center; gap: .6rem; justify-content: center; padding-block: .6rem; text-align: center; }
.emergency-bar .icon { color: #FFD08A; width: 1.1rem; height: 1.1rem; }
.emergency-bar p { margin: 0; }
.emergency-bar strong { color: #fff; }
.emergency-bar a { color: #fff; font-weight: 800; text-decoration: underline; }
/* Shown for 10 seconds after each page load (script.js); always visible without JS */
.js .emergency-bar {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .6s var(--ease-out), opacity .45s var(--ease);
}
.js .emergency-bar.is-shown { max-height: var(--eb-h, 12rem); opacity: 1; }
.js .emergency-bar.is-instant { transition: none; }
.emergency-bar a:focus-visible { box-shadow: 0 0 0 2px var(--c-navy), 0 0 0 4px #FFD08A; }

/* ---------- Header ---------- */
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would
   make it the containing block for the fixed mobile menu. */
.site-header { position: sticky; top: 0; z-index: 50; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(248, 249, 247, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled::before { background: rgba(255,255,255,.92); border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(12,46,100,.35); }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex: none; border-radius: 12px; }
.brand__logo { width: 48px; height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; }
.brand__sub { font-size: .65rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--teal); margin-top: 3px; }

/* The header spans the full window width: logo at the far left, actions at the
   far right, and the nav centred in the space between with generous gaps. */
.site-header .container { max-width: none; padding-inline: clamp(1rem, 3vw, 3.5rem); }
.site-header__inner { gap: clamp(1.5rem, 2.5vw, 3rem); }
.primary-nav { margin-inline: auto; }
.primary-nav__list { display: flex; gap: clamp(.2rem, -1rem + 1.2vw, 1rem); }
.primary-nav__list a {
  position: relative; display: block; padding: .55rem .7rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--ink-2); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.primary-nav__list a::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .3rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--turquoise), var(--wellness-green));
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.primary-nav__list a:hover { color: var(--navy); background: rgba(9,146,146,.07); }
.primary-nav__list a[aria-current="page"] { color: var(--navy); }
.primary-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: clamp(.75rem, 1.2vw, 1.25rem); }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .6rem; border-radius: 999px;
  font-weight: 700; font-size: .925rem; color: var(--navy); text-decoration: none; white-space: nowrap;
}
.header-phone .icon { color: var(--teal); width: 1.05rem; height: 1.05rem; }
.header-phone:hover { background: rgba(9,146,146,.07); }

.nav-toggle {
  display: none; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); color: var(--navy); cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; grid-area: 1 / 1; transition: opacity .2s, transform .3s var(--ease); }
.nav-toggle .icon--close { opacity: 0; transform: rotate(-90deg); }
.nav-toggle[aria-expanded="true"] .icon--menu { opacity: 0; transform: rotate(90deg); }
.nav-toggle[aria-expanded="true"] .icon--close { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(4rem, 3rem + 5vw, 7rem); isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(9,146,146,.14), transparent 70%),
    radial-gradient(45% 50% at 100% 85%, rgba(72,55,133,.10), transparent 70%),
    radial-gradient(50% 60% at 0% 0%, rgba(42,131,98,.10), transparent 70%),
    linear-gradient(180deg, #F8F9F7 0%, #F2F7F6 100%);
}
.hero__river { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; opacity: .55; }
.hero__river path { fill: none; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.hero__river path:nth-child(1) { stroke: rgba(9,146,146,.35); }
.hero__river path:nth-child(2) { stroke: rgba(42,131,98,.25); }
.hero__river path:nth-child(3) { stroke: rgba(72,55,133,.18); }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero__pill { margin-bottom: 1.75rem; }
.hero__title { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 1.5rem; }
.hero__line { display: block; }
.hero__line--accent {
  font-style: italic; font-weight: 400;
  background: linear-gradient(95deg, var(--teal) 0%, var(--turquoise) 45%, var(--wellness-green) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.hero__lead { font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); font-weight: 600; color: var(--navy); line-height: 1.45; max-width: 42ch; margin-bottom: 1rem; }
.hero__intro { max-width: 56ch; color: var(--ink-2); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.25rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.hero__trust li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__trust .icon { color: var(--wellness-green); width: 1.15rem; height: 1.15rem; }

/* Headline line that matches the visible slide gets a soft underline */
.hero__line-text {
  background-image: linear-gradient(90deg, var(--turquoise), var(--wellness-green));
  background-repeat: no-repeat; background-position: 0 96%; background-size: 0% 3px;
  transition: background-size .9s var(--ease-out);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__line.is-active .hero__line-text { background-size: 100% 3px; }

/* ---------- Hero slider ---------- */
/* The slides form a small fanned deck of cards. Positions are set by
   data-pos (0 = front); the change animations live further below. */
.hero-slider {
  --slide-ms: 6500ms;
  --card-radius: var(--radius-xl);
  --pos1: translate3d(5%, 3%, 0) rotate(4deg) scale(.93);
  --pos2: translate3d(-5%, 4.5%, 0) rotate(-5deg) scale(.88);
  position: relative; width: 100%; max-width: 480px; justify-self: end;
}
.hero-slider__frame {
  position: relative; aspect-ratio: 4 / 5; isolation: isolate;
  perspective: 1800px; perspective-origin: 30% 50%;
  touch-action: pan-y;
}
.hero-slider__track { position: absolute; inset: 0; transform-style: preserve-3d; }
.hero-slide {
  position: absolute; inset: 0; margin: 0; overflow: hidden;
  border-radius: var(--card-radius); background: var(--tint-2);
  box-shadow: 0 2px 6px rgba(12,46,100,.06), 0 30px 60px -24px rgba(12,46,100,.4);
  transform-origin: 50% 100%;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transition: transform .95s var(--ease-out), filter .8s var(--ease);
}
.hero-slide::before { /* thin inner border so stacked cards read as separate cards */
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.hero-slide:not([data-pos]):not(.is-active) { opacity: 0; }
.hero-slide[data-pos="0"] { z-index: 3; transform: none; }
.hero-slide[data-pos="1"] { z-index: 2; transform: var(--pos1); filter: brightness(.9) saturate(.85); }
.hero-slide[data-pos="2"] { z-index: 1; transform: var(--pos2); filter: brightness(.82) saturate(.8); }

@media (prefers-reduced-motion: no-preference) {
  /* Forward: the front card swings open on its left edge like a card being
     turned, then settles at the back of the deck. */
  .hero-slide.is-leaving { animation: card-open 1.15s cubic-bezier(.55, .05, .25, 1) both; }
  /* Back: the rear card swings closed onto the front of the deck. */
  .hero-slide.is-returning { animation: card-close 1.05s cubic-bezier(.3, .6, .25, 1) both; }
}
@keyframes card-open {
  0%   { z-index: 4; transform-origin: 0% 50%; transform: none; opacity: 1; filter: none; }
  46%  { z-index: 4; transform-origin: 0% 50%; transform: translateZ(60px) rotateY(-82deg); opacity: 1; filter: brightness(.95); }
  54%  { z-index: 4; transform-origin: 0% 50%; transform: translateZ(60px) rotateY(-96deg); opacity: 0; }
  55%  { z-index: 0; transform-origin: 50% 100%; transform: var(--pos2); opacity: 0; filter: brightness(.82) saturate(.8); }
  100% { z-index: 0; transform-origin: 50% 100%; transform: var(--pos2); opacity: 1; filter: brightness(.82) saturate(.8); }
}
@keyframes card-close {
  0%   { z-index: 1; transform-origin: 50% 100%; transform: var(--pos2); opacity: 1; filter: brightness(.82) saturate(.8); }
  22%  { z-index: 1; transform-origin: 50% 100%; transform: var(--pos2); opacity: 0; }
  23%  { z-index: 4; transform-origin: 0% 50%; transform: translateZ(60px) rotateY(-96deg); opacity: 0; filter: brightness(.95); }
  34%  { z-index: 4; transform-origin: 0% 50%; transform: translateZ(60px) rotateY(-84deg); opacity: 1; }
  100% { z-index: 4; transform-origin: 0% 50%; transform: none; opacity: 1; filter: none; }
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.07); transition: transform 7.5s cubic-bezier(.25, .1, .25, 1); }
.hero-slide.is-active img { transform: scale(1); }
.hero-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,24,52,0) 38%, rgba(8,24,52,.35) 62%, rgba(8,24,52,.86) 100%);
}
.hero-slide__caption {
  position: absolute; left: clamp(1.1rem, .8rem + 1vw, 1.6rem); right: clamp(1.1rem, .8rem + 1vw, 1.6rem); bottom: clamp(1.1rem, .8rem + 1vw, 1.6rem); z-index: 1;
  display: grid; gap: .65rem; color: #fff;
  opacity: 0; transform: translateY(12px);
  transition: opacity .7s var(--ease-out) .35s, transform .7s var(--ease-out) .35s;
}
.hero-slide.is-active .hero-slide__caption { opacity: 1; transform: none; }
.hero-slide__kicker {
  justify-self: start; display: inline-flex; align-items: center; gap: .45rem;
  padding: .38rem .8rem .38rem .55rem; border-radius: 999px;
  font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-slide__kicker .icon { width: 1rem; height: 1rem; color: #A9E5D0; }
.hero-slide__text { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.3; text-wrap: balance; text-shadow: 0 1px 12px rgba(0,0,0,.25); }

.hero-slider__controls { display: flex; align-items: center; gap: .85rem; margin-top: 2rem; }
.hero-slider__dots { display: flex; gap: .25rem; flex: 1; }
.hero-slider__dot {
  position: relative; flex: 1; max-width: 88px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 6px;
}
.hero-slider__dot::before, .hero-slider__dot-fill {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px;
}
.hero-slider__dot::before { background: var(--line-strong); transition: background-color .2s; }
.hero-slider__dot:hover::before { background: #A9BCC1; }
.hero-slider__dot-fill { right: auto; width: 0; background: linear-gradient(90deg, var(--c-teal), var(--turquoise)); }
.hero-slider__dot[aria-current="true"] .hero-slider__dot-fill { width: 100%; }
.hero-slider[data-state="playing"] .hero-slider__dot[aria-current="true"] .hero-slider__dot-fill,
.hero-slider[data-state="held"] .hero-slider__dot[aria-current="true"] .hero-slider__dot-fill { animation: slide-progress var(--slide-ms) linear forwards; }
.hero-slider[data-state="held"] .hero-slider__dot[aria-current="true"] .hero-slider__dot-fill { animation-play-state: paused; }
.hero-slider__arrows { display: flex; gap: .5rem; }
.hero-slider__arrow, .hero-slider__pause {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--navy); border: 1px solid var(--line); cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .25s var(--ease-out);
}
.hero-slider__arrow:hover, .hero-slider__pause:hover { border-color: var(--teal); background: var(--tint); }
.hero-slider__arrow .icon, .hero-slider__pause .icon { width: 18px; height: 18px; }
.hero-slider__pause .icon--play { display: none; fill: currentColor; stroke: none; }
.hero-slider[data-state="paused"] .hero-slider__pause .icon--pause,
.hero-slider[data-state="static"] .hero-slider__pause .icon--pause { display: none; }
.hero-slider[data-state="paused"] .hero-slider__pause .icon--play,
.hero-slider[data-state="static"] .hero-slider__pause .icon--play { display: block; }
@keyframes slide-progress { from { width: 0; } to { width: 100%; } }

/* ---------- WhatsApp widget ---------- */
.wa-widget {
  position: fixed; z-index: 45;
  left: max(8px, env(safe-area-inset-left)); bottom: max(8px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.wa-fab {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px; padding: 0;
  border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: var(--wellness-green);
  box-shadow: 0 12px 28px -10px rgba(42,131,98,.75), 0 2px 6px rgba(0,0,0,.14);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background-color .2s;
}
.wa-fab:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 16px 32px -10px rgba(42,131,98,.8), 0 2px 6px rgba(0,0,0,.14); }
.wa-fab:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--wellness-green); border-radius: 50%; }
.wa-fab .icon { grid-area: 1 / 1; transition: opacity .2s, transform .3s var(--ease-out); }
.wa-fab__icon { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.wa-fab__close { width: 24px; height: 24px; stroke-width: 2.25; opacity: 0; transform: rotate(-90deg); }
.wa-fab[aria-expanded="true"] { background: #236F53; }
.wa-fab[aria-expanded="true"] .wa-fab__icon { opacity: 0; transform: rotate(90deg) scale(.6); }
.wa-fab[aria-expanded="true"] .wa-fab__close { opacity: 1; transform: none; }
.wa-fab__label {
  position: absolute; left: calc(100% + 12px); top: 50%; white-space: nowrap; pointer-events: none;
  padding: .45rem .8rem; border-radius: 10px; background: var(--c-navy); color: #fff;
  font: 700 .85rem/1.2 var(--font-body);
  opacity: 0; transform: translate(-6px, -50%); transition: opacity .2s, transform .25s var(--ease-out);
}
.wa-fab__label::before { content: ""; position: absolute; left: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
@media (hover: hover) {
  .wa-fab:hover .wa-fab__label { opacity: 1; transform: translate(0, -50%); }
}
.wa-fab:focus-visible .wa-fab__label { opacity: 1; transform: translate(0, -50%); }
.wa-fab[aria-expanded="true"] .wa-fab__label { opacity: 0 !important; }

/* Rotating "Talk to a mental health specialist" ring around the button */
.wa-fab-wrap {
  --ring-size: 112px;
  position: relative; display: grid; place-items: center;
  width: var(--ring-size); height: var(--ring-size);
}
.wa-fab-wrap .wa-fab { grid-area: 1 / 1; }
.wa-fab-wrap .wa-fab__label { left: calc(100% + (var(--ring-size) - 100%) / 2 + 10px); }
.wa-ring {
  grid-area: 1 / 1; width: 100%; height: 100%; overflow: visible; pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease-out);
}
.wa-ring__disc { fill: none; stroke: none; } /* transparent: only the lettering shows */
.wa-ring text {
  fill: var(--wellness-green-dark); font-family: var(--font-body); font-size: 8.6px; font-weight: 800; letter-spacing: .5px;
  /* A thin outline in the page colour keeps the letters legible over any section */
  stroke: var(--bg); stroke-width: 2.4px; stroke-linejoin: round; paint-order: stroke fill;
}
.wa-ring__spin { transform-box: view-box; transform-origin: 50% 50%; }
/* Step aside while the chat panel is open */
.wa-fab-wrap:has(.wa-fab[aria-expanded="true"]) .wa-ring { opacity: 0; transform: scale(.7) rotate(-40deg); }
@media (prefers-reduced-motion: no-preference) {
  .wa-ring__spin { animation: wa-ring-spin 18s linear infinite; }
}
@keyframes wa-ring-spin { to { transform: rotate(360deg); } }
@media (max-width: 720px) {
  .wa-fab-wrap { --ring-size: 100px; }
  .wa-ring text { font-size: 8.8px; }
}

.wa-panel {
  width: min(340px, calc(100vw - 32px)); overflow: hidden;
  border-radius: 20px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(8,24,52,.4), 0 4px 12px rgba(8,24,52,.08);
  transform-origin: bottom left;
}
.wa-panel__head { display: flex; align-items: center; gap: .75rem; padding: .9rem .9rem .9rem 1rem; color: #fff; background: linear-gradient(135deg, var(--c-teal), var(--wellness-green)); }
.wa-panel__head p { margin: 0; line-height: 1.2; }
.wa-panel__avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.wa-panel__title { font-weight: 800; font-size: 1rem; }
.wa-panel__sub { font-size: .8125rem; color: #CFEFE6; font-weight: 600; }
.wa-panel__close { margin-left: auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,.12); }
.wa-panel__close:hover { background: rgba(255,255,255,.22); }
.wa-panel__close:focus-visible { box-shadow: 0 0 0 2px var(--teal), 0 0 0 4px #fff; }
.wa-panel__close .icon { width: 18px; height: 18px; }
.wa-panel__body { display: grid; gap: .7rem; padding: 1.1rem 1rem 1rem; background: #F5F8F6; font-size: .9rem; line-height: 1.5; }
.wa-panel__body p { margin: 0; }
.wa-panel__note { display: flex; gap: .5rem; align-items: flex-start; font-size: .8125rem; color: var(--ink-3); }
.wa-panel__note .icon { width: 1rem; height: 1rem; margin-top: .15em; color: var(--teal); }
.wa-panel__note--alert { color: #7A1A10; }
.wa-panel__note--alert .icon { color: var(--danger); }
.wa-panel__note--alert a { color: var(--danger); font-weight: 800; }
.wa-panel__cta {
  display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; margin-top: .2rem;
  border-radius: 999px; background: var(--wellness-green); color: #fff; font-weight: 800; text-decoration: none;
  transition: background-color .2s, transform .25s var(--ease-out);
}
.wa-panel__cta:hover { background: #236F53; color: #fff; transform: translateY(-1px); }
.wa-panel__cta .icon { width: 20px; height: 20px; fill: currentColor; stroke: none; }

@media (prefers-reduced-motion: no-preference) {
  .wa-panel:not([hidden]) { animation: wa-in .35s var(--ease-out); }
  .wa-fab::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
    box-shadow: 0 0 0 0 rgba(42,131,98,.55); animation: wa-pulse 2.4s ease-out 1.5s 2;
  }
}
@keyframes wa-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes wa-pulse { 70% { box-shadow: 0 0 0 16px rgba(42,131,98,0); } 100% { box-shadow: 0 0 0 0 rgba(42,131,98,0); } }

/* ---------- Zocdoc ---------- */
.zd-inline { display: flex; align-items: center; gap: .6rem; margin: -1rem 0 2rem; font-size: .8125rem; font-weight: 700; letter-spacing: .02em; color: var(--ink-3); }
.zd-inline img { width: 84px; height: auto; }

.zd-strip {
  --zd-overlap: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  position: relative; z-index: 1; margin-top: calc(var(--zd-overlap) * -1); padding-bottom: clamp(1rem, .5rem + 2vw, 2rem);
  background: linear-gradient(180deg, transparent var(--zd-overlap), var(--surface) var(--zd-overlap));
}
.zd-strip__card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  padding: clamp(1.25rem, 1rem + 1.5vw, 1.9rem) clamp(1.25rem, 1rem + 2vw, 2.25rem);
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.zd-strip__brand { display: grid; place-items: center; padding-right: clamp(1.25rem, 1rem + 2vw, 2.5rem); border-right: 1px solid var(--line); }
.zd-strip__brand img { width: clamp(110px, 90px + 4vw, 150px); height: auto; }
.zd-strip__text h2 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); margin-bottom: .3rem; }
.zd-strip__text p { margin: 0; font-size: var(--fs-sm); }

.zd-card { margin: 2rem 0 1.5rem; padding: 1.4rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.zd-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.zd-card__top img { width: 120px; height: auto; }
.zd-card__tag { padding: .3rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #00234B; background: #FFF9C2; border: 1px solid #F4E77A; }
.zd-card p { font-size: var(--fs-sm); margin-bottom: 1.1rem; }
.contact__or { margin: 0 0 -1.25rem; font-weight: 700; color: var(--ink); font-size: .9375rem; }
.footer-col__note { margin: .75rem 0 0; font-size: .8125rem; color: #9DB0CC; }

/* ---------- About / Provider ---------- */
.about { background: var(--surface); }
.provider { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 5vw, 5.5rem); align-items: start; }
.provider__media { position: relative; position: sticky; top: calc(var(--header-h) + 24px); }
.provider__frame {
  position: relative; border-radius: 240px 240px var(--radius-xl) var(--radius-xl);
  overflow: hidden; background: var(--tint);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.provider__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(12,46,100,.08); pointer-events: none; }
.provider__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.provider__photo { position: relative; isolation: isolate; }
.provider__photo::before {
  content: ""; position: absolute; inset: 7% -6% -5% 8%; z-index: -1;
  border-radius: 240px 240px var(--radius-xl) var(--radius-xl);
  background: linear-gradient(160deg, rgba(9,146,146,.22), rgba(72,55,133,.16));
}

.provider__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); letter-spacing: -0.015em; margin-bottom: 1rem; }
.provider__name span { display: inline-block; color: var(--teal); font-size: .62em; font-family: var(--font-body); font-weight: 700; letter-spacing: .04em; vertical-align: .25em; }
.provider__body > p { max-width: 62ch; }
.provider__quote {
  position: relative; margin: 2rem 0; padding: 1.5rem 1.75rem 1.5rem 2rem;
  border-radius: var(--radius); background: linear-gradient(135deg, #F0F7F6, #F3F1F8);
  border-left: 3px solid var(--turquoise);
}
.provider__quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); line-height: 1.3; color: var(--navy); margin: 0; }
.provider__services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 2rem 0; }
.provider__services div {
  display: flex; flex-direction: column; gap: .6rem; padding: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.3;
}
.provider__services .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; color: var(--teal); background: #E3F2F2; }
.provider__goal { font-weight: 600; color: var(--ink); }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.service-card {
  position: relative; padding: 1.75rem; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #CFE2E2; }
.service-card h3 { margin-bottom: .45rem; }
.service-card p { font-size: var(--fs-sm); margin: 0; }
.service-card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.1rem;
  border-radius: 14px; color: #fff;
  background: linear-gradient(135deg, var(--c-teal), var(--turquoise));
  box-shadow: 0 8px 18px -10px rgba(5,90,126,.7);
}
.service-card__icon .icon { width: 22px; height: 22px; }
.service-card:nth-child(3n+2) .service-card__icon { background: linear-gradient(135deg, var(--turquoise), var(--wellness-green)); }
.service-card:nth-child(3n) .service-card__icon { background: linear-gradient(135deg, var(--c-navy), var(--healing-purple)); }
.service-card--wide { grid-column: 1 / -1; display: flex; gap: 1.25rem; align-items: flex-start; background: linear-gradient(120deg, #fff 55%, #F2F0F8); }
.service-card--wide .service-card__icon { margin: 0; }
.service-card--wide p { max-width: 80ch; }

.conditions { margin-top: clamp(3.5rem, 3rem + 3vw, 5.5rem); }
.conditions__head { max-width: 720px; margin-bottom: 2rem; }
.condition-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.condition-card {
  --accent: var(--teal);
  position: relative; padding: 1.4rem 1.4rem 1.5rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
}
.condition-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent); }
.condition-card h4 { display: flex; align-items: center; gap: .6rem; font-size: 1rem; margin-bottom: .85rem; line-height: 1.3; }
.condition-card h4 .icon { width: 32px; height: 32px; padding: 7px; border-radius: 10px; color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, #fff); }
.condition-card ul { display: grid; gap: .45rem; font-size: .9rem; line-height: 1.45; }
.condition-card li { position: relative; padding-left: 1rem; color: var(--ink-2); }
.condition-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .7; }
.condition-card__note { margin: 1rem 0 0; padding-top: .9rem; border-top: 1px dashed var(--line-strong); font-size: .8125rem; line-height: 1.5; color: var(--ink-3); }
.condition-grid .condition-card:last-child { grid-column: span 2; }
.condition-grid .condition-card:last-child ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }

.notice {
  display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.5rem;
  padding: 1.35rem 1.5rem; border-radius: var(--radius);
  background: #EEF2FA; border: 1px solid #D4DDEE; color: var(--ink-2);
}
.notice__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: var(--c-navy); }
.notice__title { font-weight: 800; color: var(--navy); margin-bottom: .25rem; }

/* ---------- Approach ---------- */
.approach { background: var(--surface); }
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.value-card { padding: 2rem 1.9rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .3s; }
.value-card:nth-child(3n) { border-right: 0; }
.value-card:nth-last-child(-n+3) { border-bottom: 0; }
.value-card:hover { background: #FAFCFB; }
.value-card h3 { margin-bottom: .4rem; }
.value-card p { font-size: var(--fs-sm); margin: 0; }
.value-card__icon { --accent: var(--teal); display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1.1rem; border-radius: 50%; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff); border: 1px solid color-mix(in srgb, var(--accent) 22%, #fff); }
.value-card__icon .icon { width: 21px; height: 21px; }

.approach__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.consider-card { padding: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); border-radius: var(--radius-lg); background: var(--tint); border: 1px solid #DCE9E7; }
.consider-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin-bottom: 1.25rem; }
.consider-card__foot { font-size: var(--fs-sm); padding-top: 1.25rem; border-top: 1px solid #D5E4E2; }

.faith-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); border-radius: var(--radius-lg);
  color: #E7E3F4;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(9,146,146,.35), transparent 60%),
    linear-gradient(155deg, #3E2F77 0%, var(--healing-purple) 45%, #2B2360 100%);
}
.faith-card::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; z-index: -1;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 0 30px rgba(255,255,255,.03), 0 0 0 60px rgba(255,255,255,.025);
}
.faith-card h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); color: #fff; }
.faith-card strong { color: #fff; }
.faith-card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.25rem; border-radius: 14px; background: rgba(255,255,255,.12); color: #F3D9A0; border: 1px solid rgba(255,255,255,.18); }
.faith-card__optional { display: flex; gap: .7rem; margin-top: 1.5rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); font-size: var(--fs-sm); color: #F4F1FB; }
.faith-card__optional .icon { color: #A9E5D0; stroke-width: 2.5; margin-top: .15em; }

/* ---------- Band ---------- */
.band {
  position: relative; overflow: hidden; color: #D9E3F1;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  background:
    radial-gradient(50% 90% at 0% 100%, rgba(9,146,146,.4), transparent 60%),
    radial-gradient(40% 80% at 100% 0%, rgba(72,55,133,.45), transparent 60%),
    linear-gradient(120deg, var(--c-navy), #0A3A6B 55%, var(--c-teal));
}
.band__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: end; }
.band h2 { color: #fff; margin: 0; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem); }
.band__body p { margin-bottom: 1.5rem; }

/* ---------- Telehealth ---------- */
.telehealth { background: linear-gradient(180deg, var(--bg), #fff); }
.telehealth__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.telehealth__intro h2 { max-width: 18ch; }
.tele-points { display: grid; gap: 1rem; margin: 2rem 0 2.5rem; }
.tele-point { display: flex; gap: 1rem; padding: 1.25rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.tele-point h3 { font-size: 1.0625rem; margin-bottom: .3rem; }
.tele-point p { font-size: var(--fs-sm); margin: 0; }
.tele-point__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; color: var(--teal); background: #E3F2F2; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.step { position: relative; display: flex; gap: 1rem; padding-bottom: 1.5rem; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: linear-gradient(var(--turquoise), rgba(9,146,146,.1)); }
.step__num { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; font-weight: 800; color: var(--teal); background: #fff; border: 2px solid var(--turquoise); }
.step h3 { font-size: 1.0625rem; margin: .45rem 0 .2rem; }
.step p { font-size: var(--fs-sm); margin: 0; }

.prep-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: var(--radius-xl);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.prep-card__head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.prep-card__head h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin: 0 0 .15rem; }
.prep-card__head p { margin: 0; font-size: var(--fs-sm); }
.prep-card__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--turquoise), var(--wellness-green)); }
.prep-card__icon .icon { width: 24px; height: 24px; }
.prep-list { border: 0; margin: 0; padding: 0; display: grid; gap: .6rem; min-width: 0; }
.prep-item {
  position: relative; display: flex; align-items: center; gap: .9rem;
  padding: .85rem 1rem; border-radius: 14px; cursor: pointer;
  background: var(--bg); border: 1px solid var(--line);
  transition: background-color .25s, border-color .25s;
}
.prep-item:hover { border-color: #BFDCDA; }
.prep-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.prep-item__box {
  display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px;
  border: 2px solid var(--field-border); background: #fff; color: #fff;
  transition: background-color .2s, border-color .2s, transform .25s var(--ease-out);
}
.prep-item__box .icon { width: 16px; height: 16px; stroke-width: 3; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .3s var(--ease-out); }
.prep-item__text { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.35; }
.prep-item__glyph { color: var(--teal); width: 1.1rem; height: 1.1rem; }
.prep-item input:checked ~ .prep-item__box { background: var(--wellness-green); border-color: var(--wellness-green); }
.prep-item input:checked ~ .prep-item__box .icon { opacity: 1; transform: none; }
.prep-item:has(input:checked) { background: #EEF7F3; border-color: #BFE0D1; }
.prep-item input:focus-visible ~ .prep-item__box { box-shadow: var(--focus); }
.prep-card__progress { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0 1rem; }
.progress { flex: 1; height: 6px; border-radius: 6px; background: var(--tint-2); overflow: hidden; }
.progress__bar { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--turquoise), var(--wellness-green)); transition: width .45s var(--ease-out); }
.prep-card__count { margin: 0; font-size: .875rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.prep-card__note { margin: 0; font-size: .875rem; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__aside > p:not(.eyebrow) { font-size: var(--fs-lead); }
.question-card { margin: 2rem 0 1rem; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.question-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; }
.question-card p { font-size: var(--fs-sm); margin-bottom: 1.25rem; }
.faq__tools { display: flex; justify-content: flex-end; margin-bottom: .5rem; }

.accordion { display: grid; gap: .6rem; }
.accordion__item {
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s;
}
.accordion__item.is-open { border-color: #C3DEDC; box-shadow: var(--shadow); }
.accordion__heading { margin: 0; font-size: 1rem; }
.accordion__trigger {
  display: flex; align-items: center; gap: .75rem; width: 100%;
  padding: 1.1rem 1.25rem; min-height: 60px; text-align: left;
  background: none; border: 0; border-radius: var(--radius); cursor: pointer;
  font: 700 1.0125rem/1.4 var(--font-body); color: var(--ink);
}
.accordion__trigger:hover { color: var(--teal); }
.accordion__icon {
  position: relative; flex: none; margin-left: auto; width: 32px; height: 32px; border-radius: 50%;
  background: var(--tint); transition: background-color .25s, transform .35s var(--ease-out);
}
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  border-radius: 2px; background: var(--teal); transition: transform .35s var(--ease-out);
}
.accordion__icon::after { transform: rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon { background: var(--c-teal); transform: rotate(180deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::before,
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { background: #fff; }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(0deg); }
.accordion__panel {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows .4s var(--ease-out), visibility .4s;
}
.accordion__panel > .accordion__inner { overflow: hidden; min-height: 0; }
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; visibility: visible; }
.accordion__inner > * { margin-inline: 1.25rem; }
.accordion__inner > :first-child { margin-top: 0; }
.accordion__inner > :last-child { margin-bottom: 1.35rem; }
.accordion__inner { font-size: var(--fs-sm); max-width: 72ch; }
.no-js .accordion__panel { grid-template-rows: 1fr; visibility: visible; }

.accordion__item--alert { border-color: var(--danger-line); background: #FFFBFA; }
.accordion__item--alert.is-open { border-color: #EBA59E; }
.accordion__flag { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; color: var(--danger); background: var(--danger-bg); }
.accordion__flag .icon { width: 16px; height: 16px; }

/* ---------- Emergency cards ---------- */
.emergency-card {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: 1.15rem 1.25rem; border-radius: var(--radius);
  background: var(--danger-bg); border: 1px solid var(--danger-line); color: #5A1A14;
}
.emergency-card > .icon { color: var(--danger); width: 1.4rem; height: 1.4rem; margin-top: .1em; }
.emergency-card p { margin: 0; font-size: .9375rem; line-height: 1.5; }
.emergency-card strong, .emergency-card__title { color: #7A1A10; font-weight: 800; }
.emergency-card__title { margin-bottom: .25rem !important; }
.emergency-card a { color: var(--danger); font-weight: 800; }
.emergency-card--compact { padding: .9rem 1rem; }
.emergency-card--compact p { font-size: .875rem; }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(50% 50% at 0% 0%, rgba(9,146,146,.10), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(72,55,133,.08), transparent 70%),
    var(--tint);
}
.contact__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact-list { display: grid; gap: .65rem; margin: 2rem 0 1.5rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease-out);
}
.contact-item:hover { border-color: #BCDAD8; box-shadow: var(--shadow); transform: translateX(3px); color: var(--ink); }
.contact-item > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.contact-item__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; color: var(--teal); background: #E3F2F2; }
.contact-item__label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.contact-item__value { font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }

.form-card {
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); border-radius: var(--radius-xl);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.form-card__head { margin-bottom: 1.75rem; }
.form-card__head h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); margin-bottom: .4rem; }
.form-card__head p { font-size: var(--fs-sm); }

/* ---------- Forms ---------- */
.request-form { display: grid; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label { font-weight: 700; color: var(--ink); font-size: .9375rem; }
.req { color: var(--danger); }
.field__hint { margin: -.1rem 0 .15rem; font-size: .85rem; line-height: 1.5; color: var(--ink-3); }
.field__hint strong { color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem;
  font: 500 1rem/1.5 var(--font-body); color: var(--ink);
  background: #FBFCFC; border: 1.5px solid var(--field-border); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(9,146,146,.18); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); background: #FFFBFA; }
.field.is-invalid input:focus, .field.is-invalid textarea:focus { box-shadow: 0 0 0 4px rgba(180,35,24,.14); }
.field.is-valid input, .field.is-valid textarea { border-color: #8CC3AE; }
.field__error { display: none; margin: 0; font-size: .85rem; font-weight: 600; color: var(--danger); }
.field__error::before { content: "! "; font-weight: 800; }
.field.is-invalid .field__error { display: block; }
.field__meta { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.field__count { margin: 0 0 0 auto; font-size: .8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.field__count.is-near { color: #9A5B00; font-weight: 700; }
.form-note { margin: 0; font-size: .8125rem; color: var(--ink-3); }

.form-alert {
  display: flex; gap: .6rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 12px;
  background: var(--danger-bg); border: 1px solid var(--danger-line); color: #7A1A10; font-size: .9rem; font-weight: 600;
}
.form-alert[hidden] { display: none; }
.form-alert .icon { color: var(--danger); margin-top: .1em; }

.btn.is-loading .btn__label::after { content: "…"; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }

.form-success { text-align: left; }
.form-success:focus { outline: none; }
.form-success__icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 1.25rem; border-radius: 50%;
  color: #fff; background: linear-gradient(135deg, var(--turquoise), var(--wellness-green));
  box-shadow: 0 0 0 8px #E4F2EC;
}
.form-success__icon .icon { width: 28px; height: 28px; stroke-width: 2.5; }
.form-success h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.625rem; margin-bottom: .6rem; }
.form-success__demo { margin: 1.25rem 0; padding: 1rem 1.1rem; border-radius: 12px; background: #FFF8EB; border: 1px solid #F1D9A6; color: #5C4210; font-size: .9rem; }
.form-success__demo strong { color: #4A3408; }
.form-success__actions { display: grid; gap: .65rem; margin-top: 1.25rem; }
.form-success__actions .btn { white-space: normal; }

/* ---------- Footer ---------- */
.site-footer {
  color: #C4D0E2; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  background:
    radial-gradient(40% 60% at 100% 0%, rgba(9,146,146,.18), transparent 60%),
    linear-gradient(180deg, #0A2754, var(--c-navy) 30%, #091F46);
}
.site-footer a:not(.btn) { color: #E7EEF8; text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { box-shadow: 0 0 0 3px var(--c-navy), 0 0 0 5px #7fd6cf; }

.footer-emergency {
  display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 1.75rem; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #A61E14, #C0392B); color: #FFECEA; box-shadow: 0 20px 40px -24px rgba(0,0,0,.5);
}
.footer-emergency p { margin: 0; }
.footer-emergency__title { font-size: 1.125rem; font-weight: 800; color: #fff; margin-bottom: .2rem !important; }
.footer-emergency a:not(.btn) { color: #fff; font-weight: 800; text-decoration: underline; }
.footer-emergency__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; }
.footer-emergency .btn { margin-left: auto; flex: none; }
.footer-emergency .btn:hover { text-decoration: none; }

.footer-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr) minmax(0, 1.05fr) minmax(0, 1fr); gap: 2.5rem; padding-block: 3.5rem 3rem; }
.footer-brand__row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.footer-brand__badge { display: grid; place-items: center; flex: none; width: 72px; height: 72px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.08); }
.footer-brand__badge img { width: 56px; height: 56px; }
.footer-brand__name { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; color: #fff; line-height: 1.25; max-width: 22ch; }
.footer-brand__tagline { font-weight: 700; color: #9FE0D9; margin-bottom: .5rem; }
.footer-brand__line { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; color: #DCE5F2; max-width: 40ch; }
.footer-col__title { font-family: var(--font-body); line-height: 1.3; font-size: .8125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8FA6C8; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .55rem; margin-bottom: 1.25rem; }
.footer-col li a { overflow-wrap: anywhere; font-size: .95rem; }

.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0 2rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .875rem; }
.footer-bottom p { margin: 0; color: #9DB0CC; }
.footer-info-link {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: 700 .875rem var(--font-body); color: #DCE5F2;
  text-decoration: underline; text-decoration-color: rgba(220,229,242,.4); text-underline-offset: .2em;
}
.footer-info-link:hover { color: #fff; text-decoration-color: #7fd6cf; }

/* Important information modal */
.legal-modal .modal__body p { margin: 0; line-height: 1.65; color: var(--ink-2); }
.legal-modal__fine { display: grid; gap: .6rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.legal-modal .legal-modal__fine p { font-size: .8125rem; color: var(--ink-3); }

/* Privacy policy page (privacy.html) */
.legal-doc__dates { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); }
.legal-doc__grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 960px) {
  .legal-doc__grid { grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); }
  .legal-doc__toc { position: sticky; top: 6.5rem; }
}
.legal-doc__toc { padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.legal-doc__toc-title { margin: 0 0 .6rem; font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .02em; color: var(--ink-3); }
.legal-doc__toc ol { margin: 0; padding-left: 1.25rem; display: grid; gap: .35rem; font-size: var(--fs-sm); }
.legal-doc__toc li::marker { color: var(--ink-3); }
.legal-doc__body { max-width: 72ch; min-width: 0; color: var(--ink-2); line-height: 1.7; }
.legal-doc__body h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 2.75rem 0 .9rem; padding-top: 1.75rem; border-top: 1px solid var(--line); scroll-margin-top: 6.5rem; }
.legal-doc__body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-doc__body h3 { margin: 1.6rem 0 .5rem; }
.legal-doc__body p { margin: 0 0 1em; }
.legal-doc__callout { padding: 1rem 1.2rem; border-left: 3px solid var(--danger); border-radius: var(--radius-sm); background: var(--danger-bg); color: var(--ink-2); }
.legal-doc__table-wrap { overflow-x: auto; margin: 0 0 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.legal-doc__table-wrap:focus-visible { outline: none; box-shadow: var(--focus); }
.legal-doc__table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: var(--fs-sm); }
.legal-doc__table caption { padding: .75rem 1rem; text-align: left; font-weight: 700; color: var(--ink); }
.legal-doc__table th, .legal-doc__table td { padding: .75rem 1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.legal-doc__table thead th { background: var(--tint); color: var(--ink); }
.legal-doc__table tbody th { font-weight: 700; color: var(--ink); }
.legal-doc__address { font-style: normal; }

/* Notice at collection shown above each form's submit button */
.form-privacy { margin: 0; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--tint); font-size: .8125rem; line-height: 1.55; color: var(--ink-2); }
.form-privacy p { margin: 0; }
.form-privacy p + p { margin-top: .45rem; }
.form-privacy strong { color: var(--ink); }
@media (max-width: 720px) { .footer-bottom { padding-bottom: 8rem; } }
.footer-top { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.footer-top .icon { transform: rotate(-90deg); width: 1rem; height: 1rem; }

/* ---------- Modals ---------- */
.modal {
  width: min(640px, calc(100% - 2rem)); max-height: min(92vh, 900px); max-height: min(92dvh, 900px);
  padding: 0; margin: auto; border: 0; border-radius: var(--radius-xl);
  background: var(--surface); color: var(--ink-2); box-shadow: 0 40px 100px -30px rgba(6,20,45,.55);
  overflow: hidden;
}
.modal--sm { width: min(520px, calc(100% - 2rem)); }
.modal::backdrop { background: rgba(8, 24, 52, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { display: flex; }
.modal__panel { display: flex; flex-direction: column; width: 100%; max-height: inherit; }
.modal__header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem 1.1rem 1.5rem; border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, #F3F8F7, #F5F3FA);
}
.modal__brand { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.modal__brand img { flex: none; width: 44px; height: 44px; padding: 3px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.modal__title { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin: 0; line-height: 1.2; }
.modal__title:focus { outline: none; }
.modal__title:focus-visible { box-shadow: none; text-decoration: underline; text-decoration-color: var(--turquoise); text-underline-offset: .2em; }
.modal__sub { margin: .15rem 0 0; font-size: .875rem; color: var(--ink-3); font-weight: 600; }
.modal__body { display: grid; gap: 1.25rem; padding: 1.5rem; overflow-y: auto; overscroll-behavior: contain; }

.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.mini-steps li { display: flex; flex-direction: column; gap: .45rem; padding: .75rem; border-radius: 12px; background: var(--tint); font-size: .8125rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.mini-steps span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: .75rem; color: #fff; background: var(--c-teal); }
.contact-list--modal { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .modal[open] { animation: modal-in .45s var(--ease-out); }
  .modal[open]::backdrop { animation: fade-in .35s var(--ease); }
  .modal.is-closing { animation: modal-out .22s var(--ease) forwards; }
  .modal.is-closing::backdrop { animation: fade-out .22s var(--ease) forwards; }
}

/* ---------- Motion ---------- */
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.975); } to { opacity: 1; transform: none; } }
@keyframes modal-out { to { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: no-preference) {
  .hero__pill, .hero__line, .hero__lead, .hero__intro, .hero__actions, .hero__trust { animation: rise .9s var(--ease-out) both; }
  .hero__line:nth-child(1) { animation-delay: .08s; }
  .hero__line:nth-child(2) { animation-delay: .18s; }
  .hero__line:nth-child(3) { animation-delay: .28s; }
  .hero__lead { animation-delay: .4s; }
  .hero__intro { animation-delay: .48s; }
  .hero__actions { animation-delay: .56s; }
  .hero__trust { animation-delay: .64s; }
  .hero-slider { animation: rise 1.1s var(--ease-out) .2s both; }

  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--reveal-delay, 0s); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
  .header-phone span { display: none; }
  .header-phone { width: 42px; height: 42px; justify-content: center; border: 1px solid var(--line); background: #fff; }
}

@media (max-width: 1140px) {
  .condition-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .condition-grid .condition-card:last-child { grid-column: span 1; }
  .condition-grid .condition-card:last-child ul { grid-template-columns: 1fr; }
}

/* Header switches to the menu button a little earlier so the full desktop
   header (nav, phone, social icons, booking button) never gets cramped. */
@media (max-width: 1320px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: grid; }
  .site-header__actions { margin-left: auto; }

  .primary-nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0; z-index: 49;
    margin: 0; padding: 1.25rem var(--gutter) 2rem; overflow-y: auto;
    background: rgba(255,255,255,.98); border-top: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .3s var(--ease-out), visibility .3s;
  }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .3s var(--ease-out), visibility 0s; }
  .primary-nav__list { flex-direction: column; gap: 0; }
  .primary-nav__list li { border-bottom: 1px solid var(--line); }
  .primary-nav__list a { padding: 1rem .25rem; border-radius: 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--ink); }
  .primary-nav__list a::after { left: .25rem; right: auto; width: 32px; bottom: .6rem; }
  .primary-nav__list a:hover { background: none; color: var(--teal); }
  .primary-nav__mobile-extra { display: grid; gap: .75rem; margin-top: 1.75rem; }
  .primary-nav__note { margin: .5rem 0 0; font-size: .875rem; color: var(--ink-3); text-align: center; }
}

@media (max-width: 1000px) {

  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { max-width: 680px; }
  .hero-slider { order: -1; max-width: 640px; justify-self: start; }
  .hero-slider__frame { aspect-ratio: 5 / 4; }
  .zd-strip__card { grid-template-columns: auto minmax(0, 1fr); }
  .zd-strip__card > .btn { grid-column: 1 / -1; justify-self: start; }
  .hero-slider { --pos1: translate3d(3%, 3.5%, 0) rotate(2.5deg) scale(.94); --pos2: translate3d(-3%, 5.5%, 0) rotate(-3deg) scale(.9); }
  .hero-slide--compassion img { object-position: 50% 75%; }

  .provider { grid-template-columns: 1fr; }
  .provider__media { position: relative; top: auto; max-width: 420px; width: 100%; margin: 0 auto 2rem; }

  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .value-card:nth-child(2n) { border-right: 0; }
  .value-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .value-card:nth-last-child(-n+2) { border-bottom: 0; }

  .approach__split, .band__inner, .telehealth__grid, .faq__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .prep-card, .faq__aside { position: static; }
  .telehealth__intro h2 { max-width: 22ch; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .hero { padding-top: 1.5rem; }
  .hero-slider__frame { aspect-ratio: 4 / 3.4; }
  .hero-slider { --card-radius: var(--radius-lg); --pos1: translate3d(2.5%, 4%, 0) rotate(2deg) scale(.94); --pos2: translate3d(-2.5%, 6.5%, 0) rotate(-2.5deg) scale(.9); }
  .hero-slide__text { font-size: 1.05rem; }
  .hero-slide__kicker { font-size: .6875rem; }
  .hero-slider__controls { margin-top: 1.5rem; }
  .hero-slide--compassion img { object-position: 50% 82%; }
  .wa-fab { width: 52px; height: 52px; }
  .wa-fab__icon { width: 27px; height: 27px; }
  .emergency-bar__inner { justify-content: flex-start; text-align: left; align-items: flex-start; }
  .emergency-bar .icon { margin-top: .1rem; }
  .brand__sub { display: none; }
  .header-cta { display: none; }
  .brand__logo { width: 42px; height: 42px; }
  .brand__name { font-size: 1.375rem; }

  .hero__pill { font-size: .8125rem; align-items: flex-start; border-radius: 18px; padding-right: .9rem; }
  .hero__pill .icon { margin-top: -.1rem; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { flex-direction: column; gap: .6rem; }

  .provider__photo::before { inset: 6% -3% -4% 5%; }
  .zd-strip__card { grid-template-columns: 1fr; text-align: left; gap: 1rem; }
  .zd-strip { --zd-overlap: 1.5rem; }
  .zd-strip__brand { justify-items: start; padding: 0 0 1rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .zd-strip__card .btn { width: 100%; }
  .zd-inline { margin-top: -.75rem; }
  .prep-card__head { flex-direction: column; align-items: flex-start; }
  .provider__services { grid-template-columns: 1fr; }
  .provider__services div { flex-direction: row; align-items: center; }

  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 1.5rem; }
  .service-card--wide { flex-direction: column; }
  .condition-grid { grid-template-columns: 1fr; }
  .notice { flex-direction: column; }

  .value-grid { grid-template-columns: 1fr; }
  .value-card { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 1.6rem 1.4rem; }
  .value-card:last-child { border-bottom: 0 !important; }

  .form-row { grid-template-columns: 1fr; }
  .accordion__trigger { padding: 1rem; font-size: .975rem; }
  .accordion__inner > * { margin-inline: 1rem; }
  .dot-list--cols { columns: 1; }

  .footer-emergency { flex-direction: column; align-items: flex-start; padding: 1.35rem; }
  .footer-emergency .btn { margin-left: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand__row { flex-direction: column; align-items: flex-start; }

  .modal { width: 100%; max-width: none; max-height: 94dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .modal__header { padding: 1rem 1rem 1rem 1.15rem; }
  .modal__title { font-size: 1.3rem; }
  .modal__body { padding: 1.15rem; }
  .mini-steps { grid-template-columns: 1fr; }
  .mini-steps li { flex-direction: row; align-items: center; }
}

@media (max-width: 380px) {
  .brand__name { font-size: 1.25rem; }
  .header-phone { display: none; }
}

/* =========================================================
   Multi-page components (About, Services, Contact, Home previews)
   ========================================================= */

/* ---------- Inner-page hero + breadcrumb ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(2.25rem, 1.5rem + 3.5vw, 4.5rem) clamp(2.5rem, 1.75rem + 3vw, 4.25rem);
  border-bottom: 1px solid var(--line);
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 80% at 90% 10%, rgba(9,146,146,.14), transparent 70%),
    radial-gradient(45% 70% at 100% 100%, rgba(72,55,133,.10), transparent 70%),
    radial-gradient(50% 80% at 0% 0%, rgba(42,131,98,.12), transparent 70%),
    linear-gradient(180deg, #F8F9F7 0%, #F1F7F5 100%);
}
.page-hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em; max-width: 22ch; margin-bottom: .85rem; }
.page-hero__lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 64ch; margin: 0; }
.links-404 { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.25rem; padding: 0; list-style: none; font-size: .875rem; font-weight: 600; color: var(--ink-3); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--wellness-green-dark); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 700; }

/* ---------- Home: who we are + provider pane ---------- */
.home-who__matters { margin: 1.25rem 0 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); color: var(--navy); }
.provider-pane {
  display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); align-items: center;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); max-width: 1120px; margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) auto 0;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #F1F8F5, #F4F2FA); border: 1px solid var(--line); box-shadow: var(--shadow);
}
/* Portrait sits inside a soft mat so there is breathing room around the subject */
.provider-pane__media { padding: clamp(10px, .5rem + .6vw, 18px); border-radius: 220px 220px var(--radius-lg) var(--radius-lg); background: linear-gradient(160deg, #FFFFFF, var(--tint)); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.provider-pane__media img { width: 100%; height: auto; aspect-ratio: 1145 / 1374; object-fit: cover; object-position: 50% 0; border-radius: 210px 210px calc(var(--radius-lg) - 6px) calc(var(--radius-lg) - 6px); }
.provider-pane__caption {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .75rem;
  font-size: .875rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--wellness-green-dark);
}
.provider-pane__caption::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--wellness-green); }
.provider-pane__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: .35rem; }
.provider-pane__name span { display: block; margin-top: .35rem; font-family: var(--font-body); font-size: .5em; font-weight: 800; letter-spacing: .06em; color: var(--teal); }
.provider-pane__role { margin-bottom: 1rem; font-weight: 700; color: var(--ink); }
.provider-pane__body > p:not([class]) { max-width: 60ch; font-size: var(--fs-sm); }
.provider-pane__actions, .provider__actions, .home-contact__actions, .band__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Home: condition tiles ---------- */
.cond-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
/* Colour-coded pastel tiles (palette carried over from the previous site) */
.cond-tile {
  --tile-bg: #c4dfc9; --accent: #2A6B3E;
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: .75rem; height: 100%;
  padding: 1.35rem 1.35rem 1.2rem; overflow: hidden; border-radius: var(--radius);
  background: var(--tile-bg); border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--tile-bg)); color: var(--ink); text-decoration: none;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
}
.cond-tiles li:nth-child(8n+1) .cond-tile { --tile-bg: #f6c5b9; --accent: #9A3B22; } /* coral */
.cond-tiles li:nth-child(8n+2) .cond-tile { --tile-bg: #b9dce9; --accent: #11577A; } /* blue */
.cond-tiles li:nth-child(8n+3) .cond-tile { --tile-bg: #f4df9b; --accent: #775700; } /* yellow */
.cond-tiles li:nth-child(8n+4) .cond-tile { --tile-bg: #d7c9e8; --accent: #5B3F8C; } /* purple */
.cond-tiles li:nth-child(8n+5) .cond-tile { --tile-bg: #c4dfc9; --accent: #2A6B3E; } /* green */
.cond-tiles li:nth-child(8n+6) .cond-tile { --tile-bg: #f3c99d; --accent: #8A4A0F; } /* orange */
.cond-tiles li:nth-child(8n+7) .cond-tile { --tile-bg: #b9dfd7; --accent: #0E6B5C; } /* teal */
.cond-tiles li:nth-child(8n+8) .cond-tile { --tile-bg: #edc7d8; --accent: #8E2F5C; } /* pink */
.cond-tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent); }
.cond-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--tile-bg)); color: var(--ink); }
.cond-tile:focus-visible { border-radius: var(--radius); }
.cond-tile__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--accent); background: rgba(255,255,255,.72); }
.cond-tile__icon .icon { width: 22px; height: 22px; }
.cond-tile__num { position: absolute; top: 1.15rem; right: 1.25rem; font-family: var(--font-display); font-size: 1.35rem; color: color-mix(in srgb, var(--accent) 45%, var(--tile-bg)); }
.cond-tile__title { font-weight: 800; font-size: 1rem; line-height: 1.35; }
.cond-tile__more { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 700; color: var(--accent); }
.cond-tile__more .icon { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.cond-tile:hover .cond-tile__more .icon { transform: translateX(3px); }

.notice--scope { align-items: center; margin-top: 1.5rem; background: #EDF7F2; border-color: #C4E3D4; }
.notice--scope .notice__icon { background: var(--wellness-green); }
.notice__text { margin: 0; }
.notice__text strong { color: var(--ink); font-weight: 700; }
.section-cta { display: flex; justify-content: center; margin-top: 2rem; }

/* ---------- Home: contact preview ---------- */
.home-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.contact-list--compact { margin: 0; }
.contact-item--static:hover { transform: none; box-shadow: none; border-color: var(--line); }
address.contact-item__value { font-style: normal; line-height: 1.45; }

/* ---------- Home: patient testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.testimonial-grid > li { display: flex; }
.testimonial {
  position: relative; display: flex; flex-direction: column; gap: .9rem; width: 100%;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); overflow: hidden; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.testimonial::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--turquoise), var(--wellness-green)); }
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.testimonial__mark { position: absolute; top: -.1em; right: .3em; font-family: var(--font-display); font-size: 7rem; line-height: 1; color: var(--tint-2); pointer-events: none; }
.testimonial__title { position: relative; margin: 0; font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: clamp(1.3rem, 1.15rem + .5vw, 1.5rem); line-height: 1.25; color: var(--navy); }
.testimonial__quote { position: relative; flex: 1; margin: 0; }
.testimonial__quote p { margin: 0; line-height: 1.7; color: var(--ink-2); }
.testimonial__by { display: flex; align-items: center; gap: .5rem; margin: 0; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 700; color: var(--wellness-green-dark); }
.testimonial__by .icon { width: 1rem; height: 1rem; }
.testimonials__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; margin-top: 2.25rem; text-align: center; }
.testimonials__cta p { margin: 0; font-weight: 600; color: var(--ink-2); }
@media (max-width: 1000px) { .testimonial-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; } }

/* Review form (modal) */
.review-modal .form-row { align-items: start; }
.rating-field { margin: 0; padding: 0; border: 0; }
.rating-field legend { margin-bottom: .4rem; padding: 0; font-weight: 700; color: var(--ink); font-size: .9375rem; }
.rating { display: flex; gap: .25rem; }
.rating input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; }
.rating label { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: var(--line-strong); cursor: pointer; transition: color .15s, transform .15s var(--ease-out); }
.rating label .icon { width: 30px; height: 30px; fill: currentColor; stroke-width: 1.25; }
.rating label:has(~ input:checked), .rating input:checked + label { color: #E0A21B; }
.rating:hover label { color: var(--line-strong); }
.rating label:hover, .rating label:has(~ label:hover) { color: #E0A21B; }
.rating label:hover { transform: scale(1.1); }
.rating input:focus-visible + label { box-shadow: var(--focus); }
.rating-field.is-invalid .field__error, .field--check.is-invalid .field__error { display: block; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500 !important; font-size: .875rem !important; line-height: 1.5; color: var(--ink-2) !important; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; min-height: 0; margin-top: .1rem; padding: 0; -webkit-appearance: checkbox; appearance: auto; accent-color: var(--wellness-green); box-shadow: none !important; }
.check input:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 2px; }

/* ---------- About: who we are ---------- */
.who__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.who__text p { max-width: 66ch; }
.who__lead { font-size: var(--fs-lead); font-weight: 600; line-height: 1.55; color: var(--ink); }
.who__card {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem); border-radius: var(--radius-xl); color: #D9E3F1;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(9,146,146,.35), transparent 60%),
    linear-gradient(150deg, var(--c-navy), #0A3A6B 60%, var(--c-teal));
  box-shadow: var(--shadow-lg);
}
.who__card img { width: 72px; height: 72px; padding: 6px; margin-bottom: 1.25rem; border-radius: 50%; background: #fff; }
.who__matters { margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); line-height: 1.3; color: #fff; }
.who__matters em { color: #A9E5D0; }
.who__appt { display: flex; gap: .6rem; margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.16); font-size: .9375rem; }
.who__appt .icon { color: #A9E5D0; margin-top: .15em; }

.chip--green { color: var(--wellness-green-dark); background: #E6F3EC; border-color: #C3E2D1; }

/* ---------- Services page ---------- */
.jump-links ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.jump-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: .45rem .95rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: .875rem; font-weight: 700; text-decoration: none;
  transition: border-color .2s, color .2s, background-color .2s;
}
.jump-links a:hover { border-color: var(--wellness-green); color: var(--wellness-green-dark); background: #F3FAF6; }
.condition-grid--page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.condition-grid.condition-grid--page .condition-card--wide { grid-column: 1 / -1; }
.condition-grid--page .condition-card { padding: 1.6rem 1.6rem 1.7rem; scroll-margin-top: calc(var(--header-h) + 24px); transition: box-shadow .3s, border-color .3s; }
.condition-grid--page .condition-card:target { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent), var(--shadow); }
.condition-card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.0625rem; margin-bottom: 1rem; line-height: 1.3; }
.condition-card h3 .icon { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, #fff); }
.condition-card__num { font-family: var(--font-display); font-size: .95rem; font-weight: 500; color: var(--ink-3); min-width: 1.4em; }
.condition-card__intro { margin: 0 0 1rem; font-size: .925rem; }
.condition-grid--page .condition-card ul { font-size: .95rem; }

/* ---------- Buttons on dark bands ---------- */
/* On the navy bands this pairs with a white button, so it is green */
.btn--outline-light { --btn-bg: var(--wellness-green); --btn-fg: #fff; --btn-bd: transparent; box-shadow: 0 8px 20px -8px rgba(0,0,0,.45); }
.btn--outline-light:hover { --btn-bg: #1F6B4F; --btn-fg: #fff; transform: translateY(-1px); }
.site-footer :focus-visible, .band :focus-visible, .who__card :focus-visible { box-shadow: 0 0 0 3px var(--c-navy), 0 0 0 5px #7fd6cf; }

/* ---------- Contact page ---------- */
.contact__info > .h2-sm { margin-bottom: 1.25rem; }
.form-card__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); margin-bottom: .4rem; }
.field__optional { font-weight: 500; font-size: .85rem; color: var(--ink-3); }
.info-panels__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.info-panel {
  scroll-margin-top: calc(var(--header-h) + 24px);
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.info-panel h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); margin-bottom: 1rem; }
.info-panel p { font-size: var(--fs-sm); }
.info-panel__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1rem; border-radius: 50%; color: var(--teal); background: #E3F2F2; }
.info-panel--alert { background: #FFFBFA; border-color: var(--danger-line); }
.info-panel--alert .info-panel__icon { color: var(--danger); background: var(--danger-bg); }
.info-panel--alert a { color: var(--danger); font-weight: 800; }
.info-panel:target { box-shadow: 0 0 0 3px rgba(42,131,98,.25), var(--shadow); }

/* ---------- Shared footer ---------- */
.site-footer .footer-brand__row { display: inline-flex; text-decoration: none; }
.site-footer .footer-brand__row:hover { text-decoration: none; }
.footer-brand__badge img { width: 60px; height: 60px; }
.footer-brand__name { display: block; max-width: none; }
.footer-brand__sub { display: block; margin-top: .2rem; font-size: .8125rem; font-weight: 600; letter-spacing: .03em; color: #9DB0CC; }
.footer-brand__label { margin: 1.25rem 0 .35rem; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8FA6C8; }
.footer-brand__mission { margin: 0 0 1.25rem; max-width: 30ch; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.4; color: #fff; }
.footer-col nav + nav { margin-top: 1.75rem; }
.footer-address { margin: 0 0 .9rem; font-style: normal; line-height: 1.6; color: #E7EEF8; }
.footer-address a { color: inherit; text-decoration: underline; text-decoration-color: rgba(231,238,248,.35); }
.footer-address a:hover { color: #fff; text-decoration-color: #7fd6cf; }
.footer-emergency__text { margin: 0; font-size: 1rem; line-height: 1.55; }
.footer-emergency__text strong { color: #fff; }

@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .cond-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .provider-pane { grid-template-columns: minmax(0, 290px) minmax(0, 1fr); }
  .who__grid, .home-contact__grid, .info-panels__grid { grid-template-columns: minmax(0, 1fr); }
  .who__card { position: static; }
}
@media (max-width: 720px) {
  .provider-pane { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .provider-pane__media { max-width: 340px; }
  .provider-pane__actions .btn, .provider__actions .btn, .home-contact__actions .btn, .band__actions .btn { flex: 1 1 100%; }
  .condition-grid--page { grid-template-columns: minmax(0, 1fr); }
  .jump-links ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
  .jump-links a { white-space: nowrap; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .cond-tiles { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Contact form: spam trap + success note ---------- */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.request-form { position: relative; }
.form-success__note {
  margin: 1.25rem 0; padding: .9rem 1.05rem; border-radius: 12px;
  background: var(--danger-bg); border: 1px solid var(--danger-line); color: #5A1A14; font-size: .9rem;
}
.form-success__note a { color: var(--danger); font-weight: 800; }
.form-alert:focus { outline: none; }
.form-alert:focus-visible { box-shadow: var(--focus); }

/* ---------- About: founder card + animated signature ---------- */
.founder-card {
  margin-top: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  padding: 1.25rem 1.4rem 1.2rem; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.founder-card__top { display: flex; align-items: center; gap: .85rem; }
.founder-card__logo { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -8px rgba(12,46,100,.4); }
.founder-card__logo img { width: 40px; height: 40px; }
.founder-card__text { display: flex; flex-direction: column; margin: 0; line-height: 1.2; }
.founder-card__label { font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--wellness-green-dark); }
.founder-card__org { margin-top: .2rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--ink); }

.signature { margin-top: 1rem; padding-top: .6rem; border-top: 1px dashed var(--line-strong); }
.signature__name {
  /* inline-block: the reveal mask must match the width of the written name,
     not the card, or the pen appears to finish early */
  display: inline-block; max-width: 100%; padding: .05em .15em 0 .1em; overflow: visible;
  font-family: "Mrs Saint Delafield", "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(2.6rem, 2.1rem + 2.2vw, 3.5rem); line-height: 1.25; font-weight: 400;
  color: var(--navy); white-space: nowrap;
}
.signature__flourish { display: block; width: 78%; height: 16px; margin: -.55rem 0 0 .4rem; overflow: visible; }
.signature__flourish path { fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.signature__role { display: block; margin-top: .6rem; font-size: .8125rem; font-weight: 700; letter-spacing: .02em; color: var(--ink-3); }

/* The ink is revealed left-to-right behind a soft edge, as if written with a pen,
   then the flourish is drawn. Only with JS and when motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
  .js .signature__name {
    -webkit-mask-image: linear-gradient(90deg, #000 0 46.5%, transparent 53.5% 100%);
            mask-image: linear-gradient(90deg, #000 0 46.5%, transparent 53.5% 100%);
    /* 215% width puts the soft edge just outside the name at both ends, so the
       pen stroke crosses the whole name for the full duration */
    -webkit-mask-size: 215% 100%; mask-size: 215% 100%;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: 100% 0; mask-position: 100% 0;
    transition: -webkit-mask-position 2.4s cubic-bezier(.45, .05, .55, .95), mask-position 2.4s cubic-bezier(.45, .05, .55, .95);
  }
  .js .signature__flourish path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.4, 0, .2, 1) 2.2s; }
  .js .signature__role { opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease) 2.7s, transform .6s var(--ease-out) 2.7s; }
  .js .signature.is-signed .signature__name { -webkit-mask-position: 0 0; mask-position: 0 0; }
  .js .signature.is-signed .signature__flourish path { stroke-dashoffset: 0; }
  .js .signature.is-signed .signature__role { opacity: 1; transform: none; }
}

@media (max-width: 1000px) {
  .provider__media { max-width: 440px; }
}
@media (max-width: 480px) {
  .founder-card { padding: 1.1rem 1.1rem 1rem; }
  .signature__name { font-size: clamp(2.3rem, 1.6rem + 4vw, 2.8rem); }
}

/* ---------- Social media icons (header, mobile menu, footer) ---------- */
.social { display: flex; align-items: center; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.social__link {
  --size: 36px;
  display: grid; place-items: center; width: var(--size); height: var(--size); border-radius: 50%;
  color: #fff; text-decoration: none; transform-origin: 50% 100%;
  box-shadow: 0 2px 6px rgba(12,46,100,.18);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.social__link .icon { width: 58%; height: 58%; }
.social__link:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 8px 16px -4px rgba(12,46,100,.35); }
.social__link:focus-visible { border-radius: 50%; }
.social__link--facebook { background: #1877F2; }
.social__link--instagram { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.social__link--instagram .icon { stroke-width: 2; }
.social__link--x, .social__link--tiktok { background: #000; }
.social__link--x .icon { width: 48%; height: 48%; }
.social__link--tiktok .icon { filter: drop-shadow(-1px -1px 0 #25F4EE) drop-shadow(1px 1px 0 #FE2C55); }

.social--header .social__link { --size: 32px; }
.social--menu { margin-top: .5rem; }
.social--menu .social__link { --size: 42px; }
.social--footer { margin: .9rem 0 1.25rem; }
.social--footer .social__link { box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.site-footer .social__link:hover { color: #fff; }
@media (max-width: 1320px) { .social--header { display: none; } }

/* Drop in like small bouncing balls (triggered from script.js) */
@keyframes ball-drop {
  0%   { transform: translateY(-170%); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  34%  { transform: translateY(0) scale(1.14, .84); opacity: 1; animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  52%  { transform: translateY(-45%) scale(.96, 1.05); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  68%  { transform: translateY(0) scale(1.07, .92); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  80%  { transform: translateY(-15%); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  90%  { transform: translateY(0) scale(1.03, .97); }
  100% { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .social.is-dropping .social__link { animation: ball-drop 1.1s backwards; animation-delay: calc(var(--i, 0) * 110ms); }
  .social.is-armed:not(.is-dropping) .social__link { opacity: 0; }
}

/* =========================================================
   Editorial redesign
   Warm cream canvas, Fraunces display at regular weight with tight tracking,
   Satoshi body, colour-blocked surfaces instead of shadowed cards, hairline
   rules, and editorial list layouts in place of equal card grids.
   All brand colours are kept; buttons stay green or white.
   ========================================================= */

/* ---------- Type ---------- */
body { letter-spacing: -0.003em; }
h1, h2 { font-weight: 400; letter-spacing: -0.028em; line-height: 1.06; }
h2 { font-size: var(--fs-h2); }
h3 { font-weight: 700; letter-spacing: -0.012em; }
.h2-sm { font-weight: 400; letter-spacing: -0.02em; }

/* Section labels: italic serif in sentence case instead of spaced capitals */
.eyebrow {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem); letter-spacing: 0; text-transform: none;
  color: var(--wellness-green-dark);
}
.eyebrow::before { width: 32px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow--light { color: #BFE6E3; }
.eyebrow--light::before { background: currentColor; }
.provider-pane__caption, .founder-card__label {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 1.0625rem; letter-spacing: 0; text-transform: none;
}

/* Fine grain over the whole page breaks the digital flatness */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="dark"] body::after { opacity: .05; mix-blend-mode: screen; }

/* ---------- Buttons: softer editorial corners (colours unchanged) ---------- */
.btn { border-radius: 12px; font-weight: 700; letter-spacing: 0; }
.btn--sm { border-radius: 10px; }
.btn--lg { border-radius: 14px; }
.wa-panel__cta { border-radius: 12px; }
.btn--primary, .btn--zocdoc { box-shadow: 0 1px 2px rgba(31,107,79,.25), 0 10px 22px -12px rgba(31,107,79,.55); }
.btn--ghost { --btn-bd: var(--line-strong); box-shadow: none; }

/* ---------- Header ---------- */
.site-header::before { background: rgba(250,247,240,.8); }
.site-header.is-scrolled::before { background: rgba(255,253,248,.92); box-shadow: 0 8px 24px -20px rgba(62,46,22,.45); }
.brand__name { font-weight: 500; }
.primary-nav__list a { font-weight: 500; color: var(--ink-2); }
.nav-toggle, .hero-slider__arrow, .hero-slider__pause { background: var(--surface); }
@media (max-width: 1440px) { .header-phone { background: var(--surface); } }
@media (max-width: 1320px) {
  .primary-nav { background: rgba(250,247,240,.98); }
  .primary-nav__list a { font-weight: 400; }
}

/* ---------- Hero ---------- */
.hero__bg {
  background:
    radial-gradient(55% 60% at 88% 18%, rgba(9,146,146,.10), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(42,131,98,.08), transparent 70%),
    var(--bg);
}
.hero__title { font-size: clamp(2.5rem, 1.45rem + 3.1vw, 4rem); font-weight: 400; line-height: 1.02; letter-spacing: -0.035em; }
.hero__line--accent { font-weight: 300; }
.hero__lead { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.pill { background: var(--surface); box-shadow: none; font-weight: 500; }
.page-hero { border-bottom: 0; }
.page-hero__bg {
  background:
    radial-gradient(50% 80% at 92% 0%, rgba(9,146,146,.09), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--tint));
}
.page-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.25rem); font-weight: 400; letter-spacing: -0.032em; }
.zd-strip { background: linear-gradient(180deg, transparent var(--zd-overlap), var(--bg) var(--zd-overlap)); }
.zd-strip__card, .zd-card { background: var(--surface); box-shadow: var(--shadow); }

/* ---------- Section heads: left-aligned, headline and lead side by side ---------- */
.section-head--center { margin-inline: 0; text-align: left; }
.section-head--center .eyebrow { justify-content: flex-start; }
@media (min-width: 1001px) {
  .section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: clamp(2.5rem, 5vw, 6rem); max-width: none; align-items: end; }
  .section-head > .eyebrow, .section-head > h2 { grid-column: 1; }
  .section-head > h2 { margin-bottom: 0; }
  .section-head > p:not(.eyebrow) { grid-column: 2; margin: 0; }
  .section-head > .section-head__lead { grid-row: 2; }
  .section-head > .section-head__lead + p { grid-row: 3; margin-top: 1rem; }
}

/* ---------- Surfaces: colour blocks and hairlines instead of shadowed white cards ---------- */
.service-card, .condition-card, .info-panel, .question-card, .tele-point, .contact-item,
.founder-card, .accordion__item, .testimonial, .form-card, .prep-card, .consider-card {
  box-shadow: none;
}
.form-card, .prep-card { background: var(--surface); border-color: var(--line); }
.provider-pane { background: var(--tint); border-color: transparent; box-shadow: none; }
.provider-pane__media { background: var(--surface); box-shadow: var(--shadow); }
.provider__quote { background: var(--tint); }
.consider-card { background: var(--surface); border-color: var(--line); }
.consider-card__foot { border-top-color: var(--line); }
.notice { background: var(--tint); border-color: var(--line); }
.notice--scope { background: #EEF2E8; border-color: #D6E2CF; }
.chip { color: var(--ink); background: var(--tint); border-color: var(--line); }
.value-card:hover { background: none; }
.jump-links a:hover { background: var(--tint); }
.prep-item { background: var(--bg); }
.prep-item__box { background: var(--surface); }
.prep-item:has(input:checked) { background: #EEF2E8; border-color: #CFE0CB; }
.step__num { background: var(--surface); }
.telehealth { background: linear-gradient(180deg, var(--tint), var(--bg)); }
.accordion__item--alert, .info-panel--alert { background: #FFF8F5; }
.contact-item:hover { border-color: var(--line-strong); box-shadow: none; }
.modal__header { background: var(--tint); }
.wa-panel { background: var(--surface); }
.wa-panel__body { background: var(--bg); }
.field input, .field textarea { background: var(--surface); }
.field input:focus, .field textarea:focus { background: #fff; }
.service-card--wide { background: none; }

/* ---------- Services: an editorial two-column list instead of a card grid ---------- */
.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 5rem); }
.service-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.25rem; align-content: start;
  padding: 1.75rem 0 2rem; background: none; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0;
}
.service-card:hover { transform: none; box-shadow: none; border-color: var(--wellness-green); }
.service-card__icon { grid-row: span 2; width: 44px; height: 44px; margin: .15rem 0 0; border-radius: 12px; box-shadow: none; }
.service-card h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 1.2rem + .5vw, 1.6rem); letter-spacing: -0.015em; margin-bottom: .5rem; }
.service-card p { font-size: var(--fs-base); max-width: 52ch; }
.service-card--wide { grid-column: 1 / -1; display: grid; gap: 0 1.25rem; }
.service-card--wide > div { min-width: 0; }
.service-card--wide p { max-width: 80ch; }
@media (max-width: 720px) { .service-grid { grid-template-columns: minmax(0, 1fr); } .service-card { padding: 1.5rem 0 1.75rem; } }

/* ---------- About: values as a numbered editorial list ---------- */
.value-grid { counter-reset: value; gap: 0 clamp(2rem, 4vw, 4rem); border: 0; border-radius: 0; background: none; overflow: visible; }
.value-card {
  position: relative; counter-increment: value; padding: 1.75rem 3rem 2.25rem 0;
  border: 0 !important; border-top: 1px solid var(--line-strong) !important; transition: border-color .3s var(--ease);
}
.value-card:hover { border-top-color: var(--wellness-green) !important; }
.value-card::after {
  content: counter(value, decimal-leading-zero); position: absolute; top: 1.6rem; right: 0;
  font-family: var(--font-display); font-style: italic; font-size: 1.125rem; color: var(--ink-3);
}
.value-card__icon { width: 40px; height: 40px; margin-bottom: 1rem; }
.value-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; letter-spacing: -0.015em; }
.value-card p { font-size: var(--fs-base); }

/* ---------- Home: conditions as an index of rows (pastel swatches kept) ---------- */
.cond-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 5rem); border-top: 1px solid var(--line-strong); }
.cond-tile {
  grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; gap: 1.1rem;
  height: 100%; padding: 1.1rem .5rem; overflow: visible;
  background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink);
  transition: background-color .3s var(--ease), padding .35s var(--ease-out);
}
.cond-tile::before { display: none; }
.cond-tile:hover { transform: none; box-shadow: none; color: var(--ink); background: color-mix(in srgb, var(--tile-bg) 38%, transparent); padding-inline: 1rem .75rem; }
.cond-tile__num { position: static; order: -1; min-width: 1.8em; font-size: 1.05rem; font-style: italic; color: var(--ink-3); }
.cond-tile__icon { width: 42px; height: 42px; background: var(--tile-bg); }
.cond-tile__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.1rem, 1.02rem + .35vw, 1.3rem); letter-spacing: -0.01em; }
.cond-tile__more { font-size: 0; gap: 0; color: var(--ink-3); }
.cond-tile__more .icon { width: 1.25rem; height: 1.25rem; }
.cond-tile:hover .cond-tile__more { color: var(--accent); }
.cond-tile:focus-visible { border-radius: 8px; }
@media (max-width: 1000px) { .cond-tiles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Testimonials: one featured quote beside two ---------- */
.testimonial { background: var(--surface); border-color: var(--line); }
.testimonial::before { display: none; }
.testimonial__title { font-weight: 400; }
@media (min-width: 1001px) {
  .testimonial-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.25rem; }
  .testimonial-grid > li:first-child { grid-row: span 2; }
  .testimonial-grid > li:first-child .testimonial {
    justify-content: space-between; padding: clamp(2rem, 1.5rem + 2vw, 3rem);
    color: #D9E3F1; background: radial-gradient(70% 60% at 100% 0%, rgba(9,146,146,.28), transparent 60%), var(--c-navy); border-color: transparent;
  }
  .testimonial-grid > li:first-child .testimonial__title { color: #fff; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); }
  .testimonial-grid > li:first-child .testimonial__quote p { color: #D9E3F1; font-family: var(--font-display); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 1.5; letter-spacing: -0.01em; }
  .testimonial-grid > li:first-child .testimonial__mark { color: rgba(255,255,255,.08); font-size: 11rem; }
  .testimonial-grid > li:first-child .testimonial__by { color: #A9E5D0; border-top-color: rgba(255,255,255,.14); }
}

/* ---------- FAQ: a hairline list, not boxed cards ---------- */
.accordion { gap: 0; border-top: 1px solid var(--line-strong); }
.accordion__item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.accordion__item.is-open { border-color: var(--line); box-shadow: none; }
.accordion__trigger { padding: 1.35rem .25rem; border-radius: 6px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.1rem, 1.02rem + .35vw, 1.3rem); letter-spacing: -0.01em; }
.accordion__inner > * { margin-inline: .25rem 3.5rem; }
.accordion__item--alert .accordion__trigger { color: #7A1A10; }
@media (max-width: 720px) {
  .accordion__trigger { padding: 1.15rem 0; font-size: 1.1rem; }
  .accordion__inner > * { margin-inline: 0; }
}

/* ---------- Services page: condition groups ---------- */
.condition-card { background: var(--surface); border-color: var(--line); }
.condition-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; letter-spacing: -0.015em; }

/* ---------- Bands ---------- */
.band {
  background:
    radial-gradient(50% 90% at 0% 100%, rgba(9,146,146,.32), transparent 60%),
    radial-gradient(40% 80% at 100% 0%, rgba(72,55,133,.3), transparent 60%),
    linear-gradient(120deg, var(--c-navy), #0A3A6B 60%, var(--c-teal));
}
.band h2 { font-weight: 400; font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }

/* ---------- Footer: brand statement, two link groups, services as an index line ---------- */
.footer-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .9fr);
  grid-template-areas: "brand explore contact" "services services services";
  gap: 2.5rem clamp(2rem, 5vw, 5rem);
}
.footer-brand { grid-area: brand; }
.footer-grid > div.footer-col:not(:last-child) { grid-area: explore; }
.footer-grid > .footer-col:last-child { grid-area: contact; }
.footer-grid > nav.footer-col { grid-area: services; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.12); }
.footer-grid > nav.footer-col ul { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 0; }
.footer-brand__mission { max-width: 22ch; font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); line-height: 1.25; font-weight: 400; letter-spacing: -0.015em; }
.footer-col__title { letter-spacing: .12em; }
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "brand brand" "explore contact" "services services"; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "explore" "contact" "services"; }
  .footer-grid > nav.footer-col ul { flex-direction: column; gap: .55rem; }
}

/* ---------- Dark theme counterparts for the redesign ---------- */
[data-theme="dark"] .site-header::before { background: rgba(10,19,32,.8); }
[data-theme="dark"] .hero__bg, [data-theme="dark"] .page-hero__bg {
  background:
    radial-gradient(55% 60% at 88% 18%, rgba(9,146,146,.16), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(42,131,98,.14), transparent 70%),
    var(--bg);
}
[data-theme="dark"] .notice--scope, [data-theme="dark"] .prep-item:has(input:checked) { background: #0E2320; border-color: #1E4238; }
[data-theme="dark"] .accordion__item--alert .accordion__trigger { color: #F4B4AE; }
[data-theme="dark"] .accordion__item--alert, [data-theme="dark"] .info-panel--alert { background: var(--danger-bg); }
[data-theme="dark"] .field input:focus, [data-theme="dark"] .field textarea:focus { background: var(--bg); }
[data-theme="dark"] .cond-tile, [data-theme="dark"] .cond-tile:hover { color: var(--ink); }
[data-theme="dark"] .cond-tile:hover { background: color-mix(in srgb, var(--tile-bg) 12%, transparent); }
[data-theme="dark"] .cond-tile__icon { background: color-mix(in srgb, var(--tile-bg) 85%, var(--bg)); }
[data-theme="dark"] .cond-tile:hover .cond-tile__more { color: var(--tile-bg); }


/* =========================================================
   Experience layer: theme toggle, header behaviour, mobile book bar,
   carousels, page transitions, motion polish and the dark theme
   ========================================================= */

:root { color-scheme: light; }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  position: relative; display: grid; place-items: center; flex: none; width: 42px; height: 42px; padding: 0;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--navy); cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease-out);
}
.theme-toggle:hover { border-color: var(--wellness-green); transform: rotate(-12deg); }
.theme-toggle:focus-visible { border-radius: 50%; }
.theme-toggle .icon { grid-area: 1 / 1; width: 19px; height: 19px; transition: opacity .3s var(--ease), transform .5s var(--ease-out); }
.theme-toggle .icon--sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
[data-theme="dark"] .theme-toggle .icon--sun { opacity: 1; transform: none; color: #FFD08A; }
[data-theme="dark"] .theme-toggle .icon--moon { opacity: 0; transform: rotate(90deg) scale(.5); }
@media (max-width: 1320px) { .theme-toggle { width: 46px; height: 46px; border-radius: 12px; } .theme-toggle:focus-visible { border-radius: 12px; } }

/* Theme switch: a circular reveal from the toggle (View Transitions), or a
   short colour cross-fade in browsers without it */
html.is-theme-vt::view-transition-old(root),
html.is-theme-vt::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.is-theme-fading, html.is-theme-fading *, html.is-theme-fading *::before, html.is-theme-fading *::after {
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), fill .35s, stroke .35s !important;
}

/* ---------- Header: hide on scroll down, return on scroll up ---------- */
.site-header { transition: transform .4s var(--ease-out); }
html.is-header-hidden .site-header { transform: translateY(calc(-100% - 2px)); }
.brand__logo { transition: transform .35s var(--ease-out); }
.site-header.is-scrolled .brand__logo { transform: scale(.92); }

/* Reading progress line along the bottom of the header */
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--turquoise), var(--wellness-green));
  transform: scaleX(var(--progress, 0)); transform-origin: 0 50%;
  opacity: 0; transition: opacity .3s var(--ease);
}
.site-header.is-scrolled .scroll-progress { opacity: 1; }

/* ---------- Services: sticky jump links with the active group highlighted ---------- */
.jump-links {
  position: sticky; top: calc(var(--header-h) + 10px); z-index: 20;
  margin: 0 0 2rem; padding: .4rem; border-radius: 999px; border: 1px solid transparent;
  transition: top .4s var(--ease-out), background-color .3s, border-color .3s, box-shadow .3s;
}
html.is-header-hidden .jump-links { top: 10px; }
.js .jump-links[data-reveal] { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), top .4s var(--ease-out), background-color .3s, border-color .3s, box-shadow .3s; }
.jump-links.is-stuck {
  background: color-mix(in srgb, var(--surface) 86%, transparent); border-color: var(--line); box-shadow: var(--shadow);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.jump-links ul {
  flex-wrap: nowrap; overflow-x: auto; margin: 0; padding: 0; scrollbar-width: none; scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  padding-inline: 8px;
}
.jump-links ul::-webkit-scrollbar { display: none; }
.jump-links a { white-space: nowrap; }
.jump-links a.is-active { color: #fff; background: var(--wellness-green); border-color: var(--wellness-green); }
.condition-grid--page .condition-card { scroll-margin-top: calc(var(--header-h) + 88px); }
@media (max-width: 720px) {
  .jump-links { margin-inline: calc(var(--gutter) * -.5); }
  .jump-links ul { margin: 0; padding-bottom: 0; }
}

/* ---------- Mobile: sticky booking bar ---------- */
.book-bar { display: none; }
@media (max-width: 720px) {
  .book-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 44;
    display: flex; gap: .6rem; align-items: center;
    padding: .7rem max(16px, env(safe-area-inset-right)) max(.7rem, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: color-mix(in srgb, var(--surface) 90%, transparent); border-top: 1px solid var(--line);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    box-shadow: 0 -12px 30px -18px rgba(8,24,52,.35);
    transform: translateY(110%); visibility: hidden;
    transition: transform .45s var(--ease-out), visibility 0s .45s;
  }
  .book-bar.is-visible { transform: none; visibility: visible; transition: transform .45s var(--ease-out), visibility 0s; }
  .book-bar__book { flex: 1; min-height: 48px; }
  .book-bar__call {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem; flex: none;
    min-height: 48px; padding: 0 1.1rem; border-radius: 999px; border: 1.5px solid var(--line-strong);
    font-weight: 700; color: var(--c-navy); text-decoration: none; background: #fff; border-color: #C7D3D6;
  }
  .book-bar__call .icon { width: 1.05rem; height: 1.05rem; color: var(--wellness-green); }
  /* Lift the WhatsApp button clear of the bar */
  .wa-widget { transition: transform .45s var(--ease-out); }
  html.has-book-bar .wa-widget { transform: translateY(calc(-1 * var(--book-bar-h, 72px))); }
}

/* ---------- Privacy choice banners (home page) ----------
   Fixed to the bottom; the second banner stacks above the first. Accept and
   reject share one button style so neither choice is visually favoured. */
.consent-stack {
  position: fixed; z-index: 60;
  left: 50%; transform: translateX(-50%);
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(720px, calc(100% - 32px));
  display: flex; flex-direction: column-reverse; gap: 12px;
  pointer-events: none;
}
html.has-book-bar .consent-stack { bottom: calc(var(--book-bar-h, 72px) + 12px); }
.consent-banner {
  pointer-events: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface); color: var(--ink-2);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.consent-banner[hidden] { display: none; }
.consent-banner__text { flex: 1 1 320px; min-width: 0; }
.consent-banner__title { margin: 0 0 .35rem; font-size: 1.125rem; }
.consent-banner p { margin: 0; font-size: .875rem; line-height: 1.55; }
.consent-banner p + p { margin-top: .4rem; }
.consent-banner__gpc, .consent-banner__current { font-weight: 700; color: var(--ink); }
.consent-banner__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.consent-banner__actions .btn { min-width: 8.5rem; min-height: 44px; }
@media (max-width: 480px) {
  .consent-banner { padding: 1rem; }
  .consent-banner__actions { width: 100%; }
  .consent-banner__actions .btn { flex: 1 1 0; min-width: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .consent-banner:not([hidden]) { animation: consent-in .45s var(--ease-out) both; }
}
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Testimonials: swipeable carousel on phones ---------- */
.carousel-dots { display: none; }
@media (max-width: 720px) {
  .testimonial-grid {
    display: flex; gap: .9rem; max-width: none; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: .5rem var(--gutter) 1.25rem;
    scroll-padding-inline: var(--gutter);
  }
  .testimonial-grid::-webkit-scrollbar { display: none; }
  .testimonial-grid > li { flex: 0 0 min(86%, 420px); scroll-snap-align: center; }
  .testimonial:hover { transform: none; }
  .carousel-dots { display: flex; justify-content: center; gap: .15rem; margin-top: .25rem; }
  .carousel-dots button {
    position: relative; width: 36px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%;
  }
  .carousel-dots button::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 999px;
    background: var(--line-strong); transition: width .35s var(--ease-out), margin .35s var(--ease-out), background-color .3s;
  }
  .carousel-dots button[aria-current="true"]::before { width: 24px; margin-left: -12px; background: var(--wellness-green); }
}

/* ---------- Page transitions (Chrome, Edge, Safari 18.2+; others load normally) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .25s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in .5s var(--ease-out) both; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Motion polish ---------- */
.btn:active { transform: translateY(1px) scale(.98); }
.js img.is-lazy { opacity: 0; transition: opacity .7s var(--ease); }
.js img.is-lazy.is-loaded { opacity: 1; }
.info-panel, .question-card, .consider-card, .tele-point { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s; }
@media (hover: hover) {
  .info-panel:hover, .question-card:hover, .tele-point:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
}
@media (prefers-reduced-motion: no-preference) {
  /* Mobile menu items glide in one after another */
  .primary-nav.is-open .primary-nav__list li,
  .primary-nav.is-open .primary-nav__mobile-extra > * { animation: nav-item-in .5s var(--ease-out) both; }
  .primary-nav.is-open .primary-nav__list li:nth-child(1) { animation-delay: .04s; }
  .primary-nav.is-open .primary-nav__list li:nth-child(2) { animation-delay: .08s; }
  .primary-nav.is-open .primary-nav__list li:nth-child(3) { animation-delay: .12s; }
  .primary-nav.is-open .primary-nav__list li:nth-child(4) { animation-delay: .16s; }
  .primary-nav.is-open .primary-nav__list li:nth-child(5) { animation-delay: .2s; }
  .primary-nav.is-open .primary-nav__mobile-extra > * { animation-delay: .26s; }
  /* Section headings settle in a touch after their block */
  .js [data-reveal] .eyebrow { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--reveal-delay, 0s) + .05s); }
  .js [data-reveal]:not(.is-visible) .eyebrow { opacity: 0; transform: translateX(-10px); }
}
@keyframes nav-item-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Dark theme ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --navy: #DCE7F5;          /* used for headings and accents on text */
  --teal: #6CC7D9;
  --wellness-green-dark: #74D3A8;
  --bg: #0A1320;
  --surface: #101C2C;
  --tint: #0D1826;
  --tint-2: #1A2940;
  --ink: #EDF2F8;
  --ink-2: #B9C5D4;
  --ink-3: #8F9DB1;
  --line: #213149;
  --line-strong: #2F4363;
  --field-border: #5B6E88;
  --danger: #F2837A;
  --danger-bg: #2A1518;
  --danger-line: #5C2A2C;
  --success: #74D3A8;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 2px 4px rgba(0,0,0,.25), 0 12px 32px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 4px 8px rgba(0,0,0,.25), 0 28px 60px -20px rgba(0,0,0,.7);
  --focus: 0 0 0 3px var(--bg), 0 0 0 5px #3FC1C1;
  --icon-tint: rgba(108,199,217,.13);
  --green-tint: rgba(42,131,98,.2);
}
[data-theme="dark"] body { background: var(--bg); }

/* Header, menu, surfaces */
[data-theme="dark"] .site-header::before { background: rgba(10,19,32,.78); }
[data-theme="dark"] .site-header.is-scrolled::before { background: rgba(16,28,44,.92); box-shadow: 0 6px 24px -14px rgba(0,0,0,.7); }
[data-theme="dark"] .brand__logo { border-radius: 50%; background: #fff; padding: 3px; }
[data-theme="dark"] .nav-toggle,
[data-theme="dark"] .hero-slider__arrow,
[data-theme="dark"] .hero-slider__pause,
[data-theme="dark"] .zd-strip__card,
[data-theme="dark"] .zd-card,
[data-theme="dark"] .step__num,
[data-theme="dark"] .prep-item__box,
[data-theme="dark"] .wa-panel { background: var(--surface); }
[data-theme="dark"] .hero-slider__arrow:hover,
[data-theme="dark"] .hero-slider__pause:hover { background: var(--tint-2); }
@media (max-width: 1440px) { [data-theme="dark"] .header-phone { background: var(--surface); } }
@media (max-width: 1320px) { [data-theme="dark"] .primary-nav { background: rgba(10,19,32,.98); } }
[data-theme="dark"] .pill { background: rgba(16,28,44,.85); }
[data-theme="dark"] .wa-panel__body { background: var(--tint); }
[data-theme="dark"] .wa-panel__note--alert { color: #F4B4AE; }
[data-theme="dark"] .zd-strip__brand img,
[data-theme="dark"] .zd-card__top img,
[data-theme="dark"] .zd-inline img { padding: 4px 8px; border-radius: 8px; background: #fff; box-sizing: content-box; }

/* Buttons */
[data-theme="dark"] .btn--light { --btn-fg: var(--c-navy); }
[data-theme="dark"] .btn--light:hover { --btn-bg: #E6EEF0; --btn-fg: var(--c-navy); }
[data-theme="dark"] .btn--emergency { --btn-fg: #B42318; }
[data-theme="dark"] .btn--emergency:hover { --btn-bg: #FEF3F2; --btn-fg: #B42318; }
[data-theme="dark"] .social__link--x,
[data-theme="dark"] .social__link--tiktok { box-shadow: 0 0 0 1px rgba(255,255,255,.22); }

/* Hero and page backgrounds */
[data-theme="dark"] .hero__bg {
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(9,146,146,.18), transparent 70%),
    radial-gradient(45% 50% at 100% 85%, rgba(72,55,133,.22), transparent 70%),
    radial-gradient(50% 60% at 0% 0%, rgba(42,131,98,.16), transparent 70%),
    linear-gradient(180deg, #0A1320 0%, #0C1828 100%);
}
[data-theme="dark"] .page-hero__bg {
  background:
    radial-gradient(55% 80% at 90% 10%, rgba(9,146,146,.18), transparent 70%),
    radial-gradient(45% 70% at 100% 100%, rgba(72,55,133,.2), transparent 70%),
    radial-gradient(50% 80% at 0% 0%, rgba(42,131,98,.16), transparent 70%),
    linear-gradient(180deg, #0A1320 0%, #0C1828 100%);
}
[data-theme="dark"] .hero__river { opacity: .8; }
[data-theme="dark"] .telehealth { background: linear-gradient(180deg, var(--bg), var(--surface)); }

/* Cards and panels */
[data-theme="dark"] .provider-pane { background: linear-gradient(135deg, #0F1F2A, #15172E); }
[data-theme="dark"] .provider-pane__media { background: linear-gradient(160deg, var(--surface), var(--tint)); }
[data-theme="dark"] .provider__quote { background: linear-gradient(135deg, #0F2229, #17182F); }
[data-theme="dark"] .service-card--wide { background: linear-gradient(120deg, var(--surface) 55%, #1A1A33); }
[data-theme="dark"] .service-card:hover { border-color: var(--line-strong); }
[data-theme="dark"] .value-card:hover { background: var(--tint); }
[data-theme="dark"] .consider-card { border-color: var(--line); }
[data-theme="dark"] .consider-card__foot { border-top-color: var(--line); }
[data-theme="dark"] .accordion__item.is-open { border-color: var(--line-strong); }
[data-theme="dark"] .contact-item:hover { border-color: var(--line-strong); }
[data-theme="dark"] .notice { background: #111D33; border-color: #22335A; }
[data-theme="dark"] .notice--scope { background: #0E2320; border-color: #1E4238; }
[data-theme="dark"] .provider__services .icon,
[data-theme="dark"] .tele-point__icon,
[data-theme="dark"] .contact-item__icon,
[data-theme="dark"] .info-panel__icon { background: var(--icon-tint); }
[data-theme="dark"] .check-list .icon,
[data-theme="dark"] .prep-item:has(input:checked) { background: var(--green-tint); }
[data-theme="dark"] .prep-item:has(input:checked) { border-color: #2A5A48; }
[data-theme="dark"] .condition-card h4 .icon,
[data-theme="dark"] .condition-card h3 .icon { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
[data-theme="dark"] .value-card__icon { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 30%, var(--surface)); }
[data-theme="dark"] .jump-links a:hover { background: var(--green-tint); }
[data-theme="dark"] .jump-links a.is-active { color: #fff; background: var(--wellness-green); }
[data-theme="dark"] .chip { color: #CFDBF0; background: #16233A; border-color: #25375A; }
[data-theme="dark"] .chip--teal { color: #9BDDE8; background: #0F2630; border-color: #1B4050; }
[data-theme="dark"] .chip--green { color: #9EE0C2; background: #0F2620; border-color: #1D4638; }

/* Alerts and emergency information */
[data-theme="dark"] .emergency-card { color: #F4C9C4; }
[data-theme="dark"] .emergency-card strong,
[data-theme="dark"] .emergency-card__title { color: #FFD9D5; }
[data-theme="dark"] .accordion__item--alert,
[data-theme="dark"] .info-panel--alert { background: var(--danger-bg); }
[data-theme="dark"] .form-alert { color: #F4B4AE; }
[data-theme="dark"] .form-success__note { color: #F4C9C4; }
[data-theme="dark"] .form-success__icon { box-shadow: 0 0 0 8px var(--green-tint); }

/* Forms and modals */
[data-theme="dark"] .field input:not([type="checkbox"]):not([type="radio"]),
[data-theme="dark"] .field textarea { background: var(--tint); }
[data-theme="dark"] .field input:focus,
[data-theme="dark"] .field textarea:focus { background: var(--bg); }
[data-theme="dark"] .field.is-invalid input,
[data-theme="dark"] .field.is-invalid textarea { background: var(--danger-bg); }
[data-theme="dark"] .field.is-valid input,
[data-theme="dark"] .field.is-valid textarea { border-color: #3C8A6C; }
[data-theme="dark"] .modal__header { background: linear-gradient(120deg, #0F1F28, #16172D); }
[data-theme="dark"] .modal::backdrop { background: rgba(2, 8, 18, .7); }

@media print {
  .site-header, .emergency-bar, .modal, .hero-slider, .nav-toggle, .wa-widget, .social, .theme-toggle, .book-bar, .carousel-dots { display: none !important; }
  .js [data-reveal], .js [data-reveal] .eyebrow { opacity: 1 !important; transform: none !important; }
  .accordion__panel { grid-template-rows: 1fr !important; visibility: visible !important; }
}
