/*VARIABLES*/
        :root {
            --background: #111111;
            --card: #1a1a1a;
            --border: rgba(255, 255, 255, 0.1);
            --text: #fff;
            --muted: #a5a5a5;
            --accent: #d6a4ff;
            --page-width: 1400px;
            --page-padding: clamp(20px, 4vw, 60px);
            --section-space: clamp(110px, 14vw, 210px);
        }

        /*RESET*/
        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            background: var(--background);
            color: var(--text);
            font-family: "futura-pt", sans-serif;
            font-weight: 100;
            font-style: normal;
            letter-spacing: 0.05em;
        }

        body.no-scroll {
            overflow: hidden;
        }

        img {
            max-width: 100%;
        }

        /*PROJECT HEADER*/
        .project-header {
            padding: clamp(90px, 13vw, 170px) var(--page-padding) 0;
        }

        .project-header-inner {
            margin: 0 auto;
            text-align: left;
            padding-left: 8em;
        }

        .project-category {
            margin: 0 0 20px;
            color: #519fb7;
            font-size: 1.3rem;
            font-weight: 700;
            letter-spacing: 0.15em;
            text-transform: uppercase;
        }

        .project-header h1 {
            margin: 0 0 10px;
            font-size: clamp(2rem, 5vw, 6rem);
            margin: 0 0 10px;
            font-size: clamp(2rem, 5vw, 6rem);
            line-height: 0.95;
            letter-spacing: -0.035em;
            font-family: "canada-type-gibson", sans-serif;
            font-weight: 1000;
        }

        .project-subtitle {
            margin: 0 0 8px;
            color: #9473af;
            font-family: "canada-type-gibson", sans-serif;
            font-weight: 300;
            font-style: normal;
            letter-spacing:-0.02em;
            font-size: clamp(0.8rem, 2vw, 2.5rem);
        }

        .project-intro {
            max-width: 650px;
            color: var(--muted);
            font-size: clamp(0.77rem, 1.85vw, 2.3rem);
            line-height: 1.8;
            text-align: left;

        }

        /*SOFTWARE*/
        .project-software {
            display: flex;
            justify-content: left;
            gap: 14px;
        }

        .project-software img {
            width: 42px;
            height: 42px;
            object-fit: contain;
            opacity: 0.55;
            filter: grayscale(100%);
            transition:
                opacity 0.2s ease,
                filter 0.2s ease,
                transform 0.2s ease;
        }

        .project-software img:hover {
            opacity: 1;
            filter: grayscale(0%);
            transform: translateY(-3px);
        }

        /*CONTENT*/
        .project-content {
            max-width: 80%;
            margin: 0 auto;
        }

        /*HERO*/
        .project-hero {
            width: 100%;
            margin: clamp(70px, 10vw, 140px) 0 0;
        }

        .project-hero img {
            width: 100%;
            object-fit: cover;
            display: block;
            border-radius: 18px;
            border: 1px solid var(--border);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
        }

        /*12-COLUMN SECTIONS*/
        .project-section {
            display: grid;
            grid-template-columns: repeat(12, minmax(0, 1fr));
            gap: clamp(25px, 3vw, 45px);
            align-items: center;
            margin-top: var(--section-space);
            padding-left: 1px;
        }

        /*TEXT*/
        .project-text {
            width: 100%;
            min-width: 0;
        }

        .project-text h2 {
            margin: 0 0 25px;
            font-size: clamp(2rem, 4vw, 4rem);
            line-height: 0.88;
            letter-spacing: -0.02em;
                        font-family: "canada-type-gibson", sans-serif;
            font-weight: 700;
        }

        .project-text p {
            margin: 0 0 22px;
            color: var(--text);
            font-size: 1.5rem;
            line-height: 1.7;
        }

        .project-text p:last-child {
            margin-bottom: 0;
        }

        /*BIG STATEMENT*/
        .statement {
            color: var(--text) !important;
            font-size: clamp(1.4rem, 2.7vw, 2.4rem) !important;
            font-weight: 700;
            line-height: 1.05 !important;
            letter-spacing: -0.04em;
        }

        /*SMALL LABEL*/
        .label {
            display: block;
            margin-bottom: 12px;
            color: var(--accent);
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.15em;
            text-transform: uppercase;
        }

        /*QUOTE*/
        .project-quote {
            margin: 30px 0;
            padding-left: 20px;
            border-left: 2px solid var(--accent);
            color: var(--text) !important;
            font-size: 1.2rem !important;
            font-style: italic;
            line-height: 1.4 !important;
        }

        /*IMAGE*/
        .project-image {
            width: 100%;
            min-width: 0;
            margin: 0;
        }
        
        .project-image video {
            width: 100%;
            object-fit: cover;
            display: block;
            border-radius: 18px;
            border: 1px solid var(--border);
            box-shadow:
                0 20px 50px rgba(0, 0, 0, 0.4);
            cursor: pointer;
            transition:
                transform 0.3s ease,
                box-shadow 0.3s ease;
        }

        .project-image img {
            width: 100%;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            display: block;
            border-radius: 18px;
            border: 1px solid var(--border);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
            cursor: pointer;
            transition:
                transform 0.3s ease,
                box-shadow 0.3s ease;
        }

        .project-image img:hover {
            transform: translateY(-6px);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
        }

        /*CAPTION*/
        .project-image figcaption {
            margin-top: 12px;
            color: var(--muted);
            font-size: 0.9rem;
            line-height: 1.5;
        }

        /*TEXT LEFT / IMAGE RIGHT*/
        .project-section.text-left {
            grid-template-areas:
                "text text text text image image image image image image image image";
        }

        .project-section.text-left .project-text {
            grid-area: text;
        }

        .project-section.text-left .project-image {
            grid-area: image;
        }

        /*IMAGE LEFT / TEXT RIGHT*/
        .project-section.image-left {
            grid-template-areas:
                "image image image image image image image text text text text text";
        }

        .project-section.image-left .project-image {
            grid-area: image;
        }

        .project-section.image-left .project-text {
            grid-area: text;
        }

        /*DETAIL GRID*/
        .detail-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-top: 30px;
        }

        .detail-grid img {
            width: 100%;
            aspect-ratio: 1;
            object-fit: cover;
            display: block;
            border-radius: 10px;
        }

        .detail-grid img:hover {
            cursor: pointer;
        }

        /*DETAIL LABELS*/
        .detail-labels {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-top: 8px;
        }

        .detail-labels span {
            color: var(--muted);
            font-size: 0.9rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-align: center;
            text-transform: uppercase;
        }

        /*DIVIDER*/
        .project-divider {
            width: 100%;
            height: 1px;
            margin-top: var(--section-space);
            background: var(--border);
        }

        /*FINAL*/
        .project-final {
            margin-top: var(--section-space);
            padding-bottom: clamp(100px, 15vw, 220px);
        }

        .project-final-text {
            width: min(700px, 100%);
            margin: 0 auto 60px;
            text-align: center;
        }

        .project-final-text h2 {
            margin: 0 0 25px;
            font-size: clamp(2.5rem, 6vw, 5rem);
            line-height: 0.85;
            letter-spacing: -0.06em;
        }

        .project-final-text p {
            margin: 0;
            color: var(--muted);
            font-size: 1rem;
            line-height: 1.8;
        }

        .project-final-image {
            margin: 0;
        }

        .project-final-image img {
            width: 100%;
            aspect-ratio: 16 / 9;
            object-fit: cover;
            display: block;
            border-radius: 18px;
            border: 1px solid var(--border);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
            cursor: pointer;
        }

        /*REVEAL*/
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition:
                opacity 0.8s ease,
                transform 0.8s ease;
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /*BACK TO PROJECT*/
        .back-to-project {
            margin-top: var(--section-space);
            padding-bottom: clamp(100px, 15vw, 220px);
            text-align: center;
        }

        .back-to-project a {
            color: var(--accent);
            font-size: 1.2rem;
            font-weight: 700;
            letter-spacing: 0.15em;
            text-decoration: none;
            text-transform: uppercase;
            transition: opacity 0.2s ease;
        }

        .back-to-project a:hover {
            opacity: 0.6;
        }
        
        a {
            color: var(--accent);
            font-size: 1.2rem;
            font-weight: 700;
            letter-spacing: 0.15em;
            text-decoration: none;
            text-transform: uppercase;
            transition: opacity 0.2s ease;
        }
        
        a:hover {
            opacity: 0.6;
        }

        /*LIGHTBOX*/
        .lightbox {
            position: fixed;
            inset: 0;
            display: none;
            justify-content: center;
            align-items: center;
            padding: 40px;
            background: rgba(0, 0, 0, 0.94);
            z-index: 9999;
        }

        .lightbox.active {
            display: flex;
        }

        .lightbox-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            max-width: 95%;
            max-height: 90vh;
        }

        .lightbox img {
            max-width: 90vw;
            max-height: 78vh;
            width: auto;
            height: auto;
            object-fit: contain;
            border-radius: 14px;
        }

        .lightbox-caption {
            max-width: 700px;
            color: var(--muted);
            font-size: 0.95rem;
            text-align: center;
            line-height: 1.5;
        }

        /*CLOSE*/
        .close-lightbox {
            position: absolute;
            top: 30px;
            right: 40px;
            color: white;
            font-size: 2rem;
            cursor: pointer;
        }

        /*ARROWS*/
        .lightbox-prev,
        .lightbox-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            padding: 12px 18px;
            color: white;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            font-size: 2rem;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .lightbox-prev:hover,
        .lightbox-next:hover {
            background: rgba(214, 164, 255, 0.3);
        }

        .lightbox-prev {
            left: 25px;
        }

        .lightbox-next {
            right: 25px;
        }

       /*MOBILE*/
@media (max-width: 800px) {

 .project-header {
        padding-left: 0;
        padding-right: 0;
    }

    .project-header-inner {
        padding-left: var(--page-padding);
        padding-right: var(--page-padding);
    }

    .project-content {
        max-width: none;
        width: 100%;
    }

    .project-hero {
    width: 100vw;
    margin-left: calc(-1 * var(--page-padding));
    margin-right: 0;
}

    .project-hero img {
        width: 100%;
        border-radius: 0;
    }

    .project-section {
        width: calc(100% - (var(--page-padding) * 2));
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: 1fr;
        grid-template-areas:
            "text"
            "image";
        gap: 35px;
        text-align: left;
    }

    .project-section .project-text,
    .project-section .project-text h2,
    .project-section .project-text p {
        text-align: left;
    }

    /*TEXT LEFT*/
    .project-section.text-left {
        grid-template-areas:
            "text"
            "image";
    }

    .project-section.text-left .project-text {
        grid-area: text;
    }

    .project-section.text-left .project-image {
        grid-area: image;
    }

    /*IMAGE LEFT*/
    .project-section.image-left {
        grid-template-areas:
            "image"
            "text";
    }

    .project-section.image-left .project-image {
        grid-area: image;
    }

    .project-section.image-left .project-text {
        grid-area: text;
    }

    /*DETAIL IMAGES AND CAPTIONS*/
    .project-section.image-left .project-text {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
    }

    .project-section.image-left .project-text h2 {
        order: 1;
    }

    .project-section.image-left .project-text > p {
        order: 2;
    }

    .project-section.image-left .detail-grid {
        display: contents;
    }

    .project-section.image-left .detail-grid img {
        width: 100%;
        aspect-ratio: 1;
        margin: 0;
        grid-column: 1;
    }

    .project-section.image-left .detail-grid img:nth-child(1) {
        order: 3;
    }

    .project-section.image-left .detail-grid img:nth-child(2) {
        order: 5;
    }

    .project-section.image-left .detail-grid img:nth-child(3) {
        order: 7;
    }

    .project-section.image-left .detail-labels {
        display: contents;
    }

    .project-section.image-left .detail-labels span {
        display: block;
        width: 100%;
        margin: 20px 0 20px;
        color: var(--muted);
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-align: left;
        text-transform: uppercase;
    }

    .project-section.image-left .detail-labels span:nth-child(1) {
        order: 4;
    }

    .project-section.image-left .detail-labels span:nth-child(2) {
        order: 6;
    }

    .project-section.image-left .detail-labels span:nth-child(3) {
        order: 8;
    }

}
        @media (max-width: 550px) {

            .project-header h1 {
                font-size: clamp(2.8rem, 15vw, 4.5rem);
            }

            .project-hero img,
            .project-image img,
            .project-final-image img {
                border-radius: 12px;
            }

            .project-hero img {
                border-radius: 0;
            }

            .lightbox {
                padding: 20px;
            }

            .lightbox-prev {
                left: 10px;
            }

            .lightbox-next {
                right: 10px;
            }

            .close-lightbox {
                top: 20px;
                right: 20px;
            }

        }