.ashv-header {
	position: fixed;
	z-index: 50;
	inset: env(safe-area-inset-top, 0px) 0 auto;
	color: var(--wp--preset--color--limestone);
	transition: transform 350ms var(--ashv-ease), background-color 300ms var(--ashv-ease), box-shadow 300ms var(--ashv-ease);
}

.admin-bar .ashv-header {
	top: var(--wp-admin--admin-bar--height, 0px);
}

.ashv-header.is-solid {
	background: rgb(25 27 25 / 0.94);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 10px 30px rgb(25 27 25 / 0.18);
}

.ashv-header.is-hidden {
	transform: translateY(-100%);
}

body:not(.ashv-has-hero) .wp-site-blocks > main {
	padding-top: var(--ashv-header-h);
}

.ashv-header__bar {
	height: var(--ashv-header-h);
	display: flex;
	align-items: center;
	gap: 20px;
}

.ashv-logo {
	display: block;
	flex: none;
	width: 172px;
}

.ashv-logo__img {
	display: block;
	width: 100%;
	height: auto;
}

.ashv-logo__img--white,
.ashv-header.is-menu-open .ashv-logo__img--standard {
	display: none;
}

.ashv-header.is-menu-open .ashv-logo__img--white {
	display: block;
}

.ashv-nav {
	display: none;
	align-self: stretch;
	margin-left: auto;
}

.ashv-nav__list {
	position: relative;
	display: flex;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ashv-nav__list > li {
	display: flex;
}

.ashv-nav__link {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	padding: 0 20px;
	font: italic 600 14px/1 var(--wp--preset--font-family--button);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: inherit;
	text-decoration: none;
	transition: background-color 200ms var(--ashv-ease);
}

.ashv-nav__link[aria-current]::before {
	content: "";
	position: absolute;
	inset: calc(50% - 24px) 4px;
	z-index: -1;
	background: var(--wp--preset--color--ember);
	clip-path: polygon(var(--ashv-slant) 0, 100% 0, calc(100% - var(--ashv-slant)) 100%, 0 100%);
}

.ashv-nav__link[aria-current]::after {
	display: none;
}

.ashv-nav__link:focus-visible {
	outline-offset: -4px;
}

.ashv-header__cta {
	display: none;
	flex: none;
	margin-left: 12px;
}

.ashv-menu-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 48px;
	height: 48px;
	padding-inline: calc(14px + var(--ashv-slant));
	margin-left: auto;
	border: 0;
	background: rgb(243 240 231 / 0.16);
	clip-path: polygon(var(--ashv-slant) 0, 100% 0, calc(100% - var(--ashv-slant)) 100%, 0 100%);
	color: var(--wp--preset--color--limestone);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 250ms var(--ashv-ease), color 250ms var(--ashv-ease), border-color 250ms var(--ashv-ease), transform 160ms var(--ashv-ease);
}

.ashv-menu-btn:active {
	transform: scale(0.94);
}

.ashv-menu-btn__text {
	display: grid;
	font: italic 600 14px/1 var(--wp--preset--font-family--button);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ashv-menu-btn__text > span {
	grid-area: 1 / 1;
	transition: opacity 200ms var(--ashv-ease);
}

.ashv-menu-btn__text > span:last-child,
.ashv-menu-btn[aria-expanded="true"] .ashv-menu-btn__text > span:first-child {
	opacity: 0;
}

.ashv-menu-btn[aria-expanded="true"] .ashv-menu-btn__text > span:last-child {
	opacity: 1;
}

.ashv-menu-btn__bars {
	display: grid;
}

.ashv-menu-btn i {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	transition: transform 250ms var(--ashv-ease);
}

.ashv-menu-btn i + i {
	margin-top: 5px;
}

.ashv-menu-btn[aria-expanded="true"] i:first-child {
	transform: translateY(3.5px) rotate(45deg);
}

.ashv-menu-btn[aria-expanded="true"] i:last-child {
	transform: translateY(-3.5px) rotate(-45deg);
}

.ashv-header.is-menu-open {
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	transform: none;
}

.ashv-header.is-menu-open .ashv-menu-btn {
	background: var(--wp--preset--color--limestone);
	color: var(--wp--preset--color--ember);
}

@media (min-width: 1024px) and (max-width: 1199px) {
	.ashv-header__bar {
		gap: 12px;
	}

	.ashv-header .ashv-logo {
		width: 148px;
	}

	.ashv-nav__link {
		padding-inline: 10px;
		font-size: 13px;
		letter-spacing: 0.02em;
	}
}

@media (min-width: 1024px) {
	.ashv-nav,
	.ashv-header__cta {
		display: flex;
	}

	.ashv-menu-btn {
		display: none;
	}
}

/* Phone and tablet menu: a full-screen ember sheet that grows out of the menu button. */
.ashv-sheet {
	--ashv-sheet-origin: calc(100% - 50px) 50px;
	position: fixed;
	z-index: 49;
	inset: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding:
		calc(108px + env(safe-area-inset-top, 0px))
		max(24px, env(safe-area-inset-right, 0px))
		calc(32px + env(safe-area-inset-bottom, 0px))
		max(24px, env(safe-area-inset-left, 0px));
	background: var(--wp--preset--color--ember);
	color: var(--wp--preset--color--white);
	isolation: isolate;
	visibility: hidden;
	clip-path: circle(0% at var(--ashv-sheet-origin));
	transition: clip-path 550ms var(--ashv-ease) 160ms, visibility 0s 710ms;
}

.ashv-sheet.is-open {
	visibility: visible;
	clip-path: circle(150% at var(--ashv-sheet-origin));
	transition: clip-path 550ms var(--ashv-ease), visibility 0s;
}

.ashv-sheet__mark {
	position: fixed;
	right: -80px;
	bottom: -60px;
	width: min(560px, 80vw);
}

.ashv-sheet__inner {
	max-width: calc(var(--ashv-page) - 32px);
	min-height: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.ashv-sheet__nav {
	display: grid;
	justify-items: start;
	gap: 14px;
}

.ashv-sheet__link {
	margin-left: calc(-18px - var(--ashv-slant));
	padding: 6px calc(18px + var(--ashv-slant));
	clip-path: polygon(var(--ashv-slant) 0, 100% 0, calc(100% - var(--ashv-slant)) 100%, 0 100%);
	font: 600 clamp(36px, 3.8vw, 58px)/1.1 var(--wp--preset--font-family--display);
	color: inherit;
	text-decoration: none;
	transition: background-color 250ms var(--ashv-ease), color 250ms var(--ashv-ease);
}

.ashv-sheet__link:not([aria-current]):active {
	background: rgb(255 255 255 / 0.12);
}

.ashv-sheet__link[aria-current] {
	background: var(--wp--preset--color--limestone);
	color: var(--wp--preset--color--ember-600);
}

.ashv-sheet__cards,
.ashv-sheet__side {
	display: none;
}

.ashv-sheet__foot {
	display: grid;
	gap: 20px;
	margin-top: auto;
}

.ashv-sheet__foot p {
	margin: 0;
	color: #FBE3DF;
	font-size: 16px;
}

.ashv-sheet__reveal {
	--rd: calc((7 - var(--i, 0)) * 25ms);
	opacity: 0;
	transform: translateY(28px) scale(0.96);
	transition: opacity 200ms var(--ashv-ease) var(--rd), transform 220ms var(--ashv-ease) var(--rd);
}

.ashv-sheet.is-open .ashv-sheet__reveal {
	--rd: calc(200ms + var(--i, 0) * 65ms);
	opacity: 1;
	transform: none;
	transition: opacity 450ms var(--ashv-ease) var(--rd), transform 650ms var(--ashv-ease-back) var(--rd);
}

@media (max-width: 1023px) {
	.ashv-sheet {
		--ashv-menu-slant: 7px;
	}

	.ashv-sheet__nav {
		justify-items: center;
		gap: 10px;
		text-align: center;
	}

	.ashv-sheet__link {
		margin-left: 0;
		padding: 8px calc(30px + var(--ashv-menu-slant));
		clip-path: polygon(var(--ashv-menu-slant) 0, 100% 0, calc(100% - var(--ashv-menu-slant)) 100%, 0 100%);
	}

	.ashv-sheet__link:not([aria-current]):active {
		background: rgb(255 255 255 / 0.16);
	}

	.ashv-sheet__foot {
		justify-items: center;
		text-align: center;
	}
}

.ashv-sheet__link.ashv-sheet__reveal {
	transition: opacity 200ms var(--ashv-ease) var(--rd), transform 220ms var(--ashv-ease) var(--rd), background-color 250ms var(--ashv-ease), color 250ms var(--ashv-ease);
}

.ashv-sheet.is-open .ashv-sheet__link.ashv-sheet__reveal {
	transition: opacity 450ms var(--ashv-ease) var(--rd), transform 650ms var(--ashv-ease-back) var(--rd), background-color 250ms var(--ashv-ease), color 250ms var(--ashv-ease);
}

@media (min-width: 1024px) {
	.ashv-sheet__inner {
		display: grid;
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.62fr);
		gap: clamp(40px, 5vw, 80px);
		align-items: start;
		padding-top: 24px;
	}

	.ashv-sheet__cards {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}

	.ashv-sheet__card {
		position: relative;
		height: clamp(180px, 17vw, 240px);
		border-radius: var(--ashv-r-card);
		overflow: hidden;
		isolation: isolate;
		color: var(--wp--preset--color--white);
		text-decoration: none;
		box-shadow: var(--ashv-shadow-deep);
		transition: transform 400ms var(--ashv-ease), box-shadow 400ms var(--ashv-ease), opacity 350ms var(--ashv-ease);
	}

	.ashv-sheet__card:first-child {
		grid-column: 1 / -1;
		height: clamp(220px, 20vw, 290px);
	}

	.ashv-sheet__card img {
		position: absolute;
		inset: 0;
		z-index: -2;
		width: 100%;
		height: 100%;
		object-fit: cover;
		transition: transform 800ms var(--ashv-ease);
	}

	.ashv-sheet__card::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		background: linear-gradient(180deg, rgb(25 27 25 / 0) 35%, rgb(25 27 25 / 0.82));
	}

	.ashv-sheet__card b {
		position: absolute;
		inset: auto 18px 16px;
		font: 600 clamp(20px, 1.8vw, 26px)/1.05 var(--wp--preset--font-family--display);
	}

	.ashv-sheet__side {
		display: grid;
		gap: 10px;
		padding-top: 12px;
	}

	.ashv-sheet__side a {
		font: 500 17px/1.35 var(--wp--preset--font-family--body);
		color: #FBE3DF;
		text-decoration: none;
		transition: color 200ms var(--ashv-ease), transform 250ms var(--ashv-ease), opacity 350ms var(--ashv-ease);
	}

	.ashv-sheet__foot {
		grid-column: 2 / 4;
		margin-top: 0;
		padding-top: 24px;
		border-top: 1px solid rgb(255 255 255 / 0.24);
	}

	.ashv-sheet__foot .ashv-btn {
		display: none;
	}
}

@media (hover: hover) and (pointer: fine) {
	.ashv-sheet__link:not([aria-current]):hover {
		background: rgb(255 255 255 / 0.12);
	}

	.ashv-sheet__card:hover {
		transform: translateY(-4px);
		box-shadow: var(--ashv-shadow-deep-hover);
	}

	.ashv-sheet__card:hover img {
		transform: scale(1.06);
	}

	.ashv-sheet__side a:hover {
		color: var(--wp--preset--color--white);
		transform: translateX(4px);
	}

	.ashv-menu-btn:hover {
		background: rgb(243 240 231 / 0.28);
	}
}

html.ashv-menu-locked,
html.ashv-menu-locked body {
	overflow: hidden;
}
