/*!
 * Wellmade Axis Pro - Animate On Scroll premium library
 * Module: aos
 *
 * This sheet extends the Wellmade Axis Core animation engine (wma-aos.css, declared
 * as a dependency). It holds ONLY the premium keys: their "from" states, their
 * keyframes and the split-text / read-along machinery. The engine model, the
 * tunables, the Once/Scrub base rules and the reduced-motion override for
 * whole elements all live in the Core sheet and are not repeated here.
 *
 * Premium keys (registered in the Core library):
 *   letters, words          split text, five Text styles (rise / mask / blur /
 *                           soft-focus / drama-focus / depth / drop)
 *                           via data-wma-text-style
 *   text-reveal             scroll-linked Read-Along (word or line units)
 *   typing, number-counter  JS-driven, the host stays visible
 *   drama-focus, soft-focus focus pulls on the whole element
 *   mask-reveal             clip reveal, four directions (data-wma-mask-dir)
 *                           and an optional zoom of the content inside the
 *                           mask (data-wma-mask-zoom)
 *   edge-draw               scaleX draw, made for dividers and underlines
 *   stamp-in, tag-pop       accent pops with a back-out overshoot
 *
 * Dark mode: color-agnostic (opacity / transform / filter / clip only).
 */

/* ============================================================
   ONCE MODE - premium "from" states
   ------------------------------------------------------------
   Same gating as the Core sheet: only while html.wma-aos-ready and before
   .wma-aos-in lands. Hosts whose units or JS carry the animation stay
   visible (opacity 1) so the text is never hidden as a block.
   ============================================================ */
html.wma-aos-ready [data-wma-anim="drama-focus"][data-wma-trigger="once"]:not(.wma-aos-in) {
	transform: scale(1.6);
	filter: blur(8px);
}
html.wma-aos-ready [data-wma-anim="soft-focus"][data-wma-trigger="once"]:not(.wma-aos-in) {
	transform: scale(1.2);
	filter: blur(4px);
}
html.wma-aos-ready [data-wma-anim="stamp-in"][data-wma-trigger="once"]:not(.wma-aos-in) {
	transform: scale(1.5) rotate(-6deg);
}
html.wma-aos-ready [data-wma-anim="tag-pop"][data-wma-trigger="once"]:not(.wma-aos-in) {
	transform: scale(0.6);
}
html.wma-aos-ready [data-wma-anim="edge-draw"][data-wma-trigger="once"]:not(.wma-aos-in) {
	transform: scaleX(0);
	transform-origin: left center;
	opacity: 1; /* edge-draw reveals via scale, not fade. */
}
html.wma-aos-ready [data-wma-anim="mask-reveal"][data-wma-trigger="once"]:not(.wma-aos-in) {
	clip-path: inset(0 100% 0 0);
	opacity: 1; /* mask reveals via clip, not fade. */
}
html.wma-aos-ready [data-wma-anim="mask-reveal"][data-wma-mask-dir="right"][data-wma-trigger="once"]:not(.wma-aos-in) {
	clip-path: inset(0 0 0 100%);
}
html.wma-aos-ready [data-wma-anim="mask-reveal"][data-wma-mask-dir="up"][data-wma-trigger="once"]:not(.wma-aos-in) {
	clip-path: inset(100% 0 0 0);
}
html.wma-aos-ready [data-wma-anim="mask-reveal"][data-wma-mask-dir="down"][data-wma-trigger="once"]:not(.wma-aos-in) {
	clip-path: inset(0 0 100% 0);
}
/* Zoom inside the mask: the content starts enlarged and settles as the mask
   opens (the image-reveal idiom). Only elements with children can zoom; a void
   element (a bare img) gets the mask alone. */
html.wma-aos-ready [data-wma-anim="mask-reveal"][data-wma-mask-zoom="1"][data-wma-trigger="once"]:not(.wma-aos-in) > * {
	transform: scale(1.25);
}
/* JS-driven hosts and split hosts: the block itself stays visible. */
html.wma-aos-ready [data-wma-anim="number-counter"][data-wma-trigger="once"]:not(.wma-aos-in),
html.wma-aos-ready [data-wma-anim="typing"][data-wma-trigger="once"]:not(.wma-aos-in),
html.wma-aos-ready [data-wma-anim="letters"][data-wma-trigger="once"]:not(.wma-aos-in),
html.wma-aos-ready [data-wma-anim="words"][data-wma-trigger="once"]:not(.wma-aos-in) {
	opacity: 1;
	transform: none;
}

/* Blinking caret for the typing effect. */
.wma-aos-caret {
	display: inline-block;
	margin-left: 0.04em;
	font-weight: 400;
	animation: wma-aos-caret-blink 1s step-end infinite;
}
@keyframes wma-aos-caret-blink {
	0%, 100% { opacity: 1; }
	50%      { opacity: 0; }
}

/* ============================================================
   ONCE MODE - reveal (the Core base rule supplies duration / delay / ease)
   ============================================================ */
[data-wma-anim="drama-focus"][data-wma-trigger="once"].wma-aos-in { animation-name: wma-aos-drama-focus; }
[data-wma-anim="soft-focus"][data-wma-trigger="once"].wma-aos-in  { animation-name: wma-aos-soft-focus; }
[data-wma-anim="stamp-in"][data-wma-trigger="once"].wma-aos-in    { animation-name: wma-aos-stamp-in; animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); }
[data-wma-anim="tag-pop"][data-wma-trigger="once"].wma-aos-in     { animation-name: wma-aos-tag-pop; animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); }
[data-wma-anim="edge-draw"][data-wma-trigger="once"].wma-aos-in   { animation-name: wma-aos-edge-draw; transform-origin: left center; }
[data-wma-anim="mask-reveal"][data-wma-trigger="once"].wma-aos-in { animation-name: wma-aos-mask-reveal; }
[data-wma-anim="mask-reveal"][data-wma-mask-dir="right"][data-wma-trigger="once"].wma-aos-in { animation-name: wma-aos-mask-reveal-right; }
[data-wma-anim="mask-reveal"][data-wma-mask-dir="up"][data-wma-trigger="once"].wma-aos-in    { animation-name: wma-aos-mask-reveal-up; }
[data-wma-anim="mask-reveal"][data-wma-mask-dir="down"][data-wma-trigger="once"].wma-aos-in  { animation-name: wma-aos-mask-reveal-down; }
[data-wma-anim="mask-reveal"][data-wma-mask-zoom="1"][data-wma-trigger="once"].wma-aos-in > * {
	animation-name: wma-aos-mask-zoom;
	animation-duration: var(--wma-aos-duration);
	animation-delay: var(--wma-aos-delay);
	animation-timing-function: var(--wma-aos-ease);
	animation-fill-mode: both;
	animation-iteration-count: 1;
}

/* ============================================================
   KEYFRAMES - whole-element premium effects
   ============================================================ */
@keyframes wma-aos-drama-focus {
	from { opacity: 0; transform: scale(1.6); filter: blur(8px); }
	to   { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes wma-aos-soft-focus {
	from { opacity: 0; transform: scale(1.2); filter: blur(4px); }
	to   { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes wma-aos-stamp-in {
	from { opacity: 0; transform: scale(1.5) rotate(-6deg); }
	60%  { opacity: 1; }
	to   { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes wma-aos-tag-pop {
	from { opacity: 0; transform: scale(0.6); }
	to   { opacity: 1; transform: scale(1); }
}
@keyframes wma-aos-edge-draw {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}
@keyframes wma-aos-mask-reveal {
	from { clip-path: inset(0 100% 0 0); }
	to   { clip-path: inset(0 0 0 0); }
}
@keyframes wma-aos-mask-reveal-right {
	from { clip-path: inset(0 0 0 100%); }
	to   { clip-path: inset(0 0 0 0); }
}
@keyframes wma-aos-mask-reveal-up {
	from { clip-path: inset(100% 0 0 0); }
	to   { clip-path: inset(0 0 0 0); }
}
@keyframes wma-aos-mask-reveal-down {
	from { clip-path: inset(0 0 100% 0); }
	to   { clip-path: inset(0 0 0 0); }
}
@keyframes wma-aos-mask-zoom {
	from { transform: scale(1.25); }
	to   { transform: scale(1); }
}

/* ============================================================
   TEXT SPLIT (letters / words) - Once only
   ------------------------------------------------------------
   The driver wraps each unit in <span class="wma-aos-unit"> and sets its own
   --wma-aos-i index. Units start hidden and reveal with a per-index delay:
   base delay + index * step. The host keeps opacity:1 (see above).
   Text style (data-wma-text-style) picks the unit motion:
     rise (default)  fade + rise 0.4em
     mask            the text rises out of a clipped line (inner span)
     blur            fade from a blur, no scale
     soft-focus      fade + scale 1.2 + blur 4px
     drama-focus     fade + scale 1.6 + blur 8px
     depth           fade + Z travel from behind the page (-520px)
     drop            fade + Z travel from in front of the page (+420px) + blur 8px
   In letter mode the driver wraps each word's units in <span class="wma-aos-word">
   (nowrap, so a word never breaks between two letters; preserve-3d, so the
   host's perspective reaches the letters). The host carries the perspective
   only for the two Z styles.
   ============================================================ */
.wma-aos-word {
	display: inline-block;
	white-space: nowrap;
	transform-style: preserve-3d;
}
[data-wma-text-style="depth"],
[data-wma-text-style="drop"] {
	perspective: 700px;
}
.wma-aos-unit {
	display: inline-block;
	opacity: 0;
	transform: translateY(0.4em);
	will-change: opacity, transform;
}
/* Preserve spaces between split words/letters. */
.wma-aos-unit-space {
	display: inline-block;
	white-space: pre;
}

/* Per-style "from" states. */
[data-wma-text-style="blur"] .wma-aos-unit {
	transform: none;
	filter: blur(8px);
	will-change: opacity, filter;
}
[data-wma-text-style="soft-focus"] .wma-aos-unit {
	transform: scale(1.2);
	filter: blur(4px);
	will-change: opacity, transform, filter;
}
[data-wma-text-style="drama-focus"] .wma-aos-unit {
	transform: scale(1.6);
	filter: blur(8px);
	will-change: opacity, transform, filter;
}
[data-wma-text-style="depth"] .wma-aos-unit {
	transform: translateZ(-520px) translateY(0.1em);
}
[data-wma-text-style="drop"] .wma-aos-unit {
	transform: translateZ(420px);
	filter: blur(8px);
	will-change: opacity, transform, filter;
}
/* Mask: the outer unit is the window (visible, clipped with room for
   descenders); the inner span starts below the line and rises into view. */
[data-wma-text-style="mask"] .wma-aos-unit {
	opacity: 1;
	transform: none;
	clip-path: inset(-0.15em 0 -0.2em 0);
	will-change: auto;
}
[data-wma-text-style="mask"] .wma-aos-unit-in {
	display: inline-block;
	transform: translateY(130%);
	will-change: transform;
}

/* Reveal: run the matching keyframe with per-index stagger. */
[data-wma-anim="letters"].wma-aos-in .wma-aos-unit,
[data-wma-anim="words"].wma-aos-in .wma-aos-unit,
[data-wma-anim="letters"].wma-aos-in .wma-aos-unit-in,
[data-wma-anim="words"].wma-aos-in .wma-aos-unit-in {
	animation-duration: var(--wma-aos-duration, 600ms);
	animation-timing-function: var(--wma-aos-ease);
	animation-fill-mode: both;
	animation-iteration-count: 1;
	/* per-unit stagger: base delay + index * step. */
	animation-delay: calc(var(--wma-aos-delay, 0ms) + var(--wma-aos-i, 0) * var(--wma-aos-unit-step, 45ms));
}
[data-wma-anim="letters"].wma-aos-in .wma-aos-unit,
[data-wma-anim="words"].wma-aos-in .wma-aos-unit {
	animation-name: wma-aos-unit-rise;
}
[data-wma-anim="letters"][data-wma-text-style="blur"].wma-aos-in .wma-aos-unit,
[data-wma-anim="words"][data-wma-text-style="blur"].wma-aos-in .wma-aos-unit {
	animation-name: wma-aos-unit-blur;
}
[data-wma-anim="letters"][data-wma-text-style="soft-focus"].wma-aos-in .wma-aos-unit,
[data-wma-anim="words"][data-wma-text-style="soft-focus"].wma-aos-in .wma-aos-unit {
	animation-name: wma-aos-focus-soft;
}
[data-wma-anim="letters"][data-wma-text-style="drama-focus"].wma-aos-in .wma-aos-unit,
[data-wma-anim="words"][data-wma-text-style="drama-focus"].wma-aos-in .wma-aos-unit {
	animation-name: wma-aos-focus-drama;
}
[data-wma-anim="letters"][data-wma-text-style="depth"].wma-aos-in .wma-aos-unit,
[data-wma-anim="words"][data-wma-text-style="depth"].wma-aos-in .wma-aos-unit {
	animation-name: wma-aos-unit-depth;
}
[data-wma-anim="letters"][data-wma-text-style="drop"].wma-aos-in .wma-aos-unit,
[data-wma-anim="words"][data-wma-text-style="drop"].wma-aos-in .wma-aos-unit {
	animation-name: wma-aos-unit-drop;
}
/* Mask: the window does not animate; the inner span does, inheriting the
   unit's index through the custom property cascade. */
[data-wma-anim="letters"][data-wma-text-style="mask"].wma-aos-in .wma-aos-unit,
[data-wma-anim="words"][data-wma-text-style="mask"].wma-aos-in .wma-aos-unit {
	animation-name: none;
}
[data-wma-anim="letters"][data-wma-text-style="mask"].wma-aos-in .wma-aos-unit-in,
[data-wma-anim="words"][data-wma-text-style="mask"].wma-aos-in .wma-aos-unit-in {
	animation-name: wma-aos-unit-mask;
}

/* After the entrance has finished (the engine adds .wma-aos-done on the host)
   the split units go back to plain CSS as well, the same way the host does in
   Core: the finished keyframe is detached, will-change released, and the
   natural state written out explicitly (the unit "from" states above are not
   gated on .wma-aos-in, so without this the words would vanish). A finished
   blur(0) or a persistent clip would otherwise keep a compositing layer per
   word for the life of the page. The class is repeated to outrank the
   combined-attribute selectors above. Child combinators: the units are the
   host's own children (the driver replaces its text), so a finished ancestor
   entrance (a container that entered before a heading inside it) never
   detaches a heading that has not played yet. The longer selectors reach
   units inside the host's own inline markup (a colored word, a bold run, a
   link) and the letter-mode word wrapper, up to three levels, while still
   stopping at a nested animated element ([data-wma-anim]). */
.wma-aos-done.wma-aos-done.wma-aos-done.wma-aos-done > .wma-aos-unit,
.wma-aos-done.wma-aos-done.wma-aos-done.wma-aos-done > :not([data-wma-anim]) > .wma-aos-unit,
.wma-aos-done.wma-aos-done.wma-aos-done.wma-aos-done > :not([data-wma-anim]) > :not([data-wma-anim]) > .wma-aos-unit,
.wma-aos-done.wma-aos-done.wma-aos-done.wma-aos-done > :not([data-wma-anim]) > :not([data-wma-anim]) > :not([data-wma-anim]) > .wma-aos-unit {
	animation-name: none;
	opacity: 1;
	transform: none;
	filter: none;
	clip-path: none;
	will-change: auto;
}
.wma-aos-done.wma-aos-done.wma-aos-done.wma-aos-done > .wma-aos-unit > .wma-aos-unit-in,
.wma-aos-done.wma-aos-done.wma-aos-done.wma-aos-done > :not([data-wma-anim]) > .wma-aos-unit > .wma-aos-unit-in,
.wma-aos-done.wma-aos-done.wma-aos-done.wma-aos-done > :not([data-wma-anim]) > :not([data-wma-anim]) > .wma-aos-unit > .wma-aos-unit-in,
.wma-aos-done.wma-aos-done.wma-aos-done.wma-aos-done > :not([data-wma-anim]) > :not([data-wma-anim]) > :not([data-wma-anim]) > .wma-aos-unit > .wma-aos-unit-in {
	animation-name: none;
	transform: none;
	will-change: auto;
}

@keyframes wma-aos-unit-rise {
	from { opacity: 0; transform: translateY(0.4em); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes wma-aos-unit-blur {
	from { opacity: 0; filter: blur(8px); }
	to   { opacity: 1; filter: blur(0); }
}
@keyframes wma-aos-unit-depth {
	from { opacity: 0; transform: translateZ(-520px) translateY(0.1em); }
	to   { opacity: 1; transform: none; }
}
@keyframes wma-aos-unit-drop {
	from { opacity: 0; transform: translateZ(420px); filter: blur(8px); }
	to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes wma-aos-unit-mask {
	from { transform: translateY(130%); }
	to   { transform: translateY(0); }
}
@keyframes wma-aos-focus-drama {
	from { opacity: 0; transform: scale(1.6); filter: blur(8px); }
	to   { opacity: 1; transform: scale(1);   filter: blur(0); }
}
@keyframes wma-aos-focus-soft {
	from { opacity: 0; transform: scale(1.2); filter: blur(4px); }
	to   { opacity: 1; transform: scale(1);   filter: blur(0); }
}

/* ============================================================
   SCRUB MODE - premium keys that can follow the scroll
   (the Core sheet owns the base rule: timeline, range, fill, linear)
   ============================================================ */
@supports (animation-timeline: view()) {
	[data-wma-anim="drama-focus"][data-wma-trigger="scrub"] { animation-name: wma-aos-drama-focus; }
	[data-wma-anim="soft-focus"][data-wma-trigger="scrub"]  { animation-name: wma-aos-soft-focus; }
	[data-wma-anim="edge-draw"][data-wma-trigger="scrub"]   { animation-name: wma-aos-edge-draw; transform-origin: left center; }
	[data-wma-anim="mask-reveal"][data-wma-trigger="scrub"] { animation-name: wma-aos-mask-reveal; }
	[data-wma-anim="mask-reveal"][data-wma-mask-dir="right"][data-wma-trigger="scrub"] { animation-name: wma-aos-mask-reveal-right; }
	[data-wma-anim="mask-reveal"][data-wma-mask-dir="up"][data-wma-trigger="scrub"]    { animation-name: wma-aos-mask-reveal-up; }
	[data-wma-anim="mask-reveal"][data-wma-mask-dir="down"][data-wma-trigger="scrub"]  { animation-name: wma-aos-mask-reveal-down; }
	[data-wma-anim="mask-reveal"][data-wma-mask-zoom="1"][data-wma-trigger="scrub"] > * {
		animation-name: wma-aos-mask-zoom;
		animation-fill-mode: both;
		animation-timing-function: linear;
		animation-timeline: view();
		animation-range: entry 0% cover 45%;
	}
}

/* ============================================================
   READ-ALONG (text-reveal) - scroll-linked per-unit text reveal
   ------------------------------------------------------------
   Each word (or author-defined line) lights up as the element scrolls through
   the viewport. 100% native CSS: the driver only splits the text into indexed
   units (.wma-aos-unit) and exposes:
     --wma-aos-i  per unit   (0-based index, set by the driver)
     --wma-aos-n  on the host (total animated unit count, set by the driver)

   Each unit gets its own slice of the host's view() timeline via animation-range
   (custom properties ARE allowed in animation-range; they are NOT allowed as
   keyframe selectors, so all per-unit timing lives here and the keyframes stay
   at fixed 0%/100% stops). One animation per unit, fill-mode both, linear.

   Read band:
     --wma-ra-start    where the first unit begins lighting  (timeline %)
     --wma-ra-end      where the last unit finishes lighting  (timeline %)
     --wma-ra-overlap  units' window overflow, in unit-fractions, so words flow
                       into one another instead of strictly one-at-a-time
     --wma-ra-dim      resting opacity of a not-yet-read unit (dim floor)
   ============================================================ */
[data-wma-anim="text-reveal"] {
	/* Plain percentages of the view timeline: 0% = the text's bottom edge just
	   entered, 100% = fully scrolled past the top. The Reading pace control
	   overrides --wma-ra-end per block. */
	--wma-ra-start: 0%;
	--wma-ra-end: 50%;
	--wma-ra-overlap: 0.5;
	--wma-ra-dim: 0.18;
	--wma-ra-blur: 6px;
}

/* The host carries no animation itself; it only hosts the view() timeline and
   stays visible. Units do the work. Keep it readable if JS never splits it. */
[data-wma-anim="text-reveal"] {
	opacity: 1;
}
/* Read-Along units are not the Once split units: no rise, no hidden start. */
[data-wma-anim="text-reveal"] .wma-aos-unit {
	opacity: 1;
	transform: none;
	will-change: auto;
}

@supports (animation-timeline: view()) {
	/* Hide the "from" state only when the browser can actually drive the
	   timeline AND the text was split into units (data-wma-split-done). Without
	   split (no-JS, reduced motion) the text stays fully visible. */
	html.wma-aos-ready [data-wma-anim="text-reveal"][data-wma-split-done="1"] .wma-aos-unit {
		opacity: var(--wma-ra-dim, 0.18);
	}

	[data-wma-anim="text-reveal"][data-wma-trigger="scrub"][data-wma-split-done="1"] .wma-aos-unit {
		animation-fill-mode: both;
		animation-timing-function: linear;
		animation-timeline: view();
		/* Per-unit slice of the read band. Percentages are relative to the whole
		   view timeline (no named range), so plain calc() math is valid. */
		animation-range:
			calc( var(--wma-ra-start) + ( var(--wma-ra-end) - var(--wma-ra-start) ) * var(--wma-aos-i, 0) / var(--wma-aos-n, 1) )
			calc( var(--wma-ra-start) + ( var(--wma-ra-end) - var(--wma-ra-start) ) * ( var(--wma-aos-i, 0) + 1 + var(--wma-ra-overlap, 0.5) ) / var(--wma-aos-n, 1) );
	}

	/* ---- Style: dim to full (default, theme colors, always safe) ---- */
	[data-wma-anim="text-reveal"][data-wma-reveal-style="dim"] .wma-aos-unit,
	[data-wma-anim="text-reveal"]:not([data-wma-reveal-style]) .wma-aos-unit {
		animation-name: wma-aos-read-along;
	}

	/* ---- Style: blur to sharp (adds a small focus pull on top of the fade) ---- */
	[data-wma-anim="text-reveal"][data-wma-reveal-style="blur"] .wma-aos-unit {
		animation-name: wma-aos-read-along-blur;
		will-change: opacity, filter;
	}

	/* ---- Style: accent sweep (background-clip: text gradient wipe) ----
	   The unit text becomes transparent and a two-stop gradient (accent to dim)
	   is wiped across it. Gated behind @supports for clip; the resting color
	   fallback keeps text visible if clip is unsupported. The accent color comes
	   from --wma-ra-accent, set inline by the editor from the native palette. */
	@supports ((background-clip: text) or (-webkit-background-clip: text)) {
		[data-wma-anim="text-reveal"][data-wma-reveal-style="sweep"][data-wma-split-done="1"] .wma-aos-unit {
			background-image: linear-gradient(
				to right,
				var(--wma-ra-accent, currentColor) 0%,
				var(--wma-ra-accent, currentColor) 50%,
				var(--wma-ra-dim-color, rgba(127, 127, 127, 0.35)) 50%,
				var(--wma-ra-dim-color, rgba(127, 127, 127, 0.35)) 100%
			);
			background-size: 220% 100%;
			background-position: 100% 0;
			background-repeat: no-repeat;
			-webkit-background-clip: text;
			background-clip: text;
			-webkit-text-fill-color: transparent;
			/* Fallback resting color if text-fill is ignored: keep it readable. */
			color: var(--wma-ra-dim-color, currentColor);
			/* Sweep is driven by the same per-unit range; the keyframe moves the
			   gradient instead of fading opacity, so opacity stays full here. */
			opacity: 1;
			animation-name: wma-aos-read-along-sweep;
		}
		/* The dim rule above set opacity on units; sweep units paint via gradient
		   so re-assert full opacity (specificity-matched). */
		html.wma-aos-ready [data-wma-anim="text-reveal"][data-wma-reveal-style="sweep"][data-wma-split-done="1"] .wma-aos-unit {
			opacity: 1;
		}
	}
}

/* Read-Along keyframes: fixed 0%/100% stops (no custom props in selectors). */
@keyframes wma-aos-read-along {
	from { opacity: var(--wma-ra-dim, 0.18); }
	to   { opacity: 1; }
}
@keyframes wma-aos-read-along-blur {
	from { opacity: var(--wma-ra-dim, 0.18); filter: blur(var(--wma-ra-blur, 6px)); }
	to   { opacity: 1; filter: blur(0); }
}
@keyframes wma-aos-read-along-sweep {
	from { background-position: 100% 0; }
	to   { background-position: 0% 0; }
}

/* ============================================================
   REDUCED MOTION - units and masked content rest at their end state
   (the Core sheet already covers the host elements)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
	.wma-aos-unit,
	.wma-aos-unit-in,
	[data-wma-anim="mask-reveal"] > * {
		opacity: 1 !important;
		transform: none !important;
		filter: none !important;
		clip-path: none !important;
		animation: none !important;
		/* Read-Along sweep units: drop the clip so the real text color shows. */
		-webkit-text-fill-color: currentColor !important;
		background-image: none !important;
	}
}
