/* Custom styles supplementing Tailwind */

/* Smooth focus states for accessibility */
*:focus-visible {
    outline: 2px solid #b91d44;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #b91d44;
    color: #fff;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, #back-to-top, .reveal { display: none; }
    body { background: white; color: black; }
    a { color: black; text-decoration: underline; }
}
