@media (prefers-reduced-motion: no-preference) {
    /* --- SCROLL REVEAL ANIMATIONS --- */
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
        will-change: opacity, transform;
    }

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

    /* Directional Variants */
    .reveal[data-reveal="left"] {
        transform: translateX(-40px);
    }
    .reveal[data-reveal="right"] {
        transform: translateX(40px);
    }
    .reveal[data-reveal="scale"] {
        transform: scale(0.92);
    }

    .reveal[data-reveal="left"].revealed,
    .reveal[data-reveal="right"].revealed,
    .reveal[data-reveal="scale"].revealed {
        transform: translate(0) scale(1);
    }

    /* Stagger Delay for Grid Children */
    .stagger > .reveal {
        transition-delay: calc(var(--index, 0) * 100ms);
    }

    /* --- FLOATING SHAPES (FLOATERS) --- */
    .floater-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 10; /* Upfront over backgrounds and divs */
        overflow: hidden;
    }
    
    /* Elevate all text elements so floaters sit safely behind texts only */
    h1, h2, h3, h4, h5, h6, p, span, a, label, li, button, blockquote,
    .mono-label, .stat-n, .stat-l, .svc-num, .svc-icon, .wc-stack, .founder-initials {
        position: relative;
        z-index: 20;
    }

    .floater {
        position: absolute;
        will-change: transform;
        animation-iteration-count: infinite;
        animation-timing-function: ease-in-out;
        animation-direction: alternate;
    }

    /* Shape Formats */
    .f-circle {
        border-radius: 50%;
        width: 40px;
        height: 40px;
    }
    .f-square {
        border-radius: 12px;
        width: 45px;
        height: 45px;
    }
    .f-triangle {
        width: 0;
        height: 0;
        border-left: 22px solid transparent;
        border-right: 22px solid transparent;
        border-bottom: 40px solid currentColor;
        background: transparent !important;
    }
    .f-ring {
        border-radius: 50%;
        width: 45px;
        height: 45px;
        border: 6px solid currentColor;
        background: transparent !important;
    }

    /* Theme Styles */
    .floater-bright {
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.1);
    }
    /* Provide a subtle electric blue/teal variant for some bright ones */
    .floater-bright:nth-child(even) {
        background: rgba(62, 95, 255, 0.15); /* Brand accent */
        color: rgba(62, 95, 255, 0.15);
    }

    .floater-dark {
        background: rgba(8, 8, 8, 0.05); /* Dark charcoal/navy */
        color: rgba(8, 8, 8, 0.05);
    }

    /* Continuous Keyframes */
    @keyframes float-1 {
        0% { transform: translate(0, 0) rotate(0deg); }
        100% { transform: translate(25px, -35px) rotate(45deg); }
    }
    @keyframes float-2 {
        0% { transform: translate(0, 0) rotate(0deg) scale(1); }
        100% { transform: translate(-30px, -25px) rotate(-30deg) scale(1.1); }
    }
    @keyframes float-3 {
        0% { transform: translate(0, 0) rotate(0deg); }
        100% { transform: translate(20px, 30px) rotate(60deg); }
    }
    @keyframes float-4 {
        0% { transform: translate(0, 0) rotate(0deg); }
        100% { transform: translate(-25px, 20px) rotate(-45deg); }
    }
}
