/* ============================================
   SCROLLYTELLING — Pudding.cool style
   Sticky graphic on left, text steps on right
   ============================================ */
.scrolly {
  position: relative;
  display: flex;
  gap: var(--sp-xl);
}

.scrolly__graphic {
  position: sticky;
  top: 0;
  width: 50%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg);
  border-radius: var(--radius-lg);
}

.scrolly__graphic-inner {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
}

.scrolly__text {
  width: 50%;
  padding: 40vh 0;
}

.scrolly__step {
  min-height: 60vh;
  padding: var(--sp-2xl) var(--sp-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.15;
  transition: opacity 0.6s var(--ease-out);
}

.scrolly__step.is-active {
  opacity: 1;
}


/* ============================================
   PULL QUOTES
   ============================================ */
.pull-quote {
  margin: var(--sp-3xl) auto;
  max-width: 700px;
  padding: var(--sp-xl) var(--sp-2xl);
  border-left: 2px solid var(--accent);
  position: relative;
}

.pull-quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--text-primary);
  line-height: 1.5;
  font-style: italic;
}

.pull-quote__source {
  margin-top: var(--sp-md);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}


/* ============================================
   RESPONSIVE — Scrollytelling
   ============================================ */
@media (max-width: 768px) {
  .scrolly {
    flex-direction: column;
  }

  .scrolly__graphic {
    position: sticky;
    top: 0;
    width: 100%;
    height: 50vh;
  }

  .scrolly__graphic-inner {
    max-width: 300px;
  }

  .scrolly__text {
    width: 100%;
    padding: var(--sp-xl) var(--sp-md);
  }

  .scrolly__step {
    min-height: 40vh;
    padding: var(--sp-lg) var(--sp-sm);
  }

  .pull-quote {
    padding: var(--sp-lg);
  }
}
