/* ==========================================================================
   AUREEVA — Scroll Build
   La escena se construye foto a foto según el scroll (fondo fijo, alineado,
   sin texto propio) y el texto de Aureeva cambia por encima, sincronizado.
   ========================================================================== */

.scroll-build {
  position: relative;
  height: 560vh;
}
@media (max-width: 860px) {
  .scroll-build { height: 480vh; }
}

.scroll-build-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  background: #e9e6d8;
}

.scroll-build-frames {
  position: absolute;
  inset: 0;
}
.scroll-build-frames img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  will-change: opacity;
}
.scroll-build-frames img:first-child { opacity: 1; }

.scroll-build-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(250, 248, 241, 0.32) 0%, rgba(250, 248, 241, 0.12) 32%, rgba(250, 248, 241, 0) 55%);
  pointer-events: none;
}

.scroll-build-inner {
  position: relative;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
}

.scroll-build-panels {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 44%;
  min-height: 200px;
}
.sb-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}
.sb-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-deep);
  margin-bottom: 16px;
}
.sb-headline {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.12;
  color: var(--forest-darkest);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.sb-panel p {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0;
}

.scroll-build-progress {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.scroll-build-progress .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(38, 38, 32, 0.22);
  transition: background 0.3s ease, transform 0.3s ease;
}
.scroll-build-progress .dot.active {
  background: var(--forest-deep);
  transform: scale(1.3);
}

@media (max-width: 860px) {
  .scroll-build-frames img { object-position: 62% center; }
  .scroll-build-inner { padding: 0 20px; align-items: flex-end; padding-bottom: 68px; }
  .scroll-build-panels { max-width: 100%; height: auto; min-height: 230px; }
  .sb-headline { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .sb-panel p { max-width: 34ch; }
  .scroll-build-scrim {
    background: linear-gradient(180deg, rgba(250, 248, 241, 0) 0%, rgba(250, 248, 241, 0.35) 55%, rgba(250, 248, 241, 0.92) 100%);
  }
}

@media (max-width: 420px) {
  .scroll-build-panels { min-height: 250px; }
  .sb-headline { font-size: clamp(1.35rem, 6vw, 2rem); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-build-frames img, .sb-panel { transition: none; }
}
