.scroll-luxury-wrapper {
  position: relative;
  width: 100%;
  height: calc((var(--slide-count, 3) + 0.15) * 100vh);
  min-height: calc((var(--slide-count, 3) + 0.15) * 100vh);
  margin: 0;
  background: transparent;
  color: #fff;
}

.scroll-luxury-backdrop {
  display: none;
}

.scroll-luxury-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  perspective: 1600px;
  perspective-origin: center;
  isolation: isolate;
  overflow: visible;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: 0px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.85);
  opacity: 0;
  transform: translate3d(0, 40px, -140px) scale(0.96);
  transition: filter 0.35s ease;
  box-shadow: 0 35px 60px rgba(8, 12, 24, 0.45);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 8, 20, 0.15) 0%, rgba(2, 8, 20, 0.85) 80%);
  z-index: 1;
}

.slide.is-active {
  filter: brightness(1);
}

.inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-align: left;
}

.inner h2 {
  font-size: clamp(2.2rem, 1.8rem + 2vw, 4.2rem);
  margin-bottom: 0.5em;
  line-height: 1.05;
}

.inner p {
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.4rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

@media (max-width: 768px) {
  .scroll-luxury-wrapper {
    height: calc((var(--slide-count, 3) + 0.5) * 100vh);
    min-height: calc((var(--slide-count, 3) + 0.5) * 100vh);
  }

  .scroll-luxury-inner {
    position: sticky;
    height: 100vh;
  }

  .slide {
    padding: clamp(1.5rem, 6vw, 3rem);
    border-radius: 0;
  }
}
