*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#0f1222;
    color:white;
    overflow-x:hidden;
}

/* LOGO */

.logo{
    position:fixed;
    left:60px;
    top:40px;
    font-weight:700;
    letter-spacing:2px;
    z-index:2000;
    .logo img{
    height:32px;
    width:auto;
    display:block;
}
}

/* MENU BUTTON */

.menu-button{
    position:fixed;
    right:60px;
    top:40px;
    background:none;
    border:none;
    font-size:32px;
    color:white;
    cursor:pointer;
    z-index:2000;
}

.close-button{
    position:fixed;
    top:40px;
    right:60px;

    width:60px;
    height:60px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:none;
    border:none;

    color:white;
    font-size:36px;
    font-family:'Inter',sans-serif;
    line-height:1;

    cursor:pointer;

    z-index:99999;

    transition:.2s ease;
}

.close-button:hover{
    color:#4e63ff;
}

/* OVERLAY */

.overlay{
    position:fixed;
    inset:0;
    background:#0d0d0d;

    display:flex;
    justify-content:flex-start;
    align-items:center;

    padding-left:10%;

    opacity:0;
    visibility:hidden;
    transition:.3s ease;

    z-index:1500;
}

.overlay.active{
    opacity:1;
    visibility:visible;
}

/* NAVIGATION */

.overlay-nav{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
}

.overlay-nav a{
    font-size:clamp(3rem,6vw,6rem);
    text-decoration:none;
    color:white;
    font-weight:700;
    transition:.2s;
}

.overlay-nav a:hover{
    color:#4e63ff;
    transform:translateX(12px);
}

/* HERO */

.hero{
    height:100vh;
    padding:120px;

    display:flex;
    flex-direction:column;
    justify-content:center;

    background:linear-gradient(to right,#171717,#0c1025);
}

.vertical-text{
    position:absolute;
    left:60px;
    top:320px;

    writing-mode:vertical-rl;
    transform:rotate(180deg);

    letter-spacing:4px;
    font-size:12px;
}

.small-title{
    display:block;
    margin-bottom:15px;
    opacity:.8;
}

.hero h1{
    font-size:clamp(4rem,8vw,7rem);
    line-height:1;
}

.scroll-down{
    margin-top:40px;
    font-size:14px;
}

.hero-footer{
    display:flex;
    justify-content:space-between;
    margin-top:120px;
    font-size:14px;
}

/* DARK SECTION */

.section-dark{
    background:#111;
    padding:140px 10%;

    display:grid;
    grid-template-columns:250px 1fr 1fr;

    gap:50px;
}

.section-label{
    writing-mode:vertical-rl;
    transform:rotate(180deg);

    letter-spacing:4px;
    font-size:12px;
}

.skills{
    line-height:2;
    opacity:.8;
}

.skills-text h2{
    font-size:2.2rem;
    margin-bottom:30px;
}

.skills-text h3{
    margin-bottom:20px;
}

/* LIGHT SECTION */

.section-light{
    background:#fff;
    color:#000;
    padding:140px 10%;
}

.service-row{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:50px;
}

/* ABOUT */

.about{
    background:#111;
    padding:140px 10%;

    display:grid;
    grid-template-columns:150px 1fr 1fr;

    gap:40px;
}

.about h2{
    font-size:4rem;
    max-width:700px;
}

/* FOOTER */

footer{
    background:#0c0c0c;

    padding:60px 10%;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

.footer-links a{
    text-decoration:none;
    color:white;
    margin-left:20px;
    font-size:12px;
}

.hero-subtitle{
    margin-top:20px;
    max-width:700px;

    font-size:1.25rem;
    line-height:1.6;

    opacity:.85;
}

/* MOBILE */

@media(max-width:900px){

    .hero{
        padding:60px;
    }

    .vertical-text{
        display:none;
    }

    .section-dark,
    .about{
        display:block;
    }

    .service-row{
        grid-template-columns:1fr;
    }

    .about h2{
        font-size:2.5rem;
        margin-bottom:30px;
    }

    footer{
        flex-direction:column;
        gap:20px;
    }

    .overlay{
        padding-left:40px;
    }

    .overlay-nav a{
        font-size:clamp(2rem,10vw,4rem);
    }
}

/* =========================
   LEGAL PAGES
========================= */

.logo a{
    color:white;
    text-decoration:none;
}

.legal-page{
    min-height:100vh;

    display:grid;
    grid-template-columns:150px 1fr;

    gap:80px;

    padding:180px 10% 100px;
}

.legal-label{
    writing-mode:vertical-rl;
    transform:rotate(180deg);

    letter-spacing:4px;
    font-size:12px;

    opacity:.5;
}

.legal-content{
    max-width:800px;
}

.legal-content h1{
    font-size:clamp(3rem,7vw,5rem);
    line-height:1;
    margin-bottom:60px;
}

.legal-content h2{
    font-size:.8rem;

    text-transform:uppercase;
    letter-spacing:2px;

    opacity:.6;

    margin-top:50px;
    margin-bottom:15px;
}

.legal-content p{
    line-height:1.9;
    margin-bottom:20px;

    color:rgba(255,255,255,0.9);
}

.legal-content a{
    color:white;
    text-decoration:none;

    border-bottom:1px solid rgba(255,255,255,.3);

    transition:.2s;
}

.legal-content a:hover{
    color:#4e63ff;
    border-color:#4e63ff;
}

@media(max-width:900px){

    .legal-page{
        display:block;
        padding:140px 40px 80px;
    }

    .legal-label{
        writing-mode:initial;
        transform:none;

        margin-bottom:30px;
    }

    .legal-content h1{
        margin-bottom:40px;
    }

}
