.elementor-widget-navigays_motion_hero {
    position: relative;
    left: 50%;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: -50vw !important;
}

.elementor-widget-navigays_motion_hero > .elementor-widget-container {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.e-con:has(> .elementor-widget-navigays_motion_hero),
.ng-scroll-story-host {
    gap: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body:has([data-ng-motion-hero]) header.elementor-location-header > .e-con,
body.has-ng-motion-hero header.elementor-location-header > .e-con {
    position: relative;
    z-index: 1;
    overflow: visible !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* Keep header dropdowns above the isolated WebGL story stacking context. */
body:has([data-ng-motion-hero]) header.elementor-location-header,
body.has-ng-motion-hero header.elementor-location-header {
    position: relative !important;
    z-index: 10000 !important;
    overflow: visible !important;
    isolation: isolate;
}

body:has([data-ng-motion-hero]) header.elementor-location-header .elementor-widget-nav-menu,
body.has-ng-motion-hero header.elementor-location-header .elementor-widget-nav-menu,
body:has([data-ng-motion-hero]) header.elementor-location-header .elementor-nav-menu__container,
body.has-ng-motion-hero header.elementor-location-header .elementor-nav-menu__container {
    overflow: visible !important;
}

body:has([data-ng-motion-hero]) header.elementor-location-header .ngpm-header-account-menu,
body.has-ng-motion-hero header.elementor-location-header .ngpm-header-account-menu,
body:has([data-ng-motion-hero]) header.elementor-location-header .elementor-nav-menu--dropdown,
body.has-ng-motion-hero header.elementor-location-header .elementor-nav-menu--dropdown {
    z-index: 10020 !important;
}

body:has([data-ng-motion-hero]) footer.elementor-location-footer > .e-con:first-child,
body.has-ng-motion-hero footer.elementor-location-footer > .e-con:first-child {
    border-top: 0 !important;
}

.ng-scroll-story {
    --ng-nebula-scale: 1.02;
    --ng-nebula-shift-x: 0vw;
    --ng-nebula-shift-y: 0vh;
    position: relative;
    width: 100vw;
    max-width: 100vw;
    height: 400vh;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #0f0208;
    color: #fbf3f6;
    isolation: isolate;
}

.ng-scroll-story__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(180deg, #000 0%, transparent 9%, transparent 91%, #000 100%),
        radial-gradient(120% 90% at 15% 18%, #22091b 0%, transparent 55%),
        linear-gradient(180deg, #22091b 0%, #0f0208 55%);
}

.ng-scroll-story__sticky::before,
.ng-scroll-story__sticky::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.ng-scroll-story__sticky::before {
    background: linear-gradient(90deg, rgba(15, 2, 8, 0.82), rgba(15, 2, 8, 0.30) 34%, transparent 56%);
}

.ng-scroll-story__sticky::after {
    background:
        radial-gradient(ellipse 52% 34% at 74% 31%, rgba(253, 50, 101, 0.13), transparent 72%),
        radial-gradient(ellipse 66% 48% at 28% 76%, rgba(104, 21, 54, 0.22), transparent 74%),
        radial-gradient(circle at 62% 50%, transparent 0, transparent 24%, rgba(15, 2, 8, 0.12) 60%, rgba(15, 2, 8, 0.46) 100%);
    transform: translate3d(var(--ng-nebula-shift-x), var(--ng-nebula-shift-y), 0) scale(var(--ng-nebula-scale));
    transform-origin: center;
    will-change: transform;
}

.ng-scroll-story__canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 40px 55px rgba(0, 0, 0, 0.42));
}

.ng-scroll-story__fallback {
    position: absolute;
    right: 8vw;
    top: 50%;
    z-index: 1;
    display: none;
    width: min(30vw, 340px);
    border-radius: 32px;
    transform: translateY(-50%) rotate(-4deg);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7);
}

.ng-scroll-story.is-webgl-unavailable .ng-scroll-story__fallback {
    display: block;
}

.ng-scroll-story__beat {
    --ng-text-opacity: 0;
    --ng-text-depth: -190px;
    --ng-text-scale: 0.85;
    --ng-text-shift-x: -26px;
    --ng-text-shift-y: 12px;
    --ng-text-blur: 4px;
    --ng-text-rotate-x: 0deg;
    --ng-text-rotate-y: 0deg;
    --ng-title-depth: 24px;
    --ng-beat-anchor-y: -50%;
    position: absolute;
    top: var(--ng-beat-y, 50%);
    left: var(--ng-beat-x, 6%);
    z-index: 3;
    width: var(--ng-beat-width, 44%);
    max-width: 620px;
    opacity: var(--ng-text-opacity);
    pointer-events: none;
    transform: perspective(1100px)
        translate3d(
            var(--ng-text-shift-x),
            calc(var(--ng-beat-anchor-y) + var(--ng-text-shift-y)),
            var(--ng-text-depth)
        )
        rotateX(var(--ng-text-rotate-x))
        rotateY(var(--ng-text-rotate-y))
        scale(var(--ng-text-scale));
    transform-origin: center center;
    filter: blur(var(--ng-text-blur));
    backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: opacity, transform, filter;
}

.ng-scroll-story__beat[data-beat="0"] {
    --ng-beat-x: 6%;
    --ng-beat-y: 50%;
    --ng-beat-width: 44%;
}

.ng-scroll-story__beat[data-beat="1"] {
    --ng-beat-x: 52%;
    --ng-beat-y: 50%;
    --ng-beat-width: 42%;
    text-align: right;
}

.ng-scroll-story__beat[data-beat="2"] {
    --ng-beat-x: 6%;
    --ng-beat-y: 50%;
    --ng-beat-width: 38%;
}

.ng-scroll-story__beat.is-active {
    pointer-events: auto;
}

.ng-scroll-story__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(253, 50, 101, 0.4);
    border-radius: 999px;
    background: rgba(253, 50, 101, 0.1);
    color: #fd3265;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.ng-scroll-story__eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fd3265;
    animation: ngStoryPulse 1.8s infinite;
}

.ng-scroll-story :is(h1, h2) {
    margin: 18px 0 16px;
    color: #fbf3f6;
    font-size: clamp(34px, 4.6vw, 62px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
    transform: translateZ(var(--ng-title-depth));
    transform-style: preserve-3d;
    will-change: transform;
}

.ng-scroll-story__eyebrow {
    transform: translateZ(14px);
}

.ng-scroll-story__beat > p,
.ng-scroll-story__actions,
.ng-scroll-story__stats {
    transform: translateZ(7px);
}

.ng-scroll-story p {
    max-width: 480px;
    margin: 0;
    color: #d8a9b8;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.68;
}

.ng-scroll-story__beat[data-beat="1"] p {
    margin-left: auto;
}

.ng-scroll-story__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.ng-scroll-story__actions a {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: inherit;
    text-decoration: none;
    box-shadow: none;
    transition: transform 0.25s ease;
}

.ng-scroll-story__actions a:hover {
    transform: translateY(-4px) scale(1.02);
}

.ng-scroll-story__actions img {
    display: block;
    width: auto;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
}

.ng-scroll-story__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
    color: #d8a9b8;
    font-size: 11px;
    letter-spacing: 0.04em;
}

.ng-scroll-story__stats span {
    display: grid;
    gap: 4px;
}

.ng-scroll-story__stats b {
    color: #fff;
    font-size: clamp(16px, 1.7vw, 22px);
    letter-spacing: 0;
}

.ng-scroll-story__progress {
    position: absolute;
    right: 5vw;
    bottom: 36px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ng-scroll-story__progress i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transition: background 0.3s ease, transform 0.3s ease;
}

.ng-scroll-story__progress i.is-active {
    background: #fd3265;
    transform: scale(1.55);
}

.ng-scroll-story__cue {
    position: absolute;
    bottom: 18px;
    left: 50%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #d8a9b8;
    font-size: 11px;
    letter-spacing: 0.14em;
    transform: translateX(-50%);
    transition: opacity 0.4s ease;
}

.ng-scroll-story__cue i {
    width: 1px;
    height: 28px;
    background: linear-gradient(#d8a9b8, transparent);
    animation: ngStoryCue 1.6s ease-in-out infinite;
}

@keyframes ngStoryPulse {
    0% { box-shadow: 0 0 0 0 rgba(253, 50, 101, 0.55); }
    70% { box-shadow: 0 0 0 8px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes ngStoryCue {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 900px) {
    .ng-scroll-story {
        height: 390vh;
    }

    .ng-scroll-story__sticky::before {
        background: linear-gradient(180deg, rgba(15, 2, 8, 0.94), rgba(15, 2, 8, 0.48) 38%, transparent 62%);
    }

    .ng-scroll-story__sticky::after {
        background: radial-gradient(circle at 50% 72%, transparent 0, transparent 24%, rgba(15, 2, 8, 0.22) 68%, rgba(15, 2, 8, 0.5) 100%);
    }

    .ng-scroll-story__beat,
    .ng-scroll-story__beat[data-beat="0"],
    .ng-scroll-story__beat[data-beat="1"],
    .ng-scroll-story__beat[data-beat="2"] {
        --ng-beat-x: 6%;
        --ng-beat-y: 7%;
        --ng-beat-width: 88%;
        --ng-beat-anchor-y: 0%;
        top: min(var(--ng-beat-y), 12%);
        left: var(--ng-beat-x);
        width: var(--ng-beat-width);
        max-width: none;
        text-align: left;
        transform: perspective(900px)
            translate3d(
                var(--ng-text-shift-x),
                var(--ng-text-shift-y),
                var(--ng-text-depth)
            )
            rotateX(var(--ng-text-rotate-x))
            rotateY(var(--ng-text-rotate-y))
            scale(var(--ng-text-scale));
        transform-origin: center top;
    }

    .ng-scroll-story__beat[data-beat="1"] p {
        margin-left: 0;
    }

    .ng-scroll-story__fallback {
        top: 70%;
        right: 50%;
        width: min(58vw, 270px);
        transform: translate(50%, -50%) rotate(-2deg);
    }

    .ng-scroll-story__progress {
        display: none;
    }

    .ng-scroll-story :is(h1, h2) {
        margin: 10px 0 8px;
        font-size: clamp(27px, 7.6vw, 40px);
        line-height: 1.04;
    }

    .ng-scroll-story p {
        max-width: 100%;
        font-size: clamp(13px, 3.6vw, 16px);
        line-height: 1.48;
    }

    .ng-scroll-story__eyebrow {
        padding: 6px 11px;
        font-size: 10px;
    }

    .ng-scroll-story__actions {
        gap: 8px;
        margin-top: 14px;
    }

    .ng-scroll-story__actions img {
        height: 38px;
    }

    .ng-scroll-story__stats {
        gap: 12px;
        margin-top: 14px;
        font-size: 9px;
    }

    .ng-scroll-story__stats b {
        font-size: 14px;
    }

    .ng-scroll-story__cue {
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .ng-scroll-story {
        height: 380vh;
    }

    .ng-scroll-story__beat,
    .ng-scroll-story__beat[data-beat="0"],
    .ng-scroll-story__beat[data-beat="1"],
    .ng-scroll-story__beat[data-beat="2"] {
        --ng-beat-x: 5%;
        --ng-beat-y: 5%;
        --ng-beat-width: 90%;
        top: min(var(--ng-beat-y), 10%);
    }

    .ng-scroll-story :is(h1, h2) {
        font-size: clamp(24px, 7.2vw, 34px);
    }

    .ng-scroll-story p {
        font-size: 13px;
    }

    .ng-scroll-story__actions img {
        height: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ng-scroll-story__eyebrow::before,
    .ng-scroll-story__cue i {
        animation: none !important;
    }

    .ng-scroll-story__beat {
        transition: none;
        filter: none;
    }

    .ng-scroll-story {
        height: 300vh;
    }
}
