:root {
	--bg: #070708;
	--bg-elevated: #0e0f12;
	--fg: #f0f2f5;
	--muted: #8b95a3;
	--line: #252a33;
	--glitch-red: #ff2248;
	--glitch-cyan: #00e8ff;
	--accent: var(--glitch-red);
	--effect-glitch-text: 1px 0 0 var(--glitch-red), -1px 0 0 var(--glitch-cyan);
	--effect-glitch-icon: drop-shadow(1px 0 0 var(--glitch-red)) drop-shadow(-1px 0 0 var(--glitch-cyan));
	--font-display: "Bebas Neue", "Arial Narrow", system-ui, sans-serif;
	--font-body: "Barlow", system-ui, sans-serif;
	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 4rem;
	--space-2xl: 6rem;
	--max: 72rem;
	--radius: 10px;
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	/* Shared with header tagline — same type scale as “Follow us” */
	--landing-display-heading-size: clamp(2.15rem, 5.5vw, 3.35rem);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	background: var(--bg);
	color: var(--fg);
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--font-body);
	font-size: 1.05rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	position: relative;
}

/* Full-viewport background carousel (same idea as main site hero) */
.landing-bg-carousel {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	overflow: hidden;
}

.landing-bg-carousel--empty {
	display: none;
}

.landing-bg-carousel__bleed {
	position: absolute;
	inset: auto;
	top: -12%;
	left: 0;
	right: 0;
	height: 124%;
}

.landing-bg-carousel__slides {
	position: absolute;
	inset: 0;
}

.landing-bg-slide {
	position: absolute;
	inset: 0;
	overflow: hidden;
	opacity: 0;
	transition: opacity 1.1s ease-in-out;
	pointer-events: none;
}

.landing-bg-slide.is-active {
	opacity: 1;
}

.landing-bg-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	max-width: none;
	max-height: none;
	display: block;
	transform: scale(1.1);
	filter: blur(12px);
}

.landing-bg-scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background-image:
		linear-gradient(
			105deg,
			color-mix(in srgb, #000 62%, transparent) 0%,
			color-mix(in srgb, #000 28%, transparent) 38%,
			transparent 72%
		),
		linear-gradient(
			to top,
			var(--bg) 0%,
			color-mix(in srgb, var(--bg) 88%, transparent) 48%,
			color-mix(in srgb, var(--bg) 42%, transparent) 100%
		);
}

@media (max-width: 768px) {
	.landing-bg-scrim {
		background-image:
			linear-gradient(
				100deg,
				color-mix(in srgb, #000 52%, transparent) 0%,
				color-mix(in srgb, #000 18%, transparent) 45%,
				transparent 68%
			),
			linear-gradient(
				to top,
				var(--bg) 0%,
				color-mix(in srgb, var(--bg) 84%, transparent) 52%,
				color-mix(in srgb, var(--bg) 34%, transparent) 100%
			);
	}
}

@media (prefers-reduced-motion: reduce) {
	.landing-bg-slide {
		transition: none;
	}

	.landing-bg-slide img {
		transform: none;
		filter: none;
	}
}

.ambient-glow {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background:
		radial-gradient(ellipse 90% 55% at 5% -15%, color-mix(in srgb, var(--glitch-red) 14%, transparent), transparent 52%),
		radial-gradient(ellipse 75% 50% at 100% 8%, color-mix(in srgb, var(--glitch-cyan) 10%, transparent), transparent 48%),
		radial-gradient(ellipse 55% 35% at 50% 105%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 50%);
	opacity: 0.85;
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 25;
	opacity: 0.045;
	background: repeating-linear-gradient(
		0deg,
		transparent,
		transparent 2px,
		rgba(255, 255, 255, 0.045) 2px,
		rgba(255, 255, 255, 0.045) 3px
	);
	mix-blend-mode: screen;
}

@media (prefers-reduced-motion: reduce) {
	body::after {
		opacity: 0.02;
	}
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.wrap {
	width: min(100% - var(--space-md) * 2, var(--max));
	margin-inline: auto;
}

/* Scroll reveals: visible by default; .landing-motion enhances */
.reveal {
	opacity: 1;
	transform: none;
}

.landing-motion .reveal:not(.is-inview) {
	opacity: 0;
	transform: translate3d(0, 1.15rem, 0);
	will-change: opacity, transform;
}

.landing-motion .reveal.is-inview {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition:
		opacity 0.75s var(--ease-out),
		transform 0.75s var(--ease-out);
	transition-delay: calc(var(--reveal-i, 0) * 0.06s);
	will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
	.landing-motion .reveal:not(.is-inview),
	.landing-motion .reveal.is-inview {
		opacity: 1;
		transform: none;
		transition: none;
		will-change: auto;
	}
}

.landing-header {
	position: relative;
	z-index: 1;
	padding-top: calc(clamp(var(--space-sm), 3vw, var(--space-md)) + 23px);
	padding-bottom: clamp(var(--space-xs), 1.5vw, var(--space-sm));
	border-bottom: none;
}

.landing-header__inner {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.landing-header__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(0.28rem, 1.35vw, 0.55rem);
	max-width: min(94vw, 44rem);
}

.landing-logo {
	width: auto;
	height: auto;
	max-height: clamp(12.5rem, 48vmin, 28rem);
	max-width: 100%;
	object-fit: contain;
	transform: translateY(-10px);
}

/* Tagline: matches .landing-follow__heading (same variable + face, color, spacing, hover glitch). */
.landing-header__brand .landing-tagline {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.06rem;
	text-align: center;
	font-family: var(--font-display);
	font-size: calc(0.7 * var(--landing-display-heading-size));
	font-weight: 400;
	letter-spacing: 0.07em;
	line-height: 1.02;
	text-transform: uppercase;
	color: var(--fg);
	transition: text-shadow 0.2s ease;
}

.landing-header__brand .landing-tagline__line {
	display: block;
	font-size: inherit;
	font-family: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	text-transform: inherit;
	color: inherit;
	transition: inherit;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.landing-header__brand:hover .landing-tagline__line {
		text-shadow: var(--effect-glitch-text);
	}
}

.landing-main {
	padding-block: 0 var(--space-xl);
	position: relative;
	z-index: 1;
}

.section-intro {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	gap: 0 var(--space-lg);
	align-items: start;
	margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.section-intro__index {
	grid-row: 1 / 3;
	align-self: center;
	font-family: var(--font-body);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.28em;
	color: color-mix(in srgb, var(--muted) 85%, var(--accent) 15%);
	line-height: 1;
	padding-top: 0.35rem;
}

.section-intro__copy {
	min-width: 0;
}

.section-intro__rule {
	grid-column: 1 / -1;
	display: block;
	height: 1px;
	margin-top: var(--space-md);
	background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--glitch-cyan) 40%, transparent) 42%, transparent 78%);
	transform-origin: left center;
}

.section-intro__rule--flip {
	transform-origin: right center;
	background: linear-gradient(270deg, var(--accent), color-mix(in srgb, var(--glitch-cyan) 35%, transparent) 40%, transparent 75%);
}

.landing-motion .section-intro__rule {
	transform: scaleX(0);
	transition: transform 0.9s var(--ease-out);
	transition-delay: calc(0.15s + var(--reveal-i, 0) * 0.06s);
}

.landing-motion .section-intro.reveal.is-inview .section-intro__rule {
	transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
	.landing-motion .section-intro__rule {
		transform: scaleX(1);
		transition: none;
	}
}

.section-label {
	margin: 0 0 var(--space-xs);
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 400;
	letter-spacing: 0.14em;
	line-height: 1;
	text-transform: uppercase;
	color: var(--accent);
}

.display-section {
	font-family: var(--font-display);
	font-size: clamp(2rem, 5.2vw, 3.35rem);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 0;
	max-width: 20ch;
	text-shadow: none;
	transition: text-shadow 0.25s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.section-intro__copy:hover .display-section {
		text-shadow: var(--effect-glitch-text);
	}
}

.landing-gallery {
	margin-bottom: 0;
	padding-top: 0;
	width: 100%;
	max-width: 100%;
}

/* Gallery: full-width main image, arrows overlaid inside frame */
.gallery-carousel {
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
	outline: none;
}

.gallery-carousel:focus-visible {
	box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
	border-radius: var(--radius);
}

.gallery-carousel__stage {
	width: 100%;
	margin-bottom: var(--space-sm);
}

.gallery-carousel__main {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
	border-radius: var(--radius);
	border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
	background: var(--bg-elevated);
	overflow: hidden;
	aspect-ratio: 16 / 10;
	max-height: min(78vh, 42rem);
	box-shadow: 0 20px 48px -24px rgba(0, 0, 0, 0.55);
}

.gallery-carousel__arrow {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(3rem, 18vw, 6rem);
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 0;
	cursor: pointer;
	color: #fff;
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 4vw, 1.85rem);
	line-height: 1;
	opacity: 0.42;
	text-shadow:
		0 0 14px rgba(0, 0, 0, 0.9),
		0 2px 6px rgba(0, 0, 0, 0.85);
	transition:
		opacity 0.3s ease,
		background 0.3s ease,
		color 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}

.gallery-carousel__arrow--prev {
	left: 0;
	justify-content: center;
	padding-inline: clamp(0.15rem, 1vw, 0.5rem) 0.25rem;
	background: linear-gradient(
		90deg,
		color-mix(in srgb, var(--bg) 78%, transparent) 0%,
		color-mix(in srgb, var(--bg) 42%, transparent) 42%,
		color-mix(in srgb, var(--bg) 12%, transparent) 78%,
		transparent 100%
	);
}

.gallery-carousel__arrow--next {
	right: 0;
	justify-content: center;
	padding-inline: 0.25rem clamp(0.15rem, 1vw, 0.5rem);
	background: linear-gradient(
		270deg,
		color-mix(in srgb, var(--bg) 78%, transparent) 0%,
		color-mix(in srgb, var(--bg) 42%, transparent) 42%,
		color-mix(in srgb, var(--bg) 12%, transparent) 78%,
		transparent 100%
	);
}

.gallery-carousel__arrow:disabled {
	opacity: 0.12;
	cursor: not-allowed;
	pointer-events: none;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.gallery-carousel__main:hover .gallery-carousel__arrow:not(:disabled):not(:focus-visible) {
		opacity: 0.72;
	}

	.gallery-carousel__arrow--prev:not(:disabled):hover,
	.gallery-carousel__arrow--prev:not(:disabled):focus-visible {
		opacity: 1;
		background: linear-gradient(
			90deg,
			color-mix(in srgb, var(--bg) 94%, transparent) 0%,
			color-mix(in srgb, var(--bg) 62%, transparent) 45%,
			color-mix(in srgb, var(--bg) 24%, transparent) 74%,
			transparent 100%
		);
	}

	.gallery-carousel__arrow--next:not(:disabled):hover,
	.gallery-carousel__arrow--next:not(:disabled):focus-visible {
		opacity: 1;
		background: linear-gradient(
			270deg,
			color-mix(in srgb, var(--bg) 94%, transparent) 0%,
			color-mix(in srgb, var(--bg) 62%, transparent) 45%,
			color-mix(in srgb, var(--bg) 24%, transparent) 74%,
			transparent 100%
		);
	}
}

@media (hover: none) {
	.gallery-carousel__arrow:not(:disabled) {
		opacity: 0.55;
	}
}

.gallery-carousel__arrow:focus-visible {
	opacity: 1;
	outline: 2px solid color-mix(in srgb, var(--fg) 45%, transparent);
	outline-offset: -2px;
}

.gallery-carousel__arrow--prev:focus-visible {
	background: linear-gradient(
		90deg,
		color-mix(in srgb, var(--bg) 94%, transparent) 0%,
		color-mix(in srgb, var(--bg) 64%, transparent) 46%,
		color-mix(in srgb, var(--bg) 26%, transparent) 76%,
		transparent 100%
	);
}

.gallery-carousel__arrow--next:focus-visible {
	background: linear-gradient(
		270deg,
		color-mix(in srgb, var(--bg) 94%, transparent) 0%,
		color-mix(in srgb, var(--bg) 64%, transparent) 46%,
		color-mix(in srgb, var(--bg) 26%, transparent) 76%,
		transparent 100%
	);
}

.gallery-carousel__slides {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.gallery-carousel__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.55s ease-in-out;
	pointer-events: none;
}

.gallery-carousel__slide.is-active {
	opacity: 1;
}

.gallery-carousel__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	max-width: none;
}

@media (prefers-reduced-motion: reduce) {
	.gallery-carousel__slide {
		transition: none;
	}
}

.gallery-carousel__thumbs-wrap {
	margin-top: var(--space-xs);
	width: 100%;
	max-width: 100%;
	display: flex;
	justify-content: center;
}

.gallery-carousel__thumbs {
	display: flex;
	flex-wrap: nowrap;
	justify-content: safe center;
	gap: var(--space-xs);
	overflow-x: auto;
	overflow-y: hidden;
	padding: var(--space-xs) 0;
	max-width: 100%;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--line) transparent;
}

.gallery-carousel__thumbs::-webkit-scrollbar {
	height: 6px;
}

.gallery-carousel__thumbs::-webkit-scrollbar-thumb {
	background: var(--line);
	border-radius: 3px;
}

.gallery-carousel__thumb {
	flex: 0 0 auto;
	width: clamp(3.25rem, 14vw, 5rem);
	aspect-ratio: 4 / 5;
	padding: 0;
	border-radius: calc(var(--radius) - 3px);
	border: 2px solid transparent;
	overflow: hidden;
	cursor: pointer;
	background: var(--bg-elevated);
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
	scroll-snap-align: start;
	-webkit-tap-highlight-color: transparent;
}

.gallery-carousel__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

.gallery-carousel__thumb.is-active {
	border-color: var(--accent);
	box-shadow:
		2px 0 0 0 color-mix(in srgb, var(--glitch-red) 45%, transparent),
		-2px 0 0 0 color-mix(in srgb, var(--glitch-cyan) 35%, transparent);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.gallery-carousel__thumb:not(.is-active):hover {
		border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
		box-shadow:
			3px 0 0 0 color-mix(in srgb, var(--glitch-red) 45%, transparent),
			-3px 0 0 0 color-mix(in srgb, var(--glitch-cyan) 35%, transparent);
		transform: translateY(-2px);
	}
}

.gallery-carousel__thumb:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.landing-video {
	padding-top: clamp(var(--space-xs), 1.75vw, var(--space-sm));
}

.landing-follow {
	margin-top: clamp(var(--space-sm), 2.5vw, var(--space-md));
	margin-bottom: clamp(var(--space-sm), 2vw, var(--space-md));
	padding: 0;
	text-align: center;
}

.landing-follow__heading {
	margin: 0 0 clamp(var(--space-sm), 2vw, var(--space-md));
	font-family: var(--font-display);
	font-size: var(--landing-display-heading-size);
	font-weight: 400;
	letter-spacing: 0.07em;
	line-height: 1.02;
	text-transform: uppercase;
	color: var(--fg);
	transition: text-shadow 0.2s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.landing-follow:hover .landing-follow__heading {
		text-shadow: var(--effect-glitch-text);
	}
}

.landing-follow__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--space-sm) var(--space-md);
}

.landing-social-link {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.75rem 1.3rem;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: color-mix(in srgb, var(--bg-elevated) 88%, transparent);
	color: var(--muted);
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	transition:
		border-color 0.2s ease,
		color 0.2s ease,
		background 0.2s ease,
		text-shadow 0.2s ease,
		box-shadow 0.2s ease;
}

.landing-social-link .landing-social-icon {
	flex-shrink: 0;
	display: block;
	width: 1.3rem;
	height: 1.3rem;
	color: inherit;
	filter: none;
	transition: filter 0.2s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.landing-social-link:hover {
		border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
		color: var(--fg);
		background: color-mix(in srgb, var(--bg-elevated) 100%, var(--fg) 4%);
		text-shadow: var(--effect-glitch-text);
		box-shadow:
			3px 0 0 -1px color-mix(in srgb, var(--glitch-red) 40%, transparent),
			-3px 0 0 -1px color-mix(in srgb, var(--glitch-cyan) 32%, transparent);
	}

	.landing-social-link:hover .landing-social-icon {
		filter: var(--effect-glitch-icon);
	}
}

.landing-social-link:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	color: var(--fg);
	text-shadow: var(--effect-glitch-text);
}

.landing-social-link:focus-visible .landing-social-icon {
	filter: var(--effect-glitch-icon);
}

.video-stage {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.video-card {
	position: relative;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	overflow: hidden;
	background: linear-gradient(145deg, var(--bg-elevated) 0%, color-mix(in srgb, var(--bg) 88%, var(--bg-elevated) 12%) 100%);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.video-card::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(
		135deg,
		color-mix(in srgb, var(--glitch-red) 25%, transparent),
		transparent 40%,
		transparent 60%,
		color-mix(in srgb, var(--glitch-cyan) 20%, transparent)
	);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	opacity: 0.5;
	z-index: 1;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.video-card:hover {
		border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
		box-shadow:
			0 24px 48px -20px rgba(0, 0, 0, 0.55),
			5px 0 0 -1px color-mix(in srgb, var(--glitch-red) 38%, transparent),
			-5px 0 0 -1px color-mix(in srgb, var(--glitch-cyan) 30%, transparent);
	}
}

.video-frame {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	background: #000;
	z-index: 0;
}

.video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* —— Footer —— */
.landing-footer {
	margin-top: clamp(var(--space-md), 3vw, var(--space-xl));
	padding-block: var(--space-lg) var(--space-xl);
	border-top: 1px solid var(--line);
	position: relative;
	z-index: 1;
}

.landing-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--space-md);
	text-align: center;
}

.landing-footer__meta {
	margin: 0;
	max-width: none;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--muted);
}

.landing-footer__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-md);
}

.landing-footer__links a {
	text-decoration: none;
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
	color: var(--muted);
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.landing-footer__links a:hover {
		color: var(--fg);
		text-shadow: var(--effect-glitch-text);
	}
}

.landing-footer__links a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	color: var(--fg);
	text-shadow: var(--effect-glitch-text);
}
