/* ==== 00-base.css ==== */
/* Tokens, reset, type, buttons, layout.
   Palette and type come from the May 2026 WordPress/Thrive build: teal #2a9d8f, deep teal #204147
   for headings and the top bar, soft grey and mint section backgrounds with curved edges;
   Sen for headings and the menu, DM Sans for text. */
:root {
  --teal: #2a9d8f;
  --teal-deep: #217f74;
  --ink: #204147;
  --ink-2: #183238;
  --text: #3b3b3b;
  --muted: #5d6466;
  --grey: #f8f8f8;
  --mint: #e3f2f1;          /* rgba(42,157,145,.12) on white */
  --mint-2: #d2ebe8;
  --white: #fff;
  --line: rgba(32, 65, 71, .14);
  --shadow: 0 10px 30px rgba(32, 65, 71, .10);

  --head: 'Sen', 'Trebuchet MS', system-ui, sans-serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --wrap: 1100px;
  --gutter: clamp(16px, 4vw, 40px);
  --pad: clamp(60px, 7.5vw, 104px);
  --curve: clamp(36px, 7vw, 110px);
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 1.125rem/1.42 var(--sans);   /* old site: 18px / 25.56px */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); }
p, ul, ol, dl, blockquote, figure { margin: 0 0 1.1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
ul[role="list"] { list-style: none; padding: 0; margin: 0; }
address { font-style: normal; }
strong, b { font-weight: 700; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--ink); color: var(--white); text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- headings ---------- */
h1, h2, h3, h4, .h1, .h2, .h3 {
  font-family: var(--head);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .4em;
}
h1, .h1 { font-size: clamp(2.1rem, 3.6vw, 2.875rem); line-height: 1.3; }      /* 46px, old site line spacing */
h2, .h2 { font-size: clamp(1.9rem, 3.2vw, 2.875rem); }      /* section titles, 46px like the old site */
h3, .h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); }         /* card / column titles, 28px */
h4, .h4 { font-size: 1.5rem; }                               /* 24px feature titles */
.h2--sm { font-size: clamp(1.6rem, 2.4vw, 1.95rem); }        /* 31px "Ready to work with..." */
.center { text-align: center; }

/* italic teal line under a title ("Care that's actually different") */
.subhead {
  display: block;
  font: italic 400 1.3125rem/1.42 var(--sans);   /* old site: 21px on every device */
  color: var(--teal);
  margin: -.1em 0 1.1rem;
}
/* small grey label with a teal bar, above the hero title ("HOLLY SPRINGS, NC") */
.eyebrow {
  display: inline-block;
  font: 400 .875rem/1.4 var(--sans);
  color: var(--text);
  border-left: 3px solid var(--teal);
  padding-left: 6px;
  margin: 0 0 1rem;
}
.eyebrow--plain { border: 0; padding: 0; text-transform: none; }
.eyebrow--caps { text-transform: uppercase; }   /* home only; the old inner pages used normal case */
.lead { font-weight: 700; }
.intro { max-width: 820px; margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px;
  padding: .7em 1.65em;
  border: 2px solid var(--teal);
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font: 700 .9375rem/1.3 var(--sans);
  letter-spacing: .1em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(42, 157, 143, .22);
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }
.btn--sm { min-height: 40px; padding: .55em 1.5em; font-size: .8125rem; }
.btn--outline { background: transparent; color: var(--teal); box-shadow: none; }
.btn--outline:hover { background: var(--teal); color: var(--white); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--teal); box-shadow: none; }
.btn--light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 1.8rem; }
.center .actions, .actions--center { justify-content: center; }
.actions--stack { flex-direction: column; align-items: center; gap: 12px; }
.actions--stack .btn { min-width: min(100%, 360px); }

/* white pill with a teal bar ("LEARN MORE ABOUT OUR SERVICES") */
.pill-link {
  display: inline-block;
  padding: 18px 22px 18px 26px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(32, 65, 71, .12);
  font: 700 .8125rem/1.3 var(--sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  position: relative;
}
.pill-link::before { content: ''; position: absolute; left: 14px; top: 16px; bottom: 16px; width: 3px; background: var(--teal); }
.pill-link:hover { color: var(--teal); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(900px + 2 * var(--gutter)); }
.wrap--text { max-width: calc(760px + 2 * var(--gutter)); }
.section { padding-block: var(--pad); position: relative; }
.section--grey { background: var(--grey); }
.section--mint { background: var(--mint); }
.section--teal { background: var(--teal); color: var(--white); }
.section--teal h2, .section--teal h3, .section--teal .subhead { color: var(--grey); }
.section--teal a:not(.btn) { color: var(--white); }

/* curved section edges (the old site's soft arcs): a lens-shaped band */
.curved { border-radius: 50% / var(--curve); }
.curved-bottom { border-radius: 0 0 50% 50% / 0 0 var(--curve) var(--curve); }
.curved-top { border-radius: 50% 50% 0 0 / var(--curve) var(--curve) 0 0; }
.curved, .curved-bottom { padding-bottom: calc(var(--pad) + var(--curve) * .4); }
.curved, .curved-top { padding-top: calc(var(--pad) + var(--curve) * .4); }
.section + .section--mint, .section + .section--teal { margin-top: 0; }

/* two columns: text + image (service rows, team rows) */
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--flip > :first-child { order: 2; }
.split + .split { margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 820px) {
  .split, .split--flip { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
}

/* ==== 10-header-footer.css ==== */
/* Top bar, header (logo, menu with dropdowns, Book Now), footer. */

/* ---------- top bar: Patient Portal | Make an Appointment | Call Us (centred on every device) ---------- */
.topbar { background: var(--ink); color: var(--white); }
.topbar__links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; min-height: 36px; padding: 4px 12px; }
.topbar__links li { display: flex; align-items: center; }
.topbar__links li + li::before { content: ''; width: 1px; height: 14px; background: rgba(255, 255, 255, .45); margin-inline: 14px; }
.topbar a { color: var(--white); text-decoration: none; font: 500 .875rem/1.5 var(--head); padding: 4px 0; }
.topbar a:hover { text-decoration: underline; }
.topbar a.tb-call-tel { display: none; }
@media (max-width: 1023px) {
  .topbar a.tb-call-desk { display: none; }
  .topbar a.tb-call-tel { display: inline; }
}
@media (max-width: 767px) {
  .topbar__links { min-height: 42px; }
  .topbar a { font-size: 13px; letter-spacing: .02em; }
}
@media (max-width: 359px) {
  .topbar .tb-long { display: none; }
  .topbar__links li + li::before { margin-inline: 10px; }
}

/* ---------- header ---------- */
.site-header { position: relative; z-index: 50; background: var(--white); }
/* old site's "Rounded" divider: grey (page grey) sweeps up behind the logo and curves down under the menu.
   Same path and heights as the Thrive header (240px desktop, 70px tablet, 56px phone), drawn from the
   header's bottom edge and clipped to the header box. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 244' preserveAspectRatio='none'%3E%3Cpath fill='%23f8f8f8' d='M1000,244V110c-110.7,59-248,98.3-398,98.3C349.4,208.3,121.4,116.6,0,0v244H1000z'/%3E%3C/svg%3E") 50% 100% / 100% 240px no-repeat;
}
@media (max-width: 1023px) { .site-header::before { background-size: 100% 70px; } }
@media (max-width: 767px) { .site-header::before { background-size: 100% 56px; } }
.site-header__inner {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  max-width: 1440px; margin-inline: auto;
  padding: 10px clamp(16px, 2.2vw, 32px) 13px;
}
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 170px; height: auto; }

.site-nav { flex: 1 1 auto; margin-top: -3px; }
.site-nav > ul { display: flex; align-items: center; justify-content: center; gap: clamp(6px, calc((100vw - 1110px) / 6), 28px); }   /* 28px from ~1280px wide (old site), tighter on small laptops */
.site-nav > ul > li { flex: 0 0 auto; }
.site-nav a { white-space: nowrap; }
.site-nav a {
  font: 400 .9375rem/1 var(--head);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0a0a0a;
  text-decoration: none;
  padding: 10px 0;
  display: inline-block;
}
.site-nav a:hover, .site-nav a[aria-current="page"], .site-nav a.is-parent { color: var(--teal); }
.has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
.sub-toggle {
  display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0;
  border: 0; background: none; color: #0a0a0a; cursor: pointer;
}
.sub-toggle svg { transition: transform .2s; }
.sub-nav {
  position: absolute; top: 100%; left: -18px; min-width: 290px;
  padding: 10px 0; background: var(--white);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(32, 65, 71, .14);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.sub-nav a { display: block; padding: 11px 20px; font-size: .8125rem; letter-spacing: .08em; }
.sub-nav a[aria-current="page"] { background: var(--mint); }
.has-sub:hover .sub-nav, .has-sub:focus-within .sub-nav, .has-sub.is-open .sub-nav { opacity: 1; visibility: visible; transform: none; }
.has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.has-sub:last-of-type .sub-nav { left: auto; right: -10px; }
.nav-cta a {
  border: 1.5px solid var(--teal); border-radius: 999px;
  padding: 8px 7px 8px 9px;
}
.nav-cta a:hover { background: var(--teal); color: var(--white); }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  padding: 10px 4px; margin-top: 18px; border: 0; background: none; cursor: pointer;
  font: 500 .95rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background-color .2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1150px) {
  .site-header__inner { align-items: center; }
  .brand img { width: 150px; }
  .nav-toggle { display: inline-flex; margin-top: 0; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; padding: 0; margin-top: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(32, 65, 71, .12);
    max-height: calc(100vh - 120px); overflow-y: auto;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 22px; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav a { padding: 16px 0; font-size: 1rem; }
  .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .sub-toggle { width: 44px; height: 44px; }
  .sub-nav {
    position: static; flex-basis: 100%; min-width: 0; padding: 0 0 10px 14px;
    box-shadow: none; border-radius: 0; background: none;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .has-sub:hover .sub-nav, .has-sub:focus-within .sub-nav { display: none; }
  .has-sub.is-open .sub-nav { display: block; }
  .sub-nav a { padding: 12px 0; font-size: .875rem; }
  .nav-cta { border-bottom: 0 !important; padding-top: 18px; }
  .nav-cta a { display: block; text-align: center; padding: 15px; background: var(--teal); color: var(--white); }
}

/* ---------- footer (grey, curved top, everything centred) ---------- */
.site-footer {
  background: var(--grey);
  border-radius: 50% 50% 0 0 / var(--curve) var(--curve) 0 0;
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: calc(var(--curve) * .6 + 24px);
  text-align: center;
  font-size: 1.0625rem;
}
.site-footer__logo { display: inline-block; margin-bottom: 18px; }
.site-footer__logo img { width: 210px; }
.site-footer__nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px clamp(20px, 3.6vw, 52px); margin-bottom: 18px; }
.site-footer__nav a { font: 400 .9375rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: rgba(10, 10, 10, .85); text-decoration: none; display: inline-block; padding: 10px 0; }
.site-footer__nav a:hover { color: var(--teal); }
.site-footer__contact { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 22px; padding-block: 26px; line-height: 1.85; }
.site-footer__contact > div + div { margin-top: 1.1em; }
.site-footer__contact p, .site-footer__contact address { margin: 0; }
.site-footer__head { font-weight: 700; color: var(--text); }
.site-footer__dir { font-size: .9rem; }
.site-footer__base { padding-block: 22px 28px; font-size: .875rem; color: var(--text); }
.site-footer__base p { margin-bottom: .7em; }
.site-footer__base a { color: var(--text); }
.site-footer__credit { opacity: .8; font-size: .8125rem; }
.site-footer__credit a { color: inherit; }

/* phones: logo centred, menu button underneath (old site layout) */
@media (max-width: 767px) {
  .site-header__inner { flex-direction: column; align-items: center; gap: 4px; padding-top: 8px; padding-bottom: 20px; }
  .nav-toggle { color: var(--teal); padding: 8px 12px; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { width: 40px; height: 3px; border-radius: 2px; }
  .nav-toggle__bars::before { top: -11px; }
  .nav-toggle__bars::after { top: 11px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(11px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-11px) rotate(-45deg); }
  .nav-toggle { min-height: 44px; margin: 6px 0 2px; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ==== 20-components.css ==== */
/* Shared sections and components. See build/COMPONENTS.md for the markup of each. */

/* ---------- page hero (grey, curved bottom): text left, round photo right ---------- */
.page-hero {
  background: var(--grey);
  border-radius: 0 0 50% 50% / 0 0 var(--curve) var(--curve);
  /* old site: ~145px above the content and ~160px below it at desktop widths */
  padding: clamp(40px, 11.2vw, 145px) 0 calc(clamp(56px, 10.2vw, 132px) + var(--curve) * .3);
  margin-top: -1px;
}
/* old site: 1080px content, text column 571px, 58px gap, photo column 451px */
.page-hero__grid { display: grid; grid-template-columns: 1.266fr 1fr; gap: clamp(28px, 4.5vw, 58px); align-items: center; max-width: calc(1080px + 2 * var(--gutter)); }
.page-hero h1 { margin-bottom: .35em; font-size: clamp(2.1rem, 3.3vw, 2.625rem); }   /* old site: 42px, home 46px */
.page--home .page-hero h1 { font-size: clamp(2.1rem, 3.6vw, 2.875rem); }
@media (max-width: 767px) {
  /* old phone sizes, page by page */
  .page-hero h1 { font-size: 31px; }
  .page--home .page-hero h1 { font-size: 35px; }
  .page--katie .page-hero h1, .page--ketamine .page-hero h1 { font-size: 28px; }
  .page--kristi .page-hero h1, .page--dana .page-hero h1, .page--resources .page-hero h1,
  .page--contact .page-hero h1, .page--thank-you .page-hero h1 { font-size: 42px; }
}
.page-hero .subhead { margin-top: 0; }
.page-hero__more { margin-top: 1.4rem; color: var(--text); }
.page-hero__media { display: grid; justify-items: center; gap: 0; }
.page-hero__media .pill-link { margin-top: -28px; position: relative; z-index: 2; justify-self: center; }
@media (max-width: 820px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { order: -1; }
}

/* ---------- round photo with the soft mint ring and an outline ring behind it ---------- */
.circle-photo { position: relative; width: min(100%, 340px); margin: 54px auto 54px; }
.circle-photo img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  box-shadow: 0 0 0 clamp(28px, 4vw, 56px) var(--mint-2);
  position: relative; z-index: 1;
}
.circle-photo::before {
  content: ''; position: absolute; z-index: 0;
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  border: clamp(30px, 4vw, 56px) solid rgba(42, 157, 143, .08);
  left: -26%; top: -30%;
}
.circle-photo--sm { width: min(100%, 260px); margin-block: 40px; }
.circle-photo--sm img { box-shadow: 0 0 0 clamp(20px, 3vw, 34px) var(--mint-2); }
.circle-photo--plain::before { display: none; }
.section--mint .circle-photo img { box-shadow: 0 0 0 clamp(28px, 4vw, 48px) var(--mint-2); }
@media (max-width: 820px) {
  .circle-photo { width: min(74%, 300px); margin-block: 40px; }
  .circle-photo::before { left: -18%; top: -22%; }
}

/* ---------- section title block: H2 + short teal rule + italic subhead ---------- */
.title-block { margin-bottom: clamp(24px, 3vw, 36px); }
.title-block h2 { margin-bottom: .3em; }
.rule { display: block; width: 50px; height: 2px; border: 0; background: var(--teal); margin: .2em 0 1rem; }
.center .rule, .title-block.center .rule { margin-inline: auto; }
.prose > * + h3 { margin-top: 1.6em; }
.prose p { margin-bottom: 1.1em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.note-line { font-weight: 700; }

/* ---------- quick links (stacked teal buttons) ---------- */
.quick-links { display: grid; justify-items: center; gap: 12px; max-width: 360px; margin: 0 auto; }
.quick-links .btn { width: 100%; min-height: 40px; padding-block: .5em; font-size: .8125rem; }

/* ---------- feature grid (home "Why People Choose Us"): title, icon, text; centred ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 4vw, 48px) clamp(32px, 6vw, 80px); }
.feature { text-align: center; }
.feature--wide { grid-column: 1 / -1; max-width: 900px; margin-inline: auto; }
.feature h3 { font-size: 1.5rem; margin-bottom: .45em; }
.icon {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin: 0 auto .7rem;
  color: var(--ink); border-radius: 8px;
  background: repeating-linear-gradient(135deg, rgba(42, 157, 145, .12) 0 4px, transparent 4px 8px);
}
.icon svg { width: 24px; height: 24px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* ---------- bordered cards ("What Makes Us Different") ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: 18px;
  padding: clamp(22px, 2.6vw, 30px);
  text-align: center;
  box-shadow: 0 8px 22px rgba(32, 65, 71, .06);
}
.card h3 { font-size: 1.375rem; margin-bottom: .35em; }
.card .icon { background: none; width: 30px; height: 30px; color: var(--teal); margin-bottom: .5rem; }
.card--wide { grid-column: 1 / -1; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .cards, .cards--3 { grid-template-columns: 1fr; } }

/* ---------- checklist (teal check marks) ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 16px 40px; }
@media (max-width: 760px) { .checklist--2 { grid-template-columns: 1fr; } }

/* credentials: centred, a check above each line */
.creds { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; text-align: center; display: grid; gap: 18px; }
.creds li::before {
  content: ''; display: block; width: 26px; height: 22px; margin: 0 auto 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='m3 10.5 6 6L21 3' fill='none' stroke='%232a9d8f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- process steps: label left, text right ---------- */
.steps { display: grid; gap: clamp(28px, 3.4vw, 40px); max-width: 900px; margin-inline: auto; }
.step { display: grid; grid-template-columns: 300px 1fr; gap: 12px clamp(24px, 4vw, 56px); align-items: start; }
.step h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin: 0; }
.step h3 span { display: block; }
@media (max-width: 760px) { .step { grid-template-columns: 1fr; } }

/* ---------- testimonials (bordered cards on mint) ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 40px); }
.quote {
  margin: 0; background: var(--white); border: 2px solid var(--teal); border-radius: 18px;
  padding: clamp(24px, 3vw, 36px); position: relative;
}
.quote svg { width: 34px; height: 34px; color: var(--teal); margin-bottom: 10px; }
.quote p { font-style: italic; }
.quote footer { margin-top: 1.2em; font-size: .875rem; color: var(--teal); text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- teal call-to-action band (curved bottom) ---------- */
.cta-band {
  background: var(--teal); color: var(--white); text-align: center;
  border-radius: 0 0 50% 50% / 0 0 var(--curve) var(--curve);
  padding: var(--pad) 0 calc(var(--pad) + var(--curve) * .5);
}
.cta-band h2 { color: var(--grey); }
.cta-band .subhead { color: var(--grey); }
.cta-band a:not(.btn) { color: var(--white); }

/* ---------- FAQ accordion ---------- */
.faq-group + .faq-group { margin-top: clamp(36px, 4vw, 52px); }
.faq-group > h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: .8em; }
.faq-item { border: 2px solid var(--teal); border-radius: 14px; background: var(--white); }
.faq-item + .faq-item { margin-top: 12px; }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 16px 56px 16px 22px;
  font: 700 1.0625rem/1.4 var(--head); color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-a { padding: 0 22px 20px; }
.faq-a p { margin-bottom: .8em; }

/* ---------- link / resource lists ---------- */
.link-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.link-card {
  display: block; background: var(--white); border: 2px solid var(--teal); border-radius: 16px;
  padding: 20px 24px; color: var(--text); text-decoration: none;
}
.link-card strong { display: block; font: 700 1.2rem/1.3 var(--head); color: var(--ink); margin-bottom: .3em; }
a.link-card:hover { box-shadow: var(--shadow); color: var(--text); }
a.link-card:hover strong { color: var(--teal); }
@media (max-width: 680px) { .link-cards { grid-template-columns: 1fr; } }

/* crisis lines: logo + number */
.lines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.line-card { background: var(--white); border-radius: 18px; padding: 24px; text-align: center; box-shadow: var(--shadow); }
.line-card img { margin: 0 auto 14px; max-height: 120px; width: auto; }
.line-card h3 { font-size: 1.25rem; margin-bottom: .3em; }
@media (max-width: 680px) { .lines { grid-template-columns: 1fr; } }

/* ---------- contact details (centred stack) ---------- */
.contact-list { display: grid; gap: 22px; text-align: center; }
.contact-list h3 { font-size: 1.5rem; margin-bottom: .2em; }
.contact-list p { margin: 0; }

/* ---------- form ---------- */
.form { max-width: 720px; margin: 0 auto; display: grid; gap: 18px; }
.form .req-note { font: 400 1rem/1.4 var(--head); }
.field label { display: block; font: 700 1.0625rem/1.4 var(--head); color: var(--text); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--text);
  padding: 12px 14px; border: 1px solid #c9d6d7; border-radius: 10px; background: var(--white);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.field .hint { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.form .hp { position: absolute; left: -9999px; }
.form__status { font-weight: 700; text-align: center; }
.form__status.is-error { color: #b42318; }
.form-actions { text-align: center; }

/* ---------- map ---------- */
.map { border: 0; width: 100%; height: 380px; border-radius: 18px; margin-top: 28px; background: var(--mint-2); }

/* ---------- legal / long text ---------- */
.legal h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); margin-top: 1.6em; }
.legal h3 { font-size: 1.2rem; margin-top: 1.3em; }
.legal ul { padding-left: 1.2em; }

/* eyebrow inside the H1 (keeps the location in the main heading) */
h1 .eyebrow { display: table; font-family: var(--sans); font-weight: 400; letter-spacing: 0; color: var(--text); }
h1 .h1-main { display: block; }

/* hero areas: heading + subhead, then body text; the photo sits right on desktop and
   between the heading and the text on phones (as on the old site) */
.page-hero__grid { grid-template-areas: "head media" "body media"; grid-template-rows: auto 1fr; row-gap: 0; }
.page-hero__head { grid-area: head; align-self: end; }
.page-hero__body { grid-area: body; align-self: start; }
.page-hero__media { grid-area: media; }
@media (max-width: 820px) {
  .page-hero { text-align: center; padding-top: 28px; }
  .page-hero__grid { grid-template-areas: "head" "media" "body"; grid-template-columns: 1fr; }
  .page-hero__media { order: 0; }
  .page-hero__media .pill-link { display: none; }
  .page-hero .eyebrow { border: 0; padding: 0; }
  .page-hero .actions { justify-content: center; }
  .page-hero .actions .btn { width: 100%; }
  .page-hero h1 .eyebrow { margin-inline: auto; }
  /* phone order, as on the old site: heading, text, photo, then "Learn more below..." (home: photo straight after the heading) */
  .page-hero__grid { display: flex; flex-direction: column; align-items: stretch; }
  .page-hero__body { display: contents; }
  .page-hero__body > * { order: 1; }
  .page-hero__media { order: 2; }
  .page-hero__body > .page-hero__more, .page-hero__body > .page-hero__after { order: 3; }
  .page-hero--home .page-hero__media { order: 1; }
  .page-hero--home .page-hero__body > * { order: 2; }
  .page-hero__more { margin-top: 0; }
}
@media (max-width: 767px) {
  /* old phone photo: 220px with a 40px mint ring and no outline ring */
  .page-hero .circle-photo { width: 220px; margin-block: 40px 56px; }
  .page-hero .circle-photo img { box-shadow: 0 0 0 40px var(--mint-2); }
  .page-hero .circle-photo::before { display: none; }
}

/* keep the gap under the hero subhead (the base p:last-child rule removed it) */
.page-hero__head > .subhead:last-child { margin-bottom: 1rem; }

/* hero without a photo (privacy, 404 and other text-only pages) */
.page-hero--text .page-hero__grid { grid-template-columns: 1fr; grid-template-areas: "head" "body"; max-width: calc(860px + 2 * var(--gutter)); }

/* ==== 30-pages-about.css ==== */
/* About hub, About The Practice, provider pages, contact (page-specific bits only). */

/* hero: keep a little air between the italic subhead and the text below it
   (p:last-child zeroes the subhead's own margin) */
:is(.page--about, .page--about-practice, .page--provider, .page--contact) .page-hero__head > .subhead:last-child { margin-bottom: 1rem; }

/* about hub: open cards on the mint band, as on the old page */
.page--about .card { background: transparent; border-width: 1px; border-radius: 34px; box-shadow: none; }
.page--about .card h3 { font-size: 1.5rem; }
.page--about .card .actions { margin-top: 1.3rem; }

/* about the practice: title left, text right behind a teal rule; centred on phones */
.story-rows { display: grid; gap: clamp(40px, 5vw, 64px); max-width: 1000px; margin-inline: auto; }
.story-row { display: grid; grid-template-columns: 300px 1fr; gap: 12px clamp(24px, 4vw, 48px); align-items: center; }
.story-row h3 { margin: 0; padding-inline: 24px; }
.story-row__text { border-left: 2px solid var(--teal); padding-left: 22px; }
@media (max-width: 760px) {
  .story-row { grid-template-columns: 1fr; text-align: center; }
  .story-row h3 { padding: 0; }
  .story-row__text { border: 0; padding: 0; }
}

/* mid-size round photo (provider page rows: ~370px across with the ring, as on the old pages) */
.circle-photo--md { width: min(100%, 290px); margin-block: 44px; }
.circle-photo--md img, .section--mint .circle-photo--md img { box-shadow: 0 0 0 clamp(24px, 3.4vw, 42px) var(--mint-2); }
@media (max-width: 820px) { .circle-photo--md { width: min(66%, 290px); margin-block: 36px; } }

/* provider pages: credentials fit one line each on desktop, as on the old pages */
.page--provider .creds { max-width: 1000px; }

/* provider pages: text beside the photo is centred on phones (old layout) */
@media (max-width: 820px) {
  .page--provider .split > div:not(.circle-photo) { text-align: center; }
  .page--provider .split .rule { margin-inline: auto; }
}

/* contact: the form sits in a grey panel with a thin teal border */
.form-box { max-width: 770px; margin: 0 auto; background: var(--grey); border: 1px solid var(--teal); border-radius: 40px; padding: clamp(22px, 3.4vw, 40px); }
.form-box .form { max-width: none; }
.req { color: #b42318; }
.page--contact .contact-list { gap: 30px; }
.contact-list a { word-break: break-word; }
/* thank-you: short text, so centre it against the photo as the old page did */
.page--thank-you .page-hero__grid { grid-template-rows: auto auto; }
/* two mint bands in a row (Dana): leave white between the curves, as on the old page */
.page--provider .section--mint + .section--mint { margin-top: clamp(24px, 4vw, 56px); }
.map-address { margin-top: 1rem; }
.dana-telehealth { margin: 2.4rem 0 0; }

/* ==== 31-pages-services.css ==== */
/* Services hub, the five service pages and Insurance (body class page--svc). */

/* hero: air between the italic subhead and the text below it (p:last-child zeroes its margin) */
.page--svc .page-hero__head > .subhead:last-child { margin-bottom: 1rem; }

/* centred reading block under a section title */
.page--svc .svc-text { max-width: 900px; margin-inline: auto; text-align: center; }
.page--svc .svc-text .subhead { margin: 1.4rem 0 0; }
.page--svc .btn--wide { min-width: min(100%, 300px); }
.page--svc .questions { margin-top: 1.4rem; text-align: center; }

/* label | teal rule | text rows (process steps, services list, insurance notes), as on the old pages */
.page--svc .step { align-items: center; }
.page--svc .step > div { border-left: 2px solid var(--teal); padding: 4px 0 4px clamp(18px, 2vw, 24px); }
.page--svc .step .actions { margin-top: 1rem; }
.page--svc .steps--right .step h3 { text-align: right; }

/* "Who is this for" check lists beside round photos */
.page--svc .who-rows { margin-top: clamp(24px, 3vw, 40px); }
.page--svc .who-rows .split + .split { margin-top: clamp(24px, 4vw, 56px); }

/* cards block spacing */
.page--svc .cards { max-width: 1080px; margin: clamp(26px, 3vw, 40px) auto 0; }

/* ketamine page: treatment cards, criteria, logo, booking widget */
.page--svc .treatments { display: grid; gap: clamp(28px, 4vw, 44px); max-width: 840px; margin-inline: auto; }
.page--svc .treatment h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); }
.page--svc .treatment .subhead { margin-bottom: .8rem; }
.page--svc .treatment .circle-photo { margin-block: 60px; }
.page--svc .treatment p { margin-bottom: .9em; }
.page--svc .treatment .actions { justify-content: center; margin-top: 1.2rem; }
.page--svc .creds { margin-block: 1.4rem .4rem; }
.page--svc .svc-arrow { display: block; width: 32px; height: 32px; margin: 18px auto 10px; color: var(--teal); }
.page--svc .awakenings-logo { width: 210px; margin: 26px auto 14px; }
.page--svc .booking-box {
  max-width: 700px; min-height: 420px; margin: clamp(24px, 3vw, 34px) auto 0;
  background: var(--grey); border: 1px solid var(--teal); border-radius: 28px; padding: clamp(10px, 2vw, 20px);
}
.page--svc #intakeq { max-width: 720px; width: 100%; }

/* substance use page: crisis note */
.page--svc .crisis-note { max-width: 490px; margin: clamp(36px, 4vw, 52px) auto 0; }
.page--svc .crisis-note h2 { margin-bottom: .4em; }

/* insurance page: plans per provider */
.page--svc .plans { display: grid; gap: 22px; text-align: center; margin-top: 1.4rem; }
.page--svc .plans h3 { font: 700 1.125rem/1.6 var(--sans); color: var(--text); margin: 0; }
.page--svc .plans ul { list-style: none; padding: 0; margin: 0; }

@media (max-width: 760px) {
  .page--svc .step { text-align: center; gap: 8px; }
  .page--svc .step > div { border-left: 0; padding: 0; }
  .page--svc .steps--right .step h3 { text-align: center; }
  .page--svc .step .actions { justify-content: center; }
}

/* ==== 32-pages-resources.css ==== */
/* Resources pages: /resources/ hub, FAQs, crisis, trauma, grief, collaborating therapists, privacy, 404.
   Classes start with res- so they never collide with other pages. */

/* hub list: title right, teal line, text + button (old "Resources" rows) */
.res-rows { display: grid; gap: clamp(40px, 5vw, 60px); max-width: 960px; margin: 0 auto; }
.res-row { display: grid; grid-template-columns: minmax(0, 330px) 1fr; align-items: center; }
.res-row h3 { text-align: right; margin: 0; padding-right: 24px; }
.res-row__body { border-left: 2px solid var(--teal); padding: 6px 0 6px 24px; }
.res-row__body .actions { margin-top: 1rem; }
.res-row__body .btn { min-width: 300px; }
@media (max-width: 760px) {
  .res-row { grid-template-columns: 1fr; text-align: center; }
  .res-row h3 { text-align: center; padding: 0; margin-bottom: .35em; }
  .res-row__body { border: 0; padding: 0; }
  .res-row__body .actions { justify-content: center; }
  .res-row__body .btn { min-width: 0; width: 100%; }
}

/* "Are You In Crisis?" box (teal outline) */
.res-alert {
  max-width: 1080px; margin: 0 auto; text-align: center; background: var(--white);
  border: 2px solid var(--teal); border-radius: 28px; padding: clamp(26px, 3vw, 38px) clamp(20px, 4vw, 56px);
}
.res-alert h2 { margin-bottom: .3em; }
.res-alert .rule { margin-inline: auto; }
.res-alert a { font-weight: 700; }
.res-questions { margin-top: 1.8rem; }

/* centred reading sections: plain centred list, left-aligned check lists */
.res-plain { list-style: none; padding: 0; }
.res-plain li + li { margin-top: .2em; }
.res-checks { max-width: 700px; margin: 0 auto 1.8em; text-align: left; }
.res-checks + p { margin-top: 0; }

/* crisis lines: phone numbers stand out; an odd last card sits centred */
.res-lines { max-width: 980px; margin-inline: auto; }
.res-lines .line-card h3 { color: var(--teal); }
.res-lines .line-card img { border-radius: 6px; }
.line-card__nums { font-weight: 700; font-size: 1.2rem; line-height: 1.7; }
.res-lines > .line-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: min(100%, calc(50% - 11px)); }
@media (max-width: 680px) { .res-lines > .line-card:last-child:nth-child(odd) { width: 100%; } }

/* open/close panel (grief essay, therapist practices); not .faq-item, so no FAQ schema */
.res-toggle { border: 2px solid var(--teal); border-radius: 14px; background: var(--white); text-align: left; }
.res-toggle + .res-toggle { margin-top: 14px; }
.res-toggle > summary {
  list-style: none; cursor: pointer; position: relative; padding: 16px 56px 16px 22px;
  font: 700 1.0625rem/1.4 var(--head); color: var(--ink);
}
.res-toggle > summary::-webkit-details-marker { display: none; }
.res-toggle > summary::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform .2s;
}
.res-toggle[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.res-toggle__body { padding: 4px 22px 24px; }
.res-essay .res-toggle__body h3 { font-size: 1.3rem; margin-top: 1.4em; }

/* therapist practices: plain rows on mint like the old accordions */
.res-toggle--plain { border: 0; background: none; }
.res-toggle--plain + .res-toggle--plain { margin-top: 4px; }
.res-toggle--plain > summary h2 { font-size: 1.25rem; color: var(--teal); margin: 0; }
.res-toggle--plain > summary { padding-left: 0; }
.res-toggle--plain > summary::after { width: 14px; height: 14px; border-width: 3px; }
.res-toggle--plain > .res-toggle__body { padding-inline: 0; }
.res-practice__logo { width: auto; max-width: 260px; max-height: 96px; margin: 6px 0 16px; border-radius: 6px; }
.res-practice .link-cards { margin: 24px 0; }
.res-practice .link-card h3 { font-size: 1.2rem; margin-bottom: .35em; }
.res-practice .link-card p { font-size: 1rem; margin-bottom: .6em; }
.res-ins { font-style: italic; color: var(--muted); }

/* text-only heroes (privacy, 404): one column */
:is(.page--privacy, .page--404) .page-hero__grid { grid-template-columns: minmax(0, 760px); grid-template-areas: "head" "body"; justify-content: center; }
.page--404 .page-hero__grid { text-align: center; }
.page--privacy .legal > h2:first-child { margin-top: 0; }
.page--404 .page-hero .actions { justify-content: center; }
.page--404 .page-hero { padding-bottom: calc(clamp(80px, 9vw, 140px) + var(--curve) * .3); }
