/* ===========================================================
   Genius Creative — lightbox
   Native-resolution artwork overlay. Companion to
   js/lightbox.js, which builds and drives this markup.
   =========================================================== */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: rgba(6, 6, 8, 0.94);
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.5);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover,
.lightbox-close:focus-visible { border-color: var(--gold); color: var(--gold); }
.lightbox-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
@media (max-width: 620px) {
  .lightbox { padding: 20px; }
}
