/* Antidote Kitchen - Events page. Scoped to .ak-ev; loaded on /events/ only. */

.ak-ev {
	--ev-green: #2f433e;
	--ev-green-deep: #16211e;
	--ev-cream: #f6f1e7;
	--ev-gold: #c8a95e;
	--ev-line: rgba(246, 241, 231, 0.18);
	--ev-display: "Kalnia Medam", "Assistant", serif;
	--ev-body: "Open Sans", "Assistant", -apple-system, "Segoe UI", sans-serif;
	background: var(--ev-green-deep);
	color: var(--ev-cream);
	font-family: var(--ev-body);
	font-size: 17px;
	line-height: 1.7;
	overflow-x: hidden;
}
.ak-ev *, .ak-ev *::before, .ak-ev *::after { box-sizing: border-box; }
.ak-ev img, .ak-ev video { display: block; max-width: 100%; }
.ak-ev p { margin: 0 0 1em; color: rgba(246, 241, 231, 0.82); }
.ak-ev h1, .ak-ev h2, .ak-ev h3 { color: var(--ev-cream); margin: 0; }

.ak-ev-eyebrow {
	font-family: "Assistant", var(--ev-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--ev-gold) !important;
	margin: 0 0 14px !important;
}
.ak-ev-h2 {
	font-family: var(--ev-display);
	font-weight: 600;
	text-transform: uppercase;
	font-size: clamp(34px, 5vw, 60px);
	line-height: 1.02;
	margin-bottom: 22px !important;
}

/* Buttons - the same pill language as the location pages. */
.ak-ev-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ak-ev-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 30px;
	border-radius: 999px;
	background: var(--ev-green);
	color: var(--ev-cream) !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: transform 0.25s ease, background-color 0.25s ease;
}
.ak-ev-btn:hover { transform: translateY(-2px); background: #3b544e; }
.ak-ev-btn--light { background: var(--ev-cream); color: var(--ev-green-deep) !important; }
.ak-ev-btn--light:hover { background: #fff; }

/* Hero */
.ak-ev-hero {
	position: relative;
	min-height: min(88vh, 820px);
	display: flex;
	align-items: flex-end;
	isolation: isolate;
}
.ak-ev-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}
.ak-ev-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(22, 33, 30, 0.35) 0%, rgba(22, 33, 30, 0.55) 45%, var(--ev-green-deep) 100%);
}
.ak-ev-hero__inner { width: min(1200px, 100%); margin: 0 auto; padding: 140px 24px 80px; }
.ak-ev-hero__title {
	font-family: var(--ev-display);
	font-weight: 600;
	text-transform: uppercase;
	font-size: clamp(64px, 13vw, 170px);
	line-height: 0.9;
	margin-bottom: 20px !important;
}
.ak-ev-hero__lead { font-size: clamp(17px, 2vw, 21px); max-width: 560px; margin-bottom: 30px !important; }

/* Intro */
.ak-ev-intro,
.ak-ev-services,
.ak-ev-past,
.ak-ev-gallery-wrap {
	width: min(1200px, 100%);
	margin: 0 auto;
	padding: 90px 24px;
}
.ak-ev-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ak-ev-intro__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ak-ev-intro__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; }
.ak-ev-intro__media img:last-child { margin-top: 60px; }

/* Service cards */
.ak-ev-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 0; }
.ak-ev-card {
	background: #1c2a26;
	border: 1px solid var(--ev-line);
	border-radius: 20px;
	overflow: hidden;
}
.ak-ev-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ak-ev-card__body { padding: 26px 26px 12px; }
.ak-ev-card h3 {
	font-family: var(--ev-display);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 24px;
	line-height: 1.1;
	margin-bottom: 12px;
}
.ak-ev-card p { font-size: 15.5px; }

/* Past event features */
.ak-ev-past { border-top: 1px solid var(--ev-line); }
.ak-ev-head { max-width: 720px; margin-bottom: 40px; }
.ak-ev-feature {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 220px;
	gap: 16px;
}
.ak-ev-feature > * { margin: 0; border-radius: 18px; overflow: hidden; background: #1c2a26; }
.ak-ev-feature img, .ak-ev-feature video { width: 100%; height: 100%; object-fit: cover; }
.ak-ev-reel { grid-row: span 2; }
.ak-ev-feature .ak-ev-shot:nth-of-type(1) { grid-column: span 2; grid-row: span 2; }
.ak-ev-feature--flip .ak-ev-shot:nth-of-type(1) { grid-column: span 2; grid-row: span 1; }
.ak-ev-feature--flip .ak-ev-shot:nth-of-type(2) { grid-column: span 2; }
.ak-ev-shot img { transition: transform 0.6s ease; }
.ak-ev-shot:hover img { transform: scale(1.04); }

/* Gallery */
.ak-ev-gallery-wrap { border-top: 1px solid var(--ev-line); }
.ak-ev-gallery { columns: 4 220px; column-gap: 16px; }
.ak-ev-gallery a { display: block; margin-bottom: 16px; border-radius: 16px; overflow: hidden; break-inside: avoid; }
.ak-ev-gallery img { width: 100%; transition: transform 0.6s ease; }
.ak-ev-gallery a:hover img { transform: scale(1.04); }

/* Call to action */
.ak-ev-cta {
	text-align: center;
	padding: 110px 24px;
	background: var(--ev-green);
}
.ak-ev-cta p { max-width: 560px; margin-left: auto; margin-right: auto; }
.ak-ev-cta .ak-ev-eyebrow { margin-left: auto !important; margin-right: auto !important; }
.ak-ev-cta .ak-ev-actions { justify-content: center; margin-top: 30px; }
.ak-ev-cta .ak-ev-btn:not(.ak-ev-btn--light) { background: var(--ev-green-deep); }

/* Lightbox */
.ak-ev-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(11, 18, 16, 0.94);
	cursor: zoom-out;
}
.ak-ev-lightbox.is-open { display: flex; }
.ak-ev-lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; }

@media (max-width: 1024px) {
	.ak-ev-intro { grid-template-columns: 1fr; gap: 40px; }
	.ak-ev-services { grid-template-columns: 1fr 1fr; }
	.ak-ev-feature { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
	.ak-ev-feature .ak-ev-shot:nth-of-type(n) { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 767px) {
	.ak-ev { font-size: 16px; }
	.ak-ev-hero { min-height: 82vh; }
	.ak-ev-hero__inner { padding: 120px 20px 56px; }
	.ak-ev-intro, .ak-ev-services, .ak-ev-past, .ak-ev-gallery-wrap { padding: 64px 20px; }
	.ak-ev-services { grid-template-columns: 1fr; padding-top: 0; }
	.ak-ev-intro__media img:last-child { margin-top: 36px; }
	.ak-ev-feature { grid-auto-rows: 160px; gap: 12px; }
	.ak-ev-gallery { columns: 2; column-gap: 12px; }
	.ak-ev-gallery a { margin-bottom: 12px; }
	.ak-ev-actions .ak-ev-btn { flex: 1 1 auto; }
	.ak-ev-cta { padding: 80px 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.ak-ev-btn, .ak-ev img { transition: none !important; }
}
