/* V2 design: headings stay centered (ta_ on the body wrapper); running copy reads left-aligned. */
.cnt.v2 .cnt-xpnd-body :is(p, ul, ol) {
	text-align: left;
}

/* LD watermark — comp (Figma 18498:19143) at 1920: a ~365px tilted mark centred ~160px in from the
   left edge, its top level with the heading. Anchored to the section's top padding (not a % of the
   section height, which varies with copy length) and scaled by viewport width.
   Position tuners are image-styles.css's --wtr-mrk-* set. */
.cnt.v2:has(picture.wtr-mrk) {
	--wtr-mrk-tp: calc(var(--pd-v) + 2rem); /* tuner: mark top a little below the heading */
	--wtr-mrk-lt: calc(var(--vw_) * -0.0115); /* tuner: -22px at 1920 */
	--wtr-mrk-w: clamp(220px, calc(var(--vw_) * 0.19), 365px); /* tuner: 365px at 1920, floored so it stays legible on phones */
	--wtr-mrk-o: 1; /* the 15% comp strength is baked into watermark-*-15.webp */
	--cnt-v2-wtr-mrk-rt: 30deg; /* tuner: comp tilt (clockwise — "Co." drops to the lower right) */
	--cnt-v2-wtr-mrk-drft: 50vh; /* tuner: how far the mark drifts down while the section scrolls past */

	position: relative;
	overflow: hidden; /* the mark bleeds off the band's top edge */
	view-timeline: --cnt-v2-tl; /* drives the watermark drift below */

	picture.wtr-mrk img {
		height: auto; /* keep the square mark square once max-width caps it */
		rotate: var(--cnt-v2-wtr-mrk-rt);
		pointer-events: none;
	}

	> [class*="mn_"] {
		position: relative; /* copy paints above the absolutely positioned mark */
	}
}

/* Watermark drift: the mark trails the reader down the band as it scrolls past.
   Scroll-driven, so no JS; browsers without view timelines (and reduced-motion users) get the static mark. */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.cnt.v2 picture.wtr-mrk img {
			animation: cnt-v2-wtr-mrk-drft linear both;
			animation-timeline: --cnt-v2-tl;
			animation-range: cover;
		}
	}
}

@keyframes cnt-v2-wtr-mrk-drft {
	from { translate: 0 calc(var(--cnt-v2-wtr-mrk-drft) * -0.25); }
	to   { translate: 0 calc(var(--cnt-v2-wtr-mrk-drft) * 0.75); }
}
