/* Custom styles — beyond Tailwind */

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

/* Navbar scroll state */
#nav.scrolled {
    background: rgba(254, 248, 247, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(123, 45, 59, 0.08);
}

/* Mobile menu transitions */
#mobile-menu.open {
    transform: translateX(0);
}

/* Smooth section anchor offset */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: #f9c3cc;
    color: #4a151c;
}

/* Subtle gradient border on cards on focus */
input:focus, select:focus, textarea:focus {
    outline: none;
}

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