/* ===========================================
   RESET & BASE
   =========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    height: 100%;
    background-color: var(--color-dark);
    font-family: "Nohemi", system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

/* ===========================================
   FONTS - local
   =========================================== */
@font-face {
    font-family: "Nohemi";
    src: url("layout/fonts/Nohemi/Nohemi-Light-BF6438cc5702321.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nohemi";
    src: url("layout/fonts/Nohemi/Nohemi-Regular-BF6438cc579d934.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nohemi";
    src: url("layout/fonts/Nohemi/Nohemi-Medium-BF6438cc57ddecd.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nohemi";
    src: url("layout/fonts/Nohemi/Nohemi-Bold-BF6438cc577b524.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DarkReborn";
    src: url("layout/fonts/corvus/DarkReborn.woff2") format("woff2");
}

@font-face {
    font-family: "ESNein";
    src: url("layout/fonts/corvus/ESNein-Extrabold.woff2") format("woff2");
}

@font-face {
    font-family: "ESKlarheitKurrent";
    src: url("layout/fonts/ESKlarheit/ESKlarheitKurrent.woff2") format("woff2");
}

@font-face {
    font-family: "WCManoNegra";
    src: url("layout/fonts/pdp/WCManoNegra.woff2") format("woff2");
}

@font-face {
    font-family: "CFBitronik";
    src: url("layout/fonts/avatar/CFBitronik.woff2") format("woff2");
}

@font-face {
    font-family: "PPNeueMachina";
    src: url("layout/fonts/ascii/PPNeueMachina.woff2") format("woff2");
}


/* ===========================================
   CSS VARIABLES
   =========================================== */
:root {
    --cut: 115px;
    --cut-mid: 80px;
    --cut-small: 45px;
    --color-dark: #0b0b0b;
    --color-light: #fff;
    --color-accent: #FF0073;
}

/* ===========================================
   HEADER
   =========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    pointer-events: none;
}

.header__logo {
    font-size: 18px;
    color: var(--color-light);
    text-decoration: none;
    mix-blend-mode: difference;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

.header__logo:hover {
    opacity: 0.7;
}

.header {
    mix-blend-mode: difference;
    z-index: 100;

}

.header__burger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: 2px solid wheat;
    cursor: pointer;
    padding: 20px 15px;
    pointer-events: auto;
    border-radius: 500px;
    transition: all 0.4s ease;
}

.header__burger-line {
    width: 32px;
    height: 2px;
    transition: all 0.4s ease;
    background-color: #fff;
}


.header__burger:hover .header__burger-line {
    opacity: 0.7;
}

/* ===========================================
   MENU OVERLAY
   =========================================== */
.menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 40%;
    height: 100vh;
    background: var(--color-dark);
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
    display: flex;
    flex-direction: column;
}

.menu.is-open {
    transform: translateX(0);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.menu-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.menu__close {
    position: absolute;
    top: 50px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    color: var(--color-light);
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.menu__close:hover {
    opacity: 0.7;
}

.menu__close svg {
    width: 24px;
    height: 24px;
}

.menu__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 120px 60px 60px;
    border-left: #fff solid 2px;
}

.menu__links {
    display: flex;
    flex-direction: column;
    gap: 0;

}

.menu__link {
    display: flex;
    align-items: baseline;
    gap: 16px;
    text-decoration: none;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin: 0 -60px;
}


.menu__link-text {
    padding-left: 25px;
    text-wrap: nowrap;
}

.menu__link:hover {
    background: var(--color-light);
}

.menu__link:hover .menu__link-text {
    color: var(--color-dark);
}

.menu__link:hover .menu__link-num {
    color: var(--color-dark);
}

.menu__link-text {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--color-light);
}

.menu__link-num {
    font-family: "Fragment Mono", monospace;
    font-size: 14px;
    color: var(--color-accent);
}

.menu__footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.menu__footer-title {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    color: var(--color-light);
    opacity: 0.5;
    letter-spacing: 1px;
}



.menu__footer-links {
    display: flex;
    gap: 32px;
}

.menu__footer-links a {
    font-family: "Fragment Mono", monospace;
    font-size: 13px;
    color: var(--color-light);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.menu__footer-links a:hover {
    opacity: 1;
}


/* ===========================================
   LAYOUT - GRID STRUCTURE
   =========================================== */
section {
    width: 100vw;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
}

.col {
    height: 100%;
    background: var(--color-light);
}

/* ===========================================
   UTILITY CLASSES
   =========================================== */
.bold {
    font-weight: 400;
}

.bold-r {
    font-weight: 400;
    color: #FF0073;
}

.dot {
    color: var(--color-accent);
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    height: 100dvh;
    width: 100vw;
}

/* ===========================================
   FLOATING PROJECTS - Images qui rebondissent
   =========================================== */
.floating-projects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-project {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    pointer-events: auto;
    cursor: grab;
    will-change: transform;
    transition: box-shadow 0.3s ease;
}

.floating-project:active {
    cursor: grabbing;
}

.floating-project.is-dragging {
    cursor: grabbing;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.floating-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    border: white solid 1px;
}

/* Z-index pour passer dessus/dessous les textes */
.floating-project--behind {
    z-index: 0;
}

.floating-project--front {
    z-index: 3;
}

.hero .col {
    background: var(--color-dark);
    height: 100vh;
    pointer-events: none;
}

.hero .col--mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    pointer-events: none;
}

.hero h1 {
    color: var(--color-light);
    text-align: center;
    font-size: 10vw;
    font-weight: 400;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

/* Hero CTA button */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Fragment Mono", monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-light);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 28px;
    border-radius: 50px;
    position: relative;
    z-index: 2;
    margin-top: 30px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease, background 0.3s ease;
    pointer-events: auto;
    white-space: nowrap;

}

.hero-cta.revealed {
    opacity: 1;
    transform: translateY(0);
}

.hero-cta:hover {
    border-color: var(--color-accent);
    background: var(--color-accent);
}

.hero-cta svg {
    transition: transform 0.3s ease;
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

.pasdotg {
    color: transparent;
    display: none;
}

.pasdotd {
    color: transparent;
    display: block;
}

.reveal-text {
    display: inline-flex;
}

.letter-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    height: 1.1em;
}

.letter-inner {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.letter-inner.revealed {
    transform: translateY(0);
}



.hero p {
    color: white;
    font-family: "Fragment Mono", monospace;
    font-size: 10px;
    width: 50%;
    text-align: left;
    position: relative;
    z-index: 1;
    pointer-events: none;
}


/* ===========================================
   SMALL-ABOUT SECTION
   =========================================== */
.small-about {
    position: relative;
    z-index: 1;
    margin-top: 100vh;
    min-height: 100vh;
}

.small-about .col {
    background: var(--color-light);
    height: 120vh;
}

.small-about h2 {
    font-weight: 300;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    text-align: center;
    line-height: 1.7;
    color: var(--color-dark);
}

/* Rounded corners */
.small-about .col--mid {
    border-top-left-radius: var(--cut);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10vh 5%;
}

.small-about .col--left {
    border-top-right-radius: var(--cut);
}

.small-about__inner {
    max-width: 700px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.small-about__label {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-dark);
    opacity: 0.35;
}

/* ===========================================
   RECENT-PROJECTS SECTION
   =========================================== */
.recent-projects {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    overflow: hidden;
}

.recent-projects .col {
    background: var(--color-dark);
    height: 115vh;
}

.recent-projects .col--mid {
    position: relative;
    overflow: visible;
}

.recent-projects h2 {
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3em;
    position: relative;
    z-index: 1;
}

/* Rounded corners */
.recent-projects .col--mid {
    border-top-right-radius: var(--cut);
}

.recent-projects .col--right {
    border-top-left-radius: var(--cut);
}

/* ===========================================
   PROJECTS CONTAINER
   =========================================== */
/* ===========================================
   FEATURED PROJECTS — Horizontal Showcase
   =========================================== */
.projects-container {
    position: absolute;
    top: 100vh;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 100vw;
    z-index: 10;
    pointer-events: auto;
    padding: 8vh 0 10vh;
    overflow: hidden;
    box-sizing: border-box;
}

.featured-track {
    display: flex;
    gap: 25px;
    padding: 0 calc((100vw - 70vw) / 2);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    scroll-padding: 0 calc((100vw - 70vw) / 2);
}

.featured-track:active {
    cursor: grabbing;
}

.featured-track::-webkit-scrollbar {
    display: none;
}

/* Navigation arrows */
.featured-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.featured-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--color-light);
}

.featured-arrow:hover {
    background: var(--color-light);
    color: var(--color-dark);
    border-color: var(--color-light);
}

.featured-arrow svg {
    width: 20px;
    height: 20px;
}

.featured-card {
    flex: 0 0 70vw;
    max-width: 900px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-card:hover {
    transform: scale(1.015);
}

.featured-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.featured-card__visual {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
}

.featured-card__visual img,
.featured-card__visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-card:hover .featured-card__visual img,
.featured-card:hover .featured-card__visual video {
    transform: scale(1.06);
}

/* Info below the visual */
.featured-card__info {
    padding: 20px 5px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.featured-card__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.featured-card__title {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: var(--color-light);
    font-weight: 600;
    line-height: 1.1;
}

.featured-card__tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.featured-card__tag {
    font-family: "Fragment Mono", monospace;
    font-size: 9px;
    padding: 3px 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    color: var(--color-light);
    opacity: 0.6;
}

.featured-card__number {
    font-family: "Fragment Mono", monospace;
    font-size: 48px;
    font-weight: 700;
    color: var(--color-light);
    opacity: 0.08;
    line-height: 1;
}

/* Navigation dots */
.featured-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.featured-dot.active {
    background: var(--color-light);
    width: 24px;
    border-radius: 3px;
}

/* More work button */
.featured-footer {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    padding: 0 20px;
}

.btn--more {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: "Nohemi", sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 500;
    color: var(--color-light);
    text-decoration: none;
    padding: 25px 50px;
    border: none;
    background: transparent;
    letter-spacing: 2px;
    overflow: hidden;
    transition: color 0.4s ease;
}

.btn--more::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.btn--more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-light);
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn--more:hover::after {
    width: 100%;
}

.btn--more__arrow {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn--more:hover .btn--more__arrow {
    transform: translateX(8px);
}



.btn--more:hover {
    color: var(--color-light);
}

@media (max-width: 1024px) {
    .featured-card {
        flex: 0 0 80vw;
    }
}

@media (max-width: 600px) {
    .featured-track {
        flex-direction: column;
        padding: 0 20px;
        gap: 20px;
        overflow-x: visible !important;
        cursor: auto;
    }

    .featured-card {
        flex: none;
        width: 100%;
    }

    .featured-card__visual {
        aspect-ratio: 1;
    }

    .featured-card__number {
        font-size: 32px;
    }

    .featured-nav {
        display: none;
    }

    .btn--more {
        font-size: 1.2rem;
        padding: 20px 30px;
        gap: 15px;
    }

    .btn--more__arrow {
        width: 36px;
        height: 36px;
    }
}

/* ===========================================
   FOOTER SECTION
   =========================================== */
.footer {
    position: relative;
    z-index: 99;
    min-height: 100vh;
}

.footer .col {
    background: var(--color-light);
    height: 120vh;
}

.footer .col--mid {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__content {
    padding-top: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    mix-blend-mode: difference;
}

.footer__label {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-light);
    opacity: 0.4;
    margin-bottom: 20px;
}

.footer h2 {
    font-size: clamp(3rem, 8vw, 6rem);
    text-align: center;
    line-height: 1;
    margin-bottom: 50px;
    font-weight: 600;
    color: var(--color-light);
    text-wrap: nowrap;
}

.footer__email {
    display: inline-block;
    font-family: "Fragment Mono", monospace;
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    color: var(--color-light);
    text-decoration: none;
    padding: 16px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.4s ease;
    margin-bottom: 50px;
    letter-spacing: 1px;
    mix-blend-mode: difference;
}

.footer__email:hover {
    background: var(--color-light);
    color: var(--color-dark);
    border-color: var(--color-light);
}

.footer__socials {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
}

.footer__social {
    font-family: "Nohemi", sans-serif;
    font-size: 1rem;
    color: var(--color-light);
    text-decoration: none;
    opacity: 0.5;
    position: relative;
    transition: opacity 0.3s ease;
}

.footer__social::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-light);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer__social:hover {
    opacity: 1;
}

.footer__social:hover::after {
    width: 100%;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__credit {
    font-family: "Fragment Mono", monospace;
    font-size: 10px;
    color: var(--color-light);
    opacity: 0.25;
    letter-spacing: 1px;
}

/* Rounded corners */
.footer .col--mid {
    border-top-left-radius: var(--cut);
}

.footer .col--left {
    border-top-right-radius: var(--cut);
}

/* ===========================================
   PANELS (GSAP utility)
   =========================================== */
.panel {
    min-height: 100vh;
    position: relative;
}

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
    display: inline-block;
    font-family: "Fragment Mono", monospace;
    font-size: 12px;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.btn--about {
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    background: transparent;
    margin-top: 40px;
}

.btn--about:hover {
    background: var(--color-accent);
    color: var(--color-light);
}

.btn--more {
    color: var(--color-light);
    border: 1px solid var(--color-light);
    background: transparent;
    align-self: center;
    margin-top: 4vh;
}

.btn--more:hover {
    background: var(--color-light);
    color: var(--color-dark);
}

/* ===========================================
   ABOUT PAGE - BIO SECTION (fond noir, première)
   =========================================== */

/* ===========================================
   ABOUT PAGE — BIO (dark, editorial hero)
   =========================================== */
.about-bio {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.about-bio .col {
    background: var(--color-dark);
    height: 100vh;
}

.about-bio .col--mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10vh 5%;
    width: 50vw;
}

.about-bio__content {
    max-width: 600px;
    text-align: left;
}

.about-bio__label {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-light);
    opacity: 0.4;
    display: block;
    margin-bottom: 25px;
}

.about-bio__heading {
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.9;
    color: var(--color-light);
    margin-bottom: 40px;
    font-weight: 600;
    mix-blend-mode: difference;
}

.about-bio__intro {
    max-width: 420px;
}

.about-bio__intro p {
    font-family: "Nohemi", sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-light);
    opacity: 0.6;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.about-bio__intro strong {
    opacity: 1;
    color: var(--color-light);
    font-weight: 600;
}


/* --- Floating Photos --- */
.floating-photos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.floating-photo {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    pointer-events: auto;
    cursor: grab;
    will-change: transform;
    transition: box-shadow 0.3s ease;
}

.floating-photo:active {
    cursor: grabbing;
}

.floating-photo.is-dragging {
    cursor: grabbing;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.floating-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    border: white solid 1px;
    border-radius: 8px;
}

.floating-photo--behind {
    z-index: 0;
}

.floating-photo--front {
    z-index: 3;
}

/* --- Photo Carousel --- */
.photo-carousel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-carousel.is-open {
    opacity: 1;
}

.photo-carousel__close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.photo-carousel__close:hover {
    opacity: 1;
}

.photo-carousel__img-wrap {
    max-width: 80vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-carousel__img-wrap img {
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
}

.photo-carousel__prev,
.photo-carousel__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.photo-carousel__prev:hover,
.photo-carousel__next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.photo-carousel__prev {
    left: 20px;
}

.photo-carousel__next {
    right: 20px;
}

.photo-carousel__dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.photo-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.photo-carousel__dot.active {
    background: white;
}

/* ===========================================
   ABOUT PAGE — EXPERTISE (skills + training combined)
   =========================================== */
.about-expertise {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

.about-expertise .col {
    background: var(--color-light);
    height: 150vh;
}

.about-expertise .col--mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12vh 5%;
    border-top-right-radius: var(--cut);
    width: 40vw;
}

.about-expertise .col--right {
    border-top-left-radius: var(--cut);
}

.about-expertise__content {
    max-width: 90%;
    width: 100%;
    padding-top: 10%;
}

.about-expertise__block {
    margin-bottom: 60px;
}

.about-expertise__header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 25px;
}

.about-expertise__num {
    font-family: "Fragment Mono", monospace;
    font-size: 12px;
    color: var(--color-dark);
    opacity: 0.3;
}

.about-expertise__title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1;
}

.about-expertise__body {
    margin-bottom: 25px;
    padding-left: 42px;
}

.about-expertise__body p {
    font-family: "Nohemi", sans-serif;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-dark);
    opacity: 0.6;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.about-expertise__body strong {
    opacity: 1;
    font-weight: 600;
}

.about-expertise__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 42px;
}

.about-tag {
    font-family: "Fragment Mono", monospace;
    font-size: 10px;
    padding: 6px 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    color: var(--color-dark);
    opacity: 0.7;
    letter-spacing: 0.5px;
}

.about-expertise__divider {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 20px 0 60px;
}



/* ===========================================
   CONTACT PAGE - HERO SECTION (fond noir)
   =========================================== */
.contact-hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.contact-hero .col {
    background: var(--color-dark);
    height: 100vh;
}

.contact-hero .col--mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10vh 5%;
}

.contact-hero__content {
    color: #ffffff;
    text-align: center;
    mix-blend-mode: difference;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 800px;
}

.contact-hero__label {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #fff;
    opacity: 0.4;
    margin-bottom: 20px;
}

.contact-hero__content h2 {
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: 0.95;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-hero__text {
    font-family: "Nohemi", sans-serif;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    line-height: 1.8;
    color: #fff;
    opacity: 0.5;
    max-width: 450px;
    letter-spacing: 0.5px;
}

/* ===========================================
   CONTACT PAGE - INFO SECTION (fond blanc)
   =========================================== */
.contact-info {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

.contact-info .col {
    background: var(--color-light);
    height: 120vh;
}

.contact-info .col--mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10vh 5%;
    border-top-left-radius: var(--cut);
    position: relative;
}

.contact-info .col--left {
    border-top-right-radius: var(--cut);
}

.contact-info__content {
    max-width: 600px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-top: 100vh;
}

.contact-info__email {
    display: inline-block;
    font-family: "Fragment Mono", monospace;
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    color: var(--color-dark);
    text-decoration: none;
    padding: 16px 40px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    transition: all 0.4s ease;
    letter-spacing: 1px;
}

.contact-info__email:hover {
    background: var(--color-dark);
    color: var(--color-light);
    border-color: var(--color-dark);
}

.contact-info__phone {
    font-family: "Fragment Mono", monospace;
    font-size: 14px;
    color: var(--color-dark);
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.contact-info__phone:hover {
    opacity: 1;
}

.contact-info__socials {
    display: flex;
    gap: 30px;
}

.contact-info__social {
    font-family: "Nohemi", sans-serif;
    font-size: 1rem;
    color: var(--color-dark);
    text-decoration: none;
    opacity: 0.5;
    position: relative;
    transition: opacity 0.3s ease;
}

.contact-info__social::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-dark);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-info__social:hover {
    opacity: 1;
}

.contact-info__social:hover::after {
    width: 100%;
}

.contact-info__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 400px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-info__credit {
    font-family: "Fragment Mono", monospace;
    font-size: 10px;
    color: var(--color-dark);
    opacity: 0.25;
    letter-spacing: 1px;
}

.contact-info__copyright {
    position: absolute;
    bottom: 30px;
    right: 40px;
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    color: var(--color-dark);
    opacity: 0.5;
}

/* ===========================================
   SCROLL INDICATOR - Enhanced
   =========================================== */
/* .scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 10;
    pointer-events: none;
    animation: fadeInIndicator 1s ease 1.5s both;
} */

@keyframes fadeInIndicator {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.scroll-indicator__text {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    color: var(--color-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
}

.scroll-indicator__arrow {
    width: 24px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.scroll-indicator__arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: scrollBounce 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--color-accent), 0 0 20px var(--color-accent);
}

.scroll-indicator__arrow::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.5);
    transform: translateX(-50%) rotate(45deg);
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 38px;
        opacity: 0.5;
    }
}

@keyframes arrowPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* ===========================================
   WORKS PAGE
   =========================================== */
.works {
    position: relative;
    z-index: 21;
    min-height: 100vh;
    width: 100%;
    background: var(--color-dark);
    padding: 100px 40px 200px;
    display: flex;
    gap: 40px;
}

/* Sidebar gauche avec titre et filtres */
.works__sidebar {
    flex-shrink: 0;
    width: 200px;
    position: fixed;
    top: 100px;
    left: 40px;
    z-index: 10;
}

.works h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-light);
    font-weight: 700;
    margin: 0 0 40px 0;
}

/* Filtres en colonne */
.works__filter-group {
    margin-bottom: 25px;
}

.works__filter-label {
    font-family: "Fragment Mono", monospace;
    font-size: 10px;
    color: var(--color-light);
    opacity: 0.3;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.works__filters {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-btn {
    font-family: "Fragment Mono", monospace;
    font-size: 14px;
    color: var(--color-light);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
    text-align: left;
}

.filter-btn:hover {
    opacity: 1;
}

.filter-btn.active {
    opacity: 1;
    border-color: var(--color-accent);
}

/* Works Grid */
.bento-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-left: 240px;
}

/* Works card */
.works-card {
    background: var(--color-dark);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        background 0.4s ease,
        border-color 0.4s ease;
}

.works-card:hover {
    transform: scale(1.02);
}

.works-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.works-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.works-card__number {
    font-family: "Fragment Mono", monospace;
    font-size: 12px;
    color: var(--color-light);
    opacity: 0.5;
    transition: color 0.4s ease;
}

.works-card__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.works-card__tag {
    font-family: "Fragment Mono", monospace;
    font-size: 10px;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: var(--color-light);
    transition: color 0.4s ease, border-color 0.4s ease;
}

.works-card__info {
    margin-bottom: 15px;
}

.works-card__title {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    color: var(--color-light);
    margin-bottom: 5px;
    line-height: 1.1;
    transition: color 0.4s ease;
}

.works-card__date {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    color: var(--color-accent);
    opacity: 0.5;
    transition: color 0.4s ease;
}

.works-card__visual {
    width: 100%;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-dark) 0%, #333 100%);
    border-radius: 12px;
    overflow: hidden;
}

.works-card__visual img,
.works-card__visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.works-card:hover .works-card__visual img,
.works-card:hover .works-card__visual video {
    transform: scale(1.05);
}

/* Hover: non-hovered cards go dark */
.bento-grid.has-hover .works-card {
    background: var(--color-dark);
    border-color: rgba(255, 255, 255, 0.2);
}

.bento-grid.has-hover .works-card .works-card__number,
.bento-grid.has-hover .works-card .works-card__title {
    color: var(--color-light);
}

.bento-grid.has-hover .works-card .works-card__tag {
    color: var(--color-light);
    border-color: rgba(255, 255, 255, 0.4);
}



/* Hovered card stays normal */
.bento-grid.has-hover .works-card.is-hovered {
    background: var(--color-light);
    border-color: transparent;
    transform: scale(1.02);
}

.bento-grid.has-hover .works-card.is-hovered .works-card__number,
.bento-grid.has-hover .works-card.is-hovered .works-card__title {
    color: var(--color-dark);
}

.bento-grid.has-hover .works-card.is-hovered .works-card__tag {
    color: var(--color-dark);
    border-color: var(--color-dark);
}

.bento-grid.has-hover .works-card.is-hovered .works-card__date {
    color: var(--color-accent);
}



/* Responsive */
@media (max-width: 1024px) {
    .works {
        flex-direction: column;
        padding: 100px 20px 200px;
    }

    .menu {
        width: 101%;
    }

    .menu__link {
        padding: 20px 20px;
    }

    .menu__link-text {
        font-size: 4em;
    }

    .menu__footer a {
        font-size: 10px;
    }

    .works__sidebar {
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        display: flex;
        align-items: baseline;
        gap: 40px;
        margin-bottom: 30px;
    }

    .hero h1 {
        font-size: 4em;
    }

    .hero .p1 {
        font-size: 6px;
        width: 50%;
        top: 750px;
        left: -50px;
    }

    .hero .p2 {
        font-size: 6px;
        width: 50%;
        right: 50px;
        top: 150px;
        right: -50px;
    }

    .hero .pasdotg {
        color: transparent;
        display: block;
    }

    .hero .pasdotd {
        color: white;
        display: none;
    }

    .hero h1 {
        padding-left: 30px;
    }

    .works h1 {
        margin-bottom: 0;
    }

    .works__filters {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .works__filter-group {
        margin-bottom: 15px;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-left: 0;
    }

    .floating-project {
        width: 80px;
        height: 80px;
    }

    .hero .col--mid {
        width: 25vw;
    }

    .contact-hero__content {
        font-size: 35px;
        min-width: 300px;
    }

    .contact-hero__content p {
        font-size: 13px;
        line-height: 18px;
    }
}



@media (max-width: 600px) {
    .works__sidebar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }


    .works__filters {
        gap: 15px;
    }

    .filter-btn {
        font-size: 12px;
    }

    .works {
        padding: 100px 15px 200px;
    }

}

::-webkit-scrollbar {
    display: none
}

/* ===========================================
   PROJECT PAGE STYLES
   =========================================== */

/* Project Hero */


.project-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 60px 40px;
}

.project-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.project-hero__background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, var(--color-dark) 0%, transparent 100%);
}

.project-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;

}

.project-hero__tags {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.project-hero__tag {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-hero__tag::before {
    content: '✦';
    font-size: 10px;
}

.project-hero__title {
    font-size: clamp(3rem, 10vw, 8rem);
    color: var(--color-light);
    font-weight: 400;
    line-height: 1;
    text-transform: capitalize;
}

/* Project Info Section */
.project-info {
    background: var(--color-light);
    padding: 100px 40px;
    position: relative;
    z-index: 1;
}



.project-info__container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.project-info__left {
    padding-top: 60px;
}

.project-info__title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-dark);
    font-weight: 400;
    margin-bottom: 10px;
}

.project-info__date {
    font-family: "Fragment Mono", monospace;
    font-size: 14px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 40px;
}

.project-info__description {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-info__description p {
    font-family: "Fragment Mono", monospace;
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-dark);
    opacity: 0.8;
}

.project-info__right {
    position: relative;
}

.project-info__image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

/* Project Gallery */
.project-gallery {
    background: var(--color-light);
    padding: 0 40px 100px;
}

.project-gallery__grid {
    max-width: 1400px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-grid__item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-dark);
}

.gallery-grid__item img,
.gallery-grid__item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-gallery__showcase {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-showcase__item {
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-dark);
}

.gallery-showcase__item--full {
    grid-column: span 2;
}

.gallery-showcase__item--half {
    grid-column: span 1;
}

.gallery-showcase__item img,
.gallery-showcase__item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Project Tools */
.project-tools {
    background: var(--color-light);
    padding: 60px 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.project-tools__container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.tools-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.tools-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tools-item__name {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    color: var(--color-dark);
    opacity: 0.6;
}

.tools-item__index {
    font-family: "Fragment Mono", monospace;
    font-size: 10px;
    color: var(--color-dark);
    opacity: 0.4;
}

.colors-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.color-dot:hover {
    transform: scale(1.2);
}

.colors-add {
    width: 24px;
    height: 24px;
    border: 1px dashed rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.3);
}

/* Project Navigation */
.project-nav {
    background: var(--color-light);
    padding: 60px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.project-nav__link {
    font-family: "Fragment Mono", monospace;
    font-size: 14px;
    color: var(--color-dark);
    text-decoration: none;
    padding: 16px 32px;
    border: 1px solid var(--color-dark);
    border-radius: 50px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.project-nav__link:hover {
    opacity: 1;
    background: var(--color-dark);
    color: var(--color-light);
}

/* Project Footer adjustment */
.project-footer {
    margin-top: 0;
}

.project-footer .col--mid {
    border-top-left-radius: var(--cut);
    background-color: var(--color-dark);
}

.project-footer .col--left {
    border-top-right-radius: var(--cut);
    background-color: var(--color-dark);
}

.project-footer .col--right {
    background-color: var(--color-dark);
}


body.pr {
    background-color: var(--color-light) !important;
}




@media (max-width: 1024px) {
    .project-hero {
        padding: 40px 20px;
    }

    .project-info {
        padding: 60px 20px;
    }

    .project-info__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-info__left {
        padding-top: 0;
    }

    .project-gallery {
        padding: 0 20px 60px;
    }

    .project-gallery__showcase {
        grid-template-columns: 1fr;
    }

    .gallery-showcase__item--full,
    .gallery-showcase__item--half {
        grid-column: span 1;
    }

    .project-nav {
        padding: 40px 20px;
    }

    .hero-cta {
        text-align: center;
        left: 25px;
        white-space: nowrap;

    }
}


@media (max-width: 600px) {
    .project-hero__title {
        font-size: clamp(2rem, 12vw, 4rem);
    }

    .project-info::before,
    .project-info::after {
        display: none;
    }

    .tools-row {
        gap: 20px;
    }

    .project-tools__container {
        flex-direction: column;
        align-items: flex-start;
    }


}


/* ===========================================
   PROJECT CONTENT SECTION (NEW LAYOUT)
   =========================================== */

.project-content {
    background: var(--color-light);
    min-height: 100vh;
}

.project-content .col {
    background: var(--color-light);
}

.project-content__info {
    padding: 350px 60px 100px 40px;
}

.project-content__carousel {
    padding: 100px 40px 100px 0;
}

.project-carousel {
    scale: 75%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-carousel__main {
    width: 50vw;
    aspect-ratio: 4/3;
    background: var(--color-dark);
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    right: 0px;
    top: 50px;
}

.project-content__title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-dark);
    font-weight: 400;
    margin-bottom: 8px;
    line-height: 1.1;
}

.project-content__date {
    font-family: "Fragment Mono", monospace;
    font-size: 14px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 30px;
}

.project-content__description {
    margin-bottom: 40px;
}

.project-content__description p {
    font-family: "Fragment Mono", monospace;
    font-size: 13px;
    line-height: 1.9;
    color: var(--color-dark);
    opacity: 0.75;
    margin-bottom: 16px;
}

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

/* Keywords */
.project-content__keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.project-keyword {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    background: var(--color-dark);
    color: var(--color-light);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.project-keyword:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

/* Tools */
.project-content__tools {
    margin-bottom: 30px;
}

.project-content__tools-label,
.project-content__colors-label {
    font-family: "Fragment Mono", monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-dark);
    opacity: 0.5;
    display: block;
    margin-bottom: 12px;
}

.project-content__tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tool {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    padding: 8px 16px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    color: var(--color-dark);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.project-tool:hover {
    opacity: 1;
    border-color: var(--color-dark);
}

/* Colors */
.project-content__colors {
    margin-bottom: 30px;
}

.project-content__colors-list {
    display: flex;
    gap: 12px;
}

.project-color {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-color:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.project-carousel__main img,
.project-carousel__main video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: var(--color-dark);
}

.project-carousel__main img:hover,
.project-carousel__main video:hover {
    transform: scale(1.02);
}

.project-carousel__controls {
    position: static;
    transform: none;
    margin: 16px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.project-carousel__btn {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--color-dark);
}

.project-carousel__btn:hover {
    background: var(--color-dark);
    color: var(--color-light);
    border-color: var(--color-dark);
}

.project-carousel__btn svg {
    width: 20px;
    height: 20px;
}

.project-carousel__counter {
    font-family: "Fragment Mono", monospace;
    font-size: 13px;
    color: var(--color-dark);
    opacity: 0.6;
    min-width: 70px;
    text-align: center;
}

/* ===========================================
   THUMBNAILS GALLERY
   =========================================== */

.project-thumbnails {
    background: white;
    /* (ou garde ton blanc si tu veux) */
    padding: 16px 0 0;
}

.project-thumbnails__grid {
    padding-top: 10px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    align-items: center;
}

.project-thumbnail {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: var(--color-dark);
    transition: all 0.3s ease;
    opacity: 0.6;
    border: 2px solid transparent;
}

.project-thumbnail:hover {
    opacity: 1;
    transform: scale(1.02);
}

.project-thumbnail.active {
    opacity: 1;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(255, 0, 115, 0.2);
}

.project-thumbnail img,
.project-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-thumbnail__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--color-dark);
}

/* Desktop (par défaut) */
.project-carousel__main {
    order: 1;
}

.project-carousel__controls {
    order: 2;
}

.project-thumbnails {
    order: 3;
}

/* Mobile: thumbnails avant controls */
@media (max-width: 1024px) {
    .project-carousel__main {
        order: 1;
    }

    .project-thumbnails {
        order: 2;
    }

    .project-carousel__controls {
        order: 3;
    }
}

/* ===========================================
   RESPONSIVE - Project Content
   =========================================== */

@media (max-width: 1024px) {

    .header {
        padding: 24px 17px;

    }

    .project-content {
        display: flex;
        flex-direction: column;
    }

    .project-content__info {
        order: 1;
        padding: 60px 20px;
        width: 100%;
    }

    .project-content__carousel {
        order: 2;
        padding: 0;
        width: 100%;
    }

    .project-content .col--mid {
        display: none;
    }

    .project-carousel {
        scale: 100%;
    }


    .project-carousel__main {
        aspect-ratio: 16/9;
        height: auto;
        border-radius: 0;
        width: 100%;
        top: 1px;
    }


    .project-thumbnails {
        padding: 0 20px 60px;
    }

    .project-thumbnails__grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }

    .small-about h2 {
        font-size: 20px;
        line-height: 22px;
    }


    .about-bio__intro p {
        font-size: 0.9rem;
    }

    .about-expertise__body p {
        font-size: 0.9rem;
    }

}

.small-about .col--mid {
    width: 50vw;
    align-items: center;
}

@media (max-width: 600px) {
    .project-content__title {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }

    .project-content__info {
        padding: 40px 20px;
    }

    .project-carousel__main {
        aspect-ratio: 16/9;
        width: 100%;
    }

    .project-carousel__btn {
        width: 36px;
        height: 36px;
    }

    .project-carousel__controls {
        padding: 8px 16px;
        gap: 16px;
    }

    .project-carousel__counter {
        font-size: 11px;
    }

    .project-thumbnails {
        padding: 0 15px 40px;
    }

    .project-thumbnails__grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }

    .project-thumbnail {
        border-radius: 6px;
    }

    .project-keyword {
        font-size: 10px;
        padding: 8px 14px;
    }

    .project-nav {
        padding: 30px 15px;
    }

    .project-nav__link {
        padding: 12px 20px;
        font-size: 12px;
    }

    .about-bio__heading {
        font-size: clamp(2.5rem, 15vw, 4rem);
    }

    .about-expertise__title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .about-expertise__body {
        padding-left: 0;
    }

    .about-expertise__tags {
        padding-left: 0;
    }

    .about-expertise__header {
        flex-direction: column;
        gap: 8px;
    }
    .small-about .col--mid {
    width: 70vw;
}
}

/* ===========================================
   BACK BUTTON
   =========================================== */
.project-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Fragment Mono", monospace;
    font-size: 12px;
    color: var(--color-light);
    text-decoration: none;
    margin-bottom: 20px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.project-back:hover {
    opacity: 1;
    gap: 12px;
}

.project-back svg {
    transition: transform 0.3s ease;
}

.project-back:hover svg {
    transform: translateX(-4px);
}

/* ===========================================
   LIGHTBOX
   =========================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox__close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--color-light);
    cursor: pointer;
    padding: 10px;
    opacity: 0.7;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox__close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.lightbox__content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__content img,
.lightbox__content video {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--color-light);
    cursor: pointer;
    padding: 16px;
    border-radius: 50%;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.lightbox__btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__btn--prev {
    left: 30px;
}

.lightbox__btn--next {
    right: 30px;
}

.lightbox__counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Fragment Mono", monospace;
    font-size: 14px;
    color: var(--color-light);
    opacity: 0.6;
}

@media (max-width: 600px) {
    .lightbox__btn {
        padding: 12px;
    }

    .lightbox__btn--prev {
        left: 10px;
    }

    .lightbox__btn--next {
        right: 10px;
    }

    .lightbox__close {
        top: 15px;
        right: 15px;
    }

    .project-back {
        font-size: 11px;
    }
}

/* ===========================================
   PAGE TRANSITION
   =========================================== */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

.page-transition__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    transform: scaleY(0);
    transform-origin: bottom;
}

.page-transition.is-active {
    pointer-events: all;
}

/* Animation d'entrée de page */
body {
    animation: pageEnter 0.5s ease-out forwards;
}

@keyframes pageEnter {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===========================================
   PROJECT POPUP
   =========================================== */
.project-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.project-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.project-popup__content {
    position: relative;
    background: var(--color-light);
    border-radius: 16px;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.project-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.project-popup__close:hover {
    background: var(--color-light);
    transform: rotate(90deg);
}

.project-popup__close svg {
    color: var(--color-dark);
}

.project-popup__image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--color-dark);
}

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

.project-popup__info {
    padding: 24px;
}

.project-popup__title {
    font-size: 24px;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.project-popup__date {
    font-family: "Fragment Mono", monospace;
    font-size: 12px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 12px;
}

.project-popup__description {
    font-family: "Fragment Mono", monospace;
    font-size: 12px;
    line-height: 1.6;
    color: var(--color-dark);
    opacity: 0.7;
    margin-bottom: 20px;
}

.project-popup__btn {
    display: inline-block;
    font-family: "Fragment Mono", monospace;
    font-size: 12px;
    text-decoration: none;
    color: var(--color-light);
    background: var(--color-dark);
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.project-popup__btn:hover {
    background: var(--color-accent);
}

@media (max-width: 600px) {
    .project-popup__content {
        max-width: 320px;
    }

    .project-popup__title {
        font-size: 20px;
    }

    .project-popup__info {
        padding: 20px;
    }
}

/* ===========================================
   PROJECT PAGE — NEW LAYOUT (no 3-col grid)
   =========================================== */

/* Override the global section grid for project page */
body.pr .pj-section {
    display: block;
    width: 100%;
    overflow: visible;
}

body.pr .pj-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 80px;
}

/* --- Hero --- */
.pj-hero {
    position: relative;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 60px 40px;
}

.pj-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.pj-hero__background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, var(--color-dark) 0%, transparent 100%);
}

.pj-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.pj-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Fragment Mono", monospace;
    font-size: 12px;
    color: var(--color-light);
    text-decoration: none;
    margin-bottom: 20px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.pj-hero__back:hover {
    opacity: 1;
    gap: 12px;
}

.pj-hero__back svg {
    transition: transform 0.3s ease;
}

.pj-hero__back:hover svg {
    transform: translateX(-4px);
}

.pj-hero__title {
    font-size: clamp(3rem, 10vw, 8rem);
    color: var(--color-light);
    font-weight: 400;
    line-height: 1;
    text-transform: capitalize;
}

.pj-hero__tags {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.pj-hero__tag {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pj-hero__tag::before {
    content: '✦';
    font-size: 10px;
}

/* --- Intro --- */
.pj-intro {
    position: relative;
    z-index: 1;
    background: var(--color-light);
    padding: 150px 0 80px;
}

.pj-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.pj-label {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 16px;
}

.pj-intro__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--color-dark);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 12px;
}

.pj-intro__date {
    font-family: "Fragment Mono", monospace;
    font-size: 13px;
    color: var(--color-dark);
    opacity: 0.4;
}

.pj-intro__description {
    margin-bottom: 40px;
}

.pj-intro__description p {
    font-family: "Nohemi", monospace;
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--color-dark);
    opacity: 0.75;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.pj-intro__meta {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pj-meta-label {
    font-family: "Fragment Mono", monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-dark);
    opacity: 0.4;
    display: block;
    margin-bottom: 10px;
}

.pj-intro__tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pj-tool {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    padding: 8px 16px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    color: var(--color-dark);
    opacity: 0.7;
}

.pj-intro__info-row {
    display: flex;
    gap: 60px;
}

.pj-intro__info-value {
    font-size: 24px;
    font-weight: 400;
    color: var(--color-dark);
}

.pj-intro__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pj-category {
    font-family: "Fragment Mono", monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    background: var(--color-accent);
    color: var(--color-light);
    border-radius: 50px;
}

.pj-intro__client {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pj-intro__client-type {
    font-size: 24px;
    font-weight: 400;
    color: var(--color-dark);
}

.pj-intro__client-name {
    font-family: "Fragment Mono", monospace;
    font-size: 12px;
    color: var(--color-dark);
    opacity: 0.5;
    letter-spacing: 0.5px;
}

/* --- Showcase (produit final, inside intro) --- */
.pj-showcase__full {
    max-width: 100%;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
}

.pj-showcase__full.pj-showcase--small {
    max-width: 40%;
}

.pj-showcase__full.pj-showcase--medium {
    max-width: 75%;
}

.pj-showcase__full.pj-showcase--full {
    max-width: 100%;
}

.pj-showcase__full img,
.pj-showcase__full video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.pj-showcase__youtube {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.pj-showcase__youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Spotify Embed --- */
.pj-spotify {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.pj-spotify iframe {
    border: none;
    border-radius: 12px;
}

/* --- Pair: 2 items side by side --- */
.pj-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.pj-pair__item {
    border-radius: 10px;
    overflow: hidden;
}

.pj-pair__item img,
.pj-pair__item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

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

/* --- Brand colors + Typography --- */
.pj-brand {
    background: var(--color-light);
    padding: 60px 0 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pj-brand__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 160px;
}

.pj-brand__heading {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pj-brand__swatches {
    display: flex;
    gap: 8px;
    height: 120px;
}

.pj-swatch {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pj-swatch__color {
    width: 100%;
    flex: 1;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.pj-swatch__info {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    gap: 4px;
}

.pj-swatch__hex {
    font-family: "Fragment Mono", monospace;
    font-size: 10px;
    color: var(--color-dark);
    opacity: 0.5;
    text-transform: uppercase;
}

.pj-swatch__usage {
    font-family: "Fragment Mono", monospace;
    font-size: 10px;
    color: var(--color-dark);
    opacity: 0.35;
    display: none;
}

.pj-brand__typo-preview {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.pj-typo-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.pj-typo-item__preview {
    font-size: clamp(3rem, 6vw, 5rem);
    display: block;
    color: var(--color-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.pj-typo-item__name {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    color: var(--color-dark);
    opacity: 0.6;
    display: block;
}

.pj-typo-item__style {
    font-family: "Fragment Mono", monospace;
    font-size: 10px;
    color: var(--color-dark);
    opacity: 0.4;
    display: block;
}

/* --- Bento image grids --- */
.pj-bento-section {
    background: var(--color-light);
    padding: 10px 0;
}

.pj-bento {
    display: grid;
    gap: 10px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 80px;
}

.pj-bento--1 {
    grid-template-columns: 1fr;
}

.pj-bento--full {
    grid-template-columns: 1fr;
}

.pj-bento__item--full {
    width: 100%;
}

.pj-bento__item--full img,
.pj-bento__item--full video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: cover;
}

.pj-bento--2 {
    grid-template-columns: 1fr 1fr;
}

.pj-bento--3 {
    grid-template-columns: 1fr 1fr;
}

.pj-bento--3 .pj-bento__item:first-child {
    grid-column: 1 / -1;
}

.pj-bento--4 {
    grid-template-columns: 1fr 1fr;
}

.pj-bento__item {
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.05);
}

.pj-bento__item img,
.pj-bento__item video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.pj-bento__caption {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    color: var(--color-dark);
    opacity: 0.4;
    padding: 10px 4px 0;
    letter-spacing: 0.5px;
}

/* --- Text blocks --- */
.pj-text-block {
    background: var(--color-light);
    padding: 80px 0;
}

.pj-text-block__content {
    font-family: "Nohemi", monospace;
    font-size: 1.35rem;
    line-height: 2;
    color: var(--color-dark);
    opacity: 0.7;
    max-width: 1000px;
    margin: 0 auto;
    letter-spacing: 1px;
}

.pj-link {
    color: var(--color-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.3s ease;
}

.pj-link:hover {
    opacity: 0.6;
}

/* --- Section Divider --- */
.pj-section-divider {
    background: var(--color-light);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}

.pj-section-divider__title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--color-dark);
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.1;
}

.pj-section-divider__desc {
    font-family: "Fragment Mono", monospace;
    font-size: 13px;
    line-height: 2;
    color: var(--color-dark);
    opacity: 0.6;
    max-width: 700px;
}

/* --- Split: media + text side by side --- */
.pj-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 80px;
    align-items: center;
}

.pj-split__media {
    border-radius: 10px;
    overflow: hidden;
}

.pj-split__media img,
.pj-split__media video {
    width: 80%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.pj-split__text {
    padding: 20px 0;
}

.pj-split__title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--color-dark);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.1;
}

.pj-split__desc {
    font-family: "Nohemi", monospace;
    font-size: 1rem;
    line-height: 1.9;
    color: var(--color-dark);
    opacity: 0.75;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.pj-split__colors {
    margin-top: 25px;
    display: flex;
    gap: 8px;
    width: 100%;
}

.pj-split__color {
    flex: 1;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.pj-split__color-hex {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    color: white;
    opacity: 0.8;
    text-transform: uppercase;
}

.pj-split__music {
    font-family: "Fragment Mono", monospace;
    font-size: 12px;
    color: var(--color-dark);
    opacity: 0.4;
    margin-top: 20px;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .pj-split {
        grid-template-columns: 1fr;
        padding: 0 30px;
        gap: 20px;
    }

    .pj-split__media {
        align-items: center;
        padding-left: 70px;

    }
}

/* --- External Link CTA --- */
.pj-external-link {
    background: var(--color-light);
    padding: 60px 0 80px;
    text-align: center;
}

.pj-external-link__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 50px;
    border: 1px solid var(--color-dark);
    border-radius: 50px;
    text-decoration: none;
    color: var(--color-dark);
    font-family: "Fragment Mono", monospace;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.pj-external-link__btn:hover {
    background: var(--color-dark);
    color: var(--color-light);
}

.pj-external-link__btn svg {
    transition: transform 0.3s ease;
}

.pj-external-link__btn:hover svg {
    transform: translate(3px, -3px);
}

/* --- Navigation prev/next --- */
.pj-nav-section {
    background: var(--color-light);
    padding: 60px 0 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pj-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.pj-nav__card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
    color: var(--color-dark);
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.pj-nav__card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.pj-nav__card--next {
    text-align: right;
}

.pj-nav__name {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    display: block;
}

.pj-nav__thumb {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

/* --- Before/After Compare Slider --- */
.pj-compare {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
}

.pj-compare__before,
.pj-compare__after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pj-compare__after {
    clip-path: inset(0 0 0 50%);
}

.pj-compare__before {
    z-index: 1;
    clip-path: inset(0 50% 0 0);
}

.pj-compare__before img,
.pj-compare__before video,
.pj-compare__after img,
.pj-compare__after video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pj-compare__slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: white;
    z-index: 2;
    transform: translateX(-50%);
}

.pj-compare__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.pj-compare__handle svg {
    width: 14px;
    height: 14px;
}

.pj-compare__label {
    position: absolute;
    bottom: 16px;
    z-index: 3;
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    padding: 6px 14px;
    border-radius: 50px;
    pointer-events: none;
}

.pj-compare__label--before {
    left: 16px;
}

.pj-compare__label--after {
    right: 16px;
}

/* Compare in lightbox */
.pj-compare--lightbox {
    max-width: 90vw;
    max-height: 85vh;
    width: 80vw;
    border-radius: 6px;
}

.pj-compare--lightbox .pj-compare__after img,
.pj-compare--lightbox .pj-compare__after video,
.pj-compare--lightbox .pj-compare__before img,
.pj-compare--lightbox .pj-compare__before video {
    max-height: 85vh;
    object-fit: contain;
}

/* --- Lightbox --- */
.pj-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pj-lightbox.is-open {
    opacity: 1;
    pointer-events: all;
}

.pj-lightbox__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
}

.pj-lightbox__content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pj-lightbox__content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.pj-lightbox__content video {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.pj-lightbox__close {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 2;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    padding: 10px;
}

.pj-lightbox__close:hover {
    opacity: 1;
}

.pj-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
}

.pj-lightbox__arrow:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
}

.pj-lightbox__arrow--prev {
    left: 30px;
}

.pj-lightbox__arrow--next {
    right: 30px;
}

.pj-lightbox__counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-family: "Fragment Mono", monospace;
    font-size: 12px;
    color: white;
    opacity: 0.5;
}

@media (max-width: 600px) {
    .pj-lightbox__arrow {
        width: 40px;
        height: 40px;
    }

    .pj-lightbox__arrow--prev {
        left: 10px;
    }

    .pj-lightbox__arrow--next {
        right: 10px;
    }

    .pj-lightbox__close {
        top: 15px;
        right: 15px;
    }
}

/* --- Footer (original 3-col) --- */
.pj-footer {
    z-index: 4;
}

.pj-footer .col {
    background: var(--color-light);
    height: 120vh;
}


.pj-footer .col--mid {
    border-top-left-radius: var(--cut);
    background-color: var(--color-dark);
}

.pj-footer .col--left {
    border-top-right-radius: var(--cut);
    background-color: var(--color-dark);
}

.pj-footer .col--right {
    background-color: var(--color-dark);
}

.pj-footer .footer__content {
    mix-blend-mode: normal;
}

.pj-footer .footer__email {
    mix-blend-mode: normal;
}

/* ===========================================
   RESPONSIVE — PROJECT PAGE
   =========================================== */
@media (max-width: 1024px) {
    .pj-hero {
        padding: 40px 20px;
        height: 80vh;
        min-height: 450px;
    }

    .pj-hero__background {
        height: 100%;
        background-size: cover;
        background-position: center 30%;
    }

    body.pr .pj-container {
        padding: 0 30px;
    }

    .pj-intro__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pj-intro__info-row {
        gap: 30px;
    }

    .pj-brand__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pj-bento {
        padding: 0 30px;
    }

    .about-expertise .col--mid {
        border-top-right-radius: var(--cut-mid);
        width: 80vw;
    }

}

@media (max-width:800px) {
    .pj-showcase__full.pj-showcase--small {
        max-width: 80%;
    }
}

@media (max-width: 600px) {
    .pj-hero__title {
        font-size: clamp(2rem, 12vw, 4rem);
    }

    .pj-intro__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .pj-bento--2,
    .pj-bento--3,
    .pj-bento--4 {
        grid-template-columns: 1fr;
    }

    .pj-bento--3 .pj-bento__item:first-child {
        grid-column: auto;
    }

    .pj-nav {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pj-nav__card--next {
        text-align: left;
    }

    .pj-nav__thumb {
        height: 140px;
    }

    .recent-projects .col--right {
        border-top-left-radius: var(--cut-small);
    }

    .recent-projects .col--mid {
        border-top-right-radius: var(--cut-small);
    }


    .footer .col--mid {
        border-top-left-radius: var(--cut-small);
    }

    .footer .col--left {
        border-top-right-radius: var(--cut-small);
    }

    .small-about .col--left {
        border-top-right-radius: var(--cut-small);
    }

    .small-about .col--mid {
        border-top-left-radius: var(--cut-small);
    }



    .about-expertise .col--mid {
        border-top-right-radius: var(--cut-small);
    }

    .about-expertise .col {
        height: auto;
        min-height: 100vh;
    }

    .about-expertise .col--mid {
        padding: 15vh 5% 20vh;
    }

    .contact-info .col--mid {
        border-top-left-radius: var(--cut-small);
    }

    .contact-info .col--left {
        border-top-right-radius: var(--cut-small);
    }

    .pj-text-block__content {
        font-size: 1rem;
    }

    .pj-intro__description p {
        font-size: 1rem;
    }


}

@media (max-width: 380px) {

    .menu__footer-links a,
    .menu__footer-links {
        font-size: 9px;
        gap: 15px;
    }
}

/* ===========================================
   LANGUAGE TOGGLE
   =========================================== */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    mix-blend-mode: difference;
    pointer-events: auto;
    position: relative;
    z-index: 101;
}

.lang-toggle__option {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    color: var(--color-light);
    opacity: 0.35;
    transition: opacity 0.3s ease;
    letter-spacing: 1px;
}

.lang-toggle__option.active {
    opacity: 1;
}

.lang-toggle__sep {
    font-family: "Fragment Mono", monospace;
    font-size: 11px;
    color: var(--color-light);
    opacity: 0.2;
}

.lang-toggle:hover .lang-toggle__option {
    opacity: 0.6;
}

.lang-toggle:hover .lang-toggle__option.active {
    opacity: 1;
}

/* ===========================================
   EASTER EGG — ELDEN RING DISCOVERY
   =========================================== */
@font-face {
    font-family: 'Mantinia';
    src: url('layout/fonts/elden/Mantinia.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

.ee-discovery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
}

.ee-discovery__text {
    font-family: 'Mantinia', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    color: #c8a84e;
    letter-spacing: 6px;
    text-transform: uppercase;
    text-align: center;
    opacity: 0;
    text-shadow:
        0 0 40px rgba(200, 168, 78, 0.4),
        0 0 80px rgba(200, 168, 78, 0.2);
}

/* ===========================================
   EASTER EGG MODAL
   =========================================== */
.ee-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ee-modal.is-open {
    opacity: 1;
}

.ee-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.ee-modal__scroll {
    position: relative;
    z-index: 1;
    max-height: 85vh;
    overflow-y: auto;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 90%;
    max-width: 900px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.ee-modal__scroll::-webkit-scrollbar {
    width: 4px;
    display: block;
}

.ee-modal__scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.ee-modal__close {
    position: sticky;
    top: 0;
    align-self: flex-end;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    z-index: 10;
    line-height: 1;
}

.ee-modal__close:hover {
    opacity: 1;
}

.ee-modal__item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.ee-modal.is-open .ee-modal__item {
    opacity: 1;
    transform: translateY(0);
}

.ee-modal.is-open .ee-modal__item:nth-child(2) {
    transition-delay: 0.1s;
}

.ee-modal.is-open .ee-modal__item:nth-child(3) {
    transition-delay: 0.2s;
}

.ee-modal.is-open .ee-modal__item:nth-child(4) {
    transition-delay: 0.3s;
}

.ee-modal__video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.ee-modal__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.ee-modal__text {
    font-family: 'Mantinia', serif;
    font-size: 14px;
    color: #c8a84e;
    text-align: center;
    margin-top: 12px;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* Konami hint */
.about-bio__heading .konami-hint {
    display: block;
    font-family: "Fragment Mono", monospace;
    font-size: 10px;
    color: var(--color-light);
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: 10px;
    letter-spacing: 3px;
}

.about-bio__heading:hover .konami-hint {
    opacity: 0.3;
}