:root {
	--adg-header-height: 88px;
	--adg-admin-bar-height: 0px;
	--adg-header-padding: clamp(20px, 6vw, 96px);
	--adg-black: #050505;
	--adg-white: #ffffff;
	--adg-ink: #111111;
	--adg-muted: rgba(255, 255, 255, 0.68);
}

.admin-bar {
	--adg-admin-bar-height: 32px;
}

body:not(.home) .site-main {
	padding-top: var(--adg-header-height);
}

body.adg-contact-page .site-main {
	padding-top: 0;
}

body .elementor-lightbox {
	z-index: 100001 !important;
}

.adg-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10000;
	width: 100%;
	color: var(--adg-white);
	background: transparent;
	transition: background-color 260ms ease, box-shadow 260ms ease, color 260ms ease;
}

.admin-bar .adg-header {
	top: 32px;
}

.adg-header__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: var(--adg-header-height);
	padding: 0 var(--adg-header-padding);
	max-width: calc(1400px + 2 * var(--adg-header-padding));
	margin: 0 auto;
}

.adg-menu-toggle,
.adg-contact-button,
.adg-logo {
	position: relative;
	z-index: 2;
}

.adg-menu-toggle {
	display: inline-flex;
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 6px;
	padding: 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	color: currentColor;
	cursor: pointer;
	justify-self: start;
	outline-offset: 5px;
	appearance: none;
	-webkit-appearance: none;
}

.adg-menu-toggle:hover,
.adg-menu-toggle:focus {
	border: 0 !important;
	background: transparent !important;
	color: currentColor;
}

.adg-menu-toggle__line {
	display: block;
	width: 28px;
	height: 2px;
	background: currentColor !important;
	transform-origin: center;
	transition: transform 240ms ease, opacity 240ms ease;
}

.adg-menu-open .adg-menu-toggle__line:first-child {
	transform: translateY(8px) rotate(45deg);
}

.adg-menu-open .adg-menu-toggle__line:nth-child(2) {
	opacity: 0;
}

.adg-menu-open .adg-menu-toggle__line:last-child {
	transform: translateY(-8px) rotate(-45deg);
}

.adg-logo {
	display: inline-grid;
	place-items: center;
	min-width: 96px;
	color: currentColor;
	text-decoration: none;
}

.adg-logo__image {
	display: block;
	width: auto;
	max-width: min(142px, 28vw);
	max-height: 64px;
	object-fit: contain;
	transition: opacity 220ms ease;
}

.adg-logo__image--black {
	position: absolute;
	opacity: 0;
}

.adg-logo__text {
	font-family: inherit;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	color: currentColor;
}

.adg-contact-button {
	display: inline-flex;
	min-width: 132px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	justify-self: end;
	padding: 10px 22px;
	border: 1px solid currentColor;
	color: currentColor;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.adg-contact-button:hover,
.adg-contact-button:focus {
	background: var(--adg-black);
	border-color: var(--adg-black);
	color: var(--adg-white);
	text-decoration: none;
}

.adg-header.is-transparent .adg-contact-button:hover,
.adg-header.is-transparent .adg-contact-button:focus,
.adg-header.is-scrolled .adg-contact-button:hover,
.adg-header.is-scrolled .adg-contact-button:focus,
.adg-menu-open .adg-contact-button:hover,
.adg-menu-open .adg-contact-button:focus {
	background: var(--adg-white);
	border-color: var(--adg-white);
	color: var(--adg-black);
}

.adg-header.is-solid:not(.is-scrolled) {
	color: var(--adg-ink);
	background: var(--adg-white);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.adg-header.is-solid:not(.is-scrolled) .adg-logo__image--white {
	opacity: 0;
}

.adg-header.is-solid:not(.is-scrolled) .adg-logo__image--black {
	opacity: 1;
}

.adg-header.is-scrolled,
.adg-menu-open .adg-header {
	color: var(--adg-white);
	background: #050505e3;
	box-shadow: 0 10px 34px rgba(0, 0, 0, 0.2);
}

.adg-header.is-scrolled .adg-menu-toggle,
.adg-menu-open .adg-header .adg-menu-toggle {
	color: var(--adg-white) !important;
}

.adg-header.is-transparent .adg-menu-toggle {
	color: var(--adg-white) !important;
}

/* Keep the closed icon dark even while the button retains hover or focus. */
body:not(.adg-menu-open) .adg-header.is-solid:not(.is-scrolled) .adg-menu-toggle,
body:not(.adg-menu-open) .adg-header.is-solid:not(.is-scrolled) .adg-menu-toggle:hover,
body:not(.adg-menu-open) .adg-header.is-solid:not(.is-scrolled) .adg-menu-toggle:focus {
	color: var(--adg-ink) !important;
}

.adg-header.is-scrolled .adg-logo__image--white,
.adg-menu-open .adg-header .adg-logo__image--white {
	opacity: 1;
}

.adg-header.is-scrolled .adg-logo__image--black,
.adg-menu-open .adg-header .adg-logo__image--black {
	opacity: 0;
}

.adg-menu-open .adg-header.is-transparent,
.adg-menu-open .adg-header.is-solid {
	color: var(--adg-white);
	background: rgba(5, 5, 5, 0.62);
	box-shadow: none;
}

.adg-menu-panel {
	position: fixed;
	top: calc(var(--adg-header-height) + var(--adg-admin-bar-height));
	right: 0;
	left: 0;
	z-index: 9999;
	max-height: calc(100vh - var(--adg-header-height) - var(--adg-admin-bar-height));
	max-height: calc(100dvh - var(--adg-header-height) - var(--adg-admin-bar-height));
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 18px var(--adg-header-padding) 38px;
	background: rgba(5, 5, 5, 0.78);
	color: var(--adg-white);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-12px);
	transition: transform 260ms ease, opacity 260ms ease, visibility 0s linear 260ms;
}

.adg-menu-open .adg-menu-panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
	transition: transform 260ms ease, opacity 260ms ease;
}

.adg-menu-panel__inner {
	width: min(1400px, 100%);
	margin: 0 auto;
}

.adg-menu-panel__label {
	margin: 0 0 12px;
	color: #b6a477;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.5;
}

.adg-menu-panel__nav {
	width: fit-content;
	max-width: 100%;
}

.adg-menu-panel__nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.adg-menu-panel__list {
	display: grid;
	gap: 0;
	text-align: left;
}

.adg-menu-panel a {
	color: currentColor;
	text-decoration: none;
}

.adg-menu-panel__list > li > a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 0;
	font-size: clamp(14px, 1.1vw, 18px);
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0;
	overflow-wrap: anywhere;
	text-transform: uppercase;
	font-family: Michroma, sans-serif !important;
}

.adg-menu-panel a:hover,
.adg-menu-panel a:focus {
	color: #b6a477;
}

.adg-menu-panel a:focus-visible {
	outline: 2px solid #b6a477;
	outline-offset: 4px;
}

.adg-menu-panel .sub-menu {
	display: grid;
	gap: 4px;
	padding: 4px 0 12px 18px;
}

.adg-menu-panel .sub-menu a {
	display: inline-block;
	padding: 10px 0;
	color: var(--adg-muted);
	font-size: 15px;
	text-transform: uppercase;
}

.adg-menu-panel .sub-menu a:hover,
.adg-menu-panel .sub-menu a:focus {
	color: #b6a477;
}

@media (prefers-reduced-motion: reduce) {
	.adg-menu-panel,
	.adg-menu-toggle__line {
		transition: none;
	}
}
@media (max-width: 782px) {
	:root {
		--adg-header-height: 74px;
		--adg-header-padding: 18px;
	}

	.admin-bar {
		--adg-admin-bar-height: 46px;
	}

	.admin-bar .adg-header {
		top: 46px;
	}

	.adg-header__inner {
		grid-template-columns: 52px 1fr 92px;
	}

	.adg-logo__image {
		max-width: 112px;
		max-height: 52px;
	}

	.adg-contact-button {
		min-width: 0;
		min-height: 38px;
		overflow: hidden;
		padding: 9px 12px;
		text-overflow: ellipsis;
		font-size: 11px;
	}

	.adg-menu-panel__list > li > a {
		font-size: 14px;
	}
}

@media (max-width: 430px) {
	.adg-header__inner {
		grid-template-columns: 46px 1fr 78px;
	}

	.adg-menu-toggle {
		width: 42px;
	}

	.adg-menu-toggle__line {
		width: 25px;
	}

	.adg-contact-button {
		padding-right: 10px;
		padding-left: 10px;
	}
}
