:root {

    --bg: #080808;

    --surface: #101010;

    --surface-2: #151515;

    --fg: #f7f5f2;

    --muted: #96938e;

    --line: #292929;


    /* COLORI ISPIRATI A INSTAGRAM */

    --orange: #ff8a3d;

    --pink: #ff3d81;

    --purple: #b45cff;

    --blue: #675cff;


    --gradient:
        linear-gradient(
            135deg,
            #ff8a3d 0%,
            #ff3d81 34%,
            #b45cff 68%,
            #675cff 100%
        );


    --max: 1440px;

    --ease:
        cubic-bezier(
            .2,
            .8,
            .2,
            1
        );
}


/* RESET */

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


html {
    scroll-behavior: smooth;
}


body {

    background: var(--bg);

    color: var(--fg);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.45;

}


a {

    color: inherit;

    text-decoration: none;

}


button,
input,
select,
textarea {

    font: inherit;

}


button {

    cursor: pointer;

}


/* HEADER */

.header {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    z-index: 100;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 24px 4vw;

    background:
        rgba(
            8,
            8,
            8,
            .72
        );

    backdrop-filter: blur(18px);

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            .07
        );

}


.logo {

    display: flex;

    flex-direction: column;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: .08em;

    line-height: .9;

}


.logo span:last-child {

    background: var(--gradient);

    background-clip: text;

    -webkit-background-clip: text;

    color: transparent;

}


.header nav {

    display: flex;

    gap: 28px;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: .05em;

}


.header nav a {

    color: #bcb9b5;

    transition: .25s;

}


.header nav a:hover {

    color: #fff;

}


.menu-button {

    display: none;

    background: none;

    border: 0;

    width: 32px;

}


.menu-button i {

    display: block;

    height: 1px;

    background: #fff;

    margin: 7px 0;

}


/* HERO */

.hero {

    min-height: 100vh;

    padding:
        150px
        5vw
        35px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;


    position: relative;

    overflow: hidden;

}


.hero-glow {

    position: absolute;

    width: 60vw;

    height: 60vw;

    right: -20vw;

    top: 0;

    background:
        radial-gradient(
            circle,
            rgba(
                255,
                61,
                129,
                .24
            ),
            rgba(
                103,
                92,
                255,
                .1
            ) 40%,
            transparent 70%
        );

    filter: blur(25px);

    pointer-events: none;

}


.hero-top,
.hero-bottom {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: var(--muted);

    font-size: 10px;

    letter-spacing: .14em;

    text-transform: uppercase;

}


.availability b {

    display: inline-block;

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: #b7ff4a;

    margin-right: 8px;

}


.hero-content {

    position: relative;

    z-index: 1;

    max-width: 1050px;

}


.hero-kicker {

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: .12em;

    color: var(--muted);

    margin-bottom: 28px;

}


.hero h1,
.page-hero h1,
.contact-heading h1,
.client-login h1,
.project-page h1,
.admin-login h1,
.admin-page h1 {

    font-size:
        clamp(
            64px,
            10vw,
            160px
        );

    line-height: .82;

    letter-spacing: -.075em;

    font-weight: 700;

}


em {

    font-style: normal;

    background: var(--gradient);

    background-clip: text;

    -webkit-background-clip: text;

    color: transparent;

}


.hero-copy {

    max-width: 530px;

    color: var(--muted);

    font-size: 18px;

    margin-top: 38px;

}


.hero-actions {

    display: flex;

    align-items: center;

    gap: 28px;

    margin-top: 38px;

}


/* BUTTON */

.button {

    display: inline-flex;

    align-items: center;

    gap: 30px;

    border: 1px solid var(--line);

    padding: 15px 20px;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: .06em;

    transition:
        .35s
        var(--ease);

}


.button span {

    font-size: 18px;

}


.button.primary {

    background: #f5f3ef;

    color: #090909;

    border-color: #f5f3ef;

}


.button.primary:hover {

    transform: translateY(-3px);

    box-shadow:
        0
        12px
        40px
        rgba(
            244,
            63,
            145,
            .2
        );

}


.button.outline {

    background: transparent;

    color: #fff;

}


.button.outline:hover {

    border-color: #fff;

}


.text-link {

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: .07em;

    color: #aaa;

}


.text-link span {

    margin-left: 8px;

}


/* SECTIONS */

.section {

    max-width: var(--max);

    margin: auto;

    padding:
        150px
        5vw;

}


.section-label {

    display: block;

    color: #85817c;

    font-size: 10px;

    letter-spacing: .16em;

    text-transform: uppercase;

}


/* INTRO */

.intro {

    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 8vw;

    border-top:
        1px solid
        var(--line);

}


.intro h2,
.statement h2,
.client-banner h2,
.contact-banner h2 {

    font-size:
        clamp(
            42px,
            6vw,
            88px
        );

    line-height: .9;

    letter-spacing: -.06em;

    font-weight: 600;

}


.intro p {

    max-width: 600px;

    color: var(--muted);

    font-size: 18px;

    margin-top: 40px;

}


/* SERVIZI */

.services-preview {

    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 8vw;

}


.service-list {

    border-top:
        1px solid
        var(--line);

}


.service-list a {

    display: grid;

    grid-template-columns:
        45px
        1fr
        1fr
        30px;

    align-items: center;

    gap: 20px;

    padding: 25px 0;

    border-bottom:
        1px solid
        var(--line);

    transition: .3s;

}


.service-list a:hover {

    padding-left: 12px;

}


.service-list span,
.service-list small {

    font-size: 10px;

    color: var(--muted);

    text-transform: uppercase;

    letter-spacing: .1em;

}


.service-list strong {

    font-size: 22px;

    font-weight: 500;

}


.service-list b {

    font-weight: 400;

    text-align: right;

}


/* PORTFOLIO */

.selected-work {

    border-top:
        1px solid
        var(--line);

}


.work-grid {

    display: grid;

    grid-template-columns:
        repeat(
            2,
            1fr
        );

    gap: 30px;

    margin-top: 60px;

}


.work-card {

    display: block;

}


.work-large {

    grid-column: span 2;

}


.visual {

    aspect-ratio: 1.35 / 1;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #181818,
            #242424
        );

}


.work-large .visual {

    aspect-ratio: 2.2 / 1;

}


.visual::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        var(--gradient);

    opacity: .12;

    mix-blend-mode: screen;

    transition:
        .5s
        var(--ease);

}


.work-card:hover .visual::after {

    opacity: .35;

}


.visual span {

    position: absolute;

    left: 22px;

    bottom: 20px;

    z-index: 2;

    font-size: 10px;

    letter-spacing: .12em;

    color: #fff;

}


/* VARIANTI */

.visual-1 {

    background:
        radial-gradient(
            circle at 70% 30%,
            #a957ff,
            #151515 48%
        ),
        #151515;

}


.visual-2 {

    background:
        radial-gradient(
            circle at 30% 60%,
            #ff7043,
            #141414 48%
        ),
        #141414;

}


.visual-3 {

    background:
        radial-gradient(
            circle at 65% 45%,
            #f23f91,
            #151515 45%
        ),
        #151515;

}


.visual-4 {

    background:
        radial-gradient(
            circle at 40% 40%,
            #685bff,
            #151515 50%
        ),
        #151515;

}


.work-meta {

    display: flex;

    justify-content: space-between;

    padding: 15px 0;

    border-bottom:
        1px solid
        var(--line);

    font-size: 13px;

}


.work-meta span {

    color: var(--muted);

}


/* APPROCCIO */

.statement {

    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 8vw;

    align-items: center;

}


.statement-mark {

    width: 160px;

    height: 160px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    font-size: 80px;

    font-weight: 800;

    background: var(--gradient);

    color: #080808;

}


.statement .button {

    margin-top: 50px;

}


/* CLIENTI */

.client-banner {

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 40px;

    background:
        linear-gradient(
            110deg,
            rgba(
                255,
                61,
                129,
                .07
            ),
            rgba(
                103,
                92,
                255,
                .07
            )
        );

    border-top:
        1px solid
        var(--line);

    border-bottom:
        1px solid
        var(--line);

}


.client-banner h2 {

    margin-top: 25px;

}


/* CONTATTI */

.contact-banner {

    min-height: 70vh;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.contact-banner h2 {

    margin:
        35px
        0
        50px;

}


.contact-email {

    font-size:
        clamp(
            25px,
            4vw,
            55px
        );

    border-bottom:
        1px solid
        var(--line);

    padding-bottom: 10px;

    max-width: max-content;

}


.contact-email span {

    font-size: .6em;

}


/* FOOTER */

footer {

    padding:
        50px
        5vw
        25px;

    border-top:
        1px solid
        var(--line);

}


.footer-top,
.footer-bottom {

    display: flex;

    justify-content: space-between;

    gap: 30px;

}


.footer-links {

    display: flex;

    gap: 25px;

    font-size: 12px;

    color: var(--muted);

}


.footer-bottom {

    margin-top: 80px;

    padding-top: 15px;

    border-top:
        1px solid
        var(--line);

    font-size: 10px;

    color: var(--muted);

    text-transform: uppercase;

    letter-spacing: .08em;

}


/* PAGINE INTERNE */

.page-hero {

    max-width: var(--max);

    margin: auto;

    padding:
        180px
        5vw
        100px;

}


.page-hero p {

    max-width: 650px;

    color: var(--muted);

    font-size: 18px;

    margin-top: 45px;

}


.portfolio {

    padding-top: 30px;

}


.filter-row {

    display: flex;

    justify-content: space-between;

    padding: 18px 0;

    border-top:
        1px solid
        var(--line);

    border-bottom:
        1px solid
        var(--line);

    font-size: 10px;

    color: var(--muted);

    letter-spacing: .12em;

}


/* ABOUT */

.about-hero {

    padding-bottom: 40px;

}


.about-layout {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 8vw;

    align-items: start;

}


.about-placeholder {

    aspect-ratio: 4 / 5;

    background:
        linear-gradient(
            135deg,
            #1d1d1d,
            #0d0d0d
        );

    display: grid;

    place-items: end start;

    padding: 20px;

    color: #777;

    font-size: 10px;

    letter-spacing: .12em;

}


.about-copy {

    max-width: 650px;

}


.about-copy p {

    color: var(--muted);

    font-size: 18px;

    margin-bottom: 30px;

}


.about-copy .lead {

    font-size: 28px;

    color: #fff;

    line-height: 1.25;

}


.about-copy .button {

    margin-top: 25px;

}


/* SERVIZI */

.service-detail {

    padding-top: 20px;

}


.service-detail article {

    display: grid;

    grid-template-columns: 150px 1fr;

    gap: 30px;

    padding: 55px 0;

    border-top:
        1px solid
        var(--line);

}


.service-number {

    font-size: 12px;

    color: var(--muted);

}


.service-detail h2 {

    font-size:
        clamp(
            40px,
            5vw,
            75px
        );

    line-height: .9;

    letter-spacing: -.06em;

    font-weight: 600;

}


.service-detail p {

    max-width: 650px;

    color: var(--muted);

    font-size: 17px;

    margin: 25px 0;

}


.service-detail span {

    font-size: 10px;

    color: #777;

    letter-spacing: .12em;

}


/* AREA CLIENTI */

.client-login,
.contact-page,
.project-page,
.admin-login,
.admin-page {

    max-width: var(--max);

    min-height: 100vh;

    margin: auto;

    padding:
        180px
        5vw
        100px;

}


.client-login > div {

    max-width: 900px;

}


.client-login p {

    max-width: 600px;

    color: var(--muted);

    font-size: 18px;

    margin: 45px 0;

}


.client-login form {

    display: flex;

    border-bottom:
        1px solid
        var(--line);

    padding-bottom: 12px;

}


.client-login input {

    flex: 1;

    background: transparent;

    border: 0;

    outline: 0;

    color: #fff;

    font-size: 30px;

    text-transform: uppercase;

}


.client-login small {

    display: block;

    color: #666;

    font-size: 9px;

    letter-spacing: .1em;

    margin-top: 25px;

}


#msg {

    color: #ff7777;

    font-size: 13px;

    margin-top: 20px;

}


/* PROGETTO CLIENTE */

.project-page h1 {

    max-width: 1000px;

    margin:
        40px
        0;

}


.project-type {

    font-size: 10px;

    color: var(--muted);

    letter-spacing: .14em;

}


.project-preview {

    margin-top: 70px;

    aspect-ratio: 2 / 1;

    background:
        radial-gradient(
            circle at 60% 40%,
            rgba(
                244,
                63,
                145,
                .35
            ),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #171717,
            #0d0d0d
        );

    display: grid;

    place-items: center;

    color: #777;

    font-size: 10px;

    letter-spacing: .12em;

}


.project-page > p {

    max-width: 650px;

    color: var(--muted);

    font-size: 17px;

    margin-top: 35px;

}


.project-note {

    max-width: 650px;

    margin-top: 30px;

    padding-top: 20px;

    border-top:
        1px solid
        var(--line);

    font-size: 11px;

    color: #666;

}


/* CONTATTI */

.contact-page {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 8vw;

}


.contact-heading h1 {

    margin:
        40px
        0;

}


.contact-heading p {

    max-width: 500px;

    color: var(--muted);

    font-size: 17px;

}


.contact-form {

    border-top:
        1px solid
        var(--line);

}


.contact-form label {

    display: block;

    padding: 25px 0;

    border-bottom:
        1px solid
        var(--line);

    font-size: 10px;

    color: #777;

    text-transform: uppercase;

    letter-spacing: .1em;

}


.contact-form input,
.contact-form select,
.contact-form textarea {

    display: block;

    width: 100%;

    margin-top: 12px;

    background: transparent;

    border: 0;

    outline: 0;

    color: #fff;

    font-size: 17px;

    padding: 0;

    resize: vertical;

}


.contact-form select option {

    background: #111;

}


.contact-form input::placeholder,
.contact-form textarea::placeholder {

    color: #555;

}


.contact-form .button {

    margin-top: 30px;

}


/* ADMIN */

.admin-login {

    max-width: 800px;

}


.admin-login form {

    max-width: 500px;

    margin-top: 60px;

}


.admin-login input {

    display: block;

    width: 100%;

    background: none;

    border: 0;

    border-bottom:
        1px solid
        var(--line);

    padding: 20px 0;

    color: #fff;

    outline: 0;

}


.admin-login .button {

    margin-top: 30px;

}


.admin-page h1 {

    margin:
        40px
        0
        80px;

}


.admin-list {

    border-top:
        1px solid
        var(--line);

    max-width: 900px;

}


.admin-list a {

    display: grid;

    grid-template-columns:
        100px
        1fr
        30px;

    gap: 20px;

    padding: 25px 0;

    border-bottom:
        1px solid
        var(--line);

}


.admin-list a > span,
.admin-list small {

    color: var(--muted);

    font-size: 10px;

}


.admin-list strong {

    display: block;

    font-size: 20px;

    font-weight: 500;

}


.admin-list small {

    display: block;

    margin-top: 5px;

}


/* ANIMAZIONI */

.reveal {

    opacity: 0;

    transform:
        translateY(28px);

    transition:
        opacity .8s var(--ease),
        transform .8s var(--ease);

}


.reveal.visible {

    opacity: 1;

    transform: none;

}


/* MOBILE */

@media (max-width: 800px) {


    .header {

        padding:
            20px
            5vw;

    }


    .header nav {

        display: none;

        position: absolute;

        top: 72px;

        left: 0;

        right: 0;

        background: #080808;

        padding:
            25px
            5vw;

        border-bottom:
            1px solid
            var(--line);

        flex-direction: column;

        gap: 18px;

    }


    .header nav.open {

        display: flex;

    }


    .menu-button {

        display: block;

    }


    .hero {

        padding:
            125px
            5vw
            25px;

        min-height: 100svh;

    }


    .hero h1,
    .page-hero h1,
    .contact-heading h1,
    .client-login h1,
    .project-page h1,
    .admin-login h1,
    .admin-page h1 {

        font-size:
            clamp(
                55px,
                17vw,
                100px
            );

    }


    .hero-copy {

        font-size: 16px;

    }


    .hero-actions {

        align-items: flex-start;

        flex-direction: column;

        gap: 20px;

    }


    .hero-top,
    .hero-bottom {

        font-size: 8px;

    }


    .section,
    .page-hero,
    .client-login,
    .contact-page,
    .project-page,
    .admin-login,
    .admin-page {

        padding-left: 5vw;

        padding-right: 5vw;

    }


    .section {

        padding-top: 100px;

        padding-bottom: 100px;

    }


    .intro,
    .services-preview,
    .statement,
    .about-layout,
    .contact-page {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .intro p {

        margin-top: 25px;

    }


    .service-list a {

        grid-template-columns:
            30px
            1fr
            30px;

    }


    .service-list small {

        display: none;

    }


    .work-grid {

        grid-template-columns: 1fr;

        gap: 25px;

    }


    .work-large {

        grid-column: span 1;

    }


    .work-large .visual {

        aspect-ratio: 1.35 / 1;

    }


    .statement-mark {

        width: 100px;

        height: 100px;

        font-size: 50px;

    }


    .client-banner {

        align-items: flex-start;

        flex-direction: column;

    }


    .footer-top,
    .footer-bottom {

        flex-direction: column;

    }


    .footer-bottom {

        margin-top: 45px;

    }


    .footer-links {

        flex-wrap: wrap;

    }


    .service-detail article {

        grid-template-columns:
            45px
            1fr;

        gap: 15px;

    }


    .service-detail h2 {

        font-size: 42px;

    }


    .client-login form {

        flex-direction: column;

        gap: 20px;

        border: 0;

    }


    .client-login input {

        border-bottom:
            1px solid
            var(--line);

        padding: 15px 0;

    }


    .contact-page {

        padding-top: 140px;

    }


    .contact-form {

        margin-top: 20px;

    }

}

/* AREA CLIENTI */

.client-login {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 6vw;
}

.client-login > div {
    width: 100%;
    max-width: 650px;
}

.client-login h1 {
    font-size: clamp(50px, 8vw, 100px);
    line-height: 0.95;
    margin: 25px 0;
}

.client-login p {
    max-width: 500px;
    margin-bottom: 35px;
}

#clientForm {
    display: flex;
    gap: 12px;
    width: 100%;
}

#clientCode {
    flex: 1;
    min-width: 0;
    height: 58px;
    padding: 0 20px;

    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: white;

    font-family: inherit;
    font-size: 16px;

    outline: none;
    border-radius: 0;
}

#clientCode:focus {
    border-color: white;
}

#clientCode::placeholder {
    color: rgba(255,255,255,0.45);
}

#clientForm button {
    flex-shrink: 0;
    cursor: pointer;
}

#msg {
    margin-top: 20px;
    min-height: 20px;
    color: #ff7777;
    font-size: 14px;
}

.client-login small {
    display: block;
    margin-top: 30px;
    opacity: 0.4;
}


@media (max-width: 700px) {

    #clientForm {
        flex-direction: column;
    }

    #clientCode {
        width: 100%;
    }

    #clientForm button {
        width: 100%;
    }

}

