/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   BASE
   ========================================================= */

html,
body {
    width: 100%;
    height: 100%;
}


body {
    background: #05070a;

    color: #ffffff;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    overflow: hidden;
}


/* =========================================================
   MAIN
   ========================================================= */

.welcome {
    position: relative;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    isolation: isolate;
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.background {
    position: absolute;

    inset: 0;

    z-index: -1;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 48%,
            rgba(110, 135, 170, 0.08),
            transparent 38%
        ),
        radial-gradient(
            ellipse at 50% 50%,
            rgba(255, 255, 255, 0.025),
            transparent 62%
        ),
        #05070a;
}


/* =========================================================
   AMBIENT GLOW
   ========================================================= */

.glow {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(105px);

    will-change: transform;
}


/* ---------------------------------------------------------
   MAIN AMBIENT LIGHT
   --------------------------------------------------------- */

.glow-one {
    top: 50%;
    left: 50%;

    width: 48vw;
    height: 48vw;

    min-width: 320px;
    min-height: 320px;

    max-width: 760px;
    max-height: 760px;

    background:
        radial-gradient(
            circle,
            rgba(235, 242, 255, 0.78) 0%,
            rgba(150, 175, 210, 0.32) 28%,
            transparent 70%
        );

    opacity: 0.14;

    transform:
        translate(-50%, -50%)
        scale(0.82);

    animation:
        ambientMove
        22s
        ease-in-out
        infinite;
}


/* ---------------------------------------------------------
   SECONDARY AMBIENT LIGHT
   --------------------------------------------------------- */

.glow-two {
    top: 50%;
    left: 50%;

    width: 34vw;
    height: 34vw;

    min-width: 230px;
    min-height: 230px;

    max-width: 540px;
    max-height: 540px;

    background:
        radial-gradient(
            circle,
            rgba(100, 135, 180, 0.55) 0%,
            transparent 70%
        );

    opacity: 0.11;

    transform:
        translate(-50%, -50%);

    animation:
        ambientMoveTwo
        30s
        ease-in-out
        infinite;
}


/* =========================================================
   STRONG MOUSE LIGHT
   ========================================================= */

.cursor-glow {
    position: absolute;

    top: -300px;
    left: -300px;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.17) 0%,
            rgba(225, 235, 250, 0.085) 14%,
            rgba(150, 180, 220, 0.045) 32%,
            rgba(100, 130, 170, 0.018) 48%,
            transparent 70%
        );

    filter: blur(18px);

    opacity: 0.95;

    mix-blend-mode: screen;

    will-change: transform;
}


.cursor-glow::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 90px;
    height: 90px;

    border-radius: 50%;

    transform:
        translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.16),
            transparent 70%
        );

    filter: blur(12px);
}


/* =========================================================
   ORBITAL BACKGROUND
   ========================================================= */

.orbit {
    position: absolute;

    top: 50%;
    left: 50%;

    border-radius: 50%;

    pointer-events: none;

    border:
        1px solid
        rgba(190, 215, 245, 0.13);

    transform:
        translate(-50%, -50%);

    will-change: transform;

    box-shadow:
        0 0 45px
        rgba(120, 165, 215, 0.055),
        inset 0 0 35px
        rgba(120, 165, 215, 0.025);
}


/* ---------------------------------------------------------
   ORBIT ONE
   --------------------------------------------------------- */

.orbit-one {
    width: 58vw;
    height: 24vw;

    min-width: 520px;
    min-height: 220px;

    max-width: 1000px;
    max-height: 420px;

    transform:
        translate(-50%, -50%)
        rotate(-12deg);

    animation:
        orbitFloatOne
        18s
        ease-in-out
        infinite;
}


/* ---------------------------------------------------------
   ORBIT TWO
   --------------------------------------------------------- */

.orbit-two {
    width: 44vw;
    height: 18vw;

    min-width: 420px;
    min-height: 170px;

    max-width: 800px;
    max-height: 330px;

    border-color:
        rgba(180, 210, 245, 0.095);

    transform:
        translate(-50%, -50%)
        rotate(18deg);

    opacity: 0.8;

    animation:
        orbitFloatTwo
        24s
        ease-in-out
        infinite;
}


/* =========================================================
   ORBIT LIGHT POINTS
   ========================================================= */

.orbit-one::before,
.orbit-two::before {
    content: "";

    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        rgba(235, 245, 255, 0.9);

    box-shadow:
        0 0 8px
        rgba(220, 235, 255, 0.9),

        0 0 22px
        rgba(150, 195, 240, 0.55),

        0 0 45px
        rgba(120, 175, 230, 0.28);
}


.orbit-one::before {
    top: -4px;
    left: 37%;

    animation:
        orbitPointOne
        18s
        linear
        infinite;
}


.orbit-two::before {
    bottom: -3px;
    right: 24%;

    width: 5px;
    height: 5px;

    animation:
        orbitPointTwo
        24s
        linear
        infinite;
}


/* =========================================================
   MOVING LIGHT TRAILS
   ========================================================= */

.light-trail {
    position: absolute;

    width: 420px;
    height: 2px;

    pointer-events: none;

    opacity: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(220, 235, 255, 0.55) 45%,
            rgba(255, 255, 255, 0.75) 50%,
            rgba(220, 235, 255, 0.55) 55%,
            transparent
        );

    filter:
        blur(1.5px);

    transform-origin:
        center;

    box-shadow:
        0 0 18px
        rgba(170, 205, 245, 0.25);

    animation:
        trailMove
        13s
        ease-in-out
        infinite;
}


.light-trail-one {
    top: 34%;

    left: -450px;

    transform:
        rotate(-18deg);

    animation-delay:
        1s;
}


.light-trail-two {
    top: 66%;

    left: -450px;

    width: 340px;

    transform:
        rotate(12deg);

    animation-delay:
        6.5s;
}


/* =========================================================
   FLOATING PARTICLES
   ========================================================= */

.particle {
    position: absolute;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background:
        rgba(225, 240, 255, 0.75);

    box-shadow:
        0 0 10px
        rgba(200, 225, 255, 0.65),

        0 0 25px
        rgba(150, 195, 240, 0.35);

    pointer-events: none;

    animation:
        particleFloat
        9s
        ease-in-out
        infinite;
}


.particle-one {
    top: 31%;
    left: 24%;

    animation-delay:
        -2s;
}


.particle-two {
    top: 66%;
    left: 73%;

    width: 3px;
    height: 3px;

    animation-delay:
        -5s;
}


.particle-three {
    top: 24%;
    left: 68%;

    width: 3px;
    height: 3px;

    animation-delay:
        -7s;
}


/* =========================================================
   NOISE
   ========================================================= */

.noise {
    position: absolute;

    inset: 0;

    opacity: 0.024;

    pointer-events: none;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");

    mix-blend-mode:
        overlay;
}


/* =========================================================
   CINEMATIC INTRO
   ========================================================= */

.intro {
    position: fixed;

    inset: 0;

    z-index: 10;

    pointer-events: none;

    background:
        #05070a;

    animation:
        introReveal
        2.2s
        cubic-bezier(0.76, 0, 0.24, 1)
        forwards;
}


/* =========================================================
   CONTENT
   ========================================================= */

.content {
    position: relative;

    z-index: 2;

    text-align: center;

    padding: 30px;

    transform:
        translateY(-2px);

    animation:
        contentReveal
        2.4s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.25s
        both;
}


/* =========================================================
   NAME
   ========================================================= */

.name {
    font-size:
        clamp(26px, 4vw, 52px);

    font-weight:
        400;

    letter-spacing:
        0.30em;

    margin-left:
        0.30em;

    white-space:
        nowrap;

    color:
        rgba(255, 255, 255, 0.96);

    text-shadow:
        0 0 35px
        rgba(255, 255, 255, 0.055);

    opacity:
        0;

    filter:
        blur(8px);

    animation:
        nameReveal
        1.8s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.65s
        forwards;
}


/* =========================================================
   LINE
   ========================================================= */

.line {
    position: relative;

    width: 110px;
    height: 1px;

    margin:
        27px auto 25px;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.07);

    box-shadow:
        0 0 18px
        rgba(190, 215, 245, 0.06);

    opacity:
        0;

    animation:
        lineContainerReveal
        0.6s
        ease
        1.65s
        forwards;
}


.line span {
    position: absolute;

    top: 0;
    left: 50%;

    width: 0;
    height: 100%;

    transform:
        translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.9),
            transparent
        );

    box-shadow:
        0 0 12px
        rgba(220, 235, 255, 0.35);

    animation:
        lineReveal
        1.3s
        cubic-bezier(0.22, 1, 0.36, 1)
        1.65s
        forwards;
}


/* =========================================================
   COMING SOON
   ========================================================= */

.coming-soon {
    font-size:
        clamp(11px, 1.2vw, 15px);

    font-weight:
        400;

    letter-spacing:
        0.58em;

    margin-left:
        0.58em;

    color:
        rgba(255, 255, 255, 0.48);

    text-shadow:
        0 0 25px
        rgba(180, 205, 235, 0.08);

    opacity:
        0;

    filter:
        blur(4px);

    animation:
        comingReveal
        1.4s
        cubic-bezier(0.22, 1, 0.36, 1)
        2.05s
        forwards,

        breathing
        5s
        ease-in-out
        3.8s
        infinite;
}


/* =========================================================
   INSTAGRAM
   ========================================================= */

.instagram {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top:
        30px;

    color:
        rgba(255, 255, 255, 0.28);

    text-decoration:
        none;

    font-size:
        10px;

    font-weight:
        400;

    letter-spacing:
        0.16em;

    opacity:
        0;

    transition:
        color 0.4s ease,
        transform 0.4s ease,
        opacity 0.4s ease;

    animation:
        instagramReveal
        1.2s
        cubic-bezier(0.22, 1, 0.36, 1)
        2.8s
        forwards;
}


.instagram svg {
    width: 13px;
    height: 13px;

    fill: none;

    stroke:
        currentColor;

    stroke-width:
        1.5;

    transition:
        transform 0.4s ease;
}


.instagram .instagram-dot {
    fill:
        currentColor;

    stroke:
        none;
}


.instagram:hover {
    color:
        rgba(255, 255, 255, 0.78);

    transform:
        translateY(-2px);
}


.instagram:hover svg {
    transform:
        scale(1.08);
}


/* =========================================================
   CINEMATIC ANIMATIONS
   ========================================================= */

@keyframes introReveal {

    0% {
        opacity: 1;
    }

    65% {
        opacity: 1;
    }

    100% {
        opacity: 0;

        visibility: hidden;
    }
}


@keyframes contentReveal {

    0% {
        transform:
            translateY(10px)
            scale(0.985);

        opacity: 0;
    }

    100% {
        transform:
            translateY(-2px)
            scale(1);

        opacity: 1;
    }
}


@keyframes nameReveal {

    0% {
        opacity: 0;

        filter:
            blur(8px);

        transform:
            translateY(18px)
            scale(1.02);

        letter-spacing:
            0.44em;
    }

    100% {
        opacity: 1;

        filter:
            blur(0);

        transform:
            translateY(0)
            scale(1);

        letter-spacing:
            0.30em;
    }
}


@keyframes lineContainerReveal {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@keyframes lineReveal {

    0% {
        width: 0;

        opacity: 0;
    }

    100% {
        width: 110px;

        opacity: 1;
    }
}


@keyframes comingReveal {

    0% {
        opacity: 0;

        filter:
            blur(4px);

        transform:
            translateY(10px);
    }

    100% {
        opacity: 1;

        filter:
            blur(0);

        transform:
            translateY(0);
    }
}


@keyframes breathing {

    0%,
    100% {
        opacity:
            0.42;
    }

    50% {
        opacity:
            0.64;
    }
}


@keyframes instagramReveal {

    0% {
        opacity:
            0;

        transform:
            translateY(8px);
    }

    100% {
        opacity:
            1;

        transform:
            translateY(0);
    }
}


/* =========================================================
   AMBIENT MOVEMENT
   ========================================================= */

@keyframes ambientMove {

    0%,
    100% {
        transform:
            translate(-50%, -50%)
            translate(-4vw, 2vh)
            scale(0.82);
    }

    50% {
        transform:
            translate(-50%, -50%)
            translate(5vw, -4vh)
            scale(1.05);
    }
}


@keyframes ambientMoveTwo {

    0%,
    100% {
        transform:
            translate(-50%, -50%)
            translate(4vw, -2vh)
            scale(0.90);
    }

    50% {
        transform:
            translate(-50%, -50%)
            translate(-6vw, 5vh)
            scale(1.12);
    }
}


/* =========================================================
   ORBIT ANIMATION
   ========================================================= */

@keyframes orbitFloatOne {

    0%,
    100% {
        transform:
            translate(-50%, -50%)
            rotate(-12deg)
            scale(0.96);
    }

    50% {
        transform:
            translate(-50%, -50%)
            rotate(-4deg)
            scale(1.06);
    }
}


@keyframes orbitFloatTwo {

    0%,
    100% {
        transform:
            translate(-50%, -50%)
            rotate(18deg)
            scale(0.94);
    }

    50% {
        transform:
            translate(-50%, -50%)
            rotate(28deg)
            scale(1.06);
    }
}


/* =========================================================
   ORBIT POINT MOVEMENT
   ========================================================= */

@keyframes orbitPointOne {

    0% {
        transform:
            rotate(0deg)
            translateX(0);
    }

    25% {
        transform:
            rotate(90deg)
            translateX(12px);
    }

    50% {
        transform:
            rotate(180deg)
            translateX(0);
    }

    75% {
        transform:
            rotate(270deg)
            translateX(-12px);
    }

    100% {
        transform:
            rotate(360deg)
            translateX(0);
    }
}


@keyframes orbitPointTwo {

    0% {
        transform:
            translate(0, 0)
            scale(0.8);
    }

    50% {
        transform:
            translate(-12px, 7px)
            scale(1.25);
    }

    100% {
        transform:
            translate(0, 0)
            scale(0.8);
    }
}


/* =========================================================
   LIGHT TRAIL ANIMATION
   ========================================================= */

@keyframes trailMove {

    0% {
        left:
            -450px;

        opacity:
            0;
    }

    15% {
        opacity:
            0.85;
    }

    35% {
        opacity:
            0.55;
    }

    55% {
        opacity:
            0.3;
    }

    75% {
        opacity:
            0;
    }

    100% {
        left:
            115%;

        opacity:
            0;
    }
}


/* =========================================================
   PARTICLE ANIMATION
   ========================================================= */

@keyframes particleFloat {

    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            scale(0.65);

        opacity:
            0.18;
    }

    50% {
        transform:
            translate3d(14px, -20px, 0)
            scale(1.15);

        opacity:
            0.8;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .content {
        padding:
            20px;
    }


    .name {
        font-size:
            22px;

        letter-spacing:
            0.20em;

        margin-left:
            0.20em;
    }


    .line {
        width:
            80px;

        margin-top:
            22px;

        margin-bottom:
            21px;
    }


    .line span {
        animation:
            lineRevealMobile
            1.3s
            cubic-bezier(0.22, 1, 0.36, 1)
            1.65s
            forwards;
    }


    .coming-soon {
        font-size:
            10px;

        letter-spacing:
            0.42em;

        margin-left:
            0.42em;
    }


    .instagram {
        margin-top:
            26px;

        font-size:
            9px;

        letter-spacing:
            0.14em;
    }


    .instagram svg {
        width:
            12px;

        height:
            12px;
    }


    .glow {
        filter:
            blur(75px);
    }


    .glow-one {
        width:
            75vw;

        height:
            75vw;
    }


    .glow-two {
        width:
            55vw;

        height:
            55vw;
    }


    .orbit-one {
        width:
            100vw;

        height:
            42vw;

        min-width:
            0;

        min-height:
            0;

        border-color:
            rgba(190, 215, 245, 0.10);
    }


    .orbit-two {
        width:
            78vw;

        height:
            32vw;

        min-width:
            0;

        min-height:
            0;

        border-color:
            rgba(180, 210, 245, 0.075);
    }


    .light-trail {
        opacity:
            0.3;
    }


    .particle {
        display:
            none;
    }


    .cursor-glow {
        display:
            none;
    }

}


/* =========================================================
   MOBILE LINE
   ========================================================= */

@keyframes lineRevealMobile {

    0% {
        width:
            0;

        opacity:
            0;
    }

    100% {
        width:
            80px;

        opacity:
            1;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-delay:
            0ms !important;

        animation-iteration-count:
            1 !important;
    }


    .intro {
        display:
            none;
    }


    .name,
    .line,
    .coming-soon,
    .instagram {
        opacity:
            1;

        filter:
            none;

        transform:
            none;
    }


    .cursor-glow {
        display:
            none;
    }

}