.le-statement {
	/*
	 * The sentence's size: 170px in the mockup (at 1440 wide), and never more than its three lines can take
	 * inside the section without wrapping (the mockup's lines run 8.04 times the size across).
	 */
	--statement-size: min(10.636rem, 100cqw / 8.04);

	position: relative;
	container-type: inline-size;
	display: grid;
	place-items: center;
	min-height: 56.25rem;
	padding: 6rem var(--le-gutter);
	overflow: hidden;
	color: var(--le-100);
	background: var(--le-800);
	isolation: isolate;
}

/* The tunnel fills the section, drawn in two near-identical dark greys (set on the element). */
.le-statement__tunnel {
	position: absolute;
	z-index: -1;
	inset: 0;
	aspect-ratio: auto;
}

.le-statement__inner {
	position: relative;
	width: calc(var(--statement-size) * 8.04);
	max-width: 100%;
}

/* Everything inside the sentence is sized in em, from this one font size. */
.le-statement__text {
	margin: 0;
	font-family: var(--le-font-display);
	font-size: var(--statement-size);
	font-weight: 600;
	line-height: 0.8;
	color: inherit;
	text-align: center;
	text-transform: uppercase;
}

/* A picture in brackets, sitting in the line like a word. The brackets stand a little taller than the capitals. */
.le-statement__media {
	position: relative;
	display: inline-flex;
	align-items: center;
	top: -0.037em;
	gap: 0.045em;
	height: 0.769em;
	/* Pulled in a touch, so the brackets sit closer to the words than a full word space. */
	margin-inline: -0.025em;
	/* Hung from the top of the line, as the words are, so it can't push the lines apart. */
	vertical-align: top;
}

.le-statement__bracket {
	flex-shrink: 0;
	width: auto;
	height: 100%;
	color: var(--le-blue);
	overflow: visible;
}

.le-statement__bracket path {
	stroke-width: 1px;
}

.le-statement__bracket--close {
	transform: scaleX(-1);
}

.le-statement__picture {
	display: block;
	width: 1.0185em;
	height: 0.709em;
	overflow: clip;
}

/* The swirl's window is narrower than a photo's. */
.le-statement__media--swirl .le-statement__picture {
	width: 0.813em;
}

.le-statement__picture-slip {
	display: block;
	width: 100%;
	height: 100%;
}

.le-statement__picture img,
.le-statement__picture svg {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.le-statement__swirl path {
	animation: le-statement-swirl 14s linear infinite;
}

@keyframes le-statement-swirl {
	to {
		transform: rotate(360deg);
	}
}

/* Pictures slip up into view like the words do, taking their turn in the same sequence (--i is set by the script). */
.le-js .le-statement__picture[data-le-reveal] .le-statement__picture-slip {
	transform: translateY(105%);
	transition: transform 1s var(--le-ease-out) calc(var(--i, 0) * 80ms);
}

.le-js .le-statement__picture[data-le-reveal].is-revealed .le-statement__picture-slip {
	transform: none;
}

/* Tiny cyan labels: the picture numbers and the two margin notes. */
.le-statement__number,
.le-statement__note {
	font-family: var(--le-font-mono);
	font-size: 0.5561rem;
	font-weight: 300;
	line-height: 1.27;
	letter-spacing: 0.0278rem;
	text-align: left;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--le-blue);
}

.le-statement__number {
	position: absolute;
	/* Nudged past the bracket's tip so the two don't touch. */
	right: -0.375rem;
	bottom: calc(100% - 0.28rem);
}

.le-statement__note {
	position: absolute;
	margin: 0;
}

/* Beside the first and third lines of the sentence (each line is 0.8 of the sentence's size tall). */
.le-statement__note--left {
	top: 0;
	left: 4%;
}

.le-statement__note--right {
	top: calc(var(--statement-size) * 1.6 - 0.125rem);
	left: 86.5%;
}

/*
 * Neon: the brackets and the labels flicker on like a tube striking (opacity only, no glow).
 * Each one waits its turn in the reveal sequence.
 */
.le-js .le-statement__bracket,
.le-js .le-statement__number,
.le-js .le-statement__note {
	opacity: 0;
}

.le-js .le-statement.is-in .le-statement__bracket,
.le-js .le-statement.is-in .le-statement__number,
.le-js .le-statement.is-in .le-statement__note {
	animation: le-statement-neon 0.9s linear calc(0.25s + var(--i, 0) * 80ms) both;
}

.le-js .le-statement.is-in .le-statement__bracket--close {
	animation-delay: calc(0.37s + var(--i, 0) * 80ms);
}

.le-js .le-statement.is-in .le-statement__note--right {
	animation-delay: 1.1s;
}

@keyframes le-statement-neon {
	0% { opacity: 0; }
	4% { opacity: 1; }
	8% { opacity: 0.1; }
	13% { opacity: 0.9; }
	17% { opacity: 0; }
	24% { opacity: 0.15; }
	28% { opacity: 1; }
	34% { opacity: 0.35; }
	41% { opacity: 1; }
	47% { opacity: 0.7; }
	55%, 100% { opacity: 1; }
}

/* Phones: the sentence alone, top left, in the smaller display size. No pictures, brackets or notes. */
@media (max-width: 880px) {
	.le-statement {
		display: block;
		min-height: 30.75rem;
		padding: 1rem 0.8125rem;
	}

	.le-statement__inner {
		width: 100%;
	}

	.le-statement__text {
		font-size: 4.375rem;
		line-height: 3.5625rem;
		text-align: left;
		text-box: trim-both cap alphabetic;
	}

	.le-statement__media,
	.le-statement__note,
	.le-statement__break {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.le-js .le-statement__bracket,
	.le-js .le-statement__number,
	.le-js .le-statement__note {
		opacity: 1;
		animation: none !important;
	}

	.le-js .le-statement__picture[data-le-reveal] .le-statement__picture-slip {
		transform: none;
		transition: none;
	}

	.le-statement__swirl path {
		animation: none;
	}
}
