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

.ashv-sectors {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(72px, 10vw, 144px) clamp(40px, 5vw, 72px);
}

.ashv-sectors__head {
	display: grid;
	justify-items: center;
	margin-bottom: clamp(40px, 5vw, 72px);
	text-align: center;
}

.ashv-sectors__head h2 {
	margin: 0;
}

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

.ashv-sector {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	isolation: isolate;
	color: var(--wp--preset--color--white);
	text-decoration: none;
	background: var(--wp--preset--color--charcoal);
}

.ashv-sector img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 900ms var(--ashv-ease);
}

.ashv-sector::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgb(25 27 25 / 0.05) 35%, rgb(25 27 25 / 0.88));
	transition: background-color 500ms var(--ashv-ease);
}

.ashv-sector__label {
	position: absolute;
	inset: auto 0 0;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	padding: 20px 16px;
}

.ashv-sector__name {
	font: 600 clamp(20px, 2vw, 28px)/1.1 var(--wp--preset--font-family--display);
}

.ashv-sector__arrow {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 38px;
	background: var(--wp--preset--color--ember);
	color: var(--wp--preset--color--white);
	clip-path: polygon(var(--ashv-slant) 0, 100% 0, calc(100% - var(--ashv-slant)) 100%, 0 100%);
	transition: background-color 300ms var(--ashv-ease), color 300ms var(--ashv-ease);
}

.ashv-sector__arrow .ashv-icon {
	width: 18px;
	height: 18px;
	transition: transform 300ms var(--ashv-ease);
}

.ashv-sector:active .ashv-sector__arrow,
.ashv-sector:focus-visible .ashv-sector__arrow {
	background: var(--wp--preset--color--flame);
	color: var(--wp--preset--color--charcoal);
}

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

.ashv-sectors__foot {
	display: grid;
	justify-items: center;
	margin-top: clamp(32px, 4vw, 56px);
}

.ashv-sectors__more {
	--ashv-link-chip-w: 84px;
	--ashv-link-chip-h: 58px;
	margin-inline: 0;
	padding: 24px 104px 24px 36px;
	font-size: clamp(20px, 2.1vw, 28px);
	font-weight: 700;
	letter-spacing: 0.04em;
}

.ashv-sectors__more .ashv-icon {
	width: 30px;
	height: 30px;
}

@media (min-width: 1000px) {
	.ashv-sectors__grid {
		display: flex;
		height: clamp(480px, 44vw, 680px);
	}

	.ashv-sector {
		flex: 1;
		aspect-ratio: auto;
		transition: flex-grow 700ms var(--ashv-ease-io);
	}

	.ashv-sector__label {
		padding: 32px clamp(20px, 2.2vw, 36px);
	}

	.ashv-sector__name {
		width: clamp(220px, 20vw, 300px);
	}
}

@media (hover: hover) and (pointer: fine) {
	.ashv-sector:hover img {
		transform: scale(1.06);
	}

	.ashv-sector:hover .ashv-sector__arrow {
		background: var(--wp--preset--color--flame);
		color: var(--wp--preset--color--charcoal);
	}

	.ashv-sector:hover .ashv-icon {
		transform: translateX(3px);
	}
}

@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
	.ashv-sector:hover {
		flex-grow: 1.7;
	}
}

/* Background options, previewed with ?sectorbg= until one is picked. */
.ashv-sectors::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.ashv-sectors--bg1::before {
	background: var(--wp--preset--color--charcoal);
	opacity: 0.07;
	-webkit-mask: url("../../images/signal-pattern.svg") 0 0 / 160px 160px;
	mask: url("../../images/signal-pattern.svg") 0 0 / 160px 160px;
}

.ashv-sectors--bg2::before {
	background: repeating-linear-gradient(115deg, transparent 0 34px, rgb(184 50 39 / 0.09) 34px 38px, transparent 38px 76px, rgb(25 27 25 / 0.05) 76px 78px);
}

.ashv-sectors--bg3::before {
	background: var(--wp--preset--color--charcoal);
	opacity: 0.16;
	-webkit-mask: radial-gradient(circle, #000 1.3px, transparent 1.8px) 0 0 / 18px 18px, linear-gradient(180deg, #000, transparent 85%);
	mask: radial-gradient(circle, #000 1.3px, transparent 1.8px) 0 0 / 18px 18px;
}
