/* Large display photographs keep their full composition at every window shape. */
.home .hero,
.home .film-feature {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  height: auto;
  min-height: 0;
  max-height: none;
  background: var(--ink);
}
.home.home-preview-refresh .hero > .hero-image,
.home .hero > .hero-image,
.home .film-feature > .hero-image {
  position: relative;
  inset: auto;
  top: auto;
  display: block;
  width: 100%;
  height: clamp(540px, calc(100svh - 106px), 900px);
  max-width: 100% !important;
  object-fit: contain;
  object-position: center;
  z-index: 0;
}
.home .hero::after,
.home .film-feature::after { z-index: 1; pointer-events: none; }
.home .hero-content,
.home .hero-caption { z-index: 2; }
.home .hero-content { bottom: clamp(88px, 13%, 150px); }
.home .film-feature { display: block; padding: 0; }
.home .film-feature > .hero-image { height: clamp(500px, 58vw, 760px); }
.home .film-feature > div {
  position: absolute;
  top: 50%;
  left: 8%;
  right: 8%;
  transform: translateY(-50%);
  z-index: 2;
}
.approach-split > img,
.wide-photo > img {
  width: auto;
  max-width: 100% !important;
  height: auto;
  max-height: 900px;
  aspect-ratio: auto;
  object-fit: contain;
  margin-inline: auto;
}
.wide-photo > span {
  position: static;
  display: block;
  margin-top: 18px;
  color: var(--ink);
  text-align: center;
  text-shadow: none;
}
.page-banner,
.wedding-cover {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(8px, 2vw, 32px);
}
.page-banner > img,
.wedding-cover > img {
  display: block;
  width: auto;
  max-width: 100% !important;
  height: auto;
  max-height: 1000px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center !important;
  margin-inline: auto;
}
.gallery-grid { align-items: center; }
.gallery-grid > .gallery-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.gallery-grid > .gallery-item > img {
  width: auto;
  max-width: 100% !important;
  height: auto;
  max-height: 1000px;
  aspect-ratio: auto;
  object-fit: contain;
}
@media (max-width: 900px), (max-height: 650px) {
  .home .hero,
  .home .film-feature { color: var(--ink); background: var(--cream); }
  .home.home-preview-refresh .hero > .hero-image,
  .home .hero > .hero-image,
  .home .film-feature > .hero-image {
    width: auto;
    height: auto;
    max-height: 900px;
    margin-inline: auto;
  }
  .home .hero::after,
  .home .film-feature::after { display: none; }
  .home .hero-content,
  .home .film-feature > div {
    position: static;
    inset: auto;
    max-width: 760px;
    padding: 36px 6% 28px;
    transform: none;
  }
  .home .hero h1 { font-size: clamp(36px, 7vw, 64px); text-shadow: none; }
  .home .hero-caption {
    position: static;
    display: block;
    padding: 0 6% 28px;
    color: var(--muted);
    font-size: 10px;
  }
  .home .hero-caption > a { display: none; }
  .home .button.light { color: var(--ink); border-color: var(--ink); }
  .home .button.light:hover { color: var(--paper); background: var(--ink); }
  .home .film-feature h2 { font-size: clamp(36px, 7vw, 56px); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .page-banner > img,
  .wedding-cover > img,
  .gallery-grid > .gallery-item > img { max-height: none; }
}
