/* Block / Hero — type=home. Navy surface under the Dark theme pin; full-bleed photo with a
   left-to-right scrim on desktop and a head/foot scrim on mobile. Display/XL is used here only. */

.axn-hero-home {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: max(640px, min(900px, 100svh));
	padding: calc(var(--header-h) + 64px) var(--page-margin) 120px;
	overflow: hidden;
	background: var(--c-navy);
	color: var(--text-primary);
	isolation: isolate;
}

.axn-hero-home .axn-hero-home__media {
	position: absolute;
	inset: 0;
	z-index: -2;
	margin: 0;
}

.axn-hero-home .axn-hero-home__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.axn-hero-home .axn-hero-home__media--mobile {
	display: none;
}

/* Scrim / left: rgba(0,26,54) .92 → .58 at 28.8% → 0 at 80%. */
.axn-hero-home::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(0, 26, 54, 0.92) 0%, rgba(0, 26, 54, 0.58) 28.846%, rgba(0, 26, 54, 0) 80%);
	pointer-events: none;
}

/* Scroll cue: 1×40 hairline in light blue at 50%, 40px above the bottom edge. */
.axn-hero-home::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 40px;
	width: 1px;
	height: 40px;
	background: rgba(167, 210, 255, 0.5);
}

.axn-hero-home__content {
	display: flex;
	flex-direction: column;
	gap: 44px;
	width: 100%;
	max-width: 720px;
}

.axn-hero-home__lede {
	display: flex;
	flex-direction: column;
	gap: var(--space-24);
}

.axn-hero-home .axn-hero-home__eyebrow {
	display: none;
}

.axn-hero-home .axn-lead {
	max-width: 560px;
}

.axn-hero-home .wp-block-buttons {
	padding-top: var(--space-8);
}

@media (min-width: 1440px) {
	.axn-hero-home {
		padding-left: max(var(--page-margin), calc((100vw - var(--container-max)) / 2));
	}
}

@media (max-width: 767px) {
	.axn-hero-home {
		min-height: max(640px, 100svh);
		padding-bottom: 48px;
	}

	.axn-hero-home .axn-hero-home__media--desktop {
		display: none;
	}

	.axn-hero-home .axn-hero-home__media--mobile {
		display: block;
	}

	/* Mobile scrims: tone 20%, head 170px, foot 572px. */
	.axn-hero-home::before {
		background:
			linear-gradient(180deg, rgba(0, 26, 54, 0.74) 0, rgba(0, 26, 54, 0) 170px),
			linear-gradient(180deg, rgba(0, 26, 54, 0) calc(100% - 572px), rgba(0, 26, 54, 0.74) calc(100% - 400px), rgba(0, 26, 54, 0.96) 100%),
			rgba(0, 35, 72, 0.2);
	}

	.axn-hero-home::after {
		content: none;
	}

	.axn-hero-home__content,
	.axn-hero-home__lede {
		gap: var(--space-16);
	}

	.axn-hero-home .axn-hero-home__eyebrow {
		display: block;
	}
}
