/* Base & Typography */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    letter-spacing: -0.01em;
}

.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Scroll Reveal — progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu */
#mobileMenu {
    transition: opacity 0.3s ease;
}

#mobileMenu.hidden {
    opacity: 0;
    pointer-events: none;
}

#mobileMenu:not(.hidden) {
    opacity: 1;
    pointer-events: all;
}

/* Thin scrollbars */
@media (min-width: 768px) {
    ::-webkit-scrollbar {
        width: 6px;
    }
    ::-webkit-scrollbar-track {
        background: transparent;
    }
    ::-webkit-scrollbar-thumb {
        background: #c7d1ba;
        border-radius: 3px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #a4b28c;
    }
}

/* Selection */
::selection {
    background: #a4b28c;
    color: #13170c;
}
