/**
 * MICRON Premium UI — draft-only global refinement
 * Header and footer only. Scoped to Astra's public markup.
 */

.site-header,
.site-footer {
	--micron-ink: #0d1b19;
	--micron-ink-soft: #17302c;
	--micron-petrol: #0f7066;
	--micron-petrol-dark: #0a554e;
	--micron-mint: #9fd9ce;
	--micron-warm: #f6f1e8;
	--micron-gold: #d3aa62;
	--micron-line-light: rgba(255, 255, 255, 0.12);
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: var(--micron-ink);
	box-shadow: 0 14px 38px rgba(6, 18, 16, 0.16);
}

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

#ast-desktop-header .ast-primary-header-bar,
#ast-mobile-header .ast-primary-header-bar {
	min-height: 88px;
	border: 0;
	border-bottom: 1px solid rgba(211, 170, 98, 0.28);
	background:
		radial-gradient(circle at 8% -70%, rgba(15, 112, 102, 0.42), transparent 38%),
		linear-gradient(115deg, #0b1816 0%, #102521 58%, #0e302b 100%);
}

.site-primary-header-wrap {
	padding-inline: 28px;
}

#ast-desktop-header .site-primary-header-wrap,
#ast-desktop-header .ast-builder-grid-row {
	height: 88px;
	min-height: 88px;
}

.site-header .site-logo-img,
.site-header .custom-logo-link {
	display: flex;
	align-items: center;
}

.site-header .custom-logo-link {
	border-radius: 8px;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-header .custom-logo-link:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.site-header .custom-logo {
	width: auto;
	height: 62px;
	max-width: 154px;
	object-fit: contain;
}

#ast-desktop-header .main-header-menu {
	align-items: center;
	gap: 2px;
}

#ast-desktop-header .main-header-menu > .menu-item > .menu-link {
	position: relative;
	height: 88px;
	padding-inline: 17px;
	color: #dce8e5;
	font-size: 15px;
	font-weight: 650;
	letter-spacing: 0.012em;
	transition: color 0.22s ease;
}

#ast-desktop-header .main-header-menu > .menu-item:not(.menu-item-106) > .menu-link::after {
	position: absolute;
	right: 17px;
	bottom: 24px;
	left: 17px;
	height: 1px;
	background: var(--micron-gold);
	content: "";
	opacity: 0;
	transform: scaleX(0.35);
	transform-origin: left center;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

#ast-desktop-header .main-header-menu > .menu-item:not(.menu-item-106) > .menu-link:hover,
#ast-desktop-header .main-header-menu > .current-menu-item:not(.menu-item-106) > .menu-link,
#ast-desktop-header .main-header-menu > .current_page_item:not(.menu-item-106) > .menu-link {
	color: #ffffff;
}

#ast-desktop-header .main-header-menu > .menu-item:not(.menu-item-106) > .menu-link:hover::after,
#ast-desktop-header .main-header-menu > .current-menu-item:not(.menu-item-106) > .menu-link::after,
#ast-desktop-header .main-header-menu > .current_page_item:not(.menu-item-106) > .menu-link::after {
	opacity: 1;
	transform: scaleX(1);
}

#ast-desktop-header .main-header-menu > .micron-external-nav > .menu-link {
	padding-right: 34px;
}

#ast-desktop-header .main-header-menu > .micron-external-nav > .menu-link::before {
	position: absolute;
	top: 50%;
	right: 16px;
	color: var(--micron-gold);
	content: "↗";
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	transform: translateY(-58%);
}

#ast-desktop-header .main-header-menu > .menu-item-106 {
	margin-left: 16px;
}

#ast-desktop-header .main-header-menu > .menu-item-106 > .menu-link {
	height: 48px;
	min-height: 48px;
	align-self: center;
	padding: 13px 22px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 7px;
	background: var(--micron-gold);
	box-shadow: 0 12px 28px rgba(211, 170, 98, 0.17);
	color: var(--micron-ink);
	font-weight: 760;
	transition: background-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

#ast-desktop-header .main-header-menu > .menu-item-106 > .menu-link:hover,
#ast-desktop-header .main-header-menu > .menu-item-106.current-menu-item > .menu-link {
	background: #e0bd7e;
	box-shadow: 0 16px 34px rgba(211, 170, 98, 0.24);
	color: var(--micron-ink);
	transform: translateY(-2px);
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.site-footer a:focus-visible {
	outline: 2px solid var(--micron-gold);
	outline-offset: 4px;
}

/* Mobile header and navigation */
#ast-mobile-header .ast-primary-header-bar,
#ast-mobile-header .site-primary-header-wrap,
#ast-mobile-header .ast-builder-grid-row {
	height: 76px;
	min-height: 76px;
}

#ast-mobile-header .site-primary-header-wrap {
	padding-inline: 19px;
}

#ast-mobile-header .custom-logo {
	height: 54px;
	max-width: 132px;
}

#ast-mobile-header .menu-toggle {
	display: inline-flex !important;
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(211, 170, 98, 0.42);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.045);
	color: #ffffff !important;
	transition: border-color 0.22s ease, background-color 0.22s ease;
}

#ast-mobile-header .menu-toggle .ast-mobile-svg,
#ast-mobile-header .menu-toggle .ast-mobile-svg path {
	fill: currentColor !important;
	color: inherit;
}

#ast-mobile-header .menu-toggle:hover,
#ast-mobile-header .menu-toggle[aria-expanded="true"] {
	border-color: var(--micron-gold);
	background: rgba(211, 170, 98, 0.1);
}

#ast-mobile-header .ast-mobile-header-content {
	display: none;
	border: 0;
	border-bottom: 1px solid rgba(211, 170, 98, 0.28);
	background: #10231f;
	box-shadow: 0 22px 50px rgba(5, 16, 14, 0.26);
}

#ast-mobile-header.micron-menu-open .ast-mobile-header-content {
	display: block;
	animation: micron-mobile-menu-in 0.24s ease both;
}

#ast-mobile-header .ast-builder-menu-mobile,
#ast-mobile-header .ast-builder-menu-mobile .main-header-bar-navigation,
#ast-mobile-header .ast-builder-menu-mobile .main-navigation {
	background: transparent !important;
}

#ast-mobile-header .ast-builder-menu-mobile .main-navigation {
	padding: 10px 19px 22px;
}

#ast-hf-mobile-menu,
#micron-mobile-primary-menu {
	margin: 0;
	list-style: none;
	background: transparent !important;
}

#ast-mobile-header #ast-hf-mobile-menu .menu-item,
#ast-mobile-header #ast-hf-mobile-menu .menu-item > .menu-link,
#ast-mobile-header #micron-mobile-primary-menu .menu-item,
#ast-mobile-header #micron-mobile-primary-menu .menu-item > .menu-link {
	background: transparent !important;
}

#ast-mobile-header #ast-hf-mobile-menu .menu-item-106 > .menu-link,
#ast-mobile-header #micron-mobile-primary-menu .menu-item-106 > .menu-link {
	background: var(--micron-gold) !important;
}

#ast-mobile-header .ast-builder-menu-mobile .menu-link {
	padding: 15px 3px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	color: #e0ebe8;
	font-size: 16px;
	font-weight: 650;
}

#ast-mobile-header .ast-builder-menu-mobile .current-menu-item > .menu-link {
	color: var(--micron-mint);
}

#ast-mobile-header #ast-hf-mobile-menu .current-menu-item:not(.menu-item-106) > .menu-link,
#ast-mobile-header #micron-mobile-primary-menu .current-menu-item:not(.menu-item-106) > .menu-link {
	background: rgba(159, 217, 206, 0.07) !important;
}

#ast-mobile-header .ast-builder-menu-mobile .micron-external-nav > .menu-link::after {
	margin-left: auto;
	color: var(--micron-gold);
	content: "↗";
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

#ast-mobile-header .ast-builder-menu-mobile .menu-item-106 > .menu-link {
	justify-content: center;
	margin-top: 16px;
	padding: 14px 20px;
	border: 0;
	border-radius: 7px;
	background: var(--micron-gold) !important;
	color: var(--micron-ink);
	font-weight: 760;
	text-align: center;
}

/* Footer */
.site-footer {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(circle at 82% 8%, rgba(15, 112, 102, 0.24), transparent 32%),
		linear-gradient(125deg, #091512 0%, #0e211e 58%, #0c302b 100%);
	color: #bfd0cb;
}

.site-footer::before {
	position: absolute;
	top: -210px;
	right: -170px;
	z-index: -1;
	width: 500px;
	height: 500px;
	border: 1px solid rgba(159, 217, 206, 0.11);
	border-radius: 50%;
	content: "";
}

.site-footer::after {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, var(--micron-gold) 28%, rgba(211, 170, 98, 0.18) 74%, transparent 100%);
	content: "";
}

.site-footer .site-primary-footer-wrap,
.site-footer .site-below-footer-wrap {
	border: 0;
	background: transparent;
}

.site-footer .site-primary-footer-wrap {
	padding-block: 54px 42px;
}

.site-footer .ast-builder-grid-row-container-inner {
	width: min(1020px, calc(100% - 48px));
	margin-inline: auto;
}

.site-footer .ast-builder-footer-grid-columns {
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) minmax(0, 0.82fr);
	gap: 0;
	align-items: stretch;
}

.site-footer .site-footer-section {
	min-width: 0;
	align-self: stretch;
	padding-block: 2px;
}

.site-footer .site-footer-primary-section-1 {
	padding-right: clamp(32px, 4vw, 48px);
}

.site-footer .site-footer-primary-section-2 {
	padding-inline: clamp(32px, 4vw, 48px);
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .site-footer-primary-section-3 {
	padding-left: clamp(32px, 4vw, 48px);
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .widget {
	margin: 0;
	color: #b9cbc6;
	font-size: 15px;
	line-height: 1.68;
}

.site-footer .widget strong {
	display: block;
	margin-bottom: 11px;
	color: var(--micron-mint);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.15em;
	line-height: 1.4;
	text-transform: uppercase;
}

.site-footer .site-footer-primary-section-1 .widget strong {
	margin-bottom: 9px;
	color: #ffffff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(26px, 2.5vw, 32px);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.1;
	text-transform: none;
}

.site-footer .site-footer-primary-section-3 .widget {
	line-height: 1.72;
}

.site-footer a {
	position: relative;
	display: inline-block;
	color: #e1ebe8;
	text-decoration: none;
	transition: color 0.22s ease, transform 0.22s ease;
}

.site-footer a::after {
	position: absolute;
	right: 0;
	bottom: 2px;
	left: 0;
	height: 1px;
	background: var(--micron-gold);
	content: "";
	opacity: 0;
	transform: scaleX(0.35);
	transform-origin: left center;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-footer a:hover {
	color: #ffffff;
	transform: translateX(3px);
}

.site-footer a:hover::after {
	opacity: 1;
	transform: scaleX(1);
}

.site-footer .site-below-footer-wrap {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .site-below-footer-inner-wrap {
	min-height: 62px;
}

.site-footer .ast-footer-copyright {
	width: 100%;
	color: #829792;
	font-size: 13px;
	letter-spacing: 0.015em;
	text-align: center;
}

.site-footer .ast-footer-copyright p {
	margin: 0;
}







@media (max-width: 1024px) {
	#ast-desktop-header .main-header-menu > .menu-item > .menu-link {
		padding-inline: 12px;
	}

	#ast-desktop-header .main-header-menu > .menu-item-106 {
		margin-left: 8px;
	}

	.site-footer .site-primary-footer-wrap {
		padding-block: 50px 38px;
	}

	.site-footer .ast-builder-grid-row-container-inner {
		width: min(940px, calc(100% - 44px));
	}

	.site-footer .site-footer-primary-section-1 {
		padding-right: 32px;
	}

	.site-footer .site-footer-primary-section-2 {
		padding-inline: 32px;
	}

	.site-footer .site-footer-primary-section-3 {
		padding-left: 32px;
	}
}

@media (max-width: 921px) {
	.admin-bar .site-header {
		top: 32px;
	}

	.site-footer .ast-builder-footer-grid-columns {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0;
	}

	.site-footer .site-footer-primary-section-1 {
		padding-right: 26px;
	}

	.site-footer .site-footer-primary-section-2 {
		padding-inline: 26px;
		border-left: 1px solid rgba(255, 255, 255, 0.1);
	}

	.site-footer .site-footer-primary-section-3 {
		padding-left: 26px;
		border-left: 1px solid rgba(255, 255, 255, 0.1);
	}

}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 781px) {
	.site-footer .ast-builder-grid-row-container-inner {
		width: min(100% - 38px, 620px);
	}

	.site-footer .site-primary-footer-wrap {
		padding-block: 44px 32px;
	}

	.site-footer .ast-builder-footer-grid-columns {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 0;
	}

	.site-footer .site-footer-section,
	.site-footer .site-footer-primary-section-1,
	.site-footer .site-footer-primary-section-2,
	.site-footer .site-footer-primary-section-3 {
		padding: 0 0 24px;
		border-left: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	}

	.site-footer .site-footer-primary-section-2,
	.site-footer .site-footer-primary-section-3 {
		padding-top: 24px;
	}

	.site-footer .site-footer-primary-section-3 {
		padding-bottom: 0;
		border-bottom: 0;
	}

	.site-footer .site-below-footer-inner-wrap {
		min-height: 64px;
	}

	.site-footer .ast-footer-copyright {
		line-height: 1.55;
		text-align: center;
	}




}

/* Legal pages: scoped reading surface */
body.page-id-174,
body.page-id-3,
body.page-id-174 .site-content,
body.page-id-3 .site-content {
	background: #f6f1e8;
	color: #1f2937;
}

body.page-id-174 #primary,
body.page-id-3 #primary {
	float: none;
	width: min(900px, 100%);
	margin: 0 auto;
	padding-block: clamp(56px, 7vw, 88px) !important;
}

body.page-id-174 .ast-article-single,
body.page-id-3 .ast-article-single {
	padding: 0;
	background: transparent;
}

body.page-id-174 .entry-content,
body.page-id-3 .entry-content {
	color: #1f2937;
}

body.page-id-174 .entry-content :is(h1, h2, h3, h4, h5, h6),
body.page-id-3 .entry-content :is(h1, h2, h3, h4, h5, h6) {
	color: #0d1b19;
}

body.page-id-174 .micron-legal-title,
body.page-id-3 .micron-legal-title {
	margin: 0 0 clamp(36px, 5vw, 56px);
	font-size: clamp(36px, 6vw, 68px);
	line-height: 1.06;
	letter-spacing: -0.035em;
	hyphens: none;
	overflow-wrap: normal;
	word-break: normal;
}

/* Desktop-only native WPForms option palette */
@media (min-width: 922px) {
	#wpforms-63 select,
	#wpforms-68 select {
		--wpforms-field-text-color: #0d1b19;
		--wpforms-field-menu-color: #f9fbfa;
	}

	#wpforms-63 select > option,
	#wpforms-68 select > option {
		background-color: #f9fbfa !important;
		color: #0d1b19 !important;
	}
}

@keyframes micron-mobile-menu-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-header *,
	.site-footer * {
		scroll-behavior: auto !important;
		animation: none !important;
		transition: none !important;
	}
}
