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

    body {
        overflow-x: hidden;
    }

    ::selection {
        background-color: rgba(128, 0, 32, 0.15);
        color: #800020;
    }

    /* Hero Animations */
    .hero-anim {
        will-change: opacity, transform;
    }

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

    .hero-anim.animate {
        animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    .hero-anim:nth-child(1) { animation-delay: 0.1s; }
    .hero-anim:nth-child(2) { animation-delay: 0.25s; }
    .hero-anim:nth-child(3) { animation-delay: 0.4s; }
    .hero-anim:nth-child(4) { animation-delay: 0.55s; }

    /* Scroll Reveal */
    .reveal-section {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

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

    /* Navbar */
    #navbar.scrolled {
        background: rgba(50, 0, 12, 0.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    #navbar.scrolled #nav-brand-name,
    #navbar.scrolled #nav-brand-sub {
        color: white;
    }

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

    /* Smooth image loading */
    img {
        opacity: 1;
        transition: opacity 0.4s ease;
    }

    img[data-src] {
        opacity: 0;
    }

    /* Subtle hover effects */
    a {
        transition: color 0.3s ease;
    }

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

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

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

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

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

    /* Print styles */
    @media print {
        #navbar, #mobile-menu, .reveal-section { display: none; }
        body { background: white; color: black; }
    }
