:root {

    --black: #070809;
    --black-2: #0c0e10;
    --card: #111417;

    --white: #f5f6f3;
    --grey: #8c9290;
    --grey-dark: #454a48;

    --green: #c2ff00;
    --green-dark: #9fdb00;

    --border: rgba(255,255,255,.09);

    --display: "Space Grotesk", sans-serif;
    --body: "DM Sans", sans-serif;

    --container: 1400px;

}


/* RESET */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    background: var(--black);

    color: var(--white);

    font-family: var(--body);

    overflow-x: hidden;

}


body.modal-open {

    overflow: hidden;

}


a {

    text-decoration: none;

    color: inherit;

}


button {

    font-family: inherit;

}


/* =========================================================
   CURSOR
========================================================= */

.cursor-dot {

    position: fixed;

    width: 7px;
    height: 7px;

    background: var(--green);

    border-radius: 50%;

    pointer-events: none;

    z-index: 9999;

}


.cursor-ring {

    position: fixed;

    width: 35px;
    height: 35px;

    border: 1px solid rgba(194,255,0,.45);

    border-radius: 50%;

    pointer-events: none;

    z-index: 9998;

    transition:
        width .2s,
        height .2s;

}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 82px;

    padding:
        0
        4vw;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 500;

    background:
        linear-gradient(
            to bottom,
            rgba(7,8,9,.85),
            rgba(7,8,9,.3)
        );

    backdrop-filter: blur(18px);

    border-bottom:
        1px solid rgba(255,255,255,.04);

}


.brand {

    display: flex;

    align-items: center;

    gap: 10px;

    font-family: var(--display);

    font-weight: 700;

    font-size: 16px;

    letter-spacing: -1px;

}


.brand > span:last-child span,
.footer-brand > span:last-child span {

    color: var(--green);

}


.brand-mark {

    width: 35px;
    height: 35px;

    display: grid;

    place-items: center;

    color: #000;

    background: var(--green);

    border-radius: 8px;

    font-weight: 700;

}


.desktop-nav {

    display: flex;

    gap: 38px;

}


.desktop-nav a {

    color: #888;

    font-size: 12px;

    transition: .3s;

}


.desktop-nav a:hover {

    color: white;

}


.nav-cta {

    display: flex;

    gap: 12px;

    align-items: center;

    padding: 11px 18px;

    border: 1px solid var(--border);

    border-radius: 100px;

    font-size: 11px;

    transition: .3s;

}


.nav-cta:hover {

    background: var(--green);

    color: black;

}


.mobile-menu-button {

    display: none;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding:
        150px
        7vw
        100px;

    overflow: hidden;

}


.hero-image {

    position: absolute;

    inset: 0;

    background-image:
        url("images/hero.jpg");

    background-size: cover;

    background-position: center;

    opacity: .42;

    filter:
        saturate(.7)
        contrast(1.1);

}


.hero-gradient {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            #070809 5%,
            rgba(7,8,9,.8) 45%,
            rgba(7,8,9,.35),
            #070809
        );

}


.hero-grid {

    position: absolute;

    inset: 0;

    opacity: .35;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 85%
        );

}


.hero-content {

    position: relative;

    z-index: 3;

    max-width: 900px;

}


.hero-tag {

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--green);

    font-size: 10px;

    letter-spacing: 2px;

    font-weight: 700;

}


.live-dot {

    width: 7px;
    height: 7px;

    background: var(--green);

    border-radius: 50%;

    box-shadow:
        0 0 15px var(--green);

}


.hero h1 {

    margin-top: 30px;

    font-family: var(--display);

    font-size:
        clamp(
            70px,
            10vw,
            150px
        );

    line-height: .84;

    letter-spacing: -9px;

}


.hero h1 span {

    color: var(--green);

}


.hero-content > p {

    max-width: 590px;

    margin-top: 38px;

    color: #989d9b;

    font-size: 16px;

    line-height: 1.8;

}


.hero-actions {

    display: flex;

    gap: 12px;

    margin-top: 35px;

}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    padding:
        15px
        22px;

    border-radius: 100px;

    font-size: 11px;

    font-weight: 700;

    transition: .35s;

}


.btn-primary {

    color: black;

    background: var(--green);

}


.btn-primary:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 45px
        rgba(194,255,0,.18);

}


.btn-ghost {

    border:
        1px solid
        rgba(255,255,255,.13);

    color: white;

}


.btn-ghost:hover {

    background: rgba(255,255,255,.06);

}


.hero-numbers {

    display: flex;

    gap: 55px;

    margin-top: 80px;

}


.hero-numbers div {

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.hero-numbers strong {

    font-family: var(--display);

    font-size: 26px;

}


.hero-numbers span {

    color: #666b69;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1px;

}


.hero-scroll {

    position: absolute;

    right: 4vw;
    bottom: 60px;

    z-index: 3;

    display: flex;

    align-items: center;

    gap: 10px;

    color: #555;

    font-size: 8px;

    letter-spacing: 2px;

    transform: rotate(90deg);

}


.hero-scroll span {

    width: 40px;
    height: 1px;

    background: #555;

}


/* =========================================================
   GENERAL
========================================================= */

.portfolio-section,
.services-section,
.process-section {

    max-width: var(--container);

    margin: auto;

    padding:
        150px 5vw;

}


.section-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 70px;

    margin-bottom: 60px;

}


.section-number {

    color: var(--green);

    font-size: 10px;

    letter-spacing: 2px;

    margin-right: 12px;

}


.section-eyebrow {

    color: #737876;

    font-size: 10px;

    letter-spacing: 2px;

    font-weight: 700;

}


.section-heading h2 {

    margin-top: 22px;

    font-family: var(--display);

    font-size:
        clamp(
            50px,
            6vw,
            85px
        );

    line-height: .92;

    letter-spacing: -5px;

}


.section-heading h2 span {

    color: #3d4240;

}


.section-heading > p {

    max-width: 360px;

    color: #777d7a;

    font-size: 13px;

    line-height: 1.8;

}


/* =========================================================
   FILTERS
========================================================= */

.category-filters {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 25px;

}


.category-filters button {

    padding:
        9px
        16px;

    background: transparent;

    border:
        1px solid
        var(--border);

    border-radius: 100px;

    color: #707573;

    font-size: 10px;

    cursor: pointer;

    transition: .3s;

}


.category-filters button:hover,
.category-filters button.active {

    color: #000;

    background: var(--green);

    border-color: var(--green);

}


/* =========================================================
   FEATURED
========================================================= */

.featured-project {

    position: relative;

    min-height: 620px;

    margin-bottom: 20px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 20px;

    cursor: pointer;

}


.featured-project img {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 1s;

}


.featured-project:hover img {

    transform: scale(1.04);

}


.featured-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.92),
            transparent 65%
        );

}


.featured-info {

    position: absolute;

    left: 45px;
    right: 45px;
    bottom: 40px;

    display: flex;

    justify-content: space-between;

    align-items: end;

}


.featured-label {

    color: var(--green);

    font-size: 9px;

    letter-spacing: 2px;

}


.featured-info h3 {

    margin-top: 10px;

    font-family: var(--display);

    font-size: 45px;

    letter-spacing: -2px;

}


.featured-info p {

    max-width: 380px;

    color: #aaa;

    font-size: 12px;

    line-height: 1.6;

}


.featured-button {

    width: 65px;
    height: 65px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    background: var(--green);

    color: #000;

    border-radius: 50%;

    font-size: 20px;

}


/* =========================================================
   PROJECT GRID
========================================================= */

.projects-grid {

    display: grid;

    grid-template-columns:
        repeat(12,1fr);

    gap: 18px;

}


.project-card {

    position: relative;

    min-height: 450px;

    grid-column: span 4;

    overflow: hidden;

    background: var(--card);

    border:
        1px solid
        var(--border);

    border-radius: 16px;

    cursor: pointer;

    animation: reveal .6s both;

}


.project-card:nth-child(2) {

    grid-column: span 8;

}


.project-card img {

    width: 100%;
    height: 100%;

    position: absolute;

    inset: 0;

    object-fit: cover;

    transition: .7s;

}


.project-card:hover img {

    transform: scale(1.07);

}


.project-card-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.9),
            transparent 70%
        );

}


.project-info {

    position: absolute;

    left: 25px;
    right: 25px;
    bottom: 23px;

}


.project-category {

    color: var(--green);

    font-size: 9px;

    letter-spacing: 1.5px;

}


.project-info h3 {

    margin-top: 8px;

    font-family: var(--display);

    font-size: 24px;

}


.project-info small {

    display: block;

    margin-top: 5px;

    color: #888;

    font-size: 10px;

}


.project-open {

    position: absolute;

    top: 20px;
    right: 20px;

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    background: rgba(0,0,0,.45);

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 50%;

    transition: .3s;

}


.project-card:hover .project-open {

    background: var(--green);

    color: black;

}


/* =========================================================
   SERVICES
========================================================= */

.services-section {

    border-top:
        1px solid
        var(--border);

}


.services-grid {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 15px;

}


.service-card {

    position: relative;

    min-height: 300px;

    padding: 35px;

    background: #0d1011;

    border:
        1px solid
        var(--border);

    border-radius: 16px;

    overflow: hidden;

    transition: .4s;

}


.service-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(194,255,0,.25);

}


.service-card::after {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -80px;
    bottom: -80px;

    background:
        rgba(194,255,0,.07);

    filter: blur(60px);

    border-radius: 50%;

}


.service-index {

    color: #4d5350;

    font-size: 10px;

}


.service-icon {

    margin-top: 50px;

    color: var(--green);

    font-size: 35px;

}


.service-card h3 {

    margin-top: 18px;

    font-family: var(--display);

    font-size: 24px;

}


.service-card p {

    max-width: 400px;

    margin-top: 10px;

    color: #717674;

    font-size: 12px;

    line-height: 1.7;

}


.service-arrow {

    position: absolute;

    right: 30px;
    bottom: 30px;

    color: var(--green);

}


/* =========================================================
   PROCESS
========================================================= */

.process-section {

    display: grid;

    grid-template-columns: .7fr 1.3fr;

    gap: 100px;

    border-top:
        1px solid
        var(--border);

}


.process-intro h2 {

    margin-top: 25px;

    font-family: var(--display);

    font-size: 75px;

    line-height: .9;

    letter-spacing: -5px;

}


.process-intro h2 span {

    color: var(--green);

}


.process-list {

    border-top:
        1px solid
        var(--border);

}


.process-row {

    display: grid;

    grid-template-columns: 45px 1fr 30px;

    gap: 20px;

    align-items: start;

    padding: 30px 0;

    border-bottom:
        1px solid
        var(--border);

    transition: .3s;

}


.process-row:hover {

    padding-left: 10px;

}


.process-row > span {

    color: var(--green);

    font-size: 10px;

}


.process-row h3 {

    font-family: var(--display);

    font-size: 21px;

}


.process-row p {

    max-width: 450px;

    margin-top: 7px;

    color: #707674;

    font-size: 12px;

    line-height: 1.7;

}


.process-row strong {

    color: #555;

}


/* =========================================================
   CTA
========================================================= */

.big-cta {

    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            #273500,
            #101400 30%,
            #070809 70%
        );

}


.cta-noise {

    position: absolute;

    inset: 0;

    opacity: .12;

    background-image:
        url("https://grainy-gradients.vercel.app/noise.svg");

}


.cta-content {

    position: relative;

    z-index: 2;

    max-width: 850px;

    padding: 40px;

}


.cta-content .section-eyebrow {

    color: var(--green);

}


.cta-content h2 {

    margin-top: 25px;

    font-family: var(--display);

    font-size:
        clamp(
            55px,
            8vw,
            110px
        );

    line-height: .88;

    letter-spacing: -7px;

}


.cta-content h2 span {

    color: var(--green);

}


.cta-content p {

    max-width: 520px;

    margin: 30px auto;

    color: #91968e;

    font-size: 14px;

    line-height: 1.7;

}


.cta-buttons {

    display: flex;

    justify-content: center;

    gap: 10px;

}


.btn-dark {

    background: var(--green);

    color: black;

}


.btn-outline-dark {

    border:
        1px solid
        rgba(194,255,0,.4);

    color: var(--green);

}


/* =========================================================
   FOOTER
========================================================= */

footer {

    min-height: 90px;

    padding:
        25px 5vw;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top:
        1px solid
        var(--border);

    color: #555;

    font-size: 9px;

}


.footer-brand {

    display: flex;

    align-items: center;

    gap: 9px;

    color: white;

    font-family: var(--display);

    font-weight: 700;

}


.footer-brand .brand-mark {

    width: 28px;
    height: 28px;

    border-radius: 6px;

    font-size: 12px;

}


/* =========================================================
   MODAL
========================================================= */

.project-modal {

    position: fixed;

    inset: 0;

    z-index: 2000;

    display: none;

    padding: 25px;

}


.project-modal.active {

    display: flex;

    align-items: center;

    justify-content: center;

}


.modal-background {

    position: absolute;

    inset: 0;

    background:
        rgba(0,0,0,.88);

    backdrop-filter:
        blur(20px);

}


.modal-window {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1250px;

    max-height: 90vh;

    display: grid;

    grid-template-columns:
        1.3fr .7fr;

    background: #101214;

    border:
        1px solid
        var(--border);

    border-radius: 20px;

    overflow: hidden;

}


.modal-photo {

    position: relative;

    min-height: 650px;

    background: #060708;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

}


.modal-photo img {

    display: block;

    max-width: 100%;

    max-height: 100%;

    width: auto;

    height: auto;

    object-fit: contain;

    cursor: zoom-in;

    user-select: none;

    -webkit-user-drag: none;

    transform-origin: center center;

    transition:
        transform .25s ease;

}


.modal-close {

    position: absolute;

    z-index: 10;

    top: 18px;
    right: 18px;

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(255,255,255,.15);

    background:
        rgba(0,0,0,.7);

    color: white;

    border-radius: 50%;

    font-size: 23px;

    cursor: pointer;

}


.modal-arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 45px;
    height: 45px;

    border:
        1px solid
        rgba(255,255,255,.15);

    background:
        rgba(0,0,0,.6);

    color: white;

    border-radius: 50%;

    cursor: pointer;

}


.modal-arrow:hover {

    background: var(--green);

    color: black;

}


.modal-prev {

    left: 20px;

}


.modal-next {

    right: 20px;

}


.modal-counter {

    position: absolute;

    bottom: 20px;
    left: 50%;

    transform: translateX(-50%);

    padding:
        7px 12px;

    border-radius: 100px;

    background:
        rgba(0,0,0,.7);

    color: white;

    font-size: 9px;

}


.modal-details {

    padding: 55px 40px;

    overflow-y: auto;

}


.modal-category {

    color: var(--green);

    font-size: 9px;

    letter-spacing: 2px;

}


.modal-details h2 {

    margin-top: 12px;

    font-family: var(--display);

    font-size: 43px;

    line-height: .95;

}


.modal-details > p {

    margin-top: 22px;

    color: #777d7a;

    font-size: 12px;

    line-height: 1.8;

}


.specifications {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    margin-top: 40px;

    border-top:
        1px solid
        var(--border);

}


.specifications div {

    padding:
        17px 0;

    display: flex;

    flex-direction: column;

    gap: 6px;

    border-bottom:
        1px solid
        var(--border);

}


.specifications span {

    color: #505552;

    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: 1px;

}


.specifications strong {

    font-size: 11px;

}


.thumbnails {

    display: flex;

    gap: 8px;

    margin-top: 25px;

    overflow-x: auto;

}


.thumbnail {

    width: 65px;
    height: 65px;

    flex-shrink: 0;

    object-fit: cover;

    border:
        2px solid
        transparent;

    border-radius: 7px;

    opacity: .5;

    cursor: pointer;

}


.thumbnail.active {

    border-color: var(--green);

    opacity: 1;

}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes reveal {

    from {

        opacity: 0;

        transform:
            translateY(25px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:900px) {

    .desktop-nav,
    .nav-cta {

        display: none;

    }


    .mobile-menu-button {

        display: flex;

        flex-direction: column;

        gap: 5px;

        width: 35px;
        height: 35px;

        align-items: center;
        justify-content: center;

        background: none;

        border: none;

        cursor: pointer;

    }


    .mobile-menu-button span {

        width: 22px;
        height: 1px;

        background: white;

    }


    .mobile-menu {

        position: fixed;

        top: 82px;

        left: 0;
        right: 0;

        z-index: 450;

        display: none;

        flex-direction: column;

        padding: 25px;

        background:
            rgba(7,8,9,.97);

        border-bottom:
            1px solid
            var(--border);

    }


    .mobile-menu.active {

        display: flex;

    }


    .mobile-menu a {

        padding: 16px 0;

        border-bottom:
            1px solid
            var(--border);

        font-family: var(--display);

        font-size: 22px;

    }


    .hero {

        padding-left: 6vw;

        padding-right: 6vw;

    }


    .hero h1 {

        font-size: 65px;

        letter-spacing: -5px;

    }


    .section-heading {

        flex-direction: column;

        align-items: start;

    }


    .featured-project {

        min-height: 500px;

    }


    .featured-info {

        left: 25px;
        right: 25px;

        flex-direction: column;

        align-items: start;

        gap: 25px;

    }


    .projects-grid {

        grid-template-columns: 1fr;

    }


    .project-card,
    .project-card:nth-child(2) {

        grid-column: span 1;

        min-height: 430px;

    }


    .services-grid {

        grid-template-columns: 1fr;

    }


    .process-section {

        grid-template-columns: 1fr;

        gap: 60px;

    }


    .process-intro h2 {

        font-size: 60px;

    }


    .modal-window {

        grid-template-columns: 1fr;

        max-height: 95vh;

        overflow-y: auto;

    }


	@media(max-width:900px) {

		.modal-photo {

			min-height: 400px;

			height: 60vh;

			max-height: 700px;

			overflow: hidden;

		}


		.modal-photo img {

			max-width: 100%;

			max-height: 100%;

			width: auto;

			height: auto;

			object-fit: contain;

		}


		.modal-details {

			padding: 35px 25px;

		}

	}


    footer {

        flex-direction: column;

        gap: 15px;

        text-align: center;

    }

}


@media(max-width:550px) {

    .hero {

        min-height: 92vh;

    }


    .hero h1 {

        font-size: 58px;

    }


    .hero-actions {

        flex-direction: column;

        align-items: stretch;

    }


    .hero-actions .btn {

        width: 100%;

    }


    .hero-numbers {

        gap: 25px;

        margin-top: 55px;

    }


    .section-heading h2 {

        font-size: 50px;

    }


    .cta-content h2 {

        font-size: 55px;

        letter-spacing: -4px;

    }


    .cta-buttons {

        flex-direction: column;

    }


    .btn {

        width: 100%;

    }

}
