img {
  height: auto;
}

.about-mark.owner-photo {
  width: min(100%, 460px);
  padding: 24px;
  justify-self: center;
}

.about-mark .owner-portrait {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  mix-blend-mode: normal;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #092d2dcc;
}

.modal-overlay[hidden] {
  display: none;
}

.thank-you-modal {
  position: relative;
  width: min(540px, 100%);
  padding: 48px;
  background: white;
  box-shadow: 0 24px 80px #001f1f70;
  text-align: center;
}

.thank-you-modal h2 {
  margin: 0 0 18px;
  font: 600 clamp(2rem, 5vw, 3rem) / 1.08 var(--serif);
  letter-spacing: -.03em;
}

.thank-you-modal > p:not(.eyebrow) {
  max-width: 430px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.modal-confirm {
  min-width: 130px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .about-mark.owner-photo {
    width: min(100%, 390px);
    padding: 16px;
  }

  .thank-you-modal {
    padding: 42px 24px 30px;
  }
}
