/* ==========================================================
   STELLOVATE GALLERY
   Archive + shared Gallery presentation
========================================================== */


/* ==========================================================
   ARCHIVE
========================================================== */

.gallery-archive {
	background: #edf0e8;
	color: #12201a;
}


/* ==========================================================
   HERO
========================================================== */

.gallery-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(
			circle at 82% 20%,
			rgba(46, 139, 87, 0.16),
			transparent 32%
		),
		#0c221c;
	color: #e8eee6;
	padding: clamp(8.5rem, 14vw, 13rem) 0 clamp(4.5rem, 8vw, 7.5rem);
}

.gallery-hero::before {
	content: "";
	position: absolute;
	width: 30rem;
	height: 30rem;
	right: -12rem;
	top: -13rem;
	border: 1px solid rgba(224, 174, 72, 0.12);
	border-radius: 50%;
	pointer-events: none;
}

.gallery-hero::after {
	content: "";
	position: absolute;
	width: 20rem;
	height: 20rem;
	right: -7rem;
	top: -8rem;
	border: 1px solid rgba(232, 238, 230, 0.07);
	border-radius: 50%;
	pointer-events: none;
}

.gallery-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns:
		minmax(0, 1.45fr)
		minmax(260px, 0.55fr);
	gap: clamp(3rem, 8vw, 9rem);
	align-items: end;
}

.gallery-hero__eyebrow {
	margin-bottom: 1.4rem;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.72rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #e0ae48;
}

.gallery-hero__title {
	max-width: 850px;
	margin: 0;
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(4rem, 8.5vw, 8rem);
	font-weight: 400;
	line-height: 0.88;
	letter-spacing: -0.055em;
	color: #edf0e8;
}

.gallery-hero__aside {
	max-width: 420px;
	padding-bottom: 0.65rem;
}

.gallery-hero__aside p {
	margin: 0;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: clamp(1rem, 1.35vw, 1.15rem);
	font-weight: 400;
	line-height: 1.7;
	color: #9db2a7;
}

.gallery-hero__line {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: rgba(232, 238, 230, 0.12);
}


/* ==========================================================
   INDEX
========================================================== */

.gallery-index {
	padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(6rem, 10vw, 10rem);
}

.gallery-index__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 3rem;
	padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.gallery-index__eyebrow {
	margin-bottom: 1rem;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.68rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #2e8b57;
}

.gallery-index__heading {
	max-width: 750px;
	margin: 0;
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(2.6rem, 5vw, 5rem);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: -0.04em;
	color: #12201a;
}

.gallery-index__count {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	flex: 0 0 auto;
}

.gallery-index__count-number {
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(2.6rem, 4vw, 4rem);
	font-weight: 400;
	line-height: 1;
	color: #15392e;
}

.gallery-index__count-label {
	margin-top: 0.4rem;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.62rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #56665e;
}


/* ==========================================================
   FILTERS
========================================================== */

.gallery-filters {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	overflow-x: auto;
	margin-bottom: clamp(3rem, 6vw, 5rem);
	padding: 0 0 1.1rem;
	border-bottom: 1px solid rgba(18, 32, 26, 0.14);
	scrollbar-width: thin;
}

.gallery-filter {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0.65rem 1rem;
	border: 1px solid rgba(18, 32, 26, 0.16);
	border-radius: 999px;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.64rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: #56665e;
	background: transparent;
	transition:
		background-color 180ms ease,
		color 180ms ease,
		border-color 180ms ease;
}

.gallery-filter:hover {
	color: #15392e;
	border-color: rgba(21, 57, 46, 0.5);
}

.gallery-filter.is-active {
	background: #15392e;
	border-color: #15392e;
	color: #edf0e8;
}


/* ==========================================================
   EDITORIAL GRID
========================================================== */

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(1.5rem, 3.5vw, 4rem);
	row-gap: clamp(4rem, 8vw, 7rem);
}

.gallery-card {
	min-width: 0;
}

.gallery-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.gallery-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #dce3d8;
}

.gallery-card--wide-media .gallery-card__media {
	aspect-ratio: 16 / 10;
}

.gallery-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.001);
	transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-card__link:hover .gallery-card__image {
	transform: scale(1.035);
}

.gallery-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(
			145deg,
			#15392e,
			#0c221c
		);
}

.gallery-card__placeholder span {
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	color: rgba(237, 240, 232, 0.55);
}

.gallery-card__category {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	max-width: calc(100% - 2rem);
	padding: 0.55rem 0.75rem;
	background: rgba(7, 23, 19, 0.88);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.59rem;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #edf0e8;
}

.gallery-card__body {
	padding-top: 1.3rem;
}

.gallery-card__meta {
	min-height: 1.2rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.8rem;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.62rem;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #56665e;
}

.gallery-card__meta-divider {
	opacity: 0.45;
}

.gallery-card__title-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1.5rem;
	align-items: start;
}

.gallery-card__title {
	max-width: 650px;
	margin: 0;
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(1.8rem, 3vw, 2.8rem);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.03em;
	color: #12201a;
}

.gallery-card__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-top: 0.1rem;
	border: 1px solid rgba(18, 32, 26, 0.2);
	border-radius: 50%;
	color: #15392e;
	transition:
		background-color 180ms ease,
		color 180ms ease,
		border-color 180ms ease,
		transform 180ms ease;
}

.gallery-card__arrow svg {
	width: 17px;
	height: 17px;
}

.gallery-card__link:hover .gallery-card__arrow {
	background: #15392e;
	border-color: #15392e;
	color: #edf0e8;
	transform: translateX(3px);
}

.gallery-card__excerpt {
	max-width: 590px;
	margin-top: 1rem;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: 0.98rem;
	line-height: 1.7;
	color: #56665e;
}

.gallery-card__excerpt p {
	margin: 0;
}


/* ==========================================================
   PAGINATION
========================================================== */

.gallery-pagination {
	margin-top: clamp(5rem, 9vw, 8rem);
	padding-top: 2rem;
	border-top: 1px solid rgba(18, 32, 26, 0.14);
}

.gallery-pagination ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gallery-pagination a,
.gallery-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0.55rem 0.85rem;
	border: 1px solid rgba(18, 32, 26, 0.16);
	text-decoration: none;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.64rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: #15392e;
}

.gallery-pagination a:hover,
.gallery-pagination .current {
	background: #15392e;
	border-color: #15392e;
	color: #edf0e8;
}


/* ==========================================================
   EMPTY STATE
========================================================== */

.gallery-empty {
	max-width: 680px;
	padding: clamp(3rem, 7vw, 6rem);
	border: 1px solid rgba(18, 32, 26, 0.14);
	background: #f6f8f3;
}

.gallery-empty__mark {
	margin-bottom: 2rem;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.65rem;
	letter-spacing: 0.18em;
	color: #2e8b57;
}

.gallery-empty h3 {
	margin: 0 0 1rem;
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.035em;
	color: #12201a;
}

.gallery-empty p {
	max-width: 480px;
	margin: 0;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	color: #56665e;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 900px) {

	.gallery-hero__inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.gallery-hero__aside {
		max-width: 560px;
	}

	.gallery-index__header {
		align-items: flex-start;
	}

	.gallery-grid {
		column-gap: 1.5rem;
		row-gap: 4rem;
	}

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 680px) {

	.gallery-hero {
		padding-top: 8rem;
		padding-bottom: 4.5rem;
	}

	.gallery-hero__title {
		font-size: clamp(3.6rem, 18vw, 5.4rem);
	}

	.gallery-index {
		padding-top: 4rem;
		padding-bottom: 6rem;
	}

	.gallery-index__header {
		display: block;
		padding-bottom: 2.5rem;
	}

	.gallery-index__count {
		align-items: flex-start;
		margin-top: 2rem;
	}

	.gallery-index__count-number {
		font-size: 2.8rem;
	}

	.gallery-filters {
		margin-right: calc(var(--container-padding, 20px) * -1);
		padding-right: var(--container-padding, 20px);
	}

	.gallery-grid {
		grid-template-columns: 1fr;
		row-gap: 4rem;
	}

	.gallery-card__media,
	.gallery-card--wide-media .gallery-card__media {
		aspect-ratio: 4 / 3;
	}

	.gallery-card__title-row {
		gap: 1rem;
	}

	.gallery-card__title {
		font-size: clamp(2rem, 9vw, 2.7rem);
	}

	.gallery-card__arrow {
		width: 40px;
		height: 40px;
	}

	.gallery-empty {
		padding: 2.2rem;
	}

}


/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

	.gallery-card__image,
	.gallery-card__arrow,
	.gallery-filter {
		transition: none;
	}

}


/* ==========================================================
   SINGLE GALLERY
========================================================== */

.single-gallery {
	background: #edf0e8;
	color: #12201a;
}


/* ==========================================================
   SINGLE HERO
========================================================== */

.gallery-single-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(
			circle at 85% 10%,
			rgba(46, 139, 87, 0.15),
			transparent 34%
		),
		#0c221c;
	color: #edf0e8;
}

.gallery-single-hero > .container {
	position: relative;
	z-index: 1;
	padding-top: clamp(155px, 17vw, 230px);
	padding-bottom: clamp(65px, 8vw, 105px);
}

.gallery-single-hero::after {
	content: "";
	position: absolute;
	right: -12rem;
	top: -13rem;
	width: 32rem;
	height: 32rem;
	border: 1px solid rgba(224, 174, 72, 0.12);
	border-radius: 50%;
	pointer-events: none;
}

.gallery-single-hero__top {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
	padding-bottom: 1.3rem;
	border-bottom: 1px solid rgba(237, 240, 232, 0.14);
}

.gallery-single-hero__eyebrow,
.gallery-single-hero__category {
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.65rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.gallery-single-hero__eyebrow {
	color: #e0ae48;
}

.gallery-single-hero__category {
	text-align: right;
	color: #9db2a7;
}

.gallery-single-hero__title {
	position: relative;
	z-index: 1;
	max-width: 1100px;
	margin: 0;
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(3.6rem, 8vw, 7.8rem);
	font-weight: 400;
	line-height: 0.91;
	letter-spacing: -0.052em;
	color: #edf0e8;
}

.gallery-single-hero__meta {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	margin-top: clamp(2rem, 4vw, 3.5rem);
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.68rem;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #9db2a7;
}

.gallery-single-hero__divider {
	color: #e0ae48;
}


/* ==========================================================
   COVER
========================================================== */

.gallery-single-cover {
	padding: clamp(2rem, 4vw, 4rem) 0 0;
	background: #edf0e8;
}

.gallery-single-cover__figure {
	overflow: hidden;
	margin: 0;
	background: #dce3d8;
}

.gallery-single-cover__image {
	display: block;
	width: 100%;
	max-height: min(76vh, 850px);
	object-fit: cover;
}


/* ==========================================================
   INTRO
========================================================== */

.gallery-single-intro {
	padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.gallery-single-intro__grid {
	display: grid;
	grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
	gap: clamp(3rem, 9vw, 10rem);
	padding-top: 2rem;
	border-top: 1px solid rgba(18, 32, 26, 0.16);
}

.gallery-single-intro__label span {
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #2e8b57;
}

.gallery-single-intro__content {
	max-width: 780px;
}

.gallery-single-intro__lead {
	margin-bottom: 2rem;
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(1.8rem, 3.5vw, 3rem);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.025em;
	color: #15392e;
}

.gallery-single-intro__lead p {
	margin: 0;
}

.gallery-single-intro__body {
	font-family: "Hanken Grotesk", sans-serif;
	font-size: clamp(1rem, 1.3vw, 1.1rem);
	line-height: 1.8;
	color: #56665e;
}

.gallery-single-intro__body > *:first-child {
	margin-top: 0;
}

.gallery-single-intro__body > *:last-child {
	margin-bottom: 0;
}


/* ==========================================================
   PHOTOS
========================================================== */

.gallery-single-photos {
	padding: clamp(5rem, 9vw, 9rem) 0;
	background: #e1e6db;
}

.gallery-single-photos__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 3rem;
	margin-bottom: clamp(3rem, 6vw, 5rem);
}

.gallery-single-photos__eyebrow {
	margin-bottom: 1rem;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #2e8b57;
}

.gallery-single-photos__title {
	margin: 0;
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(2.8rem, 5.5vw, 5.5rem);
	font-weight: 400;
	line-height: 0.94;
	letter-spacing: -0.045em;
	color: #12201a;
}

.gallery-single-photos__count {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	flex: 0 0 auto;
}

.gallery-single-photos__count-number {
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(2.6rem, 4vw, 4rem);
	font-weight: 400;
	line-height: 1;
	color: #15392e;
}

.gallery-single-photos__count-label {
	margin-top: 0.4rem;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.61rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #56665e;
}


/* ==========================================================
   EDITORIAL PHOTO GRID
========================================================== */

.gallery-single-photo-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(1rem, 1.8vw, 1.5rem);
}

.gallery-single-photo {
	grid-column: span 3;
	min-width: 0;
	margin: 0;
}

.gallery-single-photo--large {
	grid-column: span 6;
}

.gallery-single-photo__button {
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: #d5ddd1;
	cursor: zoom-in;
	text-align: left;
	appearance: none;
}

.gallery-single-photo__image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transform: scale(1.001);
	transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-single-photo--large .gallery-single-photo__image {
	aspect-ratio: 3 / 2;
}

.gallery-single-photo__button:hover .gallery-single-photo__image {
	transform: scale(1.035);
}

.gallery-single-photo__expand {
	position: absolute;
	right: 0.85rem;
	top: 0.85rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: rgba(7, 23, 19, 0.82);
	color: #edf0e8;
	opacity: 0;
	transform: translateY(-4px);
	transition:
		opacity 180ms ease,
		transform 180ms ease;
}

.gallery-single-photo__expand svg {
	width: 17px;
	height: 17px;
}

.gallery-single-photo__button:hover .gallery-single-photo__expand,
.gallery-single-photo__button:focus-visible .gallery-single-photo__expand {
	opacity: 1;
	transform: translateY(0);
}

.gallery-single-photo__caption {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.9rem;
	margin-top: 0.85rem;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: 0.9rem;
	line-height: 1.55;
	color: #56665e;
}

.gallery-single-photo__number {
	padding-top: 0.08rem;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.58rem;
	letter-spacing: 0.08em;
	color: #2e8b57;
}


/* ==========================================================
   NEXT EVENT
========================================================== */

.gallery-single-next {
	padding: clamp(5rem, 9vw, 9rem) 0;
	background: #0c221c;
}

.gallery-single-next__link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 3rem;
	align-items: center;
	color: inherit;
	text-decoration: none;
}

.gallery-single-next__eyebrow {
	margin-bottom: 1.2rem;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #e0ae48;
}

.gallery-single-next__title {
	max-width: 950px;
	margin: 0;
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(2.8rem, 6vw, 6rem);
	font-weight: 400;
	line-height: 0.94;
	letter-spacing: -0.045em;
	color: #edf0e8;
}

.gallery-single-next__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(64px, 8vw, 96px);
	height: clamp(64px, 8vw, 96px);
	border: 1px solid rgba(237, 240, 232, 0.25);
	border-radius: 50%;
	color: #edf0e8;
	transition:
		background-color 200ms ease,
		color 200ms ease,
		border-color 200ms ease,
		transform 200ms ease;
}

.gallery-single-next__arrow svg {
	width: 25px;
	height: 25px;
}

.gallery-single-next__link:hover .gallery-single-next__arrow {
	background: #e0ae48;
	border-color: #e0ae48;
	color: #0c221c;
	transform: translateX(5px);
}


/* ==========================================================
   LIGHTBOX
========================================================== */

.gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	color: #edf0e8;
}

.gallery-lightbox.is-open {
	display: block;
}

.gallery-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 11, 9, 0.97);
}

.gallery-lightbox__interface {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	width: 100%;
	height: 100%;
	padding: 1.25rem clamp(1rem, 3vw, 2.5rem) 1.5rem;
	pointer-events: none;
}

.gallery-lightbox__topbar,
.gallery-lightbox__stage,
.gallery-lightbox__caption {
	pointer-events: auto;
}

.gallery-lightbox__topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.gallery-lightbox__counter {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.66rem;
	letter-spacing: 0.1em;
	color: #9db2a7;
}

.gallery-lightbox__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(237, 240, 232, 0.2);
	border-radius: 50%;
	background: transparent;
	color: #edf0e8;
	cursor: pointer;
	font-family: Arial, sans-serif;
	font-size: 1.8rem;
	font-weight: 300;
	line-height: 1;
	transition:
		background-color 180ms ease,
		color 180ms ease;
}

.gallery-lightbox__close:hover {
	background: #edf0e8;
	color: #071713;
}

.gallery-lightbox__stage {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: clamp(0.7rem, 2vw, 2rem);
	align-items: center;
	min-height: 0;
	padding: 1rem 0;
}

.gallery-lightbox__media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 0;
	height: 100%;
}

.gallery-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 11rem);
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.gallery-lightbox__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 1px solid rgba(237, 240, 232, 0.2);
	border-radius: 50%;
	background: transparent;
	color: #edf0e8;
	cursor: pointer;
	transition:
		background-color 180ms ease,
		color 180ms ease;
}

.gallery-lightbox__nav:hover {
	background: #edf0e8;
	color: #071713;
}

.gallery-lightbox__nav svg {
	width: 20px;
	height: 20px;
}

.gallery-lightbox__caption {
	min-height: 1.5rem;
	max-width: 850px;
	margin: 0 auto;
	padding-top: 0.5rem;
	text-align: center;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #9db2a7;
}

body.gallery-lightbox-open {
	overflow: hidden;
}


/* ==========================================================
   SINGLE — TABLET
========================================================== */

@media (max-width: 900px) {

	.gallery-single-intro__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.gallery-single-photo {
		grid-column: span 6;
	}

	.gallery-single-photo--large {
		grid-column: span 6;
	}

}


/* ==========================================================
   SINGLE — MOBILE
========================================================== */

@media (max-width: 680px) {

	.gallery-single-hero > .container {
		padding-top: 140px;
		padding-bottom: 70px;
	}

	.gallery-single-hero__top {
		align-items: flex-start;
	}

	.gallery-single-hero__category {
		max-width: 50%;
	}

	.gallery-single-hero__title {
		font-size: clamp(3.3rem, 16vw, 5rem);
	}

	.gallery-single-cover {
		padding-top: 1rem;
	}

	.gallery-single-cover .container {
		padding-left: 0;
		padding-right: 0;
	}

	.gallery-single-cover__image {
		max-height: none;
		aspect-ratio: 4 / 3;
	}

	.gallery-single-photos__header {
		display: block;
	}

	.gallery-single-photos__count {
		align-items: flex-start;
		margin-top: 2rem;
	}

	.gallery-single-photo-grid {
		display: block;
	}

	.gallery-single-photo,
	.gallery-single-photo--large {
		margin-bottom: 2.5rem;
	}

	.gallery-single-photo__image,
	.gallery-single-photo--large .gallery-single-photo__image {
		aspect-ratio: 4 / 3;
	}

	.gallery-single-photo__expand {
		opacity: 1;
		transform: none;
	}

	.gallery-single-next__link {
		gap: 1.5rem;
	}

	.gallery-single-next__arrow {
		width: 58px;
		height: 58px;
	}

	.gallery-lightbox__interface {
		padding: 0.8rem;
	}

	.gallery-lightbox__stage {
		grid-template-columns: 1fr;
		position: relative;
	}

	.gallery-lightbox__nav {
		position: absolute;
		z-index: 3;
		top: 50%;
		transform: translateY(-50%);
		background: rgba(7, 23, 19, 0.75);
	}

	.gallery-lightbox__nav--previous {
		left: 0.25rem;
	}

	.gallery-lightbox__nav--next {
		right: 0.25rem;
	}

	.gallery-lightbox__image {
		max-height: calc(100vh - 10rem);
	}

}


/* ==========================================================
   SINGLE — REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

	.gallery-single-photo__image,
	.gallery-single-photo__expand,
	.gallery-single-next__arrow,
	.gallery-lightbox__close,
	.gallery-lightbox__nav {
		transition: none;
	}

}

/* ==========================================================
   SINGLE GALLERY — NEXT EVENT CTA FIX
========================================================== */

.gallery-single-next__inner {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
}

.gallery-single-next__label {
	display: block;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.65rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #e0ae48;
}

.gallery-single-next__link {
	color: #edf0e8;
}

.gallery-single-next__link > span:first-child {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.7rem;
	min-width: 0;
}

.gallery-single-next__link small {
	display: block;
	margin: 0;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.65rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #9db2a7;
}

.gallery-single-next__link strong {
	display: block;
	max-width: 950px;
	margin: 0;
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(2.8rem, 6vw, 6rem);
	font-weight: 400;
	line-height: 0.94;
	letter-spacing: -0.045em;
	color: #edf0e8;
}

.gallery-single-next__link:hover strong {
	color: #ffffff;
}

@media (max-width: 680px) {

	.gallery-single-next__link strong {
		font-size: clamp(2.3rem, 11vw, 4rem);
	}

}