:root {
  --navy: #0c1933;
  --navy-soft: #142848;
  --ink: #10203d;
  --ink-muted: #6a7890;
  --paper: #f5f7f8;
  --white: #ffffff;
  --line: rgba(16, 32, 61, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --blue: #6ea8e7;
  --teal: #a8d9d3;
  --amber: #e0b97a;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 10px 16px; border-radius: 999px; background: var(--amber); color: var(--navy); font-weight: 700; transform: translateY(-160%); transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 10; inset: 0 0 auto; color: var(--white); border-bottom: 1px solid transparent; transition: background 220ms ease, border-color 220ms ease, transform 220ms ease; }
.site-header.is-scrolled { position: fixed; background: rgba(12, 25, 51, 0.95); border-color: var(--line-light); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 10px; letter-spacing: 0.03em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: var(--teal); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: grid; line-height: 1; gap: 4px; }
.brand-text strong { font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: -0.035em; }
.brand-text small { font-size: 8px; font-weight: 700; letter-spacing: 0.3em; opacity: 0.76; }
.primary-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 500; }
.primary-nav > a:not(.nav-cta) { opacity: 0.76; transition: opacity 160ms ease; }
.primary-nav > a:not(.nav-cta):hover, .primary-nav > a:not(.nav-cta):focus-visible { opacity: 1; }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid rgba(255,255,255,0.34); border-radius: 999px; transition: background 160ms ease, border-color 160ms ease; }
.nav-cta:hover, .nav-cta:focus-visible { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }
.nav-cta span, .button span { font-size: 17px; line-height: 0; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--white); cursor: pointer; }

.hero { position: relative; min-height: 740px; overflow: hidden; background: var(--navy); color: var(--white); padding: 156px 0 36px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: center; gap: 52px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 28px; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.eyebrow { color: var(--teal); }
.eyebrow-line { width: 32px; height: 1px; background: currentColor; opacity: 0.65; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; }
h1 { max-width: 610px; margin: 25px 0 22px; font-family: var(--serif); font-size: clamp(3.5rem, 7vw, 6.8rem); line-height: 0.96; letter-spacing: -0.065em; }
h1 em, h2 em, h3 em { color: var(--teal); font-style: italic; font-weight: 500; }
.hero-lede { max-width: 460px; margin-bottom: 34px; color: rgba(255,255,255,0.7); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 700; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-light { background: var(--white); color: var(--navy); }
.button-light:hover, .button-light:focus-visible { background: var(--teal); }
.button-dark { background: var(--navy); color: var(--white); }
.button-dark:hover, .button-dark:focus-visible { background: var(--navy-soft); }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 700; }
.text-link span { font-size: 18px; line-height: 0.8; transition: transform 180ms ease; }
.text-link:hover span, .text-link:focus-visible span { transform: translate(3px, -3px); }
.text-link-light { color: rgba(255,255,255,0.84); border-color: rgba(255,255,255,0.44); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 50px; color: rgba(255,255,255,0.56); font-size: 12px; }
.hero-meta > div { display: inline-flex; align-items: center; gap: 8px; }
.meta-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(168,217,211,0.1); }
.hero-visual { position: relative; min-height: 490px; }
.visual-frame { position: absolute; inset: 0 0 0 5%; overflow: hidden; border: 1px solid rgba(255,255,255,0.18); border-radius: 2px; box-shadow: 32px 32px 0 rgba(255,255,255,0.04); }
.visual-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.visual-wash { position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(12,25,51,0.58) 17%, transparent 68%), linear-gradient(0deg, rgba(4,10,24,0.66), transparent 40%); }
.visual-caption { position: absolute; bottom: 24px; left: 24px; right: 24px; display: flex; justify-content: space-between; padding-top: 13px; border-top: 1px solid rgba(255,255,255,0.34); color: rgba(255,255,255,0.78); font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.visual-caption span:first-child { color: var(--amber); }
.visual-note { position: absolute; right: -22px; bottom: 50px; display: flex; align-items: flex-start; gap: 12px; color: var(--teal); font-family: var(--serif); font-size: 18px; font-style: italic; line-height: 1.15; }
.note-rule { width: 34px; margin-top: 9px; border-top: 1px solid currentColor; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(30px); pointer-events: none; }
.hero-glow-one { width: 310px; height: 310px; top: 14%; left: -10%; background: rgba(62, 113, 177, 0.2); }
.hero-glow-two { width: 250px; height: 250px; right: 2%; bottom: -10%; background: rgba(30, 152, 154, 0.14); }
.hero-bottom { position: absolute; right: 0; bottom: 28px; left: 0; display: flex; justify-content: space-between; color: rgba(255,255,255,0.42); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-line { width: 48px; border-top: 1px solid currentColor; }

.section-pad { padding: 128px 0; }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: 100px; }
.section-kicker { color: var(--ink-muted); font-size: 10px; }
.kicker-line { width: 34px; height: 1px; background: currentColor; opacity: 0.55; }
.intro-content h2, .credentials-intro h2, .contact-copy h2 { max-width: 760px; margin: -9px 0 25px; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 5.1rem); line-height: 1.02; letter-spacing: -0.055em; }
.intro-lede { max-width: 700px; margin-bottom: 34px; color: #44536d; font-size: 20px; line-height: 1.7; }
.intro-footer { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-top: 25px; border-top: 1px solid var(--line); }
.intro-footer p { max-width: 380px; margin: 0; color: var(--ink-muted); font-size: 13px; }

.care { background: #e9eff3; }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 55px; }
.section-heading-row > p { max-width: 380px; margin: 0 0 0 auto; color: var(--ink-muted); font-size: 14px; line-height: 1.7; }
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.care-card { min-height: 395px; padding: 26px; background: rgba(255,255,255,0.64); border: 1px solid rgba(16,32,61,0.12); display: flex; flex-direction: column; transition: transform 200ms ease, box-shadow 200ms ease; }
.care-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(16,32,61,0.1); }
.care-card-featured { background: var(--navy); color: var(--white); }
.card-top { display: flex; align-items: center; justify-content: space-between; color: var(--ink-muted); }
.care-card-featured .card-top { color: rgba(255,255,255,0.5); }
.card-number { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; }
.card-icon { color: var(--amber); font-size: 29px; line-height: 1; }
.care-card h3 { margin: auto 0 20px; font-family: var(--serif); font-size: 40px; line-height: 0.98; letter-spacing: -0.045em; }
.care-card h3 em { color: #6684ab; }
.care-card-featured h3 em { color: var(--teal); }
.care-card p { max-width: 290px; margin-bottom: 28px; color: var(--ink-muted); font-size: 14px; line-height: 1.7; }
.care-card-featured p { color: rgba(255,255,255,0.64); }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-tags span { padding: 5px 9px; border: 1px solid rgba(16,32,61,0.16); border-radius: 999px; color: var(--ink-muted); font-size: 10px; font-weight: 700; letter-spacing: 0.03em; }
.care-card-featured .card-tags span { border-color: rgba(255,255,255,0.24); color: rgba(255,255,255,0.7); }

.quote-section { background: var(--teal); color: var(--navy); }
.quote-grid { display: grid; grid-template-columns: 0.32fr 1.35fr 0.5fr; align-items: start; gap: 40px; }
.quote-mark { margin-top: -24px; font-family: var(--serif); font-size: 150px; line-height: 1; color: rgba(12,25,51,0.28); }
blockquote { margin: 0; }
blockquote p { max-width: 760px; margin: 0 0 30px; font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 4.2rem); line-height: 1.02; letter-spacing: -0.05em; }
blockquote footer { display: flex; align-items: center; gap: 12px; color: rgba(12,25,51,0.66); font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.quote-line { width: 32px; border-top: 1px solid currentColor; }
.quote-aside { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-top: 16px; border-top: 1px solid rgba(12,25,51,0.28); color: rgba(12,25,51,0.7); font-family: var(--serif); font-size: 17px; font-style: italic; line-height: 1.1; }
.aside-arrow { color: var(--navy); font-size: 25px; font-style: normal; }

.credentials { background: var(--navy); color: var(--white); }
.credentials-grid { display: grid; grid-template-columns: 1.02fr 1fr 0.76fr; gap: 76px; }
.section-kicker-dark { color: rgba(255,255,255,0.5); }
.credentials-intro h2 { margin-top: 28px; }
.credentials-intro h2 em { color: var(--teal); }
.credentials-intro > p { max-width: 330px; color: rgba(255,255,255,0.58); font-size: 15px; line-height: 1.75; }
.credential-stat { display: flex; align-items: center; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-light); }
.credential-stat strong { font-family: var(--serif); font-size: 66px; font-weight: 500; line-height: 1; color: var(--amber); }
.credential-stat span { color: rgba(255,255,255,0.55); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; line-height: 1.25; text-transform: uppercase; }
.timeline { border-top: 1px solid var(--line-light); }
.timeline-item { display: grid; grid-template-columns: 66px 1fr; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line-light); }
.timeline-year { color: var(--amber); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.timeline-item strong { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; }
.timeline-item p { margin: 0; color: rgba(255,255,255,0.5); font-size: 13px; }
.credential-details { padding-top: 0; }
.credential-details > div { padding: 24px 0; border-top: 1px solid var(--line-light); }
.detail-label { display: block; margin-bottom: 8px; color: rgba(255,255,255,0.42); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.credential-details strong { font-size: 15px; font-weight: 500; line-height: 1.55; }

.contact { background: #e9eff3; }
.contact-card { display: grid; grid-template-columns: 1fr 0.72fr; align-items: stretch; gap: 86px; padding: 30px 0 0; }
.contact-copy h2 { margin-top: 30px; }
.contact-copy h2 em { color: #52799e; }
.contact-copy > p { max-width: 430px; margin-bottom: 34px; color: var(--ink-muted); font-size: 16px; line-height: 1.7; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.office-card { align-self: center; padding: 30px; background: var(--white); border: 1px solid rgba(16,32,61,0.13); box-shadow: 18px 18px 0 rgba(12,25,51,0.08); }
.office-card-top, .office-contact, .map-link { display: flex; align-items: center; justify-content: space-between; }
.office-label, .detail-label { letter-spacing: 0.16em; }
.office-label { color: var(--ink-muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.office-mark { color: #4e7fa4; font-size: 20px; }
.office-address { margin: 60px 0 25px; }
.office-address strong { display: block; font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.02; letter-spacing: -0.045em; }
.office-address span { display: block; margin-top: 8px; color: var(--ink-muted); font-size: 14px; }
.office-rule { border-top: 1px solid var(--line); }
.office-contact { gap: 12px; padding: 22px 0 20px; }
.office-contact a { color: #326e91; font-size: 17px; font-weight: 700; }
.office-contact span { color: var(--ink-muted); font-size: 12px; text-align: right; }
.map-link { color: var(--ink-muted); font-size: 12px; font-weight: 700; }
.map-link span { color: #326e91; font-size: 17px; }

.site-footer { padding: 52px 0 34px; background: var(--navy); color: var(--white); }
.footer-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 48px; border-bottom: 1px solid var(--line-light); }
.brand-footer .brand-mark { color: var(--teal); }
.footer-call { display: inline-flex; align-items: center; gap: 12px; color: var(--teal); font-family: var(--serif); font-size: 24px; }
.footer-call span { color: var(--amber); font-family: var(--sans); }
.footer-staff-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.72); font-size: 12px; font-weight: 700; }
.footer-staff-link span { color: var(--amber); font-size: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 38px; padding-top: 22px; color: rgba(255,255,255,0.44); font-size: 11px; line-height: 1.6; }
.footer-bottom p { max-width: 440px; margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.8); text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

@media (max-width: 980px) {
  .shell { width: min(100% - 48px, 760px); }
  .hero { min-height: auto; padding: 144px 0 100px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { max-width: 650px; padding-bottom: 0; }
  .hero-visual { min-height: 460px; }
  .hero-bottom { position: relative; bottom: auto; margin-top: 42px; }
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .care-grid { grid-template-columns: 1fr 1fr; }
  .care-card:last-child { grid-column: span 2; min-height: 300px; }
  .quote-grid { grid-template-columns: 0.2fr 1fr; }
  .quote-aside { grid-column: 2; max-width: 250px; }
  .credentials-grid { grid-template-columns: 1fr 1fr; gap: 54px; }
  .credentials-intro { grid-column: span 2; }
  .credential-details { grid-column: span 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .credential-details > div { border-top: 1px solid var(--line-light); }
  .contact-card { grid-template-columns: 1fr; gap: 52px; }
  .office-card { width: min(100%, 470px); }
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 74px; }
  .menu-toggle { display: grid; gap: 5px; padding: 10px 0 10px 10px; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 1px; background: currentColor; transition: transform 160ms ease; }
  .menu-toggle[aria-expanded="true"] > span:nth-last-child(2) { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 74px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 36px 18px; background: var(--navy); transform: translateX(100%); transition: transform 220ms ease; }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav > a:not(.nav-cta) { width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line-light); font-size: 18px; opacity: 1; }
  .nav-cta { margin-top: 24px; }
  .hero { padding-top: 120px; }
  h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-meta { flex-direction: column; gap: 12px; margin-top: 38px; }
  .hero-visual { min-height: 360px; }
  .visual-frame { inset: 0 0 0 0; box-shadow: 14px 14px 0 rgba(255,255,255,0.04); }
  .visual-note { right: -2px; bottom: -36px; font-size: 15px; }
  .hero-bottom { margin-top: 66px; font-size: 9px; }
  .scroll-cue { display: none; }
  .section-pad { padding: 84px 0; }
  .intro-content h2, .credentials-intro h2, .contact-copy h2 { font-size: clamp(2.75rem, 12vw, 4rem); }
  .intro-lede { font-size: 17px; }
  .intro-footer { align-items: flex-start; flex-direction: column; gap: 24px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 26px; margin-bottom: 38px; }
  .section-heading-row > p { margin: 0; }
  .care-grid { grid-template-columns: 1fr; }
  .care-card, .care-card:last-child { grid-column: auto; min-height: 340px; }
  .care-card h3 { font-size: 37px; }
  .quote-grid { grid-template-columns: 1fr; gap: 8px; }
  .quote-mark { height: 64px; margin-top: -18px; font-size: 110px; }
  .quote-aside { grid-column: auto; margin-top: 22px; }
  blockquote p { font-size: clamp(2.3rem, 10vw, 3.5rem); }
  .credentials-grid { grid-template-columns: 1fr; gap: 44px; }
  .credentials-intro, .credential-details { grid-column: auto; }
  .credential-details { display: block; }
  .credential-details > div { padding: 20px 0; }
  .contact-card { padding-top: 0; }
  .office-card { box-shadow: 10px 10px 0 rgba(12,25,51,0.08); }
  .office-address { margin-top: 45px; }
  .office-address strong { font-size: 31px; }
  .office-contact { align-items: flex-start; flex-direction: column; }
  .office-contact span { text-align: left; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 30px; }
  .footer-call { font-size: 21px; }
  .footer-bottom { flex-direction: column; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Modern refresh: softer geometry, stronger information hierarchy, and clearer patient-profile detail. */
.site-header { background: linear-gradient(180deg, rgba(7, 16, 34, 0.5), transparent); }
.site-header.is-scrolled { background: rgba(8, 18, 38, 0.92); }
.hero { min-height: 770px; background: radial-gradient(circle at 75% 22%, rgba(58, 107, 169, 0.28), transparent 24%), radial-gradient(circle at 96% 88%, rgba(31, 154, 155, 0.18), transparent 25%), var(--navy); }
.hero-copy { padding-top: 12px; }
.hero-visual { min-height: 510px; }
.visual-frame { border-radius: 20px; box-shadow: 28px 28px 0 rgba(169, 214, 211, 0.12); }
.visual-caption { bottom: 22px; }
.visual-note { right: -8px; bottom: 34px; padding: 13px 15px; background: rgba(12, 25, 51, 0.78); border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; backdrop-filter: blur(12px); }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 175px)); gap: 16px; margin-top: 35px; }
.hero-facts > div { display: flex; align-items: center; gap: 11px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,0.22); }
.hero-facts strong { color: var(--amber); font-family: var(--serif); font-size: 29px; font-weight: 500; line-height: 1; }
.hero-facts span { color: rgba(255,255,255,0.52); font-size: 10px; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.08em; }
.care-card, .profile-card, .office-card { border-radius: 16px; }
.care-card { min-height: 410px; }
.profile { background: #f1f4f7; }
.profile-heading { align-items: flex-end; margin-bottom: 48px; }
.profile-heading h2 { margin: 25px 0 0; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -0.055em; }
.profile-heading h2 em { color: #5b86a8; }
.profile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.profile-card { position: relative; display: flex; min-height: 318px; flex-direction: column; justify-content: space-between; padding: 22px; background: rgba(255,255,255,0.82); border: 1px solid rgba(16,32,61,0.1); transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.profile-card:hover { transform: translateY(-5px); background: var(--white); box-shadow: 0 18px 35px rgba(16,32,61,0.09); }
.profile-card-large { grid-column: span 2; background: var(--navy); color: var(--white); }
.profile-card-large:hover { background: #122747; }
.profile-index { color: var(--ink-muted); font-size: 10px; font-weight: 700; letter-spacing: 0.15em; }
.profile-card-large .profile-index { color: var(--amber); }
.profile-card h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 32px; line-height: 1; letter-spacing: -0.045em; }
.profile-card h3 em { color: #5c88ad; }
.profile-card-large h3 em { color: var(--teal); }
.profile-card p { max-width: 260px; margin: 0; color: var(--ink-muted); font-size: 13px; line-height: 1.6; }
.profile-card-large p { color: rgba(255,255,255,0.6); }
.profile-arrow { align-self: flex-end; color: #5c88ad; font-size: 24px; line-height: 1; }
.profile-card-large .profile-arrow { color: var(--amber); }
.profile-source { margin: 20px 0 0; color: var(--ink-muted); font-size: 11px; }
.diagnostics { background: linear-gradient(135deg, #112748 0%, #0c1933 74%); color: var(--white); }
.diagnostics-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 110px; align-items: center; }
.diagnostics-copy h2 { margin: 28px 0 22px; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1; letter-spacing: -0.055em; }
.diagnostics-copy h2 em { color: var(--teal); }
.diagnostics-copy > p { max-width: 420px; margin-bottom: 31px; color: rgba(255,255,255,0.58); font-size: 15px; line-height: 1.75; }
.diagnostic-list { border-top: 1px solid var(--line-light); }
.diagnostic-list > div { display: grid; grid-template-columns: 42px 1fr auto; gap: 17px; align-items: center; padding: 21px 0; border-bottom: 1px solid var(--line-light); }
.diagnostic-list span { color: var(--amber); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; }
.diagnostic-list strong { font-size: 15px; font-weight: 500; }
.diagnostic-list em { color: rgba(255,255,255,0.44); font-size: 11px; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; }
.credential-details { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.credential-details > div { padding: 22px 0; }
.credential-details > div:nth-child(3), .credential-details > div:nth-child(4) { border-top: 1px solid var(--line-light); }
.office-card { box-shadow: 18px 18px 0 rgba(12,25,51,0.1); }

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .profile-grid { grid-template-columns: 1fr 1fr; }
  .profile-card-large { grid-column: span 2; }
  .diagnostics-grid { gap: 60px; }
  .credential-details { grid-template-columns: repeat(2, 1fr); }
  .credential-details > div:nth-child(3), .credential-details > div:nth-child(4) { border-top: 1px solid var(--line-light); }
}

@media (max-width: 700px) {
  .hero { padding-top: 120px; }
  .hero-copy { padding-top: 0; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .visual-note { right: 0; bottom: -34px; }
  .profile-heading { align-items: flex-start; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-card-large { grid-column: auto; }
  .profile-card { min-height: 260px; }
  .diagnostics-grid { grid-template-columns: 1fr; gap: 54px; }
  .diagnostic-list > div { grid-template-columns: 32px 1fr; gap: 12px; }
  .diagnostic-list em { grid-column: 2; margin-top: -8px; }
  .credential-details { grid-template-columns: 1fr; }
  .credential-details > div:nth-child(2), .credential-details > div:nth-child(3), .credential-details > div:nth-child(4) { border-top: 1px solid var(--line-light); }
}

/* Density pass: keep the page airy, but remove the long pauses between content blocks. */
.section-pad { padding: 88px 0; }
.hero { min-height: 700px; padding-bottom: 28px; }
.hero-grid { gap: 38px; }
.hero-visual { min-height: 438px; }
.intro-grid { gap: 64px; }
.section-heading-row { margin-bottom: 36px; }
.care-card { min-height: 350px; }
.profile-card { min-height: 268px; }
.quote-grid { gap: 30px; }
.credentials-grid { gap: 54px; }
.contact-card { gap: 56px; padding-top: 0; }
.footer-top { padding-bottom: 34px; }

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-grid { gap: 46px; }
  .hero-visual { min-height: 420px; }
  .intro-grid { gap: 34px; }
  .care-card { min-height: 330px; }
  .profile-card { min-height: 250px; }
  .credentials-grid { gap: 42px; }
  .contact-card { gap: 42px; }
}

@media (max-width: 700px) {
  .section-pad { padding: 64px 0; }
  .hero { padding-bottom: 74px; }
  .hero-grid { gap: 54px; }
  .hero-visual { min-height: 340px; }
  .section-heading-row { margin-bottom: 28px; }
  .care-card, .profile-card { min-height: 250px; }
  .quote-grid { gap: 6px; }
  .credentials-grid { gap: 34px; }
  .contact-card { gap: 38px; }
}

/* About section: give the physician profile a clear, human focal point. */
.intro-grid { grid-template-columns: 0.54fr 1.02fr 0.82fr; align-items: start; gap: 46px; }
.about-photo { margin: 0; }
.about-photo-frame { position: relative; overflow: hidden; min-height: 360px; background: #dfe7ed; border-radius: 16px; }
.about-photo-frame img { width: 100%; height: 360px; object-fit: cover; object-position: 50% 20%; filter: saturate(0.9) contrast(1.03); }
.about-photo-frame::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(180deg, transparent 52%, rgba(12,25,51,0.82) 100%); }
.about-photo-frame figcaption { position: absolute; right: 18px; bottom: 16px; left: 18px; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: var(--white); }
.about-photo-frame figcaption strong { font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1; }
.about-photo-frame figcaption span { color: rgba(255,255,255,0.72); font-size: 10px; letter-spacing: 0.1em; text-align: right; text-transform: uppercase; }
.photo-credit { display: inline-flex; gap: 6px; margin-top: 11px; color: var(--ink-muted); font-size: 10px; line-height: 1.4; }
.photo-credit span { color: #477c9d; font-size: 14px; line-height: 0.9; }

/* Appointment request dialog: collect only the fields requested by the office workflow. */
.appointment-dialog { width: min(900px, calc(100% - 32px)); max-width: 900px; max-height: min(92vh, 900px); padding: 0; border: 0; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(4, 12, 28, 0.35); }
.appointment-dialog::backdrop { background: rgba(5, 14, 30, 0.72); backdrop-filter: blur(5px); }
body.dialog-open { overflow: hidden; }
.appointment-dialog-shell { padding: clamp(24px, 4vw, 44px); overflow-y: auto; }
.appointment-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.appointment-dialog-header h2 { margin: 24px 0 13px; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 0.98; letter-spacing: -0.055em; }
.appointment-dialog-header h2 em { color: #5b86a8; }
.appointment-dialog-header p { max-width: 590px; margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.65; }
.dialog-close { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; padding: 0 0 4px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font-size: 28px; font-weight: 300; line-height: 1; transition: background 160ms ease, color 160ms ease, border-color 160ms ease; }
.dialog-close:hover, .dialog-close:focus-visible { border-color: var(--navy); background: var(--navy); color: var(--white); }
.appointment-form { display: grid; gap: 28px; padding-top: 28px; }
.form-section { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-section legend { margin-bottom: 15px; padding: 0; color: var(--ink); font-family: var(--serif); font-size: 25px; line-height: 1; letter-spacing: -0.035em; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-field { display: grid; min-width: 0; gap: 7px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { color: #44536d; font-size: 13px; font-weight: 700; }
.form-field input, .form-field select { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid rgba(16,32,61,0.18); border-radius: 10px; outline: none; background: var(--white); color: var(--ink); font: inherit; font-size: 15px; }
.form-field input:focus, .form-field select:focus { border-color: #477c9d; box-shadow: 0 0 0 3px rgba(71,124,157,0.14); }
.form-hint { margin: 12px 0 0; color: var(--ink-muted); font-size: 13px; }
.insurance-panel { display: grid; gap: 16px; margin-top: 18px; padding: 18px; border: 1px solid rgba(16,32,61,0.12); border-radius: 14px; background: #e9eff3; }
.insurance-panel[hidden] { display: none; }
.insurance-panel-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.insurance-panel-title strong { font-size: 15px; }
.insurance-panel-title span { color: var(--ink-muted); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-consent { display: flex; align-items: flex-start; gap: 10px; max-width: 530px; color: var(--ink-muted); font-size: 12px; line-height: 1.5; }
.form-consent input { flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--navy); }
.form-privacy { margin: -10px 0 0; color: var(--ink-muted); font-size: 11px; line-height: 1.5; }
.appointment-success { padding-top: 34px; }
.appointment-success h3 { margin: 24px 0 14px; font-family: var(--serif); font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.05em; }
.appointment-success.is-error h3 { color: #8d453c; }
.appointment-success p { max-width: 600px; margin-bottom: 28px; color: var(--ink-muted); font-size: 15px; line-height: 1.7; }
.restart-form { margin-top: 24px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }

@media (max-width: 700px) {
  .appointment-dialog { width: calc(100% - 20px); max-height: 94vh; border-radius: 16px; }
  .appointment-dialog-shell { padding: 22px 18px 28px; }
  .appointment-dialog-header { gap: 16px; }
  .appointment-dialog-header h2 { font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .appointment-dialog-header p { font-size: 14px; }
  .dialog-close { width: 36px; height: 36px; font-size: 24px; }
  .form-grid { grid-template-columns: 1fr; gap: 13px; }
  .form-field-full { grid-column: auto; }
  .form-footer { align-items: flex-start; flex-direction: column; }
  .form-footer .button { width: 100%; }
  .insurance-panel-title { align-items: flex-start; flex-direction: column; gap: 4px; }
  .appointment-success .contact-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 980px) {
  .intro-grid { grid-template-columns: 0.42fr 1fr; gap: 34px; }
  .about-photo { grid-column: 2; }
  .about-photo-frame, .about-photo-frame img { min-height: 330px; height: 330px; }
}

@media (max-width: 700px) {
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { grid-column: auto; }
  .about-photo-frame, .about-photo-frame img { min-height: 300px; height: 300px; }
  .about-photo-frame figcaption { display: block; }
  .about-photo-frame figcaption span { display: block; margin-top: 6px; text-align: left; }
  .brand-text strong { font-size: 18px; }
}
