/* The frame: a fixed shape, whatever the image's own proportions. */
.le-image-band {
	/* How far the image travels inside the frame over a full scroll past it, as a share of the frame's height. */
	--le-band-travel: 14%;

	position: relative;
	aspect-ratio: 1440 / 680;
	overflow: hidden;
	background: var(--le-black);
}

/* The image stands taller than the frame by the travel distance, so it can slide without showing an edge. */
.le-image-band__image {
	position: absolute;
	inset: calc(var(--le-band-travel) * -0.5) 0;
	display: block;
	will-change: transform;
}

.le-image-band img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

/* Phones: the mockup's upright frame. */
@media (max-width: 880px) {
	.le-image-band {
		aspect-ratio: 393 / 492;
	}
}
