/* ============================================================
   lightbox styles — paired with js/lightbox.js
   extracted from nathan.dube stylesheet, self-contained
   ============================================================ */

.lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 20, 20, 0.94);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	padding: 2rem;
}

.lightbox-overlay.open { display: flex; }

.lightbox-figure {
	margin: 0;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.lightbox-img {
	max-width: 90vw;
	max-height: 80vh;
	object-fit: contain;
	background: #fff;
}

.lightbox-caption {
	color: #ddd;
	font-size: 0.85rem;
	letter-spacing: 0.02em;
	text-align: center;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
	position: absolute;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 2rem;
	cursor: pointer;
	padding: 1rem 1.5rem;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 300;
	transition: opacity 250ms ease;
	opacity: 0.6;
}

.lightbox-close { top: 1rem; right: 1rem; font-size: 1.25rem; }
.lightbox-prev  { left: 1rem; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lightbox-next  { right: 1rem; top: 50%; transform: translateY(-50%); font-size: 3rem; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }

.lightbox-video {
	max-width: 90vw;
	max-height: 80vh;
	background: #000;
	display: block;
}

.lightbox-audio {
	width: 100%;
	max-width: 600px;
	display: block;
	margin-top: 1rem;
}

/* mobile */
@media (max-width: 720px) {
	.lightbox-prev { left: 0; font-size: 2rem; }
	.lightbox-next { right: 0; font-size: 2rem; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
	.lightbox-close,
	.lightbox-prev,
	.lightbox-next { transition: none; }
}
