/* GENERAL SETTINGS */

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

body {
    background-color: #111111;
    color: #f2f2f2;
    font-family: Arial, sans-serif;
}


/* HEADER */

header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 10000;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 25px 5%;

    background: rgba(17, 17, 17, 0.9);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid #292929;

}

.logo {

    color: #f2f2f2;

    font-size: 15px;

    font-weight: bold;

    letter-spacing: 1px;

    text-decoration: none;

}

.logo span {

    font-weight: normal;

    color: #888888;

}

.header-right {

    display: flex;

    align-items: center;

    gap: 45px;

}

.availability {

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 9px;

    letter-spacing: 1px;

    color: #999999;

}

.status-dot {

    width: 7px;

    height: 7px;

    background: #9bc7a0;

    border-radius: 50%;

    box-shadow: 0 0 10px rgba(155, 199, 160, 0.5);

}

nav {

    display: flex;

    gap: 30px;

}

nav a {

    color: #f2f2f2;

    text-decoration: none;

    font-size: 10px;

    letter-spacing: 1px;

    transition: color 0.3s;

}

nav a:hover {

    color: #9bc7a0;

}

/* HERO SECTION */

.hero {
    min-height: 100vh;

    padding: 150px 10% 50px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-topline {
    display: flex;
    justify-content: space-between;

    margin-bottom: 80px;

    font-size: 9px;
    letter-spacing: 2px;
    color: #888888;
}

.hero-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-main {
    max-width: 900px;
}

h1 {
    font-size: clamp(48px, 7.5vw, 105px);
    line-height: 0.95;
    letter-spacing: -5px;

    margin-bottom: 35px;
}

h1 span {
    color: #888888;
}

.description {
    max-width: 480px;

    font-size: 17px;
    line-height: 1.7;
    color: #aaaaaa;

    margin-bottom: 35px;
}

.hero-side {
    padding-bottom: 10px;

    font-size: 10px;
    line-height: 2;

    letter-spacing: 2px;
    color: #777777;
}

.hero-side span {
    display: block;
    margin-top: 25px;
    color: #9bc7a0;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;

    margin-top: 25px;

    font-size: 9px;
    letter-spacing: 2px;
    color: #666666;
}

.intro {
    font-size: 12px;
    letter-spacing: 3px;
    color: #999999;

    margin-bottom: 35px;
}

h1 {
    font-size: clamp(50px, 8vw, 110px);
    line-height: 0.95;
    letter-spacing: -4px;

    margin-bottom: 35px;
}

.description {
    max-width: 500px;

    font-size: 18px;
    line-height: 1.6;
    color: #aaaaaa;

    margin-bottom: 35px;
}


/* BUTTON */

.button {
    display: inline-block;

    padding: 16px 25px;

    border: 1px solid #777777;

    color: white;
    text-decoration: none;

    font-size: 12px;
    letter-spacing: 1px;

    transition: 0.3s;
}

.button:hover {
    background-color: white;
    color: black;
}


/* VISUAL PLACEHOLDER */

/* GENERATIVE VISUAL */

#generativeCanvas {
    width: 100%;
    height: 100%;

    display: block;
}


/* CONTENT SECTIONS */

section:not(.hero) {
    padding: 100px 10%;
    border-top: 1px solid #333333;
}

h2 {
    font-size: 35px;
    margin-bottom: 25px;
}


/* FOOTER */

footer {
    padding: 30px 5%;
    border-top: 1px solid #333333;

    font-size: 11px;
    color: #777777;
}
/* CONTENT SECTIONS */

.content-section {
    display: grid;
    grid-template-columns: 20% 80%;

    padding: 130px 10% !important;

    border-top: 1px solid #333333;
}

.section-number {
    font-size: 10px;
    letter-spacing: 2px;
    color: #777777;
}

.section-content {
    max-width: 900px;
}

.section-content h2 {
    font-size: clamp(35px, 5vw, 65px);
    line-height: 1.05;
    letter-spacing: -2px;

    margin-bottom: 35px;
}

.section-content > p {
    max-width: 550px;

    font-size: 17px;
    line-height: 1.8;

    color: #999999;

    margin-bottom: 40px;
}


/* SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 40px;
}

.service-item {
    border-top: 1px solid #555555;

    padding-top: 25px;
}

.service-item > span {
    font-size: 11px;
    color: #9bc7a0;
}

.service-item h3 {
    font-size: 22px;
    line-height: 1.2;

    margin: 45px 0 25px;
}

.service-item p {
    font-size: 14px;
    line-height: 1.7;

    color: #999999;
}


/* PROJECT PLACEHOLDER */

.project-placeholder {
    height: 250px;

    margin-top: 60px;

    border: 1px solid #333333;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 10px;
    letter-spacing: 2px;
    color: #666666;
}


/* FOOTER */

footer {
    padding: 30px 10%;

    border-top: 1px solid #333333;

    font-size: 10px;
    letter-spacing: 1px;
    color: #777777;
}

/* RESPONSIVE DESIGN */

@media (max-width: 900px) {

    .availability {

        display: none;

    }

    .hero-side {

        display: none;

    }

    .content-section {

        grid-template-columns: 1fr;

        gap: 50px;

    }

    .services-grid {

        grid-template-columns: 1fr;

        gap: 50px;

    }

}

@media (max-width: 600px) {
    .header-right {
    gap: 12px;
    }

    nav {
        gap: 8px;
    }

    nav a {
        font-size: 8px;
    }

    .language-switch {
        gap: 3px;
    }

    .lang-button {
        font-size: 9px;
        padding: 3px;
    }

    header {

        padding: 20px 5%;

    }

    .logo {

        font-size: 12px;

    }

    nav {

        gap: 12px;

    }

    nav a {

        font-size: 8px;

    }

    .hero {

        padding: 130px 6% 40px;

    }

    .hero-topline {

        flex-direction: column;

        gap: 15px;

        margin-bottom: 55px;

    }

    h1 {

        font-size: 48px;

        letter-spacing: -2px;

    }

    .description {

        font-size: 15px;

    }

    .visual {

        height: 300px;

        margin-top: 70px;

    }

    .content-section {

        padding: 85px 6% !important;

    }

    .section-content h2 {

        font-size: 38px;

    }

    .hero-bottom {

        font-size: 7px;

    }

}

/* GENERATIVE BACKGROUND */

body {

    position: relative;

}

.generative-background {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100vh;

    z-index: 0;

    pointer-events: none;

    overflow: hidden;

}

#generativeCanvas {

    width: 100%;

    height: 100%;

    display: block;

}

/* GRADIENT FADE */

.generative-background::after {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(

        to bottom,

        rgba(17, 17, 17, 0.02) 0%,

        rgba(17, 17, 17, 0.08) 25%,

        rgba(17, 17, 17, 0.65) 50%,

        #111111 65%,

        #111111 100%

    );

    pointer-events: none;

}

/* KEEP WEBSITE CONTENT ABOVE BACKGROUND */

header {

    position: fixed;

}

main,

footer {

    position: relative;

    z-index: 1;

}

/* LANGUAGE SELECTOR */

.language-switch {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 10px;

    color: #555555;

}

.lang-button {

    background: none;

    border: none;

    color: #777777;

    font-family: inherit;

    font-size: 10px;

    cursor: pointer;

    padding: 5px;

    transition: color 0.3s;

}

.lang-button:hover {

    color: white;

}

.lang-button.active {

    color: #9bc7a0;

}

/* ========================================
   SCROLL ANIMATIONS
======================================== */


/* Initial state */

.reveal {

    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;

}


/* Visible state */

.reveal.visible {

    opacity: 1;

    transform: translateY(0);

}


/* Staggered animation */

.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

/* ========================================
   NAVIGATION INTERACTIONS
======================================== */


html {
    scroll-behavior: smooth;
}


section[id] {
    scroll-margin-top: 100px;
}


nav a {

    position: relative;

    transition: color 0.3s ease;

}


nav a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 1px;

    background: #9bc7a0;

    transition: width 0.3s ease;

}


nav a:hover::after,
nav a.active::after {

    width: 100%;

}


nav a.active {

    color: #9bc7a0;

}

/* ========================================
   SERVICE CARD INTERACTIONS
======================================== */


.service-item {

    transition:
        transform 0.4s ease,
        border-color 0.4s ease;

}


.service-item:hover {

    transform: translateY(-8px);

    border-color: #9bc7a0;

}


.service-item h3 {

    transition: color 0.3s ease;

}


.service-item:hover h3 {

    color: #9bc7a0;

}

/* ========================================
   BUTTON INTERACTIONS
======================================== */


.button {

    position: relative;

    overflow: hidden;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;

}


.button:hover {

    background-color: #9bc7a0;

    border-color: #9bc7a0;

    color: #111111;

    transform: translateY(-3px);

}


.button span {

    display: inline-block;

    transition: transform 0.3s ease;

}


.button:hover span {

    transform: translate(4px, -4px);

}

/* ========================================
   ACCESSIBILITY
======================================== */


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

    }

    .reveal {

        opacity: 1;

        transform: none;

    }

}

/* PROJECT PORTFOLIO */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.project-card {
    min-width: 0;
}

.project-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    overflow: hidden;
    border: 1px solid #333;
    transition: border-color 0.3s ease;
}

.project-image span {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.7);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.6s ease;
}

.project-image {
    position: relative;
}

.project-image span {
    position: relative;
    z-index: 1;
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}

.project-image-grey {
    background: linear-gradient(135deg, #343b39, #171b1a 60%, #58645b);
}

.project-image-easel {
    background: linear-gradient(135deg, #292929, #48423b 60%, #1a1a1a);
}

.project-image-entity {
    background: linear-gradient(135deg, #252b35, #171717 60%, #46505d);
}

.project-card:hover .project-image {
    border-color: #9bc7a0;
}

.project-info {
    padding-top: 22px;
}

.project-category {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #9bc7a0;
    margin-bottom: 12px;
}

.project-info h3 {
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 15px;
}

.project-info p {
    font-size: 14px;
    line-height: 1.7;
    color: #aaa;
    min-height: 95px;
}

.project-technologies {
    font-size: 9px;
    letter-spacing: 1px;
    color: #777;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #333;
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-info p {
        min-height: auto;
    }
}

/* PROJECT DETAILS */

.project-more {
    display: inline-block;
    margin-top: 22px;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #9bc7a0;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.project-more:hover {
    opacity: 0.6;
}

.project-details {
    margin-top: 120px;
}

.project-detail {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    padding: 70px 0;
    border-top: 1px solid #333;
    scroll-margin-top: 110px;
}

.project-detail:nth-child(even) {
    grid-template-columns: 0.8fr 1.2fr;
}

.project-detail:nth-child(even) .project-detail-image {
    order: 2;
}

.project-detail-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.project-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-detail-content h3 {
    font-size: 36px;
    font-weight: 400;
    margin: 15px 0 25px;
}

.project-detail-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #aaa;
}

@media (max-width: 700px) {
    .project-detail,
    .project-detail:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-detail:nth-child(even) .project-detail-image {
        order: 0;
    }

    .project-detail-content h3 {
        font-size: 29px;
    }

    .project-details {
        margin-top: 70px;
    }
}

/* =================================
   PROJECT CAROUSEL
================================= */

.projects-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 45px;
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.carousel-controls span {
    font-size: 10px;
    letter-spacing: 1px;
    color: #777;
}

.carousel-arrow {
    background: none;
    border: none;
    color: #eee;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.carousel-arrow:hover {
    color: #9bc7a0;
}

.carousel-arrow:disabled {
    opacity: 0.2;
    cursor: default;
}


/* CAROUSEL TRACK */

.projects-viewport {
    width: 100%;
    overflow: hidden;
}

.projects-track {
    display: flex;
    gap: 25px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.projects-track .project-card {
    flex: 0 0 calc((100% - 50px) / 3);
    min-width: 0;
}


/* PROJECT IMAGES */

.project-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    border: 1px solid #333;
}

.project-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}


/* PROJECT INFORMATION */

.project-info {
    padding-top: 22px;
}

.project-category {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #9bc7a0;
    margin-bottom: 12px;
}

.project-info h3 {
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 15px;
}

.project-info p {
    font-size: 14px;
    line-height: 1.7;
    color: #aaa;
}

.project-more {
    display: inline-block;
    margin-top: 22px;
    padding: 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #9bc7a0;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.project-more:hover {
    opacity: 0.6;
}


/* EXPANDABLE DETAIL PANEL */

.project-detail-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    border-top: 0 solid #333;
    transition:
        max-height 0.6s ease,
        opacity 0.4s ease,
        margin-top 0.6s ease,
        border-width 0.3s ease;
}

.project-detail-panel.is-open {
    opacity: 1;
    margin-top: 90px;
    border-top-width: 1px;
}

.project-detail-content {
    padding-top: 55px;
    padding-bottom: 40px;
}

.project-detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.project-detail-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.project-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-detail-text h3 {
    font-size: 38px;
    font-weight: 400;
    margin: 15px 0 25px;
}

.project-detail-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #aaa;
}

.project-detail-technologies {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 10px;
    letter-spacing: 1px;
    color: #888;
}

.project-detail-close {
    margin-top: 35px;
    background: none;
    border: none;
    color: #9bc7a0;
    font-size: 10px;
    letter-spacing: 1.5px;
    cursor: pointer;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .projects-track .project-card {
        flex: 0 0 calc((100% - 25px) / 2);
    }

    .project-detail-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}

@media (max-width: 600px) {

    .projects-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .projects-track .project-card {
        flex: 0 0 100%;
    }

    .carousel-controls {
        align-self: flex-end;
    }

    .project-detail-text h3 {
        font-size: 30px;
    }

    .project-detail-panel.is-open {
        margin-top: 55px;
    }

}


/* PROJECT IMAGE GALLERY */

.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-item {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #222;
}

.gallery-item:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* PROJECT VIDEO DOCUMENTATION */

.project-video-section {
    margin-top: 65px;
    padding-top: 35px;
    border-top: 1px solid #333;
}

.project-video-label {
    margin-bottom: 25px;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #9bc7a0;
}

.project-video-section video {
    display: block;
    width: 100%;
    max-height: 600px;
    background: #000;
    object-fit: contain;
}


/* =================================
   PROJECT LIGHTBOX
================================= */

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    background: rgba(10, 10, 10, 0.97);
    z-index: 20000;

    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.is-active {
    display: flex;
}

.lightbox img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 2;
    background: none;
    border: none;
    color: white;
    font-size: 35px;
    cursor: pointer;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: none;
    border: none;
    color: #9bc7a0;
    font-size: 32px;
    cursor: pointer;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    color: #888;
    font-size: 11px;
    letter-spacing: 2px;
}

.gallery-item {
    cursor: zoom-in;
}

@media (max-width: 600px) {
    .lightbox img {
        max-width: 92%;
        max-height: 75%;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

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

/* CLICKABLE PROJECT COVERS */

.project-open {
    display: block;
    width: 100%;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.project-open:focus-visible {
    outline: 2px solid #9bc7a0;
    outline-offset: 4px;
}


/* PROJECT CASE STUDY SECTIONS */

.project-sections {
    margin-top: 75px;
    border-top: 1px solid #333;
}

.project-section {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 25px;
    padding: 35px 0;
    border-bottom: 1px solid #333;
}

.project-section-number {
    font-size: 11px;
    color: #9bc7a0;
}

.project-section h4 {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.project-section p {
    max-width: 700px;
    font-size: 15px;
    line-height: 1.8;
    color: #aaa;
}

@media (max-width: 600px) {
    .project-section {
        grid-template-columns: 30px 1fr;
        gap: 15px;
    }
}


/* =================================
   FOOTER COLLABORATIONS
================================= */

.footer-collaborations {
    padding-bottom: 70px;
}

.footer-collaborations h3 {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #9bc7a0;
    margin-bottom: 45px;
}

.collaborations-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 45px 65px;
}

.collaborations-logos img {
    max-width: 140px;
    max-height: 65px;
    width: auto;
    height: auto;
    object-fit: contain;

    filter: grayscale(100%);
    opacity: 0.5;

    transition:
        filter 0.3s ease,
        opacity 0.3s ease;
}

.collaborations-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid #333;
}

@media (max-width: 600px) {
    .collaborations-logos {
        gap: 30px;
    }

    .collaborations-logos img {
        max-width: 100px;
        max-height: 50px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}


/* MOBILE NAVIGATION */

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid #555;
    color: #f2f2f2;
    font: inherit;
    font-size: 11px;
    letter-spacing: 1px;
    padding: 12px;
    cursor: pointer;
}

@media (max-width: 900px) {

    header {
        padding: 16px 5%;
    }

    .header-right {
        gap: 15px;
    }

    .mobile-menu-toggle {
        display: block;
        order: 2;
    }

    .language-switch {
        order: 1;
    }

    .header-right nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 25px 5% 35px;
        background: #111;
        border-bottom: 1px solid #333;
        flex-direction: column;
        gap: 0;
    }

    .header-right nav.is-open {
        display: flex;
    }

    .header-right nav a {
        display: block;
        padding: 17px 0;
        font-size: 14px;
        border-bottom: 1px solid #292929;
    }
}

@media (max-width: 400px) {
    .logo {
        font-size: 10px;
        letter-spacing: 0;
    }

    .header-right {
        gap: 8px;
    }

    .lang-button {
        padding: 3px;
    }

    .language-switch {
        gap: 2px;
    }

    .mobile-menu-toggle {
        padding: 10px 7px;
        font-size: 10px;
    }
}


/* MOBILE PROJECT DETAILS */

@media (max-width: 600px) {

    .projects-viewport {
        width: 100%;
        overflow: hidden;
    }

    .projects-track .project-card {
        flex: 0 0 100%;
    }

    .project-detail-panel {
        width: 100%;
        min-width: 0;
    }

    .project-detail-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .project-gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery-item:first-child {
        grid-column: auto;
    }

    .project-detail-content {
        padding-top: 30px;
    }

    .project-detail-text h3 {
        font-size: 28px;
    }

    .project-detail-panel.is-open {
        margin-top: 35px;
    }

    .project-sections {
        margin-top: 40px;
    }

    .project-video-section {
        margin-top: 40px;
    }
}

/* =================================
   MOBILE CAROUSEL WIDTH FIX
================================= */

@media (max-width: 600px) {

    #projects {
        grid-template-columns: minmax(0, 1fr);
    }

    #projects .section-content {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .projects-heading,
    .projects-viewport,
    .projects-track {
        min-width: 0;
        max-width: 100%;
    }

    .projects-viewport {
        width: 100%;
        overflow: hidden;
    }

    .projects-track .project-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
    }

    .project-image {
        width: 100%;
        max-width: 100%;
    }

}

