.home-carousel {
  position: relative;
  overflow: hidden;
}

.home-carousel-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

.home-carousel-sizer {
  visibility: hidden;
  pointer-events: none;
}

.home-carousel-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  min-height: 0;
  transform: translate3d(0, 0, 0);
  transition: transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.home-carousel-slide {
  position: relative;
  display: flex;
  flex: 0 0 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 0 clamp(12px, 4vw, 64px);
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  pointer-events: none;
}

.home-carousel-slide::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 12, 14, 0.84), rgba(12, 12, 14, 0.58) 50%, rgba(12, 12, 14, 0.84)),
    linear-gradient(0deg, rgba(12, 12, 14, 0.74), transparent 46%);
  pointer-events: none;
}

.home-carousel-slide.is-active {
  pointer-events: auto;
}

.home-carousel-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 !important;
  box-sizing: border-box;
  text-align: left;
}

.home-carousel-copy .eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-carousel-copy h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(2.65rem, 3.6vw, 3.45rem);
  line-height: 1.08;
}

.home-carousel-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
  line-height: 1.65;
}

.home-carousel-copy p + p {
  margin-top: 12px;
}

.home-carousel-copy .hero-actions {
  justify-content: flex-start;
  margin-top: 30px;
}

.home-carousel-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-carousel-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.5;
  filter: saturate(0.78) contrast(1.04);
  transform: scale(1.025);
}

.home-carousel-hosts {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(30px, 8vw, 120px);
  padding-bottom: 56px;
  opacity: 0.17;
  pointer-events: none;
}

.home-carousel-hosts span {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2.7rem);
  font-weight: 800;
}

.home-carousel-controls {
  position: absolute;
  bottom: 26px;
  left: 50%;
  z-index: 4;
  display: none;
  transform: translateX(-50%);
}

.home-carousel.is-enhanced .home-carousel-controls {
  display: block;
}

.home-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
}

.home-carousel-dot {
  appearance: none;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: width 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.home-carousel-dot:hover,
.home-carousel-dot:focus-visible {
  border-color: #fff;
}

.home-carousel-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.home-carousel-dot.is-active {
  width: 24px;
  border-color: var(--accent);
  border-radius: 5px;
  background: var(--accent);
}

@media (max-width: 782px) {
  .home-carousel-slide {
    padding: 0;
  }

  .home-carousel-copy h1 {
    overflow-wrap: anywhere;
    font-size: clamp(2.15rem, 9.5vw, 2.8rem);
    line-height: 1.04;
  }

  .home-carousel-copy {
    padding: 36px 20px 54px !important;
  }

  .home-carousel-copy p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .home-carousel-copy .hero-actions {
    margin-top: 26px;
  }

  .home-carousel-hosts {
    gap: 18px;
  }

  .home-carousel-hosts span {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-carousel-track,
  .home-carousel-dot {
    transition: none;
  }
}
