.production-photo { display: block; cursor: zoom-in; border-radius: var(--radius-sm); }
.project-gallery .production-photo img { display: block; width: 100%; }
html.lightbox-open { overflow: hidden; }
.mahogany-lightbox {
    position: fixed; inset: 0; width: calc(100vw - 32px); max-width: 1440px;
    height: calc(100dvh - 32px); max-height: none; margin: auto; padding: 0;
    border: 0; border-radius: 8px; background: #171310; color: #fff;
}
.mahogany-lightbox::backdrop { background: rgb(0 0 0 / .88); }
.mahogany-lightbox button {
    position: absolute; z-index: 2; display: grid; place-items: center;
    width: 48px; height: 48px; min-height: 48px; padding: 0; border: 1px solid rgb(255 255 255 / .4);
    border-radius: 50%; background: rgb(23 19 16 / .85); color: #fff;
    font: 400 36px/1 var(--font-body); cursor: pointer;
}
.mahogany-lightbox button:hover { background: var(--color-mahogany); }
.mahogany-lightbox button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mahogany-lightbox button[hidden] { display: none; }
.mahogany-lightbox .lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 12px; top: calc(50% - 24px); }
.lightbox-next { right: 12px; top: calc(50% - 24px); }
.lightbox-stage {
    display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 16px;
    height: 100%; margin: 0; padding: 64px 72px 20px; box-sizing: border-box;
}
.mahogany-lightbox .lightbox-image {
    display: block; width: 100%; height: 100%; min-height: 0;
    object-fit: contain; border-radius: 0;
}
.mahogany-lightbox figcaption { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.lightbox-count { flex-shrink: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
    .mahogany-lightbox { width: 100vw; height: 100dvh; border-radius: 0; }
    .lightbox-stage { padding: 72px 12px 80px; }
    .mahogany-lightbox .lightbox-prev { top: auto; bottom: 16px; left: 12px; }
    .mahogany-lightbox .lightbox-next { top: auto; bottom: 16px; right: 12px; }
}
