
/* NUJIZ CINEMATIC ORBIT */

html body .hero .hero-art.nz-orbit-art {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 490px !important;
    aspect-ratio: 1 / 1;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    isolation: isolate;
    direction: ltr;
}

.nz-orbit-scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 40%;
    pointer-events: none;
}

.nz-orbit-scene svg {
    width: 100%;
    height: 100%;
    display: block;
}

.nz-orbit-landscape {
    opacity: .46;
}

.nz-orbit-water {
    stroke-dasharray: 15 10;
    animation: nz-water-flow 5s linear infinite;
}

@keyframes nz-water-flow {
    to { stroke-dashoffset: -100; }
}

.nz-orbit-ring {
    position: absolute;
    inset: 15%;
    border: 1px solid #a88aff38;
    border-radius: 50%;
    transform: rotate(-22deg) scaleY(.76);
    box-shadow: 0 0 28px #916aff15;
}

.nz-orbit-ring.r2 {
    inset: 9%;
    transform: rotate(25deg) scaleY(.84);
    border-color: #57d9ff25;
}

.nz-orbit-ring.r3 {
    inset: 23%;
    transform: rotate(-45deg);
    border-color: #d7bcff30;
}

.nz-orbit-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 39%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    border-radius: 50%;
    z-index: 5;
    background:
        radial-gradient(
            circle at 30% 20%,
            #b7a0ff,
            #7042d9 35%,
            #382171 65%,
            #18132c 100%
        );
    border: 2px solid #c6b1ff;
    box-shadow:
        0 0 45px #8656ff66,
        0 0 95px #7442ff33,
        inset 0 0 25px #c7adff55,
        inset 0 -15px 35px #100d26aa;
}

.nz-orbit-core::before {
    content: "";
    position: absolute;
    inset: 8%;
    border: 1px solid #ffffff30;
    border-radius: 50%;
}

.nz-orbit-core strong {
    color: #fff !important;
    font-size: clamp(42px, 5.4vw, 86px) !important;
    font-weight: 900 !important;
    line-height: 1.5 !important;
    white-space: nowrap;
    text-shadow:
        0 2px #d4c5ff,
        0 4px #9371de,
        0 6px #6744ad,
        0 9px #452b82,
        0 14px 22px #120b35;
}

.nz-orbit-core::after {
    content: "";
    position: absolute;
    bottom: 19%;
    width: 35%;
    height: 4px;
    border-radius: 8px;
    background: #d0ff69;
    box-shadow: 0 0 18px #c6ff68;
}

.nz-orbit-wheel {
    position: absolute;
    inset: 13%;
    animation: nz-orbit-rotate 25s linear infinite;
    z-index: 6;
    pointer-events: none;
}

.nz-orbit-position {
    position: absolute;
    inset: 0;
    transform: rotate(var(--angle));
}

.nz-orbit-anchor {
    position: absolute;
    top: 0;
    left: 50%;
    width: clamp(46px, 5.5vw, 82px);
    aspect-ratio: 1;
    transform:
        translate(-50%, -50%)
        rotate(var(--reverse));
}

.nz-orbit-node {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border-radius: 24%;
    color: var(--tone);
    background:
        linear-gradient(
            145deg,
            var(--tone),
            #23243d 45%,
            #101524
        );
    border: 1px solid var(--tone);
    box-shadow:
        0 0 22px color-mix(
            in srgb, var(--tone) 38%, transparent
        ),
        inset 0 2px 4px #ffffff50,
        0 8px 14px #00000040;
    animation: nz-orbit-counter 25s linear infinite;
}

.nz-orbit-node svg {
    width: 54%;
    height: 54%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 5px currentColor);
}

@keyframes nz-orbit-rotate {
    to { transform: rotate(360deg); }
}

@keyframes nz-orbit-counter {
    to { transform: rotate(-360deg); }
}

@media(max-width: 900px) {
    html body .hero .hero-art.nz-orbit-art {
        min-height: 360px !important;
        max-width: 560px !important;
        margin: 12px auto !important;
    }
}

@media(max-width: 480px) {
    html body .hero .hero-art.nz-orbit-art {
        min-height: 290px !important;
        aspect-ratio: 1 / 1;
    }

    .nz-orbit-core strong {
        font-size: 42px !important;
    }

    .nz-orbit-anchor {
        width: 48px;
    }
}

@media(prefers-reduced-motion: reduce) {
    .nz-orbit-wheel,
    .nz-orbit-node,
    .nz-orbit-water {
        animation: none !important;
    }
}

