*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    background-color: #FDF8F0;
    color: #1C1917;
}

/* Scroll reveal base — content is always visible by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero text is always visible — no reveal animation applied */

/* Marquee */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: no-preference) {
    .animate-scroll {
        animation: scroll 25s linear infinite;
    }
}

/* Navbar */
#navbar {
    background: rgba(253, 248, 240, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(232, 96, 26, 0.1);
}

#navbar.scrolled {
    background: rgba(253, 248, 240, 0.95);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

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

/* Selection color */
::selection {
    background: #E8601A;
    color: white;
}
