/* ==========================================================================
   Inner page hero
   ========================================================================== */

.page-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(560px, 82svh, 860px);
	padding-top: calc(var(--header-h) + var(--space-6));
	padding-bottom: clamp(3rem, 7vw, 6rem);
	background: var(--ace-navy-deep);
	color: var(--ace-ivory);
	overflow: hidden;
	isolation: isolate;
}

.page-hero--short {
	min-height: clamp(460px, 62svh, 640px);
}

.page-hero__media {
	position: absolute;
	inset: -6% 0;
	z-index: -2;
	will-change: transform;
}

.page-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: hero-settle 2400ms var(--ease-premium) both;
}

.page-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(8, 18, 38, 0.6) 0%, rgba(8, 18, 38, 0) 30%),
		linear-gradient(0deg, rgba(8, 18, 38, 0.9) 0%, rgba(8, 18, 38, 0.1) 70%),
		var(--overlay);
}

.page-hero__content {
	position: relative;
}

.page-hero__eyebrow {
	margin-top: var(--space-5);
	color: var(--text-inverse-muted);
}

.page-hero__title {
	max-width: 16ch;
	margin-top: var(--space-4);
	font-size: var(--fs-h1);
	font-weight: 300;
	line-height: 1.04;
	letter-spacing: -0.03em;
}

.page-hero__text {
	max-width: 48ch;
	margin-top: var(--space-5);
	font-size: var(--fs-lead);
	color: var(--text-inverse-muted);
}

/* Breadcrumbs ------------------------------------------------------------ */
.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--fs-xs);
	letter-spacing: 0.04em;
	color: var(--text-secondary);
}

.page-hero .breadcrumbs__list {
	color: var(--text-inverse-muted);
}

.breadcrumbs__item + .breadcrumbs__item::before {
	content: "/";
	margin-right: 0.5rem;
	opacity: 0.5;
}

.breadcrumbs__item a:hover {
	color: currentColor;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.breadcrumbs__item[aria-current="page"] {
	opacity: 0.8;
}
