:root {
	--nexa-ink: #0d1315;
	--nexa-paper: #f0f3f1;
	--nexa-line: rgba(13, 19, 21, 0.16);
	--nexa-muted: #5d6869;
	--nexa-accent: #a8613e;
	--nexa-accent-deep: #874a31;
}

/* Keep the header independent from the parent theme's default link and block spacing.
   The primary nav is a native WordPress Navigation block, so scope its generated
   list styles here too. */
.nexa-site-header,
.nexa-site-header *,
.nexa-site-header__nav .wp-block-navigation__container,
.nexa-site-header__nav .wp-block-navigation-item,
.nexa-site-header__nav .wp-block-navigation-item a {
	box-sizing: border-box;
}

.wp-site-blocks > .wp-block-template-part:has([data-nexa-component="header"]) {
	margin-block-start: 0;
}

.nexa-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
	width: 100%;
	height: 82px;
	margin-block: 0;
	background: #ffffff;
	border-bottom: 1px solid var(--nexa-line);
	box-shadow: 0 12px 34px -30px rgba(13, 19, 21, 0.8);
	color: var(--nexa-ink);
	transition: background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease, color 260ms ease;
}

.nexa-site-header__inner {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
	align-items: center;
	width: 100%;
	height: 100%;
	margin-inline: auto;
	padding: 16px clamp(20px, 3vw, 36px);
}

/* Brand / logo */
.nexa-site-header__brand {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	width: 180px;
	min-width: 180px;
	height: 40px;
	color: var(--nexa-ink);
}

.nexa-site-header__logo {
	display: block;
	width: auto;
	height: 40px;
	max-width: 180px;
	object-fit: contain;
}

/* Primary navigation — native WP Navigation block */
.nexa-site-header__nav.wp-block-navigation {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
}

.nexa-site-header__nav .wp-block-navigation__container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(4px, 0.5vw, 12px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.nexa-site-header__nav .wp-block-navigation-item {
	margin: 0;
}

.nexa-site-header__nav .wp-block-navigation-item a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 16px;
	border-radius: 8px;
	color: #3f494b;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: color 180ms ease, background-color 180ms ease;
}

.nexa-site-header__nav .wp-block-navigation-item a:hover,
.nexa-site-header__nav .wp-block-navigation-item a:focus-visible {
	color: var(--nexa-accent);
	background: rgba(168, 97, 62, 0.07);
}

/* Actions / Get a Quote button */
.nexa-site-header__actions {
	display: flex;
	align-items: center;
	justify-self: stretch;
	justify-content: flex-end;
	width: 100%;
	height: 38px;
}

.nexa-site-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 42px;
	min-height: 42px;
	padding: 0 22px;
	border: 1px solid var(--nexa-accent);
	border-radius: 999px;
	background: var(--nexa-accent);
	color: #fffdf8;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	box-shadow: 0 10px 22px -12px rgba(168, 97, 62, 0.65);
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nexa-site-header__cta:hover {
	border-color: var(--nexa-accent-deep);
	background: var(--nexa-accent-deep);
	box-shadow: 0 14px 26px -12px rgba(135, 74, 49, 0.7);
	transform: translateY(-1px);
}

.nexa-site-header__cta-label--compact {
	display: none;
}

.nexa-site-header__cta-arrow {
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 1;
}

/* Mobile hamburger (native Navigation block) */
.nexa-site-header__nav .wp-block-navigation__responsive-container-open {
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--nexa-line);
	border-radius: 50%;
	background: #ffffff;
	color: var(--nexa-ink);
	box-shadow: 0 6px 16px -8px rgba(13, 19, 21, 0.25);
	cursor: pointer;
}

.nexa-site-header__nav .wp-block-navigation__responsive-container-open svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* Tablets: keep the inline nav but tighten it so it fits.
   The Navigation block collapses into its own hamburger on phones. */
@media (max-width: 991px) {
	.nexa-site-header {
		height: 80px;
	}

	.nexa-site-header__inner {
		position: relative;
		grid-template-columns: auto 1fr auto;
		height: 100%;
		padding: 20px 16px;
	}

	.nexa-site-header__brand {
		justify-self: start;
		min-width: 0;
	}

	.nexa-site-header__nav.wp-block-navigation {
		justify-content: flex-end;
	}

	.nexa-site-header__nav .wp-block-navigation-item a {
		padding-inline: 8px;
		font-size: 12px;
	}

	.nexa-site-header__actions {
		width: auto;
		height: 38px;
		gap: 10px;
	}

	.nexa-site-header__cta {
		width: auto;
		min-width: 0;
		height: 38px;
		padding-inline: 14px;
	}
}

@media (max-width: 480px) {
	.nexa-site-header {
		height: 76px;
	}

	.nexa-site-header__inner {
		height: 100%;
		padding: 18px 16px;
	}

	.nexa-site-header__brand {
		width: auto;
	}

	.nexa-site-header__logo {
		height: 28px;
	}

	.nexa-site-header__cta-label--wide {
		display: none;
	}

	.nexa-site-header__cta-label--compact {
		display: inline;
	}

	.nexa-site-header__cta {
		min-width: 0;
		min-height: 38px;
		padding-inline: 14px;
		font-size: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nexa-site-header__cta {
		transition: none;
	}
}

/* ============================================================
   Mega Menu — top-level submenus as wide panels (desktop only).
   The core Navigation block keeps submenus hidden (opacity 0, 2x2)
   and reveals them on hover / keyboard focus, so the panel styling is
   applied ONLY in the open state — never unconditionally, which would
   leave an invisible hover/click zone over the page content.
   ============================================================ */
@media (min-width: 992px) {
	.nexa-site-header__nav .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-container {
		position: absolute;
		top: 100%;
		left: 50%;
		transform: translateX(-50%);
		z-index: 30;
		pointer-events: auto;
	}

	.nexa-site-header__nav .wp-block-navigation-item:where(.has-child):hover > .wp-block-navigation__submenu-container,
	.nexa-site-header__nav .wp-block-navigation-item:where(.has-child):focus-within > .wp-block-navigation__submenu-container,
	.nexa-site-header__nav .wp-block-navigation-item:where(.has-child).is-menu-open > .wp-block-navigation__submenu-container {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2px;
		padding: 10px;
		margin: 0;
		border: 1px solid var(--nexa-line);
		border-radius: 10px;
		background: #ffffff;
		box-shadow: 0 20px 44px rgba(13, 19, 21, 0.16);
		width: max-content;
		min-width: 340px;
		opacity: 1;
		visibility: visible;
	}

	.nexa-site-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item {
		width: auto;
		margin: 0;
		padding: 0;
	}

	.nexa-site-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item a.wp-block-navigation-item__content {
		display: flex;
		align-items: center;
		min-height: 0;
		height: auto;
		padding: 12px 14px;
		color: var(--nexa-ink);
		font-size: 13px;
		font-weight: 600;
		letter-spacing: 0;
		line-height: 1.3;
		text-transform: none;
		white-space: normal;
		border-radius: 6px;
	}

	.nexa-site-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item a.wp-block-navigation-item__content:hover,
	.nexa-site-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item a.wp-block-navigation-item__content:focus-visible {
		background: var(--nexa-paper);
		color: var(--nexa-accent);
	}
}

@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
	.nexa-site-header__nav .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-container {
		transition: none;
	}
}

/* ============================================================
   Content-directory Mega Menu (custom, desktop only).
   The native Navigation block owns the mobile hamburger menu;
   on desktop it is hidden and this authored mega menu takes over.
   Each parent top-level item opens a panel with an intro column,
   a link list, and a featured image card. Driven by navigation.js.
   ============================================================ */
.nexa-site-header__mega {
	display: none;
}

@media (min-width: 992px) {
	/* Replace the native desktop nav with the authored mega menu. */
	.nexa-site-header__nav.wp-block-navigation {
		display: none !important;
	}

	.nexa-site-header__mega {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-width: 0;
		height: 100%;
	}

	.nexa-site-header__mega-list {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: clamp(2px, 0.4vw, 10px);
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.nexa-site-header__mega-item {
		position: relative;
		margin: 0;
	}

	.nexa-site-header__mega-link {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 44px;
		padding: 10px 16px;
		border-radius: 8px;
		color: #3f494b;
		font-size: 13.5px;
		font-weight: 600;
		letter-spacing: 0.01em;
		line-height: 1;
		text-decoration: none;
		white-space: nowrap;
		transition: color 180ms ease, background-color 180ms ease;
	}

	.nexa-site-header__mega-link:hover,
	.nexa-site-header__mega-link:focus-visible {
		color: var(--nexa-accent);
		background: rgba(168, 97, 62, 0.07);
	}

	.nexa-site-header__mega-caret {
		display: inline-flex;
		color: var(--nexa-muted);
		transition: transform 240ms ease, color 180ms ease;
	}

	.nexa-site-header__mega-item.is-open .nexa-site-header__mega-caret {
		transform: rotate(180deg);
		color: var(--nexa-accent);
	}

	.nexa-site-header__mega-item.is-open > .nexa-site-header__mega-link {
		color: var(--nexa-accent);
	}

	/* Panels — anchored to the header, full width, revealed below it. */
	.nexa-site-header__mega-panels {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 40;
		visibility: hidden;
		opacity: 0;
		transform: translateY(10px);
		transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
		pointer-events: none;
	}

	.nexa-site-header__mega-panels.is-open {
		visibility: visible;
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}

	.nexa-mega-panel {
		display: none;
		grid-template-columns: minmax(200px, 300px) 1fr minmax(220px, 300px);
		gap: clamp(24px, 3vw, 48px);
		width: min(1240px, calc(100vw - 64px));
		margin: 0 auto;
		padding: clamp(28px, 3vw, 40px) clamp(28px, 4vw, 48px);
		background: #ffffff;
		border: 1px solid var(--nexa-line);
		border-top: 0;
		border-radius: 0 0 14px 14px;
		box-shadow: 0 30px 60px rgba(13, 19, 21, 0.16);
	}

	.nexa-mega-panel.is-open {
		display: grid;
	}

	/* Intro column */
	.nexa-mega-panel__title {
		margin: 0 0 10px;
		font-size: 18px;
		font-weight: 600;
		line-height: 1.2;
		letter-spacing: -0.01em;
	}

	.nexa-mega-panel__desc {
		margin: 0 0 18px;
		color: var(--nexa-muted);
		font-size: 13.5px;
		font-weight: 300;
		line-height: 1.65;
	}

	.nexa-mega-panel__all {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		color: var(--nexa-accent);
		font-size: 13px;
		font-weight: 600;
		text-decoration: none;
		transition: color 180ms ease, gap 180ms ease;
	}

	.nexa-mega-panel__all:hover,
	.nexa-mega-panel__all:focus-visible {
		color: var(--nexa-accent-deep);
		gap: 10px;
	}

	/* Link list column */
	.nexa-mega-panel__links {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 2px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.nexa-mega-panel__links li {
		margin: 0;
		border-top: 1px solid var(--nexa-line);
	}

	.nexa-mega-panel__links li:first-child {
		border-top: 0;
	}

	.nexa-mega-panel__links a {
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 14px 6px;
		color: var(--nexa-ink);
		font-size: 14.5px;
		font-weight: 500;
		line-height: 1.3;
		text-decoration: none;
		transition: color 180ms ease;
	}

	.nexa-mega-panel__links a::before {
		content: "";
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background: var(--nexa-accent);
		opacity: 0.55;
		transition: transform 180ms ease, opacity 180ms ease;
	}

	.nexa-mega-panel__links a:hover,
	.nexa-mega-panel__links a:focus-visible {
		color: var(--nexa-accent);
	}

	.nexa-mega-panel__links a:hover::before,
	.nexa-mega-panel__links a:focus-visible::before {
		transform: scale(1.4);
		opacity: 1;
	}

	/* Featured card column */
	.nexa-mega-panel__feature {
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		min-height: 190px;
		padding: 20px;
		border-radius: 12px;
		overflow: hidden;
		color: #ffffff;
		text-decoration: none;
	}

	.nexa-mega-panel__feature img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.nexa-mega-panel__feature::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(to top, rgba(13, 19, 21, 0.78), rgba(13, 19, 21, 0.06) 62%);
	}

	.nexa-mega-panel__feature-label,
	.nexa-mega-panel__feature-title {
		position: relative;
		z-index: 1;
	}

	.nexa-mega-panel__feature-label {
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		opacity: 0.85;
	}

	.nexa-mega-panel__feature-title {
		margin-top: 8px;
		font-size: 17px;
		font-weight: 600;
		line-height: 1.25;
	}
}

/* ============================================================
   Fixed positioning + homepage transparent-to-opaque header.
   ============================================================ */
/* Non-home pages: keep the header solid white and clear the fixed
   header's footprint so content is never hidden beneath it. */
body:not(.home) main {
	margin-top: 82px;
}

/* Home, at the very top: the header floats transparent over the
   dark video hero. On scroll (.is-scrolled) it returns to solid white. */
body.home .nexa-site-header:not(.is-scrolled) {
	background: transparent;
	border-bottom-color: transparent;
	box-shadow: none;
}

body.home .nexa-site-header:not(.is-scrolled) .nexa-site-header__mega-link,
body.home .nexa-site-header:not(.is-scrolled) .nexa-site-header__nav .wp-block-navigation-item a {
	color: rgba(255, 255, 255, 0.92);
}

body.home .nexa-site-header:not(.is-scrolled) .nexa-site-header__mega-link:hover,
body.home .nexa-site-header:not(.is-scrolled) .nexa-site-header__mega-link:focus-visible,
body.home .nexa-site-header:not(.is-scrolled) .nexa-site-header__nav .wp-block-navigation-item a:hover,
body.home .nexa-site-header:not(.is-scrolled) .nexa-site-header__nav .wp-block-navigation-item a:focus-visible {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.12);
}

body.home .nexa-site-header:not(.is-scrolled) .nexa-site-header__mega-caret {
	color: rgba(255, 255, 255, 0.8);
}

/* Home transparent state: use the light mark instead of the dark wordmark. */
.nexa-site-header__logo--light {
	display: none;
}

body.home .nexa-site-header:not(.is-scrolled) .nexa-site-header__logo--dark {
	display: none;
}

body.home .nexa-site-header:not(.is-scrolled) .nexa-site-header__logo--light {
	display: block;
}

/* Mobile: the hamburger button stays visible over the dark hero. */
body.home .nexa-site-header:not(.is-scrolled) .wp-block-navigation__responsive-container-open {
	background: rgba(13, 19, 21, 0.35);
	border-color: rgba(255, 255, 255, 0.4);
	color: #ffffff;
	box-shadow: none;
}

@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
	.nexa-site-header__mega-link,
	.nexa-site-header__mega-caret,
	.nexa-site-header__mega-panels {
		transition: none;
	}
}

/* ---------------------------------------------------------------
   Mobile & tablet: refined full-screen overlay navigation
   The native Navigation block becomes an overlay menu on these widths.
   --------------------------------------------------------------- */
@media (max-width: 991px) {

	.nexa-site-header__nav .wp-block-navigation__responsive-container {
		--menu-pad: clamp(20px, 6vw, 40px);
	}

	/* Overlay shell — deep ink with a soft accent glow, covers the viewport. */
	.nexa-site-header__nav .wp-block-navigation__responsive-container.has-modal-open,
	.nexa-site-header__nav .wp-block-navigation__responsive-container.is-menu-open {
		position: fixed;
		inset: 0;
		overflow-y: auto;
		z-index: 100000;
		background:
			radial-gradient(120% 90% at 88% -8%, rgba(168, 97, 62, 0.3), transparent 55%),
			linear-gradient(180deg, #0b1113 0%, #0d1315 100%);
		color: #ffffff;
		animation: nexa-menu-in 0.28s ease both;
	}
	@keyframes nexa-menu-in {
		from { opacity: 0; }
		to   { opacity: 1; }
	}

	/* Content column — centered, safe-area aware. */
	.nexa-site-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
	.nexa-site-header__nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-content {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		width: 100%;
		max-width: 620px;
		margin: 0 auto;
		padding: calc(88px + env(safe-area-inset-top)) var(--menu-pad) calc(40px + env(safe-area-inset-bottom));
	}

	/* Close button — clean white ring, top-right. */
	.nexa-site-header__nav .wp-block-navigation__responsive-container-close {
		position: absolute;
		top: max(16px, env(safe-area-inset-top));
		right: var(--menu-pad);
		width: 48px;
		height: 48px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		margin: 0;
		border: 1px solid rgba(255, 255, 255, 0.22);
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.06);
		color: #ffffff;
	}
	.nexa-site-header__nav .wp-block-navigation__responsive-container-close:hover {
		background: rgba(255, 255, 255, 0.15);
	}

	/* Menu list — stacked, generous rows with hairline separators. */
	.nexa-site-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
	.nexa-site-header__nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__container {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		width: 100%;
		gap: 0;
		margin: 0;
		counter-reset: nexa-nav;
	}
	.nexa-site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__container > .wp-block-navigation-item {
		counter-increment: nexa-nav;
		width: 100%;
	}
	.nexa-site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation-item {
		align-items: center;
	}

	/* Primary links — big industrial type with an accent index number. */
	.nexa-site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation-item > .wp-block-navigation-item__content {
		display: flex;
		align-items: baseline;
		gap: 18px;
		width: 100%;
		min-height: 66px;
		margin: 0;
		padding: 24px 0;
		border: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: 0;
		color: #ffffff;
		font-size: clamp(26px, 7.4vw, 42px);
		font-weight: 500;
		line-height: 1.02;
		letter-spacing: -0.01em;
		text-decoration: none;
	}
	.nexa-site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::before {
		content: "0" counter(nexa-nav);
		align-self: flex-start;
		padding-top: 7px;
		color: var(--nexa-accent);
		font-size: 12px;
		font-weight: 600;
		line-height: 1;
		letter-spacing: 0.14em;
	}
	.nexa-site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation-item > .wp-block-navigation-item__content:hover,
	.nexa-site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation-item > .wp-block-navigation-item__content:focus-visible {
		color: var(--nexa-accent);
	}

	/* Submenu — expandable in place, smaller indented links. */
	.nexa-site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container {
		position: static;
		width: 100%;
		margin: 0;
		padding: 0 0 10px 22px;
		gap: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
	}
	.nexa-site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container .wp-block-navigation-item {
		width: 100%;
	}
	.nexa-site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container .wp-block-navigation-item a {
		display: flex;
		align-items: center;
		margin: 0;
		padding: 15px 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		border-radius: 0;
		color: rgba(255, 255, 255, 0.78);
		font-size: 17px;
		font-weight: 400;
		letter-spacing: 0;
		text-decoration: none;
	}
	.nexa-site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container .wp-block-navigation-item a:hover,
	.nexa-site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container .wp-block-navigation-item a:focus-visible {
		color: #ffffff;
		background: transparent;
	}

	/* Last item becomes an accent pill call-to-action. */
	.nexa-site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__container > .wp-block-navigation-item:last-child > .wp-block-navigation-item__content {
		align-items: center;
		justify-content: center;
		min-height: 0;
		margin-top: 30px;
		padding: 18px 28px;
		border: 1px solid var(--nexa-accent);
		border-bottom: 1px solid var(--nexa-accent);
		border-radius: 999px;
		background: var(--nexa-accent);
		color: #fffdf8;
		font-size: 15px;
		font-weight: 700;
		letter-spacing: 0.05em;
		text-transform: uppercase;
	}
	.nexa-site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__container > .wp-block-navigation-item:last-child > .wp-block-navigation-item__content::before {
		content: none;
	}
	.nexa-site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__container > .wp-block-navigation-item:last-child > .wp-block-navigation-item__content:hover {
		background: var(--nexa-accent-deep);
		border-color: var(--nexa-accent-deep);
		color: #fffdf8;
	}

	/* Staggered entry for the top-level rows. */
	.nexa-site-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > li,
	.nexa-site-header__nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__container > li {
		animation: nexa-item-in 0.42s ease both;
	}
	.nexa-site-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > li:nth-child(1),
	.nexa-site-header__nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__container > li:nth-child(1) { animation-delay: 0.05s; }
	.nexa-site-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > li:nth-child(2),
	.nexa-site-header__nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__container > li:nth-child(2) { animation-delay: 0.1s; }
	.nexa-site-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > li:nth-child(3),
	.nexa-site-header__nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__container > li:nth-child(3) { animation-delay: 0.15s; }
	.nexa-site-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > li:nth-child(4),
	.nexa-site-header__nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__container > li:nth-child(4) { animation-delay: 0.2s; }
	.nexa-site-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > li:nth-child(5),
	.nexa-site-header__nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__container > li:nth-child(5) { animation-delay: 0.25s; }
	.nexa-site-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > li:nth-child(6),
	.nexa-site-header__nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__container > li:nth-child(6) { animation-delay: 0.3s; }
	@keyframes nexa-item-in {
		from { opacity: 0; transform: translateY(12px); }
		to   { opacity: 1; transform: none; }
	}
}

@media (max-width: 991px) and (prefers-reduced-motion: reduce) {
	.nexa-site-header__nav .wp-block-navigation__responsive-container.has-modal-open,
	.nexa-site-header__nav .wp-block-navigation__responsive-container.is-menu-open,
	.nexa-site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__container > li {
		animation: none;
	}
}

