/* ── Show Page Shared Styles ───────────────────────────────────────── */

.showPage {
	width: 88%;
	max-width: 1400px;
	margin: 0 auto 80px;
}

/* ── HERO ───────────────────────────────────────────────────────────── */
.showHero {
	display: grid;
	grid-template-columns: 320px 1fr;
	min-height: 600px;
	margin-top: 40px;
	gap: 0;
}

.showCredits {
	background-color: rgba(22, 26, 28, 0.95);
	padding: 48px 36px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	border-radius: 1.5rem 0 0 1.5rem;
}

.showCredits .cueLabel {
	font-family: 'frutiger', monospace;
	font-size: 11px;
	letter-spacing: 0.2em;
	color: rgb(199, 139, 7);
	margin-bottom: 16px;
}

.showCredits h1 {
	font-family: 'frutiger', sans-serif;
	font-size: 32px;
	font-weight: normal;
	color: #d3d3d3;
	margin: 0 0 8px;
	line-height: 1.2;
}

.showCredits h2 {
	font-family: 'frutiger', sans-serif;
	font-size: 15px;
	font-weight: normal;
	color: rgb(199, 139, 7);
	margin: 0 0 6px;
	letter-spacing: 0.04em;
}

.showCredits .venue {
	font-family: 'frutiger', sans-serif;
	font-size: 13px;
	color: #888;
	margin: 0 0 28px;
}

.creditsDivider {
	border: none;
	border-top: 1px solid #2a2a2a;
	margin: 0 0 20px;
}

.creditsList {
	list-style: none;
	padding: 0;
	margin: 0;
}

.creditsList li {
	font-family: 'frutiger', sans-serif;
	font-size: 12px;
	color: #888;
	padding: 5px 0;
	border-bottom: 1px solid #1e1e1e;
	display: flex;
	gap: 8px;
}

.creditsList li span.creditRole {
	color: #555;
	min-width: 120px;
	flex-shrink: 0;
}

.creditsList li span.creditName {
	color: #aaa;
}

.creditsList li a.creditName {
	color: rgb(199, 139, 7);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

.creditsList li a.creditName:hover {
	border-bottom-color: rgb(199, 139, 7);
	opacity: 0.85;
}

.creditsList li a.creditName::after {
	content: ' ↗';
	font-size: 10px;
}

/* Exception: long-form entries (e.g. an artist statement) — stack full
   width under the role/venue block instead of the fixed two-column split. */
.creditsList li.creditStatement {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 14px 0 8px;
}

.creditsList li.creditStatement span.creditRole {
	min-width: 0;
	flex-shrink: 1;
	color: rgb(199, 139, 7);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.creditsList li.creditStatement span.creditName {
	font-size: 13px;
	line-height: 1.75;
	color: #aaa;
}

.showHeroImage {
	overflow: hidden;
	position: relative;
}

.showHeroImage img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* ── DESCRIPTION ────────────────────────────────────────────────────── */
.showDescription {
	margin: 40px 0 32px;
	padding: 0 4px;
	max-width: 720px;
}

.showDescription p {
	font-family: 'frutiger', sans-serif;
	font-size: 15px;
	color: #aaa;
	line-height: 1.8;
	margin: 0;
}

/* ── SECTION LABEL ──────────────────────────────────────────────────── */
.sectionLabel {
	font-family: 'frutiger', monospace;
	font-size: 11px;
	letter-spacing: 0.2em;
	color: rgb(199, 139, 7);
	text-transform: uppercase;
	margin: 48px 0 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.sectionLabel::after {
	content: '';
	flex: 1;
	height: 1px;
	background-color: #2a2a2a;
}

/* ── PHOTO GALLERY ──────────────────────────────────────────────────── */
.photoGrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
}

.photoGrid.twoCol {
	grid-template-columns: repeat(2, 1fr);
}

.photoItem {
	overflow: hidden;
	position: relative;
	background-color: #111;
}

.photoItem img {
	width: 100%;
	display: block;
	aspect-ratio: 16/10;
	object-fit: cover;
	object-position: center;
	transition: transform 0.5s ease;
	will-change: transform;
}

.photoItem:hover img {
	transform: scale(1.04);
}

.photoCaption {
	font-family: 'frutiger', sans-serif;
	font-size: 11px;
	color: #666;
	padding: 8px 4px 0;
	letter-spacing: 0.03em;
}

/* Native-ratio gallery (Light Art) — no forced 16/10 crop. */
.photoGridNative .photoItem {
	background: none;
}

.photoGridNative .photoItem img {
	aspect-ratio: auto;
	height: auto;
	object-fit: contain;
}

/* ── HERO VIDEO (YouTube embed, e.g. BAMM!) ─────────────────────────── */
.showHeroImage.showHeroVideo {
	aspect-ratio: 16 / 9;
	height: auto;
	min-height: 0;
}

.showHeroImage.showHeroVideo iframe {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
}

/* ── PHOTO LIGHTBOX (js/lightbox.js) ────────────────────────────────── */
.lightbox:not([open]) {
	display: none;
}

.lightbox[open] {
	max-width: 100vw;
	max-height: 100vh;
	width: 100vw;
	height: 100vh;
	margin: 0;
	padding: 0;
	border: none;
	background: rgba(0, 0, 0, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox::backdrop {
	background: rgba(0, 0, 0, 0.92);
}

.lightbox img {
	max-width: 92vw;
	max-height: 92vh;
	object-fit: contain;
	border: 1px solid #1a2830;
	border-radius: 4px;
}

.lightboxClose {
	position: fixed;
	top: 16px;
	right: 20px;
	background: none;
	border: 1px solid rgba(199, 139, 7, 0.4);
	border-radius: 8px;
	color: #c78b07;
	font-family: 'frutiger', monospace;
	font-size: 22px;
	line-height: 1;
	width: 44px;
	height: 44px;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lightboxClose:hover {
	background-color: rgba(199, 139, 7, 0.12);
	border-color: #c78b07;
}

.photoItem img {
	cursor: zoom-in;
}

/* ── DOCUMENT / PAPERWORK SECTION ───────────────────────────────────── */
.docGrid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.docItem {
	display: flex;
	flex-direction: column;
}

.docItem img {
	width: 100%;
	display: block;
	border: 1px solid #2a2a2a;
	transition: border-color 0.3s ease;
}

.docItem:hover img {
	border-color: #555;
}

.docTitle {
	font-family: 'frutiger', sans-serif;
	font-size: 13px;
	color: #aaa;
	margin: 10px 0 4px;
}

.docDescription {
	font-family: 'frutiger', sans-serif;
	font-size: 12px;
	color: #666;
	line-height: 1.6;
	margin: 0;
}

/* ── BACK BUTTONS ───────────────────────────────────────────────────── */
.backButtons {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 48px 0 0;
	flex-wrap: wrap;
}

.showNav {
	display: flex;
	gap: 12px;
	margin-left: auto;
}

/* Amber-outline buttons — match the CTA buttons on the home page. */
.showNavBtn,
.backLinkRounded {
	background: none;
	border: 1px solid rgba(199, 139, 7, 0.4);
	border-radius: 8px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-family: 'frutiger', monospace;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #c78b07;
	box-sizing: border-box;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.showNavBtn { padding: 0 20px; }
.backLinkRounded { padding: 0 24px; }

.showNavBtn:visited,
.backLinkRounded:visited { color: #c78b07; }

.showNavBtn:hover,
.backLinkRounded:hover {
	background-color: rgba(199, 139, 7, 0.12);
	border-color: #c78b07;
	color: #c78b07;
}

.backLinkAmber {
	font-family: 'frutiger', sans-serif;
	font-size: 15px;
	color: rgb(199, 139, 7);
	text-decoration: none;
	letter-spacing: 0.06em;
	border-bottom: 1px solid transparent;
	padding-bottom: 2px;
	transition: border-color 0.3s ease, opacity 0.3s ease;
}

.backLinkAmber:hover {
	border-bottom-color: rgb(199, 139, 7);
	opacity: 0.8;
	color: rgb(199, 139, 7);
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
	.showHero {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.showHeroImage {
		height: 50vw;
		min-height: 260px;
	}

	.showCredits {
		padding: 32px 24px;
	}

	.photoGrid {
		grid-template-columns: repeat(2, 1fr);
	}

	.docGrid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.showPage { width: 95%; }

	.photoGrid,
	.photoGrid.twoCol {
		grid-template-columns: 1fr;
	}
}
