    /* ── Reset & Base ── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
    body { min-height: 100vh; }
    img { display: block; max-width: 100%; }

    /* ── Scrollbar ── */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: #f5f3ee; }
    ::-webkit-scrollbar-thumb { background: #c7d6b8; border-radius: 3px; }
    ::-webkit-scrollbar-thumb:hover { background: #9fb88a; }

    /* ── Selection ── */
    ::selection { background: #9fb88a; color: #11190c; }

    /* ── Scroll Reveal (progressive enhancement) ── */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            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; }
    }

    /* Always visible for reduced-motion or no-JS */
    @media (prefers-reduced-motion: reduce) {
        .reveal { opacity: 1; transform: none; }
    }

    /* ── Hero scroll line animation ── */
    @media (prefers-reduced-motion: no-preference) {
        @keyframes scrollLine {
            0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
            50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
            51% { transform-origin: bottom; }
            100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
        }
        .animate-scroll-line {
            animation: scrollLine 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
        }
    }

    /* ── Navbar ── */
    #navbar {
        background: transparent;
    }
    #navbar.scrolled {
        background: rgba(250, 249, 246, 0.92);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(159, 184, 138, 0.2);
    }

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

    /* ── Menu hover lines ── */
    #menu li:hover {
        border-color: #9fb88a;
    }
    #menu li {
        transition: border-color 0.3s ease;
    }

    /* ── Card hover ── */
    #menu .border {
        transition: border-color 0.3s ease;
    }

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