/**
 * AT ELEMENTOR ELEMENTS — PREMIUM HEADER SYSTEM
 * 5 Standalone Creative Header Styles
 *
 * Header 01: Editorial Architect
 * Header 02: Digital Command
 * Header 03: Creative Overlay
 * Header 04: Modular Floating
 * Header 05: Immersive Mega
 *
 * @package AT_Elementor_Elements
 * @version 3.0.0
 */

/* ==========================================================================
   SHARED HEADER FOUNDATION & CSS CUSTOM PROPERTIES
   ========================================================================== */
:root {
	--at-hdr-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--at-hdr-font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--at-hdr-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	--at-hdr-transition-fast: 200ms cubic-bezier(0.16, 1, 0.3, 1);
	--at-hdr-transition-base: 320ms cubic-bezier(0.16, 1, 0.3, 1);
	--at-hdr-transition-smooth: 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.at-header {
	position: relative;
	width: 100%;
	z-index: 990;
	transition: background-color var(--at-hdr-transition-base),
	            border-color var(--at-hdr-transition-base),
	            box-shadow var(--at-hdr-transition-base),
	            transform var(--at-hdr-transition-base),
	            padding var(--at-hdr-transition-base);
	box-sizing: border-box;
}

.at-header *,
.at-header *::before,
.at-header *::after {
	box-sizing: border-box;
}

/* Sticky Base States */
.at-header--sticky {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
}

.at-header--sticky-scroll.at-header--scrolled {
	z-index: 999;
	animation: atHeaderSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.at-header--hide-show-scroll.at-header--hidden {
	transform: translateY(-100%);
}

@keyframes atHeaderSlideDown {
	from { transform: translateY(-100%); }
	to { transform: translateY(0); }
}

/* Base Container Widths */
.at-header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 auto;
	width: 100%;
	position: relative;
}

.at-header--width-boxed .at-header__container {
	max-width: 1280px;
	padding-left: 28px;
	padding-right: 28px;
}

.at-header--width-narrow .at-header__container {
	max-width: 1080px;
	padding-left: 24px;
	padding-right: 24px;
}

.at-header--width-full-width .at-header__container {
	max-width: 100%;
	padding-left: 36px;
	padding-right: 36px;
}

/* Brand Base */
.at-header__brand {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.at-header__brand-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
}

.at-header__logo-img {
	height: auto;
	max-height: 44px;
	width: auto;
	display: block;
	object-fit: contain;
}

/* Nav Base */
.at-header__nav {
	display: flex;
	align-items: center;
}

.at-header__menu {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 8px;
	flex-wrap: nowrap;
}

.at-header__menu-item {
	position: relative;
	list-style: none;
	white-space: nowrap;
	flex-shrink: 0;
}

.at-header__nav-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	position: relative;
	white-space: nowrap;
	transition: all var(--at-hdr-transition-fast);
}

/* Actions Base */
.at-header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

/* Hamburger Toggle Base */
.at-header__mobile-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: none;
	cursor: pointer;
	z-index: 1001;
	border-radius: 8px;
	transition: background-color var(--at-hdr-transition-fast);
}

.at-header__hamburger-bar {
	display: block;
	width: 22px;
	height: 2px;
	min-height: 2px;
	max-height: 2px;
	flex-shrink: 0;
	margin: 2.5px 0;
	background-color: currentColor;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.at-header--drawer-open .at-header__hamburger-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.at-header--drawer-open .at-header__hamburger-bar:nth-child(2) {
	opacity: 0;
}
.at-header--drawer-open .at-header__hamburger-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.at-header__drawer-header,
.at-header__drawer-actions {
	display: none;
}

.at-header__drawer-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: -0.01em;
}

.at-header__drawer-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #ffffff;
	cursor: pointer;
	padding: 0;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	line-height: 1;
	flex-shrink: 0;
}

.at-header__drawer-close:hover,
.at-header__drawer-close:focus {
	background: rgba(239, 68, 68, 0.18);
	border-color: rgba(239, 68, 68, 0.4);
	color: #f87171;
	transform: rotate(90deg) scale(1.06);
}

.at-header--drawer-open .at-header__mobile-toggle {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}


/* ==========================================================================
   HEADER 01 — EDITORIAL ARCHITECT
   Sophisticated editorial & consulting firm aesthetic
   ========================================================================== */
.at-header--editorial {
	background-color: #fdfdfc;
	color: #1a1a1a;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	padding: 30px 0;
	font-family: var(--at-hdr-font-sans);
}

.at-header--editorial.at-header--scrolled {
	padding: 14px 0;
	background-color: rgba(253, 253, 252, 0.96);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

/* Brand: Monogram + Editorial Wordmark */
.at-header--editorial .at-header__brand-link {
	gap: 14px;
}

.at-header--editorial .at-header__editorial-monogram {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid #1a1a1a;
	font-family: var(--at-hdr-font-serif);
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: -0.5px;
	transition: background-color var(--at-hdr-transition-fast), color var(--at-hdr-transition-fast);
}

.at-header--editorial .at-header__brand-link:hover .at-header__editorial-monogram {
	background-color: #1a1a1a;
	color: #fdfdfc;
}

.at-header--editorial .at-header__brand-textgroup {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.at-header--editorial .at-header__logo-text {
	font-family: var(--at-hdr-font-serif);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.2px;
	line-height: 1.1;
	color: #111111;
}

.at-header--editorial .at-header__editorial-tagline {
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #777777;
}

/* Editorial Navigation */
.at-header--editorial .at-header__menu {
	gap: 32px;
}

.at-header--editorial .at-header__nav-link {
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #2b2b2b;
	padding: 8px 0;
	position: relative;
}

.at-header--editorial .at-header__editorial-index {
	font-family: var(--at-hdr-font-mono);
	font-size: 0.65rem;
	margin-right: 6px;
	color: #8c8c8c;
	font-weight: 400;
	transition: color var(--at-hdr-transition-fast);
}

.at-header--editorial .at-header__nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0%;
	height: 1px;
	background-color: #111111;
	transition: width var(--at-hdr-transition-base);
}

.at-header--editorial .at-header__nav-link:hover,
.at-header--editorial .at-header__nav-link:focus {
	color: #000000;
	transform: translateY(-1px);
}

.at-header--editorial .at-header__nav-link:hover::after,
.at-header--editorial .at-header__menu-item--active > .at-header__nav-link::after {
	width: 100%;
}

.at-header--editorial .at-header__menu-item--active > .at-header__nav-link {
	color: #000000;
	font-weight: 600;
}

.at-header--editorial .at-header__menu-item--active .at-header__editorial-index {
	color: #000000;
	font-weight: 700;
}

/* Editorial CTA */
.at-header--editorial .at-header__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px !important;
	font-size: 0.78rem !important;
	font-weight: 600 !important;
	letter-spacing: 1.8px !important;
	text-transform: uppercase !important;
	color: #111111 !important;
	background: transparent !important;
	border: 1px solid #111111 !important;
	border-radius: 0 !important;
	position: relative;
	overflow: hidden;
	transition: all var(--at-hdr-transition-smooth) !important;
	cursor: pointer;
	text-decoration: none;
}

.at-header--editorial .at-header__cta::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #111111;
	transform: translateY(100%);
	transition: transform var(--at-hdr-transition-base);
	z-index: 0;
}

.at-header--editorial .at-header__cta:hover::before {
	transform: translateY(0);
}

.at-header--editorial .at-header__cta .at-button__text,
.at-header--editorial .at-header__cta-arrow {
	position: relative;
	z-index: 1;
	transition: color var(--at-hdr-transition-base);
}

.at-header--editorial .at-header__cta:hover .at-button__text,
.at-header--editorial .at-header__cta:hover .at-header__cta-arrow {
	color: #ffffff !important;
}

.at-header--editorial .at-header__cta:hover .at-header__cta-arrow {
	transform: translateX(4px);
}

.at-header--editorial .at-header__cta-arrow {
	transition: transform var(--at-hdr-transition-fast);
}

/* Editorial Mobile Menu Overlay */
@media (max-width: 1024px) {
	.at-header--editorial .at-header__mobile-toggle {
		display: flex;
		color: #111111;
	}

	.at-header--editorial .at-header__nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background-color: #fdfdfc;
		z-index: 1000;
		flex-direction: column;
		justify-content: space-between;
		padding: 90px 36px 48px;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
		overflow-y: auto;
	}

	.at-header--editorial.at-header--drawer-open .at-header__nav {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.at-header--editorial .at-header__menu {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		gap: 0;
	}

	.at-header--editorial .at-header__menu-item {
		width: 100%;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	}

	.at-header--editorial .at-header__nav-link {
		width: 100%;
		padding: 20px 0;
		font-family: var(--at-hdr-font-serif);
		font-size: 1.8rem;
		letter-spacing: 0;
		text-transform: uppercase;
		color: #111111;
		justify-content: space-between;
	}

	.at-header--editorial .at-header__editorial-index {
		font-family: var(--at-hdr-font-mono);
		font-size: 0.85rem;
		color: #888888;
	}

	.at-header--editorial .at-header__drawer-actions {
		width: 100%;
		margin-top: 32px;
		padding-top: 24px;
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.at-header--editorial .at-header__editorial-contact-bar {
		display: flex;
		flex-direction: column;
		gap: 8px;
		font-size: 0.85rem;
		color: #666666;
		margin-top: 20px;
	}
}


/* ==========================================================================
   HEADER 02 — DIGITAL COMMAND
   Futuristic tech / SaaS / developer platform HUD
   ========================================================================== */
.at-header--command {
	background-color: #0b0f19;
	color: #e2e8f0;
	border-bottom: 1px solid rgba(56, 189, 248, 0.15);
	font-family: var(--at-hdr-font-sans);
	padding: 0;
}

.at-header--command.at-header--scrolled {
	background-color: rgba(11, 15, 25, 0.95);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.1);
}

/* Secondary Top Telemetry Strip */
.at-header--command .at-header__command-telemetry {
	background-color: #060911;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding: 6px 0;
	font-family: var(--at-hdr-font-mono);
	font-size: 0.7rem;
	color: #94a3b8;
	letter-spacing: 0.5px;
	transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.at-header--command.at-header--scrolled .at-header__command-telemetry {
	max-height: 0;
	padding: 0;
	opacity: 0;
	overflow: hidden;
	border-bottom: none;
}

.at-header--command .at-header__command-telemetry-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.at-header--command .at-header__telemetry-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #38bdf8;
}

.at-header--command .at-header__status-pulse {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: #10b981;
	box-shadow: 0 0 8px #10b981;
	animation: atPulseGlow 2s infinite;
}

@keyframes atPulseGlow {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.85); }
}

.at-header--command .at-header__telemetry-meta {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	color: #64748b;
}

/* Main Command Header Bar */
.at-header--command .at-header__container {
	padding-top: 14px;
	padding-bottom: 14px;
}

/* Brand: Cyber Tech */
.at-header--command .at-header__brand-link {
	gap: 10px;
}

.at-header--command .at-header__command-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	background: rgba(56, 189, 248, 0.1);
	border: 1px solid rgba(56, 189, 248, 0.3);
	color: #38bdf8;
	font-family: var(--at-hdr-font-mono);
	font-size: 0.62rem;
	font-weight: 600;
	border-radius: 3px;
	letter-spacing: 0.5px;
}

.at-header--command .at-header__logo-text {
	font-family: var(--at-hdr-font-sans);
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: -0.5px;
	color: #ffffff;
	text-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

/* Command Navigation */
.at-header--command .at-header__menu {
	gap: 4px;
}

.at-header--command .at-header__nav-link {
	font-family: var(--at-hdr-font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.5px;
	color: #94a3b8;
	padding: 8px 14px;
	border-radius: 4px;
	border: 1px solid transparent;
	transition: all var(--at-hdr-transition-fast);
}

.at-header--command .at-header__nav-link:hover,
.at-header--command .at-header__nav-link:focus {
	color: #38bdf8;
	background-color: rgba(56, 189, 248, 0.07);
	border-color: rgba(56, 189, 248, 0.25);
}

.at-header--command .at-header__menu-item--active > .at-header__nav-link {
	color: #ffffff;
	background-color: rgba(56, 189, 248, 0.12);
	border-color: rgba(56, 189, 248, 0.4);
}

/* Command Actions (Dual CTAs) */
.at-header--command .at-header__actions {
	gap: 10px;
}

.at-header--command .at-header__sec-cta {
	font-family: var(--at-hdr-font-mono) !important;
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.5px !important;
	color: #94a3b8 !important;
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
	border-radius: 4px !important;
	padding: 8px 14px !important;
	transition: all var(--at-hdr-transition-fast) !important;
	text-decoration: none;
}

.at-header--command .at-header__sec-cta:hover {
	color: #ffffff !important;
	border-color: rgba(255, 255, 255, 0.35) !important;
	background: rgba(255, 255, 255, 0.05) !important;
}

.at-header--command .at-header__cta {
	font-family: var(--at-hdr-font-mono) !important;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.5px !important;
	color: #060911 !important;
	background: #38bdf8 !important;
	border: 1px solid #38bdf8 !important;
	border-radius: 4px !important;
	padding: 8px 16px !important;
	box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
	transition: all var(--at-hdr-transition-fast) !important;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.at-header--command .at-header__cta:hover {
	background: #7dd3fc !important;
	border-color: #7dd3fc !important;
	box-shadow: 0 0 22px rgba(56, 189, 248, 0.6);
	transform: translateY(-1px);
}

/* Command Mega Navigation Panel */
.at-header--command .at-header__command-mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	width: 100%;
	background-color: #0d1322;
	border: 1px solid rgba(56, 189, 248, 0.2);
	border-top: none;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.08);
	padding: 28px 36px;
	display: none;
	grid-template-columns: repeat(4, 1fr) 280px;
	gap: 24px;
	z-index: 995;
	backdrop-filter: blur(16px);
}

.at-header--command .at-header__menu-item:hover > .at-header__command-mega,
.at-header--command .at-header__menu-item:focus-within > .at-header__command-mega {
	display: grid;
	animation: atCommandMegaIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes atCommandMegaIn {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}

.at-header--command .at-header__command-card {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 6px;
	padding: 16px;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: all var(--at-hdr-transition-fast);
}

.at-header--command .at-header__command-card:hover {
	background: rgba(56, 189, 248, 0.05);
	border-color: rgba(56, 189, 248, 0.3);
	transform: translateY(-2px);
}

.at-header--command .at-header__command-card-code {
	font-family: var(--at-hdr-font-mono);
	font-size: 0.65rem;
	color: #38bdf8;
	letter-spacing: 0.5px;
}

.at-header--command .at-header__command-card-title {
	font-size: 0.92rem;
	font-weight: 700;
	color: #f1f5f9;
}

.at-header--command .at-header__command-card-desc {
	font-size: 0.75rem;
	color: #94a3b8;
	line-height: 1.4;
}

.at-header--command .at-header__command-side-hud {
	background: rgba(56, 189, 248, 0.03);
	border: 1px dashed rgba(56, 189, 248, 0.25);
	border-radius: 6px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.at-header--command .at-header__side-hud-label {
	font-family: var(--at-hdr-font-mono);
	font-size: 0.65rem;
	color: #38bdf8;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.at-header--command .at-header__side-hud-metric {
	font-family: var(--at-hdr-font-mono);
	font-size: 1.4rem;
	font-weight: 800;
	color: #ffffff;
}

/* Command Mobile View */
@media (max-width: 1024px) {
	.at-header--command .at-header__mobile-toggle {
		display: flex;
		color: #38bdf8;
	}

	.at-header--command .at-header__nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background: #090d16;
		z-index: 1000;
		flex-direction: column;
		padding: 90px 24px 40px;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: all 0.3s ease;
		overflow-y: auto;
		border-right: 1px solid rgba(56, 189, 248, 0.2);
	}

	.at-header--command.at-header--drawer-open .at-header__nav {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.at-header--command .at-header__menu {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 8px;
	}

	.at-header--command .at-header__nav-link {
		padding: 14px;
		background: rgba(255, 255, 255, 0.02);
		border: 1px solid rgba(255, 255, 255, 0.05);
	}

	.at-header--command .at-header__command-mega {
		display: none !important;
	}

	.at-header--command .at-header__drawer-actions {
		width: 100%;
		margin-top: 24px;
		display: flex;
		flex-direction: column;
		gap: 12px;
	}
}


/* ==========================================================================
   HEADER 03 — CREATIVE OVERLAY
   Experimental creative agency / portfolio with interactive canvas takeover
   ========================================================================== */
.at-header--overlay {
	background-color: transparent;
	color: #ffffff;
	padding: 28px 0;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 990;
}

.at-header--overlay.at-header--scrolled {
	position: fixed;
	background-color: rgba(10, 10, 12, 0.92);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	padding: 18px 0;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* Minimal Header Bar */
.at-header--overlay .at-header__brand-link {
	gap: 12px;
}

.at-header--overlay .at-header__logo-text {
	font-family: var(--at-hdr-font-sans);
	font-weight: 900;
	font-size: 1.5rem;
	letter-spacing: -0.5px;
	color: #ffffff;
	text-transform: uppercase;
}

.at-header--overlay .at-header__overlay-brand-sub {
	font-family: var(--at-hdr-font-mono);
	font-size: 0.65rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
}

/* Minimal Menu Trigger Pill */
.at-header--overlay .at-header__overlay-trigger {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	font-family: var(--at-hdr-font-mono);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 10px 22px;
	border-radius: 9999px;
	cursor: pointer;
	backdrop-filter: blur(12px);
	transition: all var(--at-hdr-transition-base);
}

.at-header--overlay .at-header__overlay-trigger:hover,
.at-header--overlay .at-header__overlay-trigger:focus {
	background: #ffffff;
	color: #000000;
	transform: scale(1.04);
}

.at-header--overlay .at-header__overlay-trigger-icon {
	font-size: 1.1rem;
	line-height: 1;
	transition: transform var(--at-hdr-transition-fast);
}

.at-header--overlay .at-header__overlay-trigger:hover .at-header__overlay-trigger-icon {
	transform: rotate(90deg);
}

/* The Fullscreen Canvas Overlay */
.at-header--overlay .at-header__experience-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(8, 8, 10, 0.98);
	backdrop-filter: blur(28px);
	-webkit-backdrop-filter: blur(28px);
	z-index: 10000;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	overflow: hidden;
}

.at-header--overlay.at-header--overlay-active .at-header__experience-overlay {
	opacity: 1;
	visibility: visible;
}

/* Overlay Top Status Bar */
.at-header--overlay .at-header__overlay-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 32px 50px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.at-header--overlay .at-header__overlay-coords {
	font-family: var(--at-hdr-font-mono);
	font-size: 0.72rem;
	color: rgba(255, 255, 255, 0.45);
	letter-spacing: 1px;
}

.at-header--overlay .at-header__overlay-close {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	font-family: var(--at-hdr-font-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 8px 18px;
	border-radius: 9999px;
	cursor: pointer;
	transition: all var(--at-hdr-transition-fast);
}

.at-header--overlay .at-header__overlay-close:hover {
	background: #ffffff;
	color: #000000;
	border-color: #ffffff;
}

/* Overlay Main Body: Split Display */
.at-header--overlay .at-header__overlay-content {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	height: calc(100vh - 100px);
	padding: 40px 50px 60px;
	gap: 60px;
	align-items: center;
}

.at-header--overlay .at-header__overlay-menu-col {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.at-header--overlay .at-header__overlay-link {
	display: inline-flex;
	align-items: center;
	font-family: var(--at-hdr-font-sans);
	font-size: clamp(2.4rem, 4.5vw, 4.4rem);
	font-weight: 900;
	letter-spacing: -1.5px;
	color: rgba(255, 255, 255, 0.35);
	text-decoration: none;
	text-transform: uppercase;
	line-height: 1.1;
	transition: color 0.3s ease, transform 0.3s ease, letter-spacing 0.3s ease;
	position: relative;
}

.at-header--overlay .at-header__overlay-link:hover,
.at-header--overlay .at-header__overlay-link:focus,
.at-header--overlay .at-header__overlay-link.at-active {
	color: #ffffff;
	transform: translateX(16px);
	letter-spacing: -0.5px;
}

.at-header--overlay .at-header__overlay-index {
	font-family: var(--at-hdr-font-mono);
	font-size: 1rem;
	color: #38bdf8;
	margin-right: 20px;
	font-weight: 400;
	letter-spacing: 0;
}

/* Interactive Preview Canvas */
.at-header--overlay .at-header__overlay-preview-col {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.at-header--overlay .at-header__preview-card {
	position: relative;
	width: 100%;
	max-width: 440px;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
	background: #18181c;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 28px;
}

.at-header--overlay .at-header__preview-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.55;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.at-header--overlay .at-header__preview-card:hover .at-header__preview-bg {
	transform: scale(1.05);
	opacity: 0.75;
}

.at-header--overlay .at-header__preview-info {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.at-header--overlay .at-header__preview-tag {
	font-family: var(--at-hdr-font-mono);
	font-size: 0.68rem;
	color: #38bdf8;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.at-header--overlay .at-header__preview-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.2;
}

@media (max-width: 1024px) {
	.at-header--overlay .at-header__overlay-content {
		grid-template-columns: 1fr;
		padding: 20px 24px 40px;
		height: auto;
		overflow-y: auto;
	}

	.at-header--overlay .at-header__overlay-topbar {
		padding: 20px 24px;
	}

	.at-header--overlay .at-header__overlay-preview-col {
		display: none;
	}

	.at-header--overlay .at-header__overlay-link {
		font-size: 2rem;
	}
}


/* ==========================================================================
   HEADER 04 — MODULAR FLOATING
   Modern SaaS / Startup elevated island capsule
   ========================================================================== */
.at-header--floating {
	background: transparent;
	padding: 18px 0 0;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 990;
}

.at-header--floating .at-header__container {
	max-width: 1140px;
	background: rgba(15, 23, 42, 0.88);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 9999px;
	padding: 10px 14px 10px 24px;
	box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
	transition: all var(--at-hdr-transition-smooth);
}

.at-header--floating.at-header--scrolled {
	position: fixed;
	top: 0;
	padding-top: 12px;
}

.at-header--floating.at-header--scrolled .at-header__container {
	max-width: 980px;
	background: rgba(15, 23, 42, 0.96);
	box-shadow: 0 20px 48px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
	padding: 8px 12px 8px 20px;
}

/* Floating Brand & Live Badge */
.at-header--floating .at-header__brand-link {
	gap: 12px;
}

.at-header--floating .at-header__logo-text {
	font-family: var(--at-hdr-font-sans);
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: -0.3px;
	color: #ffffff;
}

.at-header--floating .at-header__floating-status-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	background: rgba(16, 185, 129, 0.12);
	border: 1px solid rgba(16, 185, 129, 0.3);
	color: #34d399;
	font-size: 0.68rem;
	font-weight: 600;
	border-radius: 9999px;
}

.at-header--floating .at-header__floating-status-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #10b981;
	box-shadow: 0 0 6px #10b981;
}

/* Floating Navigation Links */
.at-header--floating .at-header__menu {
	gap: 2px;
}

.at-header--floating .at-header__nav-link {
	font-size: 0.82rem;
	font-weight: 500;
	color: #cbd5e1;
	padding: 8px 14px;
	border-radius: 9999px;
	transition: all var(--at-hdr-transition-fast);
}

.at-header--floating .at-header__nav-link:hover,
.at-header--floating .at-header__nav-link:focus {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.08);
}

.at-header--floating .at-header__menu-item--active > .at-header__nav-link {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.14);
}

/* Floating Action CTA */
.at-header--floating .at-header__cta {
	padding: 9px 20px !important;
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	color: #ffffff !important;
	background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	border-radius: 9999px !important;
	box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
	transition: all var(--at-hdr-transition-fast) !important;
	text-decoration: none;
}

.at-header--floating .at-header__cta:hover {
	background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%) !important;
	box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
	transform: translateY(-1px);
}

/* Floating Morphing Mega Drawer */
.at-header--floating .at-header__floating-mega {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	width: calc(100% - 32px);
	max-width: 820px;
	background: rgba(15, 23, 42, 0.94);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.5);
	display: none;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	opacity: 0;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: 995;
}

.at-header--floating .at-header__menu-item:hover > .at-header__floating-mega,
.at-header--floating .at-header__menu-item:focus-within > .at-header__floating-mega {
	display: grid;
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.at-header--floating .at-header__floating-mega-item {
	display: flex;
	gap: 12px;
	padding: 12px;
	border-radius: 12px;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid transparent;
	transition: all var(--at-hdr-transition-fast);
}

.at-header--floating .at-header__floating-mega-item:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
}

.at-header--floating .at-header__floating-mega-icon {
	font-size: 1.4rem;
	line-height: 1;
}

.at-header--floating .at-header__floating-mega-title {
	font-size: 0.88rem;
	font-weight: 600;
	color: #ffffff;
}

.at-header--floating .at-header__floating-mega-desc {
	font-size: 0.75rem;
	color: #94a3b8;
	line-height: 1.35;
	margin-top: 2px;
}

/* Floating Mobile */
@media (max-width: 1024px) {
	.at-header--floating .at-header__mobile-toggle {
		display: flex;
		color: #ffffff;
	}

	.at-header--floating .at-header__floating-status-chip {
		display: none;
	}

	.at-header--floating .at-header__nav {
		position: absolute;
		top: calc(100% + 12px);
		left: 0;
		width: 100%;
		background: rgba(15, 23, 42, 0.98);
		border: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: 20px;
		padding: 20px;
		flex-direction: column;
		display: none;
		box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	}

	.at-header--floating.at-header--drawer-open .at-header__nav {
		display: flex;
		animation: atFloatDrawerDown 0.3s ease forwards;
	}

	@keyframes atFloatDrawerDown {
		from { opacity: 0; transform: translateY(-10px); }
		to { opacity: 1; transform: translateY(0); }
	}

	.at-header--floating .at-header__menu {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 6px;
	}

	.at-header--floating .at-header__nav-link {
		padding: 12px 16px;
		border-radius: 10px;
	}

	.at-header--floating .at-header__drawer-actions {
		width: 100%;
		margin-top: 16px;
	}

	.at-header--floating .at-header__drawer-actions .at-button {
		width: 100%;
		text-align: center;
		justify-content: center;
	}
}


/* ==========================================================================
   HEADER 05 — IMMERSIVE MEGA
   Flagship architectural / luxury corporate tier header
   ========================================================================== */
.at-header--immersive {
	background-color: #ffffff;
	color: #0f172a;
	border-bottom: 1px solid #e2e8f0;
	font-family: var(--at-hdr-font-sans);
	padding: 0;
}

.at-header--immersive.at-header--scrolled {
	background-color: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* Tier 1: Architectural Global Top Utility */
.at-header--immersive .at-header__immersive-topbar {
	background-color: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	padding: 8px 0;
	font-size: 0.72rem;
	color: #64748b;
	transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.at-header--immersive.at-header--scrolled .at-header__immersive-topbar {
	max-height: 0;
	padding: 0;
	opacity: 0;
	overflow: hidden;
	border-bottom: none;
}

.at-header--immersive .at-header__immersive-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.at-header--immersive .at-header__immersive-locations {
	display: flex;
	gap: 16px;
	font-weight: 500;
	letter-spacing: 0.5px;
}

.at-header--immersive .at-header__immersive-meta {
	display: flex;
	align-items: center;
	gap: 20px;
}

.at-header--immersive .at-header__immersive-meta a {
	color: inherit;
	text-decoration: none;
	transition: color var(--at-hdr-transition-fast);
}

.at-header--immersive .at-header__immersive-meta a:hover {
	color: #0f172a;
}

/* Tier 2: Main Architectural Navigation */
.at-header--immersive .at-header__container {
	padding-top: 20px;
	padding-bottom: 20px;
}

.at-header--immersive.at-header--scrolled .at-header__container {
	padding-top: 14px;
	padding-bottom: 14px;
}

/* Brand */
.at-header--immersive .at-header__brand-link {
	gap: 12px;
}

.at-header--immersive .at-header__logo-text {
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: -0.5px;
	color: #0f172a;
}

.at-header--immersive .at-header__immersive-brand-badge {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	background: #0f172a;
	color: #ffffff;
	padding: 2px 6px;
	border-radius: 2px;
}

/* Immersive Navigation */
.at-header--immersive .at-header__menu {
	gap: 24px;
}

.at-header--immersive .at-header__nav-link {
	font-size: 0.88rem;
	font-weight: 600;
	color: #334155;
	padding: 10px 0;
	position: relative;
}

.at-header--immersive .at-header__nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0%;
	height: 2px;
	background-color: #0f172a;
	transition: width var(--at-hdr-transition-base);
}

.at-header--immersive .at-header__nav-link:hover,
.at-header--immersive .at-header__nav-link:focus {
	color: #0f172a;
}

.at-header--immersive .at-header__nav-link:hover::after,
.at-header--immersive .at-header__menu-item--active > .at-header__nav-link::after {
	width: 100%;
}

/* Immersive Actions */
.at-header--immersive .at-header__cta {
	padding: 12px 26px !important;
	font-size: 0.82rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.5px !important;
	color: #ffffff !important;
	background: #0f172a !important;
	border: 1px solid #0f172a !important;
	border-radius: 6px !important;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
	transition: all var(--at-hdr-transition-base) !important;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.at-header--immersive .at-header__cta:hover {
	background: #1e293b !important;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
	transform: translateY(-1px);
}

/* Viewport-Dominating 4-Column Mega Panel */
.at-header--immersive .at-header__immersive-mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	width: 100%;
	background: #ffffff;
	border-top: 1px solid #e2e8f0;
	border-bottom: 1px solid #cbd5e1;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
	padding: 44px 48px;
	display: none;
	grid-template-columns: 320px 1fr 1fr 280px;
	gap: 36px;
	z-index: 995;
}

.at-header--immersive .at-header__menu-item:hover > .at-header__immersive-mega,
.at-header--immersive .at-header__menu-item:focus-within > .at-header__immersive-mega {
	display: grid;
	animation: atImmersiveMegaIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes atImmersiveMegaIn {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Col 1: Featured Category Showcase Card */
.at-header--immersive .at-header__immersive-spotlight {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	background: #0f172a;
	color: #ffffff;
	padding: 28px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	text-decoration: none;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.at-header--immersive .at-header__spotlight-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.45;
	transition: transform 0.5s ease;
}

.at-header--immersive .at-header__immersive-spotlight:hover .at-header__spotlight-bg {
	transform: scale(1.06);
}

.at-header--immersive .at-header__spotlight-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.at-header--immersive .at-header__spotlight-badge {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #38bdf8;
}

.at-header--immersive .at-header__spotlight-title {
	font-size: 1.2rem;
	font-weight: 800;
	color: #ffffff;
}

.at-header--immersive .at-header__spotlight-link {
	font-size: 0.78rem;
	font-weight: 600;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
}

/* Col 2 & 3: Columns of Services & Practices */
.at-header--immersive .at-header__mega-col-title {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #94a3b8;
	margin-bottom: 16px;
}

.at-header--immersive .at-header__mega-col-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.at-header--immersive .at-header__mega-col-link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	gap: 2px;
	padding: 6px 8px;
	border-radius: 6px;
	transition: background-color var(--at-hdr-transition-fast);
}

.at-header--immersive .at-header__mega-col-link:hover {
	background-color: #f1f5f9;
}

.at-header--immersive .at-header__mega-link-title {
	font-size: 0.9rem;
	font-weight: 600;
	color: #1e293b;
}

.at-header--immersive .at-header__mega-link-desc {
	font-size: 0.75rem;
	color: #64748b;
}

/* Col 4: Advisory Card */
.at-header--immersive .at-header__mega-advisory {
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.at-header--immersive .at-header__advisory-title {
	font-size: 0.95rem;
	font-weight: 700;
	color: #0f172a;
}

.at-header--immersive .at-header__advisory-desc {
	font-size: 0.78rem;
	color: #64748b;
	line-height: 1.5;
	margin: 8px 0 16px;
}

.at-header--immersive .at-header__advisory-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	background: #0f172a;
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 600;
	border-radius: 4px;
	text-decoration: none;
	transition: background-color var(--at-hdr-transition-fast);
}

.at-header--immersive .at-header__advisory-btn:hover {
	background: #334155;
}

/* Immersive Mobile View */
@media (max-width: 1024px) {
	.at-header--immersive .at-header__mobile-toggle {
		display: flex;
		color: #0f172a;
	}

	.at-header--immersive .at-header__nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background: #ffffff;
		z-index: 1000;
		flex-direction: column;
		padding: 90px 28px 48px;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: all 0.3s ease;
		overflow-y: auto;
	}

	.at-header--immersive.at-header--drawer-open .at-header__nav {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.at-header--immersive .at-header__menu {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 0;
	}

	.at-header--immersive .at-header__menu-item {
		border-bottom: 1px solid #f1f5f9;
	}

	.at-header--immersive .at-header__nav-link {
		font-size: 1.15rem;
		padding: 16px 0;
	}

	.at-header--immersive .at-header__immersive-mega {
		display: none !important;
	}

	.at-header--immersive .at-header__drawer-actions {
		width: 100%;
		margin-top: 32px;
	}

	.at-header--immersive .at-header__drawer-actions .at-button {
		width: 100%;
		justify-content: center;
	}
}


/* ==========================================================================
   HEADER 06 — FLUIDIC ENTERPRISE (TRANSPARENT FLOATING TECH)
   Inspired by Nagarro & modern 2026 enterprise IT leaders
   ========================================================================== */
.at-header--fluidic {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: transparent;
	color: #ffffff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	font-family: var(--at-hdr-font-sans);
	transition: background-color var(--at-hdr-transition-base),
	            border-color var(--at-hdr-transition-base),
	            box-shadow var(--at-hdr-transition-base),
	            padding var(--at-hdr-transition-base);
}

.at-header--fluidic.at-header--scrolled {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	padding: 14px 0;
	background: rgba(10, 15, 29, 0.88);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

/* Brand Area: Logo + Divider + Subtitle */
.at-header--fluidic .at-header__brand {
	display: flex;
	align-items: center;
}

.at-header--fluidic .at-header__brand-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	gap: 0;
}

.at-header--fluidic .at-header__logo-text {
	font-size: 1.45rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #ffffff;
	line-height: 1;
}

.at-header--fluidic .at-header__logo-img,
.at-header--fluidic .custom-logo {
	max-height: 42px;
	width: auto;
	object-fit: contain;
	display: block;
}

/* Desktop Navigation */
.at-header--fluidic .at-header__menu {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.at-header--fluidic .at-header__menu-item {
	position: relative;
}

.at-header--fluidic .at-header__nav-link,
.at-header--fluidic .at-header__nav-link:visited,
#masthead.at-custom-builder-header .at-header--fluidic .at-header__nav-link,
#masthead.at-custom-builder-header .at-header--fluidic .at-header__nav-link:visited {
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #ffffff;
	text-decoration: none;
	padding: 8px 0;
	display: inline-flex;
	align-items: center;
	position: relative;
	transition: color var(--at-hdr-transition-fast);
}

.at-header--fluidic .at-header__nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #38bdf8, #2563eb);
	border-radius: 2px;
	transition: width var(--at-hdr-transition-base);
}

.at-header--fluidic .at-header__nav-link:hover,
.at-header--fluidic .at-header__nav-link:focus,
.at-header--fluidic .at-header__menu-item:hover > .at-header__nav-link,
#masthead.at-custom-builder-header .at-header--fluidic .at-header__nav-link:hover,
#masthead.at-custom-builder-header .at-header--fluidic .at-header__nav-link:focus,
#masthead.at-custom-builder-header .at-header--fluidic .at-header__menu-item:hover > .at-header__nav-link {
	color: #38bdf8;
}

.at-header--fluidic .at-header__nav-link:hover::after,
.at-header--fluidic .at-header__menu-item--active > .at-header__nav-link::after,
.at-header--fluidic .current-menu-item > .at-header__nav-link::after {
	width: 100%;
}

.at-header--fluidic .at-header__menu-item--active > .at-header__nav-link,
.at-header--fluidic .current-menu-item > .at-header__nav-link,
#masthead.at-custom-builder-header .at-header--fluidic .at-header__menu-item--active > .at-header__nav-link,
#masthead.at-custom-builder-header .at-header--fluidic .current-menu-item > .at-header__nav-link {
	color: #ffffff;
}

/* Right Actions */
.at-header--fluidic .at-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.at-header--fluidic .at-header__search-toggle,
#masthead.at-custom-builder-header .at-header--fluidic .at-header__search-toggle {
	background: transparent;
	border: none;
	color: #ffffff;
	cursor: pointer;
	padding: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: color var(--at-hdr-transition-fast), background-color var(--at-hdr-transition-fast);
}

.at-header--fluidic .at-header__search-toggle svg,
#masthead.at-custom-builder-header .at-header--fluidic .at-header__search-toggle svg {
	width: 18px;
	height: 18px;
	stroke: #ffffff;
	fill: none;
}

.at-header--fluidic .at-header__search-toggle:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.15);
}

/* Mobile Toggle */
.at-header--fluidic .at-header__mobile-toggle {
	background: transparent;
	border: none;
	padding: 0;
	cursor: pointer;
	display: none;
	flex-direction: column;
	gap: 5px;
	justify-content: center;
	align-items: center;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	flex-shrink: 0;
	border-radius: 8px;
}

.at-header--fluidic .at-header__hamburger-bar {
	display: block;
	width: 22px;
	height: 2px;
	min-height: 2px;
	max-height: 2px;
	flex-shrink: 0;
	margin: 0;
	background-color: #ffffff;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease, background-color var(--at-hdr-transition-fast);
}

.at-header--fluidic.at-header--drawer-open .at-header__hamburger-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.at-header--fluidic.at-header--drawer-open .at-header__hamburger-bar:nth-child(2) {
	opacity: 0;
}
.at-header--fluidic.at-header--drawer-open .at-header__hamburger-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Responsive Mobile Rules */
@media (max-width: 1024px) {
	.at-header--fluidic {
		padding: 0;
	}

	.at-header--fluidic .at-header__topbar {
		display: none;
	}

	.at-header--fluidic .at-header__container {
		padding: 12px 20px;
		min-height: 56px;
	}

	.at-header--fluidic .at-header__mobile-toggle {
		display: inline-flex;
	}

	.at-header--fluidic .at-header__nav {
		position: fixed;
		top: 0;
		right: 0;
		width: 320px;
		max-width: 85vw;
		height: 100vh;
		background: #0a0f1d;
		border-left: 1px solid rgba(255, 255, 255, 0.1);
		z-index: 1005;
		padding: 80px 24px 32px;
		display: flex;
		flex-direction: column;
		transform: translateX(100%);
		transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
		overflow-y: auto;
		box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
	}

	.at-header--fluidic.at-header--drawer-open .at-header__nav {
		transform: translateX(0);
	}

	.at-header--fluidic .at-header__menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		width: 100%;
	}

	.at-header--fluidic .at-header__menu-item {
		width: 100%;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.at-header--fluidic .at-header__nav-link {
		padding: 14px 0;
		width: 100%;
		font-size: 1.05rem;
	}

	.at-header--fluidic .at-header__drawer-actions {
		margin-top: auto;
		padding-top: 24px;
		display: flex;
		flex-direction: column;
		gap: 16px;
	}
}


/* ==========================================================================
   ELEMENTOR EDITOR ADAPTATIONS
   Ensure safe editing without overlays or sticky traps
   ========================================================================== */
.elementor-editor-active .at-header--sticky,
.elementor-editor-active .at-header--sticky-scroll,
.elementor-editor-active .at-header--floating,
.elementor-editor-active .at-header--fluidic {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
}

.elementor-editor-active .at-header__experience-overlay {
	position: relative !important;
	width: 100% !important;
	height: auto !important;
	min-height: 480px;
	opacity: 1 !important;
	visibility: visible !important;
	display: none;
}

.elementor-editor-active .at-header--overlay-active .at-header__experience-overlay {
	display: flex !important;
}


/* ==========================================================================
   ACCESSIBILITY & REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.at-header,
	.at-header *,
	.at-header *::before,
	.at-header *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

.at-header a:focus-visible,
.at-header button:focus-visible {
	outline: 2px solid #38bdf8;
	outline-offset: 3px;
}


/* ==========================================================================
   GLOBAL NAV LINK VISITED COLOR FIXES (Prevent Default Browser Purple)
   ========================================================================== */
.at-header .at-header__nav-link,
.at-header .at-header__nav-link:visited,
.at-header .at-header__sub-link,
.at-header .at-header__sub-link:visited {
	color: inherit;
}

.at-header--floating .at-header__nav-link,
.at-header--floating .at-header__nav-link:visited {
	color: #e2e8f0 !important;
}
.at-header--floating .at-header__nav-link:hover,
.at-header--floating .at-header__nav-link:focus {
	color: #ffffff !important;
	background: rgba(255, 255, 255, 0.12);
}
.at-header--floating .at-header__menu-item--active > .at-header__nav-link,
.at-header--floating .at-header__menu-item--active > .at-header__nav-link:visited {
	color: #ffffff !important;
	background: rgba(255, 255, 255, 0.18);
}

.at-header--command .at-header__nav-link,
.at-header--command .at-header__nav-link:visited {
	color: #00f0ff !important;
}
.at-header--command .at-header__nav-link:hover {
	color: #ffffff !important;
}

.at-header--editorial .at-header__nav-link,
.at-header--editorial .at-header__nav-link:visited {
	color: #2b2b2b !important;
}
.at-header--editorial .at-header__nav-link:hover {
	color: #000000 !important;
}

.at-header--overlay .at-header__overlay-link,
.at-header--overlay .at-header__overlay-link:visited {
	color: #111111 !important;
}

.at-header--fluidic .at-header__nav-link,
.at-header--fluidic .at-header__nav-link:visited {
	color: rgba(255, 255, 255, 0.88) !important;
}
.at-header--fluidic .at-header__nav-link:hover,
.at-header--fluidic .at-header__nav-link:focus,
.at-header--fluidic .at-header__menu-item--active > .at-header__nav-link,
.at-header--fluidic .current-menu-item > .at-header__nav-link {
	color: #ffffff !important;
}

@media (min-width: 1025px) {
	.at-header--immersive .at-header__nav-link,
	.at-header--immersive .at-header__nav-link:visited {
		color: #1e293b !important;
	}
}

@media (max-width: 1024px) {
	.at-header--immersive .at-header__nav-link,
	.at-header--immersive.at-header--drawer-open .at-header__nav-link,
	.at-header--immersive .at-header__nav-link:visited {
		color: #ffffff !important;
	}
}

.at-header--classic .at-header__nav-link,
.at-header--classic .at-header__nav-link:visited {
	color: #334155 !important;
}

/* ==========================================================================
   PRO-LEVEL SEARCH SYSTEM (Spotlight Modal, Dropdown, Expandable)
   ========================================================================== */
.at-header__search-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.at-header__search-toggle {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: inherit;
	cursor: pointer;
	padding: 0;
	transition: all var(--at-hdr-transition-fast);
}

.at-header--editorial .at-header__search-toggle,
.at-header--classic .at-header__search-toggle,
.at-header--immersive .at-header__search-toggle {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #334155;
}

.at-header--floating .at-header__search-toggle,
.at-header--command .at-header__search-toggle,
.at-header--dark .at-header__search-toggle {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #f1f5f9;
}

.at-header__search-toggle:hover {
	transform: scale(1.05);
	background: var(--at-color-primary, #6366f1);
	border-color: var(--at-color-primary, #6366f1);
	color: #ffffff !important;
}

.at-header__search-toggle svg,
.at-header__search-icon {
	width: 18px !important;
	height: 18px !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 2 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
}

.at-header__search-toggle svg circle,
.at-header__search-icon circle {
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 2 !important;
}

.at-header__search-toggle svg line,
.at-header__search-icon line {
	stroke: currentColor !important;
	stroke-width: 2 !important;
}

/* 1. Spotlight Command Modal (Sleek Apple/Linear Command Architecture) */
.at-header__search-modal {
	position: fixed !important;
	inset: 0 !important;
	z-index: 999999 !important;
	display: flex !important;
	align-items: flex-start !important;
	justify-content: center !important;
	padding: 120px 20px 20px !important;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s !important;
}

.at-header__search-modal--open {
	opacity: 1 !important;
	visibility: visible !important;
}

.at-header__search-modal-backdrop {
	position: absolute !important;
	inset: 0 !important;
	background: rgba(11, 15, 25, 0.65) !important;
	backdrop-filter: blur(16px) !important;
	-webkit-backdrop-filter: blur(16px) !important;
}

.at-header__search-modal-box {
	position: relative !important;
	width: 100% !important;
	max-width: 640px !important;
	background: #0f172a !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 20px !important;
	box-shadow: 0 25px 70px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
	transform: translateY(-20px) scale(0.97) !important;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
	overflow: hidden !important;
	color: #f8fafc !important;
}

.at-header__search-modal--open .at-header__search-modal-box {
	transform: translateY(0) scale(1) !important;
}

.at-header__search-modal-header {
	padding: 16px 22px !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
	background: transparent !important;
}

.at-header__search-modal-form {
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.at-header__search-modal-icon {
	color: rgba(255, 255, 255, 0.45) !important;
	flex-shrink: 0 !important;
}

/* Force complete theme override on input - seamless borderless text entry */
.at-header__search-modal input[type="search"],
.at-header__search-modal input[type="text"],
.at-header__search-modal-input,
.at-header__search-modal-input:focus,
.at-header__search-modal-input:focus-visible,
body.at-high-contrast-focus .at-header__search-modal input:focus-visible {
	flex: 1 !important;
	width: 100% !important;
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	outline: none !important;
	outline-width: 0 !important;
	box-shadow: none !important;
	font-size: 1.2rem !important;
	font-weight: 400 !important;
	color: #ffffff !important;
	padding: 8px 0 !important;
	margin: 0 !important;
	line-height: 1.4 !important;
	-webkit-appearance: none !important;
}

.at-header__search-modal-input::placeholder,
.at-header__search-modal input::placeholder {
	color: rgba(255, 255, 255, 0.38) !important;
	font-weight: 400 !important;
}

.at-header__search-kbd {
	font-family: inherit !important;
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	padding: 3px 8px !important;
	background: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 6px !important;
	color: rgba(255, 255, 255, 0.5) !important;
	letter-spacing: 0.5px !important;
}

.at-header__search-modal-close {
	background: transparent !important;
	border: none !important;
	color: rgba(255, 255, 255, 0.5) !important;
	font-size: 1.25rem !important;
	cursor: pointer !important;
	padding: 4px 8px !important;
	border-radius: 6px !important;
	transition: color 0.15s, background-color 0.15s !important;
	line-height: 1 !important;
}

.at-header__search-modal-close:hover {
	color: #ffffff !important;
	background: rgba(255, 255, 255, 0.1) !important;
}

.at-header__search-modal-suggestions {
	padding: 16px 22px 20px !important;
	background: rgba(0, 0, 0, 0.22) !important;
}

.at-header__search-sugg-label {
	display: block !important;
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
	color: rgba(255, 255, 255, 0.45) !important;
	margin-bottom: 10px !important;
}

.at-header__search-sugg-tags {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
}

.at-header__search-tag {
	font-size: 0.82rem !important;
	color: rgba(255, 255, 255, 0.75) !important;
	text-decoration: none !important;
	background: rgba(255, 255, 255, 0.06) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	padding: 5px 14px !important;
	border-radius: 9999px !important;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.at-header__search-tag:hover {
	background: rgba(255, 255, 255, 0.15) !important;
	border-color: rgba(255, 255, 255, 0.25) !important;
	color: #ffffff !important;
	transform: translateY(-1px) !important;
}

/* 2. Floating Dropdown */
.at-header__search-dropdown {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: 300px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.15);
	padding: 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: 1002;
}

.at-header--floating .at-header__search-dropdown,
.at-header--command .at-header__search-dropdown,
.at-header--dark .at-header__search-dropdown {
	background: #111827;
	border-color: rgba(255, 255, 255, 0.15);
	color: #ffffff;
}

.at-header__search-dropdown--open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.at-header__search-form {
	display: flex;
	align-items: center;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 4px 8px;
}

.at-header--floating .at-header__search-form,
.at-header--command .at-header__search-form,
.at-header--dark .at-header__search-form {
	background: #1f2937;
	border-color: rgba(255, 255, 255, 0.15);
}

.at-header__search-input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 6px 8px;
	font-size: 0.88rem;
	color: inherit;
	outline: none;
}

.at-header__search-submit {
	background: transparent;
	border: none;
	color: inherit;
	cursor: pointer;
	padding: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
}

.at-header__search-submit:hover {
	color: var(--at-color-primary, #6366f1);
}

/* 3. Inline Expandable */
.at-header__search-expandable {
	position: absolute;
	right: 0;
	width: 0;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
	z-index: 10;
}

.at-header__search-expandable--open {
	width: 240px;
	opacity: 1;
	visibility: visible;
}

.at-header__search-btn-label {
	font-size: 0.85rem;
	font-weight: 500;
	margin-left: 8px;
	color: inherit;
}
.at-header__search-toggle:has(.at-header__search-btn-label),
.at-header__search-toggle.has-label {
	width: auto;
	padding: 0 14px;
	border-radius: 9999px;
}


/* ==========================================================================
   PRO STICKY HEADER ARCHITECTURE (No Empty Holders, Zero Jump, Admin Bar Aware)
   ========================================================================== */
.at-header-spacer {
	width: 100%;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
}

/* ==========================================================================
   PRO STICKY & OVERLAY HEADER ARCHITECTURE
   Respects CSS hierarchy, zero jump, admin-bar aware, no harmful !important
   ========================================================================== */

/* Neutralize theme masthead conflicts on custom builder headers */
#masthead.at-custom-builder-header {
	min-height: 0;
	background: transparent;
	border: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: none;
}

/* Fluidic transparent overlay header with masthead wrapper */
#masthead.at-custom-builder-header:has(.at-header--fluidic) {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background: transparent;
	border: none;
	box-shadow: none;
	pointer-events: none;
}

#masthead.at-custom-builder-header:has(.at-header--fluidic) .at-header--fluidic {
	pointer-events: auto;
}

/* Ensure non-fluidic masthead is the primary sticky root across the whole page */
.at-has-sticky-header #masthead.at-custom-builder-header:not(:has(.at-header--fluidic)),
.at-has-sticky-header .at-site-header:not(:has(.at-header--fluidic)) {
	position: sticky;
	top: 0;
	z-index: 99999;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Admin bar offsets for masthead & fluidic header */
body.admin-bar.at-has-sticky-header #masthead.at-custom-builder-header:not(:has(.at-header--fluidic)),
body.admin-bar.at-has-sticky-header .at-site-header:not(:has(.at-header--fluidic)),
body.admin-bar .at-header--fluidic,
body.admin-bar #masthead.at-custom-builder-header:has(.at-header--fluidic) {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar.at-has-sticky-header #masthead.at-custom-builder-header:not(:has(.at-header--fluidic)),
	body.admin-bar.at-has-sticky-header .at-site-header:not(:has(.at-header--fluidic)),
	body.admin-bar .at-header--fluidic,
	body.admin-bar #masthead.at-custom-builder-header:has(.at-header--fluidic) {
		top: 46px;
	}
}

/* Inner header widget sits inside masthead naturally in normal flow for non-fluidic presets */
#masthead.at-custom-builder-header .at-header:not(.at-header--fluidic) {
	position: relative;
	top: auto;
	width: 100%;
	z-index: 10;
}

/* Fluidic header positioning inside or outside masthead */
.at-header--fluidic,
#masthead.at-custom-builder-header .at-header--fluidic {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: transparent;
	color: #ffffff;
}

/* Fluidic fixed floating appearance when scrolled */
.at-header--fluidic.at-header--scrolled,
#masthead.at-custom-builder-header .at-header--fluidic.at-header--scrolled {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10000;
	padding: 14px 0;
	background: rgba(10, 15, 29, 0.88);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

body.admin-bar .at-header--fluidic.at-header--scrolled,
body.admin-bar #masthead.at-custom-builder-header .at-header--fluidic.at-header--scrolled {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .at-header--fluidic.at-header--scrolled,
	body.admin-bar #masthead.at-custom-builder-header .at-header--fluidic.at-header--scrolled {
		top: 46px;
	}
}

/* Standalone / Canvas pages where masthead does not wrap the header */
body:not(.at-has-sticky-header) .at-header--sticky:not(.at-header--fluidic),
body:not(.at-has-sticky-header) .at-header--sticky-scroll:not(.at-header--fluidic),
body:not(.at-has-sticky-header) .at-header--hide-show-scroll:not(.at-header--fluidic),
body:not(.at-has-sticky-header) .at-header--compact-scroll:not(.at-header--fluidic) {
	position: sticky;
	top: 0;
	z-index: 99999;
}

body.admin-bar:not(.at-has-sticky-header) .at-header--sticky:not(.at-header--fluidic),
body.admin-bar:not(.at-has-sticky-header) .at-header--sticky-scroll:not(.at-header--fluidic),
body.admin-bar:not(.at-has-sticky-header) .at-header--hide-show-scroll:not(.at-header--fluidic),
body.admin-bar:not(.at-has-sticky-header) .at-header--compact-scroll:not(.at-header--fluidic) {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar:not(.at-has-sticky-header) .at-header--sticky:not(.at-header--fluidic),
	body.admin-bar:not(.at-has-sticky-header) .at-header--sticky-scroll:not(.at-header--fluidic),
	body.admin-bar:not(.at-has-sticky-header) .at-header--hide-show-scroll:not(.at-header--fluidic),
	body.admin-bar:not(.at-has-sticky-header) .at-header--compact-scroll:not(.at-header--fluidic) {
		top: 46px;
	}
}

/* Smooth motion & transitions */
.at-header {
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s, box-shadow 0.25s, padding 0.25s;
}

/* Hide on scroll down */
.at-header.at-header--hidden,
#masthead.at-header--hidden {
	transform: translateY(-120%);
}

/* Scrolled elevation & appearance */
.at-header--scrolled {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.at-header--editorial.at-header--scrolled,
.at-header--classic.at-header--scrolled,
.at-header--immersive.at-header--scrolled {
	background-color: #ffffff;
}

.at-header--command.at-header--scrolled {
	background-color: rgba(11, 15, 25, 0.98);
}

.at-header--floating.at-header--scrolled {
	background: transparent;
	box-shadow: none;
}

/* Eliminate phantom spacers */
.at-header-spacer {
	display: none;
}

/* ==========================================================================
   MEGA MENU SYSTEM
   Shared across all presets. Activation requires class `at-mega-menu` or
   `mega-menu` on the WordPress menu item.
   ========================================================================== */

/* ── Shared Submenu / Dropdown Base ────────────────────────────────────── */
.at-header__menu-item {
	position: relative;
}

.at-header__submenu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 10px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
	list-style: none;
	margin: 0;
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
	            transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
	            visibility 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: 1000;
	pointer-events: none;
}

.at-header__menu-item--has-children:hover > .at-header__submenu,
.at-header__menu-item--has-children.at-submenu-open > .at-header__submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

@media (min-width: 1025px) {
	.at-header .at-header__menu-item--top > .at-header__submenu,
	.at-header__menu-item--top > .at-header__submenu {
		top: calc(100% + var(--at-submenu-auto-offset, 18px)) !important;
	}

	.at-header .at-header__menu-item--top > .at-header__submenu::before,
	.at-header__menu-item--top > .at-header__submenu::before {
		content: '';
		position: absolute;
		top: -24px;
		left: 0;
		right: 0;
		height: 26px;
		background: transparent;
		pointer-events: auto;
	}
}

.at-header__sub-item {
	list-style: none;
}

.at-header__sub-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 18px;
	text-decoration: none;
	color: #374151;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
	border-radius: 6px;
	margin: 0 6px;
}

.at-header__sub-link:hover {
	background-color: rgba(0, 102, 255, 0.06);
	color: #0066ff;
	padding-left: 22px;
}

.at-header__sub-arrow {
	display: inline-block;
	width: 5px;
	height: 5px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	border-left: none !important;
	border-top: none !important;
	transform: rotate(45deg);
	transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	margin-left: 6px;
	margin-top: -3px;
	vertical-align: middle;
	flex-shrink: 0;
	opacity: 0.75;
}

.at-header__sub-toggle,
.at-header__nav .at-header__sub-toggle {
	display: none !important;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	align-items: center;
	color: inherit;
	vertical-align: middle;
}

.at-header__menu-item--has-children:hover > .at-header__nav-link .at-header__sub-arrow,
.at-header__menu-item.at-submenu-open > .at-header__nav-link .at-header__sub-arrow {
	transform: rotate(-135deg);
	margin-top: 1px;
	opacity: 1;
}

.at-header__item-badge {
	display: inline-block;
	padding: 2px 7px;
	border-radius: 20px;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: linear-gradient(135deg, #0066ff, #6b21ff);
	color: #ffffff;
	line-height: 1.5;
	vertical-align: middle;
	flex-shrink: 0;
}

.at-header__link-title-wrap {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.at-header__link-text {
	display: inline;
}

/* ── Mega Menu Outer Wrapper ──────────────────────────────────────────── */
.at-header .at-header__menu-item--mega {
	position: static !important;
}

.at-header__mega-hover-bridge {
	position: absolute;
	top: -24px;
	left: 0;
	right: 0;
	height: 32px;
	background: transparent;
	pointer-events: auto;
	z-index: 1002;
}

.at-header__mega-menu {
	position: absolute;
	top: 100% !important;
	left: 50% !important;
	transform: translateX(-50%) translateY(8px);
	width: 1280px;
	max-width: calc(100vw - 48px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
	            transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
	            visibility 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: 1001;
	box-sizing: border-box;
}

/* Width variants */
.at-header__mega-menu--width-auto {
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	width: auto;
	max-width: min(1280px, calc(100vw - 48px));
}

.at-header__mega-menu--width-container {
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	width: 1280px;
	max-width: calc(100vw - 48px);
}

.at-header__mega-menu--width-wide {
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	width: min(1480px, 100vw);
}

.at-header__mega-menu--width-full_viewport,
.at-header__mega-menu--width-full_width,
.at-header__mega-menu--width-full {
	left: 0;
	transform: translateY(8px);
	right: 0;
	width: 100vw;
	max-width: 100vw;
}

.at-header__mega-menu--width-custom {
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	width: var(--at-mega-custom-width, 1280px);
	max-width: calc(100vw - 48px);
}

/* Position variants */
.at-header__mega-menu--pos-parent {
	left: 0;
	transform: translateY(8px);
}

.at-header__mega-menu--pos-parent:is(.at-header__menu-item--mega:hover > *),
.at-header__mega-menu--pos-parent:is(.at-header__menu-item--mega.at-submenu-open > *) {
	transform: translateY(0);
}

.at-header__mega-menu--pos-full_width {
	left: 0;
	right: 0;
	width: 100vw;
	max-width: 100vw;
	transform: translateY(8px);
}

.at-header__mega-menu--pos-full_width:is(.at-header__menu-item--mega:hover > *),
.at-header__mega-menu--pos-full_width:is(.at-header__menu-item--mega.at-submenu-open > *) {
	transform: translateY(0);
}

/* Animation variants */
.at-header__mega-menu--anim-fade {
	transition: opacity 0.2s ease, visibility 0.2s ease;
	transform: translateX(-50%) translateY(0) !important;
}

.at-header__mega-menu--pos-parent.at-header__mega-menu--anim-fade,
.at-header__mega-menu--pos-full_width.at-header__mega-menu--anim-fade {
	transform: translateY(0) !important;
}

.at-header__mega-menu--anim-none {
	transition: none !important;
	transform: translateX(-50%) translateY(0) !important;
}

/* Open state */
.at-header__menu-item--mega:hover > .at-header__mega-menu,
.at-header__menu-item--mega.at-submenu-open > .at-header__mega-menu,
.at-header__mega-menu:hover,
.at-header__mega-menu:focus-within {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	transform: translateX(-50%) translateY(0) !important;
}

.at-header__menu-item--mega:hover > .at-header__mega-menu--pos-parent,
.at-header__menu-item--mega.at-submenu-open > .at-header__mega-menu--pos-parent {
	transform: translateY(0);
}

.at-header__mega-menu--width-full_viewport:is(.at-header__menu-item--mega:hover > *),
.at-header__mega-menu--width-full_viewport:is(.at-header__menu-item--mega.at-submenu-open > *),
.at-header__mega-menu--width-full_width:is(.at-header__menu-item--mega:hover > *),
.at-header__mega-menu--width-full_width:is(.at-header__menu-item--mega.at-submenu-open > *),
.at-header__mega-menu--width-full:is(.at-header__menu-item--mega:hover > *),
.at-header__mega-menu--width-full:is(.at-header__menu-item--mega.at-submenu-open > *) {
	transform: translateY(0);
}

.at-header__menu-item--mega:hover > .at-header__mega-menu--width-full_viewport,
.at-header__menu-item--mega:hover > .at-header__mega-menu--width-full_width,
.at-header__menu-item--mega:hover > .at-header__mega-menu--width-full,
.at-header__menu-item--mega.at-submenu-open > .at-header__mega-menu--width-full_viewport,
.at-header__menu-item--mega.at-submenu-open > .at-header__mega-menu--width-full_width,
.at-header__menu-item--mega.at-submenu-open > .at-header__mega-menu--width-full {
	transform: translateY(0);
}

/* ── Builder Mega Menu Container & Content (Seamless Elementor Integration) ── */
.at-header__mega-menu--builder {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
}

.at-header__mega-menu--builder .at-header__mega-container,
.at-header--command .at-header__mega-menu--builder .at-header__mega-container,
.at-header--fluidic .at-header__mega-menu--builder .at-header__mega-container,
.at-header--immersive .at-header__mega-menu--builder .at-header__mega-container {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 auto !important;
	overflow: visible !important;
}

.at-header__mega-menu--builder .at-header__mega-inner,
.at-header__mega-menu--builder .at-header__mega-builder-content {
	display: block !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	width: 100% !important;
}

.at-header__mega-menu--builder .at-header__mega-builder-content > .elementor {
	width: 100% !important;
	margin: 0 auto !important;
}

.at-header__mega-menu--builder .elementor-element {
	max-width: 100%;
}

.at-header__mega-empty-notice {
	padding: 32px 24px;
	text-align: center;
	color: #64748b;
	background: #f8fafc;
	border: 2px dashed #cbd5e1;
	border-radius: 8px;
	margin: 16px;
}

.at-header__mega-empty-notice p {
	margin: 0 0 12px;
	font-size: 14px;
}

/* Mobile vs Desktop sub-items handling */
@media (min-width: 992px) {
	.at-header__submenu--mobile-only {
		display: none !important;
	}
}

@media (max-width: 991px) {
	.at-header__menu-item--mega-builder:has(.at-header__submenu--mobile-only) > .at-header__mega-menu {
		display: none !important;
	}
}

/* ── Hover Bridge (diagonal mouse travel) ────────────────────────────── */
.at-header__mega-hover-bridge {
	position: absolute;
	top: -24px;
	left: 0;
	right: 0;
	height: 32px;
	background: transparent;
	pointer-events: auto;
	z-index: 1002;
}

/* ── Mega Container (content boundary at max 1280px) ─────────────────── */
.at-header__mega-container {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.07);
	border-radius: 14px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	margin: 0 auto;
	max-width: 1280px;
}

/* Full-width variant: background spans full, but inner content stays bounded */
.at-header__mega-menu--width-full_viewport .at-header__mega-container,
.at-header__mega-menu--width-full .at-header__mega-container {
	max-width: 100%;
	border-radius: 0;
	border-left: none;
	border-right: none;
}

/* ── Inner Layout ─────────────────────────────────────────────────────── */
.at-header__mega-inner {
	display: flex;
	align-items: stretch;
}

.at-header__mega-content-wrap {
	flex: 1 1 auto;
	min-width: 0;
	padding: 28px 32px;
}

/* ── Column Grid ──────────────────────────────────────────────────────── */
.at-header__mega-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Column count variants */
.at-header__mega-menu--cols-1 .at-header__mega-grid { grid-template-columns: 1fr; }
.at-header__mega-menu--cols-2 .at-header__mega-grid { grid-template-columns: repeat(2, 1fr); }
.at-header__mega-menu--cols-3 .at-header__mega-grid { grid-template-columns: repeat(3, 1fr); }
.at-header__mega-menu--cols-4 .at-header__mega-grid { grid-template-columns: repeat(4, 1fr); }

/* ── Column ───────────────────────────────────────────────────────────── */
.at-header__mega-col {
	list-style: none;
	padding: 0;
}

/* ── Column Header / Category Title ──────────────────────────────────── */
.at-header__mega-col-header {
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.at-header__mega-col-title {
	display: block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b7280;
	line-height: 1.4;
}

.at-header__mega-col-title-link {
	text-decoration: none;
	color: inherit;
}

.at-header__mega-col-title-link:hover .at-header__mega-col-title {
	color: #0066ff;
}

/* ── Column Item List ─────────────────────────────────────────────────── */
.at-header__mega-col-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

/* ── Mega Link ────────────────────────────────────────────────────────── */
.at-header__mega-col-link {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 9px 10px;
	border-radius: 8px;
	text-decoration: none;
	color: #374151;
	transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
	position: relative;
}

.at-header__mega-col-link:hover {
	background-color: rgba(0, 102, 255, 0.06);
	color: #0066ff;
	transform: translateX(3px);
}

.at-header__mega-link-icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 102, 255, 0.07);
	border-radius: 8px;
	font-size: 1rem;
	transition: background-color 0.18s ease;
}

.at-header__mega-col-link:hover .at-header__mega-link-icon {
	background-color: rgba(0, 102, 255, 0.14);
}

.at-header__mega-link-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.at-header__mega-link-head {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.at-header__mega-link-title {
	font-size: 0.875rem;
	font-weight: 600;
	color: inherit;
	line-height: 1.35;
}

.at-header__mega-link-desc {
	font-size: 0.78rem;
	color: #9ca3af;
	line-height: 1.45;
	display: block;
	margin-top: 1px;
}

.at-header__mega-col-link:hover .at-header__mega-link-desc {
	color: #6b7280;
}

/* ── Featured Showcase Panel ──────────────────────────────────────────── */
.at-header__mega-featured {
	flex-shrink: 0;
	width: 260px;
	background: linear-gradient(160deg, #f8faff 0%, #eef2ff 100%);
	border-left: 1px solid rgba(0, 102, 255, 0.08);
	display: flex;
	align-items: stretch;
}

.at-header__mega-menu--featured-left .at-header__mega-featured {
	border-left: none;
	border-right: 1px solid rgba(0, 102, 255, 0.08);
}

.at-header__mega-featured-inner {
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
}

.at-header__mega-featured-media {
	width: 100%;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 16/9;
}

.at-header__mega-featured-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.at-header__mega-featured-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: linear-gradient(135deg, #0066ff, #6b21ff);
	color: #ffffff;
}

.at-header__mega-featured-title {
	font-size: 1rem;
	font-weight: 700;
	color: #111827;
	line-height: 1.35;
	margin: 0;
}

.at-header__mega-featured-desc {
	font-size: 0.82rem;
	color: #6b7280;
	line-height: 1.55;
	margin: 0;
}

.at-header__mega-featured-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.82rem;
	font-weight: 600;
	color: #0066ff;
	text-decoration: none;
	margin-top: auto;
	transition: gap 0.18s ease;
}

.at-header__mega-featured-link:hover {
	gap: 10px;
}

/* ── Bottom CTA Bar ───────────────────────────────────────────────────── */
.at-header__mega-bottom-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 32px;
	background: rgba(0, 102, 255, 0.04);
	border-top: 1px solid rgba(0, 102, 255, 0.1);
}

.at-header__mega-cta-text {
	font-size: 0.85rem;
	color: #374151;
	font-weight: 500;
}

.at-header__mega-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 18px;
	background: linear-gradient(135deg, #0066ff, #0047b3);
	color: #ffffff;
	border-radius: 8px;
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 600;
	transition: opacity 0.18s ease, transform 0.18s ease, gap 0.18s ease;
	white-space: nowrap;
	flex-shrink: 0;
}

.at-header__mega-cta-btn:hover {
	opacity: 0.92;
	transform: translateY(-1px);
	gap: 11px;
}

/* ── Preset Theming: Fluidic (dark translucent) ───────────────────────── */
.at-header--fluidic .at-header__submenu,
.at-header--fluidic .at-header__mega-container {
	background: rgba(10, 15, 35, 0.96);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border-color: rgba(255, 255, 255, 0.08);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.at-header--fluidic .at-header__sub-link,
.at-header--fluidic .at-header__mega-col-link {
	color: rgba(255, 255, 255, 0.8);
}

.at-header--fluidic .at-header__sub-link:hover,
.at-header--fluidic .at-header__mega-col-link:hover {
	background-color: rgba(255, 255, 255, 0.07);
	color: #ffffff;
}

.at-header--fluidic .at-header__mega-col-title {
	color: rgba(255, 255, 255, 0.4);
}

.at-header--fluidic .at-header__mega-col-header {
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

.at-header--fluidic .at-header__mega-link-title {
	color: rgba(255, 255, 255, 0.92);
}

.at-header--fluidic .at-header__mega-link-desc {
	color: rgba(255, 255, 255, 0.45);
}

.at-header--fluidic .at-header__mega-col-link:hover .at-header__mega-link-desc {
	color: rgba(255, 255, 255, 0.65);
}

.at-header--fluidic .at-header__mega-link-icon {
	background: rgba(255, 255, 255, 0.08);
}

.at-header--fluidic .at-header__mega-col-link:hover .at-header__mega-link-icon {
	background: rgba(255, 255, 255, 0.14);
}

.at-header--fluidic .at-header__mega-featured {
	background: rgba(255, 255, 255, 0.04);
	border-left-color: rgba(255, 255, 255, 0.06);
}

.at-header--fluidic .at-header__mega-featured-title {
	color: rgba(255, 255, 255, 0.95);
}

.at-header--fluidic .at-header__mega-featured-desc {
	color: rgba(255, 255, 255, 0.5);
}

.at-header--fluidic .at-header__mega-featured-link {
	color: #60a5fa;
}

.at-header--fluidic .at-header__mega-bottom-cta {
	background: rgba(255, 255, 255, 0.03);
	border-top-color: rgba(255, 255, 255, 0.07);
}

.at-header--fluidic .at-header__mega-cta-text {
	color: rgba(255, 255, 255, 0.7);
}

/* ── Preset Theming: Command (dark solid) ─────────────────────────────── */
.at-header--command .at-header__submenu,
.at-header--command .at-header__mega-container {
	background: #0b0f1a;
	border-color: rgba(255, 255, 255, 0.07);
	box-shadow: 0 20px 56px rgba(0, 0, 0, 0.5);
}

.at-header--command .at-header__sub-link,
.at-header--command .at-header__mega-col-link {
	color: rgba(255, 255, 255, 0.75);
}

.at-header--command .at-header__sub-link:hover,
.at-header--command .at-header__mega-col-link:hover {
	background-color: rgba(255, 255, 255, 0.06);
	color: #ffffff;
}

.at-header--command .at-header__mega-col-title { color: rgba(255, 255, 255, 0.35); }
.at-header--command .at-header__mega-col-header { border-bottom-color: rgba(255, 255, 255, 0.07); }
.at-header--command .at-header__mega-link-title { color: rgba(255, 255, 255, 0.9); }
.at-header--command .at-header__mega-link-desc { color: rgba(255, 255, 255, 0.4); }
.at-header--command .at-header__mega-featured { background: rgba(255, 255, 255, 0.03); border-left-color: rgba(255, 255, 255, 0.05); }
.at-header--command .at-header__mega-featured-title { color: #ffffff; }
.at-header--command .at-header__mega-featured-desc { color: rgba(255, 255, 255, 0.45); }
.at-header--command .at-header__mega-featured-link { color: #60a5fa; }
.at-header--command .at-header__mega-bottom-cta { background: rgba(255, 255, 255, 0.02); border-top-color: rgba(255, 255, 255, 0.06); }
.at-header--command .at-header__mega-cta-text { color: rgba(255, 255, 255, 0.65); }

/* ── Preset Theming: Immersive ────────────────────────────────────────── */
.at-header--immersive .at-header__submenu,
.at-header--immersive .at-header__mega-container {
	background: rgba(20, 20, 30, 0.97);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-color: rgba(255, 255, 255, 0.08);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.at-header--immersive .at-header__sub-link,
.at-header--immersive .at-header__mega-col-link { color: rgba(255, 255, 255, 0.78); }
.at-header--immersive .at-header__sub-link:hover,
.at-header--immersive .at-header__mega-col-link:hover { background-color: rgba(255, 255, 255, 0.07); color: #ffffff; }
.at-header--immersive .at-header__mega-col-title { color: rgba(255, 255, 255, 0.38); }
.at-header--immersive .at-header__mega-link-title { color: rgba(255, 255, 255, 0.9); }
.at-header--immersive .at-header__mega-link-desc { color: rgba(255, 255, 255, 0.45); }
.at-header--immersive .at-header__mega-featured { background: rgba(255, 255, 255, 0.04); border-left-color: rgba(255, 255, 255, 0.06); }
.at-header--immersive .at-header__mega-featured-title { color: #ffffff; }
.at-header--immersive .at-header__mega-bottom-cta { background: rgba(255, 255, 255, 0.03); border-top-color: rgba(255, 255, 255, 0.07); }

/* ── Accessible Focus Styles ──────────────────────────────────────────── */
.at-header__sub-link:focus-visible,
.at-header__mega-col-link:focus-visible,
.at-header__mega-cta-btn:focus-visible,
.at-header__mega-featured-link:focus-visible {
	outline: 2px solid #0066ff;
	outline-offset: 2px;
}

.at-header--fluidic .at-header__sub-link:focus-visible,
.at-header--fluidic .at-header__mega-col-link:focus-visible,
.at-header--command .at-header__sub-link:focus-visible,
.at-header--command .at-header__mega-col-link:focus-visible,
.at-header--immersive .at-header__sub-link:focus-visible,
.at-header--immersive .at-header__mega-col-link:focus-visible {
	outline-color: #60a5fa;
}

/* ── Mobile: Mega Menu Accordion ─────────────────────────────────────── */
@media (max-width: 1024px) {

	/* Submenus: accordion rather than floating */
	.at-header__submenu,
	.at-header__mega-menu {
		position: static;
		width: 100%;
		max-width: 100%;
		transform: none !important;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		box-shadow: none;
		border: none;
		border-radius: 0;
		background: transparent;
		display: none;
		padding: 0;
	}

	/* Hide floating Back to Top button when mobile navigation drawer is active */
	body.at-scroll-locked .at-footer__back-to-top,
	body.at-scroll-locked .at-footer__back-to-top--floating,
	.at-header--drawer-open ~ * .at-footer__back-to-top--floating,
	.at-header--drawer-open .at-footer__back-to-top--floating {
		opacity: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
		z-index: -1 !important;
		transform: scale(0) !important;
	}

	.at-header__menu-item--has-children.at-submenu-open > .at-header__submenu,
	.at-header__menu-item--mega.at-submenu-open > .at-header__mega-menu {
		display: block;
	}

	/* Mega container in mobile */
	.at-header__mega-container {
		background: transparent;
		box-shadow: none;
		border: none;
		border-radius: 0;
		max-width: 100%;
		padding: 0;
	}

	.at-header__mega-hover-bridge {
		display: none;
	}

	.at-header__mega-inner {
		flex-direction: column;
	}

	.at-header__mega-content-wrap {
		padding: 8px 0;
	}

	/* Full-width grid on mobile = single column */
	.at-header__mega-grid,
	.at-header__mega-menu--cols-1 .at-header__mega-grid,
	.at-header__mega-menu--cols-2 .at-header__mega-grid,
	.at-header__mega-menu--cols-3 .at-header__mega-grid,
	.at-header__mega-menu--cols-4 .at-header__mega-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.at-header__mega-col {
		border-bottom: 1px solid rgba(0, 0, 0, 0.06);
		padding-bottom: 8px;
		margin-bottom: 4px;
	}

	.at-header__mega-col:last-child {
		border-bottom: none;
	}

	.at-header__mega-col-header {
		margin-bottom: 6px;
		padding-bottom: 6px;
	}

	.at-header__mega-col-link,
	.at-header__sub-link {
		padding: 10px 16px;
		border-radius: 6px;
		white-space: normal;
		transform: none !important;
	}

	/* Featured panel — collapsed in mobile */
	.at-header__mega-featured {
		width: 100%;
		border-left: none;
		border-top: 1px solid rgba(0, 0, 0, 0.07);
	}

	.at-header--fluidic .at-header__mega-featured,
	.at-header--command .at-header__mega-featured,
	.at-header--immersive .at-header__mega-featured {
		border-top-color: rgba(255, 255, 255, 0.07);
	}

	.at-header__mega-bottom-cta {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 14px 16px;
	}

	/* Sub-toggle always visible on mobile */
	.at-header__sub-toggle {
		display: inline-flex;
	}

	/* Dark preset mobile sub-link colors */
	.at-header--fluidic .at-header__sub-link,
	.at-header--command .at-header__sub-link,
	.at-header--immersive .at-header__sub-link,
	.at-header--fluidic .at-header__mega-col-link,
	.at-header--command .at-header__mega-col-link,
	.at-header--immersive .at-header__mega-col-link {
		color: rgba(255, 255, 255, 0.75);
	}

	.at-header--fluidic .at-header__sub-link:hover,
	.at-header--command .at-header__sub-link:hover,
	.at-header--immersive .at-header__sub-link:hover,
	.at-header--fluidic .at-header__mega-col-link:hover,
	.at-header--command .at-header__mega-col-link:hover,
	.at-header--immersive .at-header__mega-col-link:hover {
		background-color: rgba(255, 255, 255, 0.07);
		color: #ffffff;
	}
}

/* ── Tablet refinements ───────────────────────────────────────────────── */
@media (min-width: 1025px) and (max-width: 1280px) {
	.at-header__mega-menu--cols-4 .at-header__mega-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.at-header__mega-menu--cols-3 .at-header__mega-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.at-header__mega-featured {
		width: 220px;
	}
}

