/*
 * HireUA Global Header
 * One component, one DOM, two visual states:
 *   top = full dark bar
 *   scrolled = floating white pill
 */

:root {
	/* Aliases of the global Deep / Electric tokens (assets/css/tokens.css);
	   hex fallbacks keep the package portable. */
	--hua-blue-dark: var(--hu-blue-dark, #104BC4);
	--hua-navy: var(--hu-navy, #07152A);
	--hua-navy-2: var(--hu-navy-2, #0A2141);
	--hua-blue: var(--hu-blue, #155EEF);
	--hua-yellow: var(--hu-yellow, #FFF04A);
	--hua-yellow-hover: var(--hu-yellow-hover, #E6D52F);
	--hua-ink: var(--hu-ink, #0C1730);
	--hua-muted: var(--hu-muted, #66718A);
	--hua-surface: var(--hu-surface, #F6F8FC);
	--hua-line: var(--hu-line, #DDE2EC);
	--hua-header-max: 1220px;
	--hua-pill-max: 1120px;
}

.hua-site-header,
.hua-site-header * {
	box-sizing: border-box;
}

.hua-site-header {
	position: sticky;
	top: 0;
	z-index: 9999;
	height: 88px;
	background:
		linear-gradient(90deg, var(--hu-navy) 0%, var(--hu-navy) 64%, var(--hu-header-glow) 100%);
	border-bottom: 1px solid rgba(255,255,255,.05);
	transition: background .22s ease, border-color .22s ease;
	font-family: Inter, "Inter Fallback", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.admin-bar .hua-site-header {
	top: 32px;
}

.hua-header-shell {
	position: relative;
	width: min(var(--hua-header-max), calc(100% - 48px));
	height: 88px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 0 8px;
	transition:
		width .22s ease,
		height .22s ease,
		padding .22s ease,
		background .22s ease,
		border-color .22s ease,
		border-radius .22s ease,
		box-shadow .22s ease,
		transform .22s ease;
}

/* LOGO
   The light asset has much more transparent canvas than the dark asset.
   Both sit inside the same 150 x 44 visual slot. The light asset is
   intentionally scaled so the visible wordmark matches the dark asset.
*/
.hua-logo {
	position: relative;
	display: block;
	width: 150px;
	min-width: 150px;
	height: 44px;
	overflow: visible;
	flex: 0 0 150px;
}

.hua-logo-image {
	position: absolute;
	left: 0;
	top: 50%;
	width: 150px;
	height: 44px;
	object-fit: contain;
	object-position: left center;
	transform: translateY(-50%);
	transition: opacity .18s ease;
}

.hua-logo-light {
	opacity: 1;
	transform: translateY(-50%) scale(1.55);
	transform-origin: left center;
}

.hua-logo-dark {
	opacity: 0;
}

/* DESKTOP NAV */
.hua-desktop-nav-wrap {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 30px;
	min-width: 0;
}

.hua-primary-nav {
	display: flex;
	align-items: center;
	gap: 27px;
	white-space: nowrap;
}

.hua-nav-item {
	position: relative;
}

.hua-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 31px 0;
	border: 0;
	background: transparent;
	color: var(--hu-white);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.01em;
	text-decoration: none;
	cursor: pointer;
	transition: color .15s ease;
}

.hua-nav-link:hover,
.hua-nav-link:focus-visible {
	color: var(--hua-yellow);
}

.hua-chevron-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	min-width: 20px;
	border: 1px solid rgba(var(--hu-yellow-rgb, 255,240,74),.82);
	border-radius: 5px;
}

.hua-chevron-badge::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 5px;
	height: 5px;
	border-right: 1.6px solid var(--hua-yellow);
	border-bottom: 1.6px solid var(--hua-yellow);
	transform: translate(-50%, -62%) rotate(45deg);
	transform-origin: center;
	transition: transform .15s ease;
}

.hua-dropdown.is-open > .hua-dropdown-trigger .hua-chevron-badge::before,
.hua-dropdown-trigger[aria-expanded="true"] .hua-chevron-badge::before {
	transform: translate(-50%, -38%) rotate(225deg);
}

.hua-start-hiring,
.hua-menu-cta,
.hua-mobile-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	background: var(--hua-yellow);
	color: var(--hua-navy);
	text-decoration: none;
	font-weight: 800;
	border: 1px solid var(--hu-yellow-edge, #E5D928);
	border-radius: 5px;
	transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

/* Deep / Electric (v0.3.2): yellow buttons hover to darker Electric Yellow with navy text (never blue). */
.hua-start-hiring:hover,
.hua-start-hiring:focus-visible,
.hua-start-hiring:active,
.hua-menu-cta:hover,
.hua-menu-cta:focus-visible,
.hua-menu-cta:active,
.hua-mobile-cta:hover,
.hua-mobile-cta:focus-visible,
.hua-mobile-cta:active {
	background: var(--hua-yellow-hover);
	border-color: var(--hua-yellow-hover);
	color: var(--hua-navy);
}

.hua-start-hiring {
	min-height: 48px;
	padding: 0 22px;
	font-size: 12.5px;
	flex: 0 0 auto;
}

.hua-start-hiring b {
	font-size: 19px;
	line-height: 1;
}

/* MEGA MENUS */
.hua-mega-menu {
	position: absolute;
	top: 67px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	background: var(--hu-white);
	color: var(--hua-ink);
	box-shadow: 0 24px 70px rgba(0,0,0,.16);
	border: 0; /* intentionally no outlined box */
	border-radius: 9px;
	overflow: hidden;
	transform: translateY(8px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}

.hua-dropdown.is-open > .hua-mega-menu,
.hua-dropdown:hover > .hua-mega-menu,
.hua-dropdown:focus-within > .hua-mega-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.hua-find-menu {
	left: 50%;
	width: min(980px, 88vw);
	display: grid;
	grid-template-columns: 260px 1fr 235px;
	transform: translate(-50%, 8px);
}

.hua-dropdown.is-open > .hua-find-menu,
.hua-dropdown:hover > .hua-find-menu,
.hua-dropdown:focus-within > .hua-find-menu {
	transform: translate(-50%, 0);
}

.hua-find-intro {
	padding: 28px;
	background: linear-gradient(155deg, var(--hua-navy), var(--hua-navy-2));
	color: var(--hu-white);
}

.hua-mega-label {
	margin-bottom: 14px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .12em;
	color: #A1A9B7;
}

.hua-mega-label-acid {
	color: var(--hua-yellow);
}

.hua-find-intro h3 {
	margin: 9px 0 12px;
	font-size: 24px;
	line-height: 1.08;
	letter-spacing: -.025em;
}

.hua-find-intro p {
	margin: 0 0 20px;
	color: #B8C6D9;
	font-size: 13px;
	line-height: 1.5;
}

.hua-menu-cta {
	min-height: 40px;
	padding: 0 14px;
	font-size: 12px;
}

.hua-find-roles {
	padding: 28px;
}

.hua-role-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.hua-role-grid a {
	padding: 13px 14px;
	border: 1px solid var(--hu-surface-2);
	border-radius: 6px;
	color: var(--hua-ink);
	text-decoration: none;
	transition: border-color .15s ease, background .15s ease;
}

.hua-role-grid a:hover,
.hua-role-grid a:focus-visible {
	border-color: var(--hua-blue);
	background: var(--hu-surface);
}

.hua-role-grid b {
	display: block;
	font-size: 13px;
}

.hua-role-grid span {
	display: block;
	margin-top: 3px;
	color: #7A8597;
	font-size: 10px;
	line-height: 1.35;
}

.hua-find-departments {
	padding: 28px 24px;
	background: var(--hua-surface);
}

.hua-department-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.hua-department-grid a {
	display: flex;
	align-items: center;
	min-height: 38px;
	padding: 0 10px;
	background: var(--hu-white);
	border: 1px solid var(--hu-line);
	border-radius: 5px;
	color: var(--hua-ink);
	font-size: 11px;
	font-weight: 750;
	text-decoration: none;
}

.hua-department-grid a:hover,
.hua-department-grid a:focus-visible {
	color: var(--hua-blue);
	border-color: var(--hua-blue);
}

.hua-all-roles {
	display: inline-flex;
	margin-top: 16px;
	color: var(--hua-blue);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.hua-all-roles:hover,
.hua-all-roles:focus-visible {
	color: var(--hua-blue-dark);
}

.hua-all-roles span {
	margin-left: 6px;
}

.hua-industry-menu {
	right: -80px;
	width: min(760px, 84vw);
	padding: 26px 30px 30px;
	overflow: visible;
}

.hua-industry-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px 38px;
}

.hua-industry-grid a {
	color: var(--hua-ink);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.hua-industry-grid a:hover,
.hua-industry-grid a:focus-visible {
	color: var(--hua-blue);
}

/* v0.3.37: Regions block under the industries, plus "All …" links. */
.hua-industry-menu .hua-mega-label-split {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--hu-line, #E4E8EF);
}

.hua-industry-grid .hua-menu-all {
	color: var(--hua-blue);
	font-weight: 800;
}

/* SCROLLED = SAME DOM, WHITE PILL */
.hua-site-header.is-scrolled {
	background: transparent;
	border-color: transparent;
}

.hua-site-header.is-scrolled .hua-header-shell {
	width: min(var(--hua-pill-max), calc(100% - 32px));
	height: 58px; /* final compact pill (package v2026-10-07) */
	top: 10px;
	padding: 0 22px 0 18px; /* compact pill; preserve right-side CTA breathing room */
	background: rgba(255,255,255,.98);
	border: 1px solid var(--hua-line);
	border-radius: 999px;
	box-shadow: 0 12px 34px rgba(var(--hu-navy-rgb),.12);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.hua-site-header.is-scrolled .hua-logo-light {
	opacity: 0;
}

.hua-site-header.is-scrolled .hua-logo-dark {
	opacity: 1;
}

.hua-site-header.is-scrolled .hua-nav-link {
	padding: 19px 0;
	color: var(--hua-ink);
	font-size: 12.5px;
}

.hua-site-header.is-scrolled .hua-nav-link:hover,
.hua-site-header.is-scrolled .hua-nav-link:focus-visible {
	color: var(--hua-blue);
}

.hua-site-header.is-scrolled .hua-chevron-badge {
	border-color: rgba(var(--hu-blue-rgb),.52);
}

.hua-site-header.is-scrolled .hua-chevron-badge::before {
	border-right-color: var(--hua-blue);
	border-bottom-color: var(--hua-blue);
}

.hua-site-header.is-scrolled .hua-start-hiring {
	min-height: 40px;
	padding-left: 19px;
	padding-right: 19px;
	/* Weight intentionally stays 800. */
}

.hua-site-header.is-scrolled .hua-mega-menu {
	top: 52px;
}

/* FINAL DESKTOP PILL TUNING — dark state is the visual size reference.
   112px CSS box makes the dark wordmark match the top-state light logo. */
@media (min-width: 961px) {
	.hua-site-header.is-scrolled .hua-logo {
		width: 112px;
		min-width: 112px;
		height: 36px;
		flex: 0 0 112px;
	}

	.hua-site-header.is-scrolled .hua-logo-image {
		width: 112px;
		height: 36px;
	}
}

/* MOBILE */
.hua-mobile-toggle,
.hua-mobile-menu {
	display: none;
}

@media (max-width: 1080px) and (min-width: 961px) {
	.hua-header-shell {
		width: min(100% - 26px, 1160px);
	}

	.hua-primary-nav {
		gap: 20px;
	}

	.hua-desktop-nav-wrap {
		gap: 22px;
	}

	.hua-nav-link {
		font-size: 12.5px;
	}
}

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

	.admin-bar .hua-site-header {
		top: 46px;
	}

	.hua-header-shell,
	.hua-site-header.is-scrolled .hua-header-shell {
		width: min(100% - 24px, 720px);
		height: 64px;
		top: 6px;
		padding: 0 14px 0 16px;
		border-radius: 18px;
	}

	.hua-site-header:not(.is-scrolled) .hua-header-shell {
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	.hua-desktop-nav-wrap {
		display: none;
	}

	.hua-mobile-toggle {
		margin-left: auto;
		display: inline-flex;
		align-items: center;
		gap: 10px;
		min-height: 40px;
		padding: 0 12px;
		background: transparent;
		border: 1px solid rgba(255,255,255,.24);
		border-radius: 6px;
		color: var(--hu-white);
		font: inherit;
		font-size: 12px;
		font-weight: 700;
		cursor: pointer;
	}

	.hua-site-header.is-scrolled .hua-mobile-toggle {
		color: var(--hua-ink);
		border-color: var(--hua-line);
	}

	.hua-mobile-toggle-icon {
		position: relative;
		width: 17px;
		height: 12px;
		border-top: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
	}

	.hua-mobile-toggle-icon::before {
		content: "";
		position: absolute;
		left: 0;
		top: 4px;
		width: 17px;
		border-top: 2px solid currentColor;
	}

	.hua-mobile-menu {
		position: absolute;
		left: 12px;
		right: 12px;
		top: 70px;
		max-height: calc(100vh - 92px);
		overflow: auto;
		padding: 16px;
		background: var(--hu-white);
		border-radius: 12px;
		box-shadow: 0 20px 60px rgba(0,0,0,.18);
	}

	.hua-site-header.mobile-open .hua-mobile-menu {
		display: grid;
	}

	.hua-mobile-menu > a,
	.hua-mobile-accordion-trigger {
		width: 100%;
		padding: 13px 4px;
		background: transparent;
		border: 0;
		border-bottom: 1px solid var(--hua-line);
		color: var(--hua-ink);
		font: inherit;
		font-size: 14px;
		font-weight: 650;
		text-decoration: none;
		text-align: left;
	}

	.hua-mobile-accordion-trigger {
		display: flex;
		align-items: center;
		justify-content: space-between;
		cursor: pointer;
	}

	.hua-mobile-submenu {
		display: none;
		padding: 8px 0 12px 12px;
		border-bottom: 1px solid var(--hua-line);
	}

	.hua-mobile-submenu.is-open {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 4px 12px;
	}

	.hua-mobile-submenu a {
		padding: 8px 0;
		color: var(--hua-muted);
		font-size: 12px;
		text-decoration: none;
	}

	.hua-mobile-menu .hua-mobile-cta {
		margin-top: 14px;
		min-height: 48px;
	}
}

@media (max-width: 600px) {
	.hua-mobile-submenu.is-open {
		grid-template-columns: 1fr;
	}

	.hua-logo,
	.hua-logo-image {
		width: 138px;
	}

	.hua-logo {
		min-width: 138px;
		flex-basis: 138px;
	}
}

/* Respect keyboard users and reduced motion */
.hua-nav-link:focus-visible,
.hua-mobile-toggle:focus-visible,
.hua-mobile-menu a:focus-visible,
.hua-mobile-accordion-trigger:focus-visible {
	outline: 3px solid rgba(var(--hu-blue-rgb),.35);
	outline-offset: 3px;
}
/* CTA buttons: dark navy ring (not blue) with a white halo so it reads on
   both the navy top bar and the white scrolled pill / menus. */
.hua-start-hiring:focus-visible,
.hua-menu-cta:focus-visible,
.hua-site-header .hua-mobile-menu a.hua-mobile-cta:focus-visible {
	outline: 3px solid var(--hua-navy);
	outline-offset: 2px;
	box-shadow: 0 0 0 2px var(--hu-white, #FFFFFF);
}

@media (prefers-reduced-motion: reduce) {
	.hua-site-header,
	.hua-header-shell,
	.hua-logo-image,
	.hua-chevron-badge::before,
	.hua-mega-menu {
		transition: none !important;
	}
}

/* ==========================================================
   v0.1.2 MEGA-MENU HARDENING (component-level)
   - menus anchor to the header shell, centered, clamped to viewport
   - solid opaque panels, above page content
   - grid columns use minmax(0, ...) and text wraps
   - headings inside menus are insulated from theme/page h3 styles
   ========================================================== */
@media (min-width: 961px) {
	.hua-site-header .hua-nav-item.hua-dropdown { position: static; }

	.hua-site-header .hua-mega-menu {
		left: 50%;
		right: auto;
		top: 76px;
		z-index: 10000;
		max-width: calc(100vw - 48px);
		background: var(--hu-white);
		isolation: isolate;
		transform: translate(-50%, 8px);
	}
	.hua-site-header .hua-dropdown.is-open > .hua-mega-menu,
	.hua-site-header .hua-dropdown:hover > .hua-mega-menu,
	.hua-site-header .hua-dropdown:focus-within > .hua-mega-menu {
		transform: translate(-50%, 0);
	}
	.hua-site-header.is-scrolled .hua-mega-menu { top: 64px; }

	/* hover bridge so the gap between trigger and panel does not close it */
	.hua-site-header .hua-mega-menu::before {
		content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
	}

	.hua-site-header .hua-find-menu {
		width: min(1120px, calc(100vw - 48px));
		grid-template-columns: minmax(0, 260px) minmax(0, 1fr) minmax(0, 250px);
		white-space: normal;
	}
	.hua-site-header .hua-industry-menu {
		width: min(760px, calc(100vw - 48px));
		overflow: hidden;
		white-space: normal;
	}

	.hua-site-header .hua-find-intro {
		background-color: var(--hua-navy);
		background-image: linear-gradient(155deg, var(--hua-navy), var(--hua-navy-2));
		color: var(--hu-white);
		min-width: 0;
	}
	.hua-site-header .hua-find-roles { background: var(--hu-white); min-width: 0; }
	.hua-site-header .hua-find-departments { background: var(--hua-surface); min-width: 0; }

	.hua-site-header .hua-find-intro h3 {
		color: var(--hu-white);
		font-family: inherit;
		font-size: 24px;
		font-weight: 700;
		line-height: 1.12;
		white-space: normal;
		overflow-wrap: anywhere;
		max-width: 100%;
	}
	.hua-site-header .hua-find-intro p,
	.hua-site-header .hua-role-grid span { white-space: normal; overflow-wrap: break-word; }

	.hua-site-header .hua-role-grid,
	.hua-site-header .hua-department-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hua-site-header .hua-role-grid a,
	.hua-site-header .hua-department-grid a { min-width: 0; overflow-wrap: break-word; }
}

/* Narrow desktop: tighten nav and menu columns so everything fits */
@media (min-width: 961px) and (max-width: 1199px) {
	.hua-site-header .hua-header-shell { width: calc(100% - 32px); gap: 18px; padding: 0 4px; }
	.hua-site-header .hua-desktop-nav-wrap { gap: 18px; }
	.hua-site-header .hua-primary-nav { gap: 16px; }
	.hua-site-header .hua-start-hiring { padding: 0 16px; gap: 12px; }
	.hua-site-header.is-scrolled .hua-header-shell { width: calc(100% - 24px); padding: 0 14px; }
	.hua-site-header .hua-find-menu { grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(0, 210px); }
	.hua-site-header .hua-find-intro,
	.hua-site-header .hua-find-roles { padding: 24px 20px; }
	.hua-site-header .hua-find-departments { padding: 24px 18px; }
	.hua-site-header .hua-find-intro h3 { font-size: 21px; }
	.hua-site-header .hua-industry-grid { gap: 14px 24px; }
}


/* ==========================================================
   v0.2.0 SCOPED RESETS — stop theme/plugin element styles leaking in.
   :where() keeps these at element-level specificity so every component
   class rule above/below still wins, but generic plugin rules (a, p, ul,
   button, h3 ...) loaded earlier cannot restyle the header.
   ========================================================== */
:where(.hua-site-header),
:where(.hua-site-header) *,
:where(.hua-site-header) *::before,
:where(.hua-site-header) *::after { box-sizing: border-box; }
:where(.hua-site-header) {
	font-family: Inter, "Inter Fallback", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.3;
	-webkit-font-smoothing: antialiased;
	text-transform: none;
}
:where(.hua-site-header) nav,
:where(.hua-site-header) ul,
:where(.hua-site-header) ol,
:where(.hua-site-header) li,
:where(.hua-site-header) p,
:where(.hua-site-header) h2,
:where(.hua-site-header) h3,
:where(.hua-site-header) h4 { margin: 0; padding: 0; list-style: none; }
:where(.hua-site-header) a,
:where(.hua-site-header) button {
	font-family: inherit;
	letter-spacing: inherit;
	text-transform: none;
	text-shadow: none;
	text-decoration: none;
}
:where(.hua-site-header) a:hover,
:where(.hua-site-header) a:focus { text-decoration: none; }
:where(.hua-site-header) button { -webkit-appearance: none; appearance: none; line-height: inherit; }
:where(.hua-site-header) img { max-width: none; border: 0; box-shadow: none; border-radius: 0; }
.hua-site-header .hua-start-hiring,
.hua-site-header .hua-menu-cta,
.hua-site-header .hua-mobile-cta { font-weight: 800; }
.hua-site-header .hua-nav-link { font-weight: 600; }

/* ==========================================================
   v0.2.0 MOBILE MENU — tap rows, chevron accordions, yellow CTA
   ========================================================== */
@media (max-width: 960px) {
	.hua-site-header .hua-mobile-menu {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 8px 18px 18px;
		border: 1px solid var(--hua-line);
		border-radius: 14px;
		box-shadow: 0 24px 60px rgba(var(--hu-navy-rgb),.22);
		z-index: 10000;
	}
	.hua-site-header .hua-mobile-menu > a,
	.hua-site-header .hua-mobile-accordion-trigger {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 54px;
		padding: 0 2px;
		background: transparent;
		border: 0;
		border-bottom: 1px solid var(--hua-line);
		border-radius: 0;
		color: var(--hua-ink);
		font-size: 16px;
		font-weight: 700;
		letter-spacing: -.01em;
		line-height: 1.2;
		text-align: left;
		cursor: pointer;
	}
	.hua-site-header .hua-mobile-menu > a:hover,
	.hua-site-header .hua-mobile-accordion-trigger:hover { color: var(--hua-blue); }
	/* replace the "+" glyph with an outlined chevron badge */
	.hua-site-header .hua-mobile-accordion-trigger > span {
		position: relative;
		flex: 0 0 26px;
		width: 26px;
		height: 26px;
		border: 1.5px solid rgba(var(--hu-blue-rgb),.45);
		border-radius: 50%;
		font-size: 0;
		color: transparent;
	}
	.hua-site-header .hua-mobile-accordion-trigger > span::before {
		content: "";
		position: absolute;
		left: 50%;
		top: 50%;
		width: 7px;
		height: 7px;
		border-right: 2px solid var(--hua-blue);
		border-bottom: 2px solid var(--hua-blue);
		transform: translate(-50%, -65%) rotate(45deg);
		transition: transform .18s ease;
	}
	.hua-site-header .hua-mobile-accordion-trigger[aria-expanded="true"] { color: var(--hua-blue); border-bottom-color: transparent; }
	.hua-site-header .hua-mobile-accordion-trigger[aria-expanded="true"] > span::before { transform: translate(-50%, -35%) rotate(225deg); }
	.hua-site-header .hua-mobile-submenu {
		padding: 4px 0 14px;
		border-bottom: 1px solid var(--hua-line);
	}
	.hua-site-header .hua-mobile-submenu.is-open {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2px 14px;
	}
	.hua-site-header .hua-mobile-submenu a {
		display: block;
		padding: 10px 12px;
		border-radius: 8px;
		background: var(--hua-surface, var(--hu-surface));
		color: var(--hua-ink);
		font-size: 14px;
		font-weight: 550;
		line-height: 1.25;
		margin-top: 6px;
	}
	.hua-site-header .hua-mobile-submenu a:hover { color: var(--hua-blue); }
	.hua-site-header .hua-mobile-menu > a.hua-mobile-cta {
		justify-content: center;
		gap: 12px;
		min-height: 52px;
		margin-top: 18px;
		padding: 0 20px;
		background: var(--hua-yellow);
		border: 1px solid var(--hu-yellow-edge, #E5D928);
		border-radius: 6px;
		color: var(--hua-navy);
		font-size: 15px;
		font-weight: 800;
		width: 100%;
	}
	.hua-site-header .hua-mobile-menu > a.hua-mobile-cta:hover,
	.hua-site-header .hua-mobile-menu > a.hua-mobile-cta:focus-visible,
	.hua-site-header .hua-mobile-menu > a.hua-mobile-cta:active { background: var(--hua-yellow-hover); border-color: var(--hua-yellow-hover); color: var(--hua-navy); }
}
@media (max-width: 420px) {
	.hua-site-header .hua-mobile-submenu.is-open { grid-template-columns: 1fr; }
}

/* The light logo is scaled 1.55x for visual parity; its transparent canvas must
   never sit on top of the mobile toggle or nav. The <a> box stays clickable. */
.hua-site-header .hua-logo-image { pointer-events: none; }
.hua-site-header .hua-mobile-toggle { position: relative; z-index: 2; }

/* ==========================================================
   v0.3.2 MOBILE HEADER FIX (<= 960px)
   - Scrolled state is a solid, full-bleed white bar pinned at top:0, so no
     page content can show above or beside it (the floating pill on a
     transparent 76px strip let text poke out on iPhone).
   - Header height stays 76px in both states (no layout jump).
   - Open menu = full-height, full-width panel under the bar that scrolls on
     its own; body scroll is locked by hireua-header.js.
   - Toggle swaps hamburger <-> X and "Menu" <-> "Close".
   ========================================================== */
@media (max-width: 960px) {
	.hua-site-header.is-scrolled,
	.hua-site-header.mobile-open.is-scrolled {
		background: var(--hu-white, #FFFFFF);
		border-bottom: 1px solid var(--hua-line);
		box-shadow: 0 6px 22px rgba(var(--hu-navy-rgb, 7, 21, 42), .08);
	}
	.hua-site-header.is-scrolled .hua-header-shell {
		width: calc(100% - 24px);
		max-width: 720px;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		/* backdrop-filter would make the shell the containing block for the
		   fixed menu panel; the bar is opaque so it is not needed. */
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	/* Full-height menu panel */
	.hua-site-header .hua-mobile-menu {
		position: fixed;
		top: var(--hua-menu-top, 76px);
		left: 0;
		right: 0;
		bottom: 0;
		width: auto;
		max-height: none;
		height: auto;
		margin: 0;
		align-content: start;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		padding: 6px max(20px, calc((100% - 696px) / 2)) calc(28px + env(safe-area-inset-bottom, 0px));
		background: var(--hu-white, #FFFFFF);
		border: 0;
		border-top: 1px solid var(--hua-line);
		border-radius: 0;
		box-shadow: none;
		z-index: 10000;
	}
	.hua-site-header .hua-mobile-menu > a,
	.hua-site-header .hua-mobile-accordion-trigger {
		min-height: 58px;
		font-size: 17px;
		font-weight: 800;
	}
	.hua-site-header .hua-mobile-submenu.is-open {
		grid-template-columns: 1fr 1fr;
		gap: 6px 8px;
		padding: 2px 0 16px;
	}
	.hua-site-header .hua-mobile-submenu a {
		margin-top: 0;
		padding: 11px 12px;
		font-size: 14px;
		font-weight: 600;
		color: var(--hua-ink);
		border: 1px solid var(--hua-line);
	}
	.hua-site-header .hua-mobile-menu > a.hua-mobile-cta {
		min-height: 54px;
		margin-top: 22px;
		font-size: 16px;
	}

	/* Toggle: hamburger -> X */
	.hua-site-header .hua-mobile-toggle-icon {
		transition: border-color .15s ease;
	}
	.hua-site-header .hua-mobile-toggle-icon::before,
	.hua-site-header .hua-mobile-toggle-icon::after {
		content: "";
		position: absolute;
		left: 0;
		top: 3px;
		width: 17px;
		border-top: 2px solid currentColor;
		transition: transform .18s ease, opacity .15s ease;
	}
	.hua-site-header .hua-mobile-toggle-icon::after { opacity: 0; }
	.hua-site-header.mobile-open .hua-mobile-toggle-icon {
		border-top-color: transparent;
		border-bottom-color: transparent;
	}
	.hua-site-header.mobile-open .hua-mobile-toggle-icon::before { transform: rotate(45deg); }
	.hua-site-header.mobile-open .hua-mobile-toggle-icon::after { opacity: 1; transform: rotate(-45deg); }
}
@media (max-width: 420px) {
	.hua-site-header .hua-mobile-submenu.is-open { grid-template-columns: 1fr; }
}
/* Body scroll lock while the mobile menu is open (set by hireua-header.js) */
html.hua-scroll-locked,
html.hua-scroll-locked body {
	overflow: hidden;
	overscroll-behavior: none;
}
html.hua-scroll-locked body {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
}
/* While the body is pinned, keep the bar on screen (sticky has no scroller). */
html.hua-scroll-locked .hua-site-header {
	position: fixed;
	left: 0;
	right: 0;
}

/* v0.3.2 logos: on the mobile white bar, size the navy wordmark to the same
   visible size as the white wordmark in the navy bar (was ~25% larger). */
@media (max-width: 960px) {
	.hua-site-header .hua-header-shell .hua-logo-dark {
		width: 112px;
		height: 36px;
	}
}

/* v0.3.3 WP ADMIN-BAR OFFSETS (logged-in only)
   Core admin bar: 32px tall and fixed above 782px; 46px tall and fixed from
   601-782px; 46px tall but position:absolute (scrolls away) at <=600px.
   The sticky bar must follow that, otherwise it pins 46px down on phones and
   page content shows above it. */
@media (min-width: 783px) and (max-width: 960px) {
	.admin-bar .hua-site-header { top: 32px; }
}
@media (max-width: 782px) {
	.admin-bar .hua-site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .hua-site-header { top: 0; }
}
/* Menu open (body pinned, bar fixed): hireua-header.js stores where the bar
   was when the menu opened, so it never jumps or leaves a gap. */
html.hua-scroll-locked .hua-site-header { top: var(--hua-locked-top, 0px); }

/* ==========================================================
   v0.3.48 RESOURCES DROPDOWN (Near-style compact list)
   Blog + Resource Library, divider, then hiring guides.
   ========================================================== */
.hua-res-menu {
	width: 300px;
	padding: 18px 10px 14px;
}
.hua-res-list { display: grid; gap: 2px; }
.hua-res-list a {
	display: block;
	padding: 8px 14px;
	border-radius: 7px;
	color: var(--hua-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	white-space: normal;
}
.hua-res-list a:hover,
.hua-res-list a:focus-visible { color: var(--hua-blue); background: var(--hua-surface, #F5F7FA); }
.hua-res-main a { font-weight: 700; }
.hua-res-menu .hua-res-divider {
	height: 1px;
	margin: 10px 14px 14px;
	background: var(--hu-line, #E4E8EF);
}
.hua-res-menu .hua-mega-label { margin: 0 14px 6px; }
@media (min-width: 961px) {
	/* anchor to its own trigger (the wide menus centre on the header) */
	.hua-site-header .hua-nav-item.hua-dropdown.hua-res-dropdown { position: relative; }
	.hua-site-header .hua-res-menu {
		top: calc(100% + 18px);
		width: 300px;
		overflow: visible;
		white-space: normal;
	}
	.hua-site-header.is-scrolled .hua-res-menu { top: calc(100% + 14px); }
	.hua-site-header .hua-res-menu::before { top: -20px; height: 20px; }
}
@media (max-width: 960px) {
	.hua-site-header .hua-mobile-submenu.hua-mobile-res.is-open { grid-template-columns: 1fr; gap: 0; }
	.hua-site-header .hua-mobile-res a.is-main { font-weight: 750; }
	.hua-site-header .hua-mobile-res .hua-res-divider {
		height: 1px;
		margin: 12px 4px 6px;
		background: var(--hua-line, #E4E8EF);
	}
}
.hua-res-menu .hua-mega-label.hua-res-group-next { margin-top: 12px; }
@media (max-width: 960px) {
	.hua-site-header .hua-mobile-res .hua-mobile-res-label {
		margin: 12px 4px 0;
		font-size: 10px;
		font-weight: 800;
		letter-spacing: .12em;
		color: #8A93A3;
	}
}

/* v0.3.50 Mobile Resources panel: same spacing as the Find a Hire / Industries /
   Regions sub-panels (6px gap between tiles, 2px 0 16px panel padding, edge-to-edge
   tiles). Group labels sit on the tile text line (12px padding + 1px border). */
@media (max-width: 960px) {
	.hua-site-header .hua-mobile-submenu.hua-mobile-res.is-open {
		grid-template-columns: 1fr;
		gap: 6px 8px;
		padding: 2px 0 16px;
	}
	.hua-site-header .hua-mobile-res .hua-res-divider {
		height: 1px;
		margin: 8px 0;
		background: var(--hua-line, #E4E8EF);
	}
	.hua-site-header .hua-mobile-res .hua-mobile-res-label {
		margin: 10px 13px 0;
		padding: 0;
		line-height: 1.2;
	}
	.hua-site-header .hua-mobile-res .hua-res-divider + .hua-mobile-res-label { margin-top: 0; }
}

/* ==========================================================
   v0.3.55 MOBILE HEADER (<= 768px only; desktop/tablet untouched)
   Near-style: logo left; yellow "Start Hiring" pill + bare hamburger right.
   No "Menu" label, no bordered box. Panel CTA pinned at the panel bottom.
   ========================================================== */
.hua-mobile-start { display: none; }
@media (max-width: 768px) {
	.hua-site-header .hua-mobile-start {
		display: inline-flex;
		align-items: center;
		margin-left: auto;
		margin-right: 6px;
		min-height: 38px;
		padding: 0 14px;
		border: 1px solid var(--hu-yellow-edge, #E5D928);
		border-radius: 5px; /* v0.3.56: same radius as the desktop Start Hiring / menu CTA buttons (was a pill) */
		background: var(--hua-yellow, #FFF04A);
		color: var(--hua-navy, #07152A);
		font-size: 14px;
		font-weight: 800;
		line-height: 1;
		letter-spacing: -.005em;
		white-space: nowrap;
		text-decoration: none;
		position: relative;
		z-index: 2;
	}
	.hua-site-header .hua-mobile-start:hover,
	.hua-site-header .hua-mobile-start:focus-visible { background: var(--hua-yellow-hover, #F2E23A); color: var(--hua-navy, #07152A); }
	.hua-site-header .hua-mobile-toggle,
	.hua-site-header.is-scrolled .hua-mobile-toggle {
		margin-left: 0;
		min-height: 42px;
		width: 42px;
		padding: 0;
		justify-content: center;
		border: 0;
		background: transparent;
	}
	.hua-site-header .hua-mobile-toggle-icon { width: 22px; height: 16px; }
	.hua-site-header .hua-mobile-toggle-icon::before,
	.hua-site-header .hua-mobile-toggle-icon::after { width: 22px; top: 5px; }
	/* Panel CTA: full-width yellow button, sticky at the bottom of the open panel */
	.hua-site-header .hua-mobile-menu > a.hua-mobile-cta {
		position: sticky;
		bottom: 0;
		z-index: 3;
		width: 100%;
		justify-content: center;
		margin-top: 22px;
		box-shadow: 0 -14px 18px 4px var(--hu-white, #FFFFFF);
	}
}

/* v0.3.66: pre-warm the scrolled state. Own compositing layer for the bar and the two logos, so the
   first switch to white doesn't create layers/decode on the fly. Opacity/background only, no layout. */
.hua-site-header { will-change: background-color; }
.hua-site-header .hua-logo-light, .hua-site-header .hua-logo-dark { will-change: opacity; }
