/* v9: stronger typography, shared appearance, and a focused navigation sheet. */
:root {
  --ink: #14243c;
  --muted: #30425f;
  --blue: #243b80;
  --red: #b62038;
  --red-dark: #a51930;
  --warm: #f9f8f5;
  --text-main: #172840;
  --text-sub: #30425f;
  --inverse-main: #fff;
  --inverse-sub: #f0f4fb;
  --page-backdrop: #fff;
  --menu-panel: #fafafc;
  --menu-row: #f0f1f4;
  --menu-active: #e5ebf8;
  --menu-line: #d6dce6;
  --menu-icon: #e4e7ed;
  --menu-label: #1d2b41;
  --menu-action: #253f86;
  --menu-on-action: #fff;
}

/* Bold is the default for every text element, including captions and controls. */
body, body * { font-weight: 700 !important; }
body :is(h1,h2,h3,h4,h5,h6) { font-weight: 800 !important; }
body { color: var(--text-main); font-size: 16px; }
body :is(p,blockquote,li,dd,dt,label) { color: var(--text-main) !important; }
body :is(small,figcaption) { color: var(--text-sub) !important; }
body :is(h1,h2,h3,h4,h5,h6,p,a,label,li,span,strong,small) { overflow-wrap: break-word; }
:is(main,section,article,nav,form,header,footer) > * { min-width: 0; }
:is(.primary-button,.secondary-button,.white-button,.outline-light-button,.appointment-submit,.doctor-cta,.nav-cta,.contact-channel,.home-contact-channels a) {
  max-width: 100%; white-space: normal; line-height: 1.55;
}
:is(.primary-button,.secondary-button,.doctor-cta,.nav-cta) svg { flex-shrink: 0; }
input,select,textarea { max-width: 100%; min-width: 0; font-size: 16px; }
input::placeholder,textarea::placeholder { opacity: 1; color: var(--text-sub); font-weight: 700; }

/* White text stays strong on the existing dark panels. White cards reset it. */
:is(.clinic-story,.values-section,.site-footer,.contact-banner,.home-treatment-more,
    .results-section,.appointment-section,.treatment-cta-card,.legal-contact-card,.artie-sheet-head,
    .assistant-button,.chat-message.user .chat-message-body) {
  --text-main: var(--inverse-main);
  --text-sub: var(--inverse-sub);
}
:is(.appointment-form,.legal-highlight,.legal-inline-note,.chat-message-body) {
  --text-main: #172840;
  --text-sub: #30425f;
}
:is(.clinic-story,.values-section,.site-footer,.contact-banner,.home-treatment-more,.results-section,.appointment-copy) :is(.eyebrow,.legal-kicker) { color: #fff; }
.story-copy :is(li,li span), .footer-grid :is(a,a span), .footer-bottom :is(a,p,span),
.footer-patient-guide :is(p,h2,span), .values-grid :is(h3,p), .results-grid :is(h3,p) { color: var(--text-main); }
.footer-grid :is(p,a,span) { opacity: 1; }
.footer-hours-highlight em,.legal-contact-card span { color: var(--text-sub); }
.appointment-intro .eyebrow,.footer-appointment-panel > div:first-child > span { color: #fff; }
.contact-banner .primary-button { background: #fff; color: #172840; }
.home-treatment-more .primary-button { background: #fff; color: #172840; }
.home-treatment-more .secondary-button { color: #fff; border-color: #fff; }
.review-author span, .contact-summary span, .home-contact-channels a small,
.legal-meta span, .hero-location-card small, .review-date { color: var(--text-sub) !important; }
.eyebrow, .credential-label, .legal-kicker { font-size: 12px; letter-spacing: .1em; line-height: 1.65; }
.about-kicker { font-size: 12px !important; letter-spacing: .1em; }
.primary-button,.secondary-button,.white-button,.outline-light-button,.appointment-submit,.text-link { font-size: 15px; }
.primary-button,.secondary-button,.white-button,.outline-light-button,.appointment-submit { min-height: 50px; padding: 15px 22px; }
.white-button { background: #fff; color: #172840; }
.section-heading > p,.inner-hero p,.story-copy > p,.reviews-intro > p,
.home-visit-copy > p,.contact-banner p,.treatment-bento-intro p,
.treatment-row p,.treatment-more p,.faq-item p { font-size: 16px; line-height: 1.8; }
.review-card blockquote { font-size: 20px; line-height: 1.6; }
.reviews-carousel [data-slot="carousel-item"] { display: flex; }
.review-card.compact { height: auto; min-height: 470px; width: 100%; }
.review-author strong { font-size: 15px; }
.review-author span,.review-card time { font-size: 13px; }
.trust-grid strong { font-size: 15px; }
.trust-grid span { font-size: 13px; color: var(--text-sub); }
.g-blue { color: #244b94; }
.g-red { color: #a72529; }
.g-yellow { color: #815100; }
.g-green { color: #17633a; }
.legal-content :is(p,li) { font-size: 16px; line-height: 1.9; }
.legal-nav a { font-size: 14px; }
.footer-grid :is(p,a), .footer-patient-guide p { font-size: 14px; line-height: 1.8; }
.footer-specialists strong { font-size: 15px; }
.footer-specialists span { font-size: 13px; }
.footer-grid h2 { font-size: 13px; color: #fff; letter-spacing: .07em; }
.footer-bottom { flex-wrap: wrap; gap: 15px; }
.footer-bottom :is(p,a,span) { font-size: 13px; }
.footer-brand strong { font-size: 34px; }
.footer-grid { grid-template-columns: 1.1fr 1.1fr .85fr 1.2fr .9fr; gap: 32px 24px; }
.appointment-copy > p,.appointment-benefits li { font-size: 16px; }
.appointment-form label { font-size: 14px; line-height: 1.6; }
.appointment-note,.artie-disclaimer { font-size: 13px; line-height: 1.7; }
.chat-message-body p { font-size: 15px; line-height: 1.7; }
.artie-suggestions button,.static-chat-action { font-size: 13px; }
.artie-composer input { font-size: 16px; }

/* The newly supplied copy receives the largest increase in reading size. */
.hero-copy > .hero-tagline { font-size: 16px; line-height: 1.6; max-width: 46ch; }
.hero-copy > .hero-specialty { font-size: 12px; gap: 7px 9px; line-height: 1.75; letter-spacing: .015em; }
.hero-specialty i { width: 4px; height: 4px; flex-basis: 4px; }
.hero-copy > .hero-intro { font-size: 18px; line-height: 1.75; max-width: 54ch; }
.hero-intro strong { font-size: 21px; line-height: 1.55; margin-bottom: 13px; }
.hero-copy > .hero-mantra { font-size: 29px; line-height: 1.45; gap: 9px; }
.hero-copy > .hero-experience { font-size: 13px; line-height: 1.65; gap: 10px 21px; }
.hero-experience b { font-size: 28px; }
.hero-experience > span { flex-wrap: wrap; row-gap: 0; }
.hero-actions > a { font-size: 14px; min-height: 50px; padding: 14px 19px; }
.hero-proof strong,.hero-proof small { font-size: 12px; line-height: 1.6; }
.hero-location-card strong { font-size: 19px; line-height: 1.45; }
.hero-location-card small { font-size: 12px; line-height: 1.6; }
.hero-location-card { align-items: flex-start; }
.hero-location-card > svg { flex: 0 0 19px; margin-top: 3px; }
.hero-visual { align-self: center; }
.hero-copy h1 { font-size: clamp(62px, 6.65vw, 91px); letter-spacing: -.055em; }
.home-specialists-copy h2 { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.22; }
.home-specialists-copy > p { font-size: 18px; line-height: 1.85; }
.home-doctor-list article { grid-template-columns: 1fr; gap: 7px; }
.home-doctor-list strong { font-size: 18px; line-height: 1.55; }
.home-doctor-list span { font-size: 16px; line-height: 1.7; color: var(--text-main); }
.home-specialists-portrait > span { font-size: 14px; line-height: 1.6; }
.credentials-heading > p { font-size: 16px; line-height: 1.85; }
.credential-copy { padding: 28px 23px; }
.credential-copy h3 { font-size: 29px; line-height: 1.2; }
.credential-copy h3 small { font-size: 14px; line-height: 1.6; letter-spacing: .025em; }
.credential-copy > strong { font-size: 15px; line-height: 1.7; }
.credential-copy li { font-size: 14px; line-height: 1.75; }
.credential-card { grid-template-columns: minmax(0,.65fr) minmax(0,1fr); }
.credential-label { font-size: 11px; }
.home-treatment-copy > span { font-size: 13px; letter-spacing: .07em; }
.home-treatment-copy p,.home-treatment-more p { font-size: 16px; line-height: 1.8; }
.home-treatment-copy li { font-size: 13px; }
.home-treatment-copy > strong { font-size: 15px; }
.home-treatment-copy h3 { font-size: clamp(31px, 3.1vw, 44px); }
.inner-hero .about-intro { font-size: 19px; line-height: 1.8; }
.doctors-section .split-heading > p { font-size: 18px; line-height: 1.8; }
.doctors-section .split-heading { grid-template-columns: 1.2fr 1fr; gap: 45px; align-items: start; }
.doctor-card-body h3 { font-size: clamp(25px, 2vw, 29px); white-space: normal; line-height: 1.45; letter-spacing: -.035em; }
.name-degrees { display: inline; font-size: 15px; line-height: 1.6; letter-spacing: 0; }
.doctor-card .doctor-title { min-height: 0; max-width: none; font-size: 17px; line-height: 1.65; margin-bottom: 20px; }
.doctor-card-body .doctor-description { min-height: 0; font-size: 18px; line-height: 1.8; margin-bottom: 27px; }
.doctor-expertise h4 { font-size: 14px; letter-spacing: .08em; line-height: 1.7; }
.doctor-expertise h5 { font-size: 17px; line-height: 1.6; }
.doctor-focus li { font-size: 16px; line-height: 1.85; }
.doctor-grid .doctor-focus { gap: 13px; }
.doctor-grid .doctor-cta { font-size: 15px; line-height: 1.6; padding: 17px 20px; }
.doctor-grid .doctor-card-body { min-width: 0; }
.values-grid h3 { font-size: 27px; line-height: 1.35; }
.values-grid p { font-size: 17px; line-height: 1.8; }
.approach-number { color: #fff; font-size: 13px; }
.values-grid article { padding: 30px 25px; }

/* Desktop header: a stable-sized toggle keeps the logo destination unchanged. */
.nav-shell { gap: 20px; }
.desktop-nav { gap: 19px; }
.desktop-nav a { font-size: 14px; color: var(--text-main); }
.site-header .brand { min-width: 245px; }
.site-header .brand strong { font-size: 21px; }
.site-header .brand small { font-size: 11px; color: var(--red) !important; }
.site-header .nav-cta { font-size: 14px; min-height: 46px; padding: 12px 17px; white-space: nowrap; }
.desktop-theme-toggle {
  flex: 0 0 44px; width: 44px; height: 44px;
  display: grid; place-items: center; position: relative;
  border: 1px solid var(--menu-line); border-radius: 50%;
  color: var(--text-main); background: var(--menu-row);
  padding: 0; cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.desktop-theme-toggle:hover { background: var(--menu-active); border-color: var(--blue); }
.desktop-theme-toggle svg { width: 20px; height: 20px; }
.desktop-theme-toggle .theme-sun { display: none; }
html[data-theme="dark"] .desktop-theme-toggle .theme-moon { display: none; }
html[data-theme="dark"] .desktop-theme-toggle .theme-sun { display: block; }
.intro-pending .desktop-theme-toggle { opacity: 0; pointer-events: none; }
.intro-running .desktop-theme-toggle { animation: navigation-arrive 420ms 1450ms ease both; }
.intro-pending body::before { background: var(--page-backdrop); }

/* A compact sheet with rounded groups, clear hierarchy, and native system type. */
.static-mobile-menu {
  z-index: 90; display: flex; align-items: flex-start; justify-content: flex-end;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom));
  background: rgb(12 20 36 / 32%);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: opacity .26s ease, visibility .26s ease;
}
.static-mobile-menu-panel {
  width: min(420px, calc(100vw - 24px)); min-width: 0; max-width: 100%;
  height: auto; max-height: calc(100vh - 24px);
  max-height: calc(100dvh - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)));
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--menu-line); border-radius: 28px;
  background: var(--menu-panel); color: var(--menu-label);
  box-shadow: 0 24px 90px rgb(8 15 30 / 24%);
  transform: translateY(-12px) scale(.985); transform-origin: top right;
  transition: transform .32s cubic-bezier(.22,1,.36,1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.static-mobile-menu.open .static-mobile-menu-panel { transform: none; }
.static-menu-head {
  flex: 0 0 auto; min-height: 82px; padding: 18px 20px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--menu-line); background: var(--menu-panel);
}
.static-menu-brand { display: flex; align-items: center; gap: 11px; min-width: 0; font-family: inherit; }
.static-menu-brand img { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; box-shadow: none; filter: none; }
.static-menu-brand > span { display: flex; flex-direction: column; gap: 3px; max-width: none; min-width: 0; }
.static-menu-brand strong { color: var(--menu-label); font-size: 16px; line-height: 1.3; letter-spacing: -.025em; }
.static-menu-brand small { color: var(--text-sub) !important; font-size: 12px; line-height: 1.3; letter-spacing: .035em; }
.static-menu-close {
  margin-left: auto; width: 40px; height: 40px; flex: 0 0 40px;
  border: 0; border-radius: 50%; color: var(--menu-label); background: var(--menu-icon);
  display: grid; place-items: center;
}
.static-menu-close svg { width: 18px; height: 18px; stroke-width: 2.4; }
.static-menu-scroll {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 22px 20px max(24px, env(safe-area-inset-bottom)); scrollbar-width: none;
}
.static-menu-scroll::-webkit-scrollbar { display: none; }
.static-menu-title { font-family: inherit; font-size: 32px; letter-spacing: -.055em; line-height: 1.15; margin: 0 0 18px; color: var(--menu-label); }
.static-menu-links {
  margin: 0; padding: 6px; display: grid; gap: 3px;
  background: var(--menu-row); border: 1px solid var(--menu-line); border-radius: 20px;
}
.static-menu-links a {
  min-height: 51px; padding: 10px 14px; border: 0; border-radius: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: inherit; font-size: 22px; letter-spacing: -.035em; line-height: 1.3;
  color: var(--menu-label); background: transparent;
  transition: background .18s ease, color .18s ease;
}
.static-menu-links a::before, .static-menu-links a::after { display: none; }
.static-menu-links a > span { display: block; }
.static-menu-links a > svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--text-sub); stroke-width: 2.2; }
.static-menu-links a:hover { background: var(--menu-active); }
.static-menu-links a.active { padding-left: 14px; color: var(--blue); background: var(--menu-active); box-shadow: none; }
.static-menu-links a.active > svg { color: var(--blue); }
.static-menu-actions { display: grid; gap: 10px; margin-top: 20px; }
.static-mobile-menu .static-menu-book,
.static-mobile-menu .static-menu-call {
  min-height: 54px; padding: 14px 16px; border: 0; border-radius: 16px;
  display: flex; align-items: center; gap: 12px; box-shadow: none;
  white-space: normal; max-width: 100%;
}
.static-mobile-menu .static-menu-book {
  justify-content: center; background: var(--menu-action); color: var(--menu-on-action);
}
.static-mobile-menu .static-menu-book strong { color: inherit; font-size: 16px; line-height: 1.5; }
.static-mobile-menu .static-menu-call { background: var(--menu-row) !important; color: var(--menu-label) !important; justify-content: flex-start; }
.static-mobile-menu .static-menu-call strong { color: var(--menu-label) !important; font-size: 15px; line-height: 1.4; }
.static-mobile-menu .static-menu-call small { color: var(--text-sub) !important; font-size: 13px; line-height: 1.5; }
.static-mobile-menu .static-menu-call > svg { margin-left: auto; width: 18px; height: 18px; flex: 0 0 18px; }
.static-menu-action-icon { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 0; background: none; }
.static-menu-action-icon svg { width: 21px; height: 21px; }
.static-mobile-menu .static-menu-call .static-menu-action-icon { background: none; color: var(--menu-label) !important; }
.static-menu-theme { margin-top: 22px; padding: 0; border: 0; border-radius: 0; background: none; display: grid; gap: 10px; }
.static-menu-theme > strong { color: var(--menu-label); font-size: 13px; letter-spacing: .01em; }
.static-theme-switch { gap: 5px; padding: 5px; border: 1px solid var(--menu-line); border-radius: 15px; background: var(--menu-row); }
.static-theme-switch button { min-height: 42px; gap: 8px; font-size: 14px; border-radius: 10px; color: var(--text-sub); }
.static-theme-switch button svg { width: 18px; height: 18px; }
.static-theme-switch button.active { background: var(--menu-panel); color: var(--menu-label); box-shadow: 0 2px 7px rgb(0 0 0 / 12%); }
.static-menu-connect { margin-top: 23px; }
.static-menu-section-title { font-size: 12px; line-height: 1.6; color: var(--menu-label); letter-spacing: .01em; text-transform: none; }
.static-menu-socials { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.static-mobile-menu .static-menu-socials a { gap: 7px; font-size: 12px; color: var(--menu-label) !important; }
.static-mobile-menu .static-menu-socials a > span {
  width: 44px; height: 44px; border: 0; border-radius: 14px; box-shadow: none;
  background: var(--menu-row) !important; color: var(--menu-label) !important;
}
.static-menu-socials svg { width: 20px; height: 20px; }
.static-menu-socials small { font-size: 11px; letter-spacing: -.025em; color: var(--menu-label) !important; }
.static-menu-hours { display: block; border-top: 1px solid var(--menu-line); padding-top: 17px; margin: 22px 0 0; font-size: 12px; line-height: 1.8; }
.static-mobile-menu :is(a,button):focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* A consistent dark palette for all pages, cards, forms and navigation. */
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f5f7fc; --muted: #e0e7f2; --blue: #b7ccff;
  --blue-dark: #0e182a; --blue-soft: #27364f;
  --red: #ffafbd; --red-dark: #ffafbd;
  --warm: #111a28; --paper: #192538; --card: #1c293d; --line: #41526b;
  --text-main: #f5f7fc; --text-sub: #e0e7f2;
  --background: #111a28; --foreground: #f5f7fc;
  --card-foreground: #f5f7fc; --muted-foreground: #e0e7f2;
  --primary: #b7ccff; --primary-foreground: #102039;
  --secondary: #27364f; --secondary-foreground: #f5f7fc;
  --accent: #27364f; --accent-foreground: #f5f7fc;
  --border: #41526b; --input: #41526b; --ring: #b7ccff;
  --page-backdrop: #111a28;
  --menu-panel: #1a2433; --menu-row: #253246; --menu-active: #334766;
  --menu-line: #43536b; --menu-icon: #334157; --menu-label: #f5f7fc;
  --menu-action: #b7ccff; --menu-on-action: #102039;
}
html[data-theme="dark"] body { background: var(--warm); color: var(--text-main); }
html[data-theme="dark"] :is(.site-header,.hero-section,.inner-hero,.legal-hero,.legal-hero-terms,.home-specialists,.trust-strip,.services-section,.home-contact,.doctors-section,.clinic-gallery,.treatments-list,.faq-section,.legal-section,.map-section,.full-reviews) { background: var(--warm); border-color: var(--line); }
html[data-theme="dark"] :is(.home-credentials,.home-contact-match,.treatment-bento-section) { background: #172336; }
html[data-theme="dark"] .hero-proof { background: var(--card); border-color: var(--line); }
html[data-theme="dark"] :is(.granite-section,.reviews-home) { background: #111a28; }
html[data-theme="dark"] :is(.review-card,.hero-location-card,.doctor-card,.credential-card,.treatment-bento-card,.home-treatment-card,.service-card,.appointment-form,.contact-summary > div,.home-contact-channels a,.legal-highlight,.legal-inline-note,.legal-nav a,.legal-external-links a,.faq-item) { background: var(--card); border-color: var(--line); }
html[data-theme="dark"] :is(.appointment-form,.legal-highlight,.legal-inline-note,.chat-message-body) { --text-main: #f5f7fc; --text-sub: #e0e7f2; }
html[data-theme="dark"] :is(.section-heading,.hero-copy,.inner-hero,.doctors-section,.home-visit-copy,.treatment-bento-copy,.home-treatment-copy,.credential-copy,.doctor-card-body,.legal-content,.review-card,.contact-summary) :is(h1,h2,h3,h4,h5,strong,span) { color: var(--ink); }
html[data-theme="dark"] .hero-copy h1 em,
html[data-theme="dark"] .hero-mantra > span,
html[data-theme="dark"] .home-specialists-copy h2 > span:last-child,
html[data-theme="dark"] .inner-hero h1 em,
html[data-theme="dark"] .doctors-section .split-heading h2 em { color: var(--red); }
html[data-theme="dark"] .hero-experience b,
html[data-theme="dark"] .credential-copy > strong,
html[data-theme="dark"] .doctor-card .doctor-title { color: var(--blue); }
html[data-theme="dark"] :is(.primary-button,.site-header .nav-cta,.doctor-grid .doctor-cta,.map-below-link) { background: #b7ccff; color: #102039; border-color: transparent; }
html[data-theme="dark"] :is(.white-button,.footer-appointment-panel > a,.mobile-doctor-tabs button.active) { background: #b7ccff; color: #102039; }
html[data-theme="dark"] :is(.appointment-submit,.artie-composer button) { background: #ffbcc7; color: #36111b; }
html[data-theme="dark"] .primary-button :is(span,strong) { color: #102039; }
html[data-theme="dark"] .doctor-red .doctor-cta { background: #ffbcc7; color: #36111b; }
html[data-theme="dark"] :is(.secondary-button,.review-filters button,.legal-nav a,.legal-external-links a) { background: var(--menu-row); color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] .review-filters button.active { background: #b7ccff; color: #102039; }
html[data-theme="dark"] :is(.home-treatment-copy li,.treatment-bento-copy li,.service-tags span) { background: #2a3b53; }
html[data-theme="dark"] .treatment-bento-copy strong b { background: #b7ccff; color: #102039; }
html[data-theme="dark"] .google-word > span { color: #f5f7fc; }
html[data-theme="dark"] :is(.appointment-form input,.appointment-form select,.artie-composer input) { background: #111a28; border-color: #657891; color: #fff; }
html[data-theme="dark"] :is(.clinic-story,.values-section,.site-footer,.results-section,.appointment-section,.home-treatment-more) { background: #0d1728; }
html[data-theme="dark"] :is(.contact-banner,.treatment-cta-card) { background: #5a2536; }
html[data-theme="dark"] .values-grid article { background: #18263d; border-color: #43556f; }
html[data-theme="dark"] .home-treatment-more :is(.primary-button,.secondary-button) { background: #b7ccff; border-color: #b7ccff; color: #102039; }
html[data-theme="dark"] .hero-location-card strong { color: #fff; }
html[data-theme="dark"] .brand img,html[data-theme="dark"] .static-menu-brand img { filter: none; background: #fff; }
html[data-theme="dark"] .brand small { color: var(--red) !important; }
html[data-theme="dark"] .site-header .desktop-nav a.active { background: var(--menu-row); color: #fff; }
html[data-theme="dark"] .static-mobile-menu { background: rgb(0 0 0 / 52%); }
html[data-theme="dark"] .static-mobile-menu-panel { background: var(--menu-panel); }
html[data-theme="dark"] .static-mobile-menu .static-menu-book { background: var(--menu-action); color: var(--menu-on-action); }
html[data-theme="dark"] .static-theme-switch button.active { background: #3e526f; color: #fff; }
html[data-theme="dark"] .chat-message.user .chat-message-body { --text-main:#fff; background:#2c4380; }
html[data-theme="dark"].intro-pending .site-header { background: transparent; border-color: transparent; }

@media (max-width: 1160px) {
  .site-header .desktop-nav { display: none; }
  .site-header .menu-trigger { display: grid; place-items: center; margin-left: 0; flex-shrink: 0; }
  .site-header .nav-cta { margin-left: auto; }
  .nav-shell { gap: 12px; }
  .site-header .brand { min-width: 230px; }
  .hero-copy > .hero-intro { font-size: 17px; }
  .hero-intro strong { font-size: 20px; }
  .hero-copy > .hero-specialty { font-size: 11px; }
  .hero-copy > .hero-experience { font-size: 12px; }
  .home-specialists-copy h2 { font-size: 34px; }
  .home-specialists-copy > p { font-size: 17px; }
  .credentials-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .credential-card { grid-template-columns: 1fr; }
  .credential-profile { height: 355px; min-height: 0; }
  .credential-copy > strong { font-size: 16px; }
  .doctor-card-body h3 { font-size: 26px; }
  .doctor-card .doctor-title { font-size: 16px; }
  .doctor-card-body .doctor-description { font-size: 17px; }
  .doctor-focus li { font-size: 15px; }
  .doctor-grid .doctor-cta { font-size: 14px; }
  .footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 1000px) {
  .doctors-section .split-heading { grid-template-columns: 1fr; gap: 24px; }
  .doctor-grid { grid-template-columns: 1fr; max-width: 740px; margin-inline: auto; }
  .doctor-card-body h3 { font-size: 31px; }
  .name-degrees { font-size: 16px; }
  .doctor-card-body .doctor-description { font-size: 18px; }
  .doctor-focus li { font-size: 16px; }
  .values-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 920px) {
  .home-specialists-copy h2 { font-size: clamp(31px,4.4vw,41px); }
  .home-specialists-copy > p { font-size: 18px; }
  .section-heading { gap: 28px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .desktop-theme-toggle { display: none; }
  .nav-shell { gap: 9px; }
  .site-header .brand { min-width: 0; gap: 8px; }
  .site-header .brand strong { font-size: 16px; }
  .site-header .brand small { font-size: 10px; }
  .site-header .nav-cta,.site-header .menu-trigger { width: 42px; height: 42px; min-width: 42px; min-height: 42px; flex: 0 0 42px; padding: 0; }
  .site-header .nav-cta { margin-left: 0; }
  .hero-copy h1 { font-size: clamp(63px,11.5vw,89px); }
  .hero-copy > .hero-tagline { font-size: 16px; }
  .hero-copy > .hero-specialty { font-size: 12px; }
  .hero-copy > .hero-intro { font-size: 18px; }
  .hero-intro strong { font-size: 21px; }
  .hero-copy > .hero-experience { font-size: 13px; }
  .hero-actions > a { font-size: 15px; padding: 14px 20px; }
  .home-specialists-copy > p { font-size: 17px; }
  .credentials-grid { display: block; }
  .credential-card { display: none; }
  .credential-card.active { display: grid; grid-template-columns: .8fr 1fr; }
  .credential-profile { height: auto; min-height: 340px; }
  .credential-copy h3 { font-size: 29px; }
  .mobile-doctor-tabs button { font-size: 15px; min-height: 50px; }
  .inner-hero .about-intro { font-size: 18px; }
  .doctors-section .split-heading > p { font-size: 17px; }
  .home-treatment-copy p,.home-treatment-more p { font-size: 16px; }
  .footer-brand strong { font-size: 30px; }
  .mobile-action-dock :is(strong,span) { font-size: 13px; }
  .mobile-action-dock a { min-height: 48px; }
  html[data-theme="dark"] .site-header .nav-cta { background: #b6efca; color: #06391c; }
  html[data-theme="dark"] .mobile-action-dock { background: #1a263a; border-color: var(--line); }
  html[data-theme="dark"] .mobile-action-dock .dock-call { background: #bad0ff; color: #102039; }
  html[data-theme="dark"] .mobile-action-dock .dock-whatsapp { background: #b6efca; color: #06391c; }
  html[data-theme="dark"] .mobile-action-dock .dock-book { background: #ffc1cb; color: #3b1220; }
}
@media (max-width: 560px) {
  .nav-shell { width: calc(100% - 28px); gap: 7px; }
  .site-header .brand strong { font-size: 14px; }
  .site-header .brand small { font-size: 9px; letter-spacing: .13em; }
  .site-header .brand { gap: 7px; }
  .site-header .brand img { width: 40px; height: 40px; flex-basis: 40px; }
  .site-header .nav-cta,.site-header .menu-trigger { width: 40px; height: 40px; min-width: 40px; min-height: 40px; flex-basis: 40px; }
  .hero-copy h1 { font-size: clamp(56px,14.7vw,78px); }
  .hero-copy > .eyebrow { font-size: 11px; letter-spacing: .07em; }
  .hero-copy > .hero-tagline { font-size: 14px; margin-bottom: 23px; }
  .hero-copy > .hero-specialty { font-size: 11px; gap: 5px 7px; line-height: 1.8; letter-spacing: 0; }
  .hero-copy > .hero-intro { font-size: 16px; line-height: 1.85; }
  .hero-intro strong { font-size: 19px; line-height: 1.6; margin-bottom: 12px; }
  .hero-copy > .hero-mantra { font-size: 26px; line-height: 1.5; gap: 7px; }
  .hero-copy > .hero-experience { font-size: 12px; gap: 8px 17px; }
  .hero-experience b { font-size: 25px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-actions > a { justify-content: center; width: 100%; font-size: 15px; min-height: 48px; }
  .hero-proof strong,.hero-proof small { font-size: 11px; }
  .hero-location-card strong { font-size: 16px; }
  .hero-location-card small { font-size: 11px; }
  .home-specialists-copy h2 { font-size: clamp(26px,6.3vw,34px); line-height: 1.24; }
  .home-specialists-copy > p { font-size: 16px; line-height: 1.9; }
  .home-doctor-list strong { font-size: 17px; }
  .home-doctor-list span { font-size: 15px; }
  .eyebrow,.about-kicker { font-size: 11px !important; letter-spacing: .06em; }
  .credential-card.active { grid-template-columns: 1fr; }
  .credential-profile { height: 350px; min-height: 0; }
  .credential-copy { padding: 28px 24px; }
  .credential-copy h3 { font-size: 31px; }
  .credential-copy li { font-size: 15px; }
  .credentials-heading { gap: 16px; }
  .credentials-heading h2 { font-size: 29px; }
  .credentials-heading > p { font-size: 15px; }
  .inner-hero .about-intro { font-size: 17px; line-height: 1.85; }
  .doctors-section .split-heading > p { font-size: 16px; }
  .doctor-card-body h3 { font-size: 28px; }
  .name-degrees { font-size: 15px; }
  .doctor-card .doctor-title { font-size: 16px; }
  .doctor-card-body .doctor-description { font-size: 16px; }
  .doctor-expertise h4 { font-size: 13px; }
  .doctor-expertise h5 { font-size: 16px; }
  .doctor-focus li { font-size: 15px; }
  .doctor-grid .doctor-cta { font-size: 14px; padding: 16px; }
  .values-grid h3 { font-size: 25px; }
  .values-grid p { font-size: 16px; }
  .section-heading > p,.inner-hero p,.story-copy > p,.reviews-intro > p,.home-visit-copy > p,.contact-banner p { font-size: 15px; }
  .home-treatment-copy { padding: 25px 22px; }
  .home-treatment-copy p { font-size: 15px; }
  .home-treatment-copy > strong { font-size: 14px; }
  .legal-content :is(p,li) { font-size: 15px; }
  .review-card blockquote { font-size: 18.5px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand strong { font-size: 25px; }
  .footer-brand p { font-size: 14px; }
  .static-menu-head { padding: 17px 18px; }
  .static-menu-scroll { padding: 20px 18px 24px; }
  .static-menu-links a { font-size: 21px; min-height: 50px; }
}
@media (max-width: 360px) {
  .site-header .brand strong { font-size: 13px; }
  .site-header .brand small { font-size: 8px; }
  .home-specialists-copy h2 { font-size: 26px; }
  .credentials-heading { grid-template-columns: minmax(0,1fr); }
  .credentials-heading .rp-mark { display: none; }
  .credentials-heading > p { grid-row: auto; grid-column: auto; }
  .static-menu-brand strong { font-size: 15px; }
  .static-menu-links a { font-size: 20px; }
  .static-menu-socials { gap: 5px; }
  .static-menu-socials small { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .static-mobile-menu,.static-mobile-menu-panel,.desktop-theme-toggle { transition: none; }
  .intro-pending .desktop-theme-toggle { opacity: 1; }
}

/* v10: bounded header controls and destinations that stay below the header. */
html { scroll-padding-top: 112px; scroll-padding-bottom: 100px; }
html.anchor-positioning { scroll-behavior: auto !important; }
.anchor-arrival { animation: none !important; transition: none !important; transform: none !important; opacity: 1 !important; }
.site-header .nav-cta {
  display: inline-flex !important; align-items: center; justify-content: center;
  flex: 0 0 auto; gap: 9px; width: auto; min-width: 0; max-width: 100%;
  height: 48px; min-height: 48px; padding: 12px 18px;
  border: 1px solid transparent; border-radius: 14px;
  color: #fff; background: #243b80; box-shadow: none;
  font-size: 14px; line-height: 1.2; white-space: nowrap;
}
.site-header .nav-cta:hover { background: #172b67; }
.site-header .nav-cta > svg { display: block; width: 18px; height: 18px; max-width: 18px; flex: 0 0 18px; }
.site-header .nav-cta > span { display: block; min-width: 0; color: inherit; line-height: 1.2; text-align: center; }
.site-header .nav-cta:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
html[data-theme="dark"] .site-header .nav-cta { color: #102039; background: #b7ccff; }
html[data-theme="dark"] .site-header .nav-cta:hover { background: #d3dfff; }
.booking-form-heading { grid-column: 1 / -1; padding-bottom: 18px; margin-bottom: 3px; border-bottom: 1px solid var(--line); }
.booking-form-heading h3 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.2; margin: 0 0 10px; }
.booking-form-heading p { font-size: 15px; line-height: 1.6; margin: 0; }

/* A little breathing room beside the coloured rule, with a clear profile action. */
.home-doctor-list article {
  grid-template-columns: minmax(0, 1fr) auto; gap: 8px 22px;
  padding: 24px 22px 24px 24px; align-items: center;
}
.home-doctor-list article:hover { transform: none; }
.home-doctor-list article > strong { grid-column: 1; grid-row: 1; }
.home-doctor-list article > span { grid-column: 1; grid-row: 2; }
.home-doctor-list .doctor-info-link {
  grid-column: 2; grid-row: 1 / span 2; justify-self: end;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--menu-row); color: var(--blue);
  font-size: 14px; line-height: 1.4; white-space: nowrap;
  transition: background .2s ease, border-color .2s ease;
}
.home-doctor-list .doctor-info-link svg { width: 16px; height: 16px; flex: 0 0 16px; }
.home-doctor-list .doctor-info-link:hover { background: var(--menu-active); border-color: var(--blue); }
.doctor-grid .doctor-card:target { outline: 2px solid var(--blue); outline-offset: 5px; }
.doctor-grid .doctor-red:target { outline-color: var(--red); }

/* Larger live maps and prominent contact details on Home and Contact. */
.map-grid.section-shell { width: min(1360px, calc(100% - 64px)); }
.map-grid, .home-contact-match .home-visit-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 44px; align-items: stretch;
}
.map-column { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.map-grid .map-frame, .home-contact-match .home-map-frame {
  position: relative; flex: 1 1 auto; min-height: 740px; height: auto;
  border: 1px solid var(--line); border-radius: 24px; background: var(--menu-row);
  overflow: hidden; box-shadow: none;
}
.map-grid .map-frame iframe, .home-contact-match .home-map-frame iframe {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 0;
  border: 0; filter: none;
}
.map-column .map-below-link { min-height: 54px; padding: 14px 20px; margin: 0; font-size: 16px; line-height: 1.5; border-radius: 14px; }
.map-below-link svg { width: 21px; height: 21px; flex: 0 0 21px; }
.clinic-contact-block { min-width: 0; padding: 6px 0 0; }
.clinic-contact-block h2 { font-size: clamp(36px, 3.15vw, 48px); line-height: 1.15; margin: 17px 0 24px; }
.clinic-contact-block > p { font-size: 18px; line-height: 1.75; margin-bottom: 26px; }
.clinic-contact-block .visit-hours { padding: 22px 24px; margin: 0 0 24px; }
.clinic-contact-block .visit-hours > span { font-size: 12px; letter-spacing: .09em; color: var(--text-main); }
.clinic-contact-block .visit-hours strong { font-size: 20px; line-height: 1.55; }
.clinic-contact-block .visit-hours small { font-size: 16px; line-height: 1.6; }
.clinic-contact-block .contact-channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.clinic-contact-block .contact-channel-grid a {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 13px;
  align-items: center; min-width: 0; min-height: 110px; padding: 18px 16px;
  border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: none;
}
.clinic-contact-block .contact-channel-grid a:hover { border-color: var(--blue); }
.clinic-contact-block .contact-channel-grid a > span { display: grid; min-width: 0; gap: 6px; }
.clinic-contact-block .contact-channel-grid a strong { font-size: 18px; line-height: 1.35; }
.clinic-contact-block .contact-channel-grid a small { font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.clinic-contact-block .contact-channel-grid a > svg { width: 31px; height: 31px; flex: 0 0 31px; }
.brand-icon { width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; display: inline-block; vertical-align: middle; }
.clinic-contact-block .contact-channel-grid .brand-icon { width: 42px; height: 42px; }
.clinic-contact-block > .visit-book { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 25px; padding: 16px 22px; font-size: 16px; line-height: 1.4; border: 0; }
.static-menu-socials .brand-icon { width: 28px; height: 28px; }
.mobile-action-dock .brand-icon { width: 22px; height: 22px; }
.static-chat-action-icon :is(svg,.brand-icon) { width: 18px; height: 18px; display: block; }
.footer-grid .brand-icon { width: 20px; height: 20px; flex-basis: 20px; }
html[data-theme="dark"] .clinic-contact-block .contact-channel-grid a { background: var(--card); }

@media (max-width: 1100px) {
  .map-grid, .home-contact-match .home-visit-grid { grid-template-columns: 1fr; gap: 36px; }
  .map-grid .map-frame, .home-contact-match .home-map-frame { min-height: 620px; flex-basis: 620px; }
  .clinic-contact-block h2 { max-width: 24ch; }
  .clinic-contact-block .contact-channel-grid a { min-height: 106px; padding: 20px 22px; }
  .clinic-contact-block .contact-channel-grid a small { font-size: 16px; }
}
@media (max-width: 820px) {
  html { scroll-padding-top: 100px; }
  .site-header .nav-cta { width: auto; min-width: 0; height: 42px; min-height: 42px; flex: 0 0 auto; padding: 10px 12px; margin-left: auto; font-size: 12px; border-radius: 12px; }
  .site-header .nav-cta > svg { width: 16px; height: 16px; max-width: 16px; flex-basis: 16px; }
  .site-header .nav-cta > span { display: block; }
  .map-grid.section-shell { width: calc(100% - 40px); }
  .map-grid .map-frame, .home-contact-match .home-map-frame { min-height: 540px; flex-basis: 540px; }
}
@media (max-width: 560px) {
  .site-header .brand { flex: 1 1 auto; }
  .site-header .brand > span { min-width: 0; }
  .site-header .nav-cta { width: 112px; min-width: 112px; max-width: 112px; flex: 0 0 112px; height: 44px; min-height: 44px; padding: 5px 6px; margin-left: 0; }
  .site-header .nav-cta > svg { display: none; }
  .site-header .nav-cta > span { display: block; white-space: normal; font-size: 12px; line-height: 1.25; }
  .home-doctor-list article { grid-template-columns: 1fr; gap: 10px; padding: 22px 18px; }
  .home-doctor-list .doctor-info-link { grid-column: 1; grid-row: 3; margin-top: 3px; }
  .map-grid.section-shell { width: calc(100% - 28px); }
  .map-grid .map-frame, .home-contact-match .home-map-frame { min-height: 500px; flex-basis: 500px; border-radius: 20px; }
  .map-column .map-below-link { font-size: 14px; padding: 14px 16px; }
  .clinic-contact-block h2 { font-size: 36px; }
  .clinic-contact-block > p { font-size: 17px; }
  .clinic-contact-block .visit-hours { padding: 21px; }
  .clinic-contact-block .visit-hours strong { font-size: 18px; }
  .clinic-contact-block .contact-channel-grid { grid-template-columns: 1fr; }
  .clinic-contact-block .contact-channel-grid a { min-height: 98px; padding: 19px 21px; gap: 18px; }
  .booking-form-heading h3 { font-size: 27px; }
  .booking-form-heading p { font-size: 14px; }
}
@media (max-width: 360px) {
  .site-header .brand { gap: 6px; }
  .site-header .brand img { width: 36px; height: 36px; flex-basis: 36px; }
  .site-header .brand strong { font-size: 13px; }
  .site-header .nav-cta { width: 104px; min-width: 104px; max-width: 104px; flex-basis: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  .doctor-info-link { transition: none; }
}

/* v11: generous photographs and a concise opening-hours badge. */
.hero-grid {
  width: min(1440px, calc(100% - 64px));
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(32px, 3.8vw, 56px); padding-top: 40px; padding-bottom: 56px;
}
.hero-visual { width: 100%; max-width: none; height: auto; min-height: 0; }
.hero-photo-frame { border-radius: 100px 100px 22px 22px; }
.hero-hours-badge {
  position: absolute; left: 22px; bottom: 58px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  width: max-content; max-width: calc(100% - 44px); padding: 13px 17px;
  border: 1px solid #e0e5ed; border-left: 4px solid #b62038; border-radius: 14px;
  background: #fff; color: #172840; --text-sub: #30425f;
  box-shadow: 0 8px 26px rgb(10 24 46 / 18%);
}
.hero-hours-badge > svg { width: 24px; height: 24px; flex: 0 0 24px; color: #243b80; }
.hero-hours-badge > span { display: grid; gap: 4px; min-width: 0; }
.hero-hours-badge strong { color: #172840; font-size: 14px; line-height: 1.5; }
.hero-hours-badge small { font-size: 12px; line-height: 1.5; }
.hero-logo-seal { right: 16px; }
.home-specialists-grid { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: 48px; }
.home-specialists-portrait { min-height: 560px; height: auto; max-height: none; aspect-ratio: 1; }
.home-specialists-portrait img { min-height: 0; height: 100%; object-position: center; }
.credential-card { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
.credential-profile { min-height: 430px; max-height: none; height: auto; }
.doctor-portrait { height: auto; aspect-ratio: 4 / 5; }
.doctor-portrait img { object-position: center; }
.inner-hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; }
.inner-hero-photo { height: auto; min-height: 540px; max-height: none; aspect-ratio: 1.15; }
.gallery-image { height: auto; min-height: 560px; aspect-ratio: 1.15; }
.home-treatment-media { min-height: 440px; }
body[data-page="treatments"] .treatment-bento-card,
body[data-page="treatments"] .treatment-bento-card.bento-wide { grid-template-rows: 300px auto; }

/* A right-edge drawer uses the available height; its contents do not scroll. */
.static-mobile-menu { padding: 0; align-items: stretch; justify-content: flex-end; }
.static-mobile-menu-panel {
  flex: 0 0 auto; width: min(360px, 88vw); max-width: 100%; min-width: 0;
  height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh;
  margin: 0; border-radius: 24px 0 0 24px; border-width: 0 0 0 1px;
  transform: translateX(100%); transform-origin: right center;
}
.static-mobile-menu.open .static-mobile-menu-panel { transform: translateX(0); }
.static-menu-head { min-height: 64px; padding: max(12px, env(safe-area-inset-top)) 16px 12px; gap: 10px; }
.static-menu-brand { gap: 9px; }
.static-menu-brand img { width: 36px; height: 36px; flex-basis: 36px; }
.static-menu-brand strong { font-size: 15px; }
.static-menu-brand small { font-size: 11px; }
.static-menu-close { width: 36px; height: 36px; flex-basis: 36px; }
.static-menu-content {
  flex: 1 1 0; min-height: 0; min-width: 0; overflow: clip;
  display: grid; grid-template-rows: minmax(0, 1fr) auto auto auto auto;
  gap: 12px; padding: 12px max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) 16px;
}
.static-menu-content .static-menu-links {
  min-height: 0; height: 100%; margin: 0; padding: 4px; gap: 2px;
  grid-template-rows: repeat(5, minmax(0, 1fr)); border-radius: 17px;
}
.static-menu-content .static-menu-links a {
  min-height: 0; padding: 6px 12px; font-size: 19px; line-height: 1.25;
  border-radius: 12px; letter-spacing: -.025em;
}
.static-menu-content .static-menu-links a.active { padding-left: 12px; }
.static-menu-content .static-menu-links a > svg { width: 16px; height: 16px; flex-basis: 16px; }
.static-menu-content .static-menu-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.static-menu-content .static-menu-actions a {
  min-width: 0; min-height: 50px; padding: 8px 10px; gap: 7px;
  justify-content: center; border-radius: 12px;
}
.static-menu-content .static-menu-actions a strong { font-size: 12px; line-height: 1.3; }
.static-menu-content .static-menu-action-icon { width: 18px; height: 18px; flex-basis: 18px; }
.static-menu-content .static-menu-action-icon svg { width: 18px; height: 18px; }
.static-menu-content .static-menu-theme { display: block; margin: 0; padding: 0; }
.static-menu-content .static-theme-switch { padding: 4px; gap: 4px; border-radius: 13px; }
.static-menu-content .static-theme-switch button { min-height: 36px; padding: 4px 6px; font-size: 12px; }
.static-menu-content .static-menu-connect { margin: 0; }
.static-menu-content .static-menu-socials { gap: 6px; margin: 0; }
.static-menu-content .static-menu-socials a { min-width: 0; min-height: 48px; gap: 4px; }
.static-menu-content .static-menu-socials a > span { width: 32px; height: 32px; border-radius: 10px; }
.static-menu-content .static-menu-socials :is(svg,.brand-icon) { width: 23px; height: 23px; }
.static-menu-content .static-menu-socials small { font-size: 10px; line-height: 1.2; }
.static-menu-content .static-menu-hours { margin: 0; padding: 8px 0 0; font-size: 11px; line-height: 1.45; }

@media (max-width: 1160px) and (min-width: 821px) {
  .credential-card { grid-template-columns: 1fr; }
  .credential-profile { min-height: 0; height: auto; aspect-ratio: 4 / 5; }
}
@media (max-width: 920px) {
  .home-specialists-grid,.inner-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .site-header .nav-cta { display: none !important; }
  .site-header .brand { margin-right: auto; }
  .site-header .menu-trigger { margin-left: auto; }
  .hero-grid { display: flex; flex-direction: column; width: 100%; gap: 0; padding: 24px 0 44px; }
  .hero-copy { display: contents; }
  .hero-copy > * { width: calc(100% - 40px); margin-left: auto; margin-right: auto; }
  .hero-copy > :is(.eyebrow,.hero-tagline,h1,.hero-specialty,.hero-intro,.hero-mantra,.hero-experience,.hero-actions) { max-width: none; }
  .hero-copy > .eyebrow { order: 1; }
  .hero-copy > .hero-tagline { order: 2; margin-bottom: 18px; }
  .hero-copy > h1 { order: 3; margin-bottom: 18px; }
  .hero-copy > .hero-specialty { order: 4; margin-bottom: 18px; }
  .hero-visual { order: 5; width: 100%; max-width: none; height: auto; min-height: 0; padding: 0; margin: 0 0 28px; }
  .hero-copy > .hero-intro { order: 6; max-width: none; }
  .hero-copy > .hero-mantra { order: 7; }
  .hero-copy > .hero-experience { order: 8; }
  .hero-copy > .hero-actions { order: 9; }
  .hero-photo-frame { height: auto; min-height: 0; width: 100%; aspect-ratio: 1122 / 1180; border-radius: 0; box-shadow: none; }
  .hero-photo-frame > img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .hero-location-card { width: calc(100% - 32px); margin-top: -24px; border-radius: 12px; }
  .hero-hours-badge { left: 18px; bottom: 58px; padding: 12px 15px; max-width: calc(100% - 36px); }
  .hero-logo-seal { right: 16px; top: 18px; width: 66px; height: 66px; border-width: 5px; }
  .home-specialists-portrait,.inner-hero-photo,.gallery-image,.story-photo {
    width: 100vw; max-width: none; margin-inline: calc(50% - 50vw);
    height: auto; max-height: none; min-height: 360px; aspect-ratio: 1.06;
    border-radius: 0;
  }
  .home-specialists-portrait img,.inner-hero-photo img,.gallery-image img,.story-photo img {
    width: 100%; height: 100%; min-height: 0; object-fit: cover;
  }
  .gallery-stack { grid-template-columns: 1fr; }
  .doctor-grid { display: block; width: 100%; max-width: none; }
  .doctor-grid .doctor-card { width: 100vw; max-width: none; margin: 0 calc(50% - 50vw) 30px; border-radius: 0; border-inline: 0; }
  .doctor-grid .doctor-card:target { outline-offset: -2px; }
  .doctor-portrait { width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .home-treatment-card { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); border-radius: 0; border-inline: 0; }
  .home-treatment-media { height: clamp(320px, 88vw, 620px); min-height: 0; }
  body[data-page="treatments"] .treatment-bento-scroll { grid-template-columns: 1fr; }
  body[data-page="treatments"] .treatment-bento-card,
  body[data-page="treatments"] .treatment-bento-card.bento-wide {
    width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); border-radius: 0; border-inline: 0;
    grid-template-rows: clamp(320px, 88vw, 620px) auto;
  }
}
@media (max-width: 560px) {
  .hero-grid { padding-top: 20px; }
  .hero-copy > * { width: calc(100% - 32px); }
  .hero-hours-badge { left: 14px; bottom: 55px; padding: 10px 12px; gap: 9px; border-radius: 12px; max-width: calc(100% - 28px); }
  .hero-hours-badge > svg { width: 21px; height: 21px; flex-basis: 21px; }
  .hero-hours-badge strong { font-size: 13px; }
  .hero-hours-badge small { font-size: 11px; }
  .hero-logo-seal { width: 56px; height: 56px; right: 14px; top: 16px; }
  .credential-card.active { width: 100vw; margin-inline: calc(50% - 50vw); border-radius: 0; border-inline: 0; }
  .credential-profile { height: auto; min-height: 0; max-height: none; aspect-ratio: 4 / 5; }
  .credential-profile img { object-position: center; }
}
@media (max-height: 600px) {
  .static-menu-head { min-height: 56px; padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: 8px; }
  .static-menu-content { gap: 8px; padding-top: 10px; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .static-menu-content .static-menu-links a { font-size: 17px; padding-block: 4px; }
  .static-menu-content .static-menu-actions a { min-height: 44px; padding-block: 6px; }
  .static-menu-content .static-theme-switch button { min-height: 30px; }
  .static-menu-content .static-menu-socials a { min-height: 43px; }
  .static-menu-content .static-menu-socials a > span { width: 28px; height: 28px; }
  .static-menu-content .static-menu-hours { font-size: 10px; line-height: 1.35; padding-top: 6px; }
}
/* Short screens use both columns inside the same right-hand drawer. */
@media (max-height: 480px) {
  .static-mobile-menu-panel { width: min(520px, 90vw); border-radius: 18px 0 0 18px; }
  .static-menu-head { min-height: 48px; padding-top: max(6px, env(safe-area-inset-top)); padding-bottom: 6px; }
  .static-menu-brand img { width: 30px; height: 30px; flex-basis: 30px; }
  .static-menu-brand strong { font-size: 13px; }
  .static-menu-brand small { font-size: 10px; }
  .static-menu-close { width: 32px; height: 32px; flex-basis: 32px; }
  .static-menu-content { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto auto; gap: 8px 12px; padding: 8px 12px max(10px, env(safe-area-inset-bottom)); }
  .static-menu-content .static-menu-links { grid-column: 1; grid-row: 1 / span 4; }
  .static-menu-content .static-menu-links a { font-size: 14px; padding-inline: 8px; }
  .static-menu-content .static-menu-links a > svg { display: none; }
  .static-menu-content .static-menu-actions { grid-column: 2; grid-row: 1; grid-template-columns: 1fr; gap: 5px; }
  .static-menu-content .static-menu-actions a { min-height: 34px; padding: 4px 6px; }
  .static-menu-content .static-menu-actions a strong { font-size: 11px; line-height: 1.2; }
  .static-menu-content .static-menu-action-icon { display: none; }
  .static-menu-content .static-menu-theme { grid-column: 2; grid-row: 2; }
  .static-menu-content .static-theme-switch { padding: 3px; }
  .static-menu-content .static-theme-switch button { min-height: 28px; font-size: 11px; }
  .static-menu-content .static-theme-switch button svg { display: none; }
  .static-menu-content .static-menu-connect { grid-column: 2; grid-row: 3; }
  .static-menu-content .static-menu-socials { gap: 3px; }
  .static-menu-content .static-menu-socials a { min-height: 28px; }
  .static-menu-content .static-menu-socials a > span { width: 25px; height: 25px; }
  .static-menu-content .static-menu-socials :is(svg,.brand-icon) { width: 20px; height: 20px; }
  .static-menu-content .static-menu-socials small { display: none; }
  .static-menu-content .static-menu-hours { grid-column: 2; grid-row: 4; padding-top: 4px; font-size: 10px; line-height: 1.3; }
}

/* v12: a compact opening frame, with content-led page introductions. */
.hero-section { min-height: 0; background: var(--page-backdrop); }
.hero-grid {
  width: min(1320px, calc(100% - 64px)); display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: clamp(28px, 4vw, 56px); padding: 24px 0;
}
.hero-copy { display: block; max-width: none; }
.hero-copy > * { width: auto; }
.hero-copy > .eyebrow { margin: 0 0 16px; }
.hero-copy h1 { font-size: clamp(58px, 6vw, 82px); line-height: 1; margin: 0 0 18px; }
.hero-copy > .hero-specialty { font-size: 12px; line-height: 1.5; gap: 6px 8px; margin: 0 0 20px; }
.hero-copy > .hero-mantra { font-size: 25px; line-height: 1.3; margin: 0 0 18px; }
.hero-copy > .hero-experience { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 16px; line-height: 1.35; }
.hero-experience > b { font-size: 36px; line-height: 1; }
.hero-experience > span { display: block; }
.hero-copy > .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.hero-actions :is(.primary-button,.secondary-button) { min-width: 0; min-height: 50px; padding: 12px 14px; font-size: 14px; line-height: 1.35; justify-content: center; gap: 8px; }
.hero-visual { align-self: center; width: 100%; height: auto; min-height: 0; max-width: none; margin: 0; padding: 0; }
.hero-photo-frame { width: 100%; height: clamp(360px, calc(100svh - 144px), 640px); min-height: 0; max-height: none; aspect-ratio: auto; border-radius: 36px; }
.hero-photo-frame > img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.hero-location-card { position: absolute; inset: auto 16px 16px; width: auto; max-width: none; margin: 0; padding: 13px 16px; border-radius: 13px; align-items: center; }
.hero-location-card strong { font-size: 15px; line-height: 1.35; }
.hero-location-card small { font-size: 12px; line-height: 1.4; }
.hero-hours-badge { left: 16px; bottom: 100px; padding: 10px 14px; gap: 9px; }
.hero-hours-badge strong { font-size: 13px; }
.hero-hours-badge small { font-size: 11px; }
.hero-logo-seal { top: 16px; right: 16px; width: 62px; height: 62px; }
.home-care-tagline { font-size: 15px !important; line-height: 1.5 !important; margin-bottom: 16px; }
.home-care-summary { font-size: 17px !important; line-height: 1.7 !important; }
.doctor-experience-inline { display: block; margin-top: 5px; font-size: 14px; line-height: 1.5; }
.doctor-experience { display: inline-flex; align-items: center; max-width: 100%; margin: 12px 0 18px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; line-height: 1.4; }
.credential-copy .doctor-experience { margin: 12px 0; }

main > .inner-hero { min-height: 0; padding: 32px 0; background: var(--page-backdrop); }
main > .inner-hero::before, main > .inner-hero::after { display: none; }
.inner-hero-grid,.contact-hero-grid { gap: 32px; }
.inner-hero h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.08; margin-bottom: 0; }
.inner-hero .eyebrow { margin-bottom: 12px; }
.inner-hero p,.inner-hero .about-intro { font-size: 17px; line-height: 1.6; margin-top: 16px; margin-bottom: 0; }
.inner-hero .hero-actions,.narrow-hero > .primary-button,.narrow-hero .legal-meta { margin-top: 18px; }
.inner-hero .about-kicker { margin: 0 0 10px; }
.inner-hero-photo { width: 100%; height: clamp(260px, 44svh, 390px); min-height: 0; max-height: none; aspect-ratio: auto; margin: 0; border-radius: 22px; border-width: 0; }
.inner-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-summary { gap: 9px; }
.contact-summary > div { padding: 15px 18px; gap: 12px; }
main > .inner-hero + section { padding-top: 40px; }
main > .full-reviews { min-height: 0; padding: 32px 0 64px; background: var(--page-backdrop); }
.full-reviews .reviews-intro { margin-bottom: 24px; gap: 20px; }
.full-reviews .reviews-page-head h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.1; }
.reviews-page-head p { margin-top: 16px; }
html[data-theme="dark"] :is(.hero-section,.inner-hero,.full-reviews) { background: var(--page-backdrop); }
.error-page { min-height: 0; padding-top: 48px; padding-bottom: 48px; }

@media (min-width: 821px) and (max-height: 700px) {
  .hero-grid { padding-block: 18px; }
  .hero-copy h1 { font-size: clamp(52px, 5.2vw, 70px); margin-bottom: 14px; }
  .hero-copy > .eyebrow { margin-bottom: 12px; }
  .hero-copy > .hero-specialty,.hero-copy > .hero-mantra { margin-bottom: 14px; }
  .hero-copy > .hero-experience { margin-bottom: 16px; }
  .hero-photo-frame { height: clamp(330px, calc(100svh - 132px), 560px); }
}
@media (max-width: 820px) {
  .hero-grid { display: flex; flex-direction: column; width: 100%; gap: 0; padding: 10px 0 14px; }
  .hero-copy { display: contents; }
  .hero-copy > * { width: calc(100% - 32px); max-width: none; margin-inline: auto; }
  .hero-copy > .eyebrow { order: 1; font-size: 11px; line-height: 1.4; margin-bottom: 4px; }
  .hero-copy > h1 { order: 2; font-size: clamp(36px, 10.2vw, 54px); line-height: 1; margin-bottom: 6px; }
  .hero-copy > .hero-specialty { order: 3; display: grid; grid-template-columns: repeat(2, max-content); gap: 2px 14px; font-size: 11px; line-height: 1.35; margin-bottom: 8px; }
  .hero-specialty i { display: none; }
  .hero-visual { order: 4; margin: 0 0 6px; width: 100%; }
  .hero-photo-frame { height: clamp(210px, calc(100svh - 460px), 360px); width: 100%; border-radius: 0; }
  .hero-photo-frame > img { object-position: center 25%; }
  .hero-hours-badge { inset: 8px auto auto 12px; padding: 6px 9px; gap: 7px; border-radius: 10px; }
  .hero-hours-badge > svg { width: 17px; height: 17px; flex-basis: 17px; }
  .hero-hours-badge strong { font-size: 11px; line-height: 1.35; }
  .hero-hours-badge small { font-size: 10px; line-height: 1.35; }
  .hero-hours-badge > span { gap: 1px; }
  .hero-location-card { inset: auto 12px 8px; width: auto; margin: 0; padding: 7px 10px; gap: 7px; border-radius: 10px; }
  .hero-location-card > svg { width: 16px; height: 16px; flex: 0 0 16px; }
  .hero-location-card strong { font-size: 12px; line-height: 1.3; }
  .hero-location-card small { font-size: 10px; line-height: 1.3; }
  .hero-logo-seal { width: 42px; height: 42px; border-width: 3px; top: 8px; right: 12px; }
  .hero-copy > .hero-mantra { order: 5; font-size: 18px; line-height: 1.2; margin-bottom: 5px; gap: 6px; }
  .hero-copy > .hero-experience { order: 6; font-size: 13px; line-height: 1.3; gap: 7px; margin-bottom: 8px; }
  .hero-experience > b { font-size: 22px; }
  .hero-copy > .hero-actions { order: 7; width: calc(100% - 32px); margin: 0 auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hero-actions :is(.primary-button,.secondary-button) { min-height: 44px; padding: 10px 8px; font-size: 13px; line-height: 1.3; gap: 5px; }
  .hero-actions svg { display: none; }
  main > .inner-hero { padding: 22px 0; }
  .inner-hero-grid,.contact-hero-grid { gap: 22px; }
  .inner-hero h1 { font-size: clamp(34px, 6.6vw, 46px); }
  .inner-hero p,.inner-hero .about-intro { font-size: 16px; line-height: 1.6; margin-top: 12px; }
  .inner-hero-photo { width: 100%; height: clamp(220px, 32svh, 320px); min-height: 0; margin: 0; border-radius: 16px; }
  main > .inner-hero + section { padding-top: 28px; }
  main > .full-reviews { padding-top: 22px; }
}
@media (max-width: 820px) and (max-height: 680px) {
  .hero-grid { padding-top: 8px; padding-bottom: 10px; }
  .hero-copy > h1 { font-size: 35px; margin-bottom: 4px; }
  .hero-copy > .hero-specialty { font-size: 10.5px; margin-bottom: 6px; }
  .hero-copy > .hero-mantra { font-size: 17px; margin-bottom: 4px; }
  .hero-copy > .hero-experience { font-size: 12px; margin-bottom: 6px; }
}
@media (max-width: 820px) and (max-height: 620px) {
  .hero-grid { padding-top: 6px; padding-bottom: 8px; }
  .hero-copy > h1 { font-size: 34px; }
  .hero-photo-frame { height: 190px; }
}
@media (min-width: 600px) and (max-width: 820px) and (max-height: 500px) {
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: calc(100% - 32px); gap: 20px; padding: 12px 0; }
  .hero-copy { display: block; }
  .hero-copy > *,.hero-copy > .hero-actions { width: 100%; margin-inline: 0; }
  .hero-copy > h1 { font-size: 32px; }
  .hero-copy > .hero-specialty { column-gap: 8px; font-size: 10px; }
  .hero-visual { margin: 0; }
  .hero-photo-frame { height: max(230px, calc(100svh - 96px)); border-radius: 18px; }
  .hero-location-card { left: 8px; right: 8px; }
  .hero-location-card > svg { display: none; }
  .hero-location-card strong { font-size: 11px; }
  .hero-location-card small { font-size: 9px; }
  .hero-hours-badge { left: 8px; }
  .hero-logo-seal { right: 8px; width: 34px; height: 34px; }
}
