@font-face {
    font-family: 'Manrope';
    src: url('/static/fonts/Manrope-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('/static/fonts/Manrope-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('/static/fonts/Manrope-Medium.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Transforma Mix';
    src: url('/static/fonts/TransformaMix-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root{
    --accent-color: #5F00FF;
    --primary-color: #000000;
    --secondary-color: #1E1E1E;
    --background-color: #F7F2FF;
    /* #F7F2FF or purlper #F4EDFF*/

    --padding-horizontal: 76px;
    --padding-vertical: 56px;

    --animation-default-03: opacity 0.3s, filter 0.3s, background-color 0.3s, transform 0.3s, color 0.2s, inset 0.3s;
}

@media (max-width: 710px) {
    :root{
        --padding-horizontal: 26px !important;
    }
}
@media (max-width: 480px) {
    .legal{
        a, p{
            padding: 0 !important;
            background-color: transparent !important;
            font-size: 14px !important;
        }
    }
}


::selection {
  background: #1E1E1E40;
  color: var(--primary-color);
}

body{
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;

    background-color: var(--background-color);
    font-family: 'Manrope';
    -webkit-font-smoothing: antialiased;

    overflow-x: hidden;
    overflow-y: scroll;
}
*{
    box-sizing: border-box;
    scroll-behavior: smooth;
}


h1, h2, h3, h4, h5, p{margin: 0;}
a{
    text-decoration: none;
    transition: var(--animation-default-03);
}
button{
    cursor: pointer;
    border: none;
    transition: var(--animation-default-03);
}
img{
    user-select: none;
    -webkit-user-drag: none;
}

.flex{display: flex;}
.flex-cl{display: flex;flex-direction: column;width: fit-content;}
.flex-wrap{flex-wrap: wrap;}
.flex-end{align-items: flex-end;}
.flex-between{justify-content: space-between;}
.w-100{width: 100%;}
.pos-rel{position: relative;}
.gap-86{gap: 86px;}
.gap-48{gap: 48px;}
.gap-24{gap: 24px;}
.gap-12{gap: 12px;}
.gap-8{gap: 8px;}
.gap-6{gap: 6px;}
.gap-4{gap: 4px;}

.default{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    padding: 8px 16px;

    background-color: #E8DAFF;
    color: var(--accent-color);
    border-radius: 99px;
    font-size: 16px;
    font-weight: 500;

    transition: opacity 0.3s, filter 0.6s, pointer-events 0.3s;
}
.default.accent{
    background-color: var(--accent-color);
    color: #FFFFFF;
}

.default:hover{
    opacity: 0.6 !important;
}


.white-fill{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;  
    
    width: fit-content;
    height: 48px;
    padding: 12px 18px; 

    background-color: #FFFFFF;
    border-radius: 32px;
    color: var(--accent-color);
    font-size: 18px;
    font-weight: 500;

    transition: var(--animation-default);

    cursor: pointer;
}
.white-fill:hover{
    background-color: #5F00FF3f;
    color: var(--accent-color);
}

.typical {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    height: 48px;
    padding: 12px 18px;
    width: fit-content;

    border-radius: 24px;
    color: var(--background-color);
    font-weight: 600;

    transition: background 0.5s;

    user-select: none;
    -moz-user-select: none;
}

.typical::after {
    content: '';
    position: absolute;
    z-index: -1;

    background: var(--accent-color);
    border-radius: 64px;

    transition: var(--animation-default-03);

    inset: 0;
}

.typical:hover::after {
    background: var(--accent-color);

    inset: -5px;
}

header{
    position: fixed;
    z-index: 100;

    display: flex;
    justify-content: space-between;

    width: calc(100% - var(--padding-horizontal) - var(--padding-horizontal) + 16px);
    height: 64px;
    margin: 0 calc( var(--padding-horizontal) - 8px);
    margin-top: 24px;
    padding: 8px;

    border-radius: 32px;
    
    transition: margin 0.3s, width 0.3s, border-radius 0.3s;

    .link-wr{
        display: flex;
        gap: 5px;

        .link{
            position: relative;
            z-index: 2;

            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;

            height: 48px;
            padding: 12px 18px;
            padding-right: 6px;

            color: var(--secondary-color);
            font-weight: 600;

            user-select: none;
            -moz-user-select: none;

            transition: padding-right 0.3s;

            img.fill{
                display: none;
            }
            img{
                max-width: 0;
                opacity: 0;
                transform: translateX(8px);

                transition: var(--animation-default-03), max-width 0.3s, transform 0.3s;
            }
        }
        .link:not(.enabled){
            color: #1E1E1EA0;
            img{
                opacity: 0.5;
            }
        }
        .link:hover{
            padding-right: 18px;
            color: var(--secondary-color);
            img{
                max-width: 40px;
                transform: translateX(0);
                opacity: 1;
            }
        }

        .after-bg {
            position: relative;
        }
        .after-bg::after {
            content: '';
            position: absolute;
            z-index: -1;

            background: rgba(30, 30, 30, 0);
            border-radius: 64px;
            
            transition: var(--animation-default-03);

            inset: 0;
        }
        .after-bg.fill::after {
            background: rgba(30, 30, 30, 0.04);
        }
        .after-bg:hover::after {
            background: rgba(30, 30, 30, 0.08);

            inset: -5px;
        }


        .after-bg.contact::after{
            background-color: #5F00FF;
        }

        a:active { 
            opacity: 0.5;
        }

        a.enabled{
            img.fill{
                display: flex;
            }
            img.outline{
                display: none;
            }
        }
        
        .with-popup{
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-end;

            padding: 0;
            height: 48px;
            width: fit-content;

            border-radius: 24px;
            
            .head{
                display: flex;
                align-items: center;
                gap: 12px;

                height: 48px;
                padding: 12px 18px;

                font-weight: 600;

                cursor: pointer;
                user-select: none;
                -moz-user-select: none;
                -webkit-user-drag: none;
            }
            .popup{
                position: absolute;
                display: flex;
                flex-direction: column;
                align-items: center;

                width: fit-content;
                color: var(--secondary-color) !important;
                border-radius: 24px;

                z-index: 12;

                opacity: 0;
                pointer-events: none;

                .absolute-head{
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    gap: 36px;

                    height: 48px;
                    width: 100%;
                    padding: 12px 18px;

                    font-weight: 600;

                    cursor: pointer;
                    user-select: none;
                    -moz-user-select: none;

                    .img-wrapper{
                        position: relative;
                        width: 16px;
                        height: 16px;
                        transition: 1.0s cubic-bezier(0.075, 0.82, 0.165, 1);

                        img {
                            position: absolute;
                        }
    
                        .second {
                            width: 12px;
                            opacity: 0;
                        }
                    }
                }
            }
            .info-wr{
                display: flex;
                flex-direction: column;
                width: 100%;

                .info{
                    display: flex;
                    align-items: flex-end;

                    padding: 2px 18px;
                    width: 380px;
                    min-width: fit-content;

                    color: var(--secondary-color);

                    user-select: none;

                    h3{
                        font-size: 48px;
                        font-weight: 300;
                        width: 100%;
                        text-align: left;

                        transition: font-weight 0.4s;
                    }
                    p{
                        font-size: 16px;
                        font-weight: 400;
                        padding-bottom: 11px;
                        white-space: nowrap;
                    }
                    p.invisible{
                        opacity: 0;
                        transition: opacity 0.5s;
                    }
                }
                .info:active{
                    h3{
                        font-weight: 450;
                    }
                }
                .info.enabled{
                    h3{                    
                        font-weight: 600;
                    }
                }
                .info{
                    transition: opacity 0.2s;
                }
                .info:hover{
                    opacity: 1 !important;
                    p.invisible{
                        opacity: 0.5;
                    }
                }
            }
            .info-wr:hover .info{
                opacity: 0.5;
            }
            
            .legal-mini{
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 32px;

                margin-top: 32px;
                padding: 18px 18px;
                width: 100%;

                a, p{
                    color: var(--secondary-color);
                    opacity: 0.5;
                    font-size: 14px;
                }
                a{
                    text-decoration: underline;
                    text-decoration-color: #1E1E1E90;
                    text-underline-offset: 2px;
                }
            }
            
        }

        .with-popup{
            transition: background-color 0.3s, transform 0.3s;

            .head{
                transition: opacity 0.2s;
            }

            .popup{
                opacity: 0;
                pointer-events: none;

                background-color: #F6F6F6;
                color: #1E1E1E;
                
                transform-origin: right top;
                transform: scaleY(55%) scaleX(55%) translateY(40px);

                transition: var(--animation-default-03), opacity 0.4s;
            }
        }

        .with-popup.active::after{
            background-color: rgba(30, 30, 30, 0.08);
            inset: 0;
        }
        .with-popup.active{
            color: var(--secondary-color);
            background-color: transparent;
            
            transform: translateY(10px);

            z-index: 20;

            .head{
                opacity: 0;
            }

            .popup{
                opacity: 1;
                pointer-events: all;
                transform: scaleY(100%) scaleX(100%) translateX(-10px) translateY(-10px);

                transition: transform 0.3s, background-color 0.2s, opacity 0.1s 0s;
                
                .absolute-head{
                    .img-wrapper {
                        transform: rotateY(360deg);
                        scale: 1.1;

                        .first {
                            opacity: 0;
                        }

                        .second {
                            opacity: 1;
                        }
                    }
                }

            }
        }

        .contact{
            background-color: var(--accent-color);
            color: #FFFFFF;

            .head{
                justify-content: space-between;
                gap: 36px;
            }

            .popup{
                background-color: #C19DFF;
            }
            .info-wr{
                .info{
                    justify-content: space-between;
                    gap: 58px;

                    width: 100%;
                }
            }
            .book {
                display: flex;
                align-items: center;
                justify-content: space-between;

                width: 110%;
                padding: 24px 32px;
                margin-bottom: 18px;
                margin-top: 6px;
                transform: rotate(-3deg);

                background-color: var(--accent-color);
                color: white;
                border-radius: 64px;

                font-size: 28px;

                transition: transform 0.2s;
            }
            .book:hover{
                transform: rotate(1deg) scale(1.08);
            }
        }
    }
}

@media (max-width: 630px) {
    .with-popup .popup {
        position: fixed;

        top: 0;
        right: 0;
        width: 310px !important;

        background: white;

        .info{
            flex-direction: column;
            align-items: flex-start !important;
            gap: 0 !important;
        }
    }
    .with-popup.menu .popup{
        margin-right: -64px !important;
        .invisible{
            opacity: 0.5 !important;
            padding: 0 !important;
            font-size: 14px !important;
        }
    }

    .with-popup.active .popup {
        transform: initial;
    }
}

.contact .head {

    img {
        position: absolute;
    }

    .second {
        opacity: 0;
    }
    .img-wrapper {
        position: relative;

        width: 16px;
        height: 16px;
        
        transition: 1.6s cubic-bezier(0.075, 0.82, 0.165, 1);

        .first, .second {
            transition: opacity 0.2s 0.2s;
        }
    }
}
.contact:hover {
    .img-wrapper {
        transform: rotateY(360deg);
        scale: 1.1;

        .first {
            opacity: 0;
        }

        .second {
            opacity: 1;
        }
    }
}
header.scrolled{
    width: calc(100% - var(--padding-horizontal) - var(--padding-horizontal) + 40px);
    margin: 0 calc(var(--padding-horizontal) - 20px);
    margin-top: 24px;
    background-color: #FFFFFF;
}
@media (max-width: 1100px) {
    h1{
        font-size: 48px !important;
    }
    h2{
        font-size: 24px !important;
    }
    h2.mono{
        font-size: 18px !important;
    }
    .mono{
        font-size: 14px !important;
    }
    p{
        font-size: 16px;
    }
    header{
        .link-wr{
            .link{
                display: none !important;
            }
            .menu{
                display: flex !important;
            }
        }
    }
}
@media (max-width: 580px) {
    h1{
        font-size: 42px !important;
    }
    h1.big{
        font-size: 42px !important;
    }
    h1.center{
        font-size: 32px !important;
    }
    h3.center{
        font-size: 14px !important;
        br{
            display: none;
        }
    }
    header{
        .menu, .contact{
            max-width: 48px;
            
            .head span{
                display: none;
            }
        }
        .contact{
            .head{
                padding-left: 24px !important;
                padding-right: 17px !important;
            }
            .first{
                opacity: 0 !important;
            }
            .second{
                opacity: 1 !important;
            }
        }
    }
    header.scrolled{
        width: 100%;
        margin: 0;
         border-radius: 0;
    }
}

.header-gap{
    height: 96px;
    pointer-events: none;
}


footer{
    display: flex;
    flex-direction: column;
    gap: 32px;

    width: 100%;

    padding: 32px var(--padding-horizontal) 48px var(--padding-horizontal);

    .content-wrapper{
        display: flex;
        gap: 48px;
    }

    .footer-wrapper{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 36px;

        padding: 48px var(--padding-horizontal) 0 var(--padding-horizontal);

        background: #FFFFFF;
        border-radius: 32px;

        overflow: hidden;

        .links{
            display: flex;
            flex-direction: column;

            min-width: fit-content;

            p{
                font-size: 16px;
                font-weight: 500;
                color: var(--secondary-color);
                margin-bottom: 6px;
            }
        }

        a{
            color: var(--accent-color);
            font-size: 16px;
            font-weight: 600;

            padding: 8px 0;

            text-decoration-line: underline;
            text-decoration-style: wavy;
            text-decoration-skip-ink: none;
            text-decoration-color: rgba(95, 0, 255, 0.24);

            text-decoration-thickness: 12%;
            text-underline-offset: 21%;

            transition: color 0.15s, text-decoration-color 0.1s;
        }
        a:hover{
            color: var(--primary-color);
            text-decoration-color: rgba(30, 30, 30, 0.24);
        }
        a.enabled{
            text-decoration-color: rgba(95, 30, 255, 0.8);
        }

        img{
            width: calc(100% + var(--padding-horizontal) * 2);
        }

    }

    .legal{
        display: flex;
        justify-content: space-between;
        align-items: center;

        padding: 0 32px 0 32px;
        width: 100%;

        a, p{
            color: var(--accent-color);

            font-size: 16px;
            opacity: 0.5;
        }
        a{
            padding: 8px 14px;
            border-radius: 32px;

            text-decoration-line: underline;
            text-decoration-style: solid;
            text-decoration-skip-ink: all;
            text-decoration-thickness: 1px;
            text-underline-offset: 1px;
            text-underline-position: from-font;
            text-decoration-color: #5F00FF30;

            transition: background-color 0.3s, text-decoration-color 0.2s;
        }
        a:hover{
            text-decoration-color: transparent;

            background-color: var(--accent-color);
            color: var(--background-color) !important;
            opacity: 1;
        }
    }
}

body, #content, footer{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100vw;
}

#content{
    overflow: hidden;
}
.page{
    max-width: 1800px;
}
header{
    max-width: 1660px !important;
}
.footer-wrapper{
    max-width: 1660px !important;
}
div.legal{
    max-width: 1660px !important;
}
@media (max-width: 1020px) {
    footer{
        .footer-wrapper{
            padding: 18px;
            padding-top: 24px;
            padding-bottom: 0;
        }

        .content-wrapper{
            flex-direction: column;
            gap: 32px;
        }
        a, p{
            font-size: 16px !important;
        }
        img{
            width: calc(100% + 18px * 2) !important;
        }

        .legal{
            padding: 0;
        }
    }
}

.page{
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 32px;

    width: 100%;

    padding: var(--padding-vertical) var(--padding-horizontal);
    color: var(--primary-color);

    *{
        z-index: 2;
    }
    h1{
        font-size: 58px;
        font-weight: 700;
        line-height: 130%;
        color: var(--accent-color);
    }
    h1.center{
        text-align: center;
    }
    h1.primary, span.primary{
        color: var(--primary-color);
    }
    h1.bold{
        font-size: 58px;
    }
    h1 span.secondary{
        color: var(--secondary-color);
        font-weight: 400;
    }
    span.trnsf{
        font-family: 'Transforma Mix';
        font-weight: 600;
        color: var(--accent-color);
    }
    h2{
        font-size: 32px;
        font-weight: 400;
        b{
            font-weight: 600;
        }
    }
    h2.big{
        width: 100%;

        text-align: center;
        font-size: 48px;
        font-weight: 500;
        color: var(--secondary-color);
    }
    h3{
        font-size: 20px;
        font-weight: 500;
    }
    h2.mono{
        max-width: 840px;

        color: var(--secondary-color);

        font-size: 24px;
        font-weight: 400;
        font-family: 'Martian Mono';
        line-height: 180%;
    }
    h3.mono{
        max-width: 840px;

        color: var(--secondary-color);

        font-size: 16px;
        font-weight: 300;
        font-family: 'Martian Mono';
        line-height: 180%;
    }
    p{
        font-size: 14px;
        font-weight: 500;
        line-height: 140%;
    }

}

p.mono{
    font-family: 'Martian Mono' !important;
    font-weight: 300;
    line-height: 180%;
    font-size: 14px;
}

.page.hero {
    align-items: center;
    gap: 18px;

    min-height: 80vh;

    h3{
        color: rgba(30, 30, 30, 0.45);
        font-size: 16px;
        font-weight: 500;
        line-height: 180%;
        letter-spacing: 0.28px;
        
        a{
            color: var(--primary-color);

            text-decoration: underline;
            text-decoration-style: wavy;
            text-decoration-skip-ink: none;
            text-decoration-color: rgba(95, 0, 255, 0.64);
            text-decoration-thickness: 8.5%;
            text-underline-offset: 35%;
        }
    }
    h3.center{
        text-align: center;
        max-width: 740px;
    }

    .wave-wrapper {
        display: flex;
        align-items: center;

        height: 300px;
        width: 100%;

        margin-left: calc( -1 * var(--padding-horizontal));
        padding-bottom: 64px;

        pointer-events: none;
        user-select: none;
        -webkit-user-drag: none;
        -webkit-user-select: none;
    }
    h1, h2, p{
        z-index: 2;
    }

}


.page.works{
    align-items: flex-start;
    height: initial;

    h3.hero{
        max-width: 720px;
        margin: 18px 0;
    }

    .card-wrapper{
        display: flex;
        gap: 24px;
    }
    @media (max-width: 960px) {
        .card-wrapper{
            flex-direction: column;
        }
    }
    
    .works-container {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
    }
    
    work-card {
        flex: 0 0 calc(50% - 12px);
        width: calc(50% - 12px);
        width: 100%;
        margin-bottom: 18px;
    }
    work-single-card {
        flex: 0 0 100%;
        width: 100%;
        margin-bottom: 18px;
    }
    work-card.hidden, work-single-card.hidden{
        margin-bottom: 0 !important;
    }
    

    .tags{
        display: flex;
        flex-wrap: wrap;
        gap: 4px;

        margin-bottom: 48px;
    }

    .tag {
        display: flex;
        align-items: center;
        gap: 18px;
    
        padding: 12px 18px;
        height: fit-content;
    
        border-radius: 51px;
        background: #2B2B2B;
        transition: background 0.3s, transform 0.3s;
        cursor: pointer;
    
        img{
            width: fit-content !important;
            height: 13px !important;
            border-radius: 0 !important;

            transition: filter 0.3s;
        }
    }

    .tag.active {
        background: var(--accent-color);
        transform: scale(1.05);
    }
    .tag.filtered{
        background: white;
        
        img{
            filter: invert(1);
        }
    }
    .tag:hover {
        background: #3B3B3B;
        transform: scale(1.02);
    }
    .tag.filtered:hover {
        background: var(--accent-color) !important;
        transform: scale(1.02);
        img{
            filter: invert(0) !important;
        }
    }

    .tag.active:hover {
        background: var(--accent-color);
        transform: scale(1.05);
    }
    .card {
        display: flex;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 18px;
        width: 100%;

        img, video{
            width: 100%;
            height: 380px;
            max-height: 380px;

            border-radius: 18px;
            object-fit: cover;
        }
        video{
            height: 630px;
            max-height: 630px;
        }
        .live-link{
            width: fit-content;
            padding: 9px 12px;
            color: #FFF;
            font-size: 14px;
            font-weight: 500;
            line-height: 140%;
            text-decoration-line: underline;
            text-decoration-style: solid;
            text-decoration-skip-ink: none;
            text-decoration-color: rgba(241, 241, 241, 0.50);
            text-decoration-thickness: 6%; /* 0.84px */
            text-underline-offset: 16.5%; /* 2.31px */
            text-underline-position: from-font;
            
            opacity: 0.5;
        }
        .info{
            display: flex;
            justify-content: space-between;
            width: 100%;

            .card-tags{
                display: flex;
                .tag{
                    border: 2px solid #222222;
                }
                .tag:not(:last-child){
                    margin-right: -20px;
                    padding-right: 24px;
                    width: fit-content;
                }
            }
        }
        .text{
            display: flex;
            flex-direction: column;
            gap: 4px;

            padding-left: 12px;

            h3{
                font-size: 24px;
                font-weight: 600;
            }
            p{
                font-size: 14px;
                font-weight: 400;

                opacity: 0.5;
            }
        }
    }
    .card.single{
        img, video{
            height: initial;
            max-height: initial;
        }
        p{
            width: 100%;

            text-align: center;
            font-size: 16px;

            opacity: 0.5;
        }
    }
}



.page.service {
    .card-wrapper {
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .card {
        position: relative;
        display: flex;
        align-items: flex-start;

        gap: 48px;

        width: 100%;
        padding: 12px 0;

        cursor: pointer;

        h1 {
            color: var(--accent-color);
            font-weight: 400;
        }

        img {
            margin-top: 24px;
            background-color: var(--accent-color);
            height: fit-content;

            transition: margin 0.3s, padding 0.4s;
        }
    }

    .span-wrapper{
        display: flex;
        flex-wrap: wrap;
        gap: 4px;

        overflow: hidden;


        span{
            display: flex;
            padding: 16px 21px;
            align-items: flex-start;
            gap: 28px;


            border-radius: 24px;
            background: #FFFFFF;

            font-weight: 500;

        }
    }
    .card{
        .span-wrapper{
            max-height: 0;
            opacity: 0;
            pointer-events: none;
            transition: max-height 1s, opacity 0.5s;

        }
    }
    .card.enabled{
        .span-wrapper{
            opacity: initial;
            pointer-events: initial;
            max-height: 100vh;

            transition: max-height 2s, opacity 0.1s;
        }
    }
    @media (max-width: 960px) {
        .card-wrapper{
            gap: 0;
        }
        .card {
            flex-direction: column;
            align-items: flex-start;
            gap: 18px;

            h1{
                font-size: 36px !important;
                font-weight: 500 !important;
            }
        }
    }
    .card:hover {
        img {
            margin-left: calc(-1 * var(--padding-horizontal));
            padding-left: var(--padding-horizontal);
        }
    }
}

.page.service-page{
    gap: 64px;

    .main{
        width: 100%;
        height: 70vh;
        background-color: #ffffff;
        border-radius: 999px;
    }
    .tag-wrapper{
        position: relative;
        display: flex;
        
        span{
            position: absolute;
            z-index: 10;
            display: flex;
            align-items: center;
            gap: 56px;

            height: 72px;
            padding: 12px 32px;
            padding-bottom: 8px;
            background-color: var(--accent-color);
            border-radius: 96px;
            color: #ffffff;
            font-size: 36px;

            cursor: grab;
            user-select: none;
            -webkit-user-drag: none;
            -webkit-user-select: none;
            -webkit-user-select: none;
            box-sizing: border-box;

            *{
                font-size: inherit;
            }
        }
        span:active{
            cursor: grabbing;
        }
    }
    .right-side{
        max-width: 530px;
        h2{
            font-size: 24px;
        }
        p{
            font-size: 18px;
        }
    }
}
@media (max-width: 960px) {
    .page.service-page{
        .wrapper{
            flex-direction: column;
        }
    }
}

body.services/ai{
    background-color: red;
}


.page.pricing{
    h2{
        font-weight: 600;
    }

    .price-wrapper{
        position: relative;

        display: flex;
        gap: 4px;

        transition: opacity 0.2s;

        span{
            display: flex;
            align-items: center;
            gap: 18px;
            width: 100%;
            padding-left: 12px;

            p{
                color: var(--accent-color);
                font-size: 24px;
                font-weight: 500;
            }
            .line{
                height: 2px;
                width: calc(100% - 12px);
                background-color: var(--accent-color);
                opacity: 0.1;
            }
        }
    }
    .price-wrapper.muted{
        opacity: 0.2;
    }

    .card-wrapper{
        display: flex;
        gap: 4px;
    }
    .card{
        display: flex;
        flex: 1;

        padding: 24px;
        max-height: 410px;

        background-color: #FFFFFF;
        border-radius: 24px;

        cursor: pointer;
        overflow: hidden;

        .left-side, .right-side{
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 24px;
            width: 100%;
        }
        .left-side{
            p{
                font-size: 16px;
                opacity: 0.8;
            }
        }
        .right-side{
            align-items: flex-end;

            max-width: 0;
            height: 100%;
            
            opacity: 0;

            overflow: hidden;

            h3{
                text-align: right;
            }
            p{
                text-align: right;
            }
            .flex-cl{
                align-items: flex-end;
            }
        }
    }
    .card{
        transition: background-color 0.3s, color 0.2s, flex 0.2s, transform 0.3s;
        .right-side{
            transition: max-width 0.5s, opacity 0.5s, transform 0.3s;
        }
    }
    .card::before{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #FFFFFF;

        transition: all 0.2s;
    }
    .card.disabled{
        opacity: 0.5;
        background-color: #1E1E1E40;
    }
    .card.selected{
        color: #FFFFFF;
    }
    .card.selected::before{
        background-color: var(--accent-color);
    }
    .card.enabled{
        flex: 2;
        z-index: 5;
        background-color: var(--accent-color);
        color: #FFFFFF;

        .right-side{
            opacity: initial;
            max-width: initial;
        }
    }
    .continue-pricing{
        position: absolute;
    }
    .continue-pricing, .book-pricing{
        overflow: hidden;
        transition: opacity 0.3s, filter 0.3s, color 0.2s, background-color 0.3s, transform 0.3s !important;
    }
    a.book-pricing{
        background-color: var(--accent-color);
        color: white;
    }
    .continue-pricing.hidden, .book-pricing.hidden{
        filter: blur(14px);
        color: white;
        background-color: white;
        transform: translateX(-50px);
        opacity: 0 !important;
        pointer-events: none;
    }

    .card.enabled {
        transform: scale(1.04);
        z-index: 5;
        
        .right-side{
            transform: initial !important;
        }
    }

    .continue-pricing{
        opacity: 0.5;
        cursor: default;
    }
    .continue-pricing.active{
        opacity: 1;
        cursor: pointer;
    }

    @media (max-width: 960px) {
        .wrap-on-mobile{
            flex-direction: row-reverse;
        }
        .card-wrapper{
            flex-direction: column;
            
            .card{
                flex: 2;
                height: fit-content;
                .right-side{
                    transform: translateX(96px);
                    max-width: initial;
                }
            }
        }
        .price-wrapper{
            opacity: 1 !important;
            padding-bottom: 60px;
            flex-direction: column;
            span{
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
                height: 100%;
                padding-left: initial;
            }
            p{
                font-size: 18px !important;
            }
            .line{
                height: 100% !important;
                width: 2px !important;
            }
        }
    }
}


.page.something-more{
    gap: 48px;

    .card-wrapper{
        display: flex;
        gap: 4px;
        width: 100%;
    }
    .card-content{
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
        gap: 4px;
    }
    .card{
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;

        padding: 21px 24px;
        width: 100%;

        background-color: #FFFFFF;
        border-radius: 24px;

        cursor: pointer;

        h3{
            font-size: 21px;
        }
        p{
            padding-top: 14px;
        }
        .preview{
            width: 100%;
            border-radius: 999px;
        }
        .absolute{
            position: absolute;
            display: flex;
            gap: 122px;

            padding: 24px 26px;
            top: -20px;
            left: 24px;
            z-index: 5;

            border-radius: 99px;
            backdrop-filter: blur(25.5px);
        }
        img, .absolute{
            transition: filter 0.3s, transform 0.3s;
        }
        img:hover, .absolute:hover{
            filter: brightness(1.2);
            transform: scale(1.02);
        }
        .absolute.ar{
            background: rgba(0, 65, 120, 0.08);
        }
        .absolute.ai{
            background: rgba(120, 40, 0, 0.08);
        }
    }

    @media (max-width: 750px) {
        .card-wrapper{
            flex-direction: column;
            gap: 32px;
            .card{
                gap: 2px;
                width: 100%;
            }
            .preview{
                aspect-ratio: 1 / 1;
                object-fit: cover;
            }
        }
    }
}


.page.blog{
    .card-wrapper{
        display: flex;
        gap: 4px;

        /* cursor: grab; */
    }

    .card{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 21px;

        width: 100%;
        min-width: 450px;
        max-width: 450px;
        padding: 0 21px 21px 21px;

        border-radius: 24px;
        background-color: #FFFFFF;
        color: var(--secondary-color);

        cursor: pointer;
        /* cursor: grab; */
        
        overflow: hidden;

        *{
            z-index: 5;
        }
        .text{
            display: flex;
            flex-direction: column;
            gap: 8px;
            p{
                opacity: 0.5;
            }
        }
        .img-wrapper{
            position: relative;
            display: flex;
            width: 100%;

            transition: scale 0.3s;
        }
        img{
            width: calc(100% + 21px + 21px + 3px);
            object-fit: cover;
            margin-left: -21px;
            margin-right: -21px;
        }
        img.hidden{
            position: absolute;
            mask-image: linear-gradient(to bottom, transparent 0%, black 50%, black 100%);
            mask-size: 100% 200%;
            mask-position: 0 -100%;
            mask-repeat: no-repeat;
            transition: mask-position 0.6s, filter 0.3s;
        }
    }
    .card:hover img.hidden{
        mask-position: 0 100%;
        filter: brightness(1.1);
    }
    .card:hover .img-wrapper{
        scale: 1.02;
    }
    @media (max-width: 980px){
        .card{
            min-width: 280px !important;
        }
    }
    .card{
        transition: opacity 0.2s;
        img{
            transition: filter 0.5s;
        }
    }
    .card:not(.subscribe):hover{
        opacity: 0.9;
    }
    .card.subscribe{
        position: relative;
        display: flex;
        justify-content: flex-end;
        gap: 6px;

        max-width: 390px;
        min-width: 390px;

        background: linear-gradient(0deg, rgba(95, 0, 255, 0.22) 0%, rgba(95, 0, 255, 0.22) 100%), linear-gradient(180deg, #F4EDFF 0%, #5F00FF 100%), #5F00FF;
        color: var(--background-color);

        overflow: hidden;
    }
    .card.subscribe::before{
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 50%;

        background: radial-gradient(75.52% 55.98% at 50% 100%, #5F00FF 0%, rgba(95, 0, 255, 0.00) 100%), linear-gradient(180deg, #5F00FF 0%, #5F00FF 100%), #5F00FF;
        border-radius: 512px;
        filter: blur(20px);

        opacity: 0.12;
        transform: translateY(440px) translate3d(-0px, 0, 120px);

        transition: opacity 1.2s, transform 1.8s ease-out, filter 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .card.subscribe:hover::before{
        opacity: 1;
        transform: initial;
        filter: blur(220px);
    }
    .card.subscribe::after{
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: 50%;

        background: radial-gradient(75.52% 55.98% at 50% 100%, #5F00FF 0%, rgba(95, 0, 255, 0.00) 100%), linear-gradient(180deg, #5F00FF 0%, #5F00FF 100%), #5F00FF;
        border-radius: 512px;
        filter: blur(20px);

        opacity: 0.12;
        transform: translateY(500px) translate3d(-0px, 0, 120px);

        transition: opacity 1.3s, transform 2s ease-out, filter 2.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .card.subscribe:hover::after{
        opacity: 1;
        transform: initial;
        filter: blur(220px);
    }
}


body.custom-vs-framer, body.atomic, body.custom-cms-vs-wordpress{
    canvas{
        opacity: 0;
        display: none;
    }
}

.page.hero.blog-page{
    z-index: 12;
    align-items: center;
    background-color: var(--background-color);

    .wrapper{
        position: relative;

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

        height: 520px;
        width: 65vw;
        max-width: 1200px;
        min-width: fit-content;
        margin-bottom: 24px;
        padding: 96px;

        background-color: var(--accent-color);
        border-radius: 64px;
        overflow: hidden;

        h1{
            color: #FFFFFF;
            font-weight: 400;
            text-align: center;

            span{
                color: #FFFFFF;
            }
        }
        li{
            margin-bottom: 12px;
        }
        img{
            position: absolute;
            
            top: 0; 
            left: 0;
            min-width: 100%;
            min-height: 100%;
        }
    }
    .blog-wrapper{
        display: flex;
        flex-direction: column;
        max-width: 720px;
        gap: 18px;


        h2{
            margin-top: 12px;
            font-size: 32px;
            font-weight: 600;
        }
        p{
            font-size: 18px;
            font-weight: 400;
            line-height: 180%;
        }
    }
}



.page.legal{
    gap: 12px;
    background-color: var(--background-color);
    z-index: 23;

    h1, h2, p{
        max-width: 720px;
    }
    h1{
        font-size: 48px;
    }
    h2{
        font-size: 24px;
        font-weight: 600;
        padding-top: 12px;
    }
}



.page.pricing-page{
    color: var(--accent-color);

    p{
        font-size: 16px;
    }
    p.description{
        opacity: 0.5;
        font-size: 14px;
    }
    hr{
        border: 1px solid var(--accent-color);
        opacity: 0.2;
        width: 100%;
    }
    .card-wrapper{
        display: flex;
        gap: 6px;
    }
    .card{
        display: flex;
        flex-direction: column;
        gap: 12px;

        flex: 1;
    }

    .hidden{
        opacity: 0;
        filter: blur(6px);
        pointer-events: none;
    }
    .card:hover .hidden{
        opacity: 1;
        filter: blur(0);
        pointer-events: initial;
    }
    .asset{
        padding-bottom: 8px;
    }
    .asset-info{
        gap: 12px;
        row-gap: 4px;

        p{
            opacity: 0.5;
        }
    }

    @media (max-width: 980px) {
        .card-wrapper{
            flex-direction: column;
            gap: 48px;
        }
        .wave-img{
            display: none;
        }
        h1:not(:first-child){
            margin-top: 32px;
        }
    }
}

.accordion-js{
    cursor: pointer;

    p:first-child{
        display: flex;
        align-items: center;
        gap: 8px;

        .accordion-js-chevron{
            width: 9px;
            transition: transform 0.3s;
        }
    }
}
.accordion-js-item{
    max-height: 0;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: opacity 0.3s, max-height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    overflow: hidden;
}
.accordion-js-item.active{
    transform: scaleY(1);
    opacity: 1;
}
.animated {
    display: inline-block;
    animation: pulseText 3s cubic-bezier(0.2, 0.66, 0.1, 0.7) infinite;
    transform-origin: center;
}

@keyframes pulseText {
    0%, 100% {
        font-weight: 400;
        letter-spacing: 0px;
        transform: scaleX(1);
        margin: 0px;
    }
    50% {
        font-weight: 700;
        letter-spacing: 2px;
        transform: scaleX(1.08);
        margin: 0 15px;
    }
}


.animated-reverse {
    display: inline-block;
    animation: pulseTextReverse 3s cubic-bezier(0.2, 0.66, 0.1, 0.7) infinite;
    transform-origin: center;
}

@keyframes pulseTextReverse {
    0%, 100% {
        font-weight: 400;
    }
    50% {
        font-weight: 200;
    }

}


.page.error{
    padding-top: 30vh;
    justify-content: flex-start;
    align-items: center;
    text-align: center;

    height: 90vh;
}





.scroll-x{
    overflow-x: auto;
    margin: 0 calc(-1 * var(--padding-horizontal));
    padding: 0 calc(var(--padding-horizontal));
}



html, body {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  transition: background 0.3s ease;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}



.default-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.default-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.default-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.default-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  transition: background 0.3s ease;
}

.default-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}



.transparent-scroll {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.transparent-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.transparent-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.transparent-scroll::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 4px;
}

.transparent-scroll::-webkit-scrollbar-thumb:hover {
  background: transparent;
}









.page.loading{
    height: 80vh;
}
.loader {
  position: relative;
  padding-top: 100px;
  width: 40px;
  margin: auto;

  .circle {
    position: absolute;
    width: 38px;
    height: 38px;
    opacity: 0;
    transform: rotate(225deg);
    animation-iteration-count: infinite;
    animation-name: orbit;
    animation-duration: 5.5s;
    
    &:after {
      content: '';
      position: absolute;
      width: 5px;
      height: 5px;
      border-radius: 5px;
      background: var(--accent-color); /* Pick a color */
    }
    
    &:nth-child(2) {  animation-delay: 240ms; }
    &:nth-child(3) {  animation-delay: 480ms; }
    &:nth-child(4) {  animation-delay: 720ms; }
    &:nth-child(5) {  animation-delay: 960ms; }
  }
}

@keyframes orbit {
    0% {
        transform: rotate(225deg);
        opacity: 1;
        animation-timing-function: ease-out;
    }

    7% {
        transform: rotate(345deg);
        animation-timing-function: linear;
    }

    30% {
        transform: rotate(455deg);
        animation-timing-function: ease-in-out;
    }

    39% {
        transform: rotate(690deg);
        animation-timing-function: linear;
    }

    70% {
        transform: rotate(815deg);
        opacity: 1;
        animation-timing-function: ease-out;
    }

    75% {
        transform: rotate(945deg);
        animation-timing-function: ease-out;
    }

    76% {
        transform: rotate(945deg);
        opacity: 0;
    }

    100% {
        transform: rotate(945deg);
        opacity: 0;
    }
}



canvas{
    z-index: 2;
    pointer-events: none;
    position: absolute;

    opacity: 0.4;
    margin-top: 0;
    top: 40vh;
    
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    overflow: visible;
}
@media (max-width: 920px) {
    canvas{
        display: none;
    }
}


body.works{
    background-color: #222222;
    color: white !important;

    header, .page{
        *{
            color: white !important;
        }
    }

    header{
        .logo{
            filter: brightness(0) contrast(100%) invert(100%);
        }

        .after-bg::after {
            background-color: rgba(256, 256, 256, 0.04);
        }
        .after-bg:hover::after {
            background: rgba(256, 256, 256, 0.08);
        }
        .after-bg.contact::after{
            background-color: #5F00FF;
        }
        .with-popup.active::after{
            background-color: rgba(256, 256, 256, 0.08);
            inset: 0;
        }
        .link-wr a:not(.contact) img, .invert-on-works {
            filter: invert(100%);
        }
        .with-popup .popup *{
            color: var(--secondary-color) !important;
        }
        .with-popup .popup .book{
            color: #FFFFFF !important;
        }
    }
    header.scrolled{
        background-color: #0000003D;
        backdrop-filter: blur(64px);
        
    }

    canvas{
        filter: invert(100%) contrast(0);
        opacity: 0.7;
    }

    footer{

        background: radial-gradient(100% 100% at 50% 100%, rgba(95, 0, 255, 0.80) 0%, #222 100%);
        color: initial;

        .footer-wrapper{
            background: rgba(255, 255, 255, 0.26);
            
            a, p{
                color: #FFFFFF !important;
                text-decoration-color: #FFFFFF30 !important;
            }
            p{
                opacity: 0.5;
            }
            img{
                opacity: 0.1;
            }
        }

        .content-wrapper{
            color: var(--primary-color) !important;
        }

        .legal{
            a, p{
                color: var(--background-color) !important;
                opacity: 0.8;
            }
        }

    }


    .wave-wrapper{
        img{
            filter: brightness(0) contrast(100%) invert(100%);
        }
    }
}



body.legal, body.blog, body.team, body.privacy, body.terms, body.pricing{
    canvas{
        display: none;
    }
}

.with-popup.menu{
    display: none !important;
}

.margin-to-window{
    margin: 0 calc(-1 * var(--padding-horizontal)) 0 calc(-1 * var(--padding-horizontal));
}

.page-transition {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--accent-color);
    z-index: 20222;
    transform: translateX(100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.page-transition.slide-in {
    transform: translateX(0);
}

.page-transition.slide-out {
    transform: translateX(-100%);
}

.page-transition.slide-fast-out {
    /* opacity: 0.5; */
    transform: translateX(-100%);
}