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

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

    body {
        overflow-x: hidden;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #251118;
    }
    ::-webkit-scrollbar-thumb {
        background: #7b3f5b;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #8c4a63;
    }

    /* Selection color */
    ::selection {
        background: #d4a017;
        color: #251118;
    }

    /* Navigation */
    .nav-link {
        position: relative;
    }
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 1px;
        background: #d4a017;
        transition: width 0.3s ease;
    }
    .nav-link:hover::after {
        width: 100%;
    }

    /* Mobile menu */
    #mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease;
        opacity: 0;
    }
    #mobile-menu.active {
        max-height: 400px;
        opacity: 1;
    }
    .mobile-link {
        position: relative;
    }

    /* Reveal animations */
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }

    /* Gallery hover */
    .group img {
        will-change: transform;
    }

    /* Hero text animation */
    #hero h1 {
        animation: heroFadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
        opacity: 0;
    }
    #hero p {
        animation: heroFadeUp 1s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
        opacity: 0;
    }
    #hero .flex-col {
        animation: heroFadeUp 1s 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
        opacity: 0;
    }
    #hero .grid {
        animation: heroFadeUp 1s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
        opacity: 0;
    }

    @keyframes heroFadeUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Navbar scrolled state */
    nav.scrolled {
        background: rgba(37, 17, 24, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 1px 0 rgba(123, 63, 91, 0.3);
    }
    nav.scrolled .nav-link {
        color: #edd9e1;
    }

    /* Image hover overlay */
    .group .absolute {
        pointer-events: none;
    }

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

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
        }
        html {
            scroll-behavior: auto;
        }
        .reveal {
            opacity: 1;
            transform: none;
        }
    }

    /* Tablet adjustments */
    @media (max-width: 768px) {
        #hero h1 {
            font-size: 2.75rem;
        }
    }

    /* Large desktop */
    @media (min-width: 1280px) {
        #hero h1 {
            font-size: 5.5rem;
        }
    }
