/**
 * Immersion layer — the CSS half of assets/js/bb-motion.js (enqueued by
 * bb_enqueue_motion() in includes/motion.php, never in the UX Builder preview).
 */

/*
 * Heading word masks. SplitText clips each word in a wrapper of its own size;
 * this gives accents and descenders room while the words slide up, without
 * moving anything (the negative margin cancels the padding in the line).
 * The split is reverted once the reveal finishes.
 */
.bb-w-mask {
	padding: 0.12em 0;
	margin: -0.12em 0;
}

/* Count-ups: a fixed-width, tabular number never reflows its line. */
.bb-num {
	display: inline-block;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

/* Confetti and sparkles: a fixed, click-through layer above everything. */
.bb-burst {
	position: fixed;
	inset: 0;
	z-index: 100000;
	overflow: hidden;
	pointer-events: none;
}

.bb-burst > i {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
}
