/* ==========================================================================
   PsychiatryCore — Hawaii & Nevada telehealth division of Arizona Mental Wellness
   Shares the AMW "Sonoran calm" tokens so both sites read as one practice.
   Generated pages link this file; edit here, then run build-site.py.
   ========================================================================== */

:root {
  --pine: #1E3A34;
  --pine-2: #27483F;
  --pine-deep: #17302A;
  --sage: #87988A;
  --sage-ink: #55685A;
  --sage-soft: #DCE3DA;
  --sand: #FAF8F5;
  --stone: #F3EEE6;
  --tan: #EADFCF;
  --clay: #B65A3E;
  --clay-dark: #994A32;
  --clay-soft: #F4E3DA;
  --gold: #D9B45A;
  --ink: #1F2A27;
  --muted: #4B5753;
  --line: rgba(30, 58, 52, .12);
  --line-strong: rgba(30, 58, 52, .22);
  --on-dark: #F4F1EA;
  --on-dark-muted: rgba(244, 241, 234, .8);
  --ok: #2F7A55;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-sm: 0 1px 2px rgba(30, 58, 52, .06);
  --shadow-md: 0 2px 4px rgba(30, 58, 52, .04), 0 14px 32px -16px rgba(30, 58, 52, .22);
  --shadow-lg: 0 4px 10px rgba(30, 58, 52, .05), 0 30px 60px -28px rgba(30, 58, 52, .35);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--pine); }
p { margin: 0 0 1rem; }
a { color: var(--clay-dark); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--clay-soft); color: var(--pine); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--pine); color: #fff; padding: .7rem 1rem; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 12px; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .8rem 1.55rem; border-radius: 999px;
  font: 600 .975rem/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .2s var(--ease), color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; }
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 8px 20px -10px rgba(182, 90, 62, .75); }
.btn-primary:hover { background: var(--clay-dark); }
.btn-dark { background: var(--pine); color: var(--on-dark); }
.btn-dark:hover { background: var(--pine-2); }
.btn-ghost { background: #fff; color: var(--pine); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--pine); }
.btn-on-dark { background: rgba(255,255,255,.08); color: var(--on-dark); border-color: rgba(255,255,255,.35); }
.btn-on-dark:hover { background: rgba(255,255,255,.16); }
.btn-sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .9rem; }
.text-link { color: var(--clay-dark); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text-link:hover { color: var(--pine); }
.arrow-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--clay-dark); text-decoration: none; }
.arrow-link .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.arrow-link:hover .i { transform: translateX(3px); }
.arrow-link:hover { color: var(--pine); }

/* ---------- Crisis bar ---------- */
.crisis-bar { background: var(--pine-deep); color: var(--on-dark-muted); font-size: .8125rem; line-height: 1.4; text-align: center; padding: .5rem var(--gutter); }
.crisis-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.crisis-bar a:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 248, 245, .9);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex: none; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-name { font: 600 1.4rem/1.05 var(--serif); letter-spacing: -.01em; color: var(--pine); }
.brand-name small { display: block; font: 600 .7rem/1.3 var(--sans); color: var(--sage-ink); letter-spacing: .05em; text-transform: uppercase; margin-top: 4px; }
.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.primary-nav li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .65rem .8rem; border-radius: 999px; white-space: nowrap;
  font: 500 .95rem/1 var(--sans); color: var(--pine); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--stone); }
.nav-link[aria-current="page"] { background: var(--sage-soft); }
.nav-link .i { width: 14px; height: 14px; transition: transform .2s; }
.nav-link[aria-expanded="true"] .i { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.menu-toggle { display: none; width: 46px; height: 46px; place-items: center; border-radius: 999px; background: none; border: 1px solid var(--line-strong); color: var(--pine); cursor: pointer; }

.menu-panel {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 1.25rem; z-index: 50;
}
.menu-panel[hidden] { display: none; }
.menu-panel::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.mega { width: min(780px, calc(100vw - 48px)); display: grid; grid-template-columns: 1fr 1fr 1.05fr; gap: 1rem; }
.mega h3 { font: 600 .78rem/1.3 var(--sans); color: var(--sage-ink); margin: 0 0 .4rem .7rem; letter-spacing: .04em; text-transform: uppercase; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { display: block; padding: .42rem .7rem; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-size: .925rem; }
.mega a:hover { background: var(--stone); color: var(--pine); }
.mega-feature { background: var(--pine); color: var(--on-dark); border-radius: var(--r-md); padding: 1.25rem; display: flex; flex-direction: column; gap: .65rem; }
.mega-feature strong { font: 500 1.15rem/1.3 var(--serif); color: #fff; }
.mega-feature p { margin: 0; font-size: .86rem; color: var(--on-dark-muted); line-height: 1.5; }
.mega-feature a.mega-cta { color: var(--gold); font-weight: 600; padding: 0; margin-top: auto; }
.mega-feature a.mega-cta:hover { background: none; text-decoration: underline; }
.ext { font-size: .75em; opacity: .65; margin-left: .15em; }

@media (max-width: 1120px) {
  .primary-nav, .header-actions .hide-sm { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  :root { --header-h: 66px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.22rem; }
}
@media (max-width: 420px) { .brand-name small { font-size: .62rem; letter-spacing: .03em; } }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(20, 38, 34, .5); animation: fade .2s var(--ease); }
.drawer-panel {
  position: absolute; inset: 0 0 0 auto; width: min(400px, 100%); background: var(--sand);
  display: flex; flex-direction: column; overflow-y: auto; box-shadow: var(--shadow-lg); animation: slide .28s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(30px); opacity: .4; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: .9rem var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-body { padding: .5rem var(--gutter) 1.5rem; flex: 1; }
.drawer-body > a, .drawer summary {
  display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line);
  font: 500 1.05rem/1.2 var(--sans); color: var(--pine); text-decoration: none; cursor: pointer; list-style: none;
}
.drawer summary::-webkit-details-marker { display: none; }
.drawer details[open] summary .i { transform: rotate(180deg); }
.drawer details ul { list-style: none; margin: .5rem 0 1rem; padding: 0; display: grid; gap: .1rem; }
.drawer details a { display: block; padding: .55rem .75rem; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-size: .95rem; }
.drawer details a:hover { background: var(--stone); }
.drawer-foot { padding: 1rem var(--gutter) 1.5rem; display: grid; gap: .6rem; border-top: 1px solid var(--line); background: #fff; }

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 860px) {
  .action-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(30,58,52,.25);
    padding: .4rem .5rem calc(.4rem + env(safe-area-inset-bottom));
  }
  .action-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 54px; justify-content: center;
    color: var(--pine); text-decoration: none; font: 600 .74rem/1.1 var(--sans); border-radius: var(--r-sm); }
  .action-bar a .i { width: 21px; height: 21px; }
  .action-bar a.is-primary { background: var(--clay); color: #fff; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

/* ---------- Telehealth pill (the quiet "video only" signal) ---------- */
.tele-pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem .4rem .45rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font: 600 .8125rem/1.2 var(--sans); color: var(--pine); margin: 0 0 1.25rem;
}
.tele-pill .dot { width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; background: var(--sage-soft); color: var(--pine); }
.tele-pill .dot .i { width: 15px; height: 15px; }
.tele-pill span.sep { color: var(--sage); font-weight: 400; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 84px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(48% 60% at 92% 8%, rgba(217, 180, 90, .16), transparent 70%),
    radial-gradient(40% 55% at 0% 100%, rgba(135, 152, 138, .18), transparent 70%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1, .page-hero h1 {
  font: 400 clamp(2.35rem, 1.4rem + 3vw, 3.9rem)/1.06 var(--serif); letter-spacing: -.02em; color: var(--pine); margin: 0 0 1.25rem; text-wrap: balance;
}
.hero h1 em, .page-hero h1 em { font-style: italic; color: var(--clay-dark); }
.lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.22rem); line-height: 1.62; color: var(--muted); max-width: 58ch; margin: 0 0 1.85rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-facts { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .9rem; color: var(--muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-facts .i { width: 18px; height: 18px; color: var(--sage-ink); }

.portrait { position: relative; margin: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 55% 30%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.portrait .float {
  position: absolute; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-md);
  padding: .8rem 1rem; display: flex; gap: .7rem; align-items: center; font-size: .82rem; line-height: 1.35; color: var(--muted);
}
.portrait .float strong { display: block; color: var(--pine); font-size: .9rem; }
.portrait .float-a { left: -22px; bottom: 28px; max-width: 290px; }
.portrait .float-b { right: -14px; top: 26px; }
.portrait .float .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--sage-soft); color: var(--pine); display: grid; place-items: center; flex: none; }
.live-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--ok); box-shadow: 0 0 0 4px rgba(47,122,85,.15); flex: none; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .portrait { max-width: 520px; }
  .portrait img { aspect-ratio: 4 / 3.4; }
  .portrait .float-a { left: 12px; bottom: 12px; }
  .portrait .float-b { right: 12px; top: 12px; }
}

/* ---------- Interior page hero ---------- */
.page-hero { position: relative; padding: clamp(32px, 5vw, 72px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.page-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero.is-simple .wrap { grid-template-columns: minmax(0, 800px); }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.5rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8125rem; color: var(--muted); margin: 0 0 1.1rem; list-style: none; padding: 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--clay-dark); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--sage); }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: 1fr; } }

/* State hero art: topographic lines (waves for Hawaii, ridgelines for Nevada) */
.state-art { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--pine); color: var(--on-dark); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-lg); min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.state-art svg.topo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.state-art > *:not(svg) { position: relative; }
.state-art .label { font: 600 .78rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin: 0 0 .4rem; }
.state-art .big { font: 400 2.1rem/1.1 var(--serif); color: #fff; margin: 0 0 1rem; }
.state-art dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0; font-size: .92rem; }
.state-art dt { color: var(--on-dark-muted); }
.state-art dd { margin: 0; color: #fff; font-weight: 600; }
.state-art dd a { color: #fff; }
.open-status { display: inline-flex; align-items: center; gap: .5rem; font-size: .86rem; font-weight: 600; }
.open-status .live-dot.is-closed { background: var(--gold); box-shadow: 0 0 0 4px rgba(217,180,90,.18); }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 112px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-stone { background: var(--stone); }
.section-white { background: #fff; }
.section-dark { background: var(--pine); color: var(--on-dark); }
.section-head { max-width: 700px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.kicker { font: 600 .8125rem/1.4 var(--sans); color: var(--clay-dark); margin: 0 0 .75rem; letter-spacing: .06em; text-transform: uppercase; }
.section-dark .kicker { color: var(--gold); }
.h2 { font: 400 clamp(1.95rem, 1.3rem + 2.2vw, 3rem)/1.1 var(--serif); letter-spacing: -.012em; color: var(--pine); margin: 0 0 1rem; text-wrap: balance; }
.section-dark .h2 { color: #fff; }
.h3 { font: 500 1.32rem/1.25 var(--serif); color: var(--pine); margin: 0 0 .5rem; }
.body-lg { font-size: 1.12rem; line-height: 1.65; color: var(--muted); }
.section-dark .body-lg { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } .split { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-sm); }
.icon-chip { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--sage-soft); color: var(--pine); flex: none; margin-bottom: 1rem; }
.icon-chip .i { width: 22px; height: 22px; }

/* ---------- State chooser ---------- */
.states { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.state-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 1rem; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-sm);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.state-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.state-card svg.topo { position: absolute; right: -40px; top: -30px; width: 340px; height: 240px; color: var(--sage); opacity: .35; pointer-events: none; }
.state-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; position: relative; }
.state-card .eyebrow { font: 600 .78rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--sage-ink); margin: 0 0 .3rem; }
.state-card h3 { font: 400 2.2rem/1.05 var(--serif); margin: 0; }
.state-card .go { width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; background: var(--clay); color: #fff; flex: none; transition: transform .25s var(--ease); }
.state-card:hover .go { transform: translateX(4px); }
.state-card p { margin: 0; color: var(--muted); position: relative; }
.state-card .meta { position: relative; display: grid; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .92rem; }
.state-card .meta div { display: flex; align-items: center; gap: .55rem; color: var(--muted); }
.state-card .meta .i { width: 17px; height: 17px; color: var(--sage-ink); }
.state-card .meta b { color: var(--pine); }
@media (max-width: 760px) { .states { grid-template-columns: 1fr; } }

/* ---------- Proof strip ---------- */
.proof { border-block: 1px solid var(--line); background: #fff; }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.proof li { padding: clamp(22px, 3vw, 32px) clamp(14px, 2vw, 26px); display: grid; gap: .3rem; align-content: start; }
.proof li + li { border-left: 1px solid var(--line); }
.proof b { font: 400 clamp(1.6rem, 1.2rem + 1vw, 2.15rem)/1.1 var(--serif); color: var(--pine); }
.proof span { font-size: .9rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 860px) {
  .proof ul { grid-template-columns: 1fr 1fr; }
  .proof li:nth-child(3) { border-left: 0; }
  .proof li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.4rem 1.5rem; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font: 400 1.9rem/1 var(--serif); color: var(--clay); margin-bottom: 1rem;
}
.steps h3 { font: 500 1.18rem/1.25 var(--serif); margin: 0 0 .45rem; }
.steps p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.55; }
.steps .when { display: inline-block; margin-top: .9rem; font-size: .78rem; font-weight: 600; color: var(--sage-ink); background: var(--sage-soft); padding: .25rem .6rem; border-radius: 999px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Conditions grid (links out to AMW guides) ---------- */
.cond-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cond {
  display: flex; flex-direction: column; gap: .35rem; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem 1.35rem 1.2rem;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.cond:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cond .row { display: flex; align-items: center; gap: .75rem; }
.cond .row .icon-chip { margin: 0; width: 40px; height: 40px; border-radius: 11px; }
.cond .row .icon-chip .i { width: 19px; height: 19px; }
.cond h3 { font: 500 1.12rem/1.25 var(--serif); margin: 0; }
.cond p { margin: .35rem 0 0; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.cond .state-note { margin-top: .4rem; font-size: .8rem; line-height: 1.4; color: var(--sage-ink); }
.cond .more { margin-top: auto; padding-top: .8rem; font-size: .84rem; font-weight: 600; color: var(--clay-dark); display: inline-flex; align-items: center; gap: .3rem; }
.cond .more .i { width: 14px; height: 14px; }
.source-note { display: flex; gap: .55rem; align-items: center; font-size: .86rem; color: var(--muted); margin-top: 1.5rem; }
.source-note img { width: 26px; height: 26px; border-radius: 999px; }
@media (max-width: 960px) { .cond-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cond-grid { grid-template-columns: 1fr; } }

/* ---------- Pillars ---------- */
.pillars { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.pillars a {
  display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px; min-height: 44px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22); color: var(--on-dark); text-decoration: none; font-size: .92rem; font-weight: 500;
  transition: background .2s, border-color .2s;
}
.pillars a:hover { background: rgba(255,255,255,.14); border-color: var(--gold); }
.pillars .i { width: 16px; height: 16px; color: var(--gold); }

/* ---------- Clinician ---------- */
.clinician { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.clinician figure { margin: 0; position: relative; }
.clinician figure img { border-radius: var(--r-xl); aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 55% 25%; width: 100%; box-shadow: var(--shadow-lg); }
.cred-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .65rem; }
.cred-list li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; font-size: .96rem; color: var(--muted); line-height: 1.5; }
.cred-list .i { color: var(--ok); margin-top: 2px; }
.cred-list b { color: var(--pine); font-weight: 600; }
.cred-list a { color: var(--clay-dark); font-weight: 600; font-size: .86rem; }
@media (max-width: 860px) { .clinician { grid-template-columns: 1fr; } .clinician figure { max-width: 460px; } }
.section-dark .cred-list li { color: var(--on-dark-muted); }
.section-dark .cred-list b { color: #fff; }
.section-dark .cred-list .i { color: var(--gold); }
.glass { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 36px); }
.glass .cred-list { margin: 0; gap: 1.1rem; }

/* Verified-credentials card (home) */
.cred-card { position: relative; overflow: hidden; background: var(--pine); color: var(--on-dark); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-lg); }
.cred-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 999px; background: radial-gradient(circle, rgba(217,180,90,.28), transparent 70%); }
.cred-card .who { position: relative; display: flex; align-items: center; gap: 1rem; padding-bottom: 1.4rem; margin-bottom: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.cred-card .who img { width: 84px; height: 84px; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 3px var(--pine), 0 0 0 5px var(--gold); }
.cred-card .who b { display: block; font: 500 1.3rem/1.2 var(--serif); color: #fff; }
.cred-card .who span { font-size: .9rem; color: var(--on-dark-muted); }
.cred-card .label { font: 600 .75rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin: 0 0 .8rem; }
.cred-card dl { position: relative; display: grid; grid-template-columns: auto 1fr; gap: .7rem 1.25rem; margin: 0; font-size: .95rem; }
.cred-card dt { color: var(--on-dark-muted); }
.cred-card dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }
.cred-card dd a { color: var(--gold); font-weight: 500; font-size: .82rem; margin-left: .4rem; }

/* ---------- Fit check ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.fit .card h3 { display: flex; align-items: center; gap: .6rem; }
.fit ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.fit li { display: grid; grid-template-columns: 20px 1fr; gap: .65rem; font-size: .96rem; color: var(--muted); line-height: 1.5; }
.fit .yes .i { color: var(--ok); }
.fit .no .i { color: var(--clay-dark); }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price.is-featured { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay), var(--shadow-md); }
.price .tag { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--clay-dark); background: var(--clay-soft); padding: .3rem .65rem; border-radius: 999px; margin-bottom: 1rem; }
.price h3 { font: 500 1.35rem/1.25 var(--serif); margin: 0 0 .4rem; }
.price .amt { font: 400 3.2rem/1 var(--serif); color: var(--pine); margin: .5rem 0 .25rem; }
.price .amt small { font: 500 .95rem var(--sans); color: var(--muted); margin-left: .25rem; }
.price ul { list-style: none; margin: 1.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .55rem; }
.price li { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; font-size: .95rem; color: var(--muted); }
.price li .i { color: var(--ok); margin-top: 2px; }
@media (max-width: 700px) { .price-grid { grid-template-columns: 1fr; } }

.mini-price { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline; margin: 0; padding: 1rem 1.25rem; background: var(--stone); border-radius: var(--r-md); font-size: .95rem; color: var(--muted); }
.mini-price b { color: var(--pine); font: 500 1.35rem var(--serif); margin-right: .25rem; }

/* ---------- Info list (state pages) ---------- */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.info-list li:first-child { padding-top: 0; }
.info-list .icon-chip { margin: 0; width: 44px; height: 44px; }
.info-list b { display: block; color: var(--pine); font-size: 1rem; margin-bottom: .1rem; }
.info-list span, .info-list p { color: var(--muted); font-size: .95rem; margin: 0; line-height: 1.55; }

.chips { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li { font-size: .84rem; padding: .35rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); }

.callout { display: flex; gap: .9rem; align-items: flex-start; background: var(--sage-soft); border-radius: var(--r-md); padding: 1.1rem 1.25rem; font-size: .95rem; line-height: 1.55; color: var(--ink); }
.callout .i { color: var(--pine); margin-top: 2px; }
.callout.is-clay { background: var(--clay-soft); }
.callout p { margin: 0; }
.callout b { color: var(--pine); }

.admin-addr { font-size: .86rem; color: var(--muted); line-height: 1.5; border-top: 1px dashed var(--line-strong); padding-top: 1rem; margin-top: 1.25rem; }
.admin-addr b { color: var(--pine); font-weight: 600; }

/* ---------- Author / clinical review box (same pattern as AMW) ---------- */
.author-box { display: grid; grid-template-columns: 88px 1fr; gap: 1.25rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; }
.author-box img { width: 88px; height: 88px; border-radius: 999px; object-fit: cover; }
.author-box .role { font-size: .8125rem; font-weight: 600; color: var(--clay-dark); margin: 0; }
.author-box .name { font: 500 1.25rem/1.25 var(--serif); color: var(--pine); margin: .15rem 0 .4rem; }
.author-box p { margin: 0 0 .5rem; font-size: .9375rem; color: var(--muted); line-height: 1.55; }
.author-box .meta { font-size: .8125rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.author-box .meta strong { color: var(--pine); }
.author-box .meta.links { margin: .35rem 0 0; }
@media (max-width: 560px) { .author-box { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .65rem; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s, box-shadow .2s; }
.faq-list details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.15rem 1.3rem; display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; color: var(--pine); line-height: 1.4; min-height: 48px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 1.55rem/1 var(--sans); color: var(--clay-dark); transition: transform .25s var(--ease); flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: .98rem; line-height: 1.65; }
.faq-list .answer p:last-child { margin: 0; }

/* ---------- Ask / contact module ---------- */
.ask { background: var(--pine); color: var(--on-dark); padding: clamp(60px, 8vw, 108px) 0; position: relative; overflow: hidden; }
.ask::before {
  content: ""; position: absolute; inset: 0; opacity: .24; pointer-events: none;
  background: radial-gradient(60% 80% at 0% 100%, #6E8B7B 0%, transparent 60%), radial-gradient(50% 60% at 100% 0%, #B65A3E 0%, transparent 65%);
}
.ask .wrap { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.ask .h2 { color: #fff; }
.ask .kicker { color: var(--gold); }
.ask .body-lg { color: var(--on-dark-muted); }
.reach-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; }
.reach-list li { display: grid; grid-template-columns: 42px 1fr; gap: .9rem; align-items: center; padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.reach-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.reach-list .ic { width: 42px; height: 42px; border-radius: 999px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--gold); }
.reach-list .ic .i { width: 18px; height: 18px; }
.reach-list span { display: block; font-size: .8125rem; color: var(--on-dark-muted); }
.reach-list a, .reach-list b { color: #fff; font-weight: 600; text-decoration: none; font-size: 1.02rem; }
.reach-list a:hover { color: var(--gold); text-decoration: underline; }
.reassure { margin-top: 1.5rem; font-size: .9rem; color: var(--on-dark-muted); display: flex; gap: .6rem; }
.reassure .i { color: var(--gold); }

.form-card { background: var(--sand); color: var(--ink); border-radius: var(--r-xl); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-card h3 { font: 500 1.55rem/1.2 var(--serif); color: var(--pine); margin: 0 0 .35rem; }
.form-card > p { color: var(--muted); font-size: .95rem; }
.intent { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 1.25rem 0; border: 0; padding: 0; min-width: 0; }
.intent legend { font-size: .875rem; font-weight: 600; color: var(--pine); margin-bottom: .5rem; padding: 0; }
.intent label { position: relative; display: block; cursor: pointer; }
.intent input { position: absolute; opacity: 0; inset: 0; }
.intent span {
  display: block; height: 100%; padding: .8rem .9rem; border-radius: var(--r-md); border: 1.5px solid var(--line-strong); background: #fff;
  font-size: .92rem; font-weight: 600; color: var(--pine); line-height: 1.3; transition: border-color .2s, background .2s;
}
.intent span small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.intent input:checked + span { border-color: var(--clay); background: var(--clay-soft); }
.intent input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 2px; }
.field { display: grid; gap: .35rem; margin-bottom: .95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field label { font-size: .875rem; font-weight: 600; color: var(--pine); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: .7rem .9rem; border-radius: var(--r-sm); border: 1.5px solid var(--line-strong); background: #fff;
  font: 400 1rem/1.4 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 116px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 4px rgba(182, 90, 62, .15); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B3261E; }
.field .err { font-size: .8125rem; color: #B3261E; font-weight: 600; }
.field .err:empty { display: none; }
.field .hint { font-size: .8125rem; color: var(--muted); }
.privacy-note { display: flex; gap: .6rem; font-size: .8125rem; line-height: 1.45; color: var(--muted); background: var(--stone); border-radius: var(--r-sm); padding: .75rem .9rem; margin: .25rem 0 1rem; }
.privacy-note .i { width: 18px; height: 18px; color: var(--sage-ink); margin-top: 1px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.form-actions .small { margin: 0; color: var(--muted); }
.form-error { display: none; background: #FCE8E6; color: #8C1D18; border-radius: var(--r-sm); padding: .8rem 1rem; font-size: .9rem; margin-bottom: 1rem; }
.form-error.is-on { display: block; }
.form-error a { color: #8C1D18; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: .25rem 0 1rem; min-height: 65px; }
@media (max-width: 900px) { .ask .wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row, .intent { grid-template-columns: 1fr; } }

/* ---------- Arizona / parent practice band ---------- */
.parent-band { background: var(--stone); border-top: 1px solid var(--line); }
.parent-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.6rem; }
.parent-band .who { display: flex; align-items: center; gap: .9rem; font-size: .95rem; color: var(--muted); }
.parent-band .who img { width: 46px; height: 46px; border-radius: 999px; background: #fff; padding: 2px; box-shadow: 0 0 0 1px var(--line); }
.parent-band .who b { color: var(--pine); }

/* ---------- Prose (privacy notice, long text) ---------- */
.prose { max-width: 820px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.prose h2 { font: 500 1.6rem/1.25 var(--serif); color: var(--pine); margin: 2.4rem 0 .8rem; }
.prose h3 { font: 500 1.25rem/1.3 var(--serif); color: var(--pine); margin: 1.6rem 0 .5rem; }
.prose strong { color: var(--pine); }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: .45rem; margin: 0 0 1rem; }
.prose a { color: var(--clay-dark); font-weight: 600; }
.prose section { scroll-margin-top: calc(var(--header-h) + 24px); }
.prose nav { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem 1.5rem; margin: 1.5rem 0; font-size: .92rem; }
.prose nav ol { columns: 2; display: block; }
.prose nav li { margin-bottom: .35rem; }
.prose > div:first-child { background: var(--stone); border-radius: var(--r-lg); padding: 1.25rem 1.5rem; }
@media (max-width: 640px) { .prose nav ol { columns: 1; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: var(--on-dark-muted); padding: clamp(52px, 7vw, 88px) 0 2rem; font-size: .92rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; text-decoration: none; }
.footer-brand span { font: 500 1.35rem/1.1 var(--serif); color: #fff; }
.division { display: flex; align-items: center; gap: .7rem; margin-top: 1.25rem; padding: .8rem .9rem; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); font-size: .84rem; line-height: 1.45; }
.division img { width: 38px; height: 38px; border-radius: 999px; background: var(--sand); padding: 2px; flex: none; }
.site-footer h2 { font: 600 .78rem/1.3 var(--sans); color: var(--gold); margin: 0 0 1rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer p { margin: 0 0 .75rem; line-height: 1.6; }
.footer-bottom { padding-top: 1.75rem; display: grid; gap: .6rem; font-size: .8125rem; color: rgba(244,241,234,.66); }
.footer-bottom strong { color: var(--on-dark); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal (progressive; content is visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---- Intro video (home + about) ---- */
.intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.intro-video { margin: 0; }
.intro-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--pine-deep); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.intro-video figcaption { display: flex; align-items: center; gap: .45rem; margin-top: .75rem; font-size: .85rem; color: var(--muted); }
.intro-video figcaption .i { width: 18px; height: 18px; color: var(--clay); }
.intro .cta-row { margin-top: 1.5rem; }
.transcript { margin-top: 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.transcript summary { display: flex; align-items: center; gap: .5rem; padding: .85rem 0; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--pine); list-style: none; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary .i { width: 18px; height: 18px; }
.transcript[open] summary { padding-bottom: .4rem; }
.transcript p { font-size: .95rem; color: var(--muted); margin: 0 0 .8rem; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } }

/* ---- How it works: heading + telehealth photo ---- */
.how-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 64px); align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.how-head .section-head { margin-bottom: 0; }
.how-photo { margin: 0; }
.how-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
@media (max-width: 900px) { .how-head { grid-template-columns: 1fr; } .how-photo { max-width: 520px; } }

/* About hero: new office portrait is already cropped tall */
.portrait.is-office img { object-position: 50% 35%; }
