* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #070707;
    --bg-soft: #0d0d0d;
    --card: #111111;
    --white: #f2f2f2;
    --gray: #858585;
    --dark-gray: #242424;
    --accent: #b8ff00;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: var(--white);
    color: #000;
}

/* LOADER */

#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
    transition: opacity .7s ease, visibility .7s ease;
}

#loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-family: "Space Grotesk", sans-serif;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -3px;
}

.loader-logo span {
    color: var(--accent);
}

.loader-bar {
    width: 180px;
    height: 2px;
    background: #222;
    overflow: hidden;
}

.loader-bar div {
    width: 0;
    height: 100%;
    background: var(--white);
    animation: loading 1.4s ease forwards;
}

@keyframes loading {
    to {
        width: 100%;
    }
}

/* CURSOR */

.cursor,
.cursor-follower {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor {
    width: 7px;
    height: 7px;
    background: var(--white);
}

.cursor-follower {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,.5);
    transition: width .2s, height .2s;
}

/* NAVBAR */

.navbar {
    height: 85px;
    width: 100%;
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 1000;
    background: rgba(7,7,7,.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.logo {
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: #777;
    margin-left: 5px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: #888;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: .25s;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-button {
    padding: 12px 20px;
    border: 1px solid #444;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: .3s;
}

.nav-button:hover {
    background: var(--white);
    color: #000;
}

.menu-button {
    display: none;
    border: 0;
    background: none;
    width: 35px;
}

.menu-button span {
    display: block;
    height: 1px;
    background: white;
    margin: 7px 0;
}

/* MOBILE MENU */

.mobile-menu {
    position: fixed;
    inset: 85px 0 0;
    z-index: 999;
    background: #070707;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10vw;
    gap: 25px;
    transform: translateY(-110%);
    transition: .5s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    font-family: "Space Grotesk";
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
}

/* HERO */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 140px 10vw 100px;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(#fff 1px, transparent 1px),
        linear-gradient(90deg, #fff 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: .04;
    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)'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.eyebrow,
.section-number {
    color: #777;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.eyebrow span {
    width: 7px;
    height: 7px;
    background: var(--accent);
    display: block;
    border-radius: 50%;
}

.hero h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(70px, 12vw, 170px);
    line-height: .82;
    letter-spacing: -9px;
    font-weight: 900;
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1px #777;
}

.hero-description {
    max-width: 460px;
    color: #888;
    line-height: 1.7;
    font-size: 14px;
    margin-top: 45px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 35px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 17px 23px;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    border: 1px solid #444;
    transition: .3s;
}

.button.primary {
    background: var(--white);
    color: #000;
    border-color: var(--white);
}

.button.primary:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.button.secondary:hover {
    background: #fff;
    color: #000;
}

.hero-side-text {
    position: absolute;
    right: 4vw;
    top: 50%;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: #444;
    font-size: 9px;
    letter-spacing: 4px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 10vw;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #555;
    font-size: 8px;
    letter-spacing: 3px;
}

.scroll-indicator div {
    width: 70px;
    height: 1px;
    background: #333;
}

/* MARQUEE */

.marquee {
    overflow: hidden;
    border-top: 1px solid #202020;
    border-bottom: 1px solid #202020;
    padding: 20px 0;
    background: #0a0a0a;
}

.marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 35px;
    animation: marquee 25s linear infinite;
}

.marquee span {
    font-family: "Space Grotesk";
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 3px;
}

.marquee i {
    color: var(--accent);
    font-style: normal;
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* SECTIONS */

.section {
    padding: 150px 10vw;
}

.section-header {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 80px;
}

.section h2 {
    font-family: "Space Grotesk";
    font-size: clamp(50px, 8vw, 110px);
    line-height: .85;
    letter-spacing: -6px;
    margin-top: 25px;
}

.section h2 span {
    color: transparent;
    -webkit-text-stroke: 1px #777;
}

.section-intro {
    max-width: 300px;
    color: #777;
    font-size: 13px;
    line-height: 1.8;
}

/* SERVICES */

.services {
    background: #090909;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid #292929;
    border-left: 1px solid #292929;
}

.service-card {
    min-height: 350px;
    padding: 40px;
    border-right: 1px solid #292929;
    border-bottom: 1px solid #292929;
    position: relative;
    transition: .35s;
}

.service-card:hover {
    background: #111;
}

.service-number {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #555;
    font-size: 10px;
}

.service-icon {
    font-size: 35px;
    color: var(--accent);
    margin-bottom: 80px;
}

.service-card h3 {
    font-family: "Space Grotesk";
    font-size: 28px;
    margin-bottom: 15px;
}

.service-card p {
    color: #777;
    max-width: 400px;
    font-size: 13px;
    line-height: 1.7;
}

.service-card a {
    display: inline-block;
    margin-top: 30px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* PORTFOLIO */

.portfolio-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 35px;
}

.filter {
    background: transparent;
    color: #666;
    border: 1px solid #292929;
    padding: 10px 15px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.filter.active,
.filter:hover {
    color: #000;
    background: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 20px;
}

.work-card.hidden {
    display: none;
}

.work-image {
    aspect-ratio: 16 / 10;
    background: #111;
    overflow: hidden;
    position: relative;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: .7s;
}

.work-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .4s;
}

.work-overlay span {
    border: 1px solid white;
    padding: 13px 18px;
    font-size: 9px;
    font-weight: 800;
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-info {
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.work-info span {
    color: #555;
    font-size: 9px;
    letter-spacing: 1px;
}

.work-info h3 {
    font-family: "Space Grotesk";
    font-size: 15px;
}

/* ABOUT */

.about {
    background: #0b0b0b;
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 10vw;
    position: relative;
    overflow: hidden;
}

.about-symbol {
    font-family: "Space Grotesk";
    font-size: min(30vw, 400px);
    font-weight: 900;
    line-height: .7;
    color: #121212;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-content > p:not(.section-number) {
    color: #888;
    max-width: 600px;
    font-size: 15px;
    line-height: 1.9;
    margin-top: 30px;
}

.about-stats {
    display: flex;
    gap: 70px;
    margin-top: 60px;
}

.about-stats div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-stats strong {
    font-family: "Space Grotesk";
    font-size: 35px;
}

.about-stats span {
    font-size: 8px;
    color: #666;
    letter-spacing: 2px;
}

/* DISCORD */

.discord-section {
    padding: 120px 10vw;
    background: #d7ff00;
    color: #050505;
    position: relative;
    overflow: hidden;
}

.discord-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.discord-section .section-number {
    color: #555;
}

.discord-section h2 {
    font-family: "Space Grotesk";
    font-size: clamp(55px, 9vw, 130px);
    line-height: .82;
    letter-spacing: -7px;
    margin: 25px 0;
}

.discord-section h2 span {
    color: transparent;
    -webkit-text-stroke: 1px #111;
}

.discord-section p:not(.section-number) {
    max-width: 450px;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.discord-section .button.primary {
    background: #050505;
    color: #fff;
    border-color: #050505;
}

.discord-decoration {
    position: absolute;
    right: -5vw;
    bottom: -100px;
    font-family: "Space Grotesk";
    font-size: 30vw;
    font-weight: 900;
    color: rgba(0,0,0,.06);
}

/* CONTACT */

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10vw;
}

.contact-box {
    align-self: end;
}

.contact-box p {
    color: #777;
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 35px;
}

.request-button {
    width: 100%;
    padding: 25px;
    border: 1px solid #333;
    background: transparent;
    color: #fff;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    transition: .3s;
}

.request-button:hover {
    background: #fff;
    color: #000;
}

/* MODAL */

.modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-background {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    z-index: 2;
    width: min(650px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 45px;
    background: #101010;
    border: 1px solid #292929;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    color: #fff;
    border: 0;
    font-size: 30px;
}

.modal-content h2 {
    font-family: "Space Grotesk";
    font-size: 55px;
    line-height: .9;
    letter-spacing: -3px;
    margin: 25px 0 40px;
}

.modal-content h2 span {
    color: transparent;
    -webkit-text-stroke: 1px #777;
}

form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

form label {
    color: #777;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

form input,
form textarea,
form select {
    display: block;
    width: 100%;
    margin-top: 10px;
    background: #080808;
    border: 1px solid #292929;
    color: #fff;
    padding: 15px;
    outline: none;
}

form textarea {
    resize: vertical;
}

form input:focus,
form textarea:focus,
form select:focus {
    border-color: #777;
}

.submit-button {
    padding: 17px;
    background: #fff;
    color: #000;
    border: 0;
    font-weight: 900;
    font-size: 10px;
    letter-spacing: 1px;
}

/* FOOTER */

footer {
    padding: 50px 5vw 25px;
    border-top: 1px solid #222;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 60px;
}

.footer-logo {
    font-family: "Space Grotesk";
    font-size: 25px;
    font-weight: 900;
}

.footer-logo span {
    color: #555;
    margin-left: 5px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #666;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    color: #444;
    font-size: 8px;
    letter-spacing: 1px;
}

/* RESPONSIVE */

@media (max-width: 800px) {

    .navbar {
        height: 70px;
    }

    .nav-links,
    .nav-button {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .mobile-menu {
        inset: 70px 0 0;
    }

    .mobile-menu a {
        font-size: 32px;
    }

    .hero {
        padding: 130px 7vw 100px;
    }

    .hero h1 {
        font-size: clamp(65px, 19vw, 120px);
        letter-spacing: -6px;
    }

    .hero-side-text {
        display: none;
    }

    .section {
        padding: 100px 7vw;
    }

    .section-header {
        flex-direction: column;
        margin-bottom: 50px;
    }

    .section h2 {
        font-size: 60px;
        letter-spacing: -4px;
    }

    .services-grid,
    .portfolio-grid,
    .contact,
    .about {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 300px;
    }

    .about-symbol {
        display: none;
    }

    .discord-section {
        padding: 100px 7vw;
    }

    .discord-section h2 {
        font-size: 65px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

}

@media (max-width: 500px) {

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        justify-content: space-between;
    }

    .portfolio-filter {
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .filter {
        white-space: nowrap;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .modal-content h2 {
        font-size: 45px;
    }

}