/**
 * Nord static shell — Tier 0 + Tier 1 only (no Tailwind, no legacy CMS).
 * Brand: Oilers #00205B, Cosmic Orange #FF4C00; copy/logo aligned with data/branding.json + hero-blueprint.md
 */
:root {
	--oilers: #00205b;
	--orange: #ff4c00;
	--steel-a: #d1d1d6;
	--steel-b: #ffffff;
	--steel-c: #8e8e93;
}

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

html,
body {
	margin: 0;
	min-height: 100%;
	font-family:
		system-ui,
		-apple-system,
		'Segoe UI',
		Roboto,
		sans-serif;
	/* SPA (React + Tailwind) owns the canvas — avoid Oilers #00205B as full-page wash (was masking failed hero images). */
	background: #ffffff;
	color: #0a1628;
}

/* —— Tier 1: 100vh hero —— */
.nord-hero {
	position: relative;
	min-height: 100vh;
	height: 100vh;
	overflow: hidden;
	background: var(--oilers);
}

.nord-hero__video-wrap {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.nord-hero__video-wrap video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.nord-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.4);
	pointer-events: none;
}

/* —— Absolute header chrome (Tier 1) —— */
.nord-header {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	z-index: 100;
	pointer-events: none;
}

.nord-header__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 4.25rem;
	padding: 1.5rem 1rem 0.5rem;
	pointer-events: auto;
}

.nord-header__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: center;
	max-width: min(100%, calc(100vw - 8rem));
}

.nord-header__nav a {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.35rem 0.65rem;
	border-radius: 9999px;
	background: rgba(0, 32, 91, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(12px);
}

.nord-header__nav a:hover {
	background: rgba(0, 32, 91, 0.65);
}

/* —— Tier 0: steel logo sweet spot —— */
.nord-logo {
	position: absolute;
	top: 24px;
	left: 24px;
	z-index: 110;
	pointer-events: auto;
}

.nord-logo__link {
	display: inline-block;
	line-height: 0;
	text-decoration: none;
}

.nord-logo__wrap {
	position: relative;
	display: inline-block;
	line-height: 0;
	border-radius: 50%;
	isolation: isolate;
}

.nord-logo__wrap::after {
	content: '';
	position: absolute;
	inset: -6%;
	border-radius: 50%;
	pointer-events: none;
	z-index: 2;
	opacity: 0.88;
	mix-blend-mode: screen;
	background: conic-gradient(
		from 0deg,
		transparent 0deg,
		transparent 252deg,
		rgba(255, 255, 255, 0.25) 268deg,
		rgba(255, 255, 255, 0.95) 283deg,
		rgba(255, 255, 255, 0.28) 298deg,
		transparent 314deg,
		transparent 360deg
	);
	-webkit-mask-image: radial-gradient(
		circle,
		transparent 56%,
		#000 57.5%,
		#000 74%,
		transparent 75.5%
	);
	mask-image: radial-gradient(circle, transparent 56%, #000 57.5%, #000 74%, transparent 75.5%);
	animation: nord-glint-orbit 8s linear infinite;
}

@keyframes nord-glint-orbit {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.nord-logo__svg {
	position: relative;
	z-index: 1;
	display: block;
	width: 56px;
	height: 56px;
	transform-origin: 50% 50%;
	transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (min-width: 640px) {
	.nord-logo__svg {
		width: 60px;
		height: 60px;
	}
}

.nord-logo__link:hover .nord-logo__svg,
.nord-logo__link:focus-visible .nord-logo__svg {
	transform: scale(0.96);
}

.nord-logo__steel {
	pointer-events: none;
}

/* —— Center stack —— */
.nord-hero__content {
	position: relative;
	z-index: 20;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 100vh;
	padding: 5.75rem 1rem 2rem;
}

@media (min-width: 640px) {
	.nord-hero__content {
		padding-top: 6rem;
	}
}

.nord-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.65rem 1rem;
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 9999px;
	backdrop-filter: blur(16px);
	margin-bottom: 1rem;
}

.nord-motto {
	max-width: 36rem;
	margin: 0 0 1.25rem;
	font-size: clamp(0.95rem, 2.5vw, 1.1rem);
	font-weight: 600;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.nord-h1 {
	margin: 0;
	max-width: 56rem;
	font-size: clamp(1.65rem, 5vw, 3.75rem);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	text-wrap: balance;
}

.nord-h1 .accent {
	color: var(--orange);
	text-shadow: 0 2px 24px rgba(255, 76, 0, 0.45);
}

.nord-h1 .soft {
	font-weight: 800;
	text-shadow:
		0 0 20px rgba(0, 32, 91, 0.9),
		0 2px 12px rgba(0, 0, 0, 0.75);
}

.nord-note {
	margin-top: 2rem;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.55);
	max-width: 28rem;
	line-height: 1.5;
}
