/* === PARALLAX ===*/
.parallax-outer {
  border-radius: 10px;
  overflow: hidden;
  height: 70vh;
  position: relative;
  z-index: 1;
}

.parallax-inner {
  height: 130%;
  width: 100%;
  position: relative;
}

.parallax-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 108%;
  object-fit: cover;
  transition: transform 0.1s ease-out;
  will-change: transform;
  filter: grayscale(1);
  clip-path: inset(0 round 20px);
}

.parallax-outer.parallax-outer--vertical {
  width: clamp(320px, 62vw, 860px);
  max-width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 78vh;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .parallax-outer.parallax-outer--vertical {
    width: min(100%, 520px);
    aspect-ratio: 3 / 4;
    max-height: 72vh;
  }
}
