.ashv-home > .ashv-ar {
	margin-block: 0;
}

.ashv-hero.ashv-ar-hero.wp-block-cover {
	min-height: clamp(440px, 64svh, 620px);
}

.ashv-ar {
	padding-block: clamp(48px, 7vw, 104px);
	background: var(--wp--preset--color--limestone);
}

.ashv-ar__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.ashv-ar-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(28px, 3.5vw, 44px);
}

.ashv-ar-rail {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ashv-ar-rail__item {
	position: relative;
}

.ashv-ar-rail__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 20px;
	left: calc(50% + 34px);
	right: calc(-50% + 34px);
	height: 3px;
	background: linear-gradient(var(--wp--preset--color--ember), var(--wp--preset--color--ember)) left / 0% 100% no-repeat, rgb(25 27 25 / 0.12);
	transition: background-size 600ms var(--ashv-ease);
}

.ashv-ar-rail__item.is-done:not(:last-child)::after {
	background-size: 100% 100%;
}

.ashv-ar-rail__button {
	display: grid;
	justify-items: center;
	gap: 10px;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--muted);
	font: inherit;
	cursor: default;
}

.ashv-ar-rail__button:not(:disabled) {
	cursor: pointer;
}

.ashv-ar-rail__chip {
	position: relative;
	display: grid;
	place-items: center;
	width: 56px;
	height: 42px;
	background: rgb(25 27 25 / 0.1);
	color: var(--wp--preset--color--muted);
	clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
	transition: background-color 350ms var(--ashv-ease), color 350ms var(--ashv-ease), scale 350ms var(--ashv-ease);
}

.ashv-ar-rail__chip .ashv-icon {
	grid-area: 1 / 1;
	width: 22px;
	height: 22px;
	transition: opacity 250ms var(--ashv-ease), scale 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ashv-ar-rail__done {
	opacity: 0;
	scale: 0.4;
}

.ashv-ar-rail__label {
	font-family: var(--wp--preset--font-family--button);
	font-size: 13px;
	font-style: italic;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: color 300ms var(--ashv-ease);
}

.ashv-ar-rail__item.is-current .ashv-ar-rail__chip {
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--flame);
	scale: 1.1;
}

.ashv-ar-rail__item.is-current .ashv-ar-rail__label {
	color: var(--wp--preset--color--charcoal);
}

.ashv-ar-rail__item.is-done .ashv-ar-rail__chip {
	background: var(--wp--preset--color--ember);
	color: var(--wp--preset--color--white);
}

.ashv-ar-rail__item.is-done .ashv-ar-rail__chip .ashv-icon:not(.ashv-ar-rail__done) {
	opacity: 0;
	scale: 0.4;
}

.ashv-ar-rail__item.is-done .ashv-ar-rail__done {
	opacity: 1;
	scale: 1;
}

.ashv-ar-steps {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.ashv-ar-step {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(24px, 3vw, 36px);
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.ashv-ar-step[hidden],
.ashv-ar-done[hidden],
.ashv-ar-form[hidden],
.ashv-ar-nav [hidden] {
	display: none;
}

.ashv-ar:not(.is-enhanced) .ashv-ar-step[hidden] {
	display: grid;
}

.ashv-ar-step legend {
	margin: 0 0 clamp(20px, 2.6vw, 32px);
	padding: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(32px, 3.6vw, 48px);
	font-weight: 600;
	line-height: 1.02;
	outline: none;
}

.ashv-ar-step.is-entering[data-dir="forward"] {
	animation: ashv-ar-in-forward 520ms var(--ashv-ease) both;
}

.ashv-ar-step.is-entering[data-dir="back"] {
	animation: ashv-ar-in-back 520ms var(--ashv-ease) both;
}

.ashv-ar-step.is-leaving[data-dir="forward"] {
	animation: ashv-ar-out-forward 240ms var(--ashv-ease) both;
}

.ashv-ar-step.is-leaving[data-dir="back"] {
	animation: ashv-ar-out-back 240ms var(--ashv-ease) both;
}

.ashv-ar-tiles {
	display: grid;
	gap: 14px;
}

.ashv-ar-tiles--wide {
	grid-template-columns: minmax(0, 1fr);
}

.ashv-ar-tiles--compact {
	grid-template-columns: repeat(2, 1fr);
}

.ashv-ar-tile {
	position: relative;
	display: grid;
	align-content: center;
	gap: 12px;
	min-height: 128px;
	padding: 18px;
	background: var(--wp--preset--color--white);
	box-shadow: inset 0 0 0 2px transparent;
	cursor: pointer;
	transition: transform 350ms var(--ashv-ease), box-shadow 350ms var(--ashv-ease);
}

.ashv-ar-tiles--wide .ashv-ar-tile {
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 18px;
	min-height: 96px;
	padding: 20px 24px;
}

.ashv-ar-tile input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ashv-ar-tile__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 46px;
	background: rgb(25 27 25 / 0.07);
	color: var(--wp--preset--color--charcoal);
	clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
	transition: background-color 300ms var(--ashv-ease), color 300ms var(--ashv-ease), scale 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ashv-ar-tile__icon .ashv-icon {
	width: 26px;
	height: 26px;
}

.ashv-ar-tile__label {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(21px, 1.9vw, 25px);
	font-weight: 600;
	line-height: 1.1;
}

.ashv-ar-tile__tick {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	background: var(--wp--preset--color--ember);
	color: var(--wp--preset--color--white);
	border-radius: 50%;
	scale: 0;
	transition: scale 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ashv-ar-tile__tick .ashv-icon {
	width: 14px;
	height: 14px;
}

.ashv-ar-tile:has(input:checked) {
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--ember), 0 14px 30px rgb(25 27 25 / 0.1);
}

.ashv-ar-tile:has(input:checked) .ashv-ar-tile__icon {
	background: var(--wp--preset--color--ember);
	color: var(--wp--preset--color--white);
	scale: 1.08;
}

.ashv-ar-tile:has(input:checked) .ashv-ar-tile__tick {
	scale: 1;
}

.ashv-ar-tile:has(input:focus-visible) {
	outline: 3px solid var(--wp--preset--color--flame);
	outline-offset: 3px;
}

.ashv-ar-tile:active {
	transform: scale(0.98);
}

.ashv-ar-step.is-entering .ashv-ar-tile,
.ashv-ar-step.is-entering .ashv-ar-chip {
	animation: ashv-ar-rise 560ms var(--ashv-ease) both;
	animation-delay: calc(var(--i, 0) * 55ms + 140ms);
}

.ashv-ar-group {
	display: grid;
	gap: 12px;
	min-width: 0;
}

.ashv-ar-group__label,
.ashv-ar-field label {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
}

.ashv-ar-field label span {
	color: var(--wp--preset--color--muted);
	font-weight: 400;
}

.ashv-ar-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ashv-ar-chip {
	position: relative;
	cursor: pointer;
}

.ashv-ar-chip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ashv-ar-chip span {
	display: block;
	padding: 13px 26px;
	background: rgb(25 27 25 / 0.08);
	clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
	font-size: 16px;
	font-weight: 500;
	transition: background-color 250ms var(--ashv-ease), color 250ms var(--ashv-ease), scale 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ashv-ar-chip:has(input:checked) span {
	background: var(--wp--preset--color--ember);
	color: var(--wp--preset--color--white);
	scale: 1.04;
}

.ashv-ar-chip:has(input:focus-visible) span {
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--flame);
}

.ashv-ar-row {
	display: grid;
	gap: 28px;
}

.ashv-ar-grid {
	display: grid;
	gap: 22px;
}

.ashv-ar-field {
	display: grid;
	align-content: start;
	gap: 8px;
	min-width: 0;
}

.ashv-ar-field input,
.ashv-ar-field textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 56px;
	padding: 15px 28px;
	border: 0;
	border-bottom: 3px solid var(--wp--preset--color--concrete);
	clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
	border-radius: 0;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--charcoal);
	font: inherit;
	font-size: 17px;
	transition: border-color 250ms var(--ashv-ease), box-shadow 300ms var(--ashv-ease), background-color 250ms var(--ashv-ease);
}

.ashv-ar-field textarea {
	min-height: 120px;
	resize: vertical;
}

.ashv-ar-field input:focus,
.ashv-ar-field textarea:focus {
	border-bottom-color: var(--wp--preset--color--ember);
	background: #fffdf8;
	outline: none;
}

.ashv-ar-field [aria-invalid="true"] {
	border-bottom-color: var(--wp--preset--color--ember);
	background: #fbf1ef;
}

.ashv-ar-error {
	margin: 0;
	color: var(--wp--preset--color--ember);
	font-size: 14px;
	font-weight: 600;
	animation: ashv-ar-shake 420ms var(--ashv-ease);
}

.ashv-ar-stepper {
	display: grid;
	grid-template-columns: 56px minmax(72px, 120px) 56px;
	gap: 2px;
	width: max-content;
}

.ashv-ar-stepper input {
	clip-path: none;
	padding-inline: 8px;
	text-align: center;
	appearance: textfield;
	-moz-appearance: textfield;
}

.ashv-ar-stepper input::-webkit-outer-spin-button,
.ashv-ar-stepper input::-webkit-inner-spin-button {
	appearance: none;
	margin: 0;
}

.ashv-ar-stepper__button {
	display: grid;
	place-items: center;
	min-height: 56px;
	border: 0;
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--limestone);
	cursor: pointer;
	transition: background-color 200ms var(--ashv-ease), transform 160ms var(--ashv-ease);
}

.ashv-ar-stepper__button:active {
	transform: scale(0.94);
	background: var(--wp--preset--color--ember);
}

.ashv-ar-stepper__button .ashv-icon {
	width: 20px;
	height: 20px;
}

.ashv-ar-review {
	display: grid;
	gap: 2px;
	margin: 0;
}

.ashv-ar-review > div {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 4px 16px;
	align-items: center;
	padding: 16px 20px;
	background: var(--wp--preset--color--white);
	animation: ashv-ar-rise 520ms var(--ashv-ease) both;
	animation-delay: calc(var(--i, 0) * 45ms);
}

.ashv-ar-review dt {
	grid-column: 1;
	color: var(--wp--preset--color--muted);
	font-size: 14px;
}

.ashv-ar-review dd {
	grid-column: 1;
	margin: 0;
	font-size: 17px;
	font-weight: 500;
	overflow-wrap: anywhere;
}

.ashv-ar-review__change {
	grid-column: 2;
	grid-row: 1 / span 2;
	padding: 8px 4px;
	border: 0;
	background: none;
	color: var(--wp--preset--color--ember);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}

.ashv-ar-sites {
	display: grid;
	gap: 28px;
}

.ashv-ar-site {
	display: grid;
	gap: 18px 22px;
	animation: ashv-ar-rise 520ms var(--ashv-ease) both;
}

.ashv-ar-site:not(.is-single) {
	padding: clamp(20px, 2.4vw, 28px);
	background: rgb(25 27 25 / 0.04);
	border-left: 4px solid var(--wp--preset--color--ember);
}

.ashv-ar-site__title {
	display: flex;
	gap: 14px;
	align-items: center;
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(24px, 2.2vw, 30px);
	font-weight: 600;
	line-height: 1.1;
}

.ashv-ar-site.is-single .ashv-ar-site__title {
	display: none;
}

.ashv-ar-site__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 40px;
	background: var(--wp--preset--color--ember);
	color: var(--wp--preset--color--white);
	clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.ashv-ar-site__icon .ashv-icon {
	width: 22px;
	height: 22px;
}

@media (min-width: 640px) {
	.ashv-ar-site {
		grid-template-columns: 2fr 1fr;
	}

	.ashv-ar-site__title {
		grid-column: 1 / -1;
	}
}

.ashv-ar-honey {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ashv-ar-privacy {
	margin: 0;
	font-size: 15px;
}

.ashv-ar-formerror {
	margin: 0;
	padding: 14px 18px;
	border-left: 4px solid var(--wp--preset--color--ember);
	background: #fbf1ef;
	font-weight: 500;
}

.ashv-ar-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 28px;
	align-items: center;
	justify-content: flex-end;
}

.ashv-ar-back {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	margin-right: auto;
	padding: 12px 4px;
	border: 0;
	background: none;
	color: var(--wp--preset--color--charcoal);
	font-family: var(--wp--preset--font-family--button);
	font-size: 14px;
	font-style: italic;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	cursor: pointer;
}

.ashv-ar-back .ashv-icon {
	width: 18px;
	height: 18px;
	transition: translate 250ms var(--ashv-ease);
}

button.ashv-btn {
	border: 0;
	cursor: pointer;
}

.ashv-ar-send.is-sending {
	pointer-events: none;
	opacity: 0.8;
}

.ashv-ar-send.is-sending .ashv-btn__arrow {
	animation: ashv-ar-fly 900ms var(--ashv-ease) infinite;
}

.ashv-ar-summary {
	display: none;
	padding: 36px 32px;
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--limestone);
}

.ashv-ar-summary h2 {
	margin: 0 0 24px;
	color: var(--wp--preset--color--limestone);
	font-size: 34px;
}

.ashv-ar-summary dl {
	display: grid;
	gap: 22px;
	margin: 0;
}

.ashv-ar-summary dt {
	display: flex;
	gap: 10px;
	align-items: center;
	color: var(--wp--preset--color--concrete);
	font-size: 14px;
}

.ashv-ar-summary dt .ashv-icon {
	width: 18px;
	height: 18px;
	color: var(--wp--preset--color--flame);
}

.ashv-ar-summary dd {
	margin: 6px 0 0;
	padding-left: 28px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.15;
}

.ashv-ar-summary dd:empty::before {
	content: "–";
	opacity: 0.35;
}

.ashv-ar-summary dd span {
	display: block;
}

.ashv-ar-summary dd span + span {
	margin-top: 6px;
}

.ashv-ar-summary dd.is-updated {
	animation: ashv-ar-swap 500ms var(--ashv-ease);
}

.ashv-ar-done {
	display: grid;
	justify-items: start;
	gap: 14px;
	padding: clamp(28px, 4vw, 56px);
	background: var(--wp--preset--color--white);
	outline: none;
}

.ashv-ar-done h2 {
	margin: 8px 0 0;
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1;
}

.ashv-ar-done > p {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 18px;
}

.ashv-ar-done__mark {
	width: 96px;
	height: 96px;
	fill: none;
	stroke: var(--wp--preset--color--ember);
	stroke-width: 6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ashv-ar-done__mark circle {
	stroke-dasharray: 264;
	stroke-dashoffset: 264;
}

.ashv-ar-done__mark path {
	stroke-dasharray: 70;
	stroke-dashoffset: 70;
}

.ashv-ar-done.is-shown .ashv-ar-done__mark circle {
	animation: ashv-ar-draw 800ms var(--ashv-ease) 100ms forwards;
}

.ashv-ar-done.is-shown .ashv-ar-done__mark path {
	animation: ashv-ar-draw 500ms var(--ashv-ease) 650ms forwards;
}

.ashv-ar-next-steps {
	display: grid;
	gap: 14px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.ashv-ar-next-steps li {
	display: flex;
	gap: 16px;
	align-items: center;
	font-size: 18px;
	font-weight: 500;
}

.ashv-ar-done.is-shown .ashv-ar-next-steps li {
	animation: ashv-ar-rise 560ms var(--ashv-ease) both;
	animation-delay: calc(var(--i) * 140ms + 900ms);
}

.ashv-ar-done:not(.is-shown) .ashv-ar-next-steps li {
	opacity: 0;
}

.ashv-ar-next-steps__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 52px;
	height: 42px;
	background: var(--wp--preset--color--ember);
	color: var(--wp--preset--color--white);
	clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.ashv-ar-next-steps__icon .ashv-icon {
	width: 22px;
	height: 22px;
}

@media (min-width: 640px) {
	.ashv-ar-tiles--wide {
		grid-template-columns: repeat(2, 1fr);
	}

	.ashv-ar-tiles--wide .ashv-ar-tile:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.ashv-ar-tiles--compact {
		grid-template-columns: repeat(3, 1fr);
	}

	.ashv-ar-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ashv-ar-grid__wide {
		grid-column: 1 / -1;
	}

	.ashv-ar-row {
		grid-template-columns: auto 1fr;
		gap: 40px;
	}
}

@media (min-width: 1000px) {
	.ashv-ar__layout {
		grid-template-columns: minmax(0, 1fr) 340px;
		gap: clamp(40px, 5vw, 80px);
	}

	.ashv-ar-summary {
		display: block;
		position: sticky;
		top: 120px;
	}

	.ashv-ar-tiles--compact {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 520px) {
	.ashv-ar-rail__label {
		display: none;
	}

	.ashv-ar-rail__item:not(:last-child)::after {
		top: 20px;
	}

	.ashv-ar-nav .ashv-btn {
		flex: 1;
		justify-content: center;
	}
}

@media (hover: hover) and (pointer: fine) {
	.ashv-ar-tile:hover {
		transform: translateY(-4px);
		box-shadow: inset 0 0 0 2px var(--wp--preset--color--charcoal), 0 16px 32px rgb(25 27 25 / 0.1);
	}

	.ashv-ar-tile:has(input:checked):hover {
		box-shadow: inset 0 0 0 2px var(--wp--preset--color--ember), 0 16px 32px rgb(25 27 25 / 0.14);
	}

	.ashv-ar-tile:not(:has(input:checked)):hover .ashv-ar-tile__icon {
		background: var(--wp--preset--color--charcoal);
		color: var(--wp--preset--color--flame);
	}

	.ashv-ar-chip:hover span {
		background: rgb(25 27 25 / 0.16);
	}

	.ashv-ar-chip:has(input:checked):hover span {
		background: var(--wp--preset--color--ember);
	}

	.ashv-ar-back:hover .ashv-icon {
		translate: -5px 0;
	}

	.ashv-ar-stepper__button:hover {
		background: var(--wp--preset--color--ember);
	}
}

@keyframes ashv-ar-in-forward {
	from { opacity: 0; translate: 48px 0; }
	to { opacity: 1; translate: 0 0; }
}

@keyframes ashv-ar-in-back {
	from { opacity: 0; translate: -48px 0; }
	to { opacity: 1; translate: 0 0; }
}

@keyframes ashv-ar-out-forward {
	to { opacity: 0; translate: -40px 0; }
}

@keyframes ashv-ar-out-back {
	to { opacity: 0; translate: 40px 0; }
}

@keyframes ashv-ar-rise {
	from { opacity: 0; translate: 0 22px; }
	to { opacity: 1; translate: 0 0; }
}

@keyframes ashv-ar-shake {
	0%, 100% { translate: 0 0; }
	25% { translate: -6px 0; }
	60% { translate: 5px 0; }
}

@keyframes ashv-ar-swap {
	from { opacity: 0; translate: 0 10px; color: var(--wp--preset--color--flame); }
	to { opacity: 1; translate: 0 0; }
}

@keyframes ashv-ar-draw {
	to { stroke-dashoffset: 0; }
}

@keyframes ashv-ar-fly {
	0% { translate: 0 0; opacity: 1; }
	45% { translate: 28px -10px; opacity: 0; }
	46% { translate: -28px 10px; opacity: 0; }
	100% { translate: 0 0; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.ashv-ar *,
	.ashv-ar *::before,
	.ashv-ar *::after {
		animation-duration: 1ms !important;
		animation-delay: 0ms !important;
		transition-duration: 1ms !important;
	}
}
