/* The photograph is tied to the viewport; the home page scrolls over it. */
.home-fixed-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #222;
}

.home-fixed-background img {
  position: absolute;
  top: -35%;
  left: -14px;
  width: calc(100% + 28px);
  height: 150%;
  object-fit: cover;
  object-position: center 56%;
  transform: translate3d(var(--hero-shift-x, 0px), var(--hero-shift-y, 0px), 0);
  will-change: transform;
}

.home-page main,
.home-page .footer {
  position: relative;
  z-index: 1;
}

.home-page .hero {
  background: rgba(17, 16, 16, .58);
}

.home-page .hero::after {
  display: none;
}

.home-page .opening-intro {
  display: flex;
  min-height: clamp(430px, 58svh, 650px);
  align-items: center;
  color: #fff;
  background: rgba(17, 16, 16, .58);
}

.home-page .opening-intro .intro {
  text-shadow: 0 2px 24px rgba(0, 0, 0, .4);
}

.home-page main > .section:not(.opening-intro) {
  background: rgba(246, 243, 237, .9);
}

.home-page main > .exhibition-section {
  background: rgba(232, 224, 211, .9);
}

.home-page .home-feature {
  background: rgba(17, 16, 16, .62);
}

@media (max-aspect-ratio: 4 / 5) {
  .home-fixed-background img {
    object-position: 56% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-fixed-background img {
    transform: none;
    will-change: auto;
  }
}
