html.coach-profile-open {
  overflow: hidden;
}

.coach-modal {
  --coach-sheet-height: min(850px, calc(100dvh - 32px));
  width: min(850px, calc(100% - 32px));
  max-width: 100%;
  color: var(--ink);
  background: #fff;
}
.coach-modal[open] {
  max-height: var(--coach-sheet-height);
}
.coach-profile {
  display: flex;
  flex-direction: column;
  max-height: var(--coach-sheet-height);
}
.coach-profile-header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  border-bottom: 1px solid #eae5e2;
}
.coach-profile-header h2 {
  margin: .15rem 0 .35rem;
  font-size: clamp(1.6rem, 4vw, 2.45rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}
.coach-profile-header .lead,
.coach-profile-header .eyebrow {
  margin: 0;
}
.coach-profile-header .modal-close {
  position: static;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}
.coach-profile-header .modal-close:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.coach-profile-scroll {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 1.75rem);
  padding: clamp(1rem, 3vw, 1.75rem);
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
.coach-profile-photo {
  display: grid;
  place-items: end center;
  min-height: 200px;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at bottom, #532027, #171719 75%);
}
.coach-profile-photo img {
  display: block;
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
}
.coach-profile .bio-list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.coach-profile .bio-list li + li {
  margin-top: .52rem;
}
.coach-profile .bio-list li::marker {
  color: var(--red);
}
@media (max-width: 660px) {
  .coach-modal {
    --coach-sheet-height: min(94dvh, calc(100dvh - env(safe-area-inset-top, 0px) - 12px));
    margin: auto 0 0;
    width: 100%;
    border-radius: 1.15rem 1.15rem 0 0;
  }
  .coach-profile-scroll {
    display: flex;
    flex-direction: column;
    padding-bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px));
  }
  .coach-profile-photo {
    flex: 0 0 auto;
    width: 100%;
    height: clamp(118px, 27dvh, 192px);
    min-height: 0;
    overflow: hidden;
  }
  .coach-profile-photo img {
    width: 100%;
    height: 100%;
    min-height: 0;
  }
}
