/* Signal Psychiatric Services — v2 stylesheet (hand-written, no framework, no build step)
   Palette: warm paper neutrals + deep evergreen, with a clay (leather-sofa) accent and soft gold on dark. */

/* ---------- Fonts (self-hosted variable woff2, SIL Open Font License) ---------- */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/Fraunces-var.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/Fraunces-italic-var.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/assets/fonts/Figtree-var.woff2) format('woff2'); }

/* ---------- Design tokens ---------- */
:root {
  --cream: #F8F3EB;       /* page */
  --sand: #EFE7DA;        /* alternate bands */
  --paper: #FFFDF8;       /* cards */
  --line: #E1D6C3;
  --ink: #1B2A26;         /* body text (13.5:1 on cream) */
  --ink-soft: #4A5853;    /* secondary text (6.8:1) */
  --deep: #1F3D36;        /* deep evergreen */
  --deep-2: #142B25;
  --sage: #DCE6DD;
  --clay: #9A4A24;        /* accent (5.6:1 on cream) */
  --clay-hover: #823D1C;
  --gold: #E3C98A;        /* accent on dark (7.3:1 on deep) */
  --on-dark: #F8F3EB;
  --on-dark-soft: #C9D6CF;

  --font-head: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --r-sm: 12px; --r-md: 20px; --r-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(27,42,38,.06), 0 4px 14px rgba(27,42,38,.06);
  --shadow-md: 0 2px 4px rgba(27,42,38,.05), 0 18px 40px -12px rgba(27,42,38,.22);
  --wrap: 1180px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; min-width: 320px;
  background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  overflow-x: hidden; word-wrap: break-word; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
.contact :focus-visible, .guides :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: #fff; color: #000; padding: .75rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3, .h2 { font-family: var(--font-head); font-weight: 500; color: var(--deep); letter-spacing: -.015em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.5rem, 1.7rem + 3.4vw, 4.25rem); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
h1 em { font-style: italic; font-weight: 400; color: var(--clay); }
.h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.12; text-wrap: balance; }
h3 { font-size: 1.375rem; line-height: 1.25; }
.eyebrow { font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); line-height: 1.3; margin-bottom: 1rem; }
.eyebrow.center { text-align: center; }
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); line-height: 1.6; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.0625rem; }
.btn-sm { padding: .6rem 1.15rem; font-size: .9375rem; }
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 8px 20px -8px rgba(154,74,36,.6); }
.btn-primary:hover { background: var(--clay-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--deep); border-color: rgba(31,61,54,.35); }
.btn-ghost:hover { background: var(--deep); color: var(--on-dark); border-color: var(--deep); }
.btn-gold { background: var(--gold); color: var(--deep-2); }
.btn-gold:hover { background: #EED9A6; transform: translateY(-1px); }
.btn-outline-light { color: var(--on-dark); border-color: rgba(248,243,235,.45); }
.btn-outline-light:hover { background: rgba(248,243,235,.12); border-color: var(--on-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: .875rem 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(248,243,235,.88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -14px rgba(27,42,38,.35); }
.header-inner { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { height: 54px; width: auto; }
.site-nav > ul { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a:not(.btn), .nav-more summary { position: relative; text-decoration: none; font-weight: 600; font-size: .9875rem; color: var(--deep); padding: .4rem 0; white-space: nowrap; }
.site-nav a:not(.btn)::after, .nav-more summary::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after, .nav-more summary:hover::after, .nav-more.has-current summary::after { transform: scaleX(1); }
.nav-home { display: list-item; }

/* "More" dropdown: a native <details>, so it opens and closes without JavaScript */
.nav-more { position: relative; }
.nav-more details { position: relative; }
.nav-more summary { display: inline-flex; align-items: center; gap: .3rem; cursor: pointer; list-style: none; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary .icon { width: 1.05em; height: 1.05em; transition: transform .2s; }
.nav-more details[open] summary .icon { transform: rotate(180deg); }
.subnav { position: absolute; right: -1rem; top: calc(100% + .85rem); z-index: 60; min-width: 17rem; display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: .5rem; }
.subnav li { display: block; }
.site-nav .subnav a:not(.btn) { display: block; padding: .65rem .9rem; border-radius: 10px; font-weight: 600; white-space: normal; }
.site-nav .subnav a:not(.btn)::after { display: none; }
.site-nav .subnav a:hover, .site-nav .subnav a[aria-current="page"] { background: var(--sage); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1.5px solid rgba(31,61,54,.3); border-radius: 50%; background: transparent; cursor: pointer; align-items: center; justify-content: center; color: var(--deep); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1160px) {
  .nav-home { display: list-item; }
  .nav-js .nav-toggle { display: inline-flex; }
  .nav-js .site-nav { position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(27,42,38,.35); padding: .25rem 1.5rem 1.5rem; display: none; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav-js .site-nav.is-open { display: block; }
  .nav-js .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-js .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav-js .site-nav a:not(.btn), .nav-js .nav-more summary { display: flex; padding: .85rem .25rem; font-size: 1.0625rem; }
  .nav-js .site-nav a:not(.btn)::after, .nav-js .nav-more summary::after { display: none; }
  .nav-js .nav-more summary { justify-content: space-between; }
  .nav-js .site-nav .nav-cta { border: 0; padding-top: 1.25rem; }
  .nav-js .site-nav .nav-cta .btn { width: 100%; padding: 1rem; font-size: 1.0625rem; }
  /* the dropdown becomes an inline, indented list inside the mobile menu */
  .subnav { position: static; min-width: 0; background: none; border: 0; box-shadow: none; padding: 0 0 .5rem .9rem; }
  .site-nav .subnav a:not(.btn) { padding: .7rem .25rem; border-radius: 0; font-weight: 500; }
  .site-nav .subnav a:hover, .site-nav .subnav a[aria-current="page"] { background: none; color: var(--clay); }
  /* without JS the nav simply wraps under the logo */
  html:not(.nav-js) .site-header { position: static; height: auto; }
  html:not(.nav-js) .header-inner { flex-wrap: wrap; padding-block: .75rem; }
  html:not(.nav-js) .site-nav > ul { flex-wrap: wrap; gap: .5rem 1.25rem; }
  html:not(.nav-js) .site-nav .subnav { padding: .25rem 0 .25rem .5rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 5vw, 5rem) 0 0; overflow: hidden; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero::before { width: 760px; height: 760px; right: -220px; top: -260px; background: radial-gradient(circle at 40% 40%, var(--sage) 0%, rgba(220,230,221,0) 68%); }
.hero::after { width: 560px; height: 560px; left: -260px; bottom: -120px; background: radial-gradient(circle, #F0DFC9 0%, rgba(240,223,201,0) 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy .lead { margin-top: 1.5rem; max-width: 34em; }
.hero-place { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.25rem; color: var(--ink); font-weight: 500; }
.hero-place .icon { color: var(--clay); margin-top: .2em; }
.hero-copy .btn-row { margin-top: 2.25rem; }
.hero-art { position: relative; justify-self: center; width: min(100%, 460px); padding-bottom: 28px; }
.arch { border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-md); background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.hero-art::before { content: ""; position: absolute; inset: 18px -18px 0 18px; border: 1.5px solid rgba(154,74,36,.4); border-radius: 999px 999px var(--r-lg) var(--r-lg); z-index: -1; }
.float-card { position: absolute; left: -28px; bottom: 0; display: flex; align-items: center; gap: .85rem; max-width: 270px; background: var(--paper); border-radius: var(--r-md); padding: .9rem 1.15rem .9rem .9rem; box-shadow: var(--shadow-md); font-weight: 600; font-size: .9875rem; line-height: 1.35; color: var(--deep); }
.float-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--sage); color: var(--deep); flex: none; }
.float-icon .icon { width: 22px; height: 22px; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }
.trust li { display: flex; gap: .8rem; align-items: flex-start; padding: 1.5rem 1.5rem 1.75rem 0; font-weight: 600; font-size: .9875rem; line-height: 1.4; color: var(--deep); }
.trust li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.trust .icon { color: var(--clay); width: 1.6rem; height: 1.6rem; margin-top: -.05rem; }

/* ---------- Sections ---------- */
section { position: relative; }
.band-sand { background: var(--sand); }
.about, .services, .faq, .insurers, .contact { padding-block: clamp(4rem, 8vw, 7.5rem); }
.insurers { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-photo { position: relative; width: min(100%, 330px); justify-self: center; }
.about-photo::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 2px solid var(--clay, #9A4A24); opacity: .35; border-radius: var(--r-lg); z-index: 0; }
.about-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1086 / 1307; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.about-text .h2 { margin-bottom: 1.5rem; }
.about-text p + p { margin-top: 1.1rem; }
.about-text p { max-width: 36em; }
.signoff { margin-top: 1.75rem !important; padding-top: 1.25rem; border-top: 1px solid rgba(31,61,54,.2); font-family: var(--font-head); font-size: 1.25rem; color: var(--deep); }
.signoff strong { font-weight: 500; }

/* Services */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 2rem 1.75rem 2.1rem; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D2C3AA; }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--sage); color: var(--deep); margin-bottom: 1.4rem; }
.card-icon .icon { width: 26px; height: 26px; }
.card-title { margin-bottom: .7rem; }
.card p { color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }

/* Office photo strip */
.gallery { padding-bottom: clamp(4rem, 8vw, 7rem); }
.slideshow { position: relative; }
.slides { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; border-radius: var(--r-md); }
.slides::-webkit-scrollbar { display: none; }
.slides:focus-visible { outline-offset: 6px; }
.slide { flex: 0 0 min(30rem, 78%); scroll-snap-align: start; }
.slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.slide-controls { display: flex; gap: .6rem; margin-top: 1.25rem; justify-content: flex-end; }
.slide-nav { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(31,61,54,.35); background: transparent; color: var(--deep); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s; }
.slide-nav:hover { background: var(--deep); color: var(--on-dark); }
.slide-nav.prev .icon { transform: scaleX(-1); }

/* Guides */
.guides { background: var(--deep); color: var(--on-dark); padding-block: clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.guides::before { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(227,201,138,.16), rgba(227,201,138,0) 68%); pointer-events: none; }
.guides .h2 { color: var(--on-dark); text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.guides-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); position: relative; }
.guides-list li { border-top: 1px solid rgba(227,201,138,.45); padding-top: 1.5rem; }
.num { display: block; font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: 2.5rem; line-height: 1; color: var(--gold); margin-bottom: 1rem; }
.guides-list p { font-family: var(--font-head); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.4; color: var(--on-dark); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-intro .h2 { margin-bottom: 1.75rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem .25rem; cursor: pointer; list-style: none; font-family: var(--font-head); font-size: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem); line-height: 1.3; font-weight: 500; color: var(--deep); transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--clay); }
.faq-item summary .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; border: 1.5px solid rgba(31,61,54,.3); color: var(--deep); transition: transform .3s ease, background-color .2s, color .2s, border-color .2s; }
.faq-item[open] summary .icon { transform: rotate(45deg); background: var(--deep); color: var(--on-dark); border-color: var(--deep); }
.faq-body { padding: 0 .25rem 1.75rem; max-width: 40em; color: var(--ink-soft); }
.faq-body p + p, .faq-body ul + p { margin-top: 1rem; }
.rates { margin-bottom: 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .35rem 1.25rem; }
.rates li { display: flex; justify-content: space-between; align-items: baseline; gap: 1.25rem; padding: .85rem 0; color: var(--ink); }
.rates li + li { border-top: 1px dashed var(--line); }
.rate-price { font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; color: var(--clay); white-space: nowrap; }

/* Insurers */
.logo-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.logo-row li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .6rem; display: grid; place-items: center; aspect-ratio: 2 / 1; }
.logo-row img { width: 100%; height: 100%; object-fit: contain; }

/* Contact */
.contact { background: var(--deep); color: var(--on-dark); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.contact .h2 { color: var(--on-dark); margin-bottom: 1.25rem; }
.contact .eyebrow { color: var(--gold); }
.contact-lead { color: var(--on-dark-soft); max-width: 30em; margin-bottom: 1.75rem; }
.address { margin-top: 2.25rem; display: grid; gap: .9rem; color: var(--on-dark-soft); }
.address strong { color: var(--on-dark); font-family: var(--font-head); font-size: 1.25rem; font-weight: 500; }
.address a { color: var(--on-dark); text-decoration-color: rgba(227,201,138,.6); text-underline-offset: 4px; }
.address a:hover { color: var(--gold); }
.office-map { margin-top: 2rem; border-radius: var(--r-md); overflow: hidden; border: 1px solid rgba(248,243,235,.18); background: var(--deep-2); }
.office-map iframe { display: block; width: 100%; height: 260px; }
.form { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(1.5rem, 3.5vw, 2.5rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); display: grid; gap: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: .9375rem; color: var(--deep); margin-bottom: .4rem; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #CDBFA6; border-radius: var(--r-sm); padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:hover, .field textarea:hover { border-color: #A99877; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 4px rgba(154,74,36,.18); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9375rem; color: var(--ink-soft); line-height: 1.55; background: var(--sand); border-radius: var(--r-sm); padding: .9rem 1rem; }
.form .btn { justify-self: start; }
.form-emergency { font-size: .9375rem; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--deep-2); color: var(--on-dark-soft); padding-top: clamp(3rem, 5vw, 4.5rem); font-size: .9875rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem 4rem; align-items: start; }
.footer-brand img { height: 74px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p + p { margin-top: .6rem; }
.site-footer a { color: var(--on-dark); text-underline-offset: 4px; }
.site-footer a:hover { color: var(--gold); }
.footer-nav { justify-self: end; }
.footer-nav ul { display: grid; grid-template-columns: repeat(3, max-content); grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: .7rem 2.5rem; justify-items: start; }
.footer-nav a { text-decoration: none; font-weight: 600; white-space: nowrap; }
.crisis { display: block; border: 1px solid rgba(227,201,138,.45); background: rgba(227,201,138,.08); border-radius: var(--r-md); padding: 1.1rem 1.4rem; color: var(--gold); font-size: 1.0625rem; }
.crisis a { color: var(--gold); font-weight: 600; margin-left: .35rem; white-space: nowrap; }
.site-footer .wrap > .crisis { margin-top: 2.5rem; }
.footer-legal { padding-block: 1.75rem 2rem; margin-top: 2rem; border-top: 1px solid rgba(248,243,235,.14); font-size: .875rem; }

/* ---------- Motion (only when the visitor has not asked for reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease var(--d, 0ms), transform .7s ease var(--d, 0ms); }
  .reveal-js .reveal.in { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; } .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .hero-art { animation: rise 1s cubic-bezier(.2,.7,.2,1) .15s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 420px); margin-top: .5rem; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guides-list { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  :root { --header-h: 68px; }
  .wrap, .header-inner { width: min(100% - 2.5rem, var(--wrap)); }
  .brand img { height: 48px; }
  .card-grid { grid-template-columns: 1fr; }
  .card { padding: 1.6rem 1.4rem 1.75rem; }
  .btn-row .btn-lg, .btn-row .btn { width: 100%; }
  .trust { grid-template-columns: 1fr; }
  .trust li, .trust li + li { padding: 1.1rem 0; border-left: 0; }
  .trust li + li { border-top: 1px solid var(--line); }
  .hero-art { padding-bottom: 36px; }
  .float-card { left: 8px; right: auto; max-width: 250px; }
  .hero-art::before { inset: 14px -8px 0 14px; }
  .about-photo::before { inset: 10px -10px -10px 10px; }
  .slide { flex-basis: 84%; }
  .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
}

/* ================================================================
   Inner pages (every page except the home page)
   ================================================================ */
.sec { padding-block: clamp(3rem, 6vw, 5.5rem); }
.sec-tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.sec-head { max-width: 42rem; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.sec-head p:not(.eyebrow) { margin-top: 1rem; color: var(--ink-soft); }
.h3 { font-family: var(--font-head); font-weight: 500; color: var(--deep); font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -.015em; }

/* Page hero band */
.page-head { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #F3ECDF 0%, var(--cream) 100%); border-bottom: 1px solid var(--line); padding: clamp(2.25rem, 4.5vw, 4.25rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.page-head::before, .page-head::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.page-head::before { width: 640px; height: 640px; right: -180px; top: -300px; background: radial-gradient(circle at 40% 40%, var(--sage) 0%, rgba(220,230,221,0) 68%); }
.page-head::after { width: 420px; height: 420px; left: -200px; bottom: -240px; background: radial-gradient(circle, #F0DFC9 0%, rgba(240,223,201,0) 70%); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: center; }
.page-head h1 { font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem); max-width: 17em; }
.page-head .lead { margin-top: 1.25rem; max-width: 38em; }
.page-head .btn-row { margin-top: 1.9rem; }
.page-head-icon { display: grid; place-items: center; width: clamp(110px, 12vw, 150px); aspect-ratio: 1; border-radius: 50%; background: var(--sage); color: var(--deep); box-shadow: inset 0 0 0 1.5px rgba(31,61,54,.12); position: relative; }
.page-head-icon::before { content: ""; position: absolute; inset: 10px -12px -12px 10px; border: 1.5px solid rgba(154,74,36,.4); border-radius: 50%; z-index: -1; }
.page-head-icon .icon { width: 46%; height: 46%; stroke-width: 1.4; }

/* Generic content blocks */
.prose { max-width: 44rem; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1.1rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; }
.prose li + li { margin-top: .4rem; }
.prose a, .link { color: var(--clay); text-underline-offset: 3px; font-weight: 600; }
.prose a:hover, .link:hover { color: var(--clay-hover); }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.inner .card .card-title + p, .inner .card p + p { margin-top: .6rem; }
.inner .card:hover { transform: none; box-shadow: var(--shadow-md); border-color: #D2C3AA; }   /* inner pages: the same soft shadow as the home cards, without the lift */
.card .btn-row { margin-top: 1.4rem; }

/* Bracketed placeholders for Nathan (visible on purpose until resolved) */
.todo { display: inline; background: #FFEFA8; color: #4A3900; border-radius: 6px; padding: .1em .45em; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
p.todo, div.todo { display: block; padding: .8rem 1rem; border: 1.5px dashed #C9A62C; border-radius: var(--r-sm); font-weight: 600; }
.card .todo, .step .todo { font-size: .9375rem; }

/* Call-to-action band */
.cta-band { background: var(--deep); color: var(--on-dark); padding-block: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(227,201,138,.16), rgba(227,201,138,0) 68%); pointer-events: none; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; position: relative; }
.cta-band h2 { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.15; color: var(--on-dark); }
.cta-band p { margin-top: .75rem; color: var(--on-dark-soft); max-width: 36em; }
.cta-band :focus-visible { outline-color: var(--gold); }

/* Steps */

.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.9rem 1.75rem 2rem; box-shadow: var(--shadow-sm); position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-style: italic; font-size: 2.25rem; line-height: 1; color: var(--clay); margin-bottom: 1rem; }
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--ink-soft); }
.step p + p { margin-top: .6rem; }

/* Two-column feature split */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }

.split .h2 { margin-bottom: 1.25rem; }

/* Fees page */
.rate-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm); }
.rate-card .rates { background: none; border: 0; padding: 0; margin: 0; }
.rate-card .rates li { align-items: flex-start; padding: 1.15rem 0; font-size: 1.125rem; }
.rate-card .rates li:first-child { padding-top: .25rem; }
.rate-desc { display: block; margin-top: .4rem; font-size: .9375rem; font-weight: 400; line-height: 1.5; color: var(--ink-soft); max-width: 34em; }
.rate-card .rate-price { font-size: 2rem; }
.rate-card .fine { margin-top: 1rem; color: var(--ink-soft); }
.fine-italic { font-style: italic; }
.fact-list { display: grid; gap: 1rem; }
.fact { display: flex; gap: 1rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem 1.4rem; }
.fact .card-icon { margin: 0; flex: none; }
.fact h3 { font-size: 1.1875rem; margin-bottom: .25rem; }
.fact p { color: var(--ink-soft); font-size: 1rem; }

.logo-row.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }

/* Crisis page: calm, large and legible */
.crisis-page .page-head { background: linear-gradient(180deg, #E9F0EA 0%, var(--cream) 100%); }
.crisis-page { font-size: 1.1875rem; }
.crisis-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.crisis-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.75rem, 3.5vw, 2.75rem); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.crisis-card .kicker { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .875rem; color: var(--clay); }
.crisis-card .big { font-family: var(--font-head); font-weight: 500; font-size: clamp(4rem, 3rem + 5vw, 6.5rem); line-height: .95; color: var(--deep); letter-spacing: -.03em; }
.crisis-card h2 { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); line-height: 1.2; color: var(--deep); }
.crisis-card p { color: var(--ink); font-size: 1.1875rem; }
.crisis-card .btn-row { margin-top: auto; padding-top: .5rem; }
.crisis-card.is-primary { background: var(--deep); border-color: var(--deep); }
.crisis-card.is-primary .kicker { color: var(--gold); }
.crisis-card.is-primary .big, .crisis-card.is-primary h2 { color: var(--on-dark); }
.crisis-card.is-primary p { color: var(--on-dark-soft); }
.crisis-card.is-primary :focus-visible { outline-color: var(--gold); }
.notice { background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--clay); border-radius: var(--r-md); padding: 1.75rem clamp(1.4rem, 3vw, 2.25rem); }
.notice h2 { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.5rem, 1.3rem + .9vw, 1.875rem); color: var(--deep); margin-bottom: .75rem; line-height: 1.2; }
.notice p { max-width: 40em; }
.notice p + p { margin-top: .8rem; }
.crisis-page .btn-lg { font-size: 1.1875rem; padding: 1.15rem 2rem; }

/* Contact cards (appointments) */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; }
.contact-card .btn-row, .contact-card .btn { margin-top: auto; }
.contact-card p { margin-bottom: 1.25rem; }
.contact-card .big-link { font-family: var(--font-head); font-size: 1.5rem; color: var(--deep); text-decoration: none; overflow-wrap: anywhere; display: block; margin-bottom: 1.25rem; }
.contact-card .big-link:hover { color: var(--clay); }
.contact-card .btn { width: 100%; }

/* Forms on light backgrounds + extra controls */
.form-card { border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.field select { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #CDBFA6; border-radius: var(--r-sm); padding: .85rem 1rem; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3D36' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.25rem; padding-right: 2.75rem; transition: border-color .2s, box-shadow .2s; }
.field select:hover { border-color: #A99877; }
.field select:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 4px rgba(154,74,36,.18); }
.field input[type="file"] { padding: .7rem .8rem; background: var(--paper); border-style: dashed; cursor: pointer; }
.field input[type="file"]::file-selector-button { font: 700 .9375rem var(--font-body); color: var(--deep); background: var(--sage); border: 0; border-radius: 999px; padding: .55rem 1.1rem; margin-right: .9rem; cursor: pointer; }
.field .hint { margin-top: .4rem; font-size: .875rem; color: var(--ink-soft); line-height: 1.5; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field input:user-invalid, .field select:user-invalid { border-color: #A3361B; }
.form-status { font-size: .9375rem; color: #8A2D14; font-weight: 600; }

/* Resources */
.chips { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .6rem; width: fit-content; max-width: 100%; margin-top: 1.75rem; }
.chips a { text-align: center; white-space: nowrap; }
@media (max-width: 700px) { .chips { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); width: 100%; } .chips a { white-space: normal; } }
.chips a { display: block; text-decoration: none; font-weight: 600; font-size: .9375rem; color: var(--deep); background: var(--paper); border: 1.5px solid rgba(31,61,54,.25); border-radius: 999px; padding: .5rem 1.05rem; transition: background-color .2s, color .2s, border-color .2s; }
.chips a:hover { background: var(--deep); color: var(--on-dark); border-color: var(--deep); }
.res-section { padding-block: clamp(2.25rem, 4vw, 3.5rem); border-top: 1px solid var(--line); }
.res-section:first-of-type { border-top: 0; }
.res-head { display: flex; gap: 1.1rem; align-items: center; margin-bottom: 1.75rem; }
.res-head .card-icon { margin: 0; flex: none; }
.res-head h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.15; }
.res-head p { color: var(--ink-soft); margin-top: .25rem; }
.res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.res-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.res-card { display: flex; flex-direction: column; gap: .5rem; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem 1.4rem 1.25rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, border-color .2s ease; }
.res-card:hover, .res-card:focus-visible { box-shadow: var(--shadow-md); border-color: #D2C3AA; }
.res-card .res-title { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.25; font-weight: 500; color: var(--deep); display: flex; gap: .5rem; justify-content: space-between; align-items: flex-start; }
.res-card .res-title .icon { width: 1.1rem; height: 1.1rem; margin-top: .2rem; color: var(--clay); }
.res-card:hover .res-title { color: var(--clay); }
.res-card p { font-size: .9875rem; line-height: 1.55; color: var(--ink-soft); }
.res-card .res-host { margin-top: auto; padding-top: .35rem; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; color: var(--clay); overflow-wrap: anywhere; }
.disclaimer { background: var(--sand); border-radius: var(--r-md); padding: 1.25rem 1.5rem; color: var(--ink-soft); font-size: .9875rem; }

/* Portal page */
.portal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.portal-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.75rem, 3vw, 2.5rem); }
.portal-card .btn { margin-top: auto; }
.portal-card p { margin-bottom: 1.5rem; }
.portal-card.is-dark { background: var(--deep); border-color: var(--deep); }
.portal-card.is-dark .card-title { color: var(--on-dark); }
.portal-card.is-dark p { color: var(--on-dark-soft); }
.portal-card.is-dark .card-icon { background: rgba(248,243,235,.12); color: var(--gold); }
.portal-card.is-dark :focus-visible { outline-color: var(--gold); }

/* Contact band on inner pages: info + map column */
.contact.inner { padding-block: clamp(3rem, 6vw, 5.5rem); }
.contact.inner .address { margin-top: 0; }

@media (max-width: 980px) {
  .page-head-grid { grid-template-columns: 1fr; }
  .page-head-icon { display: none; }
  .card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .res-grid, .res-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crisis-cards, .portal-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .contact-card .btn { width: auto; }
}
@media (max-width: 640px) {
  .card-grid.cols-2, .res-grid, .res-grid.cols-2 { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .contact-card .btn { width: 100%; }
  .fact { flex-direction: column; gap: .75rem; }
  .res-head { align-items: flex-start; }
  .rate-card .rates li { flex-direction: column; gap: .15rem; }
  .logo-row.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crisis-card .btn-row .btn { width: 100%; }
  .cta-inner .btn-row .btn { width: 100%; }
}

@media (min-width: 981px) { .sticky-col { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.band-sand .disclaimer { background: var(--paper); border: 1px solid var(--line); }

/* ---------- v3 additions ---------- */
.card-link { margin-top: 1rem; }
.card-link .link { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.card-link .link:hover { text-decoration: underline; }
.card-link .icon { width: 1.05em; height: 1.05em; }

/* Common worries strip (home) */
.worries { padding-block: clamp(2.5rem, 5vw, 4rem); }
.worries .section-head { margin-bottom: 1.5rem; }
.worry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.worry { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.worry h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.1875rem; line-height: 1.25; color: var(--deep); margin-bottom: .5rem; }
.worry p { color: var(--ink-soft); font-size: .98rem; line-height: 1.6; }
.worry a { color: var(--clay); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 1100px) { .worry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .worry-grid { grid-template-columns: minmax(0, 1fr); } }

/* New patients: insurance box */
.insurance-box { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; border-left-width: 6px; }
.insurance-box h2 { margin-bottom: .75rem; }
.insurance-box p + p { margin-top: .8rem; }
.insurance-box .btn-row { margin-top: 1.25rem; }
.insurance-box .todo { margin-top: 1rem; font-size: .9375rem; }
.insurance-box .logo-row { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .insurance-box { grid-template-columns: minmax(0, 1fr); } .insurance-box .logo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .insurance-box .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Young adults: two voices */
.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.voice { padding: clamp(1.6rem, 3vw, 2.4rem); }
.voice .eyebrow { margin-bottom: .6rem; }
.voice .card-title { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); margin-bottom: 1rem; }
.voice p + p { margin-top: .9rem; }
.voice .btn-row { margin-top: 1.4rem; }
@media (max-width: 860px) { .voices { grid-template-columns: minmax(0, 1fr); } }

/* Labs */

.lab-alacarte { margin-top: 2rem; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.lab-alacarte .card-title { margin-bottom: .6rem; }
.lab-alacarte p { color: var(--ink-soft); }
.lab-alacarte .rates { margin-bottom: 0; }
.lab-alacarte .rate-price { font-size: 1rem; white-space: normal; text-align: right; }
.lab-alacarte .rate-price .todo { font-size: .8125rem; }
@media (max-width: 860px) { .lab-alacarte { grid-template-columns: minmax(0, 1fr); } }
.prose a.btn, .prose a.btn:hover { text-decoration: none; font-weight: 600; }
.prose a.btn-primary, .prose a.btn-primary:hover { color: #fff; }
.prose .btn { margin-top: 6px; }

/* placeholder notes keep their dark-on-yellow colour even inside sections that colour paragraph text */
.sec-head p.todo, .prose p.todo, .lab-alacarte p.todo, .split p.todo { color: #4A3900; }
.lab-alacarte .rate-price .todo { white-space: nowrap; }
.prose .btn-row { margin-top: 1.25rem; }
.prose p.todo { margin-top: 1rem; }

/* Labs: packages list and spacing between the three lists */
.lab-alacarte + .lab-alacarte { margin-top: clamp(2.25rem, 5vw, 3.5rem); }
.lab-pkgs .rate-name { font-weight: 600; color: var(--deep); }
.lab-pkgs li { align-items: flex-start; }
.lab-pkgs .rate-desc, .lab-alacarte .rate-desc { font-weight: 400; }
.lab-alacarte .rate-price .link { font-family: var(--font-body); font-size: 1rem; }
.prose > .h2 + p, .prose > .card-title + p { margin-top: 1rem; }
.faq-body ul { list-style: disc; padding-left: 1.4rem; margin-top: .6rem; }
.faq-body li + li { margin-top: .35rem; }
.process { list-style: none; counter-reset: proc; display: grid; gap: 0; }
.process li { counter-increment: proc; position: relative; padding: 0 0 2rem 4rem; }
.process li:last-child { padding-bottom: 0; }
.process li::before { content: counter(proc); position: absolute; left: 0; top: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--clay); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.125rem; }
.process li::after { content: ""; position: absolute; left: calc(1.375rem - 1px); top: 3.1rem; bottom: .35rem; width: 2px; background: var(--line); }
.process li:last-child::after { display: none; }
.process h3 { margin-bottom: .35rem; padding-top: .35rem; }
.process p { color: var(--ink-soft); }

.notice.notice-wide p { max-width: none; }
.notice.notice-wide p { text-wrap: pretty; }
.insurance-box .btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.insurance-box .btn-row .btn { justify-content: center; text-align: center; }
@media (max-width: 520px) { .insurance-box .btn-row { grid-template-columns: minmax(0, 1fr); } }
/* Matched button pairs: same height, and the same width on larger screens */
@media (min-width: 521px) {
  .btn-row > .btn-lg { min-width: 16.5rem; }
  .crisis-card .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
  .crisis-card .btn-row > .btn { white-space: nowrap; padding-left: 1rem; padding-right: 1rem; }
  .card .btn-row, .hero-copy .voice .btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .card .btn-row > .btn { padding-left: 1rem; padding-right: 1rem; }
  .faq-grid .btn-row, .contact-info .btn-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .75rem; width: fit-content; max-width: 100%; }
  .faq-grid .btn-row .btn, .contact-info .btn-row .btn { white-space: nowrap; padding: 1.05rem 2.6rem; }
  .faq-intro { container-type: inline-size; }
  @container (max-width: 31rem) { .faq-grid .btn-row { grid-auto-flow: row; } }
  @media (max-width: 1100px) and (min-width: 821px) { .contact-info .btn-row { grid-auto-flow: row; } }
}

/* Footer: emergency line and legal line are centered */
.site-footer .crisis, .footer-legal p { text-align: center; }

/* Labs page: compact medication-monitoring groups and intro line */
.lab-intro { max-width: none; color: var(--ink-soft); margin: 0 0 .5rem; }
.lab-groups { display: grid; gap: .75rem; }
.lab-group { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 1.25rem; }
.lab-group summary { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; cursor: pointer; list-style: none; font-family: var(--font-head); font-size: 1.1875rem; color: var(--deep); }
.lab-group summary::-webkit-details-marker { display: none; }
.lab-group summary > span:first-child { flex: 1; }
.lab-group summary .lab-from { font-family: var(--font-body); font-size: .9375rem; color: var(--ink-soft); }
.lab-group summary .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; border: 1.5px solid rgba(31,61,54,.3); transition: transform .3s ease; flex: none; }
.lab-group[open] summary .icon { transform: rotate(180deg); }
.lab-group .rates { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: .25rem 0 .5rem; margin: 0; }
.lab-groups .rate-name { font-weight: 600; color: var(--deep); }
.prod-links { margin-top: 1.25rem; max-width: 28rem; }
.prod-list { list-style: none; padding: 0 0 1rem; margin: 0; display: grid; gap: .5rem; }

.res-card .res-btns { margin-top: auto; padding-top: .5rem; }

/* Relaxation page: text left, videos right */
.relax-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.relax-cols .prose { max-width: none; }
.relax-side { display: grid; gap: 1.75rem; }
.relax-gif { margin: 0; }
.relax-gif img { display: block; width: 100%; max-width: 20rem; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.vid-label { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); margin: 0 0 .25rem; }
.vid-list { list-style: none; margin: 0; padding: 0; }
.vid-list li { border-top: 1px solid var(--line); }
.vid-list li:last-child { border-bottom: 1px solid var(--line); }
.vid-row { display: flex; align-items: center; gap: .85rem; padding: .85rem .25rem; text-decoration: none; color: var(--deep); }
.vid-play { flex: none; width: 1.75rem; height: 1.75rem; color: var(--clay); transition: color .2s ease; }
.vid-text { display: grid; gap: .1rem; min-width: 0; }
.vid-title { font-weight: 600; line-height: 1.3; }
.vid-meta { font-size: .875rem; color: var(--ink-soft); }
.vid-row:hover .vid-title, .vid-row:focus-visible .vid-title { color: var(--clay); }
@media (max-width: 860px) { .relax-cols { grid-template-columns: 1fr; } }
.relax-cols .h2 { max-width: none; text-wrap: balance; }
@media (min-width: 861px) { .relax-side > .vid-col:first-child { padding-top: calc(clamp(2rem, 1.5rem + 2vw, 3rem) * 1.12 - 1.3rem); } }

/* Relaxation: text and videos on the left, animation centered on the right */
.relax-cols:has(.relax-gif) { grid-template-columns: minmax(0, 1fr) 20rem; grid-template-areas: "prose gif" "vid gif"; row-gap: 2rem; align-items: start; }
.relax-cols:has(.relax-gif) .relax-side { display: contents; }
.relax-cols:has(.relax-gif) .prose { grid-area: prose; }
.relax-cols:has(.relax-gif) .relax-gif { grid-area: gif; align-self: center; }
.relax-cols:has(.relax-gif) .vid-col { grid-area: vid; }
@media (max-width: 860px) { .relax-cols:has(.relax-gif) { grid-template-columns: 1fr; grid-template-areas: "prose" "gif" "vid"; } .relax-cols:has(.relax-gif) .relax-gif { align-self: start; } }

/* Compact cards (Student Rotations "What to expect") */
#expect .card { display: grid; align-content: start; grid-template-columns: 40px minmax(0, 1fr); column-gap: .9rem; align-items: start; padding: 1.1rem 1.25rem 1.2rem; }
#expect .card:hover { transform: none; }
#expect .card-icon { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 12px; margin: 0; }
#expect .card-icon .icon { width: 20px; height: 20px; }
#expect .card-title { margin: .1rem 0 .3rem; font-size: 1.05rem; }
#expect .card p { font-size: .9375rem; line-height: 1.55; }
#expect .card-grid { gap: 1rem; }

/* Availability pill */

/* Bipolar: daily habits */
.habit-flow { display: grid; grid-template-columns: 20rem minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.habit-flow .relax-gif img { max-width: 100%; }
.habit-steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 1.1rem; }
.habit-steps::before { content: ""; position: absolute; left: 1.55rem; top: 1.6rem; bottom: 1.6rem; width: 2px; background: var(--line); }
.habit-steps li { position: relative; display: grid; grid-template-columns: 3.1rem minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.hs-icon { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--sage); color: var(--deep); border: 3px solid var(--cream); position: relative; z-index: 1; }
.hs-icon .icon { width: 1.4rem; height: 1.4rem; }
.hs-time { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.habit-steps h3 { font-size: 1.15rem; margin: .1rem 0 .15rem; }
.habit-steps p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .habit-flow { grid-template-columns: 1fr; } .habit-flow .relax-gif img { max-width: 20rem; } }

/* Click-to-enlarge animation */
.zoom-btn { display: block; position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-lg); font: inherit; color: inherit; }
.zoom-btn:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
.zoom-hint { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .7rem; color: var(--ink-soft); font-size: .9rem; font-weight: 500; }
.zoom-hint .icon { width: 1rem; height: 1rem; }
.zoom-dialog { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; }
.zoom-dialog::backdrop { background: rgba(20,43,37,.82); }
.zoom-dialog .zoom-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 1.25rem; cursor: zoom-out; }
.zoom-dialog img { width: min(92vw, 92vh, 44rem); height: auto; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-md); }
.zoom-close { position: absolute; top: 1rem; right: 1rem; border: 0; border-radius: 999px; background: var(--paper); color: var(--deep); font: inherit; font-weight: 600; padding: .6rem 1.1rem; cursor: pointer; }

.habit-steps .btn-row { margin-top: .7rem; }
.habit-steps .btn-row .btn { min-width: 8.5rem; justify-content: center; }

/* Single resource card: normal card width, centered */

/* Bipolar: product buttons stack and match in width, aligned along the card bottom */
#light .res-btns, #dark .res-btns { flex-direction: column; align-items: stretch; gap: .5rem; }
#light .res-btns .btn, #dark .res-btns .btn { justify-content: center; text-align: center; width: 100%; }

/* Contact page: young adult cards, buttons same size and aligned at the bottom */
#young-adults .voice { display: flex; flex-direction: column; }
#young-adults .voice .btn-row { margin-top: auto; padding-top: 1.4rem; }
#young-adults .voice .btn { min-width: 12.5rem; justify-content: center; }

/* Book shelf: books shown as covers instead of cards */
.book-shelf { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2.25rem 2.5rem; }
.book-shelf li { width: 11.5rem; }
.book-shelf .book { display: flex; flex-direction: column; gap: .9rem; width: 100%; text-decoration: none; color: var(--ink); }
.book-cover { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 2 / 3; padding: 1.4rem 1rem 1.2rem 1.5rem; background: var(--cover, var(--deep)); color: #FBF6EC; border-radius: 3px 8px 8px 3px; box-shadow: inset 6px 0 0 rgba(0,0,0,.18), inset 7px 0 0 rgba(255,255,255,.12), var(--shadow-sm); transition: box-shadow .2s ease; }
.book:hover .book-cover, .book:focus-visible .book-cover { box-shadow: inset 6px 0 0 rgba(0,0,0,.18), inset 7px 0 0 rgba(255,255,255,.12), var(--shadow-md); }
.book-cover .book-title { font-family: var(--font-head); font-size: 1.4rem; line-height: 1.15; font-weight: 500; }
.book-cover .book-by { font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.book-note { font-size: .9375rem; line-height: 1.5; color: var(--ink-soft); }
@media (max-width: 520px) { .book-shelf { gap: 2rem 1.25rem; } .book-shelf li { width: calc(50% - .7rem); } .book-cover .book-title { font-size: 1.15rem; } }

/* Therapy page: pull-quotes, card rows, two-column steps */
.pullquote { margin: 1.5rem 0 !important; padding: .2rem 0 .2rem 1.4rem; border-left: 4px solid var(--clay); font-family: var(--font-head); font-weight: 500; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); line-height: 1.3; letter-spacing: -.01em; color: var(--deep); }
.prose > .pullquote:first-child { margin-top: 0 !important; }
.therapy-cards { list-style: none; padding: 0; margin: clamp(2rem, 4vw, 3rem) 0 0; }

.therapy-note { margin-top: 1.75rem; color: var(--ink-soft); }

.step .card-icon { position: absolute; top: 1.5rem; right: 1.5rem; margin: 0; }
@media (max-width: 780px) {  .therapy-cards.card-grid { grid-template-columns: minmax(0, 1fr); } }

.sec-head .btn-row { margin-top: 1.25rem; }

.fit-icon { margin-bottom: 1rem; }

/* ---------- Therapy page: varied section treatments ---------- */

.pillars { list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(248,243,235,.2); }
.pillars li { padding: 2rem clamp(1rem, 2.5vw, 2rem) 0; border-left: 1px solid rgba(248,243,235,.2); }
.pillars li:first-child { padding-left: 0; border-left: 0; }
.pillars .pillar-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); margin-bottom: 1.25rem; }
.pillars .pillar-icon .icon { width: 26px; height: 26px; }
.pillars h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: .6rem; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 1.25rem; padding-bottom: 2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .tl-icon { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--deep); color: var(--gold); box-shadow: 0 0 0 6px var(--cream); }
.timeline .tl-icon .icon { width: 24px; height: 24px; }
.timeline h3 { font-size: 1.3rem; margin: .45rem 0 .4rem; }
.timeline p { color: var(--ink-soft); }
@media (max-width: 780px) { .pillars { grid-template-columns: minmax(0, 1fr); border-top: 0; } .pillars li, .pillars li:first-child { padding: 1.5rem 0; border-left: 0; border-top: 1px solid rgba(248,243,235,.2); } }

/* Therapy ACT pillars on light band */
.band-sand .pillars { border-top: 1px solid var(--line); }
.band-sand .pillars li { border-left-color: var(--line); }
.band-sand .pillars .pillar-icon { border-color: var(--clay); color: var(--clay); background: var(--paper); }
.band-sand .pillars h3 { color: var(--deep); }
.band-sand .pillars p { color: var(--ink-soft); }
.timeline .tl-icon { background: var(--sage); color: var(--deep); }
@media (max-width: 780px) { .band-sand .pillars li, .band-sand .pillars li:first-child { border-top-color: var(--line); } }

/* Numbered vertical steps */
.timeline-num { max-width: 760px; }
.timeline .tl-num { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--deep); color: var(--gold); font-family: var(--font-head); font-weight: 500; font-size: 1.5rem; box-shadow: 0 0 0 6px var(--sand); }
.timeline-num li:not(:last-child)::after { background: rgba(31,61,54,.25); }
.timeline .tl-num { background: var(--paper); color: var(--clay); border: 2px solid var(--clay); }

/* New Patients: fill the space beside headings */
.addons { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.addons .h3 { margin-bottom: .6rem; }
.head-row { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1rem clamp(2rem, 6vw, 5rem); align-items: end; max-width: none !important; }
.head-row > p { margin: 0; padding-bottom: .35rem; }
@media (max-width: 860px) { .head-row { grid-template-columns: 1fr; } }
.crisis-card .btn-row { flex-wrap: wrap; gap: .6rem; }
.crisis-page .crisis-card .btn-row .btn { font-size: 1.0625rem; padding: 1rem 1.05rem; }
.crisis-page .crisis-card .btn-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.crisis-page .crisis-card .btn-row > .btn { width: auto; white-space: nowrap; }
@media (max-width: 860px) { .crisis-page .crisis-card .btn-row > .btn { flex: 1 1 auto; justify-content: center; } }

/* Genetic testing page */
.fact-list { display: grid; gap: 1rem; }
.fact-list li { display: flex; gap: 1.1rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.35rem 1.5rem; box-shadow: var(--shadow-sm); }
.fact-list h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; color: var(--deep); margin-bottom: .3rem; }
.fact-list p { color: var(--ink-soft); }
.fact-list .card-icon { flex: none; margin: 0; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: .75rem; align-items: stretch; }
.flow-node { display: flex; flex-direction: column; justify-content: center; gap: .3rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem 1.1rem; text-align: center; box-shadow: var(--shadow-sm); }
.flow-node strong { font-family: var(--font-head); font-weight: 500; font-size: 1.2rem; line-height: 1.25; color: var(--deep); }
.flow-node small { color: var(--ink-soft); font-size: .95rem; }
.flow-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); }
.flow-node.is-key { border: 2px solid var(--clay); background: #FFFDF8; }
.flow-arrow { display: grid; place-items: center; color: var(--clay); }
.flow-arrow .icon { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; }
  .flow-arrow .icon { transform: rotate(90deg); }
}
.mthfr-grid { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 1.25rem; margin-top: 1.75rem; align-items: stretch; }
@media (max-width: 860px) { .mthfr-grid { grid-template-columns: 1fr; } }
.price-big { font-family: var(--font-head); font-size: 3.25rem; line-height: 1; color: var(--clay); margin: .25rem 0 .6rem; }

/* Line wrapping: balance headings and short display text, avoid single-word last lines in body text */
h1, h2, h3, h4, .h2, .h3, .card-title, summary, .pullquote { text-wrap: balance; }
p, li, dd, figcaption, .lead, .form-note, .disclaimer, .form-emergency { text-wrap: pretty; }
.trust span, .chips li, .signoff, p:has(> strong:only-child), .crisis-card p { text-wrap: balance; }

/* ---------- Gentle press and focus feedback (no size or layout changes) ---------- */
a { transition: color .2s ease, text-decoration-color .2s ease; }
.btn:active, .card:active, .res-card:active { transform: none; transition-duration: .1s; }
@media (prefers-reduced-motion: no-preference) {
  /* the mobile menu and the dropdowns fade in instead of snapping open */
  .nav-js .site-nav.is-open { animation: menu-in .22s ease both; }
  .nav-more details[open] > .subnav { animation: menu-in .2s ease both; }
  @keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
}

/* Gentle cross-fade between pages (Chromium/Safari multi-page view transitions; others just navigate) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-group(root) { animation-duration: .45s; }
  ::view-transition-old(root) { animation: vt-out .3s ease both; }
  ::view-transition-new(root) { animation: vt-in .45s ease .1s both; }
  ::view-transition-group(site-header) { animation-duration: 0s; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

@media (max-width: 820px) { .footer-nav { justify-self: start; } .footer-nav ul { grid-template-columns: repeat(2, max-content); grid-template-rows: none; grid-auto-flow: row; gap: .7rem 2rem; } }

.btn-footnote { margin-top: .9rem; font-size: .9375rem; color: var(--ink-soft); }

/* Crisis page: primary buttons in side-by-side cards line up (each button area reserves room for two stacked buttons) */
@media (min-width: 821px) {
  .crisis-card .btn-row { min-height: 8.1rem; align-content: start; }
}

/* Footer: nav starts level with the logo, not above it */
@media (min-width: 821px) { .footer-nav { padding-top: .9rem; } }

/* Announcement banner: a calm strip under the page intro */
.announce { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .5rem .8rem; margin-top: 1.5rem; padding: .55rem 1.1rem .55rem .6rem; background: var(--sage); color: var(--deep); border: 1px solid var(--line); border-radius: 999px; font-size: .9875rem; }
.announce-tag { background: var(--clay); color: #fff; font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; }
@media (max-width: 480px) { .announce { flex-wrap: nowrap; gap: .5rem; font-size: .9rem; padding-right: .8rem; } }
/* Banner: one short jiggle on load, then still */
@media (prefers-reduced-motion: no-preference) {
  .announce { animation: announce-jiggle 0.9s ease-in-out 0.6s 1 both; transform-origin: 50% 50%; }
  @keyframes announce-jiggle {
    0%, 100% { transform: translateX(0) rotate(0); }
    15% { transform: translateX(-5px) rotate(-1.2deg); }
    30% { transform: translateX(5px) rotate(1.2deg); }
    45% { transform: translateX(-4px) rotate(-0.8deg); }
    60% { transform: translateX(4px) rotate(0.8deg); }
    75% { transform: translateX(-2px) rotate(-0.4deg); }
    90% { transform: translateX(2px) rotate(0.4deg); }
  }
}

/* ================================================================
   Mobile scale (phones, 640px and narrower)
   One set of sizes shared by every page, so elements that play the
   same role are the same size everywhere. Desktop is not affected.
   Body text stays at 16px or more and tap targets at 44px or more.
   ================================================================ */
@media (max-width: 640px) {
  :root {
    --m-h1: 2.125rem;          /* 34px  page and hero titles */
    --m-h2: 1.75rem;           /* 28px  section titles */
    --m-h3: 1.25rem;           /* 20px  card and step titles */
    --m-body: 1.0625rem;       /* 17px  body text */
    --m-small: 1rem;           /* 16px  notes, links, labels you read */
    --m-label: .875rem;        /* 14px  uppercase tags and captions */
    --m-sec: 3rem;             /* 48px  space above and below a section */
    --m-sec-tight: 2.25rem;    /* 36px  compact sections and hero bands */
    --m-card-pad: 1.5rem 1.25rem 1.6rem;
    --m-icon-box: 44px;        /* round or square icon tile */
    --m-icon: 22px;            /* icon inside the tile */
    --m-btn-h: 48px;           /* every main button */
    --m-btn-h-sm: 44px;        /* small buttons */
    --m-gap: 1rem;             /* gap between cards and between buttons */
    --m-tap: 44px;             /* minimum tap target */
  }

  /* Headings */
  h1, .page-head h1, .hero h1 { font-size: var(--m-h1); line-height: 1.12; }
  .h2, .cta-band h2, .crisis-card h2, .notice h2 { font-size: var(--m-h2); line-height: 1.18; }
  h3, .worry h3, .step h3, .process h3, .timeline h3, .habit-steps h3, .pillars h3, .fact h3, .fact-list h3 { font-size: var(--m-h3); line-height: 1.25; }
  .card-title, .voice .card-title, #expect .card-title, main h2.h3, main .h3 { font-size: var(--m-h3); line-height: 1.25; }
  main .res-head h2, main .res-head h2.h3 { font-size: var(--m-h2); line-height: 1.18; }

  /* Section spacing */
  .about, .services, .faq, .contact, .guides, .insurers, .worries, .sec, .cta-band { padding-block: var(--m-sec); }
  .gallery { padding-block: 0 var(--m-sec); }
  .sec-tight, .res-section { padding-block: var(--m-sec-tight); }
  .page-head { padding-block: var(--m-sec-tight) var(--m-sec); }
  .hero { padding-top: var(--m-sec-tight); }
  .sec-head, .section-head { margin-bottom: 1.75rem; }

  /* Cards and icon tiles */
  .card, .worry, .step, .voice, .res-card, .rate-card, .crisis-card, .notice, .disclaimer { padding: var(--m-card-pad); }
  .notice { padding-inline: 1.25rem; }
  .disclaimer { padding: 1.1rem 1.25rem; }
  .card-grid, .worry-grid, .res-grid, .voices, .contact-cards, .crisis-cards { gap: var(--m-gap); }
  .card-icon { width: var(--m-icon-box); height: var(--m-icon-box); border-radius: 14px; margin-bottom: 1.1rem; }
  .card-icon .icon { width: var(--m-icon); height: var(--m-icon); }
  #expect .card { grid-template-columns: var(--m-icon-box) minmax(0, 1fr); padding: var(--m-card-pad); }
  #expect .card-icon { width: var(--m-icon-box); height: var(--m-icon-box); border-radius: 14px; }
  #expect .card-icon .icon { width: var(--m-icon); height: var(--m-icon); }
  .page-head-icon { width: 104px; }
  .about-photo { width: min(100%, 280px); margin-inline: auto; }
  .about-photo img { width: 100%; height: auto; }

  /* Buttons */
  .btn, .btn-lg { min-height: var(--m-btn-h); padding: .8rem 1.5rem; font-size: 1rem; }
  .btn-sm { min-height: var(--m-btn-h-sm); padding: .6rem 1.25rem; font-size: 1rem; }
  .nav-js .site-nav .nav-cta .btn { min-height: var(--m-btn-h); padding: .8rem 1.5rem; font-size: 1rem; }
  .btn-row { gap: var(--m-gap); }

  /* Text that is read: 16px and up */
  .site-footer, .footer-brand p, .footer-brand a, .footer-nav a, .res-card p, .worry p, .card p, .disclaimer,
  .disclaimer a, .form-note, .form-emergency, .btn-footnote, .book-note, .rate-desc, .lab-group summary .lab-from, #expect .card p, .chips a,
  .field label, .field input[type="file"]::file-selector-button, .trust span, .float-card span, .flow-node small,
  .todo, .card .todo, .step .todo, .insurance-box .todo, .form-status { font-size: var(--m-small); }

  /* Tags and captions: 14px and up */
  .eyebrow, .announce-tag, .flow-label, .hs-time, .vid-label, .book-cover .book-by, .res-card .res-host, .vid-meta, .kicker, .field .hint,
  .zoom-hint, .footer-legal { font-size: var(--m-label); }

  /* Tap targets */
  .nav-js .site-nav a:not(.btn), .nav-js .nav-more summary { min-height: var(--m-tap); align-items: center; }
  .footer-nav a, .site-footer .crisis a { display: inline-flex; align-items: center; min-height: var(--m-tap); }
  .card-link .link { min-height: var(--m-tap); }
  .contact-card .big-link { display: flex; align-items: center; min-height: var(--m-tap); }
  .chips a { display: flex; align-items: center; justify-content: center; min-height: var(--m-tap); }
  .faq-item summary { min-height: var(--m-tap); }
  .footer-legal a { display: inline-block; padding-block: .75rem; }

  /* Footer links: let the two columns fit at 360px */
  .footer-nav { justify-self: stretch; }
  .footer-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
  .footer-nav a { white-space: normal; }
}
