.image-page {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  background: #fff;
}

.image-page__photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.image-page__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-page__content {
  min-width: 0;
  align-self: start;
  padding: clamp(2rem, 3.5vw, 4rem);
  overflow-wrap: anywhere;
}

.image-page__content h1 {
  margin: 0 0 1.5rem;
  color: #e2001a;
  font-size: clamp(1.75rem, 2.2vw, 2.625rem);
  font-weight: 700;
  line-height: 1.2;
}

.image-page__eyebrow {
  margin: 0 0 0.75rem;
  color: #746568;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-page__copy {
  font-size: 1rem;
  line-height: 1.75;
}

.image-page__copy h2,
.image-page__copy h3,
.image-page__copy h4 {
  margin-top: 1.75rem;
  font-size: 1.375rem;
  line-height: 1.35;
}

.image-page__copy > :last-child {
  margin-bottom: 0;
}

.image-page__copy img,
.image-page__copy video,
.image-page__copy iframe {
  max-width: 100%;
}

.image-page__copy img,
.image-page__copy video {
  height: auto;
}

.image-page__copy table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.image-page--gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "lead content" "gallery content";
  grid-template-rows: auto 1fr;
  align-items: start;
  row-gap: 0.75rem;
}

.image-page--gallery .image-page__photo {
  aspect-ratio: 3 / 2;
}

.image-page--gallery > .image-page__photo {
  grid-area: lead;
}

.image-page--gallery > .image-page__content {
  grid-area: content;
}

.image-page__gallery {
  position: sticky;
  top: 1rem;
  display: grid;
  grid-area: gallery;
  gap: 0.75rem;
  min-width: 0;
}

.image-page__prices {
  margin: 2rem 0 0;
  border-top: 1px solid #eee5e6;
}

.image-page__prices > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid #eee5e6;
}

.image-page__prices dt {
  margin: 0;
  font-weight: 400;
}

.image-page__prices dd {
  margin: 0;
  font-weight: 700;
  white-space: nowrap;
}

.contact-page {
  min-height: clamp(40rem, 80vh, 64rem);
}

.contact-page__photo img {
  object-position: 65% center;
}

.contact-page__form {
  margin-top: 2rem;
}

.contact-page__form .form-floating {
  margin-bottom: 1rem;
}

.contact-page__form .form-control {
  border-color: #ded7d8;
  border-radius: 0.5rem;
}

.contact-page__form .form-control:focus {
  border-color: #e2001a;
  box-shadow: 0 0 0 0.2rem rgb(226 0 26 / 10%);
}

.contact-page__form .btn {
  width: 100%;
  min-height: 48px;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .image-page {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .image-page__photo {
    aspect-ratio: 16 / 9;
  }

  .image-page__content {
    padding: 2rem clamp(1.5rem, 5vw, 3rem) 2.5rem;
  }

  .image-page--gallery {
    grid-template-areas: "lead" "content" "gallery";
    grid-template-rows: auto;
  }

  .image-page__gallery {
    position: static;
  }
}
