/* On Stage: a restrained editorial split with one uncropped photograph at a time. */
.stage-section .stage-layout {
  display: grid;
  grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr);
  align-items: start;
  gap: clamp(32px, 5vw, 82px);
}

.stage-section .stage-copy {
  min-width: 0;
  padding-top: 12px;
}

.stage-section .stage-copy p {
  max-width: 36ch;
  margin: 0;
  color: var(--muted);
}

.stage-section .stage-copy p + p { margin-top: .9em; }

.stage-section .stage-gallery {
  min-width: 0;
}

.stage-section .stage-frames {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1.38;
  max-height: 580px;
  overflow: hidden;
  background: var(--bg, #090909);
}

.stage-section .stage-frame {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  min-width: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  background: var(--bg, #090909);
}

.stage-section .stage-frame.is-active {
  z-index: 2;
  opacity: 1;
  transition: opacity 2.35s cubic-bezier(.42, 0, .35, 1);
}

/* Keep the outgoing photo underneath until the incoming photo is fully visible. */
.stage-section .stage-frame.is-leaving {
  z-index: 1;
  opacity: 1;
}

.stage-section .stage-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 701px) {
  .stage-section .stage-copy h2 { white-space: nowrap; }
}

@media (max-width: 700px) {
  .stage-section .stage-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }

  .stage-section .stage-copy { padding-top: 0; }
  .stage-section .stage-frames { aspect-ratio: 1.18; }
}

@media (prefers-reduced-motion: reduce) {
  .stage-section .stage-frame { transition: none; }
}
