/**
 * Utilities — single-purpose helpers.
 */

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

/* Display */
.evde-hide { display: none !important; }
.evde-block { display: block !important; }
.evde-flex { display: flex !important; }
.evde-grid-d { display: grid !important; }

/* Text */
.evde-text-center { text-align: center; }
.evde-text-left { text-align: left; }
.evde-text-right { text-align: right; }
.evde-text-brand { color: var(--evde-brand) !important; }
.evde-text-accent { color: var(--evde-accent) !important; }
.evde-text-muted { color: var(--evde-text-muted) !important; }
.evde-text-invert { color: var(--evde-text-invert) !important; }

/* Spacing shortcuts */
.evde-mt-0 { margin-top: 0 !important; }
.evde-mt-2 { margin-top: var(--evde-sp-2) !important; }
.evde-mt-4 { margin-top: var(--evde-sp-4) !important; }
.evde-mt-6 { margin-top: var(--evde-sp-6) !important; }
.evde-mt-8 { margin-top: var(--evde-sp-8) !important; }
.evde-mt-10 { margin-top: var(--evde-sp-10) !important; }
.evde-mb-0 { margin-bottom: 0 !important; }
.evde-mb-2 { margin-bottom: var(--evde-sp-2) !important; }
.evde-mb-4 { margin-bottom: var(--evde-sp-4) !important; }
.evde-mb-6 { margin-bottom: var(--evde-sp-6) !important; }
.evde-mb-8 { margin-bottom: var(--evde-sp-8) !important; }
.evde-mb-10 { margin-bottom: var(--evde-sp-10) !important; }

/* Background helpers */
.evde-bg-brand { background: var(--evde-brand) !important; color: #fff; }
.evde-bg-surface { background: var(--evde-surface) !important; }
.evde-bg-soft { background: var(--evde-brand-50) !important; }

/* Animations */
.evde-fade-in { opacity: 0; transform: translateY(10px); transition: opacity 0.6s var(--evde-ease-out), transform 0.6s var(--evde-ease-out); }
.evde-fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* Content visibility (below-the-fold boost) */
.evde-cv { content-visibility: auto; contain-intrinsic-size: 600px; }

/* Aspect ratio helpers */
.evde-ar-16-9 { aspect-ratio: 16 / 9; }
.evde-ar-4-3  { aspect-ratio: 4 / 3; }
.evde-ar-1-1  { aspect-ratio: 1 / 1; }

/* Decorative markers */
.evde-check-list { list-style: none; display: grid; gap: var(--evde-sp-2); }
.evde-check-list li { display: flex; align-items: flex-start; gap: var(--evde-sp-2); }
.evde-check-list li::before {
	content: "✓";
	color: var(--evde-accent);
	font-weight: var(--evde-fw-bold);
	flex-shrink: 0;
	margin-top: 2px;
}
