.gjx-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: linear-gradient(
		to bottom,
		rgba(8, 6, 4, 0.98),
		rgba(8, 6, 4, 0.96) 50%,
		rgba(8, 6, 4, 0.9) 100%
	);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(90, 74, 51, 0.7);
	box-shadow: 0 22px 40px rgba(0, 0, 0, 0.9);
}
.gjx-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--nav-height);
	gap: var(--space-6);
}
.gjx-header-brand {
	display: flex;
	align-items: center;
	min-width: 0;
}
.gjx-header-logo-link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-4);
	color: var(--color-ink-strong);
}
.gjx-header-logo-mark {
	width: 34px;
	height: 34px;
	border-radius: 40% 60% 55% 45%;
	background: radial-gradient(
		circle at 28% 18%,
		#f4df9b 0,
		#b58438 40%,
		#2b1810 100%
	);
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.95),
		0 12px 26px rgba(0, 0, 0, 0.9);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.gjx-logo-spire {
	width: 14px;
	height: 26px;
	border-radius: 999px 999px 4px 4px;
	background: linear-gradient(to top, #120b08 0, #3a2420 30%, #f8e2a0 100%);
	position: relative;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7);
}
.gjx-logo-spire::before,
.gjx-logo-spire::after {
	content: "";
	position: absolute;
	border-radius: 999px;
}
.gjx-logo-spire::before {
	left: -6px;
	bottom: 2px;
	width: 9px;
	height: 18px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
	opacity: 0.8;
}
.gjx-logo-spire::after {
	right: -6px;
	bottom: 2px;
	width: 9px;
	height: 18px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
	opacity: 0.85;
}
.gjx-header-logo-text {
	display: flex;
	flex-direction: column;
}
.gjx-header-site-title {
	font-family: var(--font-display);
	font-size: 1.1rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-ink-strong);
	white-space: nowrap;
}
.gjx-header-site-tagline {
	font-family: var(--font-hand);
	font-size: 0.78rem;
	line-height: 1.1;
	color: var(--color-ink-muted);
}
.gjx-header-nav {
	display: flex;
	align-items: center;
	gap: var(--space-6);
}
.gjx-header-nav-list {
	display: flex;
	align-items: center;
	gap: var(--space-4);
}
.gjx-header-nav-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.25rem 0.1rem;
	font-size: 0.9rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-ink-subtle);
}
.gjx-header-nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(
		90deg,
		var(--color-accent-brass) 0,
		var(--color-primary) 100%
	);
	transition: width var(--transition-normal);
}
.gjx-header-nav-link:hover,
.gjx-header-nav-link:focus-visible {
	color: var(--color-ink-strong);
}
.gjx-header-nav-link:hover::after,
.gjx-header-nav-link:focus-visible::after {
	width: 100%;
}
.gjx-header-cta-wrap {
	margin-left: var(--space-4);
}
.gjx-header-cta {
	white-space: nowrap;
}
.gjx-header-cta-label {
	font-size: 0.78rem;
}
.gjx-header-cta-icon {
	font-size: 0.8rem;
	color: var(--color-ink-muted);
}
.gjx-header-toggle {
	display: none;
	align-items: center;
	gap: var(--space-3);
	padding: 0.3rem 0.5rem;
	border-radius: var(--radius-pill);
	border: 1px solid rgba(90, 74, 51, 0.8);
	background: radial-gradient(
		circle at 0 0,
		#30251a 0,
		#18120e 45%,
		#0c0a08 100%
	);
	color: var(--color-ink-soft);
	box-shadow: var(--shadow-etch);
	cursor: pointer;
}
.gjx-header-toggle-text {
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.gjx-header-toggle-box {
	width: 20px;
	height: 16px;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.gjx-header-toggle-line {
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	border-radius: 999px;
	background: var(--color-ink-soft);
	transition:
		transform var(--transition-normal),
		opacity var(--transition-normal),
		top var(--transition-normal),
		bottom var(--transition-normal);
}
.gjx-header-toggle-line-top {
	top: 1px;
}
.gjx-header-toggle-line-middle {
	top: 50%;
	transform: translateY(-50%);
}
.gjx-header-toggle-line-bottom {
	bottom: 1px;
}
.gjx-header-toggle.is-open .gjx-header-toggle-line-top {
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}
.gjx-header-toggle.is-open .gjx-header-toggle-line-middle {
	opacity: 0;
}
.gjx-header-toggle.is-open .gjx-header-toggle-line-bottom {
	bottom: auto;
	top: 50%;
	transform: translateY(-50%) rotate(-45deg);
}
.gjx-header-toggle:focus-visible {
	outline: 2px solid var(--color-focus);
	outline-offset: 3px;
}
.gjx-header-nav {
	position: relative;
}
.gjx-header-nav[hidden] {
	display: none;
}
.gjx-header-nav::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.gjx-header-nav,
.gjx-header-nav-list,
.gjx-header-cta-wrap {
	transition:
		transform var(--transition-normal),
		opacity var(--transition-normal);
}
@media (max-width: 960px) {
	.gjx-header-inner {
		gap: var(--space-4);
	}
	.gjx-header-nav-list {
		gap: var(--space-3);
	}
	.gjx-header-site-tagline {
		display: none;
	}
	.gjx-header-cta-label {
		display: none;
	}
}
@media (max-width: 768px) {
	.gjx-header {
		top: 0;
	}
	.gjx-header-inner {
		height: auto;
		padding-top: var(--space-4);
		padding-bottom: var(--space-4);
	}
	.gjx-header-toggle {
		display: inline-flex;
		margin-left: auto;
	}
	.gjx-header-nav {
		position: fixed;
        width: 100%;
		top: var(--nav-height);
		border-radius: 18px;
		background: radial-gradient(
			circle at 0 0,
			#2e241a 0,
			#17120e 50%,
			#0b0a09 100%
		);
		box-shadow: 0 22px 60px rgba(0, 0, 0, 0.96);
		padding: var(--space-6) var(--space-6)
			calc(var(--space-6) + env(safe-area-inset-bottom));
		flex-direction: column;
		align-items: flex-start;
		transform: translateY(-8px);
		opacity: 0;
		pointer-events: none;
	}
	.gjx-header-nav.is-open {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}
	.gjx-header-nav-list {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		margin-bottom: var(--space-4);
	}
	.gjx-header-nav-item {
		width: 100%;
	}
	.gjx-header-nav-link {
		justify-content: space-between;
		padding: 0.55rem 0;
		border-bottom: 1px solid rgba(60, 52, 39, 0.7);
	}
	.gjx-header-nav-item:last-child .gjx-header-nav-link {
		border-bottom: none;
	}
	.gjx-header-nav-link::after {
		right: 0;
		bottom: 0;
	}
	.gjx-header-cta-wrap {
		width: 100%;
		margin-left: 0;
	}
	.gjx-header-cta {
		width: 100%;
		justify-content: center;
	}
	.gjx-header-cta-label {
		display: inline;
	}
	.gjx-header-site-title {
		font-size: 1rem;
		letter-spacing: 0.14em;
	}
	.nav-spacer {
		height: var(--nav-height);
	}
}
@media (prefers-reduced-motion: reduce) {
	.gjx-header-nav,
	.gjx-header-nav-list,
	.gjx-header-cta-wrap,
	.gjx-header-toggle-line {
		transition: none !important;
	}
}
