/* Custom styles beyond Tailwind */

html {
    scroll-behavior: smooth;
}

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

/* Hero image subtle Ken Burns on load */
@keyframes hero-zoom {
    from { transform: scale(1.05); }
    to { transform: scale(1); }
}

#hero .absolute.inset-0 img {
    animation: hero-zoom 20s ease-out forwards;
}

/* Nav scroll state */
nav.scrolled {
    background: rgba(8, 14, 26, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Selection color */
::selection {
    background: rgba(13, 148, 136, 0.3);
    color: inherit;
}

/* Focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #2dd4bf;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    html { scroll-behavior: auto; }
    #hero .absolute.inset-0 img { animation: none; }
    .overflow-hidden img { transition: none; }
    .overflow-hidden img:hover { transform: none; }
}
