/* ================= INTRO OVERLAY (GSAP) ================= */
body.unie-locked {
    overflow: hidden;
}

#unie-intro {
    position: fixed;
    inset: 0;
    z-index: 99999;
    /* Max Z-Index */
    display: grid;
    place-items: center;
    background: #0A1218;
    /* Dark petrol */
    text-align: center;
    overflow: hidden;
    color: #F6F2E9;
    font-family: 'Inter', sans-serif;
}

#unie-intro .aurora {
    position: absolute;
    inset: -22%;
    background:
        radial-gradient(760px 560px at 18% 30%, rgba(30, 75, 90, .38), transparent 62%),
        radial-gradient(860px 640px at 78% 38%, rgba(216, 180, 106, .22), transparent 62%),
        radial-gradient(980px 760px at 55% 78%, rgba(14, 45, 57, .34), transparent 64%),
        radial-gradient(720px 560px at 35% 86%, rgba(216, 180, 106, .12), transparent 62%);
    filter: blur(18px);
    opacity: 0;
    transform: scale(1.06);
    will-change: transform;
}

#unie-intro .noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
    opacity: .06;
    mix-blend-mode: overlay;
    pointer-events: none;
}

canvas#unie-particles {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

#unie-intro .sweep {
    position: absolute;
    width: 120%;
    height: 260px;
    left: -10%;
    top: 18%;
    background: linear-gradient(90deg, transparent, rgba(216, 180, 106, .14), transparent);
    transform: skewY(-10deg) translateX(-120%);
    opacity: 0;
    filter: blur(2px);
}

#unie-intro .wrap {
    position: relative;
    width: min(980px, 92vw);
    z-index: 2;
}

#unie-intro .line {
    font-size: clamp(30px, 4.4vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(10px);
    filter: blur(8px);
    text-wrap: balance;
}

#unie-intro .accent {
    background: linear-gradient(90deg, #1E4B5A, #D8B46A, #F2E1B8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 26px rgba(216, 180, 106, .08);
}

#unie-intro .brand {
    margin-top: 26px;
    font-size: clamp(28px, 3.4vw, 40px);
    /* grande */
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    color: #F6F2E9;
    font-weight: 700;
}

#unie-intro .sub {
    margin-top: 10px;
    font-size: 13px;
    letter-spacing: 0.08em;
    opacity: 0;
    transform: translateY(10px);
    color: rgba(246, 242, 233, .78);
}

#unie-intro .calib {
    margin: 18px auto 0;
    width: 240px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(216, 180, 106, .55), transparent);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: 50% 50%;
}

@media (max-width: 520px) {
    #unie-intro .calib {
        width: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #unie-intro {
        display: none !important;
    }

    body.unie-locked {
        overflow: auto !important;
    }
}