.gallery-title {
  text-align: center;
  max-width: 840px;
}
.gallery-title > p:not(.eyebrow) {
  max-width: 580px;
  margin: 20px auto;
}
.gallery-title .gallery-disclosure {
  font-size: 12px;
  padding: 14px 20px;
  border: 1px solid #dbc7b7;
  border-radius: 15px;
}
.gallery-title .scribble {
  display: block;
  margin-top: 35px;
  transform: rotate(-4deg);
}
.portrait-section {
  padding-bottom: 90px;
}
.portrait-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.portrait:nth-child(2) {
  padding-top: 65px;
}
.portrait:nth-child(3) {
  padding-top: 125px;
}
.portrait-open {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 180px 180px 16px 16px;
}
.portrait-open img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.6s;
}
.portrait-open:hover img {
  transform: scale(1.035);
}
.portrait-zoom {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: #faf7f0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 24px;
}
.portrait-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
}
.portrait-caption .eyebrow {
  font-size: 10px;
  margin: 0;
}
.page-main .portrait-caption h2 {
  font-size: 26px;
  margin: 8px 0;
  letter-spacing: -0.3px;
}
.portrait-love {
  position: relative;
  min-width: 44px;
  height: 44px;
  border: 1px solid #cbaa96;
  border-radius: 50%;
  background: transparent;
  color: #8a4c40;
  font-size: 28px;
}
.portrait-love[aria-pressed="true"] {
  background: #e5b5b1;
}
.gallery-towel {
  margin: 0;
}
.gallery-towel > img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 24px 140px 24px 24px;
}
.portrait-dialog {
  max-width: 690px;
  padding: 26px;
  max-height: 92dvh;
  overflow-y: auto;
}
.portrait-dialog figure {
  margin: 0;
}
.portrait-dialog img {
  width: 100%;
  max-height: 58dvh;
  object-fit: contain;
  border-radius: 16px;
}
.portrait-dialog figcaption {
  text-align: center;
}
.portrait-dialog figcaption h2 {
  font-size: 30px;
  margin: 12px 0;
}
.portrait-dialog .dialog-close {
  background: #faf7f0;
  border-radius: 50%;
  z-index: 1;
  border: 1px solid #d8c0ad;
}
.portrait-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.portrait-controls [role="status"] {
  font-size: 13px;
}
@media (max-width: 1000px) {
  .portrait-grid {
    gap: 18px;
  }
  .portrait-open img {
    height: 340px;
  }
  .portrait-caption {
    align-items: start;
  }
}
@media (max-width: 700px) {
  .portrait-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .portrait:nth-child(n) {
    padding-top: 0;
  }
  .portrait-open img {
    height: 460px;
  }
  .portrait-section {
    padding-bottom: 60px;
  }
  .gallery-towel > img {
    height: 340px;
  }
}
