.gs-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: linear-gradient(
		180deg,
		rgba(1, 2, 4, 0.98),
		rgba(1, 2, 4, 0.96),
		rgba(1, 2, 4, 0.9),
		transparent
	);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(33, 40, 60, 0.96);
}
.gs-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--space-3) var(--space-6);
	gap: var(--space-6);
}
.gs-header__brand-wrap {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.gs-header__brand {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
	font-family: var(--font-heading);
	font-size: 1.05rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-neutral-100);
	white-space: nowrap;
}
.gs-header__brand-mark {
	width: 32px;
	height: 20px;
	border-radius: 999px;
	background: linear-gradient(
		120deg,
		var(--color-accent-primary),
		var(--color-accent-secondary)
	);
	box-shadow: var(--shadow-glow-primary);
	position: relative;
	overflow: hidden;
}
.gs-header__brand-mark::before {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: 999px;
	border: 1px solid rgba(0, 0, 0, 0.7);
	background: repeating-linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.22) 0,
		rgba(255, 255, 255, 0.22) 1px,
		transparent 1px,
		transparent 4px
	);
	mix-blend-mode: soft-light;
}
.gs-header__brand-text {
	white-space: nowrap;
}
.gs-header__tagline {
	font-family: var(--font-condensed);
	font-size: 0.6rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	max-width: 420px;
	white-space: normal;
}
.gs-header__toggle {
	display: none;
	position: relative;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid var(--color-border-subtle);
	background: rgba(6, 8, 12, 0.98);
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 6px;
	cursor: pointer;
	transition:
		border-color var(--duration-base) var(--easing-standard),
		background-color var(--duration-base) var(--easing-standard),
		transform var(--duration-fast) var(--easing-standard);
}
.gs-header__toggle-bar {
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(
		90deg,
		var(--color-accent-primary),
		var(--color-accent-secondary)
	);
	transition:
		transform var(--duration-fast) var(--easing-standard),
		opacity var(--duration-fast) var(--easing-standard),
		width var(--duration-fast) var(--easing-standard);
}
.gs-header__toggle:focus-visible {
	outline: 2px solid var(--color-focus);
	outline-offset: 2px;
}
.gs-header__toggle.is-active {
	border-color: var(--color-accent-primary);
	background: rgba(10, 12, 18, 0.98);
}
.gs-header__toggle.is-active .gs-header__toggle-bar:nth-child(1) {
	transform: translateY(4px) rotate(42deg);
	width: 20px;
}
.gs-header__toggle.is-active .gs-header__toggle-bar:nth-child(2) {
	transform: translateY(-4px) rotate(-42deg);
	width: 20px;
}
.gs-header__nav {
	display: flex;
	align-items: center;
	gap: var(--space-6);
	min-width: 0;
}
.gs-header__nav-list {
	display: flex;
	align-items: center;
	gap: var(--space-6);
	list-style: none;
	margin: 0;
	padding: 0;
}
.gs-header__nav-item {
	position: relative;
}
.gs-header__nav-link {
	position: relative;
	padding-bottom: 4px;
	font-family: var(--font-condensed);
	font-size: 0.78rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	transition: color var(--duration-base) var(--easing-standard);
}
.gs-header__nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(
		90deg,
		var(--color-accent-primary),
		var(--color-accent-secondary)
	);
	transition: width var(--duration-base) var(--easing-entrance);
}
.gs-header__nav-link:hover,
.gs-header__nav-link:focus-visible {
	color: var(--color-neutral-100);
}
.gs-header__nav-link:hover::after,
.gs-header__nav-link:focus-visible::after {
	width: 100%;
}
.gs-header__meta {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	margin-left: auto;
}
.gs-header__hud-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 2px 12px;
	border-radius: 999px;
	border: 1px solid rgba(88, 100, 132, 0.96);
	background: rgba(4, 7, 14, 0.98);
	font-family: var(--font-mono);
	font-size: 0.65rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}
.gs-header__hud-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--color-accent-neo);
	box-shadow: var(--shadow-glow-neo);
}
.gs-header__hud-label {
	white-space: nowrap;
}
.gs-header__lang {
	font-family: var(--font-condensed);
	font-size: 0.65rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	white-space: nowrap;
}
.gs-header__nav--open {
	display: flex;
}
@media (max-width: 960px) {
	.gs-header__inner {
		padding-inline: var(--space-4);
	}
	.gs-header__toggle {
		display: inline-flex;
	}
	.gs-header__nav {
		position: fixed;
		inset-block: 60px 0;
		right: 0;
		width: min(260px, 70vw);
		background: rgba(3, 5, 10, 0.98);
		border-left: 1px solid var(--color-border-subtle);
		box-shadow: -18px 0 40px rgba(0, 0, 0, 0.9);
		flex-direction: column;
		align-items: stretch;
		gap: var(--space-5);
		padding: var(--space-5) var(--space-4);
		transform: translateY(-100%);
		opacity: 0;
		pointer-events: none;
		transition:
			transform var(--duration-slow) var(--easing-entrance),
			opacity var(--duration-base) var(--easing-standard);
	}
	.gs-header__nav-list {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-3);
	}
	.gs-header__nav-item {
		width: 100%;
	}
	.gs-header__nav-link {
		display: block;
		font-size: 0.8rem;
	}
	.gs-header__meta {
		margin-left: 0;
		flex-direction: column;
		align-items: flex-start;
	}
	.gs-header__nav--open {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}
	.gs-header__brand-wrap {
		max-width: 60%;
	}
	.gs-header__tagline {
		display: none;
	}
}
@media (max-width: 640px) {
	.gs-header__inner {
		gap: var(--space-3);
	}
	.gs-header__brand-text {
		font-size: 0.95rem;
		letter-spacing: 0.18em;
	}
}
