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

@keyframes weldPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.5); box-shadow: 0 0 8px 2px var(--molten); }
    50% { opacity: 1; transform: scale(1.4); box-shadow: 0 0 20px 8px var(--molten), 0 0 60px 16px rgba(232,122,18,0.3); }
}

@keyframes weldDraw {
    0% { transform: scaleX(0); opacity: 0.8; }
    40% { transform: scaleX(1); opacity: 0.6; }
    50% { transform: scaleX(1); opacity: 0.6; }
    90% { transform: scaleX(0); opacity: 0; }
    100% { transform: scaleX(0); opacity: 0; }
}

@keyframes sparkFly {
    0% { opacity: 1; transform: translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(calc(cos(var(--a)) * var(--d)), calc(sin(var(--a)) * var(--d))) scale(0); }
}

@keyframes sparkFlyFallback {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-80px) translateX(20px) scale(0); }
}

.weld-fx {
    position: absolute; bottom: 32%; left: 18%;
    z-index: 3; width: 0; height: 0;
}

.weld-arc {
    position: absolute; width: 8px; height: 8px;
    background: #fff; border-radius: 50%;
    box-shadow: 0 0 10px 3px var(--molten), 0 0 40px 10px rgba(232,122,18,0.4);
    animation: weldPulse 3s ease-in-out infinite;
}

.weld-line {
    position: absolute; top: 3px; left: 8px;
    width: 220px; height: 2px;
    background: linear-gradient(90deg, var(--molten), rgba(232,122,18,0.1));
    transform-origin: left center;
    animation: weldDraw 5s ease-in-out infinite;
}

.spark {
    position: absolute; top: 2px; left: 2px;
    width: 3px; height: 3px;
    background: var(--glow); border-radius: 50%;
    opacity: 0;
    animation: sparkFlyFallback 1.6s ease-out infinite;
    animation-delay: var(--t);
}

@supports (transform: translate(calc(cos(0deg) * 1px), 0)) {
    .spark {
        animation-name: sparkFly;
    }
}

.spark:nth-child(odd) { background: #fff; width: 2px; height: 2px; }

.bp-grid {
    position: absolute; inset: 0; pointer-events: none; opacity: 0.2;
    background:
        repeating-linear-gradient(0deg, transparent 0 79px, var(--rivet) 79px 80px),
        repeating-linear-gradient(90deg, transparent 0 79px, var(--rivet) 79px 80px);
}

.nav.scrolled { background: rgba(7, 7, 11, 0.97); }

.svc { transition-delay: calc(var(--i, 0) * 100ms); }

@keyframes partnerFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.ptr:hover {
    animation: partnerFloat 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
