:root {
	color-scheme: light;
	--bg: #f4f8ff;
	--bg-alt: #e9f1ff;
	--card: #ffffff;
	--text: #0b1a33;
	--muted: #4d6280;
	--accent: #5198f4;
	--accent-2: #2f6fd1;
	--outline: rgba(11, 26, 51, 0.08);
	--shadow: 0 24px 50px rgba(20, 40, 70, 0.15);
	--radius: 24px;
	--max-width: 1200px;
	font-size: 16px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family:
		"Space Grotesk",
		system-ui,
		-apple-system,
		sans-serif;
	background: radial-gradient(circle at top left, rgba(81, 152, 244, 0.18), transparent 55%), radial-gradient(circle at 30% 20%, rgba(47, 111, 209, 0.2), transparent 50%), var(--bg);
	color: var(--text);
	line-height: 1.6;
}

body.no-scroll {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

.nav-wrap {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(16px);
	background: rgba(244, 248, 255, 0.8);
	border-bottom: 1px solid var(--outline);
}

.navbar {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 20px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 600;
}

.logo-img {
	width: 150px;
	height: auto;
	background: transparent;
	padding: 0;
}

.logo-text {
	font-size: 1rem;
}

.nav-links {
	display: flex;
	gap: 20px;
	color: var(--muted);
	font-size: 0.95rem;
}

.nav-links a:hover {
	color: var(--text);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 600;
	letter-spacing: 0.2px;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
	max-height: 50px;
}

.btn-primary {
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #fff;
	box-shadow: 0 12px 30px rgba(81, 152, 244, 0.35);
}

.btn-primary:hover {
	transform: translateY(-2px);
}

.btn-ghost {
	border-color: rgba(81, 152, 244, 0.35);
	color: var(--text);
	background: rgba(81, 152, 244, 0.1);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.18);
}

.hero {
	position: relative;
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 120px 32px 80px;
	overflow: hidden;
}

.hero-video {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
}

.hero-video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(244, 248, 255, 0.4), rgba(244, 248, 255, 0.85), rgba(244, 248, 255, 0.4));
	z-index: 2;
}

.hero-content {
	position: relative;
	z-index: 3;
	max-width: 720px;
	text-align: left;
}

.hero h1 {
	font-family: "Archivo Black", sans-serif;
	font-size: clamp(2.8rem, 6vw, 4rem);
	margin: 12px 0 16px;
	text-transform: uppercase;
	white-space: nowrap;
}

.lead {
	font-size: 1.1rem;
	color: var(--muted);
	margin-bottom: 32px;
}

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 0.75rem;
	color: var(--accent-2);
	font-weight: 600;
}

.hero-actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.hero-meta {
	margin-top: 48px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 20px;
	padding: 20px 0 0;
	border-top: 1px solid var(--outline);
}

.meta-label {
	display: block;
	color: var(--muted);
	font-size: 0.85rem;
}

.meta-value {
	font-weight: 600;
}

.section {
	padding: 96px 32px;
	max-width: var(--max-width);
	margin: 0 auto;
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 48px;
	flex-wrap: wrap;
}

.section-lead {
	max-width: 700px;
	color: var(--muted);
	margin-bottom: 24px;
}

.partners {
	position: relative;
}

.logo-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
}

.logo-grid img {
	width: 100%;
	height: 100px;
	object-fit: contain;
}

.edition-grid {
	display: grid;
	gap: 32px;
}

.edition-card {
	background: var(--card);
	border-radius: var(--radius);
	border: 1px solid var(--outline);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.edition-feature {
	display: flex;
	gap: 24px;
	padding: 24px;
	max-width: 100%;
	overflow: hidden;
}

.edition-feature .edition-media {
	flex: 1 1 55%;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid var(--outline);
	box-shadow: var(--shadow);
	min-height: 320px;
	width: 100%;
	aspect-ratio: 16 / 9;
	min-width: 0;
}

.edition-feature .edition-media iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
	max-width: 100%;
}

.edition-feature .edition-content {
	flex: 1 1 45%;
	padding: 0;
}

@media (min-width: 901px) {
	.edition-feature .edition-content {
		max-width: 50%;
	}
}

.edition-content {
	padding: 28px;
}

.edition-content h3 {
	margin: 0 0 12px;
}

.edition-gallery {
	margin-top: 20px;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(160px, 1fr);
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 10px;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.edition-gallery img {
	display: none;
}

.edition-gallery img:nth-child(-n + 5) {
	display: block;
}

.edition-gallery.is-expanded img {
	display: block;
}

.edition-gallery img {
	border-radius: 16px;
	height: 140px;
	object-fit: cover;
	scroll-snap-align: start;
	cursor: zoom-in;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.gallery-toggle {
	margin-top: 16px;
}

.edition-gallery img:hover {
	transform: scale(1.03);
	box-shadow: 0 12px 24px rgba(20, 40, 70, 0.2);
}

.section-actions {
	margin-top: 40px;
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: center;
}

.about {
	display: flex;
	justify-content: center;
}

.about-card {
	width: 100%;
	background: linear-gradient(135deg, rgba(81, 152, 244, 0.12), rgba(47, 111, 209, 0.08));
	border: 1px solid var(--outline);
	border-radius: var(--radius);
	padding: 48px;
	box-shadow: var(--shadow);
}

.about-card .section-lead {
	max-width: none;
}

.about-identity {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
	justify-content: center;
}

.about-logo {
	width: min(260px, 100%);
	height: auto;
	display: block;
}

.about-card .section-actions {
	justify-content: center;
}

.logo-badge {
	width: 64px;
	height: 64px;
	border-radius: 20px;
	display: grid;
	place-items: center;
	background: rgba(81, 152, 244, 0.12);
	border: 1px solid rgba(81, 152, 244, 0.2);
	padding: 10px;
}

.logo-badge img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.participate-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.participate-card {
	background: var(--card);
	border-radius: var(--radius);
	border: 1px solid var(--outline);
	padding: 28px;
	box-shadow: var(--shadow);
	display: grid;
	gap: 16px;
	align-content: space-between;
}

.icon-wrap {
	width: 54px;
	height: 54px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	background: rgba(81, 152, 244, 0.12);
	border: 1px solid rgba(81, 152, 244, 0.2);
}

.icon-wrap svg {
	width: 28px;
	height: 28px;
	stroke: var(--accent-2);
	stroke-width: 2;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.footer {
	padding: 48px 32px 60px;
	border-top: 1px solid var(--outline);
	background: var(--bg-alt);
}

.footer-top {
	max-width: var(--max-width);
	margin: 0 auto 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	text-align: center;
}

.footer-socials {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
}

.footer-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
	color: var(--muted);
	text-align: center;
}

.footer-links {
	margin-top: 24px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--muted);
}

.footer-links span {
	color: var(--muted);
}

.footer-label {
	color: var(--text);
	font-weight: 600;
	margin-bottom: 8px;
}

.social {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid rgba(81, 152, 244, 0.2);
	color: var(--text);
}

.social svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(11, 26, 51, 0.85);
	display: grid;
	place-items: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 40;
}

.lightbox.is-active {
	opacity: 1;
	pointer-events: auto;
}

.lightbox img {
	max-width: min(90vw, 1100px);
	max-height: 80vh;
	border-radius: 20px;
	box-shadow: var(--shadow);
}

.lightbox-close {
	position: absolute;
	top: 24px;
	right: 24px;
	border: none;
	background: rgba(81, 152, 244, 0.18);
	color: var(--text);
	padding: 10px 18px;
	border-radius: 999px;
	cursor: pointer;
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	background: rgba(81, 152, 244, 0.18);
	color: var(--text);
	width: 44px;
	height: 44px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.lightbox-nav svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	stroke-width: 2.4;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lightbox-nav.prev {
	left: 24px;
}

.lightbox-nav.next {
	right: 24px;
}

@media (max-width: 900px) {
	.navbar {
		flex-wrap: wrap;
		justify-content: center;
	}

	.nav-links {
		order: 3;
	}

	.hero-content {
		text-align: center;
	}

	.hero-actions {
		justify-content: center;
	}

	.hero-meta {
		text-align: center;
	}

	.edition-feature {
		flex-direction: column;
	}

	.hero-overlay {
		background: linear-gradient(90deg, rgba(244, 248, 255, 0.5), rgba(244, 248, 255, 1));
	}

	.edition-feature .edition-media {
		width: 100%;
		max-width: 100%;
	}

	.edition-feature .edition-media iframe {
		width: 100%;
		max-width: 100%;
	}

	.logo-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.nav-wrap {
		display: none;
	}

	.navbar {
		padding: 16px 20px;
	}

	.hero {
		padding: 120px 20px 60px;
	}

	.hero h1 {
		white-space: pre-line;
	}

	.about-card {
		padding: 32px;
	}

	.edition-gallery {
		grid-auto-columns: minmax(220px, 1fr);
	}

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

	.btn {
		display: block;
		width: 100%;
		max-width: 280px;
		margin: 0 auto;
		text-align: center;
	}

	.hero-actions,
	.section-actions {
		width: 100%;
		align-items: center;
	}
}

@media (min-width: 1201px) {
	.about-card {
		width: 70%;
	}
}

@media (min-width: 901px) and (max-width: 1200px) {
	.about-card {
		width: 80%;
	}
}
