    :root {
        --color-cream: #FDF8F0;
        --color-warm: #FAF5EE;
        --color-terracotta: #b93d22;
        --color-terracotta-light: #d14f2e;
        --color-sand: #e4a54a;
        --color-warm-dark: #2a2018;
        --font-serif: 'Cormorant Garamond', Georgia, serif;
        --font-sans: 'Montserrat', system-ui, sans-serif;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
    }

    body {
        font-family: var(--font-sans);
        color: var(--color-warm-dark);
        background-color: var(--color-cream);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Hero animations — only for above-fold, no hidden state */
    .hero-anim {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    /* Scroll reveal — below the fold only, progressive enhancement */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

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

    /* Fallback: ensure content is visible even without JS */
    @media not all and (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Navbar */
    #navbar {
        background: transparent;
        transition: background-color 0.4s ease, box-shadow 0.4s ease;
    }

    #navbar.scrolled {
        background: rgba(253, 248, 240, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(42, 32, 24, 0.08);
    }

    /* Mobile menu */
    #mobile-menu.open {
        opacity: 1;
        pointer-events: all;
    }

    #mobile-menu.closed {
        opacity: 0;
        pointer-events: none;
    }

    /* Hamburger animation */
    #menu-toggle.active #bar1 {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #menu-toggle.active #bar2 {
        opacity: 0;
    }

    #menu-toggle.active #bar3 {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Smooth image loading */
    img {
        background-color: #e8ddd0;
        transition: opacity 0.3s ease;
    }

    img.loaded {
        opacity: 1;
    }

    img:not(.loaded) {
        opacity: 0;
    }

    /* Selection color */
    ::selection {
        background-color: #d14f2e;
        color: #FDF8F0;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }

    ::-webkit-scrollbar-track {
        background: #FDF8F0;
    }

    ::-webkit-scrollbar-thumb {
        background: #d1c4b0;
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #b93d22;
    }

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

    /* Link underline animation */
    a.underline-hover {
        background-image: linear-gradient(currentColor, currentColor);
        background-position: 0% 100%;
        background-repeat: no-repeat;
        background-size: 0% 1.5px;
        transition: background-size 0.3s ease;
    }

    a.underline-hover:hover {
        background-size: 100% 1.5px;
    }

    /* Decorative line */
    .deco-line {
        width: 60px;
        height: 1px;
        background: linear-gradient(to right, #b93d22, transparent);
    }
