/**
 * Inner page hero.
 */

.ss-page-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 70vh;
	min-height: 70svh;
	overflow: hidden;
	isolation: isolate;
}

.ss-page-hero--full {
	min-height: 88vh;
	min-height: 88svh;
}

.ss-page-hero--compact {
	min-height: 52vh;
	min-height: 52svh;
}

@media (max-width: 767px) {
	.ss-page-hero,
	.ss-page-hero--full {
		min-height: 78svh;
	}

	.ss-page-hero--compact {
		min-height: 60svh;
	}
}

.ss-page-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.ss-page-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: ss-hero-settle 2.4s var(--ss-ease) both;
}

.ss-page-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(10, 10, 9, .86) 0%, rgba(10, 10, 9, .55) 55%, rgba(10, 10, 9, .35) 100%),
		linear-gradient(0deg, rgba(10, 10, 9, .85) 0%, rgba(10, 10, 9, 0) 55%);
}

.ss-page-hero--plain .ss-page-hero__shade {
	background: radial-gradient(90% 80% at 85% 10%, rgba(216, 199, 168, .12), rgba(216, 199, 168, 0) 60%), var(--ss-ink);
}

.ss-page-hero .ss-guides {
	z-index: -1;
	opacity: .5;
}

.ss-page-hero__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 2.5rem;
	min-height: inherit;
	padding-top: calc(var(--ss-header-h) + 2rem);
	padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
}

.ss-page-hero .ss-breadcrumbs {
	margin-bottom: auto;
	padding-top: 1rem;
}

.ss-page-hero__content {
	max-width: 58rem;
	animation: ss-hero-copy 1.2s var(--ss-ease) .15s both;
}

.ss-page-hero__title {
	font-size: var(--ss-fs-1);
	line-height: .98;
	letter-spacing: -.018em;
	color: #fff;
}

.ss-page-hero__text {
	max-width: 40rem;
	margin-top: 1.75rem;
	font-size: var(--ss-fs-lead);
	line-height: 1.65;
	color: rgba(244, 239, 230, .82);
}

.ss-page-hero__meta {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	margin: 1.75rem 0 0;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ss-champagne);
}

.ss-page-hero__actions {
	margin-top: 2.5rem;
}

.ss-page-hero__index {
	position: absolute;
	right: var(--ss-gutter);
	bottom: -.12em;
	z-index: -1;
	font-family: var(--ss-font-display);
	font-size: clamp(8rem, 5rem + 16vw, 22rem);
	font-style: italic;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(216, 199, 168, .3);
	pointer-events: none;
}

@media (max-width: 767px) {
	.ss-page-hero__index {
		display: none;
	}
}
