/* -----------------------------------------------------------------------
   Site header — brand, navigation, search, CTA.

   Layout model (one markup, two presentations):
     > 900px   a single flex row: brand | menu | actions. Submenus drop down.
     <= 900px  brand | actions on the row; the menu becomes a side drawer
               driven by html.nav-open (assets/js/header.js).

   Written to be boring on purpose, because the previous version broke in
   Firefox: no <details> tricks, no sibling-combinator state, no transform on
   a header that has fixed descendants, no JS-promoted fixed positioning, no
   layout containment. Sticky positioning does the pinning; the "smart" mode
   hides the header with a transform, which never reflows the page.

   Class names kept for the per-section overrides in branded-archive.css and
   singles.css: .site-header, .site-header--sticky.is-scrolled, .header-cta,
   .site-description.
   ----------------------------------------------------------------------- */

.site-header {
	--header-deep: color-mix(in srgb, var(--shivuk-color-accent) 78%, #0c2f4c);
	position: relative;
	z-index: 1000;
	background:
		radial-gradient(60% 130% at 88% 0%, rgba(255, 255, 255, 0.14), transparent 60%),
		linear-gradient(165deg, var(--shivuk-color-accent), var(--header-deep));
	color: #ffffff;
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.site-header input:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

/* --- Pinning --------------------------------------------------------- */
.site-header--sticky {
	position: sticky;
	inset-block-start: 0;
	transition: box-shadow 0.25s ease;
}

body.admin-bar .site-header--sticky {
	inset-block-start: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .site-header--sticky {
		inset-block-start: 46px;
	}
}

/* Below 600px the admin bar scrolls away with the page. */
@media (max-width: 600px) {
	body.admin-bar .site-header--sticky {
		inset-block-start: 0;
	}
}

.site-header--sticky.is-scrolled {
	box-shadow: 0 6px 24px rgba(10, 40, 65, 0.28);
}

.site-header.site-header--no-shadow.is-scrolled {
	box-shadow: none !important;
}

/* Hide mode: slide away on the way down, back on the way up. A transform
   only — nothing reflows, so there is no scroll-anchoring echo to fight. */
.site-header--hide {
	transition: transform 0.3s var(--shivuk-ease), box-shadow 0.25s ease;
}

.site-header--hide.is-hidden {
	transform: translateY(calc(-100% - 48px));
	box-shadow: none;
}

/* Smart mode: the header SHRINKS on the way down and returns to full size on
   the way up. Its height changes, so (once header.js has measured it) it is
   pinned with position: fixed and its wrapper keeps the expanded height in the
   page flow — the content below never moves, so there is no reflow and no
   scroll-anchoring echo. Without JS it simply stays sticky and never shrinks. */
.site-header--smart .site-header__bar {
	transition: padding-block 0.25s ease;
}

.site-header--smart .custom-logo-link img,
.site-header--smart .site-branding img {
	transition: max-block-size 0.25s ease;
}

.site-header--smart.is-compact .site-header__bar {
	padding-block: 5px;
}

.site-header--smart.is-compact .custom-logo-link img,
.site-header--smart.is-compact .site-branding img {
	max-block-size: 38px;
}

.site-header--fold.is-compact .site-branding__text {
	grid-template-rows: 0fr;
}

.site-header--fold.is-compact .site-branding__text-inner {
	opacity: 0;
}

.js-pinned .site-header-wrap {
	min-block-size: var(--shivuk-header-h, 0px);
}

.js-pinned .site-header--smart {
	position: fixed;
	inset-inline: 0;
	inset-block-start: 0;
	z-index: 1000;
}

.js-pinned body.admin-bar .site-header--smart {
	inset-block-start: 32px;
}

@media (max-width: 782px) {
	.js-pinned body.admin-bar .site-header--smart {
		inset-block-start: 46px;
	}
}

/* --- Bar ------------------------------------------------------------- */
.site-header__bar {
	display: flex;
	align-items: center;
	gap: 1rem clamp(1rem, 2vw, 1.75rem);
	padding-block: 0.9rem;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex: 0 1 auto;
	min-inline-size: 0;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.custom-logo-link img,
.site-branding img {
	max-block-size: 56px;
	max-inline-size: 100%;
	inline-size: auto;
	block-size: auto;
}

/* The text block can fold away (smart mode): a grid row animating 1fr -> 0fr
   reaches the content's real height, so it never clips or jumps the way a
   max-height guess would. */
.site-branding__text {
	display: grid;
	grid-template-rows: 1fr;
	min-inline-size: 0;
	transition: grid-template-rows 0.25s ease;
}

.site-branding__text-inner {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-block-size: 0;
	padding-block: 2px;
	overflow: hidden;
	transition: opacity 0.25s ease;
}

.site-title {
	margin: 0;
	/* Wraps instead of being clipped: the title is gradient-filled text, and an
	   ellipsis on it is painted outside the background that fills the glyphs —
	   Firefox then shows a ghost of the last letter. Never truncate it. */
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.1;
	overflow-wrap: anywhere;
}

.site-title a {
	color: #ffffff;
	text-decoration: none;
}

.site-description {
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.8125rem;
	line-height: 1.15;
	margin-block-start: -1px;
}

/* Icy sweep across the title on hover/focus; solid white where
   background-clip: text is unsupported. */
@supports (background-clip: text) or (-webkit-background-clip: text) {
	.site-header--shine .site-title a {
		background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, #bfe1f7 50%, #ffffff 60%, #ffffff 100%);
		background-size: 250% 100%;
		background-position: 100% 0;
		-webkit-background-clip: text;
		background-clip: text;
		-webkit-text-fill-color: transparent;
		color: transparent;
		transition: background-position 0.9s var(--shivuk-ease);
	}

	.site-header--shine .site-title a:hover,
	.site-header--shine .site-title a:focus-visible {
		background-position: 0 0;
	}
}

/* Mid-width laptops: tighter menu and no tagline, so a long menu stays on one
   row instead of wrapping into a second one under the brand. */
@media (min-width: 901px) and (max-width: 1180px) {
	.site-description {
		display: none;
	}

	.site-nav__list,
	.site-nav__list ul {
		column-gap: clamp(0.7rem, 1.3vw, 1.1rem);
	}

	.site-nav a {
		font-size: 0.94rem;
	}

	.custom-logo-link img,
	.site-branding img {
		max-block-size: 46px;
	}
}

/* --- Actions (search, CTA, burger) ----------------------------------- */
.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex: 0 0 auto;
}

.header-search-toggle,
.menu-toggle {
	display: inline-grid;
	place-items: center;
	flex-shrink: 0;
	inline-size: 40px;
	block-size: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	font: inherit;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 0.2s ease, transform 0.2s var(--shivuk-ease);
}

.header-search-toggle:hover,
.header-search-toggle:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible {
	background: rgba(255, 255, 255, 0.26);
	color: #ffffff;
}

.header-search-toggle:active,
.menu-toggle:active {
	transform: scale(0.92);
}

.header-search-toggle svg {
	inline-size: 19px;
	block-size: 19px;
}

.header-cta {
	display: inline-flex;
	align-items: center;
	padding: 0.55em 1.1em;
	border-radius: 999px;
	background: #ffffff;
	color: var(--shivuk-color-accent);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(8, 40, 96, 0.22);
	transition: transform 0.2s var(--shivuk-ease), box-shadow 0.2s var(--shivuk-ease);
}

.header-cta:hover,
.header-cta:focus-visible {
	color: var(--shivuk-color-accent);
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(8, 40, 96, 0.3);
}

/* Burger: three bars that fold into an X while the drawer is open. */
.menu-toggle {
	display: none;
}

.menu-toggle__bars {
	position: relative;
	display: block;
	inline-size: 20px;
	block-size: 14px;
}

.menu-toggle__bars span {
	position: absolute;
	inset-inline: 0;
	block-size: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.3s var(--shivuk-ease), opacity 0.2s ease;
}

.menu-toggle__bars span:nth-child(1) {
	inset-block-start: 0;
}

.menu-toggle__bars span:nth-child(2) {
	inset-block-start: 6px;
}

.menu-toggle__bars span:nth-child(3) {
	inset-block-start: 12px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* --- Navigation ------------------------------------------------------ */
.site-nav {
	flex: 1 1 auto;
	min-inline-size: 0;
	margin-inline-start: auto;
}

.site-nav__list,
.site-nav__list ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem clamp(1rem, 1.8vw, 1.6rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list li {
	position: relative;
}

/* Underline-grow link effect. background-position 100% is the physical
   right, i.e. the reading start in RTL. */
.site-nav a {
	color: #ffffff;
	font-weight: 500;
	text-decoration: none;
	padding-block: 0.3em;
	background: linear-gradient(#ffffff, #ffffff) no-repeat 100% 100% / 0 2px;
	transition: background-size 0.25s var(--shivuk-ease);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a {
	color: #ffffff;
	background-size: 100% 2px;
}

/* Drawer-only pieces are invisible in the desktop bar. */
.site-nav__head,
.site-nav__search,
.site-nav__extras,
.site-nav-backdrop {
	display: none;
}

/* --- Desktop submenus ------------------------------------------------ */
.site-nav .sub-menu {
	position: absolute;
	inset-block-start: 100%;
	inset-inline-start: 0;
	z-index: 5;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 0;
	min-inline-size: 200px;
	max-inline-size: min(320px, calc(100vw - 2rem));
	padding: 0.5rem;
	background: var(--header-deep);
	border-radius: 0 0 var(--shivuk-radius) var(--shivuk-radius);
	box-shadow: var(--shivuk-shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.site-nav .sub-menu a {
	display: block;
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	background: none;
	font-size: 0.92rem;
	transition: background-color 0.18s ease;
}

.site-nav .sub-menu a:hover,
.site-nav .sub-menu a:focus-visible {
	background-color: rgba(255, 255, 255, 0.14);
}

/* A device that cannot hover at all (touch-only tablet in landscape) has no
   way to reveal a hover submenu, so show it inline. any-hover, not hover:
   Firefox on a touchscreen Windows laptop reports the PRIMARY pointer as
   coarse even with a mouse attached; any-hover:none is only true when nothing
   can hover. */
@media (any-hover: none) and (min-width: 901px) {
	.site-nav__list {
		align-items: flex-start;
	}

	.site-nav .sub-menu {
		position: static;
		min-inline-size: 0;
		margin-block-start: 0.25rem;
		background: rgba(255, 255, 255, 0.1);
		border-radius: 8px;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}

/* --- Search dialog --------------------------------------------------- */
.search-dialog {
	position: fixed;
	inset: 0;
	inline-size: 100%;
	block-size: 100%;
	max-inline-size: none;
	max-block-size: none;
	margin: 0;
	padding: var(--shivuk-space);
	border: 0;
	color: #ffffff;
	overflow-y: auto;
	/* An accent glow bleeding in from the top corner over near-black ink. */
	background:
		radial-gradient(70% 90% at 85% 0%, rgba(26, 125, 190, 0.35), transparent 60%),
		linear-gradient(165deg, rgba(10, 34, 52, 0.97), rgba(6, 20, 31, 0.97));
}

/* display lives on [open] only — setting it on the bare selector would make
   a closed dialog visible. */
.search-dialog[open] {
	display: grid;
	place-items: center;
	animation: shivuk-search-in 0.25s var(--shivuk-ease);
}

.search-dialog::backdrop {
	background: transparent;
}

@keyframes shivuk-search-in {
	from {
		opacity: 0;
	}
}

/* Set on <html> while the dialog (or the drawer) is open. */
html.is-scroll-locked {
	overflow: hidden;
}

.search-dialog a:focus-visible,
.search-dialog button:focus-visible,
.search-dialog input:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.search-dialog__close {
	position: absolute;
	inset-block-start: calc(var(--shivuk-space) * 0.75);
	inset-inline-end: calc(var(--shivuk-space) * 0.75);
	display: grid;
	place-items: center;
	inline-size: 44px;
	block-size: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.25s var(--shivuk-ease);
}

.search-dialog__close svg {
	inline-size: 20px;
	block-size: 20px;
}

.search-dialog__close:hover,
.search-dialog__close:focus-visible {
	background: rgba(255, 255, 255, 0.2);
	transform: rotate(90deg);
}

.search-dialog__panel {
	inline-size: 100%;
	max-inline-size: 720px;
	text-align: center;
}

.search-dialog__kicker {
	color: #8fc4e8;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.search-dialog__title {
	margin: 0.15em 0 0.9em;
	font-size: clamp(1.9rem, 5vw, 2.9rem);
	font-weight: 800;
	line-height: 1.15;
}

/* The theme's search form restyled as one glass pill on the dark layer. */
.search-dialog .search-form {
	max-inline-size: 560px;
	margin-inline: auto;
	padding: 0.4rem;
	gap: 0.4rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.search-dialog .search-form:focus-within {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.55);
}

.search-dialog .search-field {
	border: 0;
	background: transparent;
	color: #ffffff;
	font-size: 1.15rem;
	padding-inline: 1.1em;
}

.search-dialog .search-field::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

.search-dialog .search-field:focus,
.search-dialog .search-field:focus-visible {
	outline: none;
}

.search-dialog .search-submit {
	border-radius: 999px;
	padding-inline: 1.5em;
	font-weight: 700;
}

.search-dialog__cats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-block-start: 1.7rem;
}

.search-dialog__cats-label {
	inline-size: 100%;
	margin-block-end: 0.15rem;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem;
}

.search-dialog__cat {
	padding: 0.3em 1em;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	color: #ffffff;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.search-dialog__cat:hover,
.search-dialog__cat:focus-visible {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.55);
}

/* --- Without JS: the menu is simply visible under the brand row ------- */
@media (max-width: 900px) {
	html:not(.js-enabled) .site-header__bar {
		flex-wrap: wrap;
	}

	html:not(.js-enabled) .site-nav {
		flex-basis: 100%;
		order: 3;
	}

	html:not(.js-enabled) .site-nav__list {
		flex-direction: column;
	}

	html:not(.js-enabled) .site-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: transparent;
		box-shadow: none;
	}

	html:not(.js-enabled) .site-header__actions {
		margin-inline-start: auto;
	}
}

/* --- Phone: side drawer ---------------------------------------------- */
@media (max-width: 900px) {
	.site-header__bar {
		flex-wrap: nowrap;
		padding-block: 0.7rem;
	}

	.site-branding {
		flex: 1 1 auto;
	}

	.custom-logo-link img,
	.site-branding img {
		max-block-size: 44px;
	}

	/* The tagline stays on a phone, one small line that ends in an ellipsis
	   when the space beside the logo, search, CTA and burger runs out. */
	.site-description {
		font-size: 0.72rem;
		line-height: 1.15;
	}

	.site-title {
		font-size: 1.05rem;
	}

	.site-header__actions {
		gap: 0.5rem;
		min-inline-size: 0;
	}

	.menu-toggle,
	.header-search-toggle {
		inline-size: 38px;
		block-size: 38px;
	}

	/* Search lives in the drawer on phones. */
	.js-enabled .header-search-toggle {
		display: none;
	}

	.js-enabled .menu-toggle {
		display: inline-grid;
	}

	.header-cta {
		padding: 0.5em 0.85em;
		font-size: 0.85rem;
		white-space: normal;
		max-inline-size: 9.5rem;
	}

	html.nav-open {
		overflow: hidden;
	}

	/* The panel. position: fixed is relative to the viewport because nothing
	   above it in the header carries transform/filter/contain while it is open. */
	.js-enabled .site-nav {
		position: fixed;
		inset-block: 0;
		inset-inline-start: 0;
		z-index: 2;
		inline-size: min(340px, 86vw);
		margin: 0;
		padding: 0.9rem 0.9rem max(1.5rem, env(safe-area-inset-bottom));
		overflow-y: auto;
		overscroll-behavior: contain;
		background:
			radial-gradient(120% 45% at 50% 0%, color-mix(in srgb, var(--shivuk-color-accent) 36%, transparent), transparent 72%),
			linear-gradient(200deg, #0e2c46, #081522 75%);
		border-start-end-radius: 22px;
		border-end-end-radius: 22px;
		box-shadow: -20px 0 50px rgba(4, 14, 24, 0.45);
		transform: translateX(100%);
		visibility: hidden;
		/* visibility flips only after the slide-out has finished. */
		transition: transform 0.35s var(--shivuk-ease), visibility 0s linear 0.35s;
	}

	html.js-enabled[dir="ltr"] .site-nav {
		transform: translateX(-100%);
	}

	.js-enabled.nav-open .site-nav {
		transform: none;
		visibility: visible;
		transition-delay: 0s;
	}

	.js-enabled .site-nav-backdrop {
		position: fixed;
		inset: 0;
		z-index: 1;
		display: block;
		background: rgba(5, 16, 26, 0.55);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0s linear 0.3s;
	}

	.js-enabled.nav-open .site-nav-backdrop {
		opacity: 1;
		visibility: visible;
		transition-delay: 0s;
	}

	/* Title row with its own close button. */
	.js-enabled .site-nav__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-block-end: 0.9rem;
		padding-inline-start: 0.95rem;
	}

	.site-nav__label {
		color: color-mix(in srgb, var(--shivuk-color-accent) 40%, #ffffff);
		font-size: 0.78rem;
		font-weight: 700;
		letter-spacing: 0.14em;
	}

	.site-nav__close {
		display: grid;
		place-items: center;
		inline-size: 38px;
		block-size: 38px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.12);
		color: #ffffff;
		cursor: pointer;
		transition: background-color 0.2s ease;
	}

	.site-nav__close svg {
		inline-size: 18px;
		block-size: 18px;
	}

	.site-nav__close:hover,
	.site-nav__close:focus-visible {
		background: rgba(255, 255, 255, 0.24);
	}

	/* Search: a single glass pill (icon, field, submit arrow). */
	.js-enabled .site-nav__search {
		display: flex;
		align-items: center;
		gap: 0.5rem;
		margin-block-end: 1.1rem;
		padding-inline: 0.85rem;
		border: 1px solid rgba(255, 255, 255, 0.16);
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.08);
		transition: border-color 0.2s ease, background-color 0.2s ease;
	}

	.site-nav__search:focus-within {
		border-color: color-mix(in srgb, var(--shivuk-color-accent) 70%, #ffffff);
		background-color: rgba(255, 255, 255, 0.13);
	}

	.site-nav__search-icon {
		flex-shrink: 0;
		inline-size: 17px;
		block-size: 17px;
		color: rgba(255, 255, 255, 0.55);
	}

	.site-nav__search-field {
		flex: 1 1 auto;
		min-inline-size: 0;
		padding-block: 0.72rem;
		border: 0;
		background: transparent;
		color: #ffffff;
		font: inherit;
		font-size: 0.98rem;
		font-weight: 500;
		-webkit-appearance: none;
		appearance: none;
	}

	.site-nav__search-field::placeholder {
		color: rgba(255, 255, 255, 0.45);
	}

	.site-nav__search-field:focus,
	.site-nav__search-field:focus-visible {
		outline: none;
	}

	.site-nav__search-submit {
		display: grid;
		place-items: center;
		flex-shrink: 0;
		inline-size: 30px;
		block-size: 30px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.12);
		color: #ffffff;
		cursor: pointer;
		transition: background-color 0.18s ease;
	}

	.site-nav__search-submit svg {
		inline-size: 15px;
		block-size: 15px;
	}

	.site-nav__search-field:not(:placeholder-shown) ~ .site-nav__search-submit {
		background: var(--shivuk-color-accent);
	}

	/* Menu rows: soft rounded links, no dividers. */
	.js-enabled .site-nav__list {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 0.25rem;
	}

	.site-nav a {
		background-image: none;
	}

	.site-nav__list > li > a {
		display: block;
		padding: 0.78rem 0.95rem;
		border-radius: 12px;
		color: rgba(255, 255, 255, 0.88);
		font-size: 1.04rem;
		font-weight: 600;
		transition: background-color 0.16s ease, color 0.16s ease;
	}

	.site-nav__list > li > a:hover,
	.site-nav__list > li > a:focus-visible {
		color: #ffffff;
		background-color: rgba(255, 255, 255, 0.09);
	}

	/* Current page: a solid accent pill. After the hover rule so it wins. */
	.site-nav__list > li.current-menu-item > a,
	.site-nav__list > li.current-menu-ancestor > a {
		color: #ffffff;
		font-weight: 700;
		background-color: var(--shivuk-color-accent);
		box-shadow: 0 6px 18px color-mix(in srgb, var(--shivuk-color-accent) 45%, transparent);
	}

	/* Submenus flow inline under their parent. */
	.site-nav .sub-menu {
		position: static;
		min-inline-size: 0;
		max-inline-size: 100%;
		gap: 0.1rem;
		padding: 0.15rem 0.6rem 0.5rem;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}

	.site-nav .sub-menu a {
		padding: 0.5rem 0.95rem;
		border-radius: 10px;
		color: rgba(255, 255, 255, 0.62);
		font-weight: 500;
	}

	.site-nav .sub-menu a:hover,
	.site-nav .sub-menu a:focus-visible {
		background: rgba(255, 255, 255, 0.07);
		color: #ffffff;
	}

	/* Follow section at the foot. */
	.js-enabled .site-nav__extras {
		display: block;
		margin-block-start: 1.4rem;
		padding-block-start: 1.4rem;
		border-block-start: 1px solid rgba(255, 255, 255, 0.12);
	}

	.site-nav__ctas {
		display: grid;
		gap: 0.6rem;
	}

	.site-nav__cta {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.6rem;
		padding: 0.7rem 1rem;
		border: 1px solid rgba(255, 255, 255, 0.25);
		border-radius: 999px;
		color: #ffffff;
		font-size: 0.95rem;
		font-weight: 700;
		background-image: none;
		transition: background-color 0.18s ease, border-color 0.18s ease;
	}

	.site-nav__cta svg {
		inline-size: 18px;
		block-size: 18px;
		flex-shrink: 0;
	}

	.site-nav__cta:hover,
	.site-nav__cta:focus-visible {
		color: #ffffff;
		background-color: rgba(255, 255, 255, 0.1);
		border-color: rgba(255, 255, 255, 0.45);
	}

	.site-nav__cta--solid {
		background-color: var(--shivuk-color-accent);
		border-color: transparent;
		box-shadow: 0 6px 18px color-mix(in srgb, var(--shivuk-color-accent) 45%, transparent);
	}

	.site-nav__cta--solid:hover,
	.site-nav__cta--solid:focus-visible {
		background-color: color-mix(in srgb, var(--shivuk-color-accent) 82%, #ffffff);
		border-color: transparent;
	}

	.site-nav__social-label {
		display: block;
		margin-block-start: 1.15rem;
		text-align: center;
		color: rgba(255, 255, 255, 0.5);
		font-size: 0.78rem;
		font-weight: 600;
	}

	.site-nav__social {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.55rem;
		margin-block-start: 0.6rem;
	}

	.site-nav__social-link {
		display: grid;
		place-items: center;
		inline-size: 40px;
		block-size: 40px;
		padding: 0;
		border: 1px solid rgba(255, 255, 255, 0.14);
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.08);
		color: #ffffff;
		transition: background-color 0.18s ease, border-color 0.18s ease;
	}

	.site-nav__social-link:hover,
	.site-nav__social-link:focus-visible {
		color: #ffffff;
		background-color: rgba(255, 255, 255, 0.18);
		border-color: rgba(255, 255, 255, 0.35);
	}

	.site-nav__social-link svg {
		inline-size: 17px;
		block-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-header--hide,
	.site-header--smart .site-header__bar,
	.site-branding__text,
	.site-branding__text-inner,
	.site-header--sticky,
	.site-title a,
	.site-nav a,
	.site-nav .sub-menu,
	.menu-toggle__bars span,
	.js-enabled .site-nav,
	.site-nav-backdrop,
	.search-dialog[open] {
		transition-duration: 0.01ms;
		animation-duration: 0.01ms;
	}

	.header-search-toggle:active,
	.menu-toggle:active,
	.header-cta:hover,
	.header-cta:focus-visible,
	.search-dialog__close:hover,
	.search-dialog__close:focus-visible {
		transform: none;
	}
}
