/* ==========================================================================
   utilities.css — small reusable helpers
   ========================================================================== */

.u-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.u-text-center {
	text-align: center;
}

/* ---------- Scroll reveal ----------
   Hidden state only applies when JS has confirmed itself (html.js), so
   no-JS visitors and reduced-motion users always see full content
   immediately (see assets/js/scroll-reveal.js + the reduced-motion rule
   in base.css, which also zeroes this transition). */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s ease, transform 0.7s ease;
	transition-delay: var(--reveal-delay, 0s);
}

.js [data-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

.alignwide {
	max-width: var(--container-width);
}

.alignfull {
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

/* WordPress core block gap fallback inside free-form content */
.c-page__content > *:last-child,
.c-post__content > *:last-child {
	margin-bottom: 0;
}
