.event-page {
	background: var(--paper);
	color: var(--ink);
}

.event-hero {
	position: relative;
	min-height: min(760px, 94svh);
	display: grid;
	align-items: end;
	overflow: hidden;
	background: var(--brand-ink);
	color: #fff;
}

.event-hero__media {
	position: absolute;
	inset: 0;
}

.event-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(4, 25, 21, 0.14), rgba(4, 25, 21, 0.78)),
		linear-gradient(90deg, rgba(4, 25, 21, 0.82), rgba(4, 25, 21, 0.22) 62%, rgba(4, 25, 21, 0.5));
}

.event-hero__media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transform: scale(1.02);
}

.event-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	gap: clamp(28px, 6vw, 90px);
	align-items: end;
	padding-top: clamp(150px, 22vh, 240px);
	padding-bottom: clamp(44px, 7vw, 86px);
}

.event-hero__copy {
	max-width: 820px;
	display: grid;
	gap: 20px;
}

.event-hero .eyebrow,
.event-intro .eyebrow,
.event-request .eyebrow,
.event-gallery .eyebrow {
	color: var(--accent);
}

.event-hero h1 {
	margin: 0;
	max-width: 840px;
	color: #fff;
	font-family: var(--font-display);
	font-size: clamp(43px, 7.4vw, 104px);
	line-height: 0.94;
	font-weight: 520;
	letter-spacing: 0;
}

.event-hero h1 em,
.event-intro h2 em,
.event-request h2 em,
.event-gallery h2 em {
	color: var(--accent);
	font-style: italic;
}

.event-hero__copy p {
	max-width: 610px;
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(17px, 2vw, 21px);
	line-height: 1.62;
}

.event-hero__card {
	display: grid;
	gap: 12px;
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.event-hero__card span {
	color: var(--accent);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.event-hero__card strong {
	color: #fff;
	font-size: clamp(22px, 3vw, 34px);
	line-height: 1.08;
}

.event-hero__card p {
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.65;
}

.event-intro {
	padding: clamp(70px, 9vw, 126px) 0 clamp(46px, 7vw, 88px);
}

.event-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.68fr);
	gap: clamp(28px, 7vw, 96px);
	align-items: start;
}

.event-intro h2,
.event-request h2,
.event-gallery h2 {
	margin: 12px 0 0;
	color: var(--brand-ink);
	font-family: var(--font-display);
	font-size: clamp(34px, 5vw, 68px);
	line-height: 1;
	font-weight: 520;
}

.event-intro__text {
	display: grid;
	gap: 18px;
	color: var(--ink-soft);
	font-size: clamp(17px, 1.45vw, 20px);
	line-height: 1.75;
}

.event-intro__text p {
	margin: 0;
}

.event-features {
	padding: 0 0 clamp(62px, 8vw, 110px);
}

.event-features__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.event-feature-card {
	min-height: 260px;
	display: grid;
	align-content: end;
	gap: 14px;
	padding: clamp(22px, 3vw, 32px);
	border: 1px solid rgba(7, 92, 80, 0.14);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.68)),
		var(--surface);
	box-shadow: 0 18px 46px rgba(7, 45, 39, 0.07);
}

.event-feature-card span {
	width: 44px;
	height: 44px;
	display: inline-grid;
	place-items: center;
	border-radius: 50%;
	background: var(--brand-ink);
	color: #fff;
	font-weight: 900;
	font-size: 12px;
}

.event-feature-card h3 {
	margin: 0;
	color: var(--brand-ink);
	font-size: clamp(22px, 2.2vw, 30px);
	line-height: 1.08;
}

.event-feature-card p {
	margin: 0;
	color: var(--muted);
	line-height: 1.65;
}

.event-request {
	padding: clamp(62px, 9vw, 118px) 0;
	background:
		linear-gradient(120deg, rgba(5, 78, 68, 0.94), rgba(6, 53, 47, 0.98)),
		var(--brand-ink);
	color: #fff;
}

.event-request__inner {
	display: grid;
	justify-items: center;
}

.event-request__panel {
	width: min(100%, 920px);
	display: grid;
	gap: 22px;
	text-align: center;
}

.event-request h2 {
	margin-top: 0;
	color: #fff;
}

.event-request p {
	max-width: 690px;
	margin: 0 auto;
	color: rgba(255, 255, 255, 0.84);
	font-size: 18px;
	line-height: 1.7;
}

.event-request ol {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: event-request;
	text-align: left;
}

.event-request li {
	position: relative;
	min-height: 96px;
	padding: 18px 18px 18px 58px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.45;
	counter-increment: event-request;
}

.event-request li::before {
	content: counter(event-request);
	position: absolute;
	top: 18px;
	left: 18px;
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--accent);
	color: var(--brand-ink);
	font-size: 12px;
	font-weight: 900;
}

.event-request__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 4px;
}

.event-request .btn-secondary {
	border-color: rgba(255, 255, 255, 0.26);
	background: transparent;
	color: #fff;
}

.event-gallery {
	padding: clamp(68px, 9vw, 120px) 0;
}

.event-gallery__head {
	max-width: 760px;
	margin-bottom: clamp(28px, 5vw, 56px);
}

.event-gallery__grid {
	columns: 4 230px;
	column-gap: clamp(12px, 1.6vw, 20px);
}

.event-gallery-card {
	position: relative;
	margin: 0 0 clamp(12px, 1.6vw, 20px);
	overflow: hidden;
	border-radius: 8px;
	background: var(--surface-2);
	break-inside: avoid;
	box-shadow: 0 16px 38px rgba(7, 45, 39, 0.08);
}

.event-gallery-card__button {
	position: relative;
	width: 100%;
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: zoom-in;
	text-align: left;
}

.event-gallery-card img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 520ms ease, filter 520ms ease;
}

.event-gallery-card figcaption {
	position: absolute;
	inset: auto 12px 12px;
	max-width: calc(100% - 24px);
	border-radius: 999px;
	padding: 8px 11px;
	background: rgba(5, 34, 29, 0.74);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 220ms ease, transform 220ms ease;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.event-gallery-card:hover img,
.event-gallery-card:focus-within img {
	transform: scale(1.045);
	filter: saturate(1.05);
}

.event-gallery-card:hover figcaption,
.event-gallery-card:focus-within figcaption {
	opacity: 1;
	transform: translateY(0);
}

.event-gallery-card__button:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: -3px;
}

.gallery-lightbox[hidden] {
	display: none;
}

.gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10020;
	display: grid;
	place-items: center;
	padding: clamp(16px, 4vw, 40px);
}

.gallery-lightbox__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(4, 20, 17, 0.84);
	cursor: zoom-out;
}

.gallery-lightbox__panel {
	position: relative;
	z-index: 1;
	width: min(100%, 1120px);
	max-height: min(88vh, 900px);
	display: grid;
	gap: 12px;
	color: #fff;
}

.gallery-lightbox__panel img {
	width: 100%;
	max-height: 82vh;
	display: block;
	object-fit: contain;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.gallery-lightbox__panel p {
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 14px;
	font-weight: 700;
}

.gallery-lightbox__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 50%;
	background: rgba(5, 34, 29, 0.72);
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

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

@media (max-width: 980px) {
	.event-hero__inner,
	.event-intro__grid,
	.event-features__grid {
		grid-template-columns: 1fr;
	}

	.event-request ol {
		grid-template-columns: 1fr;
	}

	.event-hero__card {
		max-width: 560px;
	}

	.event-gallery__grid {
		columns: 3 200px;
	}
}

@media (max-width: 640px) {
	.event-hero {
		min-height: 88svh;
	}

	.event-hero__media::after {
		background: linear-gradient(180deg, rgba(5, 34, 29, 0.16), rgba(5, 34, 29, 0.86));
	}

	.event-hero__inner {
		padding-top: 118px;
		padding-bottom: 42px;
	}

	.event-hero h1 {
		font-size: clamp(42px, 14vw, 64px);
	}

	.event-hero__card,
	.event-feature-card,
	.event-request li {
		border-radius: 7px;
	}

	.event-gallery__grid {
		columns: 2 140px;
		column-gap: 10px;
	}

	.event-gallery-card {
		margin-bottom: 10px;
		border-radius: 7px;
	}

	.event-gallery-card figcaption {
		opacity: 1;
		transform: none;
		inset: auto 8px 8px;
		max-width: calc(100% - 16px);
		border-radius: 7px;
		font-size: 11px;
	}

	.gallery-lightbox {
		padding: 10px;
	}

	.gallery-lightbox__close {
		top: 10px;
		right: 10px;
	}
}

@media (max-width: 420px) {
	.event-gallery__grid {
		columns: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.event-gallery-card img,
	.event-gallery-card figcaption {
		transition: none;
	}
}
