/* ==========================================================================
   Homepage hero
   Block: .home-hero
   ========================================================================== */

.home-hero {
	position: relative;
	margin-top: calc(var(--header-height) * -1);
	min-height: 42rem;
	overflow: hidden;
	border-radius: 1.5rem; /* 24px */
	color: var(--color-on-dark);
	background: var(--color-navy);
}

.home-hero__media {
	position: absolute;
	inset: 0;
}

.home-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(88deg, rgb(0 0 0 / 0.55) 23%, rgb(0 0 0 / 0.11) 75%),
		linear-gradient(180deg, rgb(0 0 0 / 0.35) 0%, transparent 16%, transparent 78%, rgb(0 0 0 / 0.4) 100%);
}

.home-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	padding-top: calc(var(--header-height) + var(--space-6));
	padding-bottom: var(--space-5);
}

.home-hero__kicker {
	color: var(--color-accent);
}

.home-hero__title {
	max-width: 28ch;
	margin: 0 0 var(--space-5);
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 4.5vw, var(--font-size-h1));
	font-style: normal;
	font-weight: var(--font-weight-semibold);
	letter-spacing: 0;
	line-height: 1.0615; /* 69px at 65px */
	vertical-align: middle;
}

.home-hero__title span {
	display: block;
	color: var(--color-accent);
}

.home-hero__lede {
	max-width: 39.875rem;
	margin: 0 0 var(--space-6);
	color: rgb(255 255 255 / 0.93);
	font-size: 1rem;
	font-weight: var(--font-weight-regular);
	line-height: 1.546875; /* 24.75px */
}

.home-hero__actions {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	margin-bottom: var(--space-5);
}

.home-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

.home-hero__pills {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-hero__pill {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 0.5rem; /* 8px */
	box-sizing: border-box;
	width: 6.25rem; /* 100px */
	height: 5.8125rem; /* 93px */
	padding: 0.9375rem 0.625rem 1.125rem; /* 15px 10px 18px */
	border: 0;
	border-radius: 1rem; /* 16px */
	background: rgb(255 255 255 / 0.05);
	opacity: 1;
	text-align: center;
	backdrop-filter: blur(20px);
}

.home-hero__pill-icon {
	display: block;
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
}

.home-hero__pill-label {
	color: var(--color-on-dark);
	font-size: 0.875rem;
	font-weight: var(--font-weight-regular);
	line-height: 1.1429;
}

.home-hero__stats {
	display: grid;
	gap: var(--space-4);
	padding: var(--hero-inset) 1.5625rem;
	border: 1px solid #3b3b3b;
	border-radius: 1rem;
	background: var(--color-hero-bar);
	backdrop-filter: blur(17.5px);
}

.home-hero__stat {
	display: flex;
	gap: var(--space-4);
	align-items: center;
}

.home-hero__stat-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
}

.home-hero__stat-icon img {
	display: block;
	width: 3rem;
	height: 3rem;
}

.home-hero__stat-title,
.home-hero__stat-copy {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 300;
	font-style: normal;
	line-height: 1.25rem; /* 20px */
	letter-spacing: 1.2px;
	vertical-align: middle;
}

.home-hero__stat-title {
	margin-bottom: 10px;
	color: rgb(255 255 255 / 0.95);
	font-weight: var(--font-weight-semibold);
	line-height: 0.75rem;
	text-transform: uppercase;
}

.home-hero__stat-copy {
	color: rgb(255 255 255 / 0.6);
}

.home-hero__stat-dot {
	color: var(--color-accent);
	font-family: var(--font-sans);
	font-size: 1.25rem; /* 20px */
	font-weight: var(--font-weight-medium);
	font-style: normal;
	line-height: 1.25rem; /* 20px */
	letter-spacing: 1.2px;
	vertical-align: middle;
}

@media (min-width: 48rem) {
	.home-hero {
		min-height: 48rem;
	}

	.home-hero__actions {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.home-hero__stats {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--space-5);
	}

	.home-hero__stat + .home-hero__stat {
		border-left: 1px solid rgb(255 255 255 / 0.16);
		padding-left: var(--space-5);
	}
}

@media (min-width: 64rem) {
	.home-hero {
		min-height: 50.6875rem; /* 811px */
	}

	.home-hero__lede {
		font-size: var(--font-size-md);
	}
}
