/* ─── production gallery + lightbox ─────────────────────────────────────
   Horizontal strip of gallery images below the production body.
   Click any image to open a full-viewport lightbox. */

.production-gallery {
  padding: 64px 0;
  border-bottom: 1px solid var(--rule);
}
.gallery-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.gallery-strip::-webkit-scrollbar { height: 6px; }
.gallery-strip::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 3px; }
.gallery-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  margin: 0;
  cursor: zoom-in;
  max-width: 480px;
}
.gallery-item:focus-visible {
  outline: 2px solid var(--sulfur);
  outline-offset: 4px;
}
.gallery-item picture,
.gallery-item img {
  height: 320px;
  width: auto;
  max-width: 100%;
  display: block;
}
.gallery-item figcaption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.5;
}

/* Lightbox dialog */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(14, 14, 14, 0.95);
  color: var(--bg);
}
.lightbox::backdrop {
  background: rgba(14, 14, 14, 0.95);
}
.lightbox[open] {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
}
.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 82vh;
  overflow: hidden;
}
.lightbox-stage picture,
.lightbox-stage img {
  display: block;
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
}
.lightbox-caption {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.75);
  max-width: 720px;
  text-align: center;
  padding: 16px 24px 24px;
  line-height: 1.5;
  margin: 0;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: none;
  border: none;
  color: var(--bg);
  cursor: pointer;
  font-family: var(--display);
  font-weight: 300;
  line-height: 1;
  padding: 12px;
  transition: color 120ms;
}
.lightbox-close {
  top: 16px;
  right: 20px;
  font-size: 32px;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 56px;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--sulfur); }
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 2px solid var(--sulfur);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Mobile gallery + lightbox */
@media (max-width: 760px) {
  .gallery-item picture,
  .gallery-item img { height: 240px; }
  .gallery-item figcaption { font-size: 10px; }
  .lightbox-prev,
  .lightbox-next { font-size: 36px; padding: 8px; }
  .lightbox-close { font-size: 28px; }
}
