/* ═══════════ Noctua Isle – main site ═══════════ */

@font-face { font-family: 'Big Shoulders Display'; font-weight: 700; font-display: swap; src: url('/assets/fonts/big-shoulders-display-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Big Shoulders Display'; font-weight: 700; font-display: swap; src: url('/assets/fonts/big-shoulders-display-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Big Shoulders Display'; font-weight: 800; font-display: swap; src: url('/assets/fonts/big-shoulders-display-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Big Shoulders Display'; font-weight: 800; font-display: swap; src: url('/assets/fonts/big-shoulders-display-latin-ext-800-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('/assets/fonts/barlow-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('/assets/fonts/barlow-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url('/assets/fonts/barlow-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url('/assets/fonts/barlow-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 700; font-display: swap; src: url('/assets/fonts/barlow-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--night: #0a0f1c;        /* page background, warm black from the artwork's shadows */
	--bark: #111a2b;         /* raised surfaces */
	--bark-2: #18233a;
	--line: rgba(230, 237, 245, 0.10);
	--line-strong: rgba(230, 237, 245, 0.18);
	--bone: #e6edf5;         /* text, from the cream of the logo */
	--muted: #98a6bd;
	--ember: #2dd4bf;        /* sunset orange */
	--ember-soft: #99f6e4;
	--blood: #4338ca;        /* deep night blue */
	--online: #4ade80;
	--offline: #f87171;

	--display: 'Big Shoulders Display', 'Oswald', 'Arial Narrow', sans-serif;
	--body: 'Barlow', 'Segoe UI', system-ui, sans-serif;

	--wrap: 1120px;
	--nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); background: var(--night); }
body {
	margin: 0;
	background: var(--night);
	color: var(--bone);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--ember-soft); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 48px;
	padding: 0.7rem 1.5rem;
	border-radius: 8px;
	font-family: var(--body);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
	background: var(--ember);
	color: #042f2e;
	box-shadow: 0 8px 24px rgba(45, 212, 191, 0.28);
}
.btn-primary:hover { background: #5eead4; }
.btn-ghost {
	background: rgba(10, 15, 28, 0.55);
	border: 1px solid rgba(230, 237, 245, 0.35);
	color: var(--bone);
	backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--ember-soft); color: #fff; }

/* ---------- Top navigation ---------- */
.site-nav {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background: linear-gradient(to bottom, rgba(10, 15, 28, 0.75), rgba(10, 15, 28, 0));
	transition: background-color 0.3s ease, border-color 0.3s ease;
	border-bottom: 1px solid transparent;
}
.site-nav.is-solid,
.site-nav.is-open {
	background: rgba(10, 15, 28, 0.94);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom-color: var(--line);
}
.nav-inner {
	max-width: var(--wrap);
	height: var(--nav-h);
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}
.nav-logo img { height: 56px; width: auto; }
.nav-menu {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 0.25rem;
}
.nav-menu a {
	padding: 0.5rem 0.85rem;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--muted);
	transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-menu a:hover { color: var(--bone); background: rgba(230, 237, 245, 0.06); }
.nav-menu .nav-login {
	margin-left: 0.5rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--bone);
	border: 1px solid var(--line-strong);
}
.nav-menu .nav-login:hover { border-color: var(--ember-soft); background: transparent; }
.nav-toggle {
	display: none;
	margin-left: auto;
	width: 44px; height: 44px;
	align-items: center; justify-content: center;
	border-radius: 10px;
	border: 1px solid var(--line-strong);
	background: rgba(10, 15, 28, 0.5);
	color: var(--bone);
	cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle-close { display: none; }
.site-nav.is-open .nav-toggle-open { display: none; }
.site-nav.is-open .nav-toggle-close { display: flex; }

@media (max-width: 820px) {
	.nav-toggle { display: inline-flex; }
	.nav-logo img { height: 48px; }
	.nav-menu {
		position: absolute;
		top: var(--nav-h);
		left: 0; right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.5rem 20px 1.25rem;
		background: rgba(10, 15, 28, 0.97);
		border-bottom: 1px solid var(--line);
		display: none;
	}
	.site-nav.is-open .nav-menu { display: flex; }
	.nav-menu a { padding: 0.85rem 0.25rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav-menu .nav-login { margin: 0.9rem 0 0; justify-content: center; border-radius: 8px; border: 1px solid var(--line-strong); }
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	isolation: isolate;
}
.hero-bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: var(--hero-bg) center 35% / cover no-repeat;
}
@media (max-width: 767px) {
	.hero-bg { background-image: var(--hero-bg-sm); background-position: 30% center; }
}

.hero-shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse 70% 55% at 50% 45%, rgba(10, 15, 28, 0.55), rgba(10, 15, 28, 0) 70%),
		linear-gradient(to bottom, rgba(10, 15, 28, 0.35) 0%, rgba(10, 15, 28, 0.2) 40%, rgba(10, 15, 28, 0.6) 78%, var(--night) 100%);
}
.hero-inner {
	width: 100%;
	max-width: 760px;
	padding: calc(var(--nav-h) + 2rem) 20px 7rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.hero-logo {
	width: min(600px, 90vw);
	height: auto;
	filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.75));
}
.hero-tagline {
	margin-top: 1rem;
	max-width: 34rem;
	font-size: clamp(1.05rem, 2.2vw, 1.3rem);
	line-height: 1.5;
	color: #f0f6fc;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}
.hero-actions {
	margin-top: 1.75rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.85rem;
}
.hero-live {
	margin-top: 1.5rem;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	background: rgba(10, 15, 28, 0.55);
	border: 1px solid var(--line);
	font-size: 0.9rem;
	font-weight: 500;
	color: #d6e0ee;
	text-decoration: none;
	backdrop-filter: blur(6px);
}
.hero-live:hover { border-color: var(--line-strong); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--offline); }
.live-dot.is-online { background: var(--online); animation: pulse 2s infinite; }
@keyframes pulse {
	0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
	70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
	100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.scroll-cue {
	position: absolute;
	bottom: 1.75rem;
	left: 50%;
	transform: translateX(-50%);
	width: 48px; height: 48px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	border: 1px solid rgba(153, 246, 228, 0.45);
	color: var(--ember-soft);
	background: rgba(10, 15, 28, 0.4);
	transition: border-color 0.2s ease, transform 0.2s ease;
}
.scroll-cue:hover { border-color: var(--ember-soft); transform: translateX(-50%) translateY(2px); }

@media (max-width: 480px) {
	.hero-actions { width: 100%; flex-direction: column; align-items: center; }
	.hero-actions .btn { width: 100%; max-width: 320px; }
}

/* Tall screens (phones, also phones in "desktop site" mode): a landscape painting stretched to
   the full screen height gets blown up 3–4x. Show it as a band across the top instead,
   zoomed only a little, fading into the page. */
@media (max-aspect-ratio: 1/1) {
	.hero {
		min-height: 0;
		align-items: flex-start;
		background: radial-gradient(ellipse 90% 45% at 50% 85%, rgba(15, 118, 110, 0.16), rgba(10, 15, 28, 0) 70%), var(--night);
	}
	/* the whole painting, full width, no zoom (image is 16:9 → height = 56.25% of the width) */
	.hero-bg {
		inset: var(--nav-h) 0 auto 0;
		height: 56.25vw;
		background-image: var(--hero-bg);
		background-size: 100% 100%;
		background-position: center;
		-webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
		mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
	}
	.hero-shade {
		inset: var(--nav-h) 0 auto 0;
		height: 56.25vw;
		background: linear-gradient(to bottom, rgba(10, 15, 28, 0) 55%, var(--night) 100%);
	}
	.hero-inner { padding-top: calc(var(--nav-h) + 44vw); padding-bottom: 6.5rem; }
	.hero-logo { width: min(600px, 84vw); }
}

/* hero reveal after the loader */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: calc(var(--d, 0) * 110ms); }
html.is-loading .reveal { opacity: 0; transform: translateY(14px); }

/* ---------- Sections ---------- */
main { display: block; }
.section {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 5.5rem 20px 0;
}
.section:last-child { padding-bottom: 6rem; }
.section-head {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-bottom: 2rem;
}
.claw { width: 44px; height: 28px; color: var(--ember); flex-shrink: 0; }
.section-head h2,
.cta h2 {
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(2rem, 5vw, 3.1rem);
	line-height: 1;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

/* Server status */
.status-plate {
	position: relative;
	background: linear-gradient(160deg, var(--bark-2), var(--bark) 55%);
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
}
.status-plate::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--blood), var(--ember) 45%, rgba(45, 212, 191, 0) 85%);
}
.facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}
.fact {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 0.9rem;
	align-items: center;
	padding: 1.4rem 1.5rem;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.fact:nth-child(3n) { border-right: 0; }
.fact-icon {
	grid-row: 1 / 3;
	width: 44px; height: 44px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 10px;
	background: rgba(45, 212, 191, 0.12);
	border: 1px solid rgba(45, 212, 191, 0.25);
	color: var(--ember-soft);
}
.fact dt { font-size: 0.9rem; color: var(--muted); line-height: 1.3; }
.fact dd {
	font-family: var(--display);
	font-weight: 700;
	font-size: 1.55rem;
	line-height: 1.15;
	letter-spacing: 0.01em;
}
.fact.is-online dd { color: var(--online); }
.fact.is-offline dd { color: var(--offline); }
.fact.is-pvp dd { color: #fb7185; }

.population { padding: 1.5rem; }
.population-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 0.75rem;
	color: var(--muted);
}
.population-head strong {
	font-family: var(--display);
	font-weight: 800;
	font-size: 2rem;
	line-height: 1;
	color: var(--bone);
}
.population-head strong span { color: var(--muted); font-weight: 700; font-size: 1.4rem; }
.population-bar {
	height: 10px;
	border-radius: 999px;
	background: rgba(230, 237, 245, 0.08);
	overflow: hidden;
}
.population-bar span {
	display: block;
	height: 100%;
	width: max(var(--fill), 1.5%);
	border-radius: inherit;
	background: linear-gradient(90deg, var(--blood), var(--ember));
	box-shadow: 0 0 14px rgba(45, 212, 191, 0.55);
}

@media (max-width: 760px) {
	.facts { grid-template-columns: repeat(2, 1fr); }
	.fact { padding: 1.1rem 1rem; column-gap: 0.7rem; }
	.fact:nth-child(3n) { border-right: 1px solid var(--line); }
	.fact:nth-child(2n) { border-right: 0; }
	.fact-icon { width: 38px; height: 38px; }
	.fact dd { font-size: 1.3rem; }
	.population { padding: 1.25rem 1rem; }
}
@media (max-width: 380px) {
	.facts { grid-template-columns: 1fr; }
	.fact { border-right: 0 !important; }
}

/* What we offer */
.group-title {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 2.5rem 0 0.5rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--ember-soft);
}
.section-head + .group-title { margin-top: 0; }
.group-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.offer-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 3rem;
}
.offer {
	display: flex;
	gap: 1rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--line);
}
.offer-icon { color: var(--ember); padding-top: 0.15rem; }
.offer-icon .icon { width: 26px; height: 26px; }
.offer h4 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.offer p { margin-top: 0.2rem; color: var(--muted); font-size: 0.98rem; line-height: 1.5; max-width: 34rem; }
@media (max-width: 760px) {
	.offer-list { grid-template-columns: 1fr; }
}

/* Community */
.cta {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: var(--bark);
	isolation: isolate;
}
.cta-art {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, var(--bark) 30%, rgba(17, 26, 43, 0.75) 60%, rgba(17, 26, 43, 0.35)),
		var(--hero-bg-sm) 75% 40% / cover no-repeat;
}
.cta-body { padding: 3rem 2.5rem; max-width: 36rem; }
.cta p { margin: 1rem 0 1.75rem; color: #d2dceb; font-size: 1.08rem; }
@media (max-width: 760px) {
	.cta-art { background: linear-gradient(180deg, rgba(17, 26, 43, 0.8), var(--bark) 75%), var(--hero-bg-sm) 30% 30% / cover no-repeat; }
	.cta-body { padding: 2.25rem 1.25rem; }
}

/* ---------- Footer ---------- */
.site-footer {
	border-top: 1px solid var(--line);
	background: #080c16;
	padding: 3rem 20px 2.5rem;
	text-align: center;
	color: var(--muted);
	font-size: 0.95rem;
}
.footer-logo { width: 170px; height: auto; margin: 0 auto 1.25rem; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin-bottom: 1rem; }
.footer-links a { color: var(--bone); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--ember-soft); }
.footer-copy strong { color: var(--ember-soft); font-weight: 600; }

/* ---------- Back to top ---------- */
.to-top {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 40;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.6rem 1rem;
	border-radius: 999px;
	background: rgba(10, 15, 28, 0.88);
	border: 1px solid rgba(153, 246, 228, 0.4);
	color: var(--bone);
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	backdrop-filter: blur(8px);
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s ease;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--ember-soft); }
.to-top .icon { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { transition: none; }
	.live-dot.is-online { animation: none; }
}

/* ═══════════ Language switcher (EN / DE / RO) ═══════════ */
.lang-switch { position: relative; flex-shrink: 0; }
.lang-btn {
	display: inline-flex; align-items: center; gap: .4rem;
	height: 36px; padding: 0 .7rem;
	border-radius: 8px;
	border: 1px solid rgba(230,237,245,.18);
	background: rgba(10,15,28,.5);
	color: #e6edf5;
	font-family: inherit; font-size: .85rem; font-weight: 700; line-height: 1;
	letter-spacing: .06em;
	cursor: pointer;
	transition: border-color .2s ease, color .2s ease;
}
.lang-btn:hover, .lang-switch.is-open .lang-btn { border-color: #99f6e4; }
.lang-btn svg { width: 16px; height: 16px; color: #99f6e4; }
.lang-menu {
	position: absolute; right: 0; top: calc(100% + 6px);
	min-width: 168px; padding: 6px;
	border-radius: 10px;
	background: #111a2b;
	border: 1px solid rgba(230,237,245,.16);
	box-shadow: 0 14px 34px rgba(0,0,0,.55);
	z-index: 200;
	display: grid; gap: 2px;
}
.lang-menu[hidden] { display: none; }
.lang-menu a {
	display: flex; align-items: center; gap: .65rem;
	padding: .55rem .7rem;
	border-radius: 7px;
	color: #c5d0e0; text-decoration: none;
	font-size: .92rem; font-weight: 600;
}
.lang-menu a:hover { background: rgba(45,212,191,.12); color: #e6edf5; }
.lang-menu a.is-current { color: #99f6e4; background: rgba(45,212,191,.10); }
.lang-code {
	min-width: 28px; padding: 2px 0;
	border-radius: 5px;
	background: rgba(230,237,245,.08);
	font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-align: center;
	color: #98a6bd;
}
.lang-menu a.is-current .lang-code { background: #2dd4bf; color: #042f2e; }
.nav-inner .lang-switch { margin-left: .5rem; }
.lang-btn { height: 40px; }
@media (max-width: 820px) {
	.nav-inner .lang-switch { margin-left: auto; }
	.nav-inner .nav-toggle { margin-left: .5rem; }
	.lang-btn { height: 44px; border-radius: 10px; }
}

/* ---------- Shared small bits ---------- */
.btn-small { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.92rem; gap: 0.5rem; }
.btn-small .icon, .btn-small svg { width: 18px; height: 18px; }
.section-intro { margin: -0.5rem 0 2rem; color: var(--muted); font-size: 1.05rem; max-width: 46rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--ember-soft); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 16px; height: 16px; }

/* ---------- How to join ---------- */
.join-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 3rem;
	align-items: start;
}
.join-steps { counter-reset: step; display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.join-steps li {
	counter-increment: step;
	position: relative;
	padding: 0 0 1.75rem 3.5rem;
}
.join-steps li::before {
	content: counter(step);
	position: absolute;
	left: 0; top: -2px;
	width: 2.3rem; height: 2.3rem;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--bark-2);
	border: 1px solid rgba(45, 212, 191, 0.45);
	color: var(--ember-soft);
	font-family: var(--display);
	font-weight: 800;
	font-size: 1.25rem;
	box-shadow: 0 0 18px rgba(45, 212, 191, 0.18);
}
.join-steps li:not(:last-child)::after {
	content: '';
	position: absolute;
	left: calc(1.15rem - 1px); top: 2.5rem; bottom: 0.25rem;
	width: 2px;
	background: linear-gradient(var(--line-strong), transparent);
}
.join-steps h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.join-steps p { margin: 0.25rem 0 0.75rem; color: var(--muted); font-size: 0.98rem; line-height: 1.5; }
.join-steps .btn { margin-top: 0.15rem; }

.join-video {
	position: sticky;
	top: calc(var(--nav-h) + 1.5rem);
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--bark);
}
.video-facade, .join-video iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
}
.video-facade {
	position: relative;
	padding: 0;
	background: #000;
	cursor: pointer;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.2s ease; }
.video-facade:hover img { opacity: 1; }
.video-play {
	position: absolute;
	left: 50%; top: 50%;
	width: 74px; height: 74px;
	margin: -37px 0 0 -37px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--ember);
	color: #042f2e;
	box-shadow: 0 0 0 10px rgba(45, 212, 191, 0.18), 0 10px 30px rgba(0, 0, 0, 0.5);
	transition: transform 0.2s ease;
}
.video-play .icon { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.video-facade:hover .video-play { transform: scale(1.07); }
.video-caption { padding: 1.25rem 1.4rem 1.4rem; }
.video-caption h3 { font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.01em; }
.video-caption p { margin: 0.3rem 0 0.75rem; color: var(--muted); }

@media (max-width: 860px) {
	.join-grid { grid-template-columns: 1fr; gap: 2rem; }
	.join-video { position: static; order: -1; }
}

/* ---------- Support / Patreon tiers ---------- */
.tier-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1rem;
}
.tier {
	position: relative;
	padding: 1.4rem 1.2rem 1.25rem;
	border-radius: 14px;
	background: linear-gradient(180deg, color-mix(in srgb, var(--tier) 10%, var(--bark)), var(--bark) 55%);
	border: 1px solid color-mix(in srgb, var(--tier) 35%, transparent);
	overflow: hidden;
}
.tier::before {
	content: '';
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 3px;
	background: var(--tier);
	box-shadow: 0 0 16px var(--tier);
}
.tier h3 {
	display: flex; align-items: center; gap: 0.4rem;
	font-family: var(--display);
	font-weight: 800;
	font-size: 1.7rem;
	line-height: 1;
	text-transform: uppercase;
	color: var(--tier);
}
.tier h3 .icon { width: 22px; height: 22px; }
.tier-sub { margin-top: 0.2rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tier ul { margin-top: 1.1rem; display: grid; gap: 0.6rem; }
.tier li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.95rem; line-height: 1.35; color: #d2dceb; }
.tier li .icon { width: 18px; height: 18px; color: var(--tier); flex-shrink: 0; margin-top: 1px; }
.tier li b { color: #fff; }
.tier.is-top { border-color: color-mix(in srgb, var(--tier) 60%, transparent); box-shadow: 0 0 34px rgba(250, 204, 21, 0.10); }
.support-cta { margin-top: 1.75rem; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.support-cta p { color: var(--muted); font-size: 0.95rem; max-width: 30rem; }
.support-cta .btn .icon { width: 20px; height: 20px; }

@media (max-width: 1100px) { .tier-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .tier-grid { grid-template-columns: 1fr; } }
.join-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
