/* ==========================================================================
   SONS of BANE - sonsofbane.com
   Plain CSS, no build step, no dependencies.
   Palette keeps the alliance green (#ABC161) carried over from the old site.
   ========================================================================== */

:root {
	--bg: #05070b;
	--bg-2: #090d14;
	--panel: #0e131c;
	--panel-2: #131a26;
	--line: rgba(255, 255, 255, 0.08);
	--line-2: rgba(255, 255, 255, 0.14);

	--text: #cdd5e0;
	--muted: #7f8b9c;
	--head: #ffffff;

	--accent: #abc161;
	--accent-hot: #d4ec7a;
	--accent-glow: rgba(171, 193, 97, 0.35);

	--display: "Anton", "Impact", sans-serif;
	--body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1180px;
	--r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent-hot); }

h1, h2, h3 { color: var(--head); margin: 0; font-weight: 400; }

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

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

.skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--accent);
	color: #0b0f06;
	padding: 0.7rem 1.1rem;
	z-index: 100;
	font-weight: 600;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- buttons ------------------------------------------------------ */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	background: var(--accent);
	color: #0b0f06;
	font-weight: 600;
	font-size: 0.92rem;
	letter-spacing: 0.02em;
	padding: 0.75rem 1.4rem;
	border: 1px solid transparent;
	border-radius: 10px;
	white-space: nowrap;
	transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
	background: var(--accent-hot);
	color: #0b0f06;
	transform: translateY(-2px);
	box-shadow: 0 10px 30px -8px var(--accent-glow);
}

.btn:active { transform: translateY(0); }

.btn--lg { font-size: 1.02rem; padding: 0.95rem 1.9rem; border-radius: 12px; }
.btn--sm { font-size: 0.82rem; padding: 0.5rem 1rem; }

.btn--ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--line-2);
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--head);
	box-shadow: none;
}

.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ---------- nav ---------------------------------------------------------- */

.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(5, 7, 11, 0.72);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav.is-stuck {
	background: rgba(5, 7, 11, 0.94);
	border-bottom-color: var(--line);
}

.nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.7rem 0;
}

.nav__brand { display: flex; align-items: center; gap: 0.65rem; color: var(--head); }
.nav__brand img { width: 40px; height: 40px; }

.nav__name {
	font-family: var(--display);
	font-size: 1.15rem;
	letter-spacing: 0.06em;
	line-height: 1;
}
.nav__name em { font-style: normal; color: var(--muted); }

.nav__ticker {
	font-size: 0.66rem;
	letter-spacing: 0.16em;
	color: var(--accent);
	border: 1px solid var(--line-2);
	border-radius: 999px;
	padding: 0.12rem 0.5rem;
}

.nav__links { display: flex; gap: 0.35rem; }

.nav__links a {
	color: var(--muted);
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	padding: 0.45rem 0.85rem;
	border-radius: 8px;
}

.nav__links a:hover { color: var(--head); background: rgba(255, 255, 255, 0.05); }

@media (max-width: 780px) {
	.nav__links { display: none; }
	.nav__ticker { display: none; }
}

/* ---------- hero --------------------------------------------------------- */

.hero {
	position: relative;
	min-height: min(92vh, 900px);
	display: flex;
	align-items: center;
	overflow: hidden;
	isolation: isolate;
	border-bottom: 1px solid var(--line);
}

/* Hero layering, back to front: starfield -> video -> nebula wash -> copy.
   The starfield is what you see while the video is still deciding to load. */
.hero__stars {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -3;
	display: block;
}

.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	opacity: 0;
	transition: opacity 1.4s ease;
	pointer-events: none;
}

.hero__video.is-ready { opacity: 1; }

/* Footage is bright and busy, so darken the wash once it is actually on
   screen. Keyed to .is-ready so the starfield-only hero keeps its contrast. */
.hero__video.is-ready ~ .hero__glow {
	background:
		radial-gradient(60% 55% at 50% 8%, rgba(171, 193, 97, 0.10), transparent 70%),
		linear-gradient(180deg,
			rgba(5, 7, 11, 0.72) 0%,
			rgba(5, 7, 11, 0.55) 42%,
			rgba(5, 7, 11, 0.88) 82%,
			var(--bg) 100%);
}

/* nebula wash behind the starfield */
.hero__glow {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(60% 55% at 50% 8%, rgba(171, 193, 97, 0.12), transparent 70%),
		radial-gradient(48% 44% at 82% 78%, rgba(70, 120, 190, 0.14), transparent 72%),
		radial-gradient(70% 60% at 12% 88%, rgba(150, 60, 190, 0.10), transparent 70%),
		linear-gradient(180deg, transparent 55%, var(--bg) 100%);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	padding: 7rem 0 6rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.35rem;
}

.hero__eyebrow {
	margin: 0;
	font-size: 0.74rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--accent);
}

/* The alliance mark. Sized off the viewport so it never crowds the headline
   on a laptop or a phone in landscape. */
.hero__logo {
	width: min(230px, 42vw);
	height: auto;
	margin-bottom: -0.25rem;
	filter: drop-shadow(0 12px 34px rgba(0, 0, 0, 0.75));
	animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* Who "us" is — the page's actual heading. Real text, so it survives the
   image failing to load and is what search engines and link previews read. */
.hero__name {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(1.35rem, 3.6vw, 2.4rem);
	line-height: 1;
	letter-spacing: 0.34em;
	text-indent: 0.34em;          /* balance the trailing letter-space */
	text-transform: uppercase;
	color: var(--head);
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
	animation: rise 0.9s 0.06s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* Sits between the name and the hook, so tighten it against both. */
.hero__eyebrow {
	margin-top: -0.5rem;
	animation: rise 0.9s 0.12s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__hook {
	margin: -0.4rem 0 0;
	font-family: var(--display);
	font-size: clamp(2.9rem, 11vw, 8.5rem);
	line-height: 0.92;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--head);
	text-shadow: 0 0 60px rgba(171, 193, 97, 0.22), 0 10px 50px rgba(0, 0, 0, 0.8);
	animation: rise 0.9s 0.18s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__sub {
	margin: 0;
	max-width: 56ch;
	font-size: clamp(1rem, 2.2vw, 1.2rem);
	color: var(--text);
	animation: rise 0.9s 0.24s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__sub strong { color: var(--head); font-weight: 600; }

.hero__cta {
	display: flex;
	gap: 0.9rem;
	flex-wrap: wrap;
	justify-content: center;
	animation: rise 0.9s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes rise {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: none; }
}

.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 1.6rem;
	translate: -50% 0;
	width: 26px;
	height: 42px;
	border: 2px solid var(--line-2);
	border-radius: 999px;
}

.hero__scroll span {
	position: absolute;
	left: 50%;
	top: 8px;
	translate: -50% 0;
	width: 4px;
	height: 7px;
	border-radius: 2px;
	background: var(--accent);
	animation: wheel 1.8s ease-in-out infinite;
}

@keyframes wheel {
	0%, 100% { opacity: 0; transform: translateY(0); }
	30%      { opacity: 1; }
	70%      { opacity: 0; transform: translateY(13px); }
}

@media (max-width: 600px) {
	.hero__scroll { display: none; }
	.hero__inner { padding: 4.5rem 0 4rem; }
}

/* ---------- section furniture -------------------------------------------- */

.sect__title {
	font-family: var(--display);
	font-size: clamp(1.9rem, 5vw, 3.2rem);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-align: center;
}

.sect__lede {
	margin: 1rem auto 0;
	max-width: 60ch;
	text-align: center;
	color: var(--muted);
}

/* ---------- numbers ------------------------------------------------------ */

.numbers {
	padding: 5.5rem 0 5rem;
	background: var(--bg-2);
	border-bottom: 1px solid var(--line);
}

/* Six tiles, so the column count must divide 6 evenly at every width -
   auto-fit would happily leave a 4+2 row with an empty cell. */
.stats {
	list-style: none;
	margin: 3rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--r);
	overflow: hidden;
}

@media (min-width: 620px) {
	.stats { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1020px) {
	.stats { grid-template-columns: repeat(6, 1fr); }
}

.stat {
	background: var(--panel);
	padding: 1.9rem 1.1rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	transition: background-color 0.2s ease;
}

.stat:hover { background: var(--panel-2); }

.stat__num {
	font-family: var(--display);
	font-size: clamp(1.9rem, 4.4vw, 2.9rem);
	line-height: 1;
	color: var(--head);
	font-variant-numeric: tabular-nums;
}

.stat--hero .stat__num { color: var(--accent); }
.stat__num i { font-style: normal; font-size: 0.6em; margin-left: 0.05em; }

.stat__label {
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.numbers__live {
	margin: 1.6rem 0 0;
	text-align: center;
	font-size: 0.84rem;
	color: var(--muted);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.numbers__live strong { color: var(--text); font-weight: 600; }

.pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 0 var(--accent-glow);
	animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
	0%   { box-shadow: 0 0 0 0 var(--accent-glow); }
	70%  { box-shadow: 0 0 0 12px rgba(171, 193, 97, 0); }
	100% { box-shadow: 0 0 0 0 rgba(171, 193, 97, 0); }
}

.numbers__updated {
	width: 100%;
	font-size: 0.72rem;
	color: #59616f;
}

/* ---------- about cards -------------------------------------------------- */

/* First section under the hero, so it carries the fade out of hero black. */
.about {
	padding: 5.5rem 0;
	background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
	border-bottom: 1px solid var(--line);
}

.cards {
	margin-top: 3rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.25rem;
}

.card {
	background: linear-gradient(180deg, var(--panel-2), var(--panel));
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 1.75rem 1.5rem;
	position: relative;
	overflow: hidden;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--accent), transparent);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.card:hover { border-color: rgba(171, 193, 97, 0.4); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }

.card h3 {
	font-family: var(--display);
	font-size: 1.25rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin-bottom: 0.6rem;
}

.card p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* ---------- recruitment -------------------------------------------------- */

.paths {
	margin: 2.5rem 0 0.5rem;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
	text-align: left;
}

.path {
	background: linear-gradient(160deg, var(--panel-2), var(--panel));
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 2rem 1.75rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.9rem;
}

.path__tag {
	font-size: 0.66rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent);
	border: 1px solid rgba(171, 193, 97, 0.35);
	border-radius: 999px;
	padding: 0.2rem 0.7rem;
}

.path h3 {
	font-family: var(--display);
	font-size: 1.65rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.path p { margin: 0; color: var(--muted); flex: 1; }


/* ---------- recruitment / closing cta ------------------------------------ */
/* One section doing the job the old "Fly with us" block and the closing CTA
   were splitting between them. */

.cta {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: 5.5rem 0;
	background:
		radial-gradient(70% 80% at 50% 50%, rgba(171, 193, 97, 0.13), transparent 70%),
		var(--bg-2);
	text-align: center;
	border-top: 1px solid var(--line);
}

.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }

.cta h2 {
	font-family: var(--display);
	font-size: clamp(2.2rem, 7vw, 4.6rem);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-shadow: 0 0 50px rgba(171, 193, 97, 0.25);
}

.cta .sect__lede { margin-top: 0; }

.cta .btn { margin-top: 1rem; }

/* ---------- footer ------------------------------------------------------- */

.foot { padding: 3rem 0 3.5rem; background: var(--bg); border-top: 1px solid var(--line); }

.foot__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--line);
}

.foot__top img { width: 56px; height: 56px; opacity: 0.85; }

.foot__links { display: flex; gap: 1.4rem; flex-wrap: wrap; }

.foot__links a {
	color: var(--muted);
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.foot__links a:hover { color: var(--accent); }

.foot__copy {
	margin: 1.5rem 0 0.75rem;
	font-size: 0.82rem;
	color: var(--text);
	letter-spacing: 0.06em;
}

.foot__legal { margin: 0; font-size: 0.68rem; line-height: 1.7; color: #4d5563; }

/* ---------- reveal on scroll (progressive, JS adds .in) ------------------- */

/* Visible by default. The reveal below is an enhancement, so nothing may
   depend on JS running in order to be seen. */
.card, .path, .stat { opacity: 1; }

.js .reveal { opacity: 0; transform: translateY(22px); }

.js .reveal.in {
	opacity: 1;
	transform: none;
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

