.le-spiral-band {
	position: relative;
	aspect-ratio: 1440 / 480;
	overflow: hidden;
	color: var(--le-200);
	background: var(--le-black);
	/* Lets the artwork size itself from the band's width and height. */
	container-type: size;
}

/* A circle of spiral as wide as the band's diagonal, so it covers every corner at any angle. */
.le-spiral-band__art {
	position: absolute;
	top: 50%;
	left: 50%;
	width: hypot(100cqw, 100cqh);
	height: hypot(100cqw, 100cqh);
	max-width: none;
	margin: calc(hypot(100cqw, 100cqh) / -2) 0 0 calc(hypot(100cqw, 100cqh) / -2);
	animation: le-spiral-turn var(--le-spiral-duration, 60s) linear infinite var(--le-spiral-direction, normal);
	will-change: transform;
}

@keyframes le-spiral-turn {
	to {
		transform: rotate(360deg);
	}
}

/* Phones and small tablets: deeper than the desktop band, but a little shallower than the mockup's 393 / 300. */
@media (max-width: 880px) {
	.le-spiral-band {
		aspect-ratio: 393 / 240;
	}
}

@media (prefers-reduced-motion: reduce) {
	.le-spiral-band__art {
		animation: none;
	}
}
