/* A calmer, clearer patient-facing presentation. The appointment and staff flows
   remain in the existing stylesheets. */
:root {
  --navy: #12304b;
  --navy-soft: #1c4565;
  --ink: #172f45;
  --ink-muted: #51667a;
  --paper: #f5f8fb;
  --line: rgba(18, 48, 75, 0.15);
  --blue: #2d729a;
  --teal: #c4e2df;
  --amber: #e2b874;
}

html { scroll-padding-top: 88px; overflow-x: clip; }
body { background: #fff; color: var(--ink); overflow-x: clip; }
.shell { width: min(1160px, calc(100% - 64px)); }
@media (min-width: 1100px) {
  body:has(main > .hero) .shell { width: min(1600px, calc(100% - 80px)); }
}
.section-pad { padding: 76px 0; }

.site-header,
.site-header.is-scrolled {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: none;
}
.header-inner { min-height: 82px; gap: 24px; }
.brand { flex: 0 0 auto; gap: 12px; letter-spacing: 0; }
.brand-mark { width: 42px; height: 42px; color: var(--blue); }
.brand-text strong { font-size: clamp(19px, 1.8vw, 27px); letter-spacing: -.04em; }
.brand-text small { color: var(--blue); font-size: 10px; letter-spacing: .25em; opacity: 1; }
.primary-nav { gap: 23px; font-size: 14px; }
.primary-nav > a:not(.nav-cta) { opacity: .8; }
.nav-cta { min-height: 43px; padding: 0 18px; border: 0; background: var(--navy); color: #fff; }
.nav-cta:hover, .nav-cta:focus-visible { background: var(--navy-soft); }

.hero {
  min-height: 0;
  padding: 66px 0 0;
  background: #eef4f8;
  color: var(--ink);
}
.hero-glow { display: none; }
.hero-grid { grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); gap: 50px; align-items: stretch; }
.hero-copy { padding: 25px 0 50px; }
.eyebrow { color: var(--blue); font-size: 12px; letter-spacing: .12em; }
h1 { max-width: 690px; margin: 24px 0 22px; font-size: clamp(4.3rem, 6vw, 6.25rem); line-height: .96; }
h1 em { color: var(--blue); }
.hero-lede { max-width: 540px; margin-bottom: 29px; color: #445d73; font-size: 20px; line-height: 1.55; }
.hero-actions { gap: 16px 25px; }
.button { min-height: 52px; font-size: 15px; }
.button-light { background: var(--navy); color: #fff; }
.button-light:hover, .button-light:focus-visible { background: var(--navy-soft); }
.text-link-light { color: var(--navy); border-color: rgba(18,48,75,.38); }
.hero-meta { margin-top: 32px; color: var(--ink-muted); font-size: 14px; }
.meta-dot { background: #2e8b83; box-shadow: none; }
.hero-facts { margin-top: 28px; border-top: 1px solid var(--line); }
.hero-facts > div { padding-top: 17px; }
.hero-facts strong { color: var(--navy); }
.hero-facts span { color: var(--ink-muted); }
.hero-visual { min-height: 530px; }
.visual-frame { inset: 0; border: 0; border-radius: 22px 22px 0 0; box-shadow: none; }
.visual-frame img { object-position: 65% 50%; }
.visual-wash { background: linear-gradient(0deg, rgba(4,19,35,.65), transparent 44%); }
.visual-caption { bottom: 26px; left: 28px; right: 28px; font-size: 12px; letter-spacing: .09em; }
.visual-caption span:first-child { color: #fff; }
.visual-note { right: 18px; bottom: 80px; color: #fff; font-size: 22px; }
.hero-bottom { display: none; }

.section-kicker { color: var(--blue); font-size: 12px; letter-spacing: .14em; }
.intro { background: #fff; }
.intro-grid { grid-template-columns: 150px minmax(0, 1fr) 290px; gap: 36px; }
.intro-content h2,
.credentials-intro h2,
.contact-copy h2 { margin: 0 0 23px; font-size: clamp(2.8rem, 4vw, 4.2rem); line-height: 1.06; }
.intro-lede { margin-bottom: 24px; color: #435a70; font-size: 19px; line-height: 1.6; }
.intro-footer { gap: 22px; padding-top: 19px; }
.intro-footer p { color: var(--ink-muted); font-size: 14px; }
.about-photo-frame,
.about-photo-frame img { height: 320px; min-height: 320px; }
.about-photo-frame { border-radius: 16px; }
.about-photo-frame figcaption { display: block; }
.about-photo-frame figcaption span { display: block; margin-top: 7px; text-align: left; }
.photo-credit { font-size: 12px; }

.care { background: #f0f5f8; }
.section-heading-row { align-items: end; margin-bottom: 28px; }
.section-heading-row h2 { margin: 19px 0 0; font-family: var(--serif); font-size: clamp(2.9rem, 4.5vw, 4.8rem); line-height: 1.04; letter-spacing: -.055em; }
.section-heading-row h2 em { color: var(--blue); }
.section-heading-row > p { max-width: 325px; color: var(--ink-muted); font-size: 16px; }
.care-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.care-card,
.care-card:last-child { min-height: 285px; padding: 23px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.care-card:last-child { grid-column: span 2; }
.care-card-featured { background: var(--navy); color: #fff; }
.care-card h3 { margin: 32px 0 15px; font-size: clamp(1.75rem, 2.4vw, 2.35rem); line-height: 1.03; }
.care-card h3 em { color: #4d7998; }
.care-card-featured h3 em { color: var(--teal); }
.care-card p { margin-bottom: 18px; color: var(--ink-muted); font-size: 15px; line-height: 1.55; }
.care-card-featured p { color: rgba(255,255,255,.75); }
.card-tags span { font-size: 12px; }
.profile-source { margin: 17px 0 0; color: var(--ink-muted); font-size: 13px; }

.diagnostics { background: #fff; color: var(--ink); }
.diagnostics-grid { grid-template-columns: .95fr 1.05fr; gap: 70px; }
.section-kicker-dark { color: var(--blue); }
.diagnostics-copy h2 { font-size: clamp(2.8rem, 4vw, 4.3rem); }
.diagnostics-copy h2 em { color: var(--blue); }
.diagnostics-copy > p { color: var(--ink-muted); font-size: 16px; }
.diagnostics .text-link-light { color: var(--navy); border-color: var(--line); }
.diagnostic-list { border-color: var(--line); }
.diagnostic-list > div { padding: 19px 0; border-color: var(--line); }
.diagnostic-list span { color: var(--blue); font-size: 12px; }
.diagnostic-list strong { font-size: 16px; }
.diagnostic-list em { color: var(--ink-muted); font-size: 12px; }
.diagnostic-explanations article { padding: 22px 0; border-bottom: 1px solid var(--line); }
.diagnostic-explanations h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.4; }
.diagnostic-explanations p { margin: 0; color: var(--ink-muted); font-size: 16px; line-height: 1.75; }

.credentials { background: var(--navy); }
.credentials-grid { grid-template-columns: .9fr 1fr .78fr; gap: 46px; }
.credentials .section-kicker-dark { color: var(--teal); }
.credentials-intro h2 { margin-top: 23px; }
.credentials-intro > p { color: rgba(255,255,255,.72); font-size: 16px; }
.credential-stat { margin-top: 28px; }
.timeline-item { padding: 19px 0; }
.timeline-item strong,
.credential-details strong { font-size: 15px; }
.timeline-item p { color: rgba(255,255,255,.66); font-size: 14px; }
.detail-label { color: rgba(255,255,255,.58); font-size: 12px; }

.contact { background: #e8f0f5; }
.contact-card { grid-template-columns: 1fr .77fr; gap: 48px; }
.contact-copy h2 { margin-top: 21px; }
.contact-copy > p { max-width: 560px; font-size: 17px; }
.office-card { border: 0; border-radius: 18px; box-shadow: 0 16px 45px rgba(18,48,75,.1); }
.office-address { margin-top: 32px; }
.office-label { font-size: 12px; }
.office-contact span,
.map-link { font-size: 13px; }
.site-footer { padding: 36px 0 30px; }
.footer-top { padding-bottom: 0; border-bottom: 0; }
.primary-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.page-banner { background: var(--navy, #0c1933); color: #fff; padding: 55px 0 45px; }
.page-banner h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); margin: 15px 0 0; }
.faq-content { max-width: 900px; }
.faq-content details { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-content summary { cursor: pointer; font-size: 1.15rem; font-weight: 600; }
.faq-content details p { margin: 16px 0 0; line-height: 1.7; }
.footer-bottom { font-size: 12px; }

@media (max-width: 1050px) {
  .primary-nav { gap: 15px; }
  .primary-nav > a:not(.nav-cta) { display: none; }
  .primary-nav > a[href="#care"],
  .primary-nav > a[href="#contact"] { display: inline-flex; }
  .intro-grid { grid-template-columns: 120px 1fr 240px; gap: 25px; }
  .credentials-grid { gap: 28px; }
  .care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .care-card:last-child { grid-column: span 2; }
}

@media (max-width: 800px) {
  .hero-grid { gap: 28px; }
  h1 { font-size: clamp(3.6rem, 8vw, 5rem); }
  .hero-visual { min-height: 450px; }
  .intro-grid { grid-template-columns: 1fr 250px; }
  .intro-grid > .section-kicker { grid-column: 1 / -1; }
  .credentials-grid { grid-template-columns: 1fr 1fr; }
  .credentials-intro { grid-column: 1 / -1; }
  .credential-details { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 72px; }
  .shell { width: calc(100% - 36px); }
  .section-pad { padding: 58px 0; }
  .header-inner { min-height: 72px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand-text strong { font-size: clamp(17px, 4.5vw, 21px); }
  .brand-text small { font-size: 9px; }
  .menu-toggle { color: var(--navy); }
  .primary-nav { inset: 72px 0 auto; height: calc(100vh - 72px); height: calc(100dvh - 72px); overflow-y: auto; background: #fff; color: var(--ink); visibility: hidden; pointer-events: none; }
  .primary-nav.is-open { visibility: visible; pointer-events: auto; }
  .primary-nav > a:not(.nav-cta) { display: block; border-color: var(--line); }
  .nav-cta { color: #fff; }
  .hero { padding: 42px 0 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 0 0 32px; }
  h1 { margin: 17px 0; font-size: clamp(3.3rem, 12vw, 5rem); }
  .hero-lede { margin-bottom: 24px; font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: row; gap: 18px; }
  .hero-meta { flex-direction: row; gap: 10px 18px; margin-top: 25px; }
  .hero-facts { margin-top: 22px; }
  .hero-visual { min-height: 270px; }
  .visual-frame { border-radius: 16px 16px 0 0; }
  .visual-note { bottom: 60px; font-size: 17px; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .intro-grid > .section-kicker { grid-column: auto; }
  .intro-content h2,
  .credentials-intro h2,
  .contact-copy h2 { font-size: clamp(2.55rem, 10vw, 3.6rem); }
  .intro-lede { font-size: 17px; }
  .about-photo-frame,
  .about-photo-frame img { height: 310px; min-height: 310px; }
  .section-heading-row { gap: 18px; }
  .section-heading-row h2 { font-size: clamp(2.55rem, 10vw, 3.6rem); }
  .care-grid { grid-template-columns: 1fr; }
  .care-card,
  .care-card:last-child { grid-column: auto; min-height: 260px; }
  .diagnostics-grid { grid-template-columns: 1fr; gap: 26px; }
  .credentials-grid { grid-template-columns: 1fr; gap: 28px; }
  .credentials-intro,
  .credential-details { grid-column: auto; }
  .contact-card { grid-template-columns: 1fr; gap: 30px; }
  .office-card { width: 100%; }
}

/* Desktop navigation stays on the left; compact screens retain a menu. */
@media (min-width: 1000px) {
  :root { --sidebar-width: 260px; }
  html { scroll-padding-top: 24px; }
  body { padding-left: var(--sidebar-width); }
  .site-header,
  .site-header.is-scrolled { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); height: 100vh; height: 100dvh; overflow-y: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  body .site-header > .shell.header-inner { width: 100%; margin: 0; min-height: 100%; padding: 30px 24px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 36px; }
  .site-header .brand { flex-direction: column; align-items: flex-start; gap: 15px; }
  .site-header .brand-text { gap: 12px; }
  .site-header .brand-text strong { font-size: 25px; line-height: 1.18; }
  .site-header .primary-nav { position: static; display: flex; flex-direction: column; align-items: stretch; gap: 8px; font-size: 16px; }
  .site-header .primary-nav > a:not(.nav-cta) { display: block; padding: 12px 16px; border-radius: 10px; opacity: 1; }
  .site-header .primary-nav > a:not(.nav-cta):hover,
  .site-header .primary-nav > a:not(.nav-cta):focus-visible,
  .site-header .primary-nav a[aria-current="page"] { background: #e8f0f5; color: var(--navy); text-decoration: none; }
  .site-header .nav-cta { justify-content: center; margin-top: 20px; min-height: 48px; }
  .menu-toggle { display: none; }
  .skip-link { left: calc(var(--sidebar-width) + 12px); }
  .hero-grid { gap: 32px; }
  .intro-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 30px; }
  .intro-grid > .section-kicker { grid-column: 1 / -1; }
  .intro-grid .about-photo { grid-column: auto; }
  .intro-content h2 { font-size: clamp(2.5rem, 3.8vw, 4rem); overflow-wrap: break-word; }
  .intro-footer { align-items: flex-start; flex-wrap: wrap; }
  .intro-footer .text-link { max-width: 100%; }
}
@media (min-width: 1000px) and (max-width: 1300px) {
  .hero h1 { font-size: clamp(3.2rem, 5.1vw, 4.5rem); }
  .hero-visual { min-height: 440px; }
  .care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-grid { grid-template-columns: minmax(0, 1fr) 220px; }
  .credentials-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .credentials-intro, .credential-details { grid-column: 1 / -1; }
  .diagnostics-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (min-width: 701px) and (max-width: 999px) {
  .menu-toggle { display: grid; gap: 6px; padding: 8px 0 8px 12px; color: var(--navy); }
  .menu-toggle span:not(.sr-only) { width: 24px; height: 1px; background: currentColor; }
  .primary-nav { position: fixed; inset: 82px 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; height: calc(100dvh - 82px); padding: 24px 32px; overflow-y: auto; background: #fff; color: var(--ink); visibility: hidden; pointer-events: none; }
  .primary-nav.is-open { visibility: visible; pointer-events: auto; }
  .primary-nav > a:not(.nav-cta) { display: block; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .primary-nav .nav-cta { justify-content: center; margin-top: 22px; }
}

.intro-content h2 em { color: var(--blue); }

.about-practice-summary { padding: 28px 0; }
.about-practice-summary .section-kicker { margin-bottom: 10px; }
.about-practice-summary p { margin: 0; line-height: 1.6; }

