:root {
    --bg: #1d1f20;
    --surface: #27292a;
    --text: #f7f7f5;
    --muted: #b3b4b4;
    --line: #444647;
    --acid: #f5a000;
    --acid2: #c8f04d;
    --orange: #ff1975;
    --header: rgba(29, 31, 32, 0.9);
    --h1-size:clamp(2.8rem,5vw,8rem);
    --h1-size-first:clamp(2.8rem,5vw,4rem);
    --h2-size:clamp(2.8rem,6vw,4rem);
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font:
        16px/1.55 "DM Sans",
        sans-serif;
    overflow-x: hidden;
    transition:
        background 0.35s,
        color 0.35s;
}
:root[data-theme="light"] {
    --bg: #f3f1ec;
    --surface: #e5e2dc;
    --text: #171719;
    --muted: #66645f;
    --line: #ccc8c0;
    --header: rgba(243, 241, 236, 0.86);
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
}
.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
    z-index: 10;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.site-header {
    height: 84px;
    padding: 0 4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 20;
    background: var(--header);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}
.site-header.scrolled {
    height: 68px;
    border-color: var(--line);
}
.brand {
    font: 800 1.65rem Manrope;
}
.brand span {
    color: var(--text);
}
.brand .brand-first {
    color: var(--acid);
}
.desktop-nav {
    display: flex;
    gap: 2.3rem;
}
.desktop-nav a {
    color: var(--muted);
    font-size: 0.9rem;
    transition: 0.2s;
}
.desktop-nav a:hover {
    color: var(--text);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.theme-toggle,
.menu-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}
.theme-toggle svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    transition: transform 0.3s ease;
}
:root[data-theme="light"] .theme-toggle svg { transform: rotate(45deg); }
.contact-pill {
    padding: 0.7rem 1.1rem;
    background: var(--text);
    color: var(--bg);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}
.contact-pill span {
    margin-left: 0.5rem;
}

.contact-pill2 {
    padding: 0.7rem 1.1rem;
    background: var(--text);
    color: var(--bg);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}

.menu-toggle,
.mobile-nav {
    display: none;
}
.section-pad {
    padding: 120px 6vw;
}

.hero {
    min-height: 100vh;
    padding-top: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-kicker,
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--muted);
}
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--acid);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--acid) 15%, transparent);
}
h1,
h2,
h3 {
    font-family: Manrope, sans-serif;
    margin: 0;
    line-height: 1.02;
}
h1 {
    /*font-size: clamp(4rem, 10vw, 10rem);*/
    letter-spacing: -0.075em;
    margin: 3vh 0 5vh;
}
h1 span {
    letter-spacing: -0.05em;
}
h1 em,
h2 em {
    font-style: normal;
    color: var(--acid);
}
.circle-link {
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    transition: 0.25s;
}
.circle-link:hover {
    background: var(--acid);
    color: #111;
    border-color: var(--acid);
    transform: rotate(-25deg);
}
.hero-stats {
    display: flex;
    gap: 5vw;
    border-top: 1px solid var(--line);
    padding-top: 30px;
    margin-top: 8vh;
}
.hero-stats div {
    display: flex;
    gap: 20px;
    align-items: center;
}
.hero-stats strong {
    font: 900 2rem Manrope;
    color: var(--acid);
    line-height: 1;
}
.hero-stats span {
    color: var(--text);
    font-size: 0.8rem;
    max-width: 150px;
    line-height: 1.2;
}
.projects {
    background: var(--surface);
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 60px;
}
.section-heading h2,
.expertise h2,
.about h2,
.contact h2 {
    font-size: clamp(2.8rem, 6vw, 6.5rem);
    letter-spacing: -0.055em;
    margin-top: 14px;
}
.filters {
    display: flex;
    gap: 8px;
}
.filters button {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 18px;
    cursor: pointer;
}
.filters button.active,
.filters button:hover {
    background: var(--text);
    color: var(--bg);
}
.project-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 50px 24px;
}
.project-card {
    transition:
        opacity 0.3s,
        transform 0.3s;
}
.project-card:hover { transform: translateY(-5px); }
.project-card .arrow { transition: transform 0.25s; }
.project-card:hover .arrow { transform: translate(4px, -4px); }
.project-card.hidden {
    display: none;
}
.project-wide {
    grid-column: 1/-1;
}
.project-visual {
    height: 460px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-large .project-visual {
    height: 620px;
}
.visual-leclerc {
    background: #ff681d;
}
.visual-fnac {
    background: #f5d302;
}
.visual-cm {
    background: #126655;
}
.visual-ubi {
    background: #5850df;
    gap: 3vw;
}
.ubi-word {
    font: 800 clamp(2.5rem, 8vw, 8rem) Manrope;
    position: absolute;
    color: #ffffff18;
}
.game-tile {
    z-index: 1;
    width: 190px;
    height: 260px;
    background: #fa582f;
    color: white;
    padding: 25px;
    font: 800 2.4rem/1 Manrope;
    transform: rotate(-6deg);
    box-shadow: 0 25px 40px #2225;
}
.game-tile.alt {
    background: #bdf052;
    color: #111;
    transform: rotate(6deg) translateY(15px);
}
.project-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 18px;
}
.project-meta span {
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.1em;
}
.project-meta h3 {
    font-size: 1.2rem;
    margin-top: 8px;
}
.project-meta .arrow {
    font-size: 1.5rem;
    color: var(--text);
}
.expertise-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    margin-top: 45px;
}
.service-list article {
    display: grid;
    grid-template-columns: 42px 1fr 30px;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding: 26px 0;
}
.service-list article > span {
    color: var(--muted);
    font-size: 0.75rem;
}
.service-list h3 {
    font-size: 1.45rem;
}
.service-list p {
    color: var(--muted);
    max-width: 520px;
    margin: 9px 0 0;
}
.service-list b {
    font-size: 1.4rem;
    font-weight: 400;
}
.tools-marquee {
    overflow: hidden;
    border-block: 1px solid var(--line);
    margin: 110px -6vw -120px;
    padding: 21px 0;
    white-space: nowrap;
}
.tools-marquee div {
    display: inline-block;
    font: 700 1rem Manrope;
    animation: marquee 22s linear infinite;
}
.tools-marquee span {
    color: var(--acid);
    padding: 0 24px;
}
@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}
.about {
    display: grid;
    grid-template-columns: 0.65fr 1fr;
    background: var(--acid);
    color: #141414;
}
.about-number {
    font: 800 clamp(8rem, 25vw, 25rem) / 0.75 Manrope;
    letter-spacing: -0.1em;
    opacity: 0.18;
}
.about-copy h2 em {
    color: #fff;
}
.about-copy p {
    max-width: 650px;
    font-size: 1.25rem;
    margin: 40px 0;
    color: #29300e;
}
.about .eyebrow {
    color: #34400e;
}
.availability {
    display: flex;
    align-items: center;
    border-top: 1px solid #849e2c;
    padding-top: 24px;
    margin-top: 60px;
}
.availability .status-dot {
    background: #151515;
    box-shadow: none;
}
.availability div {
    display: flex;
    flex-direction: column;
}
.availability small {
    opacity: 0.65;
}
.contact {
    padding-bottom: 35px;
}
.contact-layout {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 4vw;
}
.big-mail {
    font: 600 clamp(1rem, 2vw, 1.5rem) Manrope;
    border-bottom: 1px solid var(--text);
    padding: 15px 0;
    white-space: nowrap;
}
.big-mail span {
    margin-left: 2rem;
}
.contact-footer {
    border-top: 1px solid var(--line);
    padding-top: 25px;
    margin-top: 120px;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.8rem;
}
.reveal .primo{
    font-size: var(--h1-size-first);
}
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
@media (max-width: 800px) {
    .site-header {
        padding: 0 20px;
    }
    .desktop-nav,
    .contact-pill {
        display: none;
    }
    .menu-toggle {
        display: grid;
        align-content: center;
        gap: 5px;
    }
    .menu-toggle span {
        width: 17px;
        height: 1px;
        background: currentColor;
        display: block;
    }
    .mobile-nav {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 25px 20px;
        gap: 20px;
        border-bottom: 1px solid var(--line);
        transform: translateY(-140%);
        opacity: 0;
        transition: 0.3s;
        z-index: -1;
    }
    .mobile-nav.open {
        transform: none;
        opacity: 1;
    }
    .section-pad {
        padding: 90px 20px;
    }
    .hero {
        padding-top: 130px;
        min-height: auto;
    }
    .hero h1 {
        /*font-size: clamp(3.4rem, 18vw, 6rem);*/
        margin: 35px 0;
    }
    .hero h1 span {
        font-size: 0.48em;
    }
    .circle-link {
        min-width: 55px;
        width: 55px;
        height: 55px;
    }
    .hero-stats {
        gap: 18px;
        justify-content: space-between;
    }
    .hero-stats div {
        display: block;
    }
    .hero-stats strong {
        display: block;
        font-size: 1.3rem;
    }
    .section-heading {
        display: block;
    }
    .filters {
        margin-top: 25px;
    }
    .project-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }
    .project-wide {
        grid-column: auto;
    }
    .project-visual,
    .project-large .project-visual {
        height: 420px;
    }
    .expertise-layout {
        grid-template-columns: 1fr;
    }
    .expertise-layout h2 {
        margin-bottom: 30px;
    }
    .tools-marquee {
        margin-bottom: -90px;
    }
    .about {
        grid-template-columns: 1fr;
    }
    .about-number {
        font-size: 10rem;
        margin-bottom: 30px;
    }
    .about-copy p {
        font-size: 1.05rem;
    }
    .contact-layout {
        display: block;
    }
    .big-mail {
        display: flex;
        justify-content: space-between;
        margin-top: 50px;
        white-space: normal;
    }
    .contact-footer {
        margin-top: 80px;
        gap: 20px;
    }
    .contact-footer span {
        max-width: 180px;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
