:root {
    --bg-color: #e4e5e4;
    --text-color: #191919;
    --accent-bg: #e5e5e5;
    --font-family: 'Figtree', sans-serif;


    --container-padding: 5vw;
    --section-gap: 6.25rem;

    --border-radius-lg: 2.5rem;

    --border-radius-sm: 0.5rem;



    --transition-fast: 0.2s ease;
    --transition-med: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);


    --portrait-gap: 4rem;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    overflow: hidden;
    height: 100vh;
    position: relative;
    font-weight: 300;
}


body.homepage {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100vh;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}



.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


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


    -ms-overflow-style: none;

    scrollbar-width: none;

}

*::-webkit-scrollbar {
    display: none;

}




h1,
.project-label {
    font-weight: 600;
    text-transform: uppercase;
}



#projects-container {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 5;
    padding: 0 var(--container-padding);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3.75rem;

    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto !important;


    scroll-snap-align: start;
    scroll-snap-stop: always;
    flex-shrink: 0;


    opacity: 0;
    transform: translateY(100vh);
    animation: slideUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}


body:not(.homepage) #projects-container {
    scroll-snap-align: none;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.category-filter {
    position: fixed;
    bottom: 3%;
    left: 50%;
    z-index: 100;
    background-color: var(--text-color);
    padding: 0;
    border-radius: var(--border-radius-lg);
    filter: drop-shadow(0 0.625rem 1.875rem rgba(0, 0, 0, 0.2));
    height: 4rem;
    width: max-content;
    display: flex;
    justify-content: center;
    align-items: center;


    opacity: 0;
    transform: translate(-50%, 150px);
    clip-path: inset(0 calc(50% - 2rem) 0 calc(50% - 2rem) round 2.5rem);


    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.6s ease,
        clip-path 0.8s cubic-bezier(0.22, 1, 0.1, 1);

    pointer-events: none;
}


.category-filter.filter-visible {
    opacity: 1;
    transform: translate(-50%, 0);
    clip-path: inset(0 0 0 0 round 2.5rem);
    pointer-events: auto;
}


.category-filter.filter-visible.entrance {
    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.3s,
        opacity 0.6s ease 1.3s,
        clip-path 1s cubic-bezier(0.22, 1, 0.36, 1) 0.8s;
}

.category-filter ul {
    list-style: none;
    display: flex;
    flex-direction: row;

    gap: 1.5625rem;

    align-items: center;
    padding: 0 1.875rem;
    width: max-content;


    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease 1s, transform 0.6s ease 1s;
}

.category-filter.filter-visible ul {
    opacity: 1;
    transform: translateY(0);
}





.filter-btn {
    background: none;
    border: none;
    color: var(--bg-color);
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;

    padding: 0;
}

.icon-wrapper {
    position: relative;
    width: 1.125rem;

    height: 1.125rem;

    display: flex;
}

.filter-icon {
    width: 1.125rem;

    height: 1.125rem;

    display: block;
    filter: invert(1);
}

.filter-icon.base {
    opacity: 1 !important;

}

.filter-icon.fermer {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.filter-btn.active .filter-icon.fermer {
    opacity: 1;
}

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

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


.project-card.hidden {
    display: none !important;
}


.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, opacity;
    flex-shrink: 0;
    width: 55vw;

    max-width: 37.5rem;

    min-width: 20rem;

}

.project-card.hidden {
    opacity: 0;
    transform: scale(0.1);
    pointer-events: none;
    position: absolute;

    visibility: hidden;
}

.project-card:hover .project-media {
    transform: scale(1.03);
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.15);

}

.project-media {
    width: 100%;
    max-height: 70vh;

    background-color: var(--text-color);

    margin-bottom: 0;

    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    background-size: cover;
    background-position: center;
    object-fit: cover;
}


.project-media--transparent {
    background-color: transparent;
    box-shadow: none;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;

}

.project-card:hover .project-media--transparent {
    box-shadow: none;
    transform: scale(1.03);
}

.transparent-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0.75rem 1.5rem rgba(0, 0, 0, 0.25));

    transition: filter 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .transparent-img {
    filter: drop-shadow(0 1.25rem 2.5rem rgba(0, 0, 0, 0.35));

}

.project-label {
    background-color: var(--accent-bg);

    color: var(--text-color);

    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.625rem;

    transition: background-color 0.4s ease;

}

.label-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.label-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.category-icon {
    width: 1.25rem;

    height: 1.25rem;

    display: block;
}

#bottom-menu {
    position: fixed;
    top: 3%;
    right: 2rem;

    background-color: var(--text-color);
    border-radius: var(--border-radius-lg);
    height: 4rem;

    width: 23.125rem;

    z-index: 100;
    filter: drop-shadow(0 0.625rem 1.5625rem rgba(0, 0, 0, 0.2));
    clip-path: inset(0 0 0 calc(100% - 4rem) round 2.5rem);


    transition: clip-path 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s;
    padding: 0;
    display: block;

}

@media (min-width: 769px) {
    #bottom-menu:hover {
        clip-path: inset(0 0 0 0 round 2.5rem);

    }
}

#bottom-menu.open {
    clip-path: inset(0 0 0 0 round 2.5rem);
}


.menu-icon {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 4rem;

    height: 4rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;

    transition: opacity 0.3s ease 0.4s, transform 0.3s ease 0.4s;
    cursor: pointer;
    z-index: 10;
}

@media (min-width: 769px) {
    #bottom-menu:hover .menu-icon {
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
        pointer-events: none;

        transition: opacity 0.2s ease 0s, transform 0.2s ease 0s;
    }
}

#bottom-menu.open .menu-icon {
    opacity: 0;
    transform: translateY(-50%) scale(0.5);
    pointer-events: none;
    transition: opacity 0.2s ease 0s, transform 0.2s ease 0s;
}

.menu-icon .line {
    width: 26px;
    height: 2px;
    background-color: #ffffff;

    border-radius: 2px;
    display: block;
}


.menu-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;

    padding: 0 32px;

    height: 64px;
    width: 100%;

    opacity: 0;
    transform: translateX(20px);

    transition: opacity 0.2s ease 0.2s, transform 0.2s ease 0.2s;
    pointer-events: none;
}

@media (min-width: 769px) {
    #bottom-menu:hover .menu-links {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;

        transition: opacity 0.3s ease 0.15s, transform 0.3s ease 0.15s;
    }
}

#bottom-menu.open .menu-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.3s ease 0.15s, transform 0.3s ease 0.15s;
}

.menu-links li {
    white-space: nowrap;
}

.menu-links a {
    text-decoration: none;
    color: var(--bg-color);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-family);
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

.menu-links a:hover {
    opacity: 0.5;
}




body.standard-page {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
    min-height: 100vh;
}



.page-title {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.large-text {
    max-width: 900px;
}


.homepage .content-container {
    padding: 200px 0 0 0;
    background-color: #f9f9f9;
    max-width: none;
    margin-top: 100px;
}

.footer-sections-wrapper {
    display: flex;
    flex-direction: column;
    padding: 10vh 5vw;
    gap: 6rem;
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
    background-color: var(--bg-color);
    color: var(--text-color);
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(25, 25, 25, 0.15);

}

.about-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-text-column {
    display: flex;
    flex-direction: column;
    gap: 4.5rem;

}

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

.about-img-column {
    position: sticky;
    top: 10vh;
}

.about-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 0;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 600;
    margin-top: 0;

    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
    font-family: var(--font-family);
    text-transform: uppercase;
}

.about-desc {
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-family: var(--font-family);
}


.pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pill {
    background-color: rgba(25, 25, 25, 0.08);

    color: var(--text-color);
    padding: 0.6rem 1.25rem;
    border-radius: 6.25rem;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.pill.contact-link {
    text-decoration: none;
    font-weight: 600;
    background-color: transparent;
    border: 1px solid var(--text-color);
}


.pill.contact-link:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

@keyframes pulseHighlight {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(25, 25, 25, 0.15);
        background-color: transparent;
        color: var(--text-color);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 0 0 6px rgba(25, 25, 25, 0);
        background-color: var(--text-color);
        color: var(--bg-color);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(25, 25, 25, 0);
        background-color: transparent;
        color: var(--text-color);
    }
}

.pulse-highlight {
    animation: pulseHighlight 1s ease-in-out;
}

.experience-list {
    display: flex;
    flex-direction: column;
}

.exp-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(25, 25, 25, 0.15);
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    font-family: var(--font-family);
    font-weight: 400;
}

.exp-date {
    flex: 0 0 30%;
    opacity: 0.8;
}

.exp-role {
    flex: 1;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .footer-sections-wrapper {
        padding: 5vh 5vw;
        gap: 4rem;
        border-left: none;
        border-top: 1px solid rgba(25, 25, 25, 0.15);

    }

    .about-layout-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-img-column {
        position: relative;
        top: 0;
        order: 1;
    }

    .about-img {
        aspect-ratio: 4 / 5;

    }

    .exp-row {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.5rem 0;
    }
}


.filter-hidden {
    transform: translateX(-50%) translateY(150px) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.homepage .contact-grid {
    border-top: none;
    padding-top: 0;
}


.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    border-top: 1px solid var(--accent-bg);
    padding-top: 40px;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--accent-bg);
}

.contact-label {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-color);
}

.contact-value {
    font-weight: 300;
    text-transform: uppercase;
}


.project-info-footer {
    padding: 100px var(--container-padding);
    background-color: var(--bg-color);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 100px;
}

.info-footer-grid {
    display: flex;
    gap: 8vw;
}

.info-footer-left {
    flex: 7;
}

.info-footer-right {
    flex: 3;
}

.info-footer-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: block;
    letter-spacing: 0.05em;
}

.info-footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
    text-transform: uppercase;
}

.info-footer-text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    color: var(--text-color);
}

.info-footer-credits-list {
    list-style: none;
}

.info-footer-credit-item {
    margin-bottom: 1.5rem;
}

.credit-role {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.25rem;
}

.credit-name {
    font-size: 1rem;
    font-weight: 400;
    display: block;
}

@media (max-width: 768px) {
    .info-footer-grid {
        flex-direction: column;
        gap: 60px;
    }
}


.tickets-gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.tickets-gallery .tickets-row-solo img {
    display: block;
    width: 100%;
    height: auto;
}

.tickets-gallery .tickets-row-pair {
    display: flex;
    flex-direction: row;
}

.tickets-gallery .tickets-row-pair img {
    display: block;
    flex: 1;
    width: 50%;
    height: auto;
    min-width: 0;
}

@media (max-width: 768px) {
    .tickets-gallery .tickets-row-pair {
        flex-direction: column;
    }

    .tickets-gallery .tickets-row-pair img {
        width: 100%;
    }

    .hide-on-mobile {
        display: none !important;
    }
}


.type-section {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.type-demo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.type-label {
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.type-demo h2 {
    font-size: 3rem;
    font-weight: 600;
    text-transform: uppercase;
}

.type-demo p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
}


@media (max-width: 768px) {


    body:not(.homepage) {
        overflow: auto;
        height: auto;
        min-height: 100vh;
    }


    #projects-container {
        flex-direction: column;
        align-items: center;
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 100px 5vw 200px 5vw;
    }

    .project-card {
        flex-shrink: initial;
        width: 90vw;
        max-width: 500px;
        min-width: auto;
    }

    .project-media {
        width: 100%;
    }


    .category-filter {
        position: fixed;
        bottom: 20px;
        top: auto;
        left: 50%;
        transform: translate(-50%, 150px);
        padding: 0;
        border-radius: 35px;
        width: 100%;
        max-width: 4rem;
        height: 4rem;
        display: flex;
        justify-content: center;
        background-color: var(--text-color);
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
        opacity: 0;

        animation:
            filterSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.5s forwards,
            filterExpandMobile 1s ease-in-out 1.5s forwards;
    }

    @keyframes filterExpandMobile {
        0% {
            max-width: 4rem;
        }

        100% {
            max-width: 92vw;
        }
    }

    .category-filter ul {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
        padding: 0;
        gap: 5px;

    }

    .filter-btn {
        display: flex;

        flex-direction: column;
        align-items: center;
        font-size: 1rem;
        gap: 6px;

        flex: 1;
        padding: 5px 0;
    }

    .filter-icon {
        width: 20px;

        height: 20px;
    }

    .filter-btn.active {
        transform: none;
    }


    #bottom-menu {
        top: 20px;
        right: 20px;

        bottom: auto;
        left: auto;
        transform: none;
        width: 50px;
        height: 50px;
    }

    .menu-icon {
        width: 50px;
        min-width: 50px;
        height: 50px;
    }

    #bottom-menu.open {
        width: auto;
        min-width: 250px;
        max-width: calc(100vw - 40px);
    }

    .menu-links {
        padding: 0 16px;

        gap: 16px;
        width: 100%;
        height: 100%;

    }

    .menu-links a {
        font-size: 0.85rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .large-text {
        font-size: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}


.project-gallery-fullwidth {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow: hidden;

}

.project-gallery-fullwidth img,
.project-gallery-fullwidth iframe {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}


.portrait-gallery {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: var(--portrait-gap);
    padding: var(--portrait-gap);
    box-sizing: border-box;
    overflow: visible;
}

.portrait-gallery>img {
    width: 100%;
    height: auto;
    max-height: none;

    object-fit: contain;
}

.portrait-banner-img {
    max-height: none !important;
    object-fit: contain !important;
}


.portrait-intro-text {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: var(--text-color);
    padding: 4rem var(--container-padding);
}

.intro-left {
    flex: 1;
}

.title-wrap {
    display: flex;
    align-items: baseline;
    margin-bottom: 2rem;
}

.mtp-title {
    font-family: var(--font-family);
    font-size: 15vw;
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.05em;
    margin: 0;
}

.mtp-stars {
    font-size: 4vw;
    margin-left: 0.5rem;
}

.mtp-subtitle-fr {
    font-size: 1.8vw;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.intro-right {
    flex: 0 0 35%;
    display: flex;
    justify-content: flex-start;
}

.credits-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.2rem 3rem;
    font-size: 1.1vw;
    line-height: 1.2;
}

.cr-name {
    font-weight: 400;
    font-style: italic;
}

.cr-detail {
    font-weight: 400;
    text-transform: uppercase;
}

.cr-detail .small-caps {
    font-variant: small-caps;
    text-transform: lowercase;
}

@media (max-width: 1024px) {

    .mtp-subtitle-fr,
    .mtp-subtitle-en {
        font-size: 2vw;
    }

    .credits {
        font-size: 1.5vw;
    }
}

@media (max-width: 768px) {
    :root {
        --portrait-gap: 2rem;
    }

    .portrait-intro-text {
        flex-direction: column;
        align-items: flex-start;
        padding: 4rem 5vw;
        gap: 3rem;
    }

    .mtp-title {
        font-size: 25vw;
    }

    .mtp-stars {
        font-size: 8vw;
    }

    .mtp-subtitle-fr {
        font-size: 4vw;
    }

    .intro-right {
        flex: 1;
        width: 100%;
        justify-content: flex-start;
    }

    .credits-grid {
        font-size: 3.5vw;
        gap: 0.5rem 1.5rem;
    }
}


.gallery-flex-row {
    display: flex;
    flex-wrap: nowrap;

    gap: var(--portrait-gap);
    width: 100%;
}

.gallery-item {
    flex: 1;

    display: flex;
    flex-direction: column;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


.flex-align-end {
    align-items: flex-end !important;
}

.flex-align-center {
    align-items: center !important;
}

.flex-align-start {
    align-items: flex-start !important;
}


.flex-2 {
    flex: 2;
}

.flex-3 {
    flex: 3;
}

.flex-7 {
    flex: 7;
}

.flex-1-4 {
    flex: 1.4;
}

.flex-1-1 {
    flex: 1.1;
}

.flex-0-8 {
    flex: 0.8;
}


@media (min-width: 1024px) {
    .flex-decreasing-height {
        align-items: flex-end !important;
    }
}


@media (max-width: 768px) {
    .gallery-flex-row {
        flex-direction: column;
        gap: var(--portrait-gap);
    }
}



.gallery-grid-2,
.gallery-grid-3,
.gallery-grid-asym-right {
    display: grid;
    gap: var(--portrait-gap);
    width: 100%;
    max-width: none !important;

    margin: 0;
    align-items: flex-start;
}

.align-end {
    align-items: flex-end !important;
}

.align-center {
    align-items: center !important;
}

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

.gallery-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-grid-asym-right {
    grid-template-columns: 1fr 1fr;
}


@media (min-width: 1024px) {
    .gallery-grid-decreasing-height {
        grid-template-columns: 1.4fr 1.1fr 0.8fr !important;
        width: 100% !important;
        max-width: none !important;
        align-items: flex-end !important;

    }
}

.gallery-grid-right-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: var(--portrait-gap);
}

.gallery-grid-right-col img {
    height: calc(50% - (var(--portrait-gap) / 2)) !important;
    width: 100%;
    object-fit: cover;
}

.gallery-grid-2 img,
.gallery-grid-3 img,
.gallery-grid-asym-right>img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}

.full-width-stretch {
    width: 100% !important;
    max-height: none !important;
}

.col-padding {
    padding: 0 15%;

}

@media (max-width: 768px) {

    .gallery-grid-2,
    .gallery-grid-3,
    .gallery-grid-asym-right {
        grid-template-columns: 1fr;
    }

    .gallery-grid-right-col {
        height: auto;
    }

    .gallery-grid-right-col img {
        height: auto !important;
    }
}

.project-gallery-fullwidth iframe {
    transform: scale(1.01);

}


.vimeo-video-1 {
    aspect-ratio: 560 / 256;
}

.vimeo-video-2 {
    aspect-ratio: 19 / 13;
}

.vimeo-video-3 {
    aspect-ratio: 475 / 241;
}


.ronce-noir-page .vimeo-video-1 {
    aspect-ratio: 16 / 9;
}

.ronce-noir-page .vimeo-video-2 {
    aspect-ratio: 16 / 9;
}

.ronce-noir-page .vimeo-video-3 {
    aspect-ratio: 1920 / 1544;
}



#project-floating-menu {
    position: fixed;
    bottom: 2rem;

    left: 50%;
    transform: translateX(-50%) translateY(1.25rem);

    z-index: 200;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (max-width: 768px) {
    #project-floating-menu {
        bottom: 20px !important;

        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-thumb-hover {
        display: none !important;

    }
}


body.standard-page::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 7.5rem;

    background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
    z-index: 150;

    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.footer-shadow-visible::after {
    opacity: 1;
}


#project-floating-menu.at-bottom {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}


.menu-state-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #ffffff;
    border-radius: 3.125rem;

    padding: 0.75rem 1.5rem;

    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);

    gap: 1rem;


    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-state-nav:hover {
    opacity: 1;
}

.nav-item {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;

    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: opacity 0.25s ease, transform 0.25s ease;
    position: relative;
}


.nav-item.prev,
.nav-item.next {
    width: 6.875rem;

    flex-shrink: 0;
}

.nav-item:hover {
    opacity: 1;
}

.nav-item img {
    width: 1.25rem;

    height: 1.25rem;

    display: block;
}


.nav-item.prev img.arrow-prev {
    transform: scaleX(-1);
}


.nav-thumb-hover {
    position: absolute;
    bottom: 130%;

    left: 50%;
    transform: translateX(-50%) translateY(0.625rem);

    width: 10rem;


    background-color: #fff;
    border-radius: 0.5rem;

    overflow: hidden;
    box-shadow: 0 0.9375rem 2.1875rem rgba(0, 0, 0, 0.2);

    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    z-index: 10;
}

.nav-thumb-hover img {
    width: 100%;
    height: auto;

    display: block;
}


.nav-item:hover .nav-thumb-hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}







.about-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.about-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.about-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 90%;
    max-width: 600px;
    background-color: var(--bg-color);
    border-radius: 1.25rem;

    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.14);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease;
}

.about-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}

.about-panel-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.about-panel-close:hover {
    transform: scale(1.1);
}

.about-panel-close img {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
}

.about-panel-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-color);
}


@font-face {
    font-family: 'Pavot';
    src: url('IMG/PAVOT/Pavot-OTF/Pavot-Light.otf') format('opentype');
    font-weight: 300;

    font-style: normal;
}

@font-face {
    font-family: 'Pavot';
    src: url('IMG/PAVOT/Pavot-OTF/Pavot-LightItalic.otf') format('opentype');
    font-weight: 300;

    font-style: italic;
}

@font-face {
    font-family: 'Pavot';
    src: url('IMG/PAVOT/Pavot-OTF/Pavot-Regular.otf') format('opentype');
    font-weight: 400;

    font-style: normal;
}

@font-face {
    font-family: 'Pavot';
    src: url('IMG/PAVOT/Pavot-OTF/Pavot-RegularItalic.otf') format('opentype');
    font-weight: 400;

    font-style: italic;
}

@font-face {
    font-family: 'Pavot';
    src: url('IMG/PAVOT/Pavot-OTF/Pavot-Bold.otf') format('opentype');
    font-weight: 700;

    font-style: normal;
}

@font-face {
    font-family: 'Pavot';
    src: url('IMG/PAVOT/Pavot-OTF/Pavot-BoldItalic.otf') format('opentype');
    font-weight: 700;

    font-style: italic;
}


@font-face {
    font-family: 'Ronce Noir';
    src: url('IMG/RonceNoir/RonceNoir.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}


.typo-tester {
    width: 100%;
    padding: 6.25rem 5vw 12.5rem 5vw;

    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    gap: 2.5rem;

    align-items: center;
}

.typo-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;

    align-items: center;
    justify-content: center;
    background-color: #e4e5e4;
    padding: 1rem 2rem;

    border-radius: 3.125rem;

    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.05);

    width: 100%;
    max-width: 1000px;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;

}

.control-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-color);
}


.control-btn {
    background: transparent;
    border: 0.0625rem solid rgba(25, 25, 25, 0.2);

    border-radius: 1.25rem;

    padding: 0.375rem 1rem;

    cursor: pointer;
    font-family: var(--font-family);
    font-size: 0.9rem;
    transition: all 0.4s ease;

    color: var(--text-color);
}

.control-btn:hover {
    border-color: var(--text-color);
}

.control-btn.active {
    background-color: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
}


.weight-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: 0.0625rem solid rgba(25, 25, 25, 0.2);

    border-radius: 1.25rem;

    padding: 0.375rem 2rem 0.375rem 1rem;

    font-family: var(--font-family);
    font-size: 0.9rem;
    color: var(--text-color);
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 140 140" xmlns="http://www.w3.org/2000/svg"><g><path d="m121.3,34.6c-1.6-1.6-4.2-1.6-5.8,0l-51,51.1-51.1-51.1c-1.6-1.6-4.2-1.6-5.8,0-1.6,1.6-1.6,4.2 0,5.8l53.9,53.9c0.8,0.8 1.8,1.2 2.9,1.2 1.1,0 2.1-0.4 2.9-1.2l53.9-53.9c1.7-1.6 1.7-4.2 0.1-5.8z" fill="black"/></g></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;

    background-size: 0.625rem;

}


.size-slider {
    appearance: none;
    -webkit-appearance: none;
    width: 9.375rem;

    height: 0.25rem;

    background: rgba(25, 25, 25, 0.2);
    border-radius: 0.125rem;

    outline: none;
}

.size-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1rem;

    height: 1rem;

    border-radius: 50%;
    background: var(--text-color);
    cursor: pointer;
    transition: transform 0.1s ease;
}

.size-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}


.typo-preview {
    width: 100%;
    max-width: 1200px;
    min-height: 12.5rem;

    font-family: 'Pavot', sans-serif;

    font-size: 6vw;

    font-weight: 400;

    line-height: 1.2;
    text-align: center;
    color: var(--text-color);
    outline: none;
    border: none;
    background: transparent;
    resize: none;
    overflow: hidden;
}


.ronce-noir-page #typo-preview {
    font-family: 'Ronce Noir', sans-serif;
}

.typo-preview[contenteditable=true]:empty:before {
    content: attr(placeholder);
    pointer-events: none;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .typo-controls {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;

        gap: 1.25rem;

        border-radius: 1.5rem;

    }

    .control-group {
        justify-content: space-between;
    }

    .size-slider {
        width: 100%;
        flex: 1;
        margin-left: 12px;
    }

    .typo-preview {
        font-size: 10vw;
    }


    .typo-controls {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        align-items: center;
    }

    .typo-controls .control-group:nth-child(1),
    .typo-controls .control-group:nth-child(2) {
        grid-row: 1;
    }

    .typo-controls .control-group:nth-child(3) {
        grid-column: 1 / span 2;
        grid-row: 2;
    }

    .typo-controls .control-group:nth-child(4) {
        grid-column: 1 / span 2;
        grid-row: 3;
        justify-content: center;
    }

    .weight-select,
    .control-btn {
        width: 100%;
        text-align: center;
    }
}


.project-info-footer {
    width: 100%;
    padding: 5rem 5vw 7rem 5vw;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(25, 25, 25, 0.1);
}

.info-footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.info-footer-left {
    flex: 0 0 70%;
}

.info-footer-right {
    flex: 0 0 30%;
    border-left: 1px solid rgba(25, 25, 25, 0.1);
    padding-left: 4rem;
}

.info-footer-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #949494;

    margin-bottom: 2rem;
    font-weight: 400;
}

.info-footer-title {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.info-footer-text {
    max-width: 800px;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-color);
    font-weight: 300;
}

.info-footer-credits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-footer-credit-item {
    margin-bottom: 2rem;
}

.info-footer-credit-item .credit-role {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #949494;
    margin-bottom: 0.5rem;
}

.info-footer-credit-item .credit-name {
    display: block;
    font-size: 1.15rem;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .info-footer-grid {
        flex-direction: column;
        gap: 3rem;
    }

    .info-footer-left,
    .info-footer-right {
        flex: 1 1 100%;
        border-left: none;
        padding-left: 0;
    }

    .info-footer-title {
        font-size: 2.2rem;
    }
}


@media (max-width: 768px) {
    body.homepage {
        scroll-snap-type: none;

        height: auto;
    }

    .section-title {
        text-align: center;
        font-size: 3rem;
        margin-bottom: 2rem;
        word-wrap: break-word;
    }

    .about-desc {
        text-align: center;
    }

    .pills-container {
        justify-content: center;
    }
}



@media (scripting: none) {
    body {
        overflow: auto !important;
    }
}