/* ==========================================================================
   utilities.css — sr-only, form-dots, reveal animations, print, reduced-motion
   ========================================================================== */

/* --- Hide reCAPTCHA v3 badge (required disclosure in privacy policy) ------ */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* --- 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 (data-reveal) -------------------------------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* --- 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;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* --- Print ---------------------------------------------------------------- */
@media print {
    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }

    .site-header,
    .site-footer,
    .hero__ctas,
    .filter-bar,
    .tabs,
    .btn,
    .site-header__hamburger,
    .site-header__mobile-menu,
    .age-gate {
        display: none !important;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

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

    .stat-table {
        font-size: 10pt;
    }

    .card {
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}

/* --- Text alignment ------------------------------------------------------- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* --- Margin helpers ------------------------------------------------------- */
.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); }
.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); }
