/* ============================================================
   Custom Properties
   ============================================================ */
:root {
	--color-bg:          #1d1c1c;
	--color-brand:       #5086f2;
	--color-brand-hover: #0f4ecc;
	--color-text:        #fff;
	--color-border:      #333;
	--color-surface:     #111111;
	--color-muted:       #888;
	--color-subtle:      #666;
	--color-soft:        #aaa;
	--color-light:       #e8e8e8;
	--header-height:     70px;
	--font-body:         'Manrope', sans-serif;
	--font-heading:      'Manrope', sans-serif;
	--font-special:      'monument_extendedregular', sans-serif;
}
@supports (color: oklch(0 0 0)) {
	:root {
		--color-bg:          oklch(0.178 0.004 49);
		--color-brand:       oklch(0.594 0.162 264);
		--color-brand-hover: oklch(0.453 0.176 264);
		--color-text:        oklch(1 0 0);
		--color-border:      oklch(0.279 0 0);
		--color-surface:     oklch(0.132 0 0);
		--color-muted:       oklch(0.588 0 0);
		--color-subtle:      oklch(0.467 0 0);
		--color-soft:        oklch(0.714 0 0);
		--color-light:       oklch(0.929 0 0);
	}
}

/* ============================================================
   Fonts
   ============================================================ */
@font-face {
	font-family: 'Manrope';
	src: url('/fonts/Manrope.woff2') format('woff2');
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-display: swap;
	font-family: 'monument_extendedregular';
	font-weight: normal;
	font-style: normal;
	src: url('/fonts/monumentextended-regular-webfont.woff2') format('woff2'),
	     url('/fonts/monumentextended-regular-webfont.woff') format('woff');
}

/* ============================================================
   Reset
   ============================================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	text-size-adjust: 100%;
}
body {
	line-height: 1.4;
}
img,
video {
	display: block;
	max-width: 100%;
	height: auto;
}
ul, ol {
	list-style: none;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	cursor: pointer;
}
table {
	border-collapse: collapse;
}

/* ============================================================
   Base
   ============================================================ */
body {
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
}

/* ============================================================
   Header
   ============================================================ */
header {
	background: rgba(29, 28, 28, 0.85);
}
.menu {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-inline: 2vw;
	height: var(--header-height);
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1.1rem;
	text-transform: uppercase;
}
header .logo {
	height: 60px;
	width: auto;
}
.nav-actions {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}
.login-link {
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: 0.05em;
}
.join-btn {
	display: inline-flex;
	align-items: center;
	background: var(--color-brand);
	color: var(--color-text);
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding-inline: 1rem;
	height: 40px;
	border-radius: 0.25em;
	white-space: nowrap;
	transition: background 0.15s ease;
}
.join-btn:hover {
	background: var(--color-brand-hover);
}

/* Mobile toggle */
.mobile-toggle {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	padding: 8px;
}
.mobile-toggle span {
	display: block;
	width: 24px;
	height: 3px;
	background: var(--color-text);
	border-radius: 2px;
}

/* Mobile drawer */
#mobile-items {
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: 1rem 2vw 1.5rem;
	background: var(--color-bg);
	border-top: 1px solid var(--color-border);
}
#mobile-items.open {
	display: flex;
}

/* ============================================================
   Content / Grid
   ============================================================ */
.content {
	margin-top: 10px;
}
.thumb-container {
	margin-inline: 1vw;
}
.grid-item {
	width: 25%;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}
.grid-item.visible {
	opacity: 1;
	transform: translateY(0);
}
.grid-item a {
	display: block;
	overflow: hidden;
}
.grid-item img,
.grid-item video {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease, filter 0.3s ease;
}
.grid-item a:hover img,
.grid-item a:hover video {
	transform: scale(1.03);
	filter: brightness(1.15);
}


/* ============================================================
   Fixed Bottom CTA Bar
   ============================================================ */
#cta-bar {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10rem;
	padding: 0rem 2vw;
	background: var(--color-brand);
	transition: transform 0.3s ease, opacity 0.3s ease;
}
#cta-bar.hidden {
	transform: translateY(100%);
	opacity: 0;
	pointer-events: none;
}
.breakout-wrap {
	position: relative;
	flex-shrink: 0;
	width: 120px;
	align-self: stretch;
}
.breakout-graphic {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 180px;
	height: auto;
	filter: drop-shadow(0 -4px 12px rgba(0, 0, 0, 0.3));
}
.cta-text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
	font-family: var(--font-heading);
}
.cta-text strong {
	font-size: clamp(1.08rem, 1.2vw + 0.6rem, 1.32rem);
}
.cta-text span {
	font-size: clamp(0.84rem, 1vw + 0.48rem, 1.02rem);
	opacity: 0.8;
}
.cta-btn {
	justify-content: center;
	height: 40px;
	margin: 1rem 0;
	padding-inline: 1rem;
	font-family: var(--font-special);
	font-size: clamp(0.8rem, 1vw + 0.4rem, 1.1rem);
	white-space: nowrap;
	background: var(--color-text);
	color: var(--color-brand);
}
.cta-btn:hover {
	background: var(--color-light);
}
@media (max-width: 1024px) {
	#cta-bar { gap: 5rem; }
}
@media (max-width: 600px) {
	.cta-text { display: none; }
	#cta-bar { gap: 3rem; }
	.cta-btn { padding-inline: 1.25rem; height: 40px; }
}
@media (max-width: 425px) {
	#cta-bar { gap: 1rem; }
	.breakout-wrap { width: 80px; }
	.breakout-graphic { width: 120px; }
	.cta-btn { padding-inline: 0.75rem; height: 36px; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
	background-color: var(--color-surface);
	color: var(--color-light);
	padding: 3rem 4vw 1.5rem;
}
.site-footer__body {
	display: flex;
	gap: 4rem;
	max-width: 1200px;
	margin: 0 auto;
}
/* Brand column */
.site-footer__brand {
	flex: 0 0 320px;
}
.site-footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}
.site-footer__logo-mark {
	width: 36px;
	height: 36px;
}
.site-footer__logo-name {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--color-text);
}
.site-footer__tagline {
	font-size: 0.8rem;
	color: var(--color-muted);
	line-height: 1.5;
	margin-bottom: 1rem;
}
a.site-footer__legal-link {
	font-size: 0.75rem;
	color: var(--color-muted);
	transition: color 0.15s ease;
}
a.site-footer__legal-link:hover {
	color: var(--color-text);
}
.site-footer__social {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.25rem;
}
.site-footer__social-label {
	font-size: 0.8rem;
	color: var(--color-muted);
}
.site-footer__social-icon {
	width: 18px;
	height: 18px;
	fill: var(--color-muted);
	transition: fill 0.15s ease;
}
.site-footer__social-link:hover .site-footer__social-icon {
	fill: var(--color-text);
}
/* Nav columns */
.site-footer__nav-group {
	display: flex;
	gap: 4rem;
	margin-left: auto;
}
.site-footer__nav-label {
	font-family: var(--font-special);
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-text);
	margin-bottom: 0.5rem;
}
.site-footer__nav-subtitle {
	font-size: 0.75rem;
	color: var(--color-subtle);
	margin-bottom: 0.75rem;
}
.site-footer__nav-list li {
	margin-bottom: 0.4rem;
}
.site-footer__nav-link {
	font-size: 0.85rem;
	color: var(--color-soft);
	transition: color 0.15s ease;
}
.site-footer__nav-link:hover {
	color: var(--color-text);
}
/* Divider */
.site-footer__divider {
	border-top: 1px solid var(--color-border);
	max-width: 1200px;
	margin: 2rem auto 0;
}
/* Bottom bar */
.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 1rem auto 0;
	font-size: 0.8rem;
	color: var(--color-subtle);
}
.site-footer__legal-links {
	display: flex;
	gap: 1.5rem;
}
/* Footer responsive */
@media (max-width: 768px) {
	.site-footer__body {
		flex-direction: column;
		gap: 2rem;
	}
	.site-footer__brand {
		flex: none;
	}
	.site-footer__nav-group {
		gap: 2rem;
	}
}
@media (max-width: 425px) {
	.site-footer__nav-group {
		flex-direction: column;
		gap: 1.5rem;
	}
	.site-footer__bottom {
		flex-direction: column;
		gap: 0.75rem;
		text-align: center;
	}
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 749px) {
	.nav-actions   { display: none; }
	.mobile-toggle { display: flex; }
	.grid-item { width: 50%; }
}
@media (max-width: 413px) {
	.lower-section .cta .text { font-size: 1.5rem; }
}
