/* Stage hero-1 lightbox — desktop + tablet-landscape */

.chr-stage__hero-img--lightbox {
  cursor: zoom-in;
}

.chr-hero-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
  pointer-events: none;
}

.chr-hero-lightbox[hidden] {
  display: none !important;
}

.chr-hero-lightbox.is-open {
  pointer-events: auto;
}

.chr-hero-lightbox__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  cursor: zoom-out;
  background: rgba(15, 20, 25, 0.28);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.chr-hero-lightbox.is-open .chr-hero-lightbox__backdrop {
  opacity: 1;
}

.chr-hero-lightbox__frame {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  padding: 24px;
  border-radius: 0.65rem;
  background: #283342;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.3s ease,
    transform 0.34s cubic-bezier(0.22, 1.15, 0.36, 1);
}

.chr-hero-lightbox.is-open .chr-hero-lightbox__frame {
  opacity: 1;
  transform: scale(1);
}

.chr-hero-lightbox__img {
  display: block;
  max-width: min(92vw - 48px, 100%);
  max-height: min(92vh - 48px, 100%);
  object-fit: contain;
  background: transparent;
  border-radius: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .chr-hero-lightbox__backdrop,
  .chr-hero-lightbox__frame {
    transition: none;
  }

  .chr-hero-lightbox__frame {
    transform: none;
  }
}
