/* =============================================================
   HORUS SIMULATIONS — MAIN STYLESHEET
   Aesthetic: tactical instrumentation · cockpit MFD · editorial
   ============================================================= */

:root {
	--void:   #0a0d12;
	--hull:   #10141c;
	--panel:  #151a23;
	--panel-2:#1c222e;
	--line:   #283042;
	--line-hi:#3a4560;
	--bone:   #e8e6e0;
	--muted:  #8a94a6;
	--dim:    #59627a;
	--amber:  #ffb300;
	--amber-2:#ffcc52;
	--cyan:   #00d4ff;
	--danger: #ff3860;

	--font-display: 'Oxanium', 'Rajdhani', system-ui, sans-serif;
	--font-mono:    'IBM Plex Mono', 'JetBrains Mono', ui-monospace, monospace;
	--font-body:    'Archivo', system-ui, -apple-system, sans-serif;

	--max-w: 1280px;
	--gutter: clamp(20px, 4vw, 48px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--bone);
	background: var(--void);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	/* Faint technical grid + radial vignette */
	background-image:
		radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 179, 0, 0.04), transparent 60%),
		linear-gradient(rgba(40, 48, 66, 0.18) 1px, transparent 1px),
		linear-gradient(90deg, rgba(40, 48, 66, 0.18) 1px, transparent 1px);
	background-size: 100% 100%, 48px 48px, 48px 48px;
	background-attachment: fixed;
}

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

a { color: var(--amber); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--amber-2); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
	color: var(--bone);
}

p { margin: 0 0 1em; }

code, pre, kbd {
	font-family: var(--font-mono);
	font-size: 0.92em;
}

::selection { background: var(--amber); color: var(--void); }

/* Mono-data label */
.hu-label {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
}

.hu-label--amber { color: var(--amber); }
.hu-label--cyan  { color: var(--cyan); }

/* Registration marks — corner crosshairs */
.hu-regmark {
	position: relative;
}
.hu-regmark::before,
.hu-regmark::after {
	content: "";
	position: absolute;
	width: 14px; height: 14px;
	border-color: var(--amber);
	border-style: solid;
	pointer-events: none;
}
.hu-regmark::before {
	top: -1px; left: -1px;
	border-width: 1px 0 0 1px;
}
.hu-regmark::after {
	bottom: -1px; right: -1px;
	border-width: 0 1px 1px 0;
}

/* Container */
.hu-container {
	max-width: var(--max-w);
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

/* -------------------------------------------------------------
   HEADER / SITE NAV
   ------------------------------------------------------------- */
.hu-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(10, 13, 18, 0.72);
	backdrop-filter: blur(10px) saturate(140%);
	-webkit-backdrop-filter: blur(10px) saturate(140%);
	border-bottom: 1px solid var(--line);
}

.hu-site-header__bar {
	display: flex;
	align-items: center;
	gap: 32px;
	height: 72px;
}

.hu-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--bone);
	flex-shrink: 0;
	min-width: 0; /* allow flex shrinking when container is tight */
}

.hu-brand__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	height: 44px;
	max-width: 220px;
	color: var(--amber);
	line-height: 0;
}
.hu-brand__mark svg {
	width: 40px;
	height: 40px;
	display: block;
}
.hu-brand__mark img,
.hu-brand__logo-img {
	max-height: 44px;
	max-width: 100%;
	width: auto;
	height: auto;
	display: block;
	object-fit: contain;
}

.hu-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}
.hu-brand__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.hu-brand__sub {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.22em;
	color: var(--muted);
	text-transform: uppercase;
	margin-top: 3px;
}

.hu-nav {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 4px;
}
.hu-nav ul {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	gap: 4px;
}
.hu-nav a {
	display: inline-block;
	padding: 10px 14px;
	color: var(--bone);
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	position: relative;
}
.hu-nav a::before {
	content: "//";
	color: var(--amber);
	opacity: 0;
	margin-right: 6px;
	transition: opacity .2s ease;
}
.hu-nav a:hover::before,
.hu-nav .current-menu-item > a::before,
.hu-nav .current_page_item > a::before {
	opacity: 1;
}
.hu-nav a:hover { color: var(--amber); }

.hu-nav__cta {
	margin-left: 12px;
	padding: 10px 18px;
	border: 1px solid var(--amber);
	color: var(--amber) !important;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	transition: all .2s ease;
}
.hu-nav__cta:hover { background: var(--amber); color: var(--void) !important; }

.hu-menu-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--line);
	color: var(--bone);
	width: 42px; height: 42px;
	margin-left: auto;
	cursor: pointer;
	font-family: var(--font-mono);
	font-size: 16px;
}

/* -------------------------------------------------------------
   HERO
   ------------------------------------------------------------- */
.hu-hero {
	position: relative;
	padding: 120px 0 140px;
	overflow: hidden;
}
.hu-hero::before {
	/* Horizon line */
	content: "";
	position: absolute;
	left: 0; right: 0;
	top: 58%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--amber) 20%, var(--amber) 80%, transparent);
	opacity: 0.18;
}
.hu-hero::after {
	/* pitch ladder marks on horizon */
	content: "";
	position: absolute;
	left: 50%; top: 58%;
	transform: translateX(-50%);
	width: 200px; height: 12px;
	border-left: 1px solid var(--amber);
	border-right: 1px solid var(--amber);
	opacity: 0.5;
	margin-top: -6px;
}

.hu-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 48px;
	align-items: start;
}

.hu-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 28px;
	padding: 6px 12px 6px 10px;
	border: 1px solid var(--line);
	background: rgba(21, 26, 35, 0.6);
	color: var(--amber);
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	animation: hu-fade-up .7s ease both;
}
.hu-hero__eyebrow::before {
	content: "";
	width: 8px; height: 8px;
	background: var(--amber);
	border-radius: 50%;
	box-shadow: 0 0 12px var(--amber);
	animation: hu-pulse 2.2s ease-in-out infinite;
}

.hu-hero__headline {
	font-family: var(--font-display);
	font-size: clamp(36px, 5.8vw, 72px);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.02em;
	margin: 0 0 28px;
	animation: hu-fade-up .9s .1s ease both;
}
.hu-hero__headline em {
	font-style: normal;
	color: var(--amber);
	position: relative;
}
.hu-hero__headline em::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -4px;
	height: 2px;
	background: var(--amber);
	opacity: 0.4;
}

.hu-hero__sub {
	max-width: 620px;
	font-size: 18px;
	color: var(--muted);
	line-height: 1.6;
	margin-bottom: 40px;
	animation: hu-fade-up 1s .2s ease both;
}

.hu-hero__actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	animation: hu-fade-up 1.1s .3s ease both;
}

/* Buttons */
.hu-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 22px;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	border: 1px solid var(--amber);
	background: var(--amber);
	color: var(--void);
	cursor: pointer;
	transition: all .2s ease;
	position: relative;
}
.hu-btn:hover { background: var(--amber-2); color: var(--void); transform: translateY(-1px); }

.hu-btn--ghost {
	background: transparent;
	border-color: var(--line-hi);
	color: var(--bone);
}
.hu-btn--ghost:hover { border-color: var(--amber); color: var(--amber); background: transparent; transform: translateY(-1px); }

.hu-btn::after {
	content: "→";
	font-family: var(--font-mono);
	transition: transform .2s ease;
}
.hu-btn:hover::after { transform: translateX(3px); }

/* Hero instrument panel (right side) */
.hu-hero__panel {
	border: 1px solid var(--line);
	background: linear-gradient(180deg, rgba(21, 26, 35, 0.9), rgba(16, 20, 28, 0.9));
	padding: 18px;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--muted);
	position: relative;
	animation: hu-fade-up 1s .4s ease both;
}
.hu-hero__panel-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 10px;
	margin-bottom: 14px;
	border-bottom: 1px solid var(--line);
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.hu-hero__panel-head span:first-child { color: var(--amber); }
.hu-hero__panel-row {
	display: flex;
	justify-content: space-between;
	padding: 5px 0;
	border-bottom: 1px dashed rgba(40, 48, 66, 0.6);
}
.hu-hero__panel-row:last-child { border: 0; }
.hu-hero__panel-row b {
	color: var(--bone);
	font-weight: 500;
}
.hu-hero__panel-row .ok { color: var(--cyan); }
.hu-hero__panel-row .hot { color: var(--amber); }

/* Progress row — wraps a row + bar together so it sits tidily in the panel */
.hu-hero__panel-progress {
	padding: 4px 0 10px;
	border-bottom: 1px dashed rgba(40, 48, 66, 0.6);
	margin-bottom: 2px;
}

.hu-progress {
	position: relative;
	height: 6px;
	background: var(--hull);
	border: 1px solid var(--line);
	overflow: hidden;
}
.hu-progress__fill {
	position: absolute;
	top: 0; left: 0; bottom: 0;
	width: 0;
	background: linear-gradient(90deg, var(--amber) 0%, var(--amber-2) 100%);
	box-shadow: 0 0 8px rgba(255, 179, 0, 0.45);
	animation: hu-progress-fill 1.6s .5s cubic-bezier(.2,.8,.2,1) forwards;
}
.hu-progress__fill::after {
	/* leading edge highlight */
	content: "";
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 2px;
	background: #fff;
	opacity: 0.5;
}
.hu-progress__ticks {
	position: absolute;
	inset: 0;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}
.hu-progress__ticks span {
	width: 1px;
	background: rgba(10, 13, 18, 0.6);
}
.hu-progress__ticks span:first-child,
.hu-progress__ticks span:last-child { background: transparent; }

@keyframes hu-progress-fill {
	from { width: 0; }
	to   { width: var(--hu-progress, 0%); }
}

@media (prefers-reduced-motion: reduce) {
	.hu-progress__fill { animation: none; width: var(--hu-progress, 0%); }
}

@keyframes hu-fade-up {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes hu-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.35; }
}

/* -------------------------------------------------------------
   SECTION CHROME
   ------------------------------------------------------------- */
.hu-section {
	padding: 110px 0;
	position: relative;
}
.hu-section--tight { padding: 72px 0; }

.hu-section__head {
	display: flex;
	align-items: flex-end;
	gap: 32px;
	margin-bottom: 56px;
	flex-wrap: wrap;
}
.hu-section__eyebrow {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--amber);
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.hu-section__eyebrow::before {
	content: "";
	width: 28px; height: 1px;
	background: var(--amber);
}
.hu-section__title {
	font-family: var(--font-display);
	font-size: clamp(28px, 3.8vw, 44px);
	font-weight: 700;
	margin: 0;
	flex: 1;
	min-width: 0;
	letter-spacing: -0.01em;
}
.hu-section__desc {
	color: var(--muted);
	max-width: 360px;
	font-size: 15px;
}

/* -------------------------------------------------------------
   PROJECTS GRID
   ------------------------------------------------------------- */
.hu-projects {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 24px;
}

.hu-project {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	background: var(--panel);
	transition: all .3s ease;
	overflow: hidden;
}
.hu-project:hover {
	border-color: var(--amber);
	transform: translateY(-2px);
}

.hu-project__media {
	aspect-ratio: 16/10;
	background: var(--hull);
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}
.hu-project__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}
.hu-project:hover .hu-project__media img {
	transform: scale(1.04);
}
.hu-project__media--placeholder {
	background:
		radial-gradient(ellipse at 30% 30%, rgba(255, 179, 0, 0.12), transparent 50%),
		linear-gradient(135deg, var(--panel-2), var(--hull));
	display: grid;
	place-items: center;
}
.hu-project__media--placeholder::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 179, 0, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 179, 0, 0.08) 1px, transparent 1px);
	background-size: 24px 24px;
	opacity: 0.6;
}
.hu-project__media--placeholder svg { color: var(--amber); opacity: 0.35; z-index: 1; }

.hu-project__meta {
	position: absolute;
	top: 12px; left: 12px;
	display: flex;
	gap: 6px;
	z-index: 2;
}
.hu-project__tag {
	padding: 4px 8px;
	background: rgba(10, 13, 18, 0.85);
	border: 1px solid var(--line);
	color: var(--amber);
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.hu-project__body {
	padding: 22px 24px 26px;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.hu-project__code {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	color: var(--cyan);
	text-transform: uppercase;
	margin-bottom: 10px;
}
.hu-project__title {
	font-family: var(--font-display);
	font-size: 22px;
	line-height: 1.15;
	margin: 0 0 10px;
}
.hu-project__title a { color: var(--bone); }
.hu-project__title a:hover { color: var(--amber); }
.hu-project__excerpt {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
	margin: 0 0 20px;
}
.hu-project__link {
	margin-top: auto;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--amber);
	display: inline-flex;
	gap: 8px;
	align-items: center;
}
.hu-project__link::after { content: "→"; transition: transform .2s ease; }
.hu-project:hover .hu-project__link::after { transform: translateX(4px); }

/* -------------------------------------------------------------
   CAPABILITIES
   ------------------------------------------------------------- */
.hu-capabilities {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 0;
	border: 1px solid var(--line);
	background: var(--panel);
}
.hu-cap {
	padding: 40px 32px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	position: relative;
	transition: background .25s ease;
}
.hu-cap:hover { background: var(--panel-2); }
.hu-cap:last-child { border-right: 0; }
.hu-cap__code {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	color: var(--amber);
	text-transform: uppercase;
	margin-bottom: 18px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.hu-cap__code::before {
	content: "";
	width: 6px; height: 6px;
	background: var(--amber);
}
.hu-cap__title {
	font-family: var(--font-display);
	font-size: 22px;
	margin: 0 0 12px;
	letter-spacing: -0.005em;
}
.hu-cap__desc { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

@media (min-width: 900px) {
	.hu-capabilities { grid-template-columns: repeat(4, 1fr); }
	.hu-cap { border-bottom: 0; }
}

/* -------------------------------------------------------------
   ABOUT / MISSION STATEMENT
   ------------------------------------------------------------- */
.hu-about {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 72px;
	align-items: start;
}
.hu-about__lede {
	font-family: var(--font-display);
	font-size: clamp(22px, 2.6vw, 30px);
	line-height: 1.25;
	font-weight: 500;
	color: var(--bone);
	letter-spacing: -0.005em;
}
.hu-about__lede em {
	font-style: normal;
	color: var(--amber);
}
.hu-about__body p {
	color: var(--muted);
	margin-bottom: 1.2em;
}

/* Stat strip */
.hu-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	margin-top: 48px;
}
.hu-stat {
	padding: 24px 20px;
	background: var(--panel);
}
.hu-stat__num {
	font-family: var(--font-display);
	font-size: 40px;
	font-weight: 700;
	color: var(--amber);
	line-height: 1;
	margin-bottom: 6px;
}
.hu-stat__label {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.22em;
	color: var(--muted);
	text-transform: uppercase;
}

/* -------------------------------------------------------------
   DISPATCH (blog teaser)
   ------------------------------------------------------------- */
.hu-dispatch {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
.hu-dispatch__item {
	background: var(--panel);
	padding: 28px 26px;
	display: flex;
	flex-direction: column;
	transition: background .25s ease;
}
.hu-dispatch__item:hover { background: var(--panel-2); }
.hu-dispatch__date {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	color: var(--cyan);
	text-transform: uppercase;
	margin-bottom: 14px;
}
.hu-dispatch__title {
	font-family: var(--font-display);
	font-size: 20px;
	margin: 0 0 10px;
	line-height: 1.2;
}
.hu-dispatch__title a { color: var(--bone); }
.hu-dispatch__title a:hover { color: var(--amber); }
.hu-dispatch__excerpt {
	color: var(--muted);
	font-size: 14px;
	margin: 0 0 18px;
	flex: 1;
}
.hu-dispatch__more {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	color: var(--amber);
	text-transform: uppercase;
}

/* -------------------------------------------------------------
   CONTACT / HAIL
   ------------------------------------------------------------- */
.hu-hail {
	border: 1px solid var(--line);
	background:
		radial-gradient(ellipse 60% 120% at 10% 0%, rgba(255, 179, 0, 0.07), transparent 60%),
		radial-gradient(ellipse 60% 120% at 100% 100%, rgba(0, 212, 255, 0.06), transparent 60%),
		var(--panel);
	padding: clamp(40px, 6vw, 72px);
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 48px;
	align-items: center;
}
.hu-hail__title {
	font-family: var(--font-display);
	font-size: clamp(26px, 3.4vw, 40px);
	margin: 0 0 14px;
	line-height: 1.1;
}
.hu-hail__desc {
	color: var(--muted);
	font-size: 16px;
	margin: 0;
	max-width: 520px;
}
.hu-hail__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 220px;
}

/* -------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------- */
.hu-site-footer {
	border-top: 1px solid var(--line);
	background: var(--hull);
	padding: 60px 0 32px;
	margin-top: 80px;
	font-size: 14px;
}
.hu-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 48px;
	border-bottom: 1px solid var(--line);
}
.hu-footer-grid h4 {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	color: var(--amber);
	text-transform: uppercase;
	margin: 0 0 18px;
}
.hu-footer-grid ul { list-style: none; margin: 0; padding: 0; }
.hu-footer-grid li { margin-bottom: 10px; }
.hu-footer-grid a { color: var(--muted); }
.hu-footer-grid a:hover { color: var(--amber); }
.hu-footer-about { color: var(--muted); max-width: 340px; font-size: 14px; }

.hu-site-footer__tail {
	display: flex;
	justify-content: space-between;
	padding-top: 28px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	color: var(--dim);
	text-transform: uppercase;
	flex-wrap: wrap;
	gap: 12px;
}
.hu-site-footer__tail b { color: var(--amber); font-weight: 500; }

/* -------------------------------------------------------------
   SINGLE / PAGE CONTENT
   ------------------------------------------------------------- */
.hu-article {
	padding: 80px 0 60px;
	max-width: 760px;
	margin: 0 auto;
}
.hu-article__head { margin-bottom: 48px; border-bottom: 1px solid var(--line); padding-bottom: 32px; }
.hu-article__meta {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	color: var(--cyan);
	text-transform: uppercase;
	margin-bottom: 18px;
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}
.hu-article__title {
	font-family: var(--font-display);
	font-size: clamp(30px, 4.5vw, 52px);
	line-height: 1.05;
	margin: 0 0 16px;
	letter-spacing: -0.015em;
}
.hu-article__thumb {
	margin: 0 0 40px;
	border: 1px solid var(--line);
}

.hu-content {
	font-size: 17px;
	line-height: 1.75;
	color: var(--bone);
}
.hu-content h2 { font-size: 28px; margin-top: 2em; margin-bottom: 0.6em; }
.hu-content h3 { font-size: 22px; margin-top: 1.8em; }
.hu-content p { color: #d0ced0; }
.hu-content a { color: var(--amber); border-bottom: 1px dotted var(--amber); }
.hu-content a:hover { color: var(--amber-2); border-bottom-color: var(--amber-2); }
.hu-content blockquote {
	border-left: 2px solid var(--amber);
	margin: 2em 0;
	padding: 4px 0 4px 24px;
	font-family: var(--font-display);
	font-size: 20px;
	color: var(--bone);
}
.hu-content code {
	background: var(--panel-2);
	padding: 2px 6px;
	border: 1px solid var(--line);
	font-size: 0.88em;
	color: var(--amber-2);
}
.hu-content pre {
	background: var(--panel);
	border: 1px solid var(--line);
	padding: 18px 22px;
	overflow-x: auto;
	font-size: 13px;
	line-height: 1.55;
}
.hu-content pre code { background: transparent; border: 0; padding: 0; color: var(--bone); }
.hu-content ul, .hu-content ol { padding-left: 1.4em; margin: 1em 0; }
.hu-content li { margin-bottom: 0.4em; }
.hu-content img { border: 1px solid var(--line); margin: 1.5em 0; }

/* Pagination */
.hu-pagination {
	display: flex;
	gap: 8px;
	margin: 40px 0;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.hu-pagination a,
.hu-pagination span {
	padding: 10px 14px;
	border: 1px solid var(--line);
	color: var(--muted);
}
.hu-pagination a:hover { border-color: var(--amber); color: var(--amber); }
.hu-pagination .current { border-color: var(--amber); color: var(--amber); }

/* 404 */
.hu-404 {
	text-align: center;
	padding: 140px 0;
}
.hu-404__code {
	font-family: var(--font-display);
	font-size: clamp(80px, 14vw, 180px);
	color: var(--amber);
	line-height: 1;
	margin: 0;
	letter-spacing: -0.04em;
}
.hu-404__msg {
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.3em;
	color: var(--muted);
	text-transform: uppercase;
	margin: 8px 0 36px;
}

/* Comments — keep minimal */
.hu-comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.hu-comments h3 { font-family: var(--font-display); margin-bottom: 24px; }
.hu-comments ol { list-style: none; padding: 0; }
.hu-comments .comment-body {
	padding: 20px;
	border: 1px solid var(--line);
	background: var(--panel);
	margin-bottom: 16px;
}

/* Forms */
input[type="text"], input[type="email"], input[type="url"], input[type="search"],
textarea {
	width: 100%;
	background: var(--hull);
	border: 1px solid var(--line);
	color: var(--bone);
	padding: 12px 14px;
	font-family: var(--font-mono);
	font-size: 14px;
	transition: border-color .2s ease;
}
input:focus, textarea:focus {
	outline: none;
	border-color: var(--amber);
}
input[type="submit"], button[type="submit"] {
	background: var(--amber);
	color: var(--void);
	border: 1px solid var(--amber);
	padding: 12px 22px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s ease;
}
input[type="submit"]:hover, button[type="submit"]:hover { background: var(--amber-2); }

/* -------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
	.hu-hero__grid   { grid-template-columns: 1fr; }
	.hu-about        { grid-template-columns: 1fr; gap: 40px; }
	.hu-hail         { grid-template-columns: 1fr; }
	.hu-hail__actions{ flex-direction: row; flex-wrap: wrap; }
	.hu-footer-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 740px) {
	.hu-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--hull); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 12px 0; }
	.hu-nav.is-open { display: flex; }
	.hu-nav ul { flex-direction: column; gap: 0; width: 100%; }
	.hu-nav a { display: block; padding: 14px var(--gutter); }
	.hu-nav__cta { margin: 12px var(--gutter) 0; }
	.hu-menu-toggle { display: grid; place-items: center; }

	.hu-hero { padding: 70px 0 90px; }
	.hu-section { padding: 72px 0; }
	.hu-section__head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 36px; }
	.hu-footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.hu-hail { padding: 32px 24px; }
}

/* =============================================================
   NOTICE BAR / COMMS STRIP
   A thin announcement bar above the header.
   ============================================================= */
.hu-notice {
	background: linear-gradient(90deg, rgba(255, 179, 0, 0.08), rgba(255, 179, 0, 0.02));
	border-bottom: 1px solid rgba(255, 179, 0, 0.25);
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bone);
	position: relative;
}
.hu-notice::before {
	/* scanning amber line on the left edge */
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 2px;
	background: var(--amber);
	box-shadow: 0 0 10px rgba(255, 179, 0, 0.6);
}
.hu-notice__bar {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 0;
	flex-wrap: wrap;
}
.hu-notice__tag {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	background: var(--amber);
	color: var(--void);
	font-weight: 600;
	letter-spacing: 0.18em;
	font-size: 10px;
}
.hu-notice__text {
	flex: 1;
	min-width: 0;
	color: var(--bone);
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: none;
	font-size: 13px;
	font-family: var(--font-body);
}
.hu-notice__link {
	color: var(--amber);
	font-weight: 500;
	letter-spacing: 0.2em;
	white-space: nowrap;
}
.hu-notice__link:hover { color: var(--amber-2); }

/* =============================================================
   STATUS DOT — reused on cards + briefing sidebar
   ============================================================= */
.hu-status-dot {
	display: inline-block;
	width: 8px; height: 8px;
	border-radius: 50%;
	box-shadow: 0 0 10px currentColor;
	vertical-align: baseline;
	animation: hu-pulse 2.5s ease-in-out infinite;
	margin-right: 6px;
	transform: translateY(-1px);
}

/* Status badge on project cards (top-right of media) */
.hu-project__status {
	position: absolute;
	top: 12px; right: 12px;
	z-index: 2;
	padding: 4px 8px 4px 8px;
	background: rgba(10, 13, 18, 0.85);
	border: 1px solid var(--line);
	color: var(--bone);
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
}

/* =============================================================
   SINGLE PROJECT — briefing sidebar layout
   ============================================================= */
.hu-project-single {
	padding: 80px 0 60px;
	max-width: 1180px;
	margin: 0 auto;
}
.hu-project-single__head {
	margin-bottom: 40px;
	border-bottom: 1px solid var(--line);
	padding-bottom: 28px;
}
.hu-project-single__lede {
	color: var(--muted);
	font-size: 19px;
	margin: 16px 0 0;
	max-width: 760px;
	line-height: 1.55;
}

.hu-project-single__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px;
	align-items: start;
}

.hu-project-single__main {
	min-width: 0;
}

/* Briefing sidebar */
.hu-briefing {
	position: sticky;
	top: 96px; /* account for sticky header */
	border: 1px solid var(--line);
	background: linear-gradient(180deg, rgba(21, 26, 35, 0.95), rgba(16, 20, 28, 0.95));
	padding: 22px 20px;
	font-family: var(--font-mono);
	font-size: 12px;
}
.hu-briefing__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 12px;
	margin-bottom: 14px;
	border-bottom: 1px solid var(--line);
	font-size: 10px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}
.hu-briefing__head span:first-child { color: var(--amber); font-weight: 600; }
.hu-briefing__head span:last-child { color: var(--cyan); }

.hu-briefing__rows {
	margin: 0 0 18px;
	padding: 0;
}
.hu-briefing__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 7px 0;
	border-bottom: 1px dashed rgba(40, 48, 66, 0.6);
	gap: 12px;
}
.hu-briefing__row:last-child { border-bottom: 0; }
.hu-briefing__row dt {
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 10.5px;
	margin: 0;
	flex-shrink: 0;
}
.hu-briefing__row dd {
	margin: 0;
	text-align: right;
	font-size: 12px;
}
.hu-briefing__row b {
	color: var(--bone);
	font-weight: 500;
}
.hu-briefing__status--released { color: #7cffa8; }
.hu-briefing__status--test     { color: var(--cyan); }
.hu-briefing__status--dev      { color: var(--amber); }
.hu-briefing__status--deprecated { color: var(--dim); }

.hu-briefing__dl {
	width: 100%;
	justify-content: center;
	margin-bottom: 18px;
}

.hu-briefing__block {
	padding-top: 16px;
	margin-top: 4px;
	border-top: 1px solid var(--line);
}
.hu-briefing__block-head {
	color: var(--amber);
	font-size: 10px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.hu-briefing__block-head::before {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--line);
	order: 2;
}
.hu-briefing__deps {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 11.5px;
	color: var(--bone);
}
.hu-briefing__deps li {
	padding: 5px 0 5px 14px;
	position: relative;
	letter-spacing: 0.04em;
}
.hu-briefing__deps li::before {
	content: "›";
	color: var(--amber);
	position: absolute;
	left: 0;
	top: 5px;
}

.hu-briefing__share-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.hu-briefing__share-actions a {
	flex: 1 1 auto;
	padding: 6px 10px;
	border: 1px solid var(--line);
	color: var(--muted);
	text-align: center;
	font-size: 10.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition: all .2s ease;
}
.hu-briefing__share-actions a:hover {
	border-color: var(--amber);
	color: var(--amber);
}

/* Related projects section */
.hu-related {
	border-top: 1px solid var(--line);
	background: var(--hull);
}

/* Collapse briefing sidebar on narrow screens */
@media (max-width: 900px) {
	.hu-project-single__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.hu-briefing {
		position: static;
	}
}

/* =============================================================
   HERO SCROLL CUE
   ============================================================= */
.hu-hero__scroll {
	position: absolute;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.3em;
	color: var(--muted);
	text-transform: uppercase;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	pointer-events: none;
	opacity: 0;
	animation: hu-scroll-fade 1s 1.6s ease forwards;
}
.hu-hero__scroll::after {
	content: "";
	width: 1px;
	height: 28px;
	background: linear-gradient(180deg, var(--amber), transparent);
	animation: hu-scroll-line 1.8s ease-in-out infinite;
	transform-origin: top;
}
@keyframes hu-scroll-fade {
	to { opacity: 1; }
}
@keyframes hu-scroll-line {
	0%   { transform: scaleY(0); transform-origin: top; }
	50%  { transform: scaleY(1); transform-origin: top; }
	51%  { transform: scaleY(1); transform-origin: bottom; }
	100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (prefers-reduced-motion: reduce) {
	.hu-hero__scroll::after { animation: none; transform: scaleY(1); }
}

/* Hide scroll cue on small screens where it'd crowd the hero */
@media (max-width: 740px) {
	.hu-hero__scroll { display: none; }
}

/* =============================================================
   DCS SERVER STATUS BLOCK
   Lives on the homepage between Capabilities and About.
   Uses military green (#7cffa8) for "online" to stand out from
   the amber-dominant rest of the UI.
   ============================================================= */
:root {
	--go:   #7cffa8;   /* go / online */
	--hold: var(--amber);
	--stop: #ff5a5a;
}

.hu-server {
	border: 1px solid var(--line);
	background: linear-gradient(180deg, var(--panel), var(--hull));
	overflow: hidden;
	position: relative;
}
.hu-server::before {
	/* Faint scanline pattern across the whole block */
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: repeating-linear-gradient(
		0deg,
		transparent 0,
		transparent 3px,
		rgba(255, 255, 255, 0.012) 3px,
		rgba(255, 255, 255, 0.012) 4px
	);
	z-index: 1;
}

.hu-server__head,
.hu-server__grid,
.hu-server__body,
.hu-server__foot { position: relative; z-index: 2; }

/* --- HEAD BAR --- */
.hu-server__head {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	padding: 18px 28px;
	border-bottom: 1px solid var(--line);
	background: rgba(10, 13, 18, 0.5);
}

.hu-server__led {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 12px;
	border: 1px solid var(--line);
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.hu-server__led-dot {
	width: 10px; height: 10px;
	border-radius: 50%;
	background: var(--dim);
}
.hu-server--online  .hu-server__led { border-color: var(--go); color: var(--go); }
.hu-server--online  .hu-server__led-dot {
	background: var(--go);
	box-shadow: 0 0 12px var(--go), 0 0 4px var(--go);
	animation: hu-pulse 2s ease-in-out infinite;
}
.hu-server--offline .hu-server__led { border-color: var(--stop); color: var(--stop); }
.hu-server--offline .hu-server__led-dot { background: var(--stop); box-shadow: 0 0 10px var(--stop); }
.hu-server--unconfigured .hu-server__led { color: var(--muted); }

.hu-server__title-wrap {
	min-width: 0;
}
.hu-server__title {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 600;
	color: var(--bone);
	line-height: 1.1;
	letter-spacing: -0.005em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.hu-server__subtitle {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--muted);
	letter-spacing: 0.12em;
	margin-top: 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hu-server__timestamp {
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.22em;
	color: var(--muted);
	text-transform: uppercase;
	white-space: nowrap;
}

/* --- ONLINE: grid layout --- */
.hu-server__grid {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 0;
}

.hu-server__players {
	padding: 36px 32px;
	border-right: 1px solid var(--line);
	background:
		radial-gradient(ellipse 100% 140% at 0% 50%, rgba(124, 255, 168, 0.06), transparent 60%),
		transparent;
}
.hu-server__players-count {
	font-family: var(--font-display);
	font-size: 64px;
	font-weight: 700;
	line-height: 1;
	color: var(--bone);
	letter-spacing: -0.03em;
	display: flex;
	align-items: baseline;
	gap: 6px;
}
.hu-server__players-current { color: var(--go); }
.hu-server__players-divider { color: var(--dim); font-weight: 300; }
.hu-server__players-max { color: var(--muted); }

.hu-server__players-label {
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.26em;
	color: var(--muted);
	text-transform: uppercase;
	margin: 10px 0 20px;
}

.hu-server__bar .hu-progress__fill {
	/* Override the hero bar's amber to green for the go-state */
	background: linear-gradient(90deg, var(--go) 0%, #b6ffc9 100%);
	box-shadow: 0 0 8px rgba(124, 255, 168, 0.4);
}

.hu-server__meta {
	padding: 32px;
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0;
}
.hu-server__meta-row {
	display: grid;
	grid-template-columns: 120px 1fr;
	align-items: center;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px dashed rgba(40, 48, 66, 0.6);
}
.hu-server__meta-row:last-child { border-bottom: 0; }
.hu-server__meta-row dt {
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.24em;
	color: var(--muted);
	text-transform: uppercase;
	margin: 0;
}
.hu-server__meta-row dd {
	margin: 0;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--bone);
	font-weight: 500;
}
.hu-server__meta-row code {
	background: var(--hull);
	border: 1px solid var(--line);
	padding: 3px 8px;
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--amber);
}

/* --- EMPTY / OFFLINE states --- */
.hu-server__body {
	padding: 40px 32px;
	text-align: center;
}
.hu-server__empty {
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	color: var(--muted);
	margin: 0;
}
.hu-server__empty a {
	color: var(--amber);
	margin-left: 6px;
}
.hu-server__debug {
	margin: 16px 0 0;
	font-size: 11px;
	color: var(--dim);
	font-family: var(--font-mono);
}
.hu-server__debug code {
	background: transparent;
	border: 0;
	color: var(--stop);
	padding: 0;
}

/* --- FOOT --- */
.hu-server__foot {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	padding: 12px 28px;
	border-top: 1px solid var(--line);
	background: rgba(10, 13, 18, 0.5);
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.26em;
	color: var(--dim);
	text-transform: uppercase;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
	.hu-server__head {
		grid-template-columns: 1fr;
		gap: 12px;
		text-align: center;
	}
	.hu-server__led { justify-self: center; }
	.hu-server__timestamp { justify-self: center; }
	.hu-server__grid {
		grid-template-columns: 1fr;
	}
	.hu-server__players {
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}
	.hu-server__meta-row { grid-template-columns: 100px 1fr; }
}

/* =============================================================
   SERVER STATUS — PILOT ROSTER + PAUSED BADGE
   Shown when the SPARTAN-style endpoint returns a player list.
   ============================================================= */
.hu-server__paused-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	padding: 6px 12px;
	border: 1px solid var(--amber);
	color: var(--amber);
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.hu-server__roster {
	border-top: 1px solid var(--line);
	padding: 22px 28px 26px;
	background: rgba(10, 13, 18, 0.4);
}
.hu-server__roster-head {
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.26em;
	color: var(--amber);
	text-transform: uppercase;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.hu-server__roster-head::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--line);
}

.hu-server__roster-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 6px 16px;
}

.hu-server__pilot {
	display: grid;
	grid-template-columns: 36px 1fr auto;
	align-items: center;
	gap: 10px;
	padding: 7px 10px;
	border: 1px solid var(--line);
	background: var(--panel-2);
	font-family: var(--font-mono);
	font-size: 12px;
	min-width: 0;
}

.hu-server__pilot-coal {
	font-size: 9.5px;
	letter-spacing: 0.18em;
	text-align: center;
	font-weight: 600;
	padding: 3px 0;
	border: 1px solid var(--line);
}
.hu-server__pilot--blue      .hu-server__pilot-coal { color: #6dc4ff; border-color: rgba(109, 196, 255, 0.4); }
.hu-server__pilot--red       .hu-server__pilot-coal { color: #ff7b7b; border-color: rgba(255, 123, 123, 0.4); }
.hu-server__pilot--spectator .hu-server__pilot-coal { color: var(--muted); }

.hu-server__pilot-name {
	color: var(--bone);
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}

.hu-server__pilot-ac {
	font-size: 10px;
	letter-spacing: 0.1em;
	color: var(--muted);
	text-transform: uppercase;
	white-space: nowrap;
}

@media (max-width: 740px) {
	.hu-server__roster {
		padding: 18px 20px 22px;
	}
	.hu-server__roster-list {
		grid-template-columns: 1fr;
	}
}
