/* Pinned story panels */
.scroll-spacer {
  min-height: 28vh;
}

.story-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #111315;
  color: #f7f2e8;
}

.story-inner {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
}

.story-copy h2 {
  color: #f7f2e8;
  font-size: clamp(42px, 7vw, 96px);
}

.story-copy p {
  color: rgba(247, 242, 232, 0.72);
}

.progress-rail {
  position: relative;
  width: min(420px, 100%);
  height: 2px;
  margin-top: 32px;
  background: rgba(247, 242, 232, 0.2);
}

.progress-fill {
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--green);
}

.story-visuals {
  position: relative;
  min-height: min(68vh, 680px);
}

.story-panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end start;
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(22px, 4vw, 42px);
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.36), transparent 24%),
    linear-gradient(145deg, var(--from), var(--to));
  color: #111315;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.story-panel h3 {
  max-width: 8ch;
  font-size: clamp(34px, 6vw, 78px);
  line-height: 0.95;
}

@media (max-width: 860px) {
  .story-inner {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 38px 0;
  }

  .story-visuals {
    min-height: 52vh;
  }
}
