.caz-home-hero {
  background: #082b59;
  color: #fff;
  margin: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.caz-home-hero__viewport {
  min-height: clamp(360px, 42vw, 620px);
  overflow: hidden;
  position: relative;
}

.caz-home-hero__track,
.caz-home-hero__slide {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.caz-home-hero__slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}

.caz-home-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.caz-home-hero__slide.is-active .caz-home-hero__image {
  animation: cazHeroImageDrift 8s ease-out both;
}

.caz-home-hero__slide.is-active .caz-home-hero__eyebrow,
.caz-home-hero__slide.is-active .caz-home-hero__title,
.caz-home-hero__slide.is-active .caz-home-hero__subtitle,
.caz-home-hero__slide.is-active .caz-home-hero__button {
  animation: cazHeroTextIn .62s ease both;
}

.caz-home-hero__slide.is-active .caz-home-hero__title {
  animation-delay: .08s;
}

.caz-home-hero__slide.is-active .caz-home-hero__subtitle {
  animation-delay: .16s;
}

.caz-home-hero__slide.is-active .caz-home-hero__button {
  animation-delay: .24s;
}

.caz-home-hero__image {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  width: 100%;
}

.caz-home-hero__shade {
  background: linear-gradient(90deg, rgba(5, 29, 61, .82) 0%, rgba(5, 29, 61, .58) 42%, rgba(5, 29, 61, .18) 100%);
  inset: 0;
  position: absolute;
}

.caz-home-hero__content {
  left: max(24px, calc((100vw - 1360px) / 2 + 24px));
  max-width: 620px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.caz-home-hero__eyebrow {
  color: #f47e00;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.caz-home-hero__title {
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .98;
  margin: 0;
  text-transform: none;
}

.caz-home-hero__subtitle {
  color: rgba(255, 255, 255, .88);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
  margin: 18px 0 0;
  max-width: 560px;
}

.caz-home-hero__button {
  align-items: center;
  background: #f47e00;
  border-radius: 999px;
  color: #fff !important;
  display: inline-flex;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  justify-content: center;
  margin-top: 28px;
  min-height: 50px;
  padding: 0 24px;
  text-decoration: none !important;
  transition: background-color .18s ease, transform .18s ease;
}

.caz-home-hero__button:active,
.caz-home-hero__button:visited {
  color: #fff !important;
}

.caz-home-hero__button:hover {
  background: #d96f00;
  color: #fff !important;
  transform: translateY(-1px);
}

.caz-home-hero__arrow {
  align-items: center;
  background: rgba(255, 255, 255, .92);
  border: 0;
  border-radius: 50%;
  bottom: 42px;
  color: #082b59;
  cursor: pointer;
  display: inline-flex;
  font-size: 22px;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  position: absolute;
  transition: background-color .18s ease, transform .18s ease;
  width: 52px;
  z-index: 3;
}

.caz-home-hero__arrow:hover {
  background: #fff;
  transform: translateY(-1px);
}

.caz-home-hero__arrow--prev {
  right: max(88px, calc((100vw - 1360px) / 2 + 88px));
}

.caz-home-hero__arrow--next {
  right: max(24px, calc((100vw - 1360px) / 2 + 24px));
}

.caz-home-hero__dots {
  bottom: 58px;
  display: flex;
  gap: 8px;
  left: max(24px, calc((100vw - 1360px) / 2 + 24px));
  position: absolute;
  z-index: 3;
}

.caz-home-hero__dot {
  background: rgba(255, 255, 255, .45);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 9px;
  padding: 0;
  width: 28px;
}

.caz-home-hero__dot.is-active {
  background: #f47e00;
}

@media (max-width: 767px) {
  .caz-home-hero__viewport {
    min-height: 460px;
  }

  .caz-home-hero__shade {
    background: linear-gradient(180deg, rgba(5, 29, 61, .25) 0%, rgba(5, 29, 61, .85) 100%);
  }

  .caz-home-hero__content {
    bottom: 88px;
    left: 20px;
    max-width: calc(100% - 40px);
    top: auto;
    transform: none;
  }

  .caz-home-hero__title {
    font-size: 31px;
  }

  .caz-home-hero__subtitle {
    font-size: 15px;
  }

  .caz-home-hero__arrow {
    bottom: 24px;
    height: 44px;
    width: 44px;
  }

  .caz-home-hero__arrow--prev {
    right: 72px;
  }

  .caz-home-hero__arrow--next {
    right: 20px;
  }

  .caz-home-hero__dots {
    bottom: 38px;
    left: 20px;
  }
}

@keyframes cazHeroImageDrift {
  0% {
    transform: scale(1.035) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.085) translate3d(-1.4%, 0, 0);
  }
}

@keyframes cazHeroTextIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .caz-home-hero__slide.is-active .caz-home-hero__image,
  .caz-home-hero__slide.is-active .caz-home-hero__eyebrow,
  .caz-home-hero__slide.is-active .caz-home-hero__title,
  .caz-home-hero__slide.is-active .caz-home-hero__subtitle,
  .caz-home-hero__slide.is-active .caz-home-hero__button {
    animation: none;
  }
}
