html { scroll-padding-top: 190px; }
/* Keep the subject in view when framing the original wide hero photograph. */
.hero-media img { object-position: 38% top; }
@media (640px < width <= 850px) {
 .hero-media img { object-position: 24% top; }
}
/* Fill each doctor's column without cropping the supplied portrait. */
.doctor-photo { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: auto; }
.header-inner { display: flex; align-items: center; height: auto; padding-block: 10px; gap: 40px; }
/* Frame the artwork tightly while preserving the original generated asset. */
.practice-brand { display: block; position: relative; overflow: hidden; width: 390px; max-width: 50%; aspect-ratio: 1630 / 620; flex-shrink: 0; }
/* Leave a small inset so the circle's left edge stays inside the frame. */
.practice-logo { display: block; position: absolute; width: 121.66%; max-width: none; height: auto; left: -10.5%; top: -11.29%; }
.header-actions { margin-left: auto; width: 355px; max-width: 48%; }
.desktop-nav { display: flex; margin: 0; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.desktop-nav a { font-size: 14px; }
.header-appointment { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 15px; }
.header-phone { font-size: 20px; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.header-phone span { display: block; margin-bottom: 4px; font-size: 10px; letter-spacing: .8px; color: #626861; }
.header-phone:hover { color: var(--rust); }
.header-contact { flex-shrink: 0; min-height: 42px; padding: 10px 24px; }
@media (max-width: 850px) {
 .header-inner { gap: 24px; }
 .header-actions { width: 290px; }
 .desktop-nav { gap: 12px; }
 .desktop-nav a { font-size: 12px; }
 .header-appointment { gap: 16px; }
 .header-phone { font-size: 17px; }
 .header-contact { padding-inline: 18px; }
}
@media (max-width: 640px) {
 .site-header { position: relative; }
 .header-inner { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
 .practice-brand { width: 100%; max-width: 350px; align-self: center; }
 .header-actions { width: 100%; max-width: none; margin: 0; }
 .desktop-nav { display: none; }
 .header-appointment { border-top: 1px solid var(--rule); padding-top: 10px; }
 .header-phone { font-size: 17px; }
 .header-phone span { margin-bottom: 2px; font-size: 9px; }
 .header-contact { min-height: 38px; padding: 8px 20px; font-size: 12px; }
 html { scroll-padding-top: 20px; }
}
