/* ── utilities.css ─ sr-only, reveal, print, reduced-motion */

/* ── Screen reader only ──────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Reveal animations ───────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal */
.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }

/* ── Print ───────────────────────────────────────────────── */
@media print {
    .site-header,
    .site-footer,
    .age-gate,
    .mobile-nav,
    .hero,
    .pixel-break,
    .btn,
    .filter-pills,
    .tabs__nav {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 12pt;
    }

    .site-main {
        padding-top: 0;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .stat-table th,
    .stat-table td {
        border: 1px solid #ccc;
    }
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ── Text utilities ──────────────────────────────────────── */
.text-center { text-align: center; }
.text-accent { color: var(--c-accent); }
.text-mint   { color: var(--c-accent-sec-text); }

/* ── Spacing utilities ───────────────────────────────────── */
.mt-0  { margin-top: 0; }
.mt-16 { margin-top: var(--s-16); }
.mt-24 { margin-top: var(--s-24); }
.mt-32 { margin-top: var(--s-32); }
.mt-48 { margin-top: var(--s-48); }
.mb-0  { margin-bottom: 0; }
.mb-16 { margin-bottom: var(--s-16); }
.mb-24 { margin-bottom: var(--s-24); }
.mb-32 { margin-bottom: var(--s-32); }
.mb-48 { margin-bottom: var(--s-48); }
