/* Scroll-driven journey gallery ported from the 21st component 2073 geometry. */
.home-main {
	overflow-x: clip;
	overflow-y: visible;
}

.journey-proof-gallery {
	position: relative;
	isolation: isolate;
	overflow: clip;
	background: #fff;
	color: var(--at-dark, #132438);
}

.journey-proof-gallery__header {
	position: relative;
	z-index: 4;
	max-width: 820px;
	padding-top: clamp(64px, 8vw, 112px);
	text-align: center;
}

.journey-proof-gallery__header .eyebrow {
	justify-content: center;
}

.journey-proof-gallery__header h2 {
	max-width: 760px;
	margin: 0 auto;
	font-size: clamp(2.45rem, 5.6vw, 5.6rem);
	font-weight: 500;
	letter-spacing: -.052em;
	line-height: .98;
}

.journey-proof-gallery__description {
	max-width: 670px;
	margin: 24px auto 0;
	color: var(--at-muted, #647184);
	font-size: clamp(1rem, 1.35vw, 1.18rem);
	line-height: 1.65;
}

.journey-proof-gallery__actions {
	justify-content: center;
	margin-top: 28px;
}

.journey-proof-gallery__actions .button--secondary {
	border-color: var(--at-border, #dedede);
	background: #fff;
	color: var(--at-dark, #1b1b1b);
}

.journey-proof-gallery__actions .button--secondary:hover,
.journey-proof-gallery__actions .button--secondary:focus-visible {
	border-color: var(--at-dark, #1b1b1b);
	background: var(--at-dark, #1b1b1b);
	color: #fff;
}

.journey-proof-gallery__wash {
	pointer-events: none;
	position: absolute;
	z-index: 2;
	top: clamp(230px, 24vw, 390px);
	left: -10%;
	width: 120%;
	height: 70svh;
	background: linear-gradient(90deg, #587f95, #f4b63d, #16a9c9);
	filter: blur(84px);
	mix-blend-mode: screen;
	opacity: .48;
}

.journey-proof-gallery__stage {
	position: relative;
	height: 350svh;
	min-height: 2100px;
	perspective: 1000px;
	perspective-origin: center top;
	transform-style: preserve-3d;
}

.journey-proof-gallery__sticky {
	position: sticky;
	top: 0;
	width: 100%;
	height: 100svh;
	min-height: 30rem;
	overflow: hidden;
	perspective: 1000px;
	perspective-origin: center top;
	transform-style: preserve-3d;
}

.journey-proof-gallery__grid {
	--journey-scale: 1.2;
	--journey-rotate: 75deg;
	--journey-outer-y: -10%;
	--journey-middle-y: 15%;
	display: grid;
	width: 100%;
	height: 100%;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(4px, .56vw, 8px);
	perspective: 1000px;
	transform: scale(var(--journey-scale)) rotateX(var(--journey-rotate));
	transform-origin: 50% 50%;
	transform-style: preserve-3d;
	will-change: transform;
}

.journey-proof-gallery__column {
	position: relative;
	display: flex;
	width: 100%;
	flex-direction: column;
	gap: clamp(4px, .56vw, 8px);
	will-change: transform;
}

.journey-proof-gallery__column--outer {
	transform: translateY(var(--journey-outer-y));
}

.journey-proof-gallery__column--middle {
	transform: translateY(var(--journey-middle-y));
}

.journey-proof-gallery__item {
	position: relative;
	margin: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 8px;
	background: #e8edf2;
	box-shadow: 0 1px 3px rgb(0 0 0 / 10%), 0 1px 2px -1px rgb(0 0 0 / 10%);
}

.journey-proof-gallery__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 767px) {
	.journey-proof-gallery__header {
		padding-top: 58px;
		padding-inline: 22px;
	}

	.journey-proof-gallery__header h2 {
		font-size: clamp(2.35rem, 12.5vw, 3.5rem);
		line-height: 1;
	}

	.journey-proof-gallery__description {
		margin-top: 20px;
		font-size: .96rem;
	}

	.journey-proof-gallery__actions {
		align-items: stretch;
		flex-direction: column;
		gap: 10px;
	}

	.journey-proof-gallery__actions .button {
		width: 100%;
	}

	.journey-proof-gallery__wash {
		top: 320px;
		height: 54svh;
		filter: blur(58px);
	}

	.journey-proof-gallery__stage {
		min-height: 1900px;
	}

	.journey-proof-gallery__grid {
		width: 120%;
		margin-left: -10%;
	}
}


