/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root { 
    --yellow: #00F0FF; 
    --black: #050505; 
    --white: #f7f7f2; 
    --grey: #e9e9e4; 
}

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

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: "Inter", Arial, sans-serif; 
    background: radial-gradient(circle at top left, rgba(0,240,255,.08), transparent 28%), var(--white); 
    color: var(--black); 
    overflow-x: hidden; 
}

/* Texture Grain / Overlay */
body::before { 
    content: ""; 
    position: fixed; 
    inset: 0; 
    pointer-events: none; 
    z-index: 999; 
    opacity: .035; 
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); 
}

a { 
    color: inherit; 
    text-decoration: none; 
}

/* ==========================================================================
   2. UI COMPONENTS (Buttons, Menu, Navigation)
   ========================================================================== */

/* Menu & Navigation */
.mini-logo { 
    position: absolute; 
    top: 34px; 
    left: 7vw; 
    font-size: 12px; 
    font-weight: 900; 
    letter-spacing: -0.04em; 
    z-index: 10; 
    color: #ffffff; 
}

.menu-btn { 
    position: absolute; 
    top: 30px; 
    right: 7vw; 
    z-index: 20; 
    border: 1px solid rgba(255,255,255,.75); 
    border-radius: 999px; 
    background: rgba(0,0,0,.18); 
    color: #ffffff; 
    padding: 9px 16px; 
    font-size: 12px; 
    font-weight: 900; 
    letter-spacing: -0.04em; 
    text-transform: uppercase; 
    cursor: pointer; 
    backdrop-filter: blur(10px); 
}

.menu-panel { 
    position: absolute; 
    top: 72px; 
    right: 7vw; 
    z-index: 20; 
    display: grid; 
    gap: 10px; 
    min-width: 180px; 
    padding: 18px; 
    border: 1px solid rgba(255,255,255,.35); 
    border-radius: 18px; 
    background: rgba(5,5,5,.72); 
    color: #ffffff; 
    transform: translateY(-10px); 
    opacity: 0; 
    pointer-events: none; 
    transition: all .25s ease; 
    backdrop-filter: blur(14px); 
}

.menu-panel.is-open { 
    transform: translateY(0); 
    opacity: 1; 
    pointer-events: auto; 
}

.menu-panel a, .lang-btn { 
    font-size: .76rem; 
    font-weight: 900; 
    text-transform: uppercase; 
    letter-spacing: -0.03em; 
    opacity: .85; 
    transition: opacity .2s ease, transform .2s ease; 
    color: #ffffff; 
}

.menu-panel a:hover { 
    opacity: 1; 
    transform: translateX(4px); 
}

.lang-btn { 
    width: fit-content; 
    margin-top: 8px; 
    padding: 8px 12px; 
    border: 1px solid rgba(255,255,255,.55); 
    border-radius: 999px; 
    background: transparent; 
    cursor: pointer; 
}

/* Global Buttons */
.btn { 
    display: inline-flex; 
    justify-content: center; 
    align-items: center; 
    gap: 8px; 
    min-width: 170px; 
    padding: 13px 24px; 
    border: 2px solid var(--black); 
    border-radius: 999px; 
    font-weight: 800; 
    font-size: .85rem; 
    transition: all .2s ease; 
}

.btn::after { 
    content: "→"; 
    transition: transform .2s ease; 
}

.btn:hover { 
    background: var(--black); 
    color: var(--white); 
    transform: translateY(-2px); 
}

.btn:hover::after { 
    transform: translateX(4px); 
}

.back-to-top { 
    position: fixed; 
    right: 24px; 
    bottom: 24px; 
    z-index: 30; 
    width: 46px; 
    height: 46px; 
    display: grid; 
    place-items: center; 
    border: 1px solid rgba(5,5,5,.16); 
    border-radius: 50%; 
    background: rgba(247,247,242,.78); 
    backdrop-filter: blur(12px); 
    font-weight: 900; 
    opacity: 0; 
    pointer-events: none; 
    transform: translateY(10px); 
    transition: all .25s ease; 
}

.back-to-top.is-visible { 
    opacity: 1; 
    pointer-events: auto; 
    transform: translateY(0); 
}

/* Helpers & Utilities */
.eyebrow { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 8px; 
    margin-bottom: 18px; 
    font-size: .72rem; 
    font-weight: 900; 
    text-transform: uppercase; 
    letter-spacing: .08em; 
    opacity: .72; 
    width: 100%; 
    text-align: center; 
}

.reveal { 
    opacity: 0; 
    transform: translateY(24px); 
    animation: revealUp .8s ease forwards; 
    animation-timeline: view(); 
    animation-range: entry 12% cover 35%; 
}

.highlight-green { 
    background: linear-gradient(90deg, #00FF66, #00D26A); 
    color: var(--black); 
    padding: 2px 10px; 
    border-radius: 4px; 
    font-weight: 900; 
}

/* ==========================================================================
   3. MAIN SECTIONS
   ========================================================================== */
section { 
    padding: 88px 5vw; 
    border-bottom: 1px solid #d8d8d2; 
}

/* Hero Section */
.hero {
    min-height: 72vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 48px 7vw;
    color: var(--black);
    background: #ffffff;
}

.hero-content { 
    width: 100%; 
}

.hero h1 {
    font-size: clamp(4rem, 11vw, 11rem);
    line-height: .82;
    letter-spacing: -0.08em;
    font-weight: 900;
    max-width: 850px;
    color: var(--black);
}

.hero p {
    margin-top: 46px;
    font-size: clamp(1rem, 2vw, 1.8rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: var(--black);
}

.down-btn { 
    position: absolute; 
    right: 7vw; 
    bottom: 46px; 
    width: 88px; 
    height: 88px; 
    border-radius: 50%; 
    background: #ffffff; 
    color: var(--black); 
    display: grid; 
    place-items: center; 
    font-size: 54px; 
    font-weight: 900; 
    transition: transform .25s ease; 
    box-shadow: 0 8px 30px rgba(0,240,255,0.3); 
}

.down-btn:hover { 
    transform: scale(1.08) rotate(4deg); 
}

/* Intro Section */
.intro { 
    min-height: 72vh; 
    display: grid; 
    grid-template-columns: 1.2fr .8fr; 
    gap: 32px; 
    align-items: center; 
    position: relative; 
}

.tiny-photo { 
    width: 210px; 
    aspect-ratio: 16 / 10; 
    object-fit: cover; 
    margin-bottom: 24px; 
}

.big-title { 
    font-family: "Anton", Impact, sans-serif; 
    text-transform: uppercase; 
    line-height: .92; 
    letter-spacing: -0.04em; 
}

.big-title .small-line { font-size: clamp(3rem, 10vw, 10rem); display: block; }
.big-title .big-line { font-size: clamp(5rem, 15vw, 16rem); display: block; white-space: nowrap; }

.intro-copy { 
    align-self: start; 
    padding-top: 64px; 
    font-family: "Anton", Impact, sans-serif; 
    font-size: clamp(1.8rem, 3.2vw, 3.8rem); 
    line-height: 1.05; 
    text-align: right; 
    text-transform: uppercase; 
    letter-spacing: -0.04em; 
}

.floating-images { 
    display: grid; 
    gap: 18px; 
    justify-content: end; 
    margin-top: 80px; 
}

.floating-images img { 
    width: 180px; 
    height: 118px; 
    object-fit: cover; 
    filter: grayscale(100%); 
}

.floating-images img:last-child { 
    filter: none; 
    transform: translateX(34px); 
}

/* Stats Section */
.stats-carousel { 
    padding: 90px 0; 
    background: transparent; 
    color: var(--black); 
    overflow: hidden; 
}

.stats-mask { 
    width: 100%; 
    overflow: hidden; 
}

.stats-row { 
    display: flex; 
    gap: 28px; 
    width: max-content; 
    animation: scrollStats 32s linear infinite; 
}

.stats-carousel:hover .stats-row { animation-play-state: paused; }

.stat-pill { 
    min-width: 240px; 
    padding: 26px 30px; 
    border-radius: 999px; 
    border: 2px solid var(--black); 
    background: linear-gradient(145deg, rgba(0,0,0,.04), rgba(0,0,0,.01)); 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    gap: 6px; 
    transition: all .3s ease; 
}

.stat-pill strong { font-size: 2rem; font-weight: 900; letter-spacing: -0.06em; color: var(--black); }
.stat-pill span { font-size: .7rem; text-transform: uppercase; opacity: .6; font-weight: 700; }

.stat-pill:hover { 
    transform: translateY(-4px); 
    border-color: var(--black); 
}

/* Media Section */
.medias { 
    padding-top: 140px; 
    text-align: center; 
}

.handle { 
    font-family: "Anton", Impact, sans-serif; 
    font-size: clamp(4rem, 9vw, 9rem); 
    line-height: 1; 
    letter-spacing: -0.05em; 
    margin: 0 auto 46px; 
    text-align: center; 
    transition: opacity .25s ease; 
}

.media-carousel { 
    width: 100%; 
    overflow: hidden; 
    margin: 0 auto 54px; 
}

.media-track { 
    display: flex; 
    gap: 32px; 
    width: max-content; 
    animation: mediaScroll 34s linear infinite; 
}

.media-carousel:hover .media-track { animation-play-state: paused; }

.media-track img { 
    width: min(330px, 28vw); 
    aspect-ratio: 4 / 5; 
    object-fit: cover; 
    filter: saturate(1.05) contrast(1.08); 
    border-radius: 4px; 
    transition: transform .45s ease, filter .45s ease; 
}

.media-track img:hover { 
    transform: translateY(-8px); 
    filter: saturate(1.15) contrast(1.12); 
}

/* Mission Section */
.mission { 
    text-align: center; 
    padding-top: 72px; 
}

.section-title { 
    font-size: clamp(3.7rem, 9vw, 9rem); 
    line-height: .9; 
    font-weight: 900; 
    letter-spacing: -0.08em; 
    text-transform: uppercase; 
    margin-bottom: 32px; 
    position: relative; 
    z-index: 2; 
}

.mission-image { 
    width: min(620px, 82vw); 
    aspect-ratio: 4 / 3; 
    object-fit: cover; 
    margin: 0 auto 38px; 
    display: block; 
    position: relative; 
    z-index: 1; 
}

.mission p { 
    max-width: 560px; 
    margin: 0 auto 56px; 
    font-size: clamp(1rem, 1.5vw, 1.3rem); 
    line-height: 1.6; 
}

.mission mark { 
    background: var(--black); 
    color: #ffffff; 
    padding: 2px 6px; 
    border-radius: 4px; 
}

/* Logos & Partners */
.logos { 
    padding-top: 72px; 
    padding-bottom: 72px; 
    display: grid; 
    grid-template-columns: repeat(6, 1fr); 
    gap: 28px 48px; 
    align-items: center; 
    text-align: center; 
    font-weight: 900; 
    font-size: clamp(1rem, 2vw, 1.7rem); 
    letter-spacing: -0.07em; 
}

.logos span { opacity: .9; filter: grayscale(1); }

.logos-carousel { padding: 80px 0; overflow: hidden; }
.logos-track { display: flex; gap: 60px; width: max-content; animation: scrollLogos 28s linear infinite; }
.logos-carousel:hover .logos-track { animation-play-state: paused; }
.logos-track span { 
    font-weight: 900; 
    font-size: clamp(1.2rem, 2vw, 2rem); 
    letter-spacing: -0.05em; 
    opacity: 0.8; 
    white-space: nowrap; 
    transition: opacity 0.3s ease; 
}
.logos-track span:hover { opacity: 1; }

/* Contact Section */
.contact { 
    min-height: 55vh; 
    display: grid; 
    place-items: center; 
    text-align: center; 
    background: var(--black); 
    color: var(--white); 
}

.contact-card { 
    width: min(760px, 92vw); 
    padding: 54px 32px; 
    border: 1px solid rgba(255,255,255,.14); 
    border-radius: 28px; 
    background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); 
    box-shadow: 0 30px 80px rgba(0,0,0,.25); 
}

.contact h2 { font-size: clamp(3rem, 7vw, 7rem); letter-spacing: -0.08em; text-transform: lowercase; margin-bottom: 28px; }
.contact p { font-weight: 700; margin-bottom: 28px; color: rgba(255,255,255,.82); }

.contact .btn { border-color: #00FF66; color: #00FF66; }
.contact .btn:hover { background: #00FF66; color: var(--black); }

/* ==========================================================================
   4. PROJECTS & MEDIA PAGES
   ========================================================================== */

/* Projects Page */
.projects-page { padding: 48px 6vw 120px; background: var(--white); }
.projects-title { text-align: center; font-size: clamp(3.5rem, 7vw, 7rem); line-height: .9; letter-spacing: -0.08em; text-transform: uppercase; margin-bottom: 80px; }

.project-showcase { 
    display: grid; 
    grid-template-columns: 1.1fr .9fr; 
    gap: 90px; 
    align-items: center; 
    max-width: 1280px; 
    margin: 0 auto 150px; 
}

.project-showcase.reverse { grid-template-columns: .9fr 1.1fr; }
.project-showcase.reverse .project-left { order: 2; }
.project-showcase.reverse .project-right { order: 1; }

.project-tags { display: flex; gap: 10px; margin-bottom: 30px; }
.project-tags span { padding: 8px 26px; border: 2px solid var(--black); border-radius: 999px; font-size: .8rem; font-weight: 900; text-transform: uppercase; }

.project-left h2 { 
    padding: 22px 0; 
    border-top: 2px solid var(--black); 
    border-bottom: 2px solid var(--black); 
    font-size: clamp(2.5rem, 5vw, 5rem); 
    letter-spacing: -0.07em; 
    text-transform: uppercase; 
    margin-bottom: 34px; 
}

.project-block { margin-bottom: 50px; }
.project-block h3 { font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -0.07em; margin-bottom: 14px; }
.project-block p { font-size: 1rem; line-height: 1.4; max-width: 520px; }

.project-stats-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 80px; }
.project-stats-boxes div { text-align: center; display: flex; flex-direction: column; }
.project-stats-boxes span { display: block; font-size: .9rem; font-weight: 900; margin-bottom: 6px; min-height: 44px; display: flex; align-items: flex-end; justify-content: center; }
.project-stats-boxes strong { display: block; border: 2px solid var(--black); padding: 16px 18px; font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -0.08em; line-height: 1; }

.project-image-carousel { width: 100%; overflow: hidden; }
.project-image-track { display: flex; width: max-content; animation: projectImageScroll 18s linear infinite; }
.project-image-carousel:hover .project-image-track { animation-play-state: paused; }
.project-image-track img { width: min(420px, 34vw); aspect-ratio: 4 / 5; object-fit: cover; flex-shrink: 0; }

/* Media Profile Page */
.media-page { padding: 48px 5vw 120px; background: var(--white); }
.back-link { display: inline-block; margin-bottom: 70px; font-weight: 900; text-transform: uppercase; }

.media-profile { min-height: 100vh; text-align: center; padding: 60px 0 100px; border-bottom: 1px solid #d8d8d2; }
.media-profile h1 { font-size: clamp(4rem, 13vw, 13rem); line-height: .85; letter-spacing: -0.08em; font-weight: 900; margin-bottom: 42px; }
.media-cover { width: min(280px, 70vw); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; margin-bottom: 18px; }
.media-profile h2 { font-family: "Anton", Impact, sans-serif; font-size: clamp(2rem, 4vw, 4rem); line-height: 1; margin-bottom: 52px; }
.media-profile mark { background: var(--yellow); color: var(--black); padding: 0 6px; }

.media-description { max-width: 760px; margin: 0 auto 80px; font-family: "Anton", Impact, sans-serif; font-size: clamp(1.5rem, 3vw, 3rem); line-height: 1.05; }

.media-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; max-width: 1150px; margin: 0 auto 70px; }
.media-stats strong { display: block; font-size: clamp(2.5rem, 5vw, 5rem); line-height: .9; letter-spacing: -0.08em; font-weight: 900; }
.media-stats span { display: block; margin-top: 10px; font-size: .85rem; text-transform: uppercase; font-weight: 900; }

.media-btn { display: inline-flex; justify-content: center; align-items: center; padding: 14px 34px; border: 3px solid var(--black); border-radius: 999px; font-weight: 900; font-size: 1rem; }
.media-btn:hover { background: var(--black); color: var(--white); }

/* ==========================================================================
   5. ANIMATIONS & RESPONSIVE
   ========================================================================== */

@keyframes scrollStats { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mediaScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollLogos { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes projectImageScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

/* Media Queries */
@media (max-width: 900px) {
    .intro { grid-template-columns: 1fr; }
    .intro-copy { text-align: left; padding-top: 0; }
    .floating-images { grid-template-columns: repeat(2, 1fr); justify-content: start; }
    .media-track { gap: 16px; }
    .media-track img { width: min(280px, 42vw); }
    .logos { grid-template-columns: repeat(3, 1fr); }
    .project-showcase, .project-showcase.reverse { grid-template-columns: 1fr; gap: 42px; }
    .project-showcase.reverse .project-left, .project-showcase.reverse .project-right { order: initial; }
    .project-image-track img { width: 78vw; }
    .project-stats-boxes { grid-template-columns: 1fr; gap: 18px; }
    .media-stats { grid-template-columns: repeat(2, 1fr); }
    .media-profile h1 { font-size: clamp(4rem, 18vw, 9rem); }
}

/* ==========================================================================
   6. MOBILE OPTIMIZATION
   ========================================================================== */

@media (max-width: 900px) {
    .intro {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .intro-copy {
        text-align: left;
        padding-top: 0;
    }

    .floating-images {
        grid-template-columns: repeat(2, 1fr);
        justify-content: start;
    }

    .media-track {
        gap: 16px;
    }

    .media-track img {
        width: min(280px, 42vw);
    }

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

    .project-showcase,
    .project-showcase.reverse {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .project-showcase.reverse .project-left,
    .project-showcase.reverse .project-right {
        order: initial;
    }

    .project-image-track img {
        width: 78vw;
    }

    .project-stats-boxes {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .media-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .media-profile h1 {
        font-size: clamp(3.5rem, 16vw, 7rem);
    }
}

@media (max-width: 768px) {
    section {
        padding: 56px 22px;
    }

    .hero,
    .light-header {
        min-height: 58vh;
        padding: 28px 22px 34px;
        align-items: flex-end;
        background: #ffffff;
        color: #000;
    }

    .light-header .hero-content {
        padding-bottom: 0;
    }

    .hero h1 {
        font-size: clamp(3.6rem, 17vw, 5.6rem);
        line-height: .86;
        letter-spacing: -0.08em;
        margin-bottom: 18px;
        max-width: 100%;
        color: #000;
    }

    .hero p {
        margin-top: 0;
        padding-right: 82px;
        white-space: normal;
        overflow: visible;
        font-size: clamp(.78rem, 3.6vw, .95rem);
        line-height: 1.12;
        max-width: 100%;
        color: #000;
    }

    .mini-logo {
        top: 26px;
        left: 22px;
        color: #000;
    }

    .menu-btn {
        top: 22px;
        right: 22px;
        color: #000;
        border: 2px solid #000;
        background: transparent;
        padding: 8px 15px;
    }

    .menu-panel {
        top: 68px;
        right: 22px;
        left: 22px;
        min-width: auto;
        background: rgba(247, 247, 242, .96);
        border: 2px solid #000;
        color: #000;
    }

    .menu-panel a,
    .lang-btn {
        color: #000;
    }

    .lang-btn {
        border: 1px solid #000;
    }

    .down-btn {
        width: 54px;
        height: 54px;
        font-size: 32px;
        right: 22px;
        bottom: 34px;
        background: #000;
        color: #fff;
        box-shadow: none;
        z-index: 15;
    }

    .big-title .small-line {
        font-size: clamp(3rem, 18vw, 5.5rem);
    }

    .big-title .big-line {
        font-size: clamp(4rem, 22vw, 7rem);
        white-space: normal;
    }

    .intro {
        gap: 42px;
    }

    .tiny-photo {
        width: 160px;
    }

    .floating-images {
        margin-top: 34px;
    }

    .floating-images img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .floating-images img:last-child {
        transform: none;
    }

    .stats-carousel {
        padding: 44px 0;
    }

    .stat-pill {
        min-width: 190px;
        padding: 20px 24px;
    }

    .medias {
        padding-top: 72px;
    }

    .handle {
        font-size: clamp(3.2rem, 18vw, 5.5rem);
        margin-bottom: 32px;
    }

    .media-track img {
        width: 74vw;
    }

    .mission {
        padding-top: 56px;
    }

    .section-title {
        font-size: clamp(3rem, 17vw, 5.5rem);
        margin-bottom: 24px;
    }

    .mission-image {
        width: 100%;
    }

    .contact {
        min-height: auto;
        padding: 72px 22px;
    }

    .contact-card {
        width: 100%;
        padding: 42px 22px;
        border-radius: 22px;
    }

    .contact h2 {
        font-size: clamp(2.8rem, 16vw, 5rem);
    }
}

@media (max-width: 520px) {
    .media-page,
    .projects-page {
        padding: 28px 22px 70px;
    }

    .back-link {
        margin-bottom: 48px;
        font-size: .85rem;
    }

    .media-profile {
        min-height: auto;
        padding: 40px 0 72px;
    }

    .media-profile h1 {
        font-size: clamp(3.2rem, 18vw, 5.6rem);
        line-height: .9;
        margin-bottom: 30px;
        word-break: break-word;
    }

    .media-cover {
        width: min(230px, 74vw);
    }

    .media-profile h2 {
        font-size: clamp(1.8rem, 10vw, 3rem);
        margin-bottom: 34px;
    }

    .media-description {
        font-size: clamp(1.35rem, 8vw, 2.2rem);
        line-height: 1.05;
        margin-bottom: 54px;
    }

    .media-stats {
        grid-template-columns: 1fr 1fr;
        gap: 24px 18px;
        margin-bottom: 54px;
    }

    .media-stats strong {
        font-size: clamp(2.3rem, 13vw, 4rem);
    }

    .media-stats span {
        font-size: .72rem;
    }

    .media-btn {
        width: 100%;
        max-width: 280px;
    }

    .projects-title {
        font-size: clamp(3rem, 17vw, 5rem);
        margin-bottom: 54px;
    }

    .project-showcase {
        margin-bottom: 80px;
    }

    .project-tags {
        flex-wrap: wrap;
        margin-bottom: 22px;
    }

    .project-tags span {
        padding: 7px 20px;
        font-size: .72rem;
    }

    .project-left h2 {
        font-size: clamp(2.8rem, 16vw, 5rem);
        padding: 18px 0;
        margin-bottom: 28px;
    }

    .project-block {
        margin-bottom: 34px;
    }

    .project-block h3 {
        font-size: clamp(2.1rem, 13vw, 4rem);
    }

    .project-block p {
        font-size: .95rem;
        line-height: 1.45;
    }

    .project-stats-boxes {
        margin-top: 48px;
        grid-template-columns: 1fr;
    }

    .project-stats-boxes span {
        min-height: auto;
        margin-bottom: 8px;
    }

    .project-stats-boxes strong {
        font-size: clamp(2.8rem, 16vw, 5rem);
    }

    .project-image-track img {
        width: 82vw;
    }
}

/* ===== MOBILE FIX — PAGE NOTRE MISSION / PROJETS ===== */

@media (max-width: 768px) {
  .projects-page {
    padding: 28px 20px 70px;
  }

  .projects-title {
    font-size: clamp(3.2rem, 18vw, 5.4rem);
    line-height: .88;
    margin-bottom: 48px;
    text-align: left;
  }

  .project-showcase,
  .project-showcase.reverse {
    display: flex;
    flex-direction: column;
    gap: 38px;
    margin: 0 auto 80px;
  }

  .project-left,
  .project-right {
    width: 100%;
  }

  .project-tags {
    margin-bottom: 22px;
  }

  .project-left h2 {
    font-size: clamp(3rem, 18vw, 5.5rem);
    line-height: .9;
    padding: 18px 0;
    margin-bottom: 30px;
  }

  .project-block {
    margin-bottom: 34px;
  }

  .project-block h3 {
    font-size: clamp(2.2rem, 13vw, 4rem);
    line-height: .95;
  }

  .project-block p {
    font-size: 1rem;
    line-height: 1.45;
    max-width: 100%;
  }

  .project-stats-boxes {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 44px;
  }

  .project-stats-boxes span {
    min-height: auto;
    justify-content: flex-start;
    text-align: left;
  }

  .project-stats-boxes div {
    text-align: left;
  }

  .project-stats-boxes strong {
    font-size: clamp(3rem, 18vw, 5.5rem);
    text-align: center;
  }

  .project-image-carousel {
    width: 100%;
    overflow: hidden;
    margin-top: 10px;
  }

  .project-image-track img {
    width: 82vw;
    max-width: 360px;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 768px) {

  .hero,
  .light-header {
    min-height: 56vh !important;
    padding: 26px 22px 32px !important;
    align-items: flex-end;
  }

  .light-header .hero-content {
    padding-bottom: 0 !important;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 17vw, 5.4rem);
    line-height: .86;
    margin-bottom: 14px;
  }

  .hero p {
    margin-top: 0;
    font-size: .82rem;
    line-height: 1.1;
    padding-right: 76px;
    max-width: 220px;
  }

  .down-btn {
    width: 52px;
    height: 52px;
    font-size: 30px;
    right: 20px;
    bottom: 30px;
  }
}

/* ===== FINAL MOBILE HEADER FIX ===== */

@media (max-width: 768px) {
  .hero,
  .light-header {
    min-height: 48vh !important;
    height: auto !important;
    padding: 96px 22px 32px !important;
    display: flex !important;
    align-items: flex-end !important;
    background: #fff !important;
  }

  .hero-content {
    width: 100%;
    padding-bottom: 0 !important;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 15vw, 4.8rem) !important;
    line-height: .86 !important;
    margin-bottom: 18px !important;
  }

  .hero p {
    font-size: .78rem !important;
    line-height: 1.08 !important;
    max-width: 190px !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
  }

  .down-btn {
    width: 50px !important;
    height: 50px !important;
    font-size: 30px !important;
    right: 22px !important;
    bottom: 30px !important;
    background: #000 !important;
    color: #fff !important;
    box-shadow: none !important;
  }

  .mini-logo {
    top: 32px !important;
    left: 22px !important;
    color: #000 !important;
  }

  .menu-btn {
    top: 24px !important;
    right: 22px !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    background: transparent !important;
  }
}
