.story {
	position: relative;
	height: 300vh;
	background: var(--color-surface-light);
}

.story__sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	overflow: hidden;
	background: transparent;
}

.story .container {
	position: relative;
	z-index: 1;
}

.story::before {
	opacity: 1;
}

.story__inner {
	position: relative;
	height: 100%;
}

.story__slide {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 32px;
	text-align: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.6s ease;
}

.story__slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.story__caption {
	max-width: 420px;
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--color-muted-warm);
}

.story__heading {
	max-width: 900px;
	margin: 0;
	font-family: var(--font-heading);
	font-size: 40px;
	font-weight: var(--font-weight-h2);
	line-height: 1.35;
	color: var(--color-bg-alt);
}

/* Breakpoints: 1440 / 1280 / 1024 / 768 / 380 */

@media (max-width: 1280px) {
	.story__heading {
		font-size: 32px;
	}
}

@media (max-width: 1024px) {
	.story__heading {
		font-size: 26px;
	}
}

@media (max-width: 768px) {
	.story {
		height: auto;
	}

	.story__sticky {
		position: static;
		height: auto;
		padding: 64px 0;
	}

	.story__inner {
		height: auto;
	}

	.story__slide {
		position: static;
		opacity: 1;
		pointer-events: auto;
		display: none;
		padding: 0 var(--container-padding);
	}

	.story__slide.is-active {
		display: flex;
	}

	.story__heading {
		font-size: 22px;
	}
}