.home-hero-slider {
  height: clamp(470px, 52vw, 700px);
  min-height: 470px;
  isolation: isolate;
  background: #050a12;
}

.home-hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform .8s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.home-hero-track.is-jumping {
  transition: none;
}

.home-hero-track.is-jumping .hero-copy > *,
.home-hero-track.is-jumping .slide img {
  transition: none;
}

.home-hero-slider .slide {
  position: relative;
  inset: auto;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
}

.home-hero-slider .slide picture {
  position: absolute;
  inset: 0;
  display: block;
}

.home-hero-slider .slide img {
  width: 100%;
  height: calc(100% + 55px);
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--hero-image-shift, 0), 0);
  transition: none;
}

.home-hero-slider .slide.active img {
  transform: translate3d(0, var(--hero-image-shift, 0), 0);
}

.home-hero-slider .hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-block: clamp(70px, 8vw, 120px) 115px;
  justify-content: center;
  transform: translate3d(0, var(--hero-content-shift, 0), 0);
}

.home-hero-slider .hero-copy > * {
  opacity: 1;
  transform: none;
  transition: none;
}

.home-hero-slider .slide.active .hero-copy > * {
  opacity: 1;
  transform: none;
}

.home-hero-slider .slide.active .hero-copy h1,
.home-hero-slider .slide.active .hero-copy p,
.home-hero-slider .slide.active .hero-copy .btn { transition-delay: 0s; }

.home-hero-slider .hero-copy h1 {
  max-width: 780px;
  margin: 18px 0 16px;
  font-size: clamp(42px, 5.2vw, 82px);
  letter-spacing: -.045em;
}

.home-hero-slider .hero-copy p {
  max-width: 580px;
  margin: 0 0 28px;
  color: #e1e8f0;
  line-height: 1.55;
}

.home-hero-slider .hero-copy .btn {
  min-height: 50px;
  padding-inline: 25px;
  border-radius: 3px;
}

@media (max-width: 760px) {
  .home-hero-slider {
    height: min(690px, calc(100svh - 68px));
    min-height: 540px;
  }

  .home-hero-slider .slide img {
    height: calc(100% + 35px);
  }

  .home-hero-slider .hero-copy {
    justify-content: flex-end;
    padding-block: 70px 100px;
  }

  .home-hero-slider .hero-copy h1 {
    max-width: 92%;
    font-size: clamp(38px, 11vw, 54px);
  }

  .home-hero-slider .hero-copy p {
    max-width: 92%;
    margin-bottom: 22px;
    font-size: 15px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .home-hero-track { transition: none; }
  .home-hero-slider .slide img,
  .home-hero-slider .hero-copy > * { transition: none; }
}
