/* Keep the original photographs intact; framing happens only in the layout. */
.hero-grid {
  min-height: 640px;
  padding-top: 44px;
  padding-bottom: 44px;
  gap: 56px;
}
.hero-grid > div:first-child { padding-bottom: 0; }
.hero .portrait {
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 380px;
  margin: 0;
  padding: 0;
}
.hero .photo-window {
  position: relative;
  aspect-ratio: 712 / 1030;
  overflow: hidden;
  border-radius: 12px;
  background: #d7e2ea;
}
.hero .portrait .photo-window img {
  position: absolute;
  width: 121.3483146%;
  height: auto;
  max-width: none;
  left: -10.6741573%;
  top: -22.3300971%;
  margin: 0;
  border-radius: 0;
  object-fit: initial;
}
.hero p.desc { margin-bottom: 20px; }
.hero-byline { margin: 0 0 24px; line-height: 1.6; }
.hero-byline strong { display: block; font-size: 19px; font-weight: 600; }
.hero-byline span { display: block; font-size: 13px; }
.introline .wrap { gap: 12px 24px; }
.about-photo { max-width: 350px; }
.clinical-experience { background: #edf3f7; border-left-color: #8cb7db; }
.education { margin-top: 48px; }
.education-heading { padding-top: 32px; margin-bottom: 24px; }
.education-card { padding: 23px 25px; border-top-color: #8cb7db; }
.education-card h3 { font-size: 21px; margin-bottom: 10px; }
.degree-kind { margin-bottom: 8px; }
.map-link {
  display: inline-block;
  margin-top: 5px;
  padding: 5px 0;
  min-height: 34px;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}
.mobile-cta[hidden] { display: none; }
@media (max-width: 900px) {
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(36px, 5vw, 46px); }
  .introline .wrap { justify-content: center; text-align: center; }
}
@media (min-width: 641px) and (max-width: 760px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 24px; }
  .hero p.desc { font-size: 16px; }
  .hero a.btn[data-wa] { padding: 14px; font-size: 15px; }
  .about-grid { gap: 32px; }
}
@media (max-width: 640px) {
  .hero-grid { min-height: 0; padding-top: 30px; padding-bottom: 30px; gap: 28px; }
  .hero-grid > div:first-child { padding-bottom: 0; }
  .hero h1 { font-size: clamp(2.125rem, 9.4vw, 2.8rem); }
  .hero p.desc { max-width: 390px; margin: 0 auto 18px; }
  .hero-byline { margin-bottom: 20px; }
  .hero-byline strong { font-size: 18px; }
  .hero-byline span { font-size: 12px; }
  .hero .portrait { width: min(100%, 300px); max-width: 300px; }
  .introline .wrap { align-items: center; gap: 7px; font-size: 13px; }
  .introline .wrap span:last-child { display: none; }
  .about-photo { max-width: 280px; }
  .education { margin-top: 36px; }
  .education-card { padding: 22px; }
  .education-card h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .portrait.is-loaded .photo-window { animation: none; }
}
