/* Custom styles beyond Tailwind */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth focus outlines */
a:focus-visible, button:focus-visible {
    outline: 2px solid #d4940a;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: rgba(168, 87, 119, 0.15);
    color: #3d1620;
}

/* Subtle scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fffcf8;
}
::-webkit-scrollbar-thumb {
    background: rgba(61, 22, 32, 0.15);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(61, 22, 32, 0.3);
}

/* Nav scroll state */
nav.scrolled {
    box-shadow: 0 1px 0 rgba(61, 22, 32, 0.06);
}

/* Mobile menu animation */
.menu-line {
    display: block;
}
.menu-open .menu-line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}
.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}
.menu-open .menu-line:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
    width: 5px;
    width: 20px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #f3e9ee 0%, #fffcf8 100%);
}

/* Print styles */
@media print {
    nav, .stat-card, #mobileMenu { display: none !important; }
    body { color: #000; background: #fff; }
    a { color: #000; }
}
