:root {
  --navy: #182b49;
  --deep: #10213a;
  --muted: #4e6177;
  --blue: #eaf0f6;
  --line: #d5dde7;
  --light-blue: #c2d7e8;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--navy); background: #fff; font: 16px/1.65 var(--sans); }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.03; }
h2 { font-size: clamp(3.15rem, 5.4vw, 5.25rem); letter-spacing: -.035em; }
h3 { font-size: 2.1rem; letter-spacing: -.025em; }
a { color: inherit; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #4c81bd; outline-offset: 5px; }
.wrap { width: min(1248px, calc(100% - 104px)); margin: 0 auto; }
.section { padding: clamp(62px, 7vw, 106px) 0; }
.eyebrow { margin-bottom: 17px; color: #3c5977; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.skip { position: absolute; top: 12px; left: -9999px; z-index: 10; background: #fff; padding: 8px 12px; }
.skip:focus { left: 12px; }

.masthead { background: #fff; }
.masthead-inner { position: relative; display: flex; min-height: 96px; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; flex-shrink: 0; gap: 18px; text-decoration: none; }
.brand img { width: 86px; height: auto; }
.brand span { border-left: 1px solid var(--line); padding-left: 18px; font-size: .8125rem; font-weight: 600; color: var(--muted); line-height: 1.45; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 35px); }
.nav a { font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav a:not(.button):hover { text-decoration: underline; text-underline-offset: 5px; }
.menu { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border: 1px solid transparent; border-radius: 3px; padding: 11px 20px; font-size: .9375rem; line-height: 1.4; font-weight: 700; text-align: center; text-decoration: none; transition: background .18s, color .18s; }
.button-primary { background: #303d67; color: #fff; }
.button-primary:hover { background: var(--deep); }
.button-light { background: #fff; color: var(--deep); }
.button-light:hover { background: var(--light-blue); }
.text-link { font-size: .9375rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-thickness: 2px; }

.hero { overflow: hidden; color: #fff; background: var(--navy); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.04fr; min-height: clamp(490px, 45vw, 620px); }
.hero-copy { z-index: 1; align-self: center; padding: 55px clamp(28px, 4vw, 66px) 59px 0; }
.hero .eyebrow, .membership .eyebrow { color: var(--light-blue); }
.hero h1 { font-size: clamp(4.2rem, 7.35vw, 7.2rem); line-height: .97; letter-spacing: -.025em; }
.hero h1 em { color: var(--light-blue); }
.hero-description { margin-top: 26px; max-width: 455px; font-size: 1.0625rem; line-height: 1.7; color: #e0e9f3; }
.hero-actions, .membership-actions, .location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px 24px; margin-top: 27px; }
.hero-image { position: relative; min-width: 0; overflow: hidden; margin-right: min(-52px, calc((1248px - 100vw) / 2)); }
.hero-image img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: 52% 44%; }

.section-intro { display: grid; grid-template-columns: 1.18fr .82fr; align-items: end; gap: 32px 92px; margin-bottom: 42px; }
.section-intro > p { color: var(--muted); max-width: 430px; font-size: 1.0625rem; line-height: 1.75; padding-bottom: 4px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit-grid article { padding: 30px clamp(18px, 3.4vw, 48px) 30px 0; }
.benefit-grid article + article { border-left: 1px solid var(--line); padding-left: clamp(18px, 3.4vw, 48px); }
.benefit-grid article:last-child { padding-right: 0; }
.benefit-icon { width: 33px; height: 33px; color: #416288; margin-bottom: 13px; }
.benefit-grid h3 { margin-bottom: 10px; }
.benefit-grid p { color: var(--muted); max-width: 300px; }

.doctors { background: #f2f5f9; }
.physician-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.physician { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.physician-photo { position: relative; width: 100%; aspect-ratio: 6 / 5; overflow: hidden; background: #dce5ee; }
.physician-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.physician-photo .portrait-kindig { object-position: 50% 34%; }
.physician-photo .portrait-thayer { object-position: 50% 16%; }
.physician-photo figcaption { position: absolute; right: 10px; bottom: 10px; padding: 4px 8px; background: #182b49f2; color: #fff; font-size: .75rem; }
.physician-details { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: clamp(18px, 2.5vw, 29px); }
.physician-location { color: #3d5877; font-size: .8125rem; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; }
.physician-details h3 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.physician-details .specialty { color: #3d5877; min-height: 1.6em; font-size: .875rem; font-weight: 600; }
.physician-details p:not(.physician-location, .specialty) { color: var(--muted); padding-bottom: 8px; }
.physician-details a { margin-top: auto; }

.membership { background: var(--deep); color: #fff; }
.membership-inner { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 80px; }
.membership h2 { margin-bottom: 22px; }
.membership p:not(.eyebrow) { color: #d7e4ef; max-width: 430px; }
.membership-details { padding: 32px clamp(24px, 3.6vw, 53px); background: #ffffff09; border: 1px solid #a5bfd64d; border-radius: 4px; }
.membership-details h3 { margin-bottom: 18px; }
.membership-details ul { padding: 0; margin: 0 0 17px; list-style: none; }
.membership-details li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid #a5bfd641; }
.membership-details li:last-child { border-bottom: 1px solid #a5bfd641; }
.membership-details li::before { content: '✓'; color: var(--light-blue); }
.membership-details p { font-size: .9375rem; }

.location-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.location { padding: clamp(23px, 3.4vw, 44px); border: 1px solid var(--line); border-top: 3px solid #303d67; border-radius: 3px; }
.location-heading { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 15px; margin-bottom: 13px; }
.location h3 { font-size: clamp(2.25rem, 4vw, 3.25rem); }
.location-heading img { width: 70px; height: 63px; object-fit: contain; }
.location address { font-style: normal; color: var(--muted); }
.faq { background: var(--blue); }
.faq-inner { display: grid; grid-template-columns: .75fr 1.25fr; gap: 78px; }
.questions details { border-top: 1px solid #aebdce; }
.questions details:last-child { border-bottom: 1px solid #aebdce; }
.questions summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 0; cursor: pointer; font-size: 1.0625rem; font-weight: 600; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; font-size: 1.4rem; font-weight: 500; line-height: 1; }
.questions details[open] summary::after { content: '−'; }
.questions p { margin: 0 35px 20px 0; color: var(--muted); }
.footer { padding: 34px 0 21px; }
.footer-main { display: flex; align-items: center; gap: 20px; }
.footer-main p { color: var(--muted); font-size: .9375rem; }
.footer-main .text-link { margin-left: auto; }
.footer-note { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); font-size: .8125rem; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero-image { margin-right: -32px; }
  .brand span { display: none; }
  .section-intro, .membership-inner, .faq-inner { gap: 40px; }
  .physician-details .specialty { min-height: 3.25em; }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 40px); }
  .masthead-inner { min-height: 82px; }
  .brand img { width: 75px; }
  .menu { display: block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--navy); cursor: pointer; }
  .nav { display: none; position: absolute; left: -20px; right: -20px; top: 100%; z-index: 5; gap: 4px; flex-direction: column; align-items: stretch; padding: 14px 20px 21px; border-top: 1px solid var(--line); box-shadow: 0 12px 18px #10213a20; background: #fff; }
  .nav.open { display: flex; }
  .nav a:not(.button) { padding: 8px 2px; }
  .nav .button { margin-top: 5px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding: 41px 0 42px; }
  .hero h1 { font-size: clamp(3.75rem, 12.9vw, 5.25rem); }
  .hero-description { margin-top: 18px; max-width: 520px; }
  .hero-image { margin: 0 -20px; aspect-ratio: 1.28; }
  .hero-image img { object-position: center 43%; }
  .wide-only { display: none; }
  .section-intro, .membership-inner, .faq-inner { grid-template-columns: 1fr; gap: 20px; }
  .section-intro { margin-bottom: 29px; }
  .section-intro > p { padding: 0; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article, .benefit-grid article + article { display: grid; grid-template-columns: 37px 1fr; gap: 8px 14px; padding: 22px 0; border-left: 0; }
  .benefit-grid article + article { border-top: 1px solid var(--line); }
  .benefit-icon { margin: 0; grid-row: 1 / 3; }
  .benefit-grid h3 { margin: 0; }
  .benefit-grid p { max-width: 100%; }
  .physician-grid, .location-grid { grid-template-columns: 1fr; }
  .physician-details .specialty { min-height: 0; }
  .membership-inner { gap: 30px; }
  .membership-details { padding: 24px; }
  .footer-main { flex-wrap: wrap; }
  .footer-main .text-link { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
