.home-hero{
  --hero-accent: #fff;
  --hero-progress: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  border: 0;
  background: #020202;
  touch-action: pan-y;
}

.home-hero__slides,
.home-hero__slide,
.home-hero__media,
.home-hero__veil{
  position: absolute;
  inset: 0;
}

.home-hero__slide{
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity .85s ease, visibility 0s linear .85s;
}

.home-hero__slide.is-active{
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.home-hero__media{
  display: block;
  overflow: hidden;
}

.home-hero__media :is(img, video){
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  transition: transform 7s cubic-bezier(.2,.62,.25,1);
}

.home-hero__slide.is-active .home-hero__media :is(img, video){
  transform: scale(1);
}

.home-hero__veil{
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.32) 0%, rgba(0,0,0,.03) 34%, rgba(0,0,0,.22) 58%, rgba(0,0,0,.9) 100%),
    linear-gradient(90deg, rgba(0,0,0,.28), transparent 30%, transparent 70%, rgba(0,0,0,.22));
  pointer-events: none;
}

.home-hero__content{
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(92px, 12vh, 142px);
  width: min(860px, calc(100% - (2 * var(--gutter))));
  color: #fff;
  text-align: center;
  transform: translate(-50%, 22px);
  opacity: 0;
  transition: opacity .55s ease .22s, transform .65s ease .22s;
}

.home-hero__slide.is-active .home-hero__content{
  opacity: 1;
  transform: translate(-50%, 0);
}

.home-hero__title{
  max-width: 720px;
  margin: 0 auto;
  color: #fff;
  text-transform: uppercase;
  text-wrap: balance;
  font-family: var(--font-heading);
  font-size: clamp(30px, 2vw, 38px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: .045em;
  text-align: center;
  text-shadow: 0 3px 28px rgba(0,0,0,.42);
}

.home-hero__copy{
  max-width: 620px;
  margin: clamp(12px, 1.7vh, 18px) auto 0;
  color: rgba(255,255,255,.76);
  font-family: var(--font-copy);
  font-size: clamp(15px, .9vw, 16px);
  line-height: 1.5;
  text-align: center;
}

.home-hero__cta{
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin-top: clamp(20px, 3vh, 30px);
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  color: #050505;
  background: #fff;
  text-decoration: none;
  text-transform: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  box-shadow: none;
  transition: filter 200ms ease;
}

@media (hover: hover) and (pointer: fine){
  .home-hero__cta:hover{
    filter: brightness(0.75);
  }
}

.home-hero__cta:focus-visible,
.home-hero__arrow:focus-visible,
.home-hero__dot:focus-visible{
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.home-hero__arrow{
  position: absolute;
  z-index: 3;
  top: 44%;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--hero-accent);
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color .2s ease, transform .2s ease;
}

.home-hero__arrow span{
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
}

.home-hero__arrow--prev span{
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
  transform: rotate(45deg);
}

.home-hero__arrow--next span{
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.home-hero__arrow--prev{ left: 12px; }
.home-hero__arrow--next{ right: 12px; }

.home-hero__navigation{
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: clamp(24px, 4vh, 42px);
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
}

.home-hero__dots{
  display: flex;
  min-height: 30px;
  align-items: center;
  gap: 4px;
}

.home-hero__dot{
  position: relative;
  width: 8px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: width .25s ease;
}

.home-hero__dot::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.42);
  transform: translate(-50%, -50%);
  transition: background-color .2s ease, transform .2s ease;
}

.home-hero__dot::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  display: none;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: #fff;
  transform: translateY(-50%) scaleX(var(--hero-progress));
  transform-origin: left center;
}

.home-hero__dot.is-active{
  width: 24px;
}

.home-hero__dot.is-active::before{
  right: 0;
  left: 0;
  width: auto;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.3);
  transform: translateY(-50%);
}

.home-hero__dot.is-active::after{
  display: block;
}

@media (hover: hover) and (pointer: fine){
  .home-hero__dot:hover::before{
    background: rgba(255,255,255,.78);
    transform: translate(-50%, -50%) scale(1.25);
  }

  .home-hero__dot.is-active:hover::before{
    transform: translateY(-50%);
  }
}

@media (max-width: 720px){
  .home-hero{
    min-height: 100vh;
    min-height: 100svh;
  }

  .home-hero__slide .home-hero__media img{
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .home-hero__veil{
    background:
      linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.04) 30%, rgba(0,0,0,.2) 48%, rgba(0,0,0,.94) 100%);
  }

  .home-hero__content{
    bottom: 92px;
    width: calc(100% - 44px);
  }

  .home-hero__copy{
    max-width: 34rem;
    font-size: 15px;
  }

  .home-hero__navigation{
    bottom: 24px;
  }
}

@media (orientation: landscape) and (max-height: 600px){
  .home-hero__content{
    bottom: 54px;
  }

  .home-hero__title{
    font-size: clamp(28px, 3.6vw, 34px);
  }

  .home-hero__copy{
    margin-top: 8px;
    font-size: 15px;
  }

  .home-hero__cta{
    margin-top: 12px;
  }

  .home-hero__navigation{
    bottom: 12px;
  }
}

@media (max-width: 720px){
  .home-hero__title{
    font-size: clamp(16px, 4.5vw, 30px);
    line-height: 1.08;
    letter-spacing: .025em;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce){
  .home-hero__slide,
  .home-hero__content,
  .home-hero__media :is(img, video),
  .home-hero__cta,
  .home-hero__arrow,
  .home-hero__dot::before{
    transition: none;
  }
}
