/* York Family Psychiatry, https://yorkfamilypsychiatry.com: production stylesheet for every page.
   Design 4 "Vesper" (Stephen's pick, 2026-11-28), copied from prototype/vesper/style.css: dusk on the Maine coast, the
   one dark design. Navy-black sections derived from his navy, cream text, lime-sage hairlines and small-caps labels,
   his photographs as wide letterbox bands. Source Serif 4 headings (light), Inter body (17 px and up).
   Production additions at the end: the Florida registration lines, the request dialog (Hero's prescreening
   questionnaire), the Notice of Privacy Practices page and the 404 page.
   Fonts are self-hosted and trimmed by tools/prep_production.py: "YFP Serif" is Source Serif 4 (weights 300-400, the
   whole optical-size axis) renamed as its licence requires for a modified copy; Inter keeps 400-600. The unicode-range
   is the set prep_production.py keeps (FONT_UNICODES). */
@font-face {
  font-family: 'YFP Serif'; font-style: normal; font-weight: 300 400; font-display: swap;
  src: url(/assets/fonts/yfp-serif-normal.woff2) format('woff2');
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2190-2193, U+2212;
}
@font-face {
  font-family: 'YFP Serif'; font-style: italic; font-weight: 300 400; font-display: swap;
  src: url(/assets/fonts/yfp-serif-italic.woff2) format('woff2');
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2190-2193, U+2212;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/assets/fonts/inter-400-600.woff2) format('woff2');
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2190-2193, U+2212;
}
:root {
  --night: #0a1a26;
  --night-2: #10263a;
  --night-3: #06121c;
  --cream: #f1eada;
  --text: #e4ded1;
  --muted: #b3bec6;
  --lime: #c2c87a;
  --sea: #9fc1be;
  --navy: #0d3453;
  --line: rgba(241, 234, 218, .13);
  --hair: rgba(194, 200, 122, .42);
  --card: rgba(241, 234, 218, .04);
  --serif: 'YFP Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --head-h: 76px;
  /* the request dialog is kept light, like the preview's: Hero's questionnaire inside it is themed light to match */
  --rq-ink: #13222e;
  --rq-muted: #4a5866;
  --rq-surface: #fffdf8;
  --rq-panel: #f4efe3;
  --rq-line: #d5ccba;
  --rq-focus: #064891;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 400 17.5px/1.75 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--cream); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--head-h) + 12px); }
.nowrap { white-space: nowrap; }
a[href^="tel:"] { white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -200px; z-index: 100; padding: 12px 18px; border-radius: 8px;
  background: var(--cream); color: var(--navy); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(1240px + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 20px;
  font: 600 12.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--lime);
}
.eyebrow .rule { flex: none; width: 30px; height: 1px; background: var(--lime); }
.eyebrow-center { justify-content: center; }
.eyebrow-center::before, .eyebrow-center::after { content: ''; width: 30px; height: 1px; background: var(--lime); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border: 1px solid var(--cream); border-radius: 8px; background: var(--cream); color: var(--navy);
  font: 600 15.5px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-line { background: transparent; color: var(--cream); border-color: rgba(241, 234, 218, .55); }
.btn-line:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.ghost-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--cream); font: 500 16px/1.2 var(--sans);
  text-decoration: none; border-bottom: 1px solid transparent;
}
.ghost-link:hover { color: var(--lime); }

/* header */
.site-head {
  position: sticky; top: 0; z-index: 50; background: rgba(10, 26, 38, .9); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--head-h); padding-inline: clamp(20px, 3.4vw, 48px); }
.brand { display: block; flex: none; padding: 8px 0; }
.brand img { width: 244px; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a, .portal-link, .nav-phone {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--text); text-decoration: none;
}
.nav-links a:hover, .portal-link:hover, .nav-phone:hover { color: var(--lime); }
.nav-actions { display: flex; align-items: center; gap: 26px; }
.nav-phone { color: var(--muted); }
.site-head .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
.menu-btn {
  display: none; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 4px;
  border: 0; background: none; color: var(--cream); font: 500 15px/1 var(--sans); cursor: pointer;
}
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .2s ease; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ''; position: absolute; left: 0; }
.menu-lines::before { top: -7px; }
.menu-lines::after { top: 7px; }
.is-open .menu-lines { background: transparent; }
.is-open .menu-lines::before { transform: translateY(7px) rotate(45deg); }
.is-open .menu-lines::after { transform: translateY(-7px) rotate(-45deg); }

/* hero: full-screen dusk, the copy in a cinematic lower third */
.hero {
  position: relative; isolation: isolate; display: flex; align-items: flex-end; overflow: hidden;
  min-height: clamp(640px, calc(100svh - var(--head-h)), 1000px); background: var(--night);
}
/* the box runs 16% past the right edge (clipped by the hero), so the cover crop keeps Nubble Light near the middle
   and leaves out the far right of the frame */
.hero-media img { position: absolute; top: 0; left: 0; z-index: -2; width: 116%; max-width: none; height: 100%; object-fit: cover; object-position: 0% 32%; }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 26, 38, .28) 0%, rgba(10, 26, 38, 0) 16%, rgba(10, 26, 38, 0) 30%, rgba(10, 26, 38, .8) 50%, rgba(10, 26, 38, .93) 70%, #0a1a26 100%),
    linear-gradient(90deg, rgba(10, 26, 38, .6) 0%, rgba(10, 26, 38, .25) 45%, rgba(10, 26, 38, 0) 70%);
}
.hero-copy { position: relative; width: 100%; max-width: calc(1240px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 7vw, 88px); }
.hero h1 { max-width: 17.5em; font-size: clamp(36px, 4.1vw, 60px); font-weight: 300; line-height: 1.1; letter-spacing: -.012em; }
.hero h1 em { font-style: italic; color: var(--lime); }
.lead { margin-top: 22px; font: italic 400 clamp(19px, 1.6vw, 23px)/1.4 var(--serif); color: var(--cream); }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 34px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }

/* sections */
.section { padding-block: clamp(84px, 10vw, 144px); }
.section h2 { font-size: clamp(34px, 3.6vw, 52px); font-weight: 300; line-height: 1.12; letter-spacing: -.01em; }
.services, .stephen, .payment, .contact { background: var(--night-2); }
.head { margin-bottom: clamp(40px, 5vw, 64px); }
.head h2 { max-width: 16em; }
.head-note { max-width: 46em; margin-top: 20px; color: var(--muted); }
.head-center { text-align: center; }
.head-center h2, .head-center .head-note { margin-inline: auto; }

.welcome-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(48px, 8vw, 128px); align-items: start; }
.welcome-copy h2 { margin-bottom: 30px; }
.welcome-copy p + p { margin-top: 1.1em; }
.facts { margin: 0; border-left: 1px solid var(--hair); padding-left: clamp(24px, 3vw, 40px); }
.facts div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts div:first-child { padding-top: 6px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { font: 600 12.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--lime); }
.facts dd { margin: 8px 0 0; font: 400 21px/1.4 var(--serif); color: var(--cream); }

/* letterbox bands between sections */
.band { position: relative; background: var(--night-3); }
.band img { width: 100%; height: clamp(200px, 30vw, 440px); object-fit: cover; }
.band-a img { object-position: 50% 58%; }
.band-b img { object-position: 50% 48%; }
.band::before, .band::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: var(--hair); z-index: 1; }
.band::before { top: 0; }
.band::after { bottom: 0; }

/* cards */
.cards { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1040px; margin: 0 auto; }
.card { position: relative; padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.card-n { position: absolute; top: 22px; right: 24px; font: italic 400 17px/1 var(--serif); color: var(--lime); }
.card h3 { margin-bottom: 14px; padding-right: 32px; font-size: clamp(23px, 2vw, 27px); line-height: 1.2; }
.card p { color: var(--text); }

.cond-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.cond { grid-column: span 2; }
.cond-wide { grid-column: span 3; display: flex; align-items: center; min-height: 112px; }
.cond-wide h3 { margin: 0; }
.cond li { position: relative; padding: 9px 0 9px 20px; border-top: 1px solid rgba(241, 234, 218, .08); line-height: 1.5; }
.cond li::before { content: ''; position: absolute; left: 0; top: 1.15em; width: 9px; height: 1px; background: var(--lime); }

/* telehealth */
.tele-panel {
  max-width: 1080px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); text-align: center;
  border: 1px solid var(--line); border-top: 2px solid var(--lime); border-radius: 18px;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(159, 193, 190, .12), rgba(159, 193, 190, 0) 70%), var(--night-2);
}
.tele-panel h2 { max-width: 14em; margin: 0 auto; }
.tele-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; margin: clamp(36px, 5vw, 56px) 0; text-align: left; }
.tele-steps li { padding-top: 22px; border-top: 1px solid var(--hair); }
.tele-n { display: block; margin-bottom: 10px; font: italic 400 22px/1 var(--serif); color: var(--lime); }
.tele-steps h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.25; }
.tele-steps p { color: var(--muted); }

/* Meet Stephen */
.stephen-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px clamp(48px, 7vw, 112px); align-items: start; }
.stephen-side { position: sticky; top: calc(var(--head-h) + 32px); }
.portrait { max-width: 440px; padding: 12px; border: 1px solid var(--hair); border-radius: 18px; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 0%; border-radius: 10px; background: #dcdcdc; }
.pull { max-width: 440px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--hair); }
.pull blockquote { margin: 0; }
.pull p { font: italic 300 clamp(21px, 1.9vw, 25px)/1.45 var(--serif); color: var(--cream); }
.pull figcaption { margin-top: 16px; font: 600 12.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--lime); }
.stephen-copy h2 { margin-bottom: 26px; }
.cred { margin-bottom: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.cred strong { display: block; font: 500 19px/1.4 var(--sans); color: var(--cream); }
.cred > span { display: block; margin-top: 4px; color: var(--muted); }
.prose p + p, .prose blockquote + p { margin-top: 1.1em; }
.prose h3 { margin: 0 0 14px; font-size: 26px; line-height: 1.2; }
.prose p + h3 { margin-top: 1.4em; }
.more { margin-top: 26px; }
.more summary {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; list-style: none;
  color: var(--lime); font: 600 15.5px/1.2 var(--sans); letter-spacing: .02em;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: ''; width: 9px; height: 9px; margin-top: -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .25s ease; }
.more[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
.more .prose { margin-top: 28px; }
.bio-quote { margin: 1.4em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--lime); }
.bio-quote p { font: italic 300 22px/1.5 var(--serif); color: var(--cream); }
.certs { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
/* Psychology Today verified seal (index.html, under Certifications): hidden until PT's script draws it, which sets
   display, width, height and the seal image on the link itself, so a blocked or failed script leaves no empty link */
.sx-verified-seal { display: none; margin-top: 22px; }

/* appointments */
.path { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.path h3 { font-size: clamp(27px, 2.4vw, 32px); font-weight: 300; margin-bottom: 0; }
.path p a { color: var(--cream); font-weight: 600; text-underline-offset: 3px; }
.path-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: auto; padding-top: 8px; }

/* payment */
.payment-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(48px, 7vw, 112px); align-items: start; }
.payment-grid .head { margin-bottom: 0; }
.ledger { margin: 0; }
.ledger div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 10px 32px; padding: 28px 0; border-top: 1px solid var(--hair); }
.ledger div:last-child { border-bottom: 1px solid var(--hair); }
.ledger dt { font: 400 22px/1.3 var(--serif); color: var(--cream); }
.ledger dd { margin: 0; }
.ledger dd p + p { margin-top: .7em; }

/* FAQ */
.faq-wrap { max-width: calc(900px + 2 * var(--gutter)); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 24px 0; min-height: 44px;
  cursor: pointer; list-style: none; font: 400 clamp(20px, 1.8vw, 23px)/1.4 var(--serif); color: var(--cream);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ''; flex: none; width: 15px; height: 15px; margin-top: 9px;
  background: linear-gradient(var(--lime), var(--lime)) center / 15px 1.5px no-repeat, linear-gradient(var(--lime), var(--lime)) center / 1.5px 15px no-repeat;
  transition: transform .25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--lime); }
.faq-a { padding: 0 44px 28px 0; color: var(--muted); }
.faq-a p + p { margin-top: .9em; }
.faq-a a { color: var(--cream); font-weight: 600; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.c-item { padding-top: 24px; border-top: 1px solid var(--hair); }
.c-item h3 { margin-bottom: 14px; font: 600 12.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--lime); }
.c-item p + p { margin-top: 12px; }
.c-big { font: 300 clamp(30px, 2.6vw, 36px)/1.15 var(--serif); }
.c-big a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); text-decoration: none; }
.c-big a:hover { color: var(--lime); }
.c-note { color: var(--muted); }
.emergency {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px 56px; margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(28px, 3.4vw, 44px); border: 1px solid var(--line); border-left: 3px solid var(--lime); border-radius: 14px; background: var(--card);
}
.emergency h3 { margin-bottom: 12px; font-size: 26px; }
.crisis h3 { font: 600 12.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.crisis li { padding: 10px 0; border-top: 1px solid var(--line); }
.crisis li strong { display: block; color: var(--cream); font-weight: 500; }
.crisis li span { color: var(--muted); }

/* footer */
.site-foot { background: var(--night-3); padding: clamp(64px, 8vw, 100px) 0 36px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand img { width: 196px; }
.foot-brand p { margin-top: 18px; max-width: 18em; font: italic 300 20px/1.4 var(--serif); color: var(--cream); }
.foot-col h2 { margin-bottom: 14px; font: 600 12.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--lime); }
.foot-col { font-size: 17px; }
.foot-col p + p { margin-top: 12px; }
.foot-col a { color: var(--text); text-decoration: none; }
.foot-col a:hover { color: var(--lime); }
.foot-col li a { display: inline-flex; align-items: center; min-height: 36px; }
.foot-base { display: grid; gap: 12px; margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); }
.foot-emergency { font-size: 17px; color: var(--text); }
.foot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 16px; color: var(--muted); }
.powered { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; }
.powered:hover { color: var(--lime); }
.powered img { box-sizing: content-box; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--cream); }

/* tablets and phones */
@media (max-width: 1320px) { .nav-phone { display: none; } }
@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 18px;
    padding: 8px var(--gutter) 28px; background: var(--night); border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - var(--head-h)); overflow-y: auto;
  }
  .is-open .site-nav { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: flex; min-height: 56px; font: 300 26px/1.2 var(--serif); color: var(--cream); border-bottom: 1px solid var(--line); }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .nav-phone { display: inline-flex; min-height: 48px; font-size: 16px; }
  .portal-link { min-height: 48px; font-size: 16px; }
  .site-head .btn { min-height: 52px; }
}
@media (max-width: 960px) {
  .welcome-grid, .stephen-grid, .payment-grid, .emergency { grid-template-columns: minmax(0, 1fr); }
  .facts { border-left: 0; padding-left: 0; border-top: 1px solid var(--hair); }
  .facts div:first-child { padding-top: 22px; }
  .cards-3, .tele-steps { grid-template-columns: minmax(0, 1fr); }
  .cond-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cond, .cond-wide { grid-column: span 1; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .stephen-side { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
  .pull { margin-top: 0; }
}
@media (max-width: 700px) {
  :root { --head-h: 68px; }
  .brand img { width: 222px; }
  .hero { display: block; min-height: 0; }
  .hero-media img { width: 100%; height: 420px; object-position: 46% 50%; }
  .hero-veil { bottom: auto; height: 420px; background: linear-gradient(180deg, rgba(10, 26, 38, .25) 0%, rgba(10, 26, 38, 0) 22%, rgba(10, 26, 38, 0) 46%, rgba(10, 26, 38, .82) 78%, #0a1a26 100%); }
  .hero-copy { padding-top: 330px; padding-bottom: 64px; }
  .hero-row { flex-direction: column; align-items: stretch; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .actions .ghost-link { justify-content: center; }
  .cards-2, .cond-grid, .contact-grid, .ledger div { grid-template-columns: minmax(0, 1fr); }
  .stephen-side { display: contents; }
  .portrait { order: 0; }
  .stephen-copy { order: 1; }
  .pull { order: 2; margin-top: 8px; }
  .portrait { max-width: 360px; }
  .path .btn, .path-actions .btn { width: 100%; }
  .faq-a { padding-right: 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-col li a, .foot-col p a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-head { position: static; }
  .menu-btn { display: none; }
}

/* round 2: services note, prescreening steps, existing patients, insurance list */
.cards-lead { margin-bottom: 20px; color: var(--cream); font-weight: 500; }
.svc-note { max-width: 64em; margin-top: 36px; padding: 22px 26px; border-left: 2px solid var(--lime); border-radius: 0 12px 12px 0; background: var(--card); }
button.ghost-link { padding: 0; border: 0; background: none; cursor: pointer; }
.pre-steps { width: 100%; }
.pre-steps li { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.pre-steps li:last-child { border-bottom: 1px solid var(--line); }
.pre-n { flex: none; min-width: 20px; font: italic 400 22px/1 var(--serif); color: var(--lime); }
.existing { font: 300 clamp(23px, 2.1vw, 28px)/1.3 var(--serif); color: var(--cream); }
.existing strong { font-weight: 400; font-style: italic; color: var(--lime); }
.path .c-big { margin-top: -6px; }
.ledger .ledger-ins { grid-template-columns: minmax(0, 1fr); }
.ins-list { columns: 2; column-gap: 32px; margin: 4px 0 18px; }
.ins-list li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.faq-a .ins-list { margin: 10px 0 16px; }
@media (max-width: 700px) { .ins-list { columns: 1; } }
.path .c-big a { font-weight: 300; text-decoration: none; }

/* ---- production additions ---- */

/* Florida out-of-state telehealth registration: the number and the Department of Health's verification link
   (s. 456.47(4), F.S.), under "Licensed in" and in every page's footer */
.facts .fact-note { display: block; margin-top: 10px; font: 400 17px/1.5 var(--sans); color: var(--muted); }
.foot-license { font-size: 17px; color: var(--muted); }
.fact-note a, .foot-license a { color: var(--cream); text-underline-offset: 3px; }
.fact-note a:hover, .foot-license a:hover { color: var(--lime); }

/* request dialog (assets/site.js): Hero's prescreening questionnaire for new patients, in a light panel */
html.rq-lock { overflow: hidden; }
.rq {
  box-sizing: border-box; width: min(720px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; border-radius: 18px; overflow: hidden;
  background: var(--rq-surface); color: var(--rq-ink); font: 400 16px/1.55 var(--sans);
  box-shadow: 0 30px 80px -30px rgba(2, 20, 34, .7);
}
.rq[open] { display: flex; flex-direction: column; }
.rq::backdrop { background: rgba(2, 14, 24, .72); }
.rq *, .rq *::before, .rq *::after { box-sizing: border-box; }
.rq-box { display: flex; flex-direction: column; min-height: 0; max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.rq-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 0; }
.rq-kicker { margin: 0 0 4px; font: 600 12.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rq-muted); }
.rq .rq-title { margin: 0; font: 400 clamp(25px, 3.4vw, 30px)/1.2 var(--serif); color: var(--rq-ink); outline: none; }
.rq-close {
  flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; margin: -6px -10px 0 0; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--rq-ink); cursor: pointer;
}
.rq-close:hover { background: var(--rq-panel); }
.rq-lede { margin: 10px 24px 0; font-size: 16.5px; }
.rq-frame { position: relative; margin: 14px 8px 0; min-height: 420px; }
.rq-iframe { display: block; width: 100%; height: 640px; border: 0; background: transparent; }
.rq-status { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; background: var(--rq-surface); }
.rq-frame[data-state="ready"] .rq-status { display: none; }
.rq-frame[data-state="review"], .rq-frame[data-state="fallback"] { min-height: 0; }
.rq-frame[data-state="review"] .rq-status, .rq-frame[data-state="fallback"] .rq-status { position: static; text-align: left; place-items: start; padding: 18px 16px 22px; }
.rq-frame[data-state="fallback"] .rq-iframe { display: none; }
.rq-loading, .rq-fallback, .rq-review { display: none; }
.rq-frame[data-state="loading"] .rq-loading { display: inline-flex; align-items: center; gap: 12px; color: var(--rq-muted); }
.rq-frame[data-state="fallback"] .rq-fallback, .rq-frame[data-state="review"] .rq-review { display: block; max-width: 52ch; }
.rq .rq-h { margin: 0 0 8px; font: 400 22px/1.3 var(--serif); color: var(--rq-ink); }
.rq-status p + p { margin-top: 8px; }
.rq a { color: var(--rq-ink); font-weight: 600; text-underline-offset: 3px; }
.rq-spinner { flex: none; width: 20px; height: 20px; border: 2px solid var(--rq-line); border-top-color: var(--navy); border-radius: 50%; animation: rq-spin .9s linear infinite; }
@keyframes rq-spin { to { transform: rotate(360deg); } }
.rq-foot { display: grid; gap: 4px; margin-top: auto; padding: 14px 24px 18px; border-top: 1px solid var(--rq-line); font-size: 15.5px; }
.rq-foot a { display: inline-flex; align-items: center; min-height: 40px; white-space: nowrap; }
.rq-emergency { color: var(--rq-muted); font-size: 14px; }
.rq :focus-visible { outline: 3px solid var(--rq-focus); outline-offset: 2px; }
@media (max-width: 560px) {
  .rq { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .rq-box { max-height: 100dvh; height: 100%; }
  .rq-head { padding: 16px 16px 0; }
  .rq-lede { margin-inline: 16px; }
  .rq-frame { margin-inline: 0; }
  .rq-foot { padding: 12px 16px 16px; }
}
@media print { .rq { display: none !important; } }

/* Notice of Privacy Practices (notice-of-privacy-practices.html, written by tools/build_production.py) */
.legal { padding-block: clamp(56px, 8vw, 112px) clamp(84px, 10vw, 144px); }
.legal-wrap { max-width: calc(860px + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(36px, 4vw, 54px); font-weight: 300; line-height: 1.12; letter-spacing: -.01em; }
.legal-lead { margin-top: 32px; padding: 20px 24px; border-left: 2px solid var(--lime); border-radius: 0 12px 12px 0; background: var(--card); color: var(--cream); font-weight: 500; }
.legal-body { margin-top: 36px; }
.legal-body h2 { margin: 2em 0 .7em; font-size: clamp(24px, 2.4vw, 30px); font-weight: 400; line-height: 1.25; }
.legal-body p + p, .legal-body ul + p, .legal-body p + ul { margin-top: 1em; }
.legal-body li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--line); }
.legal-body li:last-child { border-bottom: 1px solid var(--line); }
.legal-body li::before { content: ''; position: absolute; left: 0; top: 1.5em; width: 9px; height: 1px; background: var(--lime); }
.legal-body strong { color: var(--cream); font-weight: 600; }
.legal-body a { color: var(--cream); text-underline-offset: 3px; }
.legal-body a:hover { color: var(--lime); }
.legal-contact { padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }

/* 404.html */
.notfound { padding-block: clamp(72px, 12vw, 160px); }
.notfound h1 { max-width: 16em; font-size: clamp(36px, 4vw, 54px); font-weight: 300; line-height: 1.12; letter-spacing: -.01em; }
.notfound p { max-width: 40em; margin-top: 22px; color: var(--muted); }
.notfound p a { color: var(--cream); }
.notfound .actions { margin-top: 34px; }
