/* Site header — branding mark + nav layout. */

.site-header {
	padding: 1rem 0;
	background: var(--color-black);
	color: var(--color-white);
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-05);
}

@media (max-width: 480px) {

	.site-header {
		padding: 0.75rem 0;
	}

	.site-header__inner {
		gap: var(--space-04);
	}
}

.site-branding {
	display: flex;
	align-items: center;
}

.site-branding__logo-link {
	display: inline-block;
	line-height: 0;
}

.site-branding__logo {
	display: block;
	width: auto;
	height: 3.125rem;
	fill: var(--color-white);
}

.site-branding__logo path {
	fill: inherit;
}

/* Push the primary nav to the right so it sits next to the auth box. */
.site-header__inner > .main-navigation {
	width: auto;
	margin-left: auto;
}

/* With only a couple of items the menu always fits inline — skip the
   hamburger toggle that _s ships for narrow viewports. */
.site-header .menu-toggle {
	display: none;
}

.site-header .main-navigation ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-05);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header .main-navigation li {
	margin: 0;
}

.site-header .main-navigation a {
	display: inline-block;
	padding: 0.25rem 0;
	color: var(--color-white);
	font-family: "Maax Bold";
	font-weight: 400;
	font-size: 1rem;
	line-height: 1;
	text-decoration: none;
}

.site-header .main-navigation a:hover,
.site-header .main-navigation .current-menu-item > a,
.site-header .main-navigation .current_page_item > a,
.site-header .main-navigation .current-menu-ancestor > a,
.site-header .main-navigation .current_page_ancestor > a {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.25rem;
}

.site-header .main-navigation a:focus-visible {
	outline: 2px solid var(--color-white);
	outline-offset: 2px;
}

/* Auth nav — bordered pills aligned to the right. Mirrors sister
   theme's .utility-nav. */
.site-header__auth {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-family: "Maax Medium";
	font-size: 0.75rem;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.site-header__auth-box {
	display: inline-flex;
	align-items: center;
	border: 2px solid var(--color-white);
	padding: 0.5rem;
	background: transparent;
	margin: 0;
}

.site-header__auth-sep {
	padding: 0 0.25rem;
}

.site-header__auth a,
.site-header__auth button {
	display: inline-block;
	border: 0;
	padding: 0;
	background: transparent;
	color: var(--color-white);
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	text-decoration: none;
	cursor: pointer;
}

.site-header__auth a:hover,
.site-header__auth button:hover {
	text-underline-offset: 0.2rem;
	text-decoration-line: underline;
	text-decoration-skip-ink: auto;
	text-decoration-style: solid;
	text-decoration-thickness: 2px;
}

.site-header__auth a:focus-visible,
.site-header__auth button:focus-visible {
	outline: 2px solid var(--color-white);
	outline-offset: 2px;
}
