@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --red: #da1226;
    --red2: #a60919;
    --ink: #0d0d0d;
    --white: #fff;
    --muted: #777;
    --line: #dedede;
    --darkline: #303030;
    --display: 'Archivo Black', Arial, sans-serif;
    --body: 'Inter', Arial, sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
    overflow-x: clip
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: var(--body);
    overflow-x: clip
}

body.locked {
    overflow: hidden
}

button, input, textarea, select {
    font: inherit
}

button, a {
    -webkit-tap-highlight-color: transparent
}

a {
    color: inherit
}

::selection {
    background: var(--red);
    color: white
}

.dark {
    background: var(--ink);
    color: white
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--red);
    font: 700 .7rem var(--display);
    letter-spacing: .15em;
    text-transform: uppercase
}

.eyebrow:before {
    content: '';
    width: 25px;
    height: 2px;
    background: currentColor
}

.section {
    position: relative;
    padding: clamp(90px, 6vw, 160px) clamp(24px, 6vw, 96px)
}

.section-index {
    position: absolute;
    right: clamp(24px, 6vw, 96px);
    top: 35px;
    color: #666;
    font: 400 .75rem var(--display);
    letter-spacing: .15em
}

.section-head {
    display: grid;
    grid-template-columns:minmax(0, 1fr) minmax(240px, .4fr);
    align-items: end;
    gap: 50px;
    margin-bottom: 70px
}

.section-head h2, .studio-head h2 {
    max-width: 1050px;
    margin: 20px 0 0;
    font: 400 clamp(3rem, 7.5vw, 7rem)/.89 var(--display);
    letter-spacing: -.075em
}

.section-head > p, .studio-head > p {
    max-width: 520px;
    margin: 0;
    color: #aaa;
    font-size: 1.05rem;
    line-height: 1.7
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.16, 1, .3, 1)
}

.reveal.visible {
    opacity: 1;
    transform: none
}

/* =========================================
   HERO RESPONSIVE — TABLETTE + MOBILE
========================================= */

/* =========================================
   HERO RESPONSIVE — TABLETTE
========================================= */

@media (max-width: 900px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero {
        position: relative;

        width: 100%;
        min-height: 100svh;

        padding: 120px 28px 120px !important;

        display: grid !important;
        grid-template-columns:1fr !important;

        align-items: center;

        box-sizing: border-box;

        overflow: hidden;
    }


    /* TEXTE */
    .hero-copy {
        position: relative;

        z-index: 5;

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

    .hero .eyebrow {
        display: block;

        max-width: 100%;

        font-size: .65rem;
        line-height: 1.4;

        white-space: normal;
    }


    /* TITRE */
    .hero h1 {
        width: 100%;
        max-width: 100%;

        margin: 22px 0 22px;

        font-size: clamp(4rem, 11vw, 7rem) !important;
        line-height: .82 !important;

        letter-spacing: -.07em;
    }

    .hero h1 span,
    .hero h1 strong {
        display: block;
    }

    .hero h1 strong {
        transform: none !important;
    }


    /* DESCRIPTION */
    .hero-copy > p {
        width: 100%;
        max-width: 580px;

        margin: 0;

        font-size: 1rem;
        line-height: 1.6;
    }


    /* CTA */
    .hero-actions {
        width: 100%;

        display: flex;
        align-items: center;
        flex-wrap: wrap;

        gap: 14px;

        margin-top: 26px;
    }

    .hero-actions .btn {
        min-height: 50px;

        padding: 0 18px;
    }


    /* SPHERE */
    /*

    .sphere-stage{
        position:absolute !important;

        z-index:2;

        width:380px;
        height:380px;

        right:-120px;
        top:50%;

        transform:translateY(-50%);

        opacity:.3;

        pointer-events:none;
    }

    */
    /* STATS */
    .hero-stats {
        position: absolute;

        z-index: 6;

        left: 28px;
        right: 28px;
        bottom: 28px;

        display: flex;

        gap: 30px;

        flex-wrap: wrap;
    }

    .hero-stats span {
        font-size: .58rem;
    }

    .hero-stats strong {
        font-size: 1.2rem;
    }


    /* decorative lines */
    .line-a {
        top: 18%;
    }

    .line-b {
        bottom: 14%;
    }
}

/* =========================================
   HERO — MOBILE
========================================= */

@media (max-width: 600px) {

    .hero {
        min-height: auto !important;

        padding: 105px 16px 28px !important;

        display: flex !important;
        flex-direction: column;

        align-items: flex-start;
        justify-content: flex-start;

        gap: 0;

        overflow: hidden;
    }

    .hero-copy {
        width: 100%;
        max-width: 100%;
    }

    .hero .eyebrow {
        font-size: .58rem;
        line-height: 1.35;
    }

    .hero h1 {
        margin: 16px 0 16px;

        font-size: clamp(3rem, 14vw, 4.5rem) !important;
        line-height: .82 !important;

        letter-spacing: -.06em;
    }

    .hero h1 strong {
        transform: none !important;
    }

    .hero-copy > p {
        margin: 0;

        width: 100%;
        max-width: 100%;

        font-size: .88rem;
        line-height: 1.5;
    }


    /* CTA */
    .hero-actions {
        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 14px;

        margin-top: 22px;
    }

    .hero-actions .btn {
        width: 100%;

        min-height: 54px;

        padding: 0 18px;

        box-sizing: border-box;

        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .hero-actions .text-link {
        width: auto;

        margin-top: 0;

        font-size: .82rem;
    }


    /* STATS : plus en absolute */
    .hero-stats {
        position: relative !important;

        left: auto !important;
        right: auto !important;
        bottom: auto !important;

        width: 100%;

        margin-top: 38px;

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

        gap: 12px;
    }

    .hero-stats span {
        min-width: 0;

        display: flex;
        flex-direction: column;

        gap: 5px;

        font-size: .47rem;
        line-height: 1.25;
    }

    .hero-stats strong {
        font-size: 1.05rem;
    }


    /* SPHERE */
    /*  .sphere-stage{
        position:absolute !important;

        width:250px;
        height:250px;

        right:-120px;
        top:37%;

        transform:translateY(-50%);

        opacity:.13;

        pointer-events:none;
    }

*/
    /* DATA */
    .data-line {
        font-size: .45rem;
    }

    .line-a {
        top: 16%;
    }

    .line-b {
        bottom: 10%;
    }


    /* RED GLOW */
    .hero::after {
        width: 85vw;
        height: 85vw;

        right: -55vw;
        top: 4%;

        opacity: .12;
    }
}

@media (max-width: 380px) {

    .hero {
        padding: 95px 14px 100px !important;
    }

    .hero h1 {
        font-size: 2.8rem !important;
    }

    .hero-copy > p {
        font-size: .82rem;
    }

    .hero-actions .btn {
        min-height: 46px;

        font-size: .75rem;
    }

    .hero-stats strong {
        font-size: .9rem;
    }

    .hero-stats span {
        font-size: .43rem;
    }
}

.site-loader {
    position: fixed;
    z-index: 200;
    inset: 0;
    background: #090909;
    display: grid;
    place-content: center;
    justify-items: center;
    transition: opacity .7s .15s, visibility .7s .15s
}

.site-loader.done {
    opacity: 0;
    visibility: hidden
}

.loader-grid, .grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, #000, transparent)
}

.loader-logo {
    position: relative;
    width: 170px;
    overflow: hidden;
    transform: translateY(130px);
    animation: loaderRise 1.2s cubic-bezier(.16, 1, .3, 1) forwards
}

.loader-logo img {
    display: block;
    width: 520px;
    max-width: none;
    height: auto
}

.site-loader > span {
    position: relative;
    width: 180px;
    height: 2px;
    margin-top: 25px;
    background: #282828;
    overflow: hidden
}

.site-loader > span i {
    display: block;
    height: 100%;
    background: var(--red);
    animation: loaderLine 1.5s ease forwards;
    transform: translateX(-100%)
}

/* =========================
   DESKTOP
========================= */

.site-header {
    position: fixed;
    z-index: 60;
    top: 0;
    left: 0;
    right: 0;

    height: 76px;

    padding: 0 clamp(20px, 4vw, 62px);

    display: grid;
    grid-template-columns:175px 1fr auto;
    align-items: center;

    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid #ddd;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.brand {
    display: block;
    width: 155px;
    position: relative;
    z-index: 70;
}

.brand img {
    width: 100%;
    display: block;
}

.site-header nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-nav-links {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 32px);
}

.mobile-nav-links > a {
    position: relative;

    color: var(--ink);
    text-decoration: none;

    font-size: .75rem;
    font-weight: 800;
}

.mobile-nav-links > a::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;

    height: 2px;

    background: var(--red);

    transform: scaleX(0);
    transition: .25s;
}

.mobile-nav-links > a:hover::after {
    transform: scaleX(1);
}


/* LANGUAGES DESKTOP */

.header-tools {
    position: relative;
    z-index: 70;

    display: flex;
    align-items: center;

    gap: 12px;
}

.languages {
    display: flex;

    padding: 3px;

    border: 1px solid #ddd;
    border-radius: 999px;
}

.languages a {
    width: 34px;
    height: 27px;

    display: grid;
    place-items: center;

    border-radius: 999px;

    text-decoration: none;
    color: var(--ink);

    font: 400 .62rem var(--display);
}

.languages a.active {
    background: var(--ink);
    color: #fff;
}


/* BURGER */

.menu-toggle {
    display: none;

    position: relative;

    width: 44px;
    height: 44px;

    border: 0;
    padding: 0;

    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    position: absolute;

    left: 11px;

    width: 22px;
    height: 2px;

    background: #111;

    transition: .3s ease;
}

.menu-toggle span:first-child {
    top: 17px;
}

.menu-toggle span:last-child {
    top: 25px;
}


/* ==================================
   TABLETTE + MOBILE
================================== */
/* =========================================
   TABLETTE + MOBILE
========================================= */

@media (max-width: 900px) {

    .site-header {
        height: 70px;
        padding: 0 22px;

        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .brand {
        width: 130px;
        z-index: 1002;
    }

    .desktop-languages {
        display: none !important;
    }

    .menu-toggle {
        display: block !important;

        position: relative;
        z-index: 1002;

        width: 44px;
        height: 44px;

        padding: 0;
        border: 0;
        background: transparent;

        cursor: pointer;
    }

    .menu-toggle span {
        position: absolute;
        left: 11px;

        width: 22px;
        height: 2px;

        background: #111;

        transition: .3s ease;
    }

    .menu-toggle span:first-child {
        top: 17px;
    }

    .menu-toggle span:last-child {
        top: 25px;
    }


    /* MENU PLEIN ÉCRAN */
    .site-header nav[data-nav] {
        position: fixed !important;

        z-index: 1000;

        top: 70px;
        left: 0;
        right: 0;

        width: 100%;
        /*height:calc(100dvh - 70px);*/

        box-sizing: border-box;

        padding: 20px 24px 18px;

        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;

        background: #fff;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-8px);

        overflow: hidden !important;

        transition: opacity .3s ease,
        visibility .3s ease,
        transform .3s ease;
    }

    .site-header nav[data-nav].is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateY(0);
    }


    /* LIENS */
    .mobile-nav-links {
        display: flex !important;
        flex-direction: column;
        justify-content: center;

        width: 100%;


        gap: 0;
    }

    .mobile-nav-links a {


        width: 100%;
        min-height: 0;

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

        padding: 6px 0;

        border-bottom: 1px solid #e8e8e8;

        color: #111 !important;
        text-decoration: none;

        font: 400 clamp(1.5rem, 4.5vw, 2.6rem)/1 var(--display);

        letter-spacing: -.04em;
    }

    .mobile-nav-links a:first-child {
        border-top: 1px solid #e8e8e8;
    }

    .mobile-nav-links a::after {
        content: "↗";

        position: static !important;

        width: auto !important;
        height: auto !important;

        background: none !important;
        transform: none !important;

        font-size: .8rem;

        opacity: .3;
    }


    /* BURGER → X */
    .menu-toggle.is-open span:first-child {
        top: 21px;
        transform: rotate(45deg);
    }

    .menu-toggle.is-open span:last-child {
        top: 21px;
        transform: rotate(-45deg);
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .site-header {
        height: 64px;
        padding: 0 16px;
    }

    .brand {
        width: 112px;
    }

    .site-header nav[data-nav] {
        top: 64px;

        /*height:calc(100dvh - 64px);*/

        padding: 14px 18px 14px;
    }

    .mobile-nav-links a {
        padding: 4px 0;

        font-size: clamp(1.45rem, 7vw, 2rem);
    }


}


/* MOBILES AVEC PETITE HAUTEUR */

@media (max-width: 600px) and (max-height: 700px) {

    .site-header nav[data-nav] {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .mobile-nav-links a {
        font-size: 1.35rem;
        padding: 2px 0;
    }


}


body.menu-open {
    overflow: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* ============================
   HEADER MOBILE / TABLET
============================ */

/* =========================
   DESKTOP
========================= */

.mobile-languages {
    display: none !important;
}

.menu-toggle {
    display: none;
}


/* =========================
   TABLETTE + MOBILE
========================= */

@media (max-width: 900px) {

    .mobile-languages {
        display: flex !important;
        align-items: center;

        gap: 8px;

        margin-top: 16px;
        padding-top: 14px;
    }

    .mobile-languages a {
        min-width: 44px;
        height: 34px;

        padding: 0 12px;

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

        border: 1px solid #ddd;
        border-radius: 999px;

        background: #fff;

        color: #111 !important;
        text-decoration: none;

        font-size: .68rem;
        font-weight: 800;
    }

    .mobile-languages a.active {
        background: #111;
        border-color: #111;
        color: #fff !important;
    }

    .menu-toggle {
        display: block !important;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .mobile-languages {
        gap: 6px;
        margin-top: 12px;
        padding-top: 10px;
    }

    .mobile-languages a {
        min-width: 40px;
        height: 32px;

        padding: 0 10px;

        font-size: .64rem;
    }
}

body.menu-open {
    overflow: hidden;
}

.hero {
    position: relative;
    min-height: max(760px, 100svh);
    padding: 135px clamp(24px, 6vw, 96px) 100px;
    display: grid;
    grid-template-columns:minmax(0, 1.25fr) minmax(330px, .75fr);
    align-items: center;
    overflow: hidden
}

.hero:after {
    content: '';
    position: absolute;
    width: 50vw;
    height: 50vw;
    right: -25vw;
    top: -12vw;
    border-radius: 50%;
    background: var(--red);
    filter: blur(5px);
    opacity: .2
}

.grid-bg {
    opacity: .25
}

.data-line {
    position: absolute;
    z-index: 1;
    color: rgba(255, 255, 255, .12);
    font: 400 .6rem var(--display);
    letter-spacing: .22em;
    white-space: nowrap;
    animation: dataMove 17s linear infinite
}

.line-a {
    top: 20%;
    right: -10%
}

.line-b {
    left: -8%;
    bottom: 17%;
    animation-direction: reverse
}

.hero-copy {
    position: relative;
    z-index: 3
}

.hero h1 {
    margin: 28px 0 25px;
    font: 400 clamp(4.3rem, 9.4vw, 9.4rem)/.79 var(--display);
    letter-spacing: -.08em
}

.hero h1 span, .hero h1 strong {
    display: block
}

.hero h1 strong {
    color: var(--red);
    transform: translateX(clamp(18px, 5vw, 75px))
}

.hero-copy > p {
    max-width: 620px;
    color: #bbb;
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    line-height: 1.65
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
    margin-top: 34px
}

.btn {
    min-height: 54px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    font-weight: 800
}

.btn.red {
    background: var(--red);
    color: white
}

.btn:hover {
    transform: translateY(-3px)
}

.text-link {
    text-decoration: none;
    font-weight: 800;
    border-bottom: 1px solid;
    padding-bottom: 5px
}

.hero-stats {
    position: absolute;
    z-index: 4;
    left: clamp(24px, 6vw, 96px);
    right: clamp(24px, 6vw, 96px);
    bottom: 32px;
    display: flex;
    gap: clamp(28px, 6vw, 90px)
}

.hero-stats span {
    display: grid;
    gap: 4px;
    color: #777;
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .1em
}

.hero-stats strong {
    color: white;
    font: 400 1.35rem var(--display)
}

.sphere-stage {
    --rx: 0deg;
    --ry: 0deg;
    --sx: 0px;
    --sy: 0px;
    --lx: 35%;
    --ly: 25%;
    position: relative;
    z-index: 2;
    width: min(38vw, 500px);
    aspect-ratio: 1;
    margin: auto;
    perspective: 1100px;
    animation: stageFloat 6s ease-in-out infinite
}

.sphere {
    position: absolute;
    width: 58%;
    aspect-ratio: 1;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .5);
    background: radial-gradient(circle at var(--lx) var(--ly), #ff6574 0 4%, var(--red) 23%, #830511 60%, #140104);
    box-shadow: inset -40px -32px 58px rgba(0, 0, 0, .7), inset 20px 18px 30px rgba(255, 255, 255, .17), 0 38px 90px rgba(218, 18, 38, .45);
    transform: translate(-50%, -50%) translate3d(var(--sx), var(--sy), 40px) rotateX(var(--rx)) rotateY(var(--ry));
    transform-style: preserve-3d;
    transition: transform .12s linear
}

.sphere:before {
    content: '';
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .7) 0 1px, transparent 1.5px);
    background-size: 17px 17px;
    opacity: .3;
    animation: particles 8s linear infinite
}

.sphere > img {
    position: absolute;
    z-index: 4;
    width: 108%;
    max-width: none;
    left: 29%;
    top: 19%;
    filter: brightness(0) invert(1) drop-shadow(0 12px 18px rgba(0, 0, 0, .35))
}

.sphere > b {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 15%;
    transform: translateX(-50%);
    font: 400 .72rem var(--display);
    letter-spacing: .2em
}

.sphere-grid-a, .sphere-grid-b {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 50%
}

.sphere-grid-a {
    inset: 8% 31%
}

.sphere-grid-b {
    inset: 31% 6%
}

.sphere-scan {
    position: absolute;
    z-index: 3;
    left: 8%;
    right: 8%;
    height: 2px;
    top: 20%;
    background: white;
    box-shadow: 0 0 18px 5px rgba(255, 255, 255, .4);
    animation: scan 3.3s ease-in-out infinite
}

.sphere-orbit {
    position: absolute;
    inset: 8%;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    transform: rotateX(65deg) rotateZ(20deg);
    animation: orbit 10s linear infinite
}

.orbit-b {
    inset: 19%;
    border-color: rgba(218, 18, 38, .8);
    animation-duration: 7s;
    animation-direction: reverse
}

.satellite {
    position: absolute;
    z-index: 5;
    width: 43px;
    height: 43px;
    border: 1px solid #555;
    border-radius: 50%;
    background: #111;
    display: grid;
    place-items: center;
    font: 400 .62rem var(--display)
}

.sat-a {
    left: 12%;
    top: 23%;
    animation: satFloat 5s ease-in-out infinite
}

.sat-b {
    right: 12%;
    bottom: 20%;
    background: white;
    color: var(--red);
    animation: satFloat 6s ease-in-out infinite reverse
}

.services-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    border: 1px solid var(--darkline)
}

.service {
    position: relative;
    min-height: 330px;
    padding: clamp(25px, 3.5vw, 46px);
    border-right: 1px solid var(--darkline);
    border-bottom: 1px solid var(--darkline);
    overflow: hidden;
    transition: .35s
}

.service:nth-child(3n) {
    border-right: 0
}

.service:nth-last-child(-n+3) {
    border-bottom: 0
}

.service:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--red), #850612);
    transform: translateY(102%);
    transition: .45s cubic-bezier(.16, 1, .3, 1)
}

.service:hover:before {
    transform: none
}

.service > * {
    position: relative;
    z-index: 1
}

.service > span {
    color: #666;
    font: 400 .65rem var(--display)
}

.service h3 {
    margin: 80px 0 18px;
    font: 400 clamp(1.4rem, 2.2vw, 2.1rem)/1 var(--display);
    letter-spacing: -.04em
}

.service p {
    color: #999;
    line-height: 1.65;
    font-size: .9rem
}

.service:hover p {
    color: #ffd9dd
}

.service > b {
    position: absolute;
    right: 25px;
    top: 23px;
    color: var(--red);
    font-size: 1.8rem
}

.service:hover > b {
    color: white
}

/* ================================
   PROJECTS
================================ */
.translation-status {
    position: fixed;
    z-index: 110;
    bottom: 20px;
    inset-inline-start: 20px;
    max-width: min(360px, calc(100vw - 100px));
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    color: #222;
    box-shadow: 0 4px 20px #00000012;
    font-size: .8rem;
    line-height: 1.5
}

/* Editorial portfolio: compact cards with an image-first layout. */
/*
.section.projects {
    padding-block: 72px;
    background: #f5f5f2;
    border-top: 1px solid #e5e5e0
}

.projects .section-index {
    top: 24px;
    color: #90908b
}

.projects-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 32px
}

.projects .projects-head h2 {
    max-width: 760px;
    margin: 16px 0 0;
    font-size: clamp(2.2rem, 4.4vw, 4.2rem);
    line-height: 1.03;
    letter-spacing: -.06em;
    text-wrap: balance
}

.projects-count {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 10px 16px;
    border: 1px solid #d6d6d0;
    border-radius: 999px;
    color: #666;
    font-size: .75rem
}

.projects-count:before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red)
}

.projects-count strong {
    color: var(--ink);
    font: 400 1.2rem var(--display)
}

.projects .projects-grid {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 24px
}

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid #e7e7e1;
    border-radius: 24px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease
}

.project-card:focus-within {
    outline: 2px solid var(--red);
    outline-offset: 4px
}

.project-card.project-entering {
    animation: project-arrive .8s cubic-bezier(.16, 1, .3, 1) var(--project-delay, 0ms) backwards
}

@keyframes project-arrive {
    from {
        opacity: 0;
        transform: translateY(38px) scale(.97)
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.project-link-arrow {
    will-change: auto
}

@media (prefers-reduced-motion: no-preference) {
    .project-link-arrow {
        transition: transform .35s cubic-bezier(.16, 1, .3, 1), background .25s, color .25s, border-color .25s
    }

    .project-card:focus-within .project-link-arrow {
        transform: rotate(45deg)
    }

    @media (hover: hover) and (pointer: fine) {
        .project-card:hover .project-link-arrow {
            transform: rotate(45deg)
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-card.project-entering {
        animation: none
    }
}

.project-image {
    position: relative;
    aspect-ratio: 16/11;
    border-radius: 17px;
    overflow: hidden;
    background: #e9e9e4;
    isolation: isolate
}

.project-image:after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 35%);
    pointer-events: none
}

.project-image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1)
}

.project-image-meta {
    position: absolute;
    inset: 14px 14px auto;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em
}

.project-number, .project-year {
    display: grid;
    place-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border: 1px solid #ffffff50;
    border-radius: 999px;
    background: #111b;
    backdrop-filter: blur(12px)
}

.project-number {
    min-width: 32px;
    padding-inline: 8px
}

.project-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 20px 14px 8px
}

.project-category {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 12px;
    padding: 6px 9px;
    border-radius: 6px;
    background: #f5f5f2;
    color: #62625c;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.4;
    text-transform: uppercase;
    overflow-wrap: anywhere
}

.project-content h3 {
    margin: 0;
    font: 400 clamp(1.45rem, 2.2vw, 2.1rem)/1.12 var(--display);
    letter-spacing: -.045em;
    overflow-wrap: anywhere
}

.project-content p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 3.2em;
    margin: 10px 0 20px;
    color: #75756e;
    font-size: .82rem;
    line-height: 1.6
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    align-self: stretch;
    min-height: 48px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #ecece6;
    color: var(--ink);
    font-size: .73rem;
    font-weight: 700;
    text-decoration: none
}

.project-link:after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px
}

.project-link-arrow {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid #deded7;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: background .25s, color .25s, border-color .25s
}

.project-link:focus-visible {
    outline: none
}

.project-card:focus-within .project-link-arrow {
    background: var(--red);
    border-color: var(--red);
    color: #fff
}

.project-letter {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font: 400 clamp(5rem, 8vw, 8rem)/1 var(--display);
    transform: rotate(-8deg)
}

.projects-more {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #ddddd6
}

.projects-more summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: fit-content;
    min-height: 50px;
    margin-inline: auto;
    padding: 8px 10px 8px 24px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
    font-size: .78rem;
    font-weight: 700;
    list-style: none;
    transition: background .25s
}

[dir=rtl] .projects-more summary {
    padding: 8px 24px 8px 10px
}

.projects-more summary > span:last-child {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    background: #fff;
    color: var(--ink);
    border-radius: 50%;
    font-size: 1.25rem;
    transition: transform .25s
}

.projects-more summary::-webkit-details-marker {
    display: none
}

.projects-more summary:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px
}

.projects-more .projects-hide, .projects-more[open] .projects-show {
    display: none
}

.projects-more[open] .projects-hide {
    display: inline
}

.projects-more[open] summary {
    margin-bottom: 28px
}

.projects-more[open] summary > span:last-child {
    transform: rotate(45deg)
}

@media (hover: hover) and (pointer: fine) {
    .project-card:hover {
        transform: translateY(-5px);
        border-color: #d2d2cb;
        box-shadow: 0 18px 35px -20px #18181240
    }

    .project-card:hover .project-image > img {
        transform: scale(1.045)
    }

    .project-card:hover .project-link-arrow {
        background: var(--red);
        border-color: var(--red);
        color: #fff
    }

    .projects-more summary:hover {
        background: var(--red);
        border-color: var(--red)
    }
}

@media (max-width: 1100px) {
    .projects .projects-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap: 20px
    }
}

@media (max-width: 700px) {
    .section.projects {
        padding-block: 54px
    }

    .projects-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 24px
    }

    .projects .projects-head h2 {
        font-size: clamp(2rem, 9vw, 3rem)
    }

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

    .project-image {
        aspect-ratio: 16/10
    }

    .project-content {
        padding: 18px 12px 8px
    }

    .project-content h3 {
        font-size: 1.75rem
    }

    .project-content p {
        margin-bottom: 16px
    }

    .projects-count {
        padding: 8px 13px
    }

    .projects-more {
        margin-top: 24px
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-card, .project-image > img, .project-link-arrow, .projects-more summary, .projects-more summary > span:last-child {
        transition: none
    }


    .project-card:hover, .project-card:hover .project-image > img {
        transform: none
    }
}*/
/* =========================================================
   PROJECTS V2
========================================================= */

.projects-v2 {
    position: relative;
    overflow: hidden;
    padding-block: clamp(80px, 9vw, 140px);
    background: radial-gradient(
            circle at 90% 5%,
            rgba(205, 32, 38, .07),
            transparent 28%
    ),
    #f5f5f2;
    border-top: 1px solid #dfdfda;
}


/* subtle background decoration */

.projects-v2::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -300px;
    top: 180px;
    border: 1px solid rgba(20, 20, 18, .06);
    border-radius: 50%;
    pointer-events: none;
}

.projects-v2::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -120px;
    top: 310px;
    border: 1px solid rgba(20, 20, 18, .05);
    border-radius: 50%;
    pointer-events: none;
}


.projects-v2 .section-index {
    top: 32px;
    color: #92928b;
}


/* =========================================================
   HEADER
========================================================= */

.projects-top {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: clamp(38px, 5vw, 70px);
}


.projects-heading {
    max-width: 900px;
}


.projects-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}


.projects-heading .eyebrow::before {
    content: "";

    width: 32px;
    height: 1px;

    background: var(--red);
}


.projects-heading h2 {
    max-width: 860px;

    margin: clamp(18px, 2vw, 28px) 0 0;

    font-size: clamp(2.8rem, 6vw, 6.5rem);

    line-height: .94;

    letter-spacing: -.07em;

    text-wrap: balance;
}


.projects-intro {
    max-width: 540px;

    margin: 26px 0 0;

    color: #76766f;

    font-size: clamp(.85rem, 1.2vw, 1rem);
    line-height: 1.7;
}


/* counter */

.projects-counter {
    display: flex;
    align-items: center;

    gap: 14px;

    flex-shrink: 0;

    padding: 14px 20px;

    border: 1px solid #d6d6cf;

    border-radius: 100px;

    background: rgba(255, 255, 255, .45);

    backdrop-filter: blur(12px);
}


.projects-counter-dot {
    position: relative;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--red);
}


.projects-counter-dot::after {
    content: "";

    position: absolute;
    inset: -5px;

    border: 1px solid var(--red);

    border-radius: 50%;

    opacity: .25;

    animation: project-pulse 2.2s infinite;
}


@keyframes project-pulse {

    0% {
        transform: scale(.8);
        opacity: .45;
    }

    70% {
        transform: scale(1.7);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }

}


.projects-counter > div {
    display: flex;
    align-items: baseline;
    gap: 8px;
}


.projects-counter strong {
    color: var(--ink);

    font: 400 1.45rem/1 var(--display);

    letter-spacing: -.04em;
}


.projects-counter span:last-child {
    color: #75756e;

    font-size: .67rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .07em;
}


/* =========================================================
   SHOWCASE
========================================================= */

.projects-showcase {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(0, 1fr);

    gap: 22px;

    align-items: stretch;
}


/* FEATURED */

.projects-featured {
    min-width: 0;
}


/* RIGHT GRID */

.projects-secondary {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;

    min-width: 0;
}


.projects-secondary-item {
    min-width: 0;
}


/* =========================================================
   CARD
========================================================= */

.project-card-v2 {
    position: relative;

    display: flex;
    flex-direction: column;

    height: 100%;
    min-width: 0;

    padding: 7px;

    background: rgba(255, 255, 255, .9);

    border: 1px solid #e2e2dc;

    border-radius: 26px;

    overflow: hidden;

    box-shadow: 0 1px 1px rgba(20, 20, 16, .02),
    0 5px 20px rgba(20, 20, 16, .025);

    transform: translateZ(0);

    transition: transform .55s cubic-bezier(.16, 1, .3, 1),
    box-shadow .55s cubic-bezier(.16, 1, .3, 1),
    border-color .35s ease;
}


/* subtle shine */

.project-card-v2::before {
    content: "";

    position: absolute;

    z-index: 5;

    top: 0;
    left: -100%;

    width: 55%;
    height: 100%;

    background: linear-gradient(
            110deg,
            transparent,
            rgba(255, 255, 255, .15),
            transparent
    );

    transform: skewX(-20deg);

    pointer-events: none;

    transition: left .9s cubic-bezier(.16, 1, .3, 1);
}


/* =========================================================
   IMAGE
========================================================= */

.project-media {
    position: relative;

    overflow: hidden;

    flex-shrink: 0;

    aspect-ratio: 16 / 11;

    border-radius: 20px;

    background: #e4e4df;

    isolation: isolate;
}


.project-card--featured .project-media {
    aspect-ratio: 16 / 11.3;
}


.project-media > img {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transform: scale(1.001);

    transition: transform 1s cubic-bezier(.16, 1, .3, 1),
    filter .7s ease;
}


.project-media-overlay {
    position: absolute;
    z-index: 1;

    inset: 0;

    background: linear-gradient(
            180deg,
            rgba(0, 0, 0, .24) 0%,
            rgba(0, 0, 0, 0) 32%,
            rgba(0, 0, 0, .02) 68%,
            rgba(0, 0, 0, .2) 100%
    );

    pointer-events: none;
}


/* number */

.project-number-v2,
.project-year-v2 {
    position: absolute;

    z-index: 3;

    top: 15px;

    display: grid;

    place-items: center;

    min-height: 32px;

    padding: 7px 11px;

    border: 1px solid rgba(255, 255, 255, .35);

    border-radius: 999px;

    background: rgba(15, 15, 13, .46);

    color: #fff;

    font-size: .65rem;

    font-weight: 700;

    letter-spacing: .06em;

    backdrop-filter: blur(16px);

    box-shadow: inset 0 1px rgba(255, 255, 255, .1);
}


.project-number-v2 {
    left: 15px;

    min-width: 34px;
}


.project-year-v2 {
    right: 15px;
}


/* floating arrow */

.project-floating-arrow {
    position: absolute;

    z-index: 4;

    right: 15px;
    bottom: 15px;

    display: grid;

    place-items: center;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .96);

    color: var(--ink);

    font-size: 1.25rem;

    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);

    transform: rotate(0);

    transition: transform .45s cubic-bezier(.16, 1, .3, 1),
    color .3s,
    background .3s;
}


.project-card--compact .project-floating-arrow {
    width: 40px;
    height: 40px;

    font-size: 1rem;
}


/* =========================================================
   NO COVER
========================================================= */

.project-placeholder {
    position: absolute;

    inset: 0;

    display: grid;

    place-items: center;

    overflow: hidden;
}


.project-placeholder::before {
    content: "";

    position: absolute;

    width: 75%;
    aspect-ratio: 1;

    border: 1px solid rgba(255, 255, 255, .25);

    border-radius: 50%;
}


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

    color: #fff;

    font: 400 clamp(5rem, 10vw, 11rem)/1 var(--display);

    letter-spacing: -.08em;

    transform: rotate(-8deg);
}


.art-1 {
    background: linear-gradient(135deg, #ce252c, #771217);
}

.art-2 {
    background: linear-gradient(135deg, #1c1c1a, #44443f);
}

.art-3 {
    background: linear-gradient(135deg, #9a252b, #241717);
}

.art-4 {
    background: linear-gradient(135deg, #52534c, #11110f);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.project-info {
    position: relative;

    display: flex;

    flex: 1;

    flex-direction: column;

    align-items: flex-start;

    min-width: 0;

    padding: 22px 16px 12px;
}


.project-card--featured .project-info {
    padding: clamp(22px, 3vw, 34px) clamp(18px, 3vw, 30px) 18px;
}


.project-category-v2 {
    display: inline-flex;

    align-items: center;

    min-height: 27px;

    margin-bottom: 13px;

    padding: 6px 10px;

    border: 1px solid #e6e6e0;

    border-radius: 999px;

    background: #f6f6f3;

    color: #6d6d66;

    font-size: .59rem;

    font-weight: 750;

    line-height: 1;

    letter-spacing: .07em;

    text-transform: uppercase;
}


/* title */

.project-info h3 {
    max-width: 95%;

    margin: 0;

    color: var(--ink);

    font: 400 clamp(1.35rem, 2vw, 2rem)
        /1.05 var(--display);

    letter-spacing: -.05em;

    text-wrap: balance;

    overflow-wrap: anywhere;
}


.project-card--featured .project-info h3 {
    max-width: 85%;

    font-size: clamp(2rem, 4vw, 4rem);

    line-height: .98;

    letter-spacing: -.06em;
}


/* description */

.project-summary {
    margin: 12px 0 20px;

    color: #73736c;

    font-size: .78rem;

    line-height: 1.65;
}


.project-summary > * {
    margin: 0;
}


.project-summary.is-collapsed {
    max-height: 3.3em;
    overflow: hidden;
}


.project-card--featured .project-summary {
    max-width: 620px;

    margin-top: 18px;

    font-size: .9rem;
}


.project-card--featured .project-summary.is-collapsed {
    max-height: 4.95em;
}

.project-summary-toggle {
    display: block;
    margin: -8px 0 20px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: .8rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.project-summary-toggle[hidden],
.project-summary-toggle span[hidden] {
    display: none;
}


/* =========================================================
   ACTION
========================================================= */

.project-action {
    position: relative;

    display: flex;

    align-items: center;

    gap: 12px;

    width: 100%;

    min-height: 43px;

    margin-top: auto;

    padding-top: 12px;

    border-top: 1px solid #ecece7;

    color: var(--ink);

    font-size: .68rem;

    font-weight: 750;

    letter-spacing: .03em;

    text-decoration: none;
}


.project-action::after {
    content: "";

    position: absolute;

    inset: calc(-100vh) calc(-100vw);

    z-index: 8;
}


.project-action-line {
    flex: 1;

    height: 1px;

    background: #ddddda;

    transform-origin: left;

    transition: transform .4s cubic-bezier(.16, 1, .3, 1),
    background .3s;
}


.project-action-arrow {
    font-size: 1rem;

    transition: transform .4s cubic-bezier(.16, 1, .3, 1),
    color .3s;
}


/* keyboard */

.project-action:focus-visible {
    outline: none;
}


.project-card-v2:focus-within {
    outline: 2px solid var(--red);
    outline-offset: 4px;
}


/* =========================================================
   HOVER
========================================================= */

@media (hover: hover) and (pointer: fine) {

    .project-card-v2:hover {
        transform: translateY(-8px);

        border-color: #d4d4cd;

        box-shadow: 0 30px 60px -32px rgba(20, 20, 16, .32);
    }


    .project-card-v2:hover::before {
        left: 150%;
    }


    .project-card-v2:hover
    .project-media > img {
        transform: scale(1.065);
    }


    .project-card-v2:hover
    .project-floating-arrow {
        transform: rotate(45deg);

        background: var(--red);

        color: #fff;
    }


    .project-card-v2:hover
    .project-action-arrow {
        transform: translate(3px, -3px);
        color: var(--red);
    }


    .project-card-v2:hover
    .project-action-line {
        transform: scaleX(.94);

        background: var(--red);
    }

}


/* =========================================================
   MORE PROJECTS
========================================================= */

.projects-more-v2 {
    position: relative;
    z-index: 3;

    margin-top: clamp(40px, 5vw, 70px);

    padding-top: 30px;

    border-top: 1px solid #dcdcd5;
}


.projects-more-v2 > summary {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    width: 100%;

    padding: 0;

    color: var(--ink);

    cursor: pointer;

    list-style: none;
}


.projects-more-v2 > summary::-webkit-details-marker {
    display: none;
}


.projects-more-label {
    font: 400 clamp(1.5rem, 3vw, 3rem)
        /1 var(--display);

    letter-spacing: -.05em;
}


.projects-close-label {
    display: none;
}


.projects-more-icon {
    position: relative;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    width: 54px;
    height: 54px;

    border-radius: 50%;

    background: var(--ink);

    transition: transform .45s cubic-bezier(.16, 1, .3, 1),
    background .3s;
}


.projects-more-icon span {
    position: absolute;

    width: 14px;
    height: 1.5px;

    background: #fff;

    border-radius: 10px;

    transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}


.projects-more-icon span:last-child {
    transform: rotate(90deg);
}


/* OPEN */

.projects-more-v2[open]
.projects-open-label {
    display: none;
}


.projects-more-v2[open]
.projects-close-label {
    display: inline;
}


.projects-more-v2[open]
.projects-more-icon {
    transform: rotate(45deg);
}


/* Archive */

.projects-archive {
    padding-top: 50px;

    animation: projects-archive-open .7s cubic-bezier(.16, 1, .3, 1);
}


@keyframes projects-archive-open {

    from {
        opacity: 0;

        transform: translateY(22px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


.projects-archive-head {
    display: flex;

    justify-content: space-between;

    margin-bottom: 20px;

    padding-bottom: 14px;

    border-bottom: 1px solid #ddddda;

    color: #81817a;

    font-size: .62rem;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.projects-archive-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


/* =========================================================
   ENTRANCE ANIMATION
========================================================= */

.project-reveal {
    opacity: 0;

    transform: translateY(38px);

    transition: opacity .8s cubic-bezier(.16, 1, .3, 1),
    transform .8s cubic-bezier(.16, 1, .3, 1);

    transition-delay: var(--project-delay, 0ms);
}


.project-reveal.is-visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   EMPTY
========================================================= */

.projects-empty {
    padding: 70px 20px;

    border: 1px dashed #cacac3;

    border-radius: 24px;

    color: #777770;

    text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .projects-showcase {
        grid-template-columns: 1fr;
    }


    .project-card--featured .project-media {
        aspect-ratio: 16 / 9;
    }


    .projects-secondary {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .projects-archive-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .projects-v2 {
        padding-block: 64px;
    }


    .projects-top {
        align-items: flex-start;

        flex-direction: column;

        gap: 25px;

        margin-bottom: 34px;
    }


    .projects-heading h2 {
        font-size: clamp(2.5rem, 12vw, 4.3rem);

        line-height: .96;
    }


    .projects-intro {
        margin-top: 18px;

        font-size: .8rem;
    }


    .projects-counter {
        padding: 10px 15px;
    }


    .projects-showcase {
        gap: 18px;
    }


    .projects-secondary {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .project-card-v2 {
        border-radius: 21px;
    }


    .project-media,
    .project-card--featured .project-media {
        aspect-ratio: 16 / 10;
        border-radius: 16px;
    }


    .project-info {
        padding: 18px 12px 10px;
    }


    .project-card--featured .project-info {
        padding: 22px 14px 12px;
    }


    .project-card--featured .project-info h3 {
        max-width: 100%;

        font-size: 2rem;
    }


    .project-info h3 {
        max-width: 100%;

        font-size: 1.7rem;
    }


    .project-floating-arrow {
        width: 42px;
        height: 42px;
    }


    .projects-more-v2 {
        margin-top: 35px;

        padding-top: 24px;
    }


    .projects-more-icon {
        width: 46px;
        height: 46px;
    }


    .projects-archive {
        padding-top: 35px;
    }


    .projects-archive-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

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

    .project-reveal {
        opacity: 1;

        transform: none;

        transition: none;
    }


    .project-card-v2,
    .project-media > img,
    .project-floating-arrow,
    .project-action-arrow,
    .project-action-line,
    .projects-more-icon {
        transition: none;
    }


    .projects-counter-dot::after {
        animation: none;
    }


    .projects-archive {
        animation: none;
    }

}

.art-1 {
    background: radial-gradient(circle at 70% 30%, #ef293e, var(--red) 45%, #250104)
}

.art-2 {
    background: linear-gradient(135deg, #111 0 45%, var(--red) 45% 100%)
}

.art-3 {
    background: radial-gradient(circle at center, var(--red), #160103 70%)
}

.art-4 {
    background: linear-gradient(145deg, #f4f4f4 0 30%, var(--red) 30% 70%, #111 70%)
}

.studio {
    width: 100%;
    max-width: 100%;
    overflow: clip
}

.studio:before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    right: -350px;
    top: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(218, 18, 38, .25), transparent 68%)
}

.studio-head {
    position: relative;
    display: grid;
    grid-template-columns:1.3fr .7fr;
    align-items: end;
    gap: 90px;
    margin-bottom: 80px
}

.video-layout {
    position: relative;
    display: grid;
    grid-template-columns:minmax(0, 1fr) 330px;
    border: 1px solid #333;
    background: #080808;
    box-shadow: 0 35px 100px rgba(0, 0, 0, .5)
}

.video-player {
    min-width: 0
}

.video-screen {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #080808
}

.video-screen:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .78), transparent 45%);
    pointer-events: none
}

.video-screen video, .video-screen iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover
}

.video-art {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 38% 35%, #ef1d33, #760711 35%, #080808 72%)
}

.video-art span {
    color: white;
    font: 400 clamp(13rem, 27vw, 28rem)/1 var(--display);
    letter-spacing: -.15em;
    text-shadow: 35px 35px 0 rgba(0, 0, 0, .25);
    transform: rotate(-7deg);
    transition: 1s
}

.video-player.playing .video-art span {
    transform: rotate(4deg) scale(1.1)
}

.video-art i {
    position: absolute;
    width: 55%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(255, 255, 255, .04), 0 0 0 110px rgba(255, 255, 255, .02);
    animation: orbit 9s linear infinite
}

.main-play {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 50%;
    width: 84px;
    height: 84px;
    transform: translate(-50%, -50%);
    border: 1px solid #aaa;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
    color: white;
    font-size: 1.5rem;
    backdrop-filter: blur(15px);
    cursor: pointer;
    transition: .3s
}

.main-play:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translate(-50%, -50%) scale(1.08)
}

.video-player.playing .main-play {
    opacity: .2
}

.video-player.embedded .main-play,
.video-player.embedded .player-controls,
.video-player.embedded .video-title,
.video-player.embedded .video-screen:after {
    display: none;
}

.video-screen:hover .main-play {
    opacity: 1
}

.video-title {
    position: absolute;
    z-index: 4;
    left: 28px;
    right: 28px;
    bottom: 22px;
    display: grid;
    gap: 5px;
    pointer-events: none
}

.video-title small {
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase
}

.video-title strong {
    max-width: 80%;
    font: 400 clamp(1.7rem, 3vw, 3rem)/1 var(--display);
    letter-spacing: -.05em
}

.player-controls {
    min-height: 68px;
    padding: 0 18px;
    display: grid;
    grid-template-columns:38px auto 1fr auto 38px 38px;
    gap: 10px;
    align-items: center;
    border-top: 1px solid #292929
}

.player-controls button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: white;
    cursor: pointer
}

.player-controls button:hover {
    background: var(--red)
}

.player-controls span {
    color: #aaa;
    font-size: .72rem;
    font-variant-numeric: tabular-nums
}

.player-controls input {
    width: 100%;
    height: 4px;
    accent-color: var(--red);
    cursor: pointer
}

.video-playlist {
    display: grid;
    grid-template-rows:64px 1fr;
    border-left: 1px solid #333;
    overflow: hidden
}

.video-playlist > header {
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #303030
}

.video-playlist > header span {
    color: #aaa;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em
}

.video-playlist > header strong {
    color: var(--red);
    font: 400 1.3rem var(--display)
}

.video-playlist > div {
    max-height: 550px;
    overflow: auto
}

.video-playlist button {
    width: 100%;
    min-height: 108px;
    padding: 13px;
    border: 0;
    border-bottom: 1px solid #292929;
    background: transparent;
    color: white;
    display: grid;
    grid-template-columns:84px 1fr;
    gap: 12px;
    align-items: center;
    text-align: left;
    cursor: pointer
}

.video-playlist button.active, .video-playlist button:hover {
    background: #1c1c1c;
    box-shadow: inset 3px 0 var(--red)
}

.thumb {
    width: 84px;
    aspect-ratio: 1.35;
    background-size: cover;
    background-position: center;
    display: grid;
    place-items: center
}

.video-playlist button > span:last-child {
    min-width: 0;
    display: grid;
    gap: 4px
}

.video-playlist small {
    color: var(--red);
    font-size: .58rem;
    font-weight: 800
}

.video-playlist button strong, .video-playlist em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.video-playlist button strong {
    font-size: .8rem
}

.video-playlist em {
    color: #777;
    font-size: .68rem;
    font-style: normal
}

.mosaic-title {
    margin: 120px 0 38px;
    padding-top: 25px;
    border-top: 1px solid #333;
    display: grid;
    grid-template-columns:180px 1fr auto;
    align-items: end;
    gap: 30px
}

.mosaic-title > span {
    color: var(--red);
    font-size: .72rem;
    font-weight: 800
}

.mosaic-title h3 {
    margin: 0;
    font: 400 clamp(2.5rem, 5vw, 4.8rem)/.95 var(--display);
    letter-spacing: -.06em
}

.mosaic-title > b {
    color: #444;
    font: 400 3.5rem var(--display)
}

.photo-mosaic {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 50%;
    gap: 0
}

.photo-carousel { position: relative; width: 100%; min-width: 0; overflow: hidden; }
.photo-carousel .photo-mosaic { width: 100%; max-width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
.photo-carousel .photo-mosaic::-webkit-scrollbar { display: none; }
.photo-carousel .photo-card, .photo-carousel .photo-card.portrait, .photo-carousel .photo-card.square { grid-column: auto; grid-row: auto; width: 94%; min-width: 0; box-sizing: border-box; justify-self: center; height: clamp(300px, 32vw, 400px); scroll-snap-align: start; opacity: 1; transform: none; }
.photo-carousel .photo-card:hover { transform: none; }
.photo-carousel-controls { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.photo-carousel-controls button { width: 48px; height: 48px; border: 1px solid #555; border-radius: 50%; background: transparent; color: white; font-size: 1.4rem; cursor: pointer; }
.photo-carousel-controls button:hover, .photo-carousel-controls button:focus-visible { border-color: var(--red); background: var(--red); }

.photo-card {
    position: relative;
    grid-column: span 7;
    grid-row: span 5;
    padding: 0;
    border: 1px solid #333;
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
    text-align: left;
    cursor: pointer;
    transition: .35s
}

.photo-card.portrait {
    grid-column: span 5;
    grid-row: span 7
}

.photo-card-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}

.photo-card:hover .photo-card-cover {
    transform: scale(1.04);
}

.photo-card.square {
    grid-column: span 5;
    grid-row: span 5
}

.photo-card:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .9), transparent 65%)
}

.photo-card:hover {
    transform: translateY(-6px);
    border-color: var(--red);
    box-shadow: 0 35px 80px rgba(0, 0, 0, .5)
}

.photo-card > div {
    position: absolute;
    z-index: 3;
    left: 22px;
    right: 22px;
    bottom: 20px;
    display: grid;
    gap: 4px
}

.photo-card small {
    font-size: .6rem;
    text-transform: uppercase;
    letter-spacing: .1em
}

.photo-card strong {
    font: 400 clamp(1.4rem, 2.7vw, 2.7rem)/1 var(--display);
    letter-spacing: -.05em
}

.photo-card em {
    color: #bbb;
    font-size: .72rem;
    font-style: normal
}

.photo-type {
    position: absolute;
    z-index: 3;
    left: 18px;
    top: 18px;
    padding: 8px 10px;
    border: 1px solid #777;
    border-radius: 999px;
    background: rgba(0, 0, 0, .35);
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .08em
}

.clients {
    padding: 80px 0;
    overflow: hidden
}

.clients > div:first-child {
    padding: 0 clamp(24px, 6vw, 96px);
    display: flex;
    align-items: end;
    justify-content: space-between
}

.clients h2 {
    margin: 0;
    font: 400 clamp(2rem, 4vw, 4rem)/1 var(--display);
    letter-spacing: -.05em
}

.logo-track {
    background: white;
    width: max-content;
    margin-top: 55px;
    display: flex;
    border-block: 1px solid #333;
    animation: marquee 30s linear infinite
}

.logo-track > span {
    width: clamp(190px, 20vw, 290px);
    height: 125px;
    padding: 28px;
    border-right: 1px solid #333;
    display: grid;
    place-items: center;
    transition: .3s
}

.logo-track > span:hover {
    transform: scale(1.2);
}

.logo-track img {
    max-width: 100%;
    max-height: 60px
}

.logo-track strong {
    font: 400 1.25rem var(--display)
}

.project-contact {
    display: grid;
    grid-template-columns:minmax(300px, .75fr) minmax(560px, 1.25fr);
    gap: clamp(50px, 8vw, 130px);
    background: white
}

.contact-copy {
    position: sticky;
    top: 120px;
    align-self: start
}

.contact-copy h2, .stage h2 {
    margin: 20px 0 24px;
    font: 400 clamp(3rem, 6vw, 5.8rem)/.91 var(--display);
    letter-spacing: -.07em
}

.contact-copy > p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7
}

.contact-points {
    display: grid;
    gap: 12px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #ddd
}

.contact-points span {
    font-size: .8rem;
    font-weight: 800
}

.project-form, .stage form {
    position: relative;
    padding: clamp(25px, 4vw, 54px);
    background: #f7f7f7;
    border: 1px solid #ddd;
    box-shadow: 0 35px 90px rgba(0, 0, 0, .08)
}

.form-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ddd;
    color: var(--red);
    font: 400 .7rem var(--display);
    letter-spacing: .1em
}

.form-head b {
    color: #aaa
}

.form-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 22px 18px
}

.form-grid label, .form-grid fieldset {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: .72rem;
    font-weight: 800
}

.form-grid .wide {
    grid-column: 1/-1
}

.form-grid input, .form-grid textarea, .form-grid select {
    width: 100%;
    padding: 12px 2px;
    border: 0;
    border-bottom: 1px solid #aaa;
    border-radius: 0;
    background: transparent;
    outline: 0
}

.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus {
    border-color: var(--red)
}

.service-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.service-choices label {
    display: block
}

.service-choices input {
    position: absolute;
    opacity: 0
}

.service-choices span {
    display: block;
    padding: 10px 13px;
    border: 1px solid #aaa;
    border-radius: 999px;
    cursor: pointer;
    font-size: .68rem
}

.service-choices input:checked + span {
    background: var(--red);
    border-color: var(--red);
    color: white
}

.file-box {
    min-height: 90px;
    padding: 15px !important;
    border: 1px dashed #aaa !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    cursor: pointer
}

.file-box input {
    position: absolute;
    opacity: 0;
    width: 1px
}

.file-box span {
    color: #777;
    font-weight: 500
}

.submit {
    width: 100%;
    min-height: 56px;
    margin-top: 25px;
    padding: 0 20px;
    border: 0;
    background: var(--ink);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    cursor: pointer
}

.submit:hover {
    background: var(--red)
}

.stage {
    display: grid;
    grid-template-columns:.75fr 1.25fr;
    gap: clamp(50px, 8vw, 130px);
    background: var(--red);
    color: white;
    overflow: hidden
}

.stage:before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    left: -300px;
    bottom: -250px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    box-shadow: 0 0 0 80px rgba(255, 255, 255, .04), 0 0 0 160px rgba(255, 255, 255, .025)
}

.stage > * {
    position: relative
}

.stage-copy > p {
    color: #ffdbe0;
    line-height: 1.65
}

.stage form {
    background: white;
    color: #111
}

footer {
    padding: 55px clamp(24px, 6vw, 96px) 25px;
    display: grid;
    grid-template-columns:1fr auto;
    gap: 40px;
    border-top: 1px solid #ddd
}

footer img {
    width: 190px
}

footer p {
    color: #777
}

footer > div:nth-child(2) {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 12px 35px
}

footer a {
    text-decoration: none;
    font-size: .8rem;
    font-weight: 800
}

footer small {
    grid-column: 1/-1;
    padding-top: 22px;
    border-top: 1px solid #ddd;
    color: #999
}

.toast {
    position: fixed;
    z-index: 120;
    left: 50%;
    bottom: 28px;
    max-width: calc(100vw - 32px);
    transform: translateX(-50%);
    padding: 15px 20px;
    background: #111;
    color: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
    text-align: center
}

.toast.error {
    background: var(--red)
}

.submit:disabled {
    opacity: .6;
    cursor: wait
}

.chat-launcher {
    position: fixed;
    z-index: 81;
    right: 24px;
    bottom: 22px;
    width: 62px;
    height: 70px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--red);
    cursor: pointer;
    transition: .3s
}

.chat-launcher:hover {
    transform: translateY(-6px) rotate(-4deg) scale(1.05)
}

.chat-e {
    display: grid;
    place-items: center;
    font: 400 3.8rem/.8 var(--display);
    letter-spacing: -.15em;
    color: var(--red);
    text-shadow: 10px 10px 0 rgba(0, 0, 0, .1)
}

.chat-panel {
    position: fixed;
    z-index: 80;
    right: 24px;
    bottom: 100px;
    width: min(410px, calc(100vw - 32px));
    height: min(650px, calc(100svh - 125px));
    display: grid;
    grid-template-rows:auto 1fr auto auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 22px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .3);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(.96);
    transform-origin: bottom right;
    transition: .3s
}

.chat-panel.open {
    opacity: 1;
    visibility: visible;
    transform: none
}

.chat-panel > header {
    min-height: 80px;
    padding: 12px 14px;
    background: #111;
    color: white;
    border-bottom: 3px solid var(--red);
    display: grid;
    grid-template-columns:48px 1fr 36px;
    align-items: center;
    gap: 10px
}

.chat-panel > header .chat-e, .message .chat-e {
    font-size: 2.7rem;
    text-shadow: none
}

.chat-panel > header > div {
    display: grid;
    gap: 4px
}

.chat-panel header strong {
    font: 400 .78rem var(--display);
    text-transform: uppercase
}

.chat-panel header small {
    color: #aaa
}

.chat-panel header small i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 5px;
    border-radius: 50%;
    background: var(--red)
}

.chat-panel header button {
    width: 34px;
    height: 34px;
    border: 1px solid #444;
    border-radius: 50%;
    background: transparent;
    color: white;
    font-size: 1.3rem;
    cursor: pointer
}

.chat-messages {
    padding: 16px 13px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.message {
    max-width: 90%;
    display: flex;
    align-items: end;
    gap: 8px
}

.message.user {
    align-self: flex-end
}

.message .chat-e {
    width: 27px;
    font-size: 2rem
}

.message p {
    margin: 0;
    padding: 11px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 14px 14px 14px 3px;
    background: #f3f3f3;
    font-size: .82rem;
    line-height: 1.5
}

.message.user p {
    background: var(--red);
    border-color: var(--red);
    color: white;
    border-radius: 14px 14px 3px 14px
}

.message.action button {
    margin-top: 7px;
    border: 0;
    background: #111;
    color: white;
    padding: 7px 9px;
    font-size: .7rem;
    font-weight: 800
}

.chat-quick {
    padding: 9px 11px;
    display: flex;
    gap: 6px;
    overflow: auto;
    border-top: 1px solid #ddd
}

.chat-quick button {
    flex: none;
    padding: 7px 10px;
    border: 1px solid #111;
    border-radius: 999px;
    background: white;
    font-size: .65rem;
    font-weight: 800;
    cursor: pointer
}

.chat-quick button:hover {
    background: var(--red);
    border-color: var(--red);
    color: white
}

.chat-panel > form {
    min-height: 63px;
    padding: 9px 10px;
    border-top: 1px solid #ddd;
    display: grid;
    grid-template-columns:1fr 43px;
    gap: 8px
}

.chat-panel > form input {
    min-width: 0;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: 0
}

.chat-panel > form input:focus {
    border-color: var(--red)
}

.chat-panel > form button {
    border: 0;
    border-radius: 10px;
    background: var(--red);
    color: white;
    font-size: 1.3rem;
    cursor: pointer
}

.lightbox {
    position: fixed;
    z-index: 150;
    inset: 0;
    padding: 50px;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, .93);
    backdrop-filter: blur(15px);
    opacity: 0;
    visibility: hidden;
    transition: .3s
}

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

.lightbox > button {
    position: absolute;
    right: 25px;
    top: 20px;
    width: 48px;
    height: 48px;
    border: 1px solid #555;
    border-radius: 50%;
    background: #111;
    color: white;
    font-size: 1.5rem
}

.lightbox img {
    max-width: 92vw;
    max-height: 70vh;
    object-fit: contain
}

.lightbox [data-gallery-step] {
    width: 48px;
    height: 48px;
    border: 1px solid #777;
    border-radius: 50%;
    background: #222;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.lightbox [data-gallery-step]:hover {
    background: var(--red);
}

.lightbox [data-gallery-count] {
    min-width: 60px;
    text-align: center;
    direction: ltr;
}

.lightbox > div {
    color: white;
    margin-top: 14px;
    font: 400 1.2rem var(--display)
}

.lightbox {
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 20px;
}

.lightbox .lightbox-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    width: 100%;
    direction: ltr;
    margin: 0;
}

.lightbox-gallery > [data-lightbox-image] {
    width: 100%;
    max-width: 100%;
    max-height: 72vh;
}

.lightbox .gallery-neighbor[data-gallery-step] {
    position: relative;
    width: 100%;
    height: auto;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    opacity: .65;
    transition: opacity .2s, transform .2s;
}

.lightbox .gallery-neighbor[hidden] { display: none; }
.lightbox-gallery:has(.gallery-neighbor[hidden]) { grid-template-columns: minmax(0, 1fr); }
.lightbox .gallery-neighbor:hover,.lightbox .gallery-neighbor:focus-visible { opacity: 1; transform: scale(1.03); }
.gallery-neighbor img { display: block; width: 100%; max-height: 42vh; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery-neighbor span { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #000b; }
.lightbox-caption { display: grid; gap: 10px; text-align: center; }

@media(max-width:600px) {
    .lightbox .lightbox-gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 4fr) minmax(0, 1fr); gap: 8px; }
    .gallery-neighbor img { aspect-ratio: 1 / 3; max-height: 30vh; }
    .gallery-neighbor span { width: 28px; height: 28px; bottom: 6px; font-size: 18px; }
}

[dir=rtl] .hero h1 strong {
    transform: translateX(-5vw)
}

[dir=rtl] .site-header nav a:after {
    transform-origin: right
}

[dir=rtl] .chat-panel {
    right: auto;
    left: 24px;
    transform-origin: bottom left
}

[dir=rtl] .chat-launcher {
    right: auto;
    left: 24px
}

[dir=rtl] .video-playlist {
    border-left: 0;
    border-right: 1px solid #333
}

[dir=rtl] .video-playlist button {
    text-align: right
}

[dir=rtl] .photo-card {
    text-align: right
}

@keyframes loaderRise {
    to {
        transform: none
    }
}

@keyframes loaderLine {
    to {
        transform: none
    }
}

@keyframes dataMove {
    to {
        transform: translateX(-25%)
    }
}

@keyframes stageFloat {
    50% {
        transform: translateY(-8px) scale(1.02)
    }
}

@keyframes particles {
    to {
        background-position: 34px 17px;
        transform: rotate(8deg)
    }
}

@keyframes scan {
    0%, 100% {
        top: 18%;
        opacity: .2
    }
    50% {
        top: 78%;
        opacity: 1
    }
}

@keyframes orbit {
    to {
        transform: rotateX(65deg) rotateZ(380deg)
    }
}

@keyframes satFloat {
    50% {
        transform: translate(12px, -15px) rotate(8deg)
    }
}

@keyframes marquee {
    to {
        transform: translateX(-50%)
    }
}

@media (max-width: 1100px) {
    .site-header {
        grid-template-columns:160px 1fr auto
    }

    .site-header nav {
        gap: 13px
    }

    .site-header nav a {
        font-size: .66rem
    }

    .hero {
        grid-template-columns:1fr .55fr
    }

    .services-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .service:nth-child(3n) {
        border-right: 1px solid #333
    }

    .service:nth-child(2n) {
        border-right: 0
    }

    .section-head, .studio-head {
        grid-template-columns:1fr
    }

    .video-layout {
        grid-template-columns:1fr
    }

    .video-playlist {
        grid-template-rows:55px auto;
        border-left: 0;
        border-top: 1px solid #333
    }

    .video-playlist > div {
        display: flex;
        max-height: none;
        overflow-x: auto
    }

    .video-playlist button {
        min-width: 290px;
        border-right: 1px solid #292929
    }

    .project-contact, .stage {
        grid-template-columns:1fr
    }

    .contact-copy {
        position: static
    }

    .stage-copy {
        max-width: 760px
    }
}

@media (max-width: 780px) {
    html {
        scroll-padding-top: 66px
    }

    .site-header {
        height: 66px;
        padding: 0 18px;
        grid-template-columns:1fr auto
    }

    .brand {
        width: 130px
    }

    .menu-toggle {
        display: block
    }

    .site-header nav {
        position: fixed;
        top: 66px;
        left: 0;
        right: 0;
        padding: 18px;
        background: white;
        border-bottom: 1px solid #ddd;
        display: grid;
        gap: 0;
        transform: translateY(-125%);
        opacity: 0;
        transition: .3s
    }

    .site-header nav.open {
        transform: none;
        opacity: 1
    }

    .site-header nav a {
        padding: 12px 5px;
        border-bottom: 1px solid #eee;
        font-size: .85rem
    }

    .languages a {
        width: 30px
    }

    .hero {
        min-height: 800px;
        padding: 105px 20px 120px;
        grid-template-columns:1fr
    }

    .hero h1 {
        font-size: clamp(3.5rem, 17vw, 5.8rem)
    }

    .hero h1 strong {
        transform: none
    }

    .hero-copy > p {
        font-size: 1rem
    }

    .sphere-stage {
        position: absolute !important;

        width: 240px;
        height: 240px;

        right: -18px;
        top: 41px;

        margin: 0;

        opacity: .60;

        z-index: 1;

        transform: none !important;
        pointer-events: none;

        animation: none !important;
    }

    html[lang="en"] .sphere-stage {
        width: 167px;
        height: 156px;
        right: -37px;
        top: 37px;
    }

    html[lang="ar"] .sphere-stage,
    html[dir="rtl"] .sphere-stage {
        right: auto !important;
        left: -33px !important;
    }

    .hero-stats {
        left: 20px;
        right: 20px;
        gap: 18px;
        justify-content: space-between
    }

    .hero-stats strong {
        font-size: 1rem
    }

    .data-line {
        display: none
    }

    .section {
        padding: 90px 20px
    }

    .section-index {
        right: 20px
    }

    .section-head h2, .studio-head h2 {
        font-size: clamp(2.8rem, 13vw, 4.4rem)
    }

    .services-grid {
        grid-template-columns:1fr
    }

    .service, .service:nth-child(n) {
        min-height: 280px;
        border-right: 0;
        border-bottom: 1px solid #333
    }

    .video-screen {
        aspect-ratio: .92
    }

    .video-title {
        left: 18px;
        right: 18px
    }

    .video-title strong {
        max-width: 100%;
        font-size: 1.8rem
    }

    .player-controls {
        grid-template-columns:36px 1fr 36px 36px;
        padding: 0 8px
    }

    .player-controls span {
        display: none
    }

    .mosaic-title {
        grid-template-columns:1fr auto
    }

    .mosaic-title > span {
        grid-column: 1/-1
    }

    .mosaic-title h3 {
        font-size: 2.5rem
    }

    .photo-mosaic {
        display: grid;
        grid-auto-columns: 100%;
    }

    .photo-carousel .photo-card, .photo-carousel .photo-card.portrait, .photo-carousel .photo-card.square {
        width: 86%;
        height: clamp(260px, 78vw, 360px);
        aspect-ratio: auto
    }



    .clients > div:first-child {
        align-items: start;
        flex-direction: column;
        gap: 20px
    }

    .project-contact, .stage {
        gap: 42px
    }

    .contact-copy h2, .stage h2 {
        font-size: 3.2rem
    }

    .project-form, .stage form {
        padding: 24px 18px
    }

    .form-grid {
        grid-template-columns:1fr
    }

    .form-grid .wide {
        grid-column: auto
    }

    footer {
        grid-template-columns:1fr
    }

    .chat-panel {
        right: 16px;
        bottom: 88px
    }

    .chat-launcher {
        right: 16px
    }

    .lightbox {
        padding: 20px
    }

    [dir=rtl] .chat-panel {
        left: 16px
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}

.sphere > img {
    height: 52%;
    width: auto;
    max-width: none;
    left: 29%;
    top: 19%;
    clip-path: inset(0 82.4% 0 0)
}

.loader-logo {
    width: 96px
}

.loader-logo img {
    width: 570px
}

.journal {
    background: #fff
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.journal-card {
    direction: ltr;
    min-height: 0;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    background: white;
    display: grid;
    grid-template-rows: minmax(220px, 18vw) 1fr;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .055);
    transition: transform .25s, box-shadow .25s;
}

.journal-card-content {
    min-width: 0;
    padding: clamp(20px, 2.5vw, 36px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    direction: ltr;
    text-align: left;
}

html[dir="rtl"] .journal-card-content {
    direction: rtl;
    text-align: right;
}

.journal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .1);
}

.journal-cover {
    position: relative;
    min-height: 220px;
    aspect-ratio: 16 / 10;
    border-radius: 13px 13px 0 0;
    background-size: cover;
    background-position: center;
    overflow: hidden
}

.journal-cover > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.journal-cover.has-image:after {
    display: none;
}

.journal-cover:after {
    content: 'E';
    position: absolute;
    right: -5%;
    bottom: -12%;
    color: rgba(255, 255, 255, .8);
    font: 400 10rem/.8 var(--display);
    letter-spacing: -.15em
}

.journal-cover > span {
    position: absolute;
    z-index: 2;
    left: 18px;
    top: 18px;
    color: white;
    font: 400 .68rem var(--display)
}

.journal-card small {
    color: var(--red);
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em
}

.journal-card h3 {
    margin: 12px 0;
    font: 400 clamp(1.6rem, 2.7vw, 2.8rem)/.95 var(--display);
    letter-spacing: -.055em
}

.journal-card p {
    margin: 0;
    color: #777;
    font-size: .83rem;
    line-height: 1.6
}

.journal-card .rich-text {
    color: #777;
    font-size: .83rem;
    line-height: 1.65;
}

.journal-excerpt {
    position: relative;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: normal;
    transition: max-height .35s ease;
}
.journal-excerpt:not(.is-collapsed) { overflow: visible; }

.journal-excerpt.is-collapsed {
    max-height: 6.8em; /* environ 4 lignes */
}

/* Petit fondu propre à la fin */
.journal-excerpt.is-collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2em;
    pointer-events: none;
    background: linear-gradient(
            to bottom,
            rgba(255,255,255,0),
            #fff 90%
    );
}

.journal-card .rich-text p {
    margin: 0 0 8px;
}

.journal-card .rich-text p:last-child {
    margin-bottom: 0;
}

.journal-card .rich-text p {
    margin: 0 0 8px;
}

.journal-toggle {
    align-self: flex-start;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--red);
    font-size: .75rem;
    font-weight: 800;
    cursor: pointer;
}

.journal-toggle:hover {
    text-decoration: underline;
}

.journal-modal[hidden] {
    display: none;
}

.journal-modal {
    position: fixed;
    z-index: 160;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(16px, 4vw, 48px);
    background: rgba(5, 5, 5, .82);
    backdrop-filter: blur(16px);
    opacity: 0;
    transition: opacity .25s ease;
}

.journal-modal.open {
    opacity: 1;
}

.journal-modal-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(380px, 1.15fr);
    width: min(1060px, 100%);
    height: min(88vh, 820px);
    max-height: 820px;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .3);
    transform: translateY(24px) scale(.98);
    transition: transform .25s ease;
}

.journal-modal.open .journal-modal-panel {
    transform: translateY(0) scale(1);
}

.journal-modal-panel.without-visual {
    display: block;
    width: min(720px, 100%);
    height: auto;
    overflow-y: auto;
}

.journal-modal-visual {
    position: relative;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
    background: #111;
}

.journal-modal-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.journal-modal-content {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(36px, 5vw, 72px);
    scrollbar-width: thin;
    scrollbar-color: var(--red) #eee;
}

.journal-modal-content > small {
    display: block;
    color: var(--red);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.journal-modal-label {
    display: block;
    margin-bottom: 12px;
    color: #999;
    font: 700 .62rem var(--display);
    letter-spacing: .14em;
}

.journal-modal-panel h2 {
    margin: 16px 24px 28px 0;
    font: 400 clamp(2.25rem, 4.5vw, 4.5rem)/.94 var(--display);
    letter-spacing: -.055em;
}

.journal-modal-body {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
}

.journal-modal-body p {
    margin: 0 0 1.1em;
}

.journal-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font: 400 1.5rem/1 Arial, sans-serif;
    cursor: pointer;
    transition: background .2s, color .2s, transform .2s;
    z-index: 2;
}

.journal-modal-close:hover {
    background: var(--red);
    color: #fff;
    transform: rotate(90deg);
}

html[dir="rtl"] .journal-modal-content {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .journal-modal-panel h2 {
    margin-right: 0;
    margin-left: 24px;
}

@media (max-width: 820px) {
    .journal-modal-panel {
        display: block;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .journal-modal-visual {
        height: clamp(190px, 38vh, 320px);
        min-height: 0;
    }

    .journal-modal-visual img {
        min-height: 0;
    }

    .journal-modal-content {
        overflow: visible;
        padding: 32px 24px 38px;
    }

    .journal-modal-panel h2 {
        font-size: clamp(2rem, 10vw, 3.4rem);
    }
}

@media (max-width: 1050px) {
    .journal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .journal-grid {
        grid-template-columns:1fr
    }

    .journal-card {
        direction: ltr;
        grid-template-columns:1fr;
        min-height: 0;
        grid-template-rows: minmax(210px, 42vw) auto;
    }

    .journal-cover {
        min-height: 0;
        aspect-ratio: 1.7;
        border-radius: 13px 13px 0 0
    }
}

.services-head .eyebrow, .projects-head .eyebrow, .journal-head .eyebrow {
    grid-column: 1/-1
}

.section-head-aside {
    display: grid;
    gap: 24px
}

.section-head-aside > p {
    max-width: 520px;
    margin: 0;
    color: #aaa;
    font-size: 1.05rem;
    line-height: 1.7
}

.journal-head .section-head-aside > p {
    color: #777
}

.section-head-image {
    position: relative;
    margin: 0;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: #151515
}

.section-head-image:after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    pointer-events: none
}

.projects-head .section-head-image:after, .journal-head .section-head-image:after {
    border-color: rgba(0, 0, 0, .12)
}

.section-head-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.16, 1, .3, 1)
}

.section-head-image:hover img {
    transform: scale(1.035)
}
