.home-page .header-top-bg {
  background-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px) saturate(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.08);
}

.home-hero-carousel {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  margin-top: 0;
  padding: 20px 0 30px;
}

.home-hero-backdrops {
  position: absolute;
  top: calc(-1 * var(--home-hero-header-reach, 80px));
  bottom: -28px;
  left: 50%;
  width: 100vw;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 68%,
    rgba(0, 0, 0, 0.94) 76%,
    rgba(0, 0, 0, 0.7) 86%,
    rgba(0, 0, 0, 0.3) 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 68%,
    rgba(0, 0, 0, 0.94) 76%,
    rgba(0, 0, 0, 0.7) 86%,
    rgba(0, 0, 0, 0.3) 94%,
    transparent 100%
  );
  z-index: -2;
}

.home-hero-backdrops::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.18) 0%,
      rgba(15, 23, 42, 0.08) 62%,
      rgba(246, 247, 248, 0.08) 72%,
      rgba(246, 247, 248, 0.28) 82%,
      rgba(246, 247, 248, 0.62) 92%,
      #f6f7f8 100%
    );
  z-index: 2;
}

.home-hero-backdrop {
  position: absolute;
  inset: -40px;
  filter: blur(30px) brightness(0.62) saturate(1.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.72s ease, visibility 0s linear 0.72s;
  will-change: opacity;
}

.home-hero-backdrop > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.home-hero-backdrop.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.home-hero-shell {
  --home-hero-side-hit-area: max(var(--edge-carousel-arrow-width), calc((100vw - 100%) / 2));
  width: 100%;
  outline: none;
  z-index: 1;
}

.home-hero-arrow {
  width: var(--home-hero-side-hit-area);
}

.home-hero-arrow.edge-carousel-arrow-prev {
  left: calc(-1 * var(--home-hero-side-hit-area));
}

.home-hero-arrow.edge-carousel-arrow-next {
  right: calc(-1 * var(--home-hero-side-hit-area));
}

.home-hero-shell:focus-visible .home-hero-viewport {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.72);
}

.home-hero-viewport {
  width: 100%;
  aspect-ratio: 4 / 1;
  overflow: hidden;
  border-radius: 26px;
  background: #111827;
  cursor: pointer;
  touch-action: pan-y;
}

.home-hero-viewport.is-dragging {
  cursor: grabbing;
}

.home-hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  will-change: transform;
}

.home-hero-track.is-animated {
  transition: transform 0.72s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.home-hero-slide {
  position: relative;
  display: block;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  user-select: none;
}

.home-hero-slide > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.005);
}

.home-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.34);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 6px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 4;
}

.home-hero-shell:hover .home-hero-dots {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.home-hero-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.home-hero-dot.is-active {
  width: 18px;
  border-radius: 999px;
  background: #fff;
}

.home-hero-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .home-hero-carousel {
    margin-top: 0;
    padding: 12px 4px 24px;
  }

  .home-hero-viewport {
    border-radius: 18px;
  }

  .home-hero-dots {
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-track,
  .home-hero-backdrop,
  .home-hero-dots,
  .home-hero-dot {
    transition: none !important;
  }
}
