:root {
  --ink: #182b49;
  --muted: #4b5e74;
  --light: #edf3f8;
  --line: #ccd8e4;
  --navy: #303d67;
  --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(--ink); font: 16px/1.7 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
h1, h2 { font: 400 clamp(2.35rem, 4vw, 3.6rem)/1.03 var(--serif); letter-spacing: -.02em; }
h3 { font-size: 1.25rem; }
a { color: inherit; text-underline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
:focus-visible { outline: 3px solid #3269a5; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 12px; left: -999px; padding: 8px 14px; background: white; }
.skip:focus { left: 12px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; background: var(--navy); color: white; padding: 9px 18px; border-radius: 4px; font-size: .9375rem; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--ink); }

.masthead { background: white; border-bottom: 1px solid var(--line); }
.nav-row { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 94px; gap: 27px; }
.brand { display: flex; gap: 16px; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img { width: 84px; }
.brand span { padding-left: 16px; border-left: 1px solid var(--line); color: var(--muted); line-height: 1.45; font-size: .8125rem; font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 25px); font-size: .9375rem; }
.site-nav > a:not(.button), .nav-group summary { font-weight: 650; text-decoration: none; }
.nav-group { position: relative; }
.nav-group summary { display: flex; align-items: center; gap: 8px; min-height: 45px; cursor: pointer; list-style: none; white-space: nowrap; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-2px); }
.nav-group[open] summary::after { transform: rotate(225deg); }
.nav-group ul { position: absolute; top: 100%; left: 0; z-index: 3; width: max-content; min-width: 200px; max-width: 300px; list-style: none; margin: 0; padding: 8px; background: white; border: 1px solid var(--line); box-shadow: 0 12px 25px #182b491a; border-radius: 5px; }
.nav-group li a { display: block; padding: 8px 12px; border-radius: 3px; text-decoration: none; }
.nav-group li a:hover, .nav-group li a[aria-current] { background: var(--light); }
.site-nav > .all-pages:hover { text-decoration: underline; }
.menu-toggle { display: none; min-height: 44px; border: 1px solid var(--line); padding: 7px 15px; color: var(--ink); background: white; border-radius: 4px; cursor: pointer; }

.page-hero { background: var(--light); border-bottom: 1px solid var(--line); }
.hero-grid { padding: 34px 0 54px; }
.hero-grid.with-image { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; font-size: .875rem; color: var(--muted); }
.eyebrow { margin-bottom: 14px; font-size: .8125rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: #3a5575; }
.page-hero h1 { max-width: 840px; font-size: clamp(3.4rem, 6.3vw, 6.25rem); }
.intro { max-width: 760px; margin-top: 20px; font-size: clamp(1.0625rem,1.65vw,1.25rem); line-height: 1.65; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 25px; }
.hero-photo { display: block; overflow: hidden; border-radius: 5px; }
.hero-photo img { width: 100%; aspect-ratio: 1.7; object-fit: cover; }

.body-grid { display: grid; grid-template-columns: minmax(155px, 225px) minmax(0, 1fr); gap: clamp(32px, 5.8vw, 80px); padding-top: 63px; padding-bottom: 77px; }
.body-grid.single { display: block; }
.single .content { max-width: 820px; }
.toc { position: sticky; top: 24px; align-self: start; border-left: 2px solid var(--line); padding: 1px 0 3px 18px; }
.toc p { margin-bottom: 10px; font-size: .875rem; font-weight: 700; color: var(--muted); }
.toc ul { list-style: none; padding-left: 0; margin: 0; }
.toc li + li { margin-top: 7px; }
.toc a { font-size: .9375rem; line-height: 1.5; }
.content { min-width: 0; }
.content section { padding-bottom: 36px; border-bottom: 1px solid var(--line); margin-bottom: 39px; overflow-wrap: break-word; }
.content section:last-of-type { margin-bottom: 25px; }
.content h2 { margin-bottom: 19px; }
.content :is(p, ul, ol, dl, h3, figure, blockquote, address, aside, details, .table-scroll) { margin: 0 0 17px; }
.content :is(p, ul, ol, dl, blockquote, address) { max-width: 76ch; }
.content h3 { margin-top: 23px; margin-bottom: 9px; }
.content li + li { margin-top: 5px; }
.content img { width: min(100%, 520px); border-radius: 4px; }
.content .profile-photo img { aspect-ratio: 6 / 5; object-fit: cover; object-position: center 34%; }
.content .profile-photo.landscape img { object-position: center; }
.content .office-logo { width: 118px; height: auto; margin-bottom: 19px; }
.content figcaption { color: var(--muted); font-size: .875rem; margin-top: 7px; }
.content address { font-style: normal; }
.content dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
.content dt { font-weight: 700; }
.content dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.content details { padding: 14px 0; border-top: 1px solid var(--line); margin: 0; }
.content details:last-child { border-bottom: 1px solid var(--line); }
.content details p { margin: 9px 0 3px; }
.content details summary { cursor: pointer; font-weight: 700; }
.content aside, .content blockquote { padding: 17px 21px; border-left: 3px solid var(--navy); background: var(--light); }
.content aside p:last-child { margin: 0; }
.source-note { color: var(--muted); font-size: .875rem; }
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
caption { padding: 12px 16px; text-align: left; font-weight: 700; background: var(--light); }
th, td { vertical-align: top; padding: 10px 15px; border-bottom: 1px solid var(--line); }
thead th { background: var(--light); }
tbody tr:last-child > * { border-bottom: 0; }

.directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding-block: 55px 78px; }
.directory section { padding: 23px 24px 25px; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 4px; }
.directory h2 { font-size: 2.45rem; }
.directory ul { list-style: none; padding: 0; margin: 20px 0 0; }
.directory li { border-top: 1px solid var(--line); }
.directory a { display: block; padding: 9px 0; }
.footer { border-top: 1px solid var(--line); padding-block: 36px 19px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 24px; color: var(--muted); }
.footer-grid p { margin-top: 7px; }
.footer-grid div > a { display: block; }
.footer-note { margin-top: 26px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }

@media (max-width: 1020px) {
  .wrap { width: calc(100% - 58px); }
  .brand span { display: none; }
  .directory section { padding-inline: 17px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .nav-row { min-height: 80px; }
  .brand img { width: 74px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; flex-direction: column; align-items: stretch; gap: 0; position: absolute; z-index: 5; top: 100%; left: -20px; right: -20px; padding: 11px 20px 20px; background: white; border: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav .all-pages { padding: 11px 0; }
  .site-nav .button { margin-top: 5px; }
  .nav-group ul { position: static; max-width: none; width: 100%; border: 0; padding: 0 0 7px 12px; box-shadow: none; }
  .hero-grid { padding-block: 25px 36px; }
  .hero-grid.with-image { grid-template-columns: 1fr; gap: 28px; }
  .breadcrumbs { margin-bottom: 23px; }
  .body-grid { display: block; padding-block: 32px 50px; }
  .toc { position: static; margin-bottom: 37px; }
  .content section { padding-bottom: 20px; margin-bottom: 27px; }
  .directory { grid-template-columns: 1fr; padding-block: 38px 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .page-hero h1 { font-size: 3.35rem; }
  .table-scroll th, .table-scroll td { padding: 9px 11px; }
  .table-scroll table { min-width: 310px; }
  .footer-grid { gap: 18px; font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Shared content patterns for the three complete designs. */
.physician-overview { border-bottom: 1px solid var(--line); }
.physician-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(15px, 2.5vw, 30px); padding-block: 48px; }
.physician-card { min-width: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.physician-image { width: 100%; height: auto; aspect-ratio: 6 / 5; background: var(--light); overflow: hidden; }
.physician-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.physician-card[data-physician="robin-kindig"] img { object-position: center 34%; }
.physician-info { padding: 18px clamp(13px, 2vw, 27px) 24px; }
.physician-info .physician-office { text-transform: uppercase; letter-spacing: .1em; font-size: .8125rem; font-weight: 700; }
.physician-info h2 { margin-block: 8px; font-size: clamp(1.65rem, 3vw, 2.65rem); }
.physician-info a { display: inline-block; margin-top: 12px; font-size: .9375rem; font-weight: 650; }
.content .faq-item { padding: 0; margin: 0; border-bottom: 0; }
.content .faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.35rem; font-weight: 500; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 28px 17px 0; }
.content .page-source { margin-top: 23px; }
@media (max-width: 680px) {
  .physician-summary { grid-template-columns: 1fr; gap: 21px; padding-block: 33px; }
  .physician-info { padding: 18px 19px 22px; }
}
