.soandso-scroll-video {
	--soandso-scroll-length: 250vh;
	--soandso-sticky-top: 0px;
	position: relative;
	height: var(--soandso-scroll-length);
	min-height: 100vh;
	z-index: 0;
}

.soandso-scroll-video__sticky {
	position: sticky;
	top: var(--soandso-sticky-top);
	height: calc(100vh - var(--soandso-sticky-top));
	height: calc(100svh - var(--soandso-sticky-top));
	width: 100%;
	overflow: hidden;
}

.soandso-scroll-video__frame {
	position: relative;
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	overflow: hidden;
	background: #111;
}

.soandso-scroll-video__media {
	display: block;
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	pointer-events: none;
}

.soandso-scroll-video__poster {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.soandso-scroll-video__content {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: grid;
	place-items: center;
	padding: clamp(1rem, 5vw, 5rem);
	pointer-events: none;
}

.soandso-scroll-video__copy {
	width: min(100%, 72rem);
}

.soandso-scroll-video__title {
	max-width: 18ch;
	margin: 0;
}

.soandso-scroll-video__paragraph {
	max-width: 58ch;
	margin: 1rem 0 0;
}

.soandso-scroll-video__placeholder {
	padding: 2rem;
	border: 1px dashed currentColor;
	font-size: 14px;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.soandso-scroll-video:not(.soandso-scroll-video--editor-enabled) .soandso-scroll-video__media {
		visibility: hidden;
	}
}
