/**
 * A R Perfumes Lab — lets-scroll Cinematic Camera Journey Styles
 * Engineered for the scroll-driven olfactory scent trail
 */

.lets-scroll-stage {
  position: relative;
  height: 400vh; /* Pinned 4-scene scroll duration */
  background: #0E0B09;
  color: #FFFDFC;
}

.lets-scroll-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, #201813 0%, #0E0B09 100%);
}

.lets-scroll-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

/* Atmospheric Mist & Vignette Overlay */
.lets-scroll-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(14, 11, 9, 0.85) 100%),
              linear-gradient(180deg, rgba(14, 11, 9, 0.5) 0%, transparent 20%, transparent 80%, rgba(14, 11, 9, 0.8) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Narrative Cards Centered in Viewport */
.lets-scroll-narrative {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: var(--container-max);
  padding: 0 var(--container-padding);
  pointer-events: none;
}

.scene-card {
  position: absolute;
  top: 50%;
  left: var(--container-padding);
  transform: translateY(-50%);
  max-width: 480px;
  background: rgba(23, 18, 15, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(197, 138, 69, 0.4);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(197, 138, 69, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-cinematic), transform 0.5s var(--ease-cinematic), visibility 0.5s;
  pointer-events: auto;
}

.scene-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

.scene-index {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.scene-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: #FFFDFC;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.scene-desc {
  font-size: 0.9375rem;
  color: #DDD4CB;
  line-height: var(--leading-relaxed);
  margin-bottom: 1.25rem;
}

.scene-notes-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.scene-note-tag {
  background: rgba(197, 138, 69, 0.15);
  border: 1px solid rgba(197, 138, 69, 0.3);
  color: var(--color-accent-soft);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

/* Scroller Progress & Indicators */
.lets-scroll-hud {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
}

.hud-progress-track {
  width: 140px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.hud-progress-bar {
  width: 0%;
  height: 100%;
  background: var(--color-accent);
  transition: width 0.1s linear;
}

.hud-label {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B8B0A8;
}

/* Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {
  .lets-scroll-stage {
    height: auto;
    padding: var(--space-3xl) 0;
  }
  .lets-scroll-viewport {
    position: relative;
    height: auto;
  }
  .scene-card {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-bottom: 2rem;
    max-width: 100%;
  }
  .lets-scroll-hud {
    display: none;
  }
}
