/* Lightbox: shared across index.html and press-kit.html. Clickable photos
   (gallery, press-kit promo image, press-kit photo grid) open here at full
   size on a dark scrim. */
.lightbox-trigger {
  cursor: zoom-in;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  background: rgba(10, 10, 10, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease;
}

.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay__img {
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(0.97);
  transition: transform 0.22s ease;
}

.lightbox-overlay.is-open .lightbox-overlay__img {
  transform: scale(1);
}

.lightbox-overlay__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(247, 247, 245, 0.32);
  border-radius: var(--radius-full);
  color: var(--color-white);
  cursor: pointer;
}

.lightbox-overlay__close:hover {
  border-color: var(--color-white);
}

.lightbox-overlay__close svg {
  width: 18px;
  height: 18px;
}
