/**
 * Small utility classes — spacing (docs/design/05_Spacing_System.md),
 * visibility, and accessibility helpers. Intentionally not a full atomic
 * utility framework (no Bootstrap/Tailwind) — only the handful of utilities
 * actually reused across templates.
 */

.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;
}

.skip-link {
    position: absolute;
    top: -48px;
    left: var(--space-4);
    background: var(--color-primary-600);
    color: var(--color-white);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    z-index: var(--z-modal);
    transition: top var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
    top: var(--space-4);
}

:focus-visible {
    outline: 2px solid var(--color-primary-600);
    outline-offset: 2px;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

.stack { display: flex; flex-direction: column; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; }
