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

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

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

    /* ── Hero Animations ── */
    .hero-elem {
        opacity: 0;
        transform: translateY(30px);
        animation: heroReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    .hero-elem:nth-child(1) { animation-delay: 0.15s; }
    .hero-elem:nth-child(2) { animation-delay: 0.35s; }
    .hero-elem:nth-child(3) { animation-delay: 0.55s; }
    .hero-elem:nth-child(4) { animation-delay: 0.75s; }

    @keyframes heroReveal {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ── Scroll Reveal (below-fold only) ── */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .reveal {
            opacity: 1;
            transform: none;
        }
        .hero-elem {
            opacity: 1;
            transform: none;
            animation: none;
        }
    }

    /* ── Nav link colors ── */
    .nav-link {
        color: rgba(255, 255, 255, 0.85);
    }

    #navbar.scrolled .nav-link {
        color: rgba(61, 49, 39, 0.7);
    }

    #navbar.scrolled .nav-link:hover {
        color: rgba(61, 49, 39, 1);
    }

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

    .mobile-link {
        color: rgba(255, 255, 255, 0.85);
        transition: color 0.3s;
    }

    .mobile-link:hover {
        color: #F5D4B8;
    }

    /* ── Selection ── */
    ::selection {
        background: rgba(160, 82, 45, 0.2);
        color: inherit;
    }

    /* ── Focus styles ── */
    input:focus, select:focus, textarea:focus {
        outline: none;
    }

    /* ── Image aspect ratios ── */
    img {
        display: block;
        max-width: 100%;
    }

    /* ── Subtle hover lift for cards ── */
    .group {
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* ── Horizontal rule ── */
    hr {
        border: none;
        height: 1px;
        background: none;
    }
