/* Oriel: a Hero EMR website template for a solo psychiatric and hormone-health nurse practitioner.
   Built around the patient: the home page follows the path a new client takes (find the right care, see fees and
   coverage, book or ask a question, then the patient portal), marked by numbered bronze "stations" and a charcoal
   path strip under the hero. Cormorant Garamond (light display, italic bronze second lines) + DM Sans; ivory, blush
   and white grounds, charcoal bands, bronze rules and line icons. Practice, clinician and photos are fictional.
   Every color is a custom property (bronze tints use --gold-rgb), so the template customizer can swap whole palettes.
   Text colors pass WCAG AA in all five palettes: --gold-display is for large italic display text only. */

:root {
  --ivory: #FDF8F6;
  --blush: #F8EEEA;
  --paper: #FFFFFF;
  --charcoal: #1C1C1C;
  --charcoal-2: #26231F;
  --ink: #1C1C1C;
  --ink-2: #4A4540;
  --ink-3: #6B635C;
  --gold: #B8965A;
  --gold-rgb: 184 150 90;
  --gold-display: #92713B;
  --gold-text: #86652F;
  --gold-light: #D8BC8A;
  --gold-wash: #F3E8D9;
  --sage-text: #4F6A50;
  --line: #E6DAD0;
  --line-dark: #3A3631;
  --field-line: #CDBFB3;
  --on-dark: #FDF8F6;
  --on-dark-2: #B9AEA2;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 5vw, 64px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--ivory); color: var(--ink-2);
  font: 400 1.0625rem/1.7 var(--sans); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }
p { margin: 0 0 1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 300; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-foot :focus-visible { outline-color: var(--gold-light); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px;
  background: var(--charcoal); color: var(--on-dark); text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; color: var(--on-dark); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.bg-blush { background: var(--blush); }
.bg-dark { background: var(--charcoal); color: var(--on-dark-2); }
.bg-dark :is(h1, h2, h3, h4) { color: var(--on-dark); }
.bg-dark a:not(.btn) { color: var(--on-dark); }
.bg-dark a:not(.btn):hover { color: var(--gold-light); }
.title + .lead { margin-top: 1rem; }

/* ---------- Type ---------- */
.display {
  font: 300 clamp(3rem, 1.9rem + 4.4vw, 5.75rem)/1.02 var(--serif);
  letter-spacing: -0.015em; color: var(--ink);
}
.title {
  font: 300 clamp(2.25rem, 1.7rem + 2vw, 3.5rem)/1.08 var(--serif);
  letter-spacing: -0.01em; color: var(--ink);
}
.display em, .title em { display: block; font-style: italic; color: var(--gold-display); }
.bg-dark .title em { color: var(--gold-light); }
.lead {
  font: 400 clamp(1.25rem, 1.12rem + .5vw, 1.5rem)/1.45 var(--serif);
  color: var(--ink-2); max-width: 38ch;
}
.bg-dark .lead { color: var(--on-dark); opacity: .88; }
.h3 { font: 400 clamp(1.5rem, 1.35rem + .6vw, 1.875rem)/1.2 var(--serif); color: var(--ink); }
.h4 { font: 500 1rem/1.4 var(--sans); color: var(--ink); letter-spacing: 0; }
.small { font-size: .9375rem; line-height: 1.6; }
.tagline { font: italic 300 1rem/1.5 var(--sans); color: var(--ink-3); margin-bottom: 1.25rem; }
.label { font: 500 .8125rem/1.4 var(--sans); letter-spacing: .02em; color: var(--gold-text); margin: 0 0 .75rem; }
.head { display: grid; gap: 1.25rem; margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.head p { color: var(--ink-2); }

/* The four path stations carry a numbered marker (they are a sequence). */
.station { display: inline-flex; align-items: center; gap: 12px; font: 500 .875rem/1.3 var(--sans); color: var(--gold-text); margin: 0 0 1.25rem; }
.station b {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--gold); font: 500 1.125rem/1 var(--serif); font-variant-numeric: lining-nums; color: var(--gold-text);
}
.bg-dark .station { color: var(--gold-light); }
.bg-dark .station b { color: var(--gold-light); border-color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px;
  font: 500 .9375rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; text-align: center;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--charcoal); color: var(--on-dark); }
.btn--primary:hover { background: var(--gold-text); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--on-dark); }
.btn--gold { background: var(--gold-light); color: var(--charcoal); }
.btn--gold:hover { background: var(--on-dark); color: var(--charcoal); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .875rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--primary:disabled:hover { background: var(--charcoal); color: var(--on-dark); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; font-size: .9375rem;
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px;
}
.text-link:hover { color: var(--gold-text); }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50; background: var(--ivory);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
@supports (background: color-mix(in srgb, red 50%, transparent)) {
  .site-head { background: color-mix(in srgb, var(--ivory) 96%, transparent); }
  @supports (backdrop-filter: blur(8px)) { .site-head { background: color-mix(in srgb, var(--ivory) 88%, transparent); backdrop-filter: blur(10px); } }
}
.site-head.is-scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 84px; }

/* Wordmark: a drawn arched-window mark beside the lowercase name; "health" sits under it in small sans. */
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; padding: 6px 0; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; color: var(--gold); }
.brand-words { display: grid; line-height: 1; }
.brand-name { font: 300 2.125rem/.9 var(--serif); letter-spacing: .01em; color: var(--ink); }
.brand-sub { margin-top: 5px; font: 400 .6875rem/1 var(--sans); letter-spacing: .08em; color: var(--ink-3); }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 30px); }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none;
  font: 400 .8125rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--gold-text); }
.nav-portal a { gap: 8px; }
.nav-portal svg { width: 14px; height: 14px; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); cursor: pointer; place-items: center;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1099px) {
  .head-row { min-height: 72px; gap: 12px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.875rem; }
  .menu-btn { display: grid; }
  .head-actions { margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--ivory);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgba(0, 0, 0, .35);
    display: none; padding: 8px var(--gutter) 20px;
  }
  .nav[data-open="true"] { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li + li { border-top: 1px solid var(--line); }
  .nav a { width: 100%; min-height: 52px; font-size: .875rem; }
}
@media (max-width: 420px) {
  .head-actions .btn--sm { padding-inline: 14px; font-size: .8125rem; }
  .brand { gap: 9px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 1.625rem; }
  .brand-sub { display: none; }
}

/* ---------- Home hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(44vw, 620px)); min-height: min(760px, calc(100vh - 84px)); }
.hero-text {
  align-self: center; padding-block: clamp(48px, 7vw, 96px);
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-right: clamp(24px, 5vw, 80px);
}
.hero .display { margin-bottom: 1.75rem; }
.hero .lead { margin-bottom: 2.25rem; max-width: 42ch; }
.hero-photo { position: relative; margin: 0; background: var(--blush); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-photo figcaption {
  position: absolute; left: 0; bottom: 0; max-width: calc(100% - 32px); padding: 16px 22px 18px;
  background: var(--charcoal); color: var(--on-dark-2); font-size: .8125rem; line-height: 1.45;
}
.hero-photo figcaption b { display: block; font: 400 1.125rem/1.3 var(--serif); color: var(--on-dark); }

@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 40px var(--gutter) 48px; order: 2; }
  .hero-photo { order: 1; aspect-ratio: 4 / 3.4; }
  .hero-photo img { object-position: 50% 14%; }
}
@media (max-width: 520px) {
  .hero-photo { aspect-ratio: 1 / 1; }
  .hero .btns .btn { flex: 1 1 100%; }
}

/* ---------- Path strip: a bronze line icon, a small uppercase label, a light line under it ---------- */
.path { background: var(--charcoal); }
.path ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 32px; }
.path li { position: relative; }
.path li + li { border-left: 1px solid var(--line-dark); }
.path a {
  display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; padding: 16px 20px;
  text-align: center; text-decoration: none; color: var(--on-dark);
}
.path .ico { width: 18px; height: 18px; color: var(--gold); margin-bottom: 12px; }
.path .t { font: 500 .75rem/1.45 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.path .d { max-width: 30ch; font: 300 .75rem/1.5 var(--sans); color: var(--on-dark-2); }
.path a:hover .t { color: var(--gold-light); }
@media (max-width: 899px) {
  .path ol { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 8px; }
  .path li:nth-child(3) { border-left: 0; }
  .path li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .path a { padding: 22px 10px; }
}

/* ---------- What brings you here (concern tabs) ---------- */
.care-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.care-intro .title { margin-bottom: 1.25rem; }
.concerns { margin-top: 2.25rem; display: grid; border-top: 1px solid var(--line); }
.concern {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 64px;
  padding: 14px 4px 14px 0; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left;
  font: 400 clamp(1.375rem, 1.25rem + .5vw, 1.75rem)/1.2 var(--serif); color: var(--ink-2);
  transition: color .2s ease, padding-left .25s ease;
}
.concern .arrow { width: 22px; height: 22px; flex: none; color: var(--gold); opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }
.concern:hover { color: var(--ink); }
.concern[aria-selected="true"] { color: var(--ink); padding-left: 18px; box-shadow: inset 2px 0 0 var(--gold); }
.concern[aria-selected="true"] .arrow { opacity: 1; transform: none; }
.care-note { margin-top: 1.75rem; font-size: .9375rem; color: var(--ink-3); }

.care-panel { background: var(--paper); border: 1px solid var(--line); }
.care-panel figure { margin: 0; aspect-ratio: 16 / 8; overflow: hidden; background: var(--blush); }
.care-panel figure img { width: 100%; height: 100%; object-fit: cover; }
.care-body { padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 1.1rem; }
.care-body .service { font-size: .875rem; color: var(--ink-3); }
.care-body .service a { color: var(--gold-text); font-weight: 500; }
.care-list { display: flex; flex-wrap: wrap; gap: 8px; }
.care-list li { padding: 6px 12px; border: 1px solid var(--line); font-size: .875rem; line-height: 1.4; color: var(--ink-2); background: var(--ivory); }
.note {
  padding: 14px 16px; border-left: 2px solid var(--gold); background: var(--ivory); font-size: .9375rem; line-height: 1.6; color: var(--ink-2);
}
.care-body .btns { margin-top: .5rem; align-items: center; }
/* Without JS every panel shows, stacked. */
.js .care-panels > .care-panel:not(.is-active) { display: none; }
.care-panels { display: grid; gap: 24px; }
@media (max-width: 899px) {
  .care-grid { grid-template-columns: 1fr; }
  .concerns { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin-top: 1.5rem; }
  .concern {
    width: auto; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
    font: 400 .9375rem/1.3 var(--sans); color: var(--ink);
  }
  .concern .arrow { display: none; }
  .concern[aria-selected="true"] { padding-left: 16px; background: var(--charcoal); color: var(--on-dark); border-color: var(--charcoal); box-shadow: none; }
}

/* ---------- Meet the clinician ---------- */
.meet-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.meet-photo { margin: 0; position: relative; z-index: 0; }
.meet-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 16%; }
.meet-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: -1; }
.meet-text .title { margin-bottom: 1.5rem; }
.quote {
  margin: 2rem 0; padding: 0 0 0 24px; border-left: 1px solid var(--gold);
  font: italic 300 clamp(1.5rem, 1.3rem + .8vw, 2rem)/1.35 var(--serif); color: var(--ink);
}
.quote p { max-width: none; margin: 0; }
.quote footer { margin-top: .5rem; font: 400 .875rem/1.4 var(--sans); font-style: normal; color: var(--ink-3); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; margin: 0 0 2rem; }
.facts div { border-top: 1px solid var(--line); padding-top: 10px; }
.facts dt { font-size: .8125rem; color: var(--ink-3); }
.facts dd { margin: 2px 0 0; font: 400 1.125rem/1.35 var(--serif); font-variant-numeric: lining-nums; color: var(--ink); }
@media (max-width: 899px) {
  .meet-grid { grid-template-columns: 1fr; }
  .meet-photo { max-width: 460px; margin-right: 18px; }
}

/* ---------- Fees and coverage ---------- */
.fees-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 3.2vw, 40px); }
.card .h3 { margin-bottom: 1.25rem; }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.price-row:last-of-type { border-bottom: 1px solid var(--line); }
.price-row .name { font: 400 1.5rem/1.2 var(--serif); color: var(--ink); }
.price-row .meta { grid-column: 1; font-size: .875rem; color: var(--ink-3); }
.price-row .amt { grid-row: 1 / span 2; grid-column: 2; font: 300 clamp(2.25rem, 1.9rem + 1.2vw, 2.875rem)/1 var(--serif); font-variant-numeric: lining-nums; color: var(--ink); }
.ticks { display: grid; gap: 10px; margin-top: 1.5rem; }
.ticks li { position: relative; padding-left: 24px; font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 1px; background: var(--gold); }
.sub-h { font: 500 .9375rem/1.4 var(--sans); color: var(--ink); margin: 1.5rem 0 .4rem; }
.card .text-link { margin-top: 1rem; }
.plan-list { display: grid; margin: .5rem 0 1rem; border-top: 1px solid var(--line); }
.plan-list li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); font: 400 1.1875rem/1.35 var(--serif); font-variant-numeric: lining-nums; color: var(--ink); }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--gold); }
.plan-list li span { display: block; margin-top: 2px; font: 400 .875rem/1.5 var(--sans); color: var(--ink-3); }
.plan-note { margin: 0 0 1rem; }
.plan-note:last-of-type { margin-bottom: 0; }
@media (max-width: 899px) { .fees-grid { grid-template-columns: 1fr; } }

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--gold); }
.steps > li { position: relative; padding: 32px 28px 8px 0; }
.steps > li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--blush); border: 1px solid var(--gold); font: 500 1.15rem/1 var(--serif); font-variant-numeric: lining-nums; color: var(--gold-text);
}
.steps > li + li::before { left: 28px; }
.steps .where { display: inline-block; margin-bottom: .75rem; font-size: .8125rem; font-weight: 500; color: var(--sage-text); }
.steps .h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.steps p { font-size: .9375rem; line-height: 1.6; }
@media (max-width: 999px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps > li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps > li:nth-child(3)::before { left: 0; }
  .steps > li:nth-child(n+3) { border-top: 1px solid var(--gold); }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; border-top: 0; row-gap: 0; }
  .steps > li, .steps > li + li, .steps > li:nth-child(3) { padding: 4px 0 28px 56px; border-left: 0; border-top: 0; }
  .steps > li::before, .steps > li + li::before, .steps > li:nth-child(3)::before { top: 0; left: 0; }
  .steps > li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 4px; width: 1px; background: var(--gold); }
}

/* ---------- New client questions: a demo of the practice's Hero new-patient form ---------- */
.book-wrap { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 20px; }
.book-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; }
.book-head .h3 { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); }
.book-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9375rem; color: var(--ink-2); }
.book-facts li { display: flex; align-items: center; gap: 8px; }
.book-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.book-alt { font-size: .9375rem; color: var(--ink-3); margin: 0; }

.funnel { position: relative; background: var(--paper); border: 1px solid var(--line); }
.fx-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 14px clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--line); font-size: .875rem; color: var(--ink-3);
}
.fx-tag {
  display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 999px;
  background: var(--gold-wash); color: var(--gold-text); font-weight: 500; font-size: .75rem; letter-spacing: .04em;
}
.fx-count { margin-left: auto; font-variant-numeric: tabular-nums; }
.fx-bar { height: 2px; background: var(--line); }
.fx-bar span { display: block; height: 100%; width: 50%; background: var(--gold); transition: width .3s ease; }
.fx-step { display: grid; gap: 28px; padding: clamp(22px, 3.4vw, 40px) clamp(20px, 3vw, 36px); }
.fx-step[hidden] { display: none; }
.fx-step-title { font: 400 clamp(1.5rem, 1.35rem + .6vw, 1.875rem)/1.2 var(--serif); color: var(--ink); }
.fx-step-title + p { margin: -18px 0 0; font-size: .9375rem; color: var(--ink-3); }
.fx-q { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-q-label { font: 400 1.25rem/1.3 var(--serif); color: var(--ink); padding: 0; }
.fx-q-help { margin: -4px 0 0; font-size: .8125rem; color: var(--ink-3); }
.fx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--ivory); color: var(--ink); font-size: .9375rem; line-height: 1.3; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.fx-chip:hover { border-color: var(--gold); }
.fx-chip[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--on-dark); }
.fx-select {
  width: 100%; max-width: 520px; min-height: 48px; padding: 11px 14px; border: 1px solid var(--field-line); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); font-size: 1rem;
}
.fx-select:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 1px; border-color: var(--gold-text); }
.fx-note { max-width: 62ch; margin: 0; padding: 10px 14px; border-left: 2px solid var(--gold); background: var(--ivory); font-size: .875rem; line-height: 1.55; color: var(--ink-2); }
.fx-note:empty, .fx-note[hidden] { display: none; }
.fx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 4px; }
.fx-back { min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.fx-back:hover { color: var(--gold-text); }

.fx-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.fx-day {
  display: grid; justify-items: center; gap: 2px; min-width: 0; min-height: 84px; padding: 10px 4px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); color: var(--ink); cursor: pointer;
  transition: border-color .15s ease;
}
.fx-day:hover { border-color: var(--gold); }
.fx-dow { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.fx-date { font: 400 1.625rem/1.1 var(--serif); font-variant-numeric: lining-nums; }
.fx-n { font-size: .75rem; font-weight: 500; color: var(--gold-text); }
.fx-day[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--on-dark); }
.fx-day[aria-pressed="true"] :is(.fx-dow, .fx-n) { color: var(--gold-light); }
.fx-times-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin: 0; font-weight: 500; color: var(--ink); }
.fx-times-label span { font-weight: 400; font-size: .875rem; color: var(--ink-3); }
.fx-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.fx-time {
  min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink);
  font-size: .9375rem; font-variant-numeric: tabular-nums; cursor: pointer;
}
.fx-time:hover { border-color: var(--gold); color: var(--gold-text); }
.fx-time[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--on-dark); }
.fx-summary { margin: 0; padding: 14px 16px; background: var(--gold-wash); font-size: .9375rem; line-height: 1.6; color: var(--ink); }
.fx-summary strong { font: 500 1.125rem/1.4 var(--serif); font-variant-numeric: lining-nums; }
.fx-summary.is-empty { background: transparent; border: 1px dashed var(--field-line); color: var(--ink-3); }
.fx-done { margin: 0; padding: 12px 14px; border-left: 3px solid var(--gold-text); background: var(--gold-wash); color: var(--ink); font-size: .9375rem; font-weight: 500; }
.fx-done[hidden] { display: none; }
.fx-fallback { margin: 0; font-size: .9375rem; color: var(--ink-3); }
.js .fx-fallback { display: none; }
.funnel-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 14px 20px;
  border-top: 1px solid var(--line); font-size: .875rem; color: var(--ink-3);
}
.funnel-foot p { margin: 0; }
.funnel-foot a { font-weight: 500; }
@media (max-width: 640px) {
  .fx-days { grid-template-columns: repeat(5, minmax(56px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
  .fx-date { font-size: 1.375rem; }
  .fx-count { margin-left: 0; flex-basis: 100%; }
}

/* ---------- Patient portal band ---------- */
.portal-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.portal-list { display: grid; gap: 0; margin: 2rem 0 2.25rem; border-top: 1px solid var(--line-dark); }
.portal-list li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.portal-list svg { width: 26px; height: 26px; color: var(--gold); grid-row: span 2; margin-top: 2px; }
.portal-list b { font: 400 1.3125rem/1.25 var(--serif); font-weight: 400; color: var(--on-dark); }
.portal-list span { font-size: .9375rem; line-height: 1.55; color: var(--on-dark-2); }
.portal-url { margin-top: 1rem; font-size: .875rem; color: var(--on-dark-2); }

.device {
  position: relative; width: min(100%, 360px); margin-inline: auto; padding: 14px; border-radius: 40px;
  background: #0F0E0D; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 0 0 1px #34302B;
}
.screen { border-radius: 28px; overflow: hidden; background: var(--ivory); color: var(--ink-2); font-size: .8125rem; line-height: 1.45; }
.scr-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 12px; border-bottom: 1px solid var(--line); background: var(--paper); }
.scr-brand { display: inline-flex; align-items: center; gap: 6px; font: 300 1.375rem/1 var(--serif); color: var(--ink); }
.scr-brand svg { width: 22px; height: 22px; color: var(--gold); }
.scr-top > span:last-child { font-size: .75rem; color: var(--ink-3); }
.scr-body { display: grid; gap: 10px; padding: 14px; }
.scr-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.scr-k { font-size: .6875rem; letter-spacing: .04em; color: var(--ink-3); margin: 0 0 4px; }
.scr-v { font: 500 1.0625rem/1.25 var(--serif); color: var(--ink); margin: 0; }
.scr-meta { color: var(--ink-3); margin: 2px 0 0; }
.scr-btn { display: block; margin-top: 10px; padding: 8px; border-radius: 6px; background: var(--charcoal); color: var(--on-dark); text-align: center; font-weight: 500; }
.scr-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.scr-row:first-of-type { border-top: 0; }
.scr-ok { color: var(--sage-text); font-weight: 500; }
.scr-pill { padding: 2px 8px; border-radius: 999px; background: var(--gold-wash); color: var(--gold-text); font-weight: 500; font-size: .6875rem; }
.scr-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: var(--paper); }
.scr-tabs span { padding: 10px 2px 12px; text-align: center; font-size: .6875rem; color: var(--ink-3); }
.scr-tabs span:first-child { color: var(--gold-text); font-weight: 500; }
.device-cap { margin-top: 14px; text-align: center; font-size: .8125rem; color: var(--on-dark-2); }
@media (max-width: 899px) { .portal-grid { grid-template-columns: 1fr; } }

/* ---------- Care That Comes to You: bronze-ruled blocks and a drawn map with the office label ---------- */
.eyebrow { font: 500 .6875rem/1.4 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 1rem; max-width: none; }
.bg-dark .eyebrow { color: var(--gold); }
.gold-rule { display: block; width: 3rem; height: 1px; margin-bottom: 1.5rem; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.care-band { position: relative; overflow: hidden; border-top: 1px solid var(--line-dark); }
.care-band::before {
  content: ""; position: absolute; inset: 0; opacity: .03; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, var(--gold) 0 1px, transparent 1px 60px), repeating-linear-gradient(90deg, var(--gold) 0 1px, transparent 1px 60px);
}
.care-band::after { content: ""; position: absolute; top: 0; left: 0; width: min(28%, 14rem); height: 1px; background: linear-gradient(90deg, rgb(var(--gold-rgb) / .75), transparent); }
.care-band-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 80px); align-items: start; }
.care-band .title { margin-bottom: 2rem; }
.care-band-intro { color: var(--on-dark-2); margin-bottom: 2.5rem; }
.loc-block { padding-left: 24px; margin-bottom: 2rem; border-left: 2px solid rgb(var(--gold-rgb) / .5); }
.loc-block--quiet { border-left-color: rgba(255, 255, 255, .15); }
.loc-k { margin: 0 0 .5rem; font: 500 .75rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.bg-dark .loc-k { color: var(--gold); }
.loc-name { margin: 0 0 .25rem; font: 300 1.25rem/1.35 var(--serif); font-variant-numeric: lining-nums; color: var(--on-dark); }
.loc-block address, .loc-block p:not(.loc-k):not(.loc-name) { font-style: normal; font-size: .875rem; line-height: 1.6; color: var(--on-dark-2); }
.loc-block .loc-note { margin-top: .5rem; }
.hl { color: var(--on-dark); }
.hours { display: grid; gap: 4px; margin: 0; font-size: .875rem; line-height: 1.6; }
.hours div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; }
.hours dt { color: var(--on-dark); }
.hours dd { margin: 0; color: var(--on-dark-2); font-variant-numeric: lining-nums; }
.contact-lines { display: grid; gap: 2px; margin: .75rem 0 0; font-size: .9375rem; line-height: 1.6; }
.contact-lines a { font-weight: 500; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.loc-block .contact-lines { color: var(--on-dark-2); }
.loc-block .contact-lines a { color: var(--on-dark); }
.map-wrap { position: relative; margin: 12px 0 0 12px; }
.map-frame { position: absolute; top: -12px; left: -12px; width: 100%; height: 100%; border: 1px solid rgb(var(--gold-rgb) / .25); }
.map { position: relative; height: 480px; overflow: hidden; color: var(--gold); background: radial-gradient(ellipse at 68% 38%, rgb(var(--gold-rgb) / .07), transparent 62%); }
.map-art { width: 100%; height: 100%; }
.map-pin-dot { fill: var(--charcoal); }
.map-pulse { transform-box: fill-box; transform-origin: center; animation: map-pulse 3.2s ease-out infinite; }
@keyframes map-pulse { 0% { opacity: .75; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.4); } }
.map-label {
  position: absolute; left: 0; bottom: 0; z-index: 2; max-width: calc(100% - 12px); padding: 16px 20px;
  background: var(--charcoal); border-top: 1px solid rgb(var(--gold-rgb) / .2); border-left: 1px solid rgb(var(--gold-rgb) / .2);
}
.map-label .loc-k { font-size: .625rem; margin-bottom: .25rem; }
.map-addr { margin: 0; font: 300 .9375rem/1.4 var(--serif); font-variant-numeric: lining-nums; color: var(--on-dark); }
.bg-dark a.map-dir {
  display: inline-flex; align-items: center; gap: 6px; margin-top: .75rem; min-height: 44px; padding: 0 1rem;
  border: 1px solid rgb(var(--gold-rgb) / .6); color: var(--gold); text-decoration: none;
  font: 500 .6875rem/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; transition: background-color .3s ease, color .3s ease;
}
.map-dir svg { width: 14px; height: 14px; }
.bg-dark a.map-dir:hover { background: var(--gold); color: var(--charcoal); }
@media (max-width: 899px) { .care-band-grid { grid-template-columns: 1fr; } .map { height: 340px; } }

/* ---------- Contact: introduction, crisis note and the inquiry card ---------- */
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 3vw, 40px); align-items: start; padding-inline: var(--gutter); }
.visit-card { background: var(--ivory); border: 1px solid var(--line); padding: clamp(24px, 3.4vw, 48px); }
.visit-card .title { margin-bottom: 1.25rem; }
.places { display: grid; gap: 0; margin: 1.75rem 0; border-top: 1px solid var(--line); }
.places > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.places .h4 { margin-bottom: .35rem; }
.places p { font-size: .9375rem; margin-bottom: .35rem; }
.crisis {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 18px 20px; margin-top: 0;
  background: #FBEDEA; border: 1px solid #E9C9C1; font-size: .9375rem; line-height: 1.6; color: #3E3632;
}
.crisis svg { width: 20px; height: 20px; color: #9A4A3C; margin-top: 3px; }
.crisis strong { color: #1C1C1C; font-weight: 500; }
.crisis p { margin: 0; }

.inquiry { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 3.4vw, 48px); display: grid; gap: 18px; }
.inquiry .h3 { margin-bottom: -6px; }
.form-help { font-size: .875rem; color: var(--ink-3); margin: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field :is(input, select, textarea) {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--field-line); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field :is(input, select, textarea):focus-visible { outline: 2px solid var(--gold-text); outline-offset: 1px; border-color: var(--gold-text); }
.field [aria-invalid="true"] { border-color: #9A4A3C; }
.inq-error { margin: 2px 0 0; font-size: .8125rem; line-height: 1.4; color: #8E3B2E; }
.inquiry .btn { width: 100%; }
.form-note {
  margin: 0; padding: 12px 14px; border-left: 3px solid var(--gold-text); background: var(--gold-wash); color: var(--ink); font-size: .9375rem; font-weight: 500;
}
.form-note[hidden] { display: none; }
.fine { font-size: .8125rem; color: var(--ink-3); margin: 0; text-align: center; max-width: none; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; padding-inline: var(--gutter); } }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--charcoal); color: var(--on-dark-2); font-size: .9375rem; }
.site-foot a { color: var(--on-dark); text-decoration: none; }
.site-foot a:hover { color: var(--gold-light); text-decoration: underline; }
.foot-crisis { border-bottom: 1px solid var(--line-dark); }
.foot-crisis p { max-width: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--on-dark); }
.foot-crisis strong { font-weight: 500; color: var(--gold-light); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 40px; padding-block: 64px 48px; }
.foot-brand .brand { margin-bottom: 1.25rem; color: var(--on-dark); }
.foot-brand .brand-name { color: var(--on-dark); }
.foot-brand .brand-sub { color: var(--on-dark-2); }
.foot-brand .brand-mark { color: var(--gold-light); }
.foot-brand p { font-size: .9375rem; }
.foot-col h2 { font: 500 .8125rem/1.4 var(--sans); letter-spacing: .02em; color: var(--gold-light); margin-bottom: 1rem; }
.foot-col li a, .foot-col li span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.foot-col address { font-style: normal; line-height: 1.6; }
.foot-col svg { width: 16px; height: 16px; flex: none; }
.foot-col .foot-fax { display: flex; align-items: center; min-height: 32px; }
.foot-hours p { margin: 10px 0 4px; color: var(--on-dark); }
.foot-hours dl { margin: 0; display: grid; gap: 2px; }
.foot-hours div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 8px; }
.foot-hours dd { margin: 0; font-variant-numeric: lining-nums; }
.foot-legal { border-top: 1px solid var(--line-dark); padding-block: 24px 32px; display: grid; gap: 12px; font-size: .8125rem; }
.foot-legal p { max-width: none; margin: 0; }
.foot-legal .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; }
.foot-legal nav ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-legal nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-legal .powered { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; white-space: nowrap; color: var(--on-dark-2); }
.powered img { width: 18px; height: 18px; }
@media (max-width: 999px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Motion: one short rise on the first screen, never a fade from invisible ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-text > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero-text > :nth-child(2) { animation-delay: .06s; }
  .js .hero-text > :nth-child(3) { animation-delay: .12s; }
  .js .hero-text > :nth-child(4) { animation-delay: .18s; }
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .map-pulse { opacity: .35; }
}
@media print { .site-head, .path, .device, .funnel, .inquiry, .pv-bar, #customizer { display: none !important; } }

/* Cormorant's old-style figures read oddly in prices, times and credentials: lining figures throughout. */
.display, .title, .h3, .lead, .quote, .scr-v, .concern, .plan-list li, .path .t, .fx-q-label, .fx-step-title { font-variant-numeric: lining-nums; }
