.hero {
  position: relative;
  height: 92vh;
  min-height: 620px;
  overflow: hidden;
  background: #111;
}

/* slides */

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  will-change: opacity;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

/* media */

.hero-slide picture,
.hero-media {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center center;
  transform-origin: center center;
  will-change: transform;
}

/* animated movement / zoom variations */

.hero-slide.is-active .hero-media {
  animation-duration: 5.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.hero-slide--one.is-active .hero-media {
  animation-name: heroZoomPanOne;
}

.hero-slide--two.is-active .hero-media {
  animation-name: heroZoomPanTwo;
}

.hero-slide--three.is-active .hero-media {
  animation-name: heroZoomPanThree;
}

@keyframes heroZoomPanOne {
  0% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.10) translate3d(-1%, -0.8%, 0);
  }
}

@keyframes heroZoomPanTwo {
  0% {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.11) translate3d(1%, -0.8%, 0);
  }
}

@keyframes heroZoomPanThree {
  0% {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.09) translate3d(-0.8%, 1%, 0);
  }
}

/* overlay */

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.42) 32%,
      rgba(0, 0, 0, 0.14) 58%,
      rgba(0, 0, 0, 0.10) 100%
    ),
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.38) 0%,
      rgba(0, 0, 0, 0.08) 38%,
      rgba(0, 0, 0, 0) 70%
    );
  z-index: 2;
}

/* texto */

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.hero-copy {
  max-width: 460px;
  color: #F6F7ED;
  margin-bottom: 110px;
}

.hero-copy h1 {
  font-family: "AUGE", "ITC Avant Garde Gothic", "Avant Garde", "Futura", "Montserrat", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 2.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.hero-copy p {
  font-family: "ITC Avant Garde Gothic", "Avant Garde", "Futura", system-ui, sans-serif;
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.6;
  opacity: 0.9;
  margin: 0;
  max-width: 44ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

/* responsive */

@media (max-width: 1024px) {
  .hero {
    min-height: 580px;
  }

  .hero-copy {
    margin-bottom: 96px;
    max-width: 420px;
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 4vw, 2.7rem);
  }
}

@media (max-width: 768px) {
  .hero {
    height: 84vh;
    min-height: 540px;
  }

  .hero-overlay {
    background:
      linear-gradient(
        to top,
        rgba(0, 0, 0, 0.56) 0%,
        rgba(0, 0, 0, 0.26) 38%,
        rgba(0, 0, 0, 0.10) 65%,
        rgba(0, 0, 0, 0.12) 100%
      ),
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0.30) 0%,
        rgba(0, 0, 0, 0.10) 45%,
        rgba(0, 0, 0, 0.06) 100%
      );
  }

  .hero-content {
    align-items: flex-end;
  }

  .hero-copy {
    margin-bottom: 72px;
    max-width: 340px;
  }

  .hero-copy h1 {
    font-size: clamp(1.7rem, 7vw, 2.25rem);
    line-height: 1.1;
    margin-bottom: 12px;
  }

  .hero-copy p {
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 30ch;
  }

  .hero-media {
    object-position: center center;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 500px;
  }

  .hero-copy {
    margin-bottom: 58px;
    max-width: 300px;
  }

  .hero-copy h1 {
    font-size: clamp(1.58rem, 8vw, 2rem);
  }

  .hero-copy p {
    font-size: 0.94rem;
  }
}

/* accessibility */

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 0.5s ease;
  }

  .hero-slide.is-active .hero-media {
    animation: none;
    transform: scale(1.02);
  }
}