@font-face {
    font-family: Manrope;
    src: url("manrope-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
}
@font-face {
    font-family: "Bricolage Grotesque";
    src: url("bricolage-grotesque-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
}
@font-face {
    font-family: "Atelier Icons";
    src: url("../vendor/fontawesome/fonts/fontawesome-webfont93e3.woff2") format("woff2");
    font-display: block;
}

:root {
    color-scheme: light;
    --paper: #f8f4ee;
    --ink: #2b241e;
    --muted: #5f5147;
    --surface: #f0e8df;
    --line: #dacbbd;
    --dark: #1b1716;
    --honey: #f3bd82;
    --honey-hover: #ffdbb3;
    --focus: #834321;
    --link: #834321;
    --body-font: Manrope, system-ui, sans-serif;
    --display-font: "Bricolage Grotesque", Manrope, system-ui, sans-serif;
    --width: 1300px;
    --gutter: clamp(20px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.6 var(--body-font); }
body:has(.gallery-dialog[open]) { overflow: hidden; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display-font); font-weight: 750; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { background: var(--honey); color: var(--dark); }

.shell { width: min(100% - var(--gutter) * 2, var(--width)); margin-inline: auto; }
.visually-hidden, .form-trap {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.site-icon { display: inline-grid; place-items: center; flex: none; width: 1.2em; font: normal 1em/1 "Atelier Icons"; }
.icon-pin::before { content: "\f041"; }
.icon-mail::before { content: "\f003"; }
.icon-cube::before { content: "\f1b2"; }
.icon-tools::before { content: "\f0ad"; }
.icon-mobile::before { content: "\f10b"; }
.icon-expand::before { content: "\f065"; }
.icon-menu::before { content: "\f0c9"; }
.icon-close::before { content: "\f00d"; }
.icon-phone::before { content: "\f095"; }
.icon-play::before { content: "\f04b"; font-size: .83em; }
.icon-pause::before { content: "\f04c"; font-size: .83em; }
.icon-robot { position: relative; }
.icon-robot::before {
    content: "";
    width: .95em;
    height: .67em;
    margin-top: .12em;
    border: .085em solid currentColor;
    border-radius: .18em;
    background:
        radial-gradient(circle, currentColor 58%, transparent 64%) 25% 51% / .15em .15em no-repeat,
        radial-gradient(circle, currentColor 58%, transparent 64%) 75% 51% / .15em .15em no-repeat;
}
.icon-robot::after {
    content: "";
    position: absolute;
    top: -.05em;
    left: calc(50% - .05em);
    width: .1em;
    height: .25em;
    border-radius: .06em;
    background: currentColor;
}
.skip-link {
    position: fixed;
    top: 12px;
    left: var(--gutter);
    z-index: 20;
    padding: 12px 20px;
    border-radius: 100px;
    background: var(--honey);
    color: var(--dark);
    transform: translateY(-160%);
    opacity: 0;
    pointer-events: none;
}
.skip-link:focus { transform: none; opacity: 1; pointer-events: auto; }

.site-top, .hero, .work-section, .site-footer, .gallery-dialog {
    color-scheme: dark;
    --ink: #fff6ea;
    --muted: #d9cdc2;
    --line: #51443b;
    --focus: var(--honey);
    color: var(--ink);
}
.site-top { position: sticky; z-index: 10; top: 0; background: var(--dark); }
.page-home .site-top {
    position: absolute;
    inset: 0 0 auto;
    background: linear-gradient(180deg, #1b1716eb, #1b171687 78%, transparent);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 16px; border-bottom: 1px solid #f8e8d92e; }
.site-brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 50% 50% 50% 13%;
    background: var(--honey);
    color: var(--dark);
    font: 800 1.08rem/1 var(--display-font);
    letter-spacing: -.06em;
}
.brand-name { color: var(--ink); font-weight: 800; line-height: 1.16; }
.brand-name small { display: block; margin-top: 4px; color: var(--muted); font-size: .78rem; font-weight: 650; }
.site-nav { display: flex; align-items: center; gap: clamp(15px, 2.8vw, 38px); }
.site-nav > a:not(.button) { padding: 10px 0; color: var(--ink); font-size: .94rem; font-weight: 690; }
.site-nav > a:not(.button):is(:hover, [aria-current]) { color: var(--honey); }
.menu-toggle, .motion-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 7px 13px;
    border: 1px solid #f8f4ee54;
    border-radius: 100px;
    color: var(--ink);
    background: #332721a8;
    font-size: .84rem;
    font-weight: 800;
}
.menu-toggle:hover, .motion-toggle:hover { border-color: var(--honey); }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: fit-content;
    max-width: 100%;
    min-height: 50px;
    padding: 12px 21px;
    border: 1px solid transparent;
    border-radius: 100px;
    font-size: .91rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    transition: background .2s ease, border-color .2s ease;
}
.button-primary { background: var(--honey); color: var(--dark); }
.button-primary:hover { background: var(--honey-hover); border-color: #986339; }
.button-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.button-outline:hover { background: #91694a25; }
.button-dark { background: var(--dark); color: #fff; }
.button-dark:hover { background: #493227; }
.button:disabled { opacity: .65; cursor: wait; }
.nav-contact.button { min-height: 42px; padding: 8px 17px; }

.hero { position: relative; isolation: isolate; overflow: hidden; overflow: clip; background: #1b1716; }
.hero-scene {
    position: absolute;
    z-index: -1;
    inset: 0 0 0 31%;
    background: #30251f;
    mask-image: linear-gradient(90deg, transparent, #000 14%);
}
.hero-scene > :is(img, video) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: calc(100% + 42px);
    object-fit: cover;
    object-position: 36% 48%;
    transform: translateY(var(--parallax, 0px));
}
.hero-motion { opacity: 0; transition: opacity .36s ease; }
.hero.has-motion .hero-motion { opacity: 1; }
.hero-scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #1b1716 0%, #1b1716e8 10%, #1b171675 36%, #1b171609 63%, #1b171616 100%),
        linear-gradient(180deg, #171311d9 0%, #1713111a 24%, transparent 64%, #1b1716 100%);
}
.hero-stage {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(664px, 88svh, 920px);
    padding: 120px 0 110px;
}
.hero-copy { position: relative; width: min(100%, 720px); }
.eyebrow {
    color: var(--eyebrow-color, #6d5140);
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.hero-location, .work-section .eyebrow { --eyebrow-color: var(--honey); }
.hero h1 {
    margin: 10px 0 21px;
    font-size: clamp(4.4rem, 9.15vw, 9.5rem);
    font-weight: 760;
    line-height: .88;
    letter-spacing: -.048em;
    text-wrap: balance;
}
.hero h1 span { display: block; width: max-content; max-width: 100%; color: var(--honey); }
.hero-intro { max-width: 43ch; color: #faede1; font-size: clamp(1.04rem, 1.55vw, 1.23rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-actions .button-outline { background: #2119155e; }
.hero-actions .button-outline:hover { background: #573b2caf; }
.hero-credit {
    position: absolute;
    right: 0;
    bottom: 23px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px 13px;
    max-width: 100%;
    color: #f2e2d3;
    font-size: .81rem;
    font-weight: 700;
}
.motion-toggle { min-height: 37px; }

.home-section { margin-block-start: clamp(64px, 8.4vw, 132px); }
.section-heading { margin-bottom: clamp(20px, 3vw, 38px); }
.section-heading .eyebrow, .about-content .eyebrow, .case-intro .eyebrow { margin-bottom: 10px; }
.section-heading h2, .about-content h2, .activity-intro h2, .case-intro h2, .contact-panel h2 {
    font-size: clamp(2.4rem, 5.4vw, 5.5rem);
    letter-spacing: -.055em;
    line-height: .98;
    text-wrap: balance;
}
.activity-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.55fr);
    gap: clamp(25px, 5.5vw, 90px);
    padding-block: clamp(64px, 8.5vw, 124px);
}
.activity-intro .eyebrow { margin-bottom: 12px; }
.activity-intro h2 span { display: block; }
.tone-mint { --accent: #395329; --surface-tint: #dce8cf; }
.tone-peach { --accent: #793c27; --surface-tint: #f4e0d2; }
.tone-blue { --accent: #235878; --surface-tint: #dceaf0; }
.tone-lilac { --accent: #5b3a81; --surface-tint: #e8e0f3; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(14px, 3vw, 40px); align-self: center; }
.service-tile {
    display: grid;
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 11px 14px;
    align-content: start;
    align-items: start;
    padding: 19px 4px 21px;
    border-top: 1px solid var(--line);
}
.service-tile:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.service-symbol {
    display: grid;
    place-items: center;
    width: 43px;
    aspect-ratio: 1;
    border-radius: 14px;
    background: var(--surface-tint);
    color: var(--accent);
    font-size: 1.18rem;
    transition: background .18s ease, border-radius .18s ease;
}
.service-tile:hover .service-symbol { border-radius: 50%; background: var(--honey); }
.service-tile:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.service-tile h3 { font-size: clamp(1.25rem, 2.05vw, 1.8rem); line-height: 1.05; letter-spacing: -.038em; }
.service-tile p { margin-top: 7px; color: var(--muted); font-size: .94rem; line-height: 1.53; }

.work-section { padding-block: clamp(55px, 8vw, 116px); background: var(--dark); }
.case-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.32fr); gap: clamp(24px, 5vw, 74px); align-items: center; }
.case-intro h2 { font-size: clamp(2.6rem, 5vw, 5.1rem); }
.case-intro > p:not(.eyebrow) { max-width: 53ch; margin-top: 17px; color: var(--muted); }
.case-intro .button { margin-top: 22px; }
.case-film { min-width: 0; }
.case-film-media { position: relative; }
.film-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    box-shadow: 0 10px 32px #1b171684;
}
.film-play span:not(.site-icon) { color: #654023; font-weight: 650; }
.case-film video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 22px 22px 6px 6px;
    background: #130f0e;
}
.case-film figcaption {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 15px;
    padding: 11px 1px 0;
    color: var(--muted);
    font-size: .85rem;
}
.case-film a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.work-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 15px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-list button {
    min-height: 42px;
    padding: 6px 13px;
    border: 1px solid #877368;
    border-radius: 100px;
    background: transparent;
    color: var(--ink);
    font-size: .86rem;
    font-weight: 750;
}
.filter-list button:hover { background: var(--surface); }
.filter-list button[aria-pressed="true"] { background: var(--dark); color: #fff; border-color: var(--dark); }

.projects-section { margin-top: clamp(44px, 6vw, 92px); }
.project-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: clamp(16px, 2.2vw, 30px);
}
.project-card { min-width: 0; grid-column: span 4; }
.project-media { display: block; position: relative; overflow: hidden; background: #392d27; }
.project-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .22s ease; }
.project-media:hover img { transform: scale(1.025); }
.project-media:focus-visible { outline-offset: -5px; }
.project-card .project-media { aspect-ratio: 4 / 3; border-radius: 18px; }
.project-max .project-media { background: radial-gradient(ellipse at center, #27292d, #202123); }
.project-prototype img { object-fit: cover; object-position: center 35%; }
.project-gamer img, .project-fantasy img, .project-romance img, .project-dragon img, .project-cad img { object-fit: cover; }
.project-gamer img, .project-fantasy img { object-position: center top; }
.project-romance img { object-position: center 12%; }
.project-dragon img { object-position: center 29%; }
.project-cad img { object-position: center 34%; }

.project-apps {
    grid-column: span 7;
    align-self: stretch;
    display: grid;
    grid-template-columns: minmax(min-content, 1fr) minmax(0, 1.25fr);
    grid-template-areas: "copy artwork" "metrics metrics" "source source";
    gap: 17px 10px;
    align-content: center;
    min-height: 435px;
    padding: clamp(20px, 2.5vw, 35px);
    border: 1px solid #5a4768;
    border-radius: 23px;
    background: radial-gradient(ellipse at 80% 36%, #473557, #272032 62%, #211a29);
    color: #fff6ff;
    --focus: var(--honey);
}
.project-grid.is-filtered .project-apps { grid-column: 1 / -1; width: min(100%, 860px); }
.project-apps-copy { grid-area: copy; align-self: center; }
.project-apps h3 { color: #eddfef; font-size: clamp(1rem, 1.55vw, 1.4rem); letter-spacing: -.015em; }
.project-stat {
    margin-block: 9px 4px;
    color: var(--honey);
    font: 800 clamp(3rem, 5.5vw, 5.6rem)/.95 var(--display-font);
    letter-spacing: -.065em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.project-stat-label { max-width: 24ch; font-size: clamp(.88rem, 1.25vw, 1.05rem); line-height: 1.45; }
.project-apps .project-media { grid-area: artwork; align-self: center; background: #211e35; border: 1px solid #e4cbfc32; }
.project-apps img { scale: 1.08; }

.project-apps-metrics {
    grid-area: metrics;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    padding: 13px 0;
    margin: 0;
    border-block: 1px solid #e1c9f633;
}
.project-apps-metrics li { display: grid; gap: 4px; }
.project-apps-metrics strong {
    color: var(--honey);
    font: 750 clamp(1.4rem, 2.45vw, 2.35rem)/1 var(--display-font);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.045em;
}
.project-apps-metrics span { color: #eee1f3; font-size: .83rem; line-height: 1.3; }
.project-apps-footer { grid-area: source; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; }
.project-apps-footer a { color: #ffe0bc; font-size: .88rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.project-apps-footer a:hover { color: #fff6ff; }
.project-apps-footer p { color: #e0d1e6; font-size: .75rem; }

.project-grid:not(.is-filtered) .project-dragon {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: end;
    align-self: stretch;
    grid-column: span 5;
    min-height: 435px;
    border-radius: 23px;
    background: #161a21;
    color: #fff7ec;
    --focus: var(--honey);
}
.project-grid:not(.is-filtered) .project-dragon .project-media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: inherit; }
.project-grid:not(.is-filtered) .project-dragon .project-media::after {
    position: absolute;
    content: "";
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 40%, #101218a6 67%, #101218 100%);
}
.project-grid:not(.is-filtered) .project-dragon .project-body { position: relative; padding: 24px; pointer-events: none; }
.project-grid:not(.is-filtered) .project-dragon .project-category { color: var(--honey); }
.project-grid:not(.is-filtered) .project-dragon h3 { font-size: clamp(2rem, 4vw, 4.1rem); }
.project-grid:not(.is-filtered) .project-dragon h3 a { pointer-events: auto; }
.project-grid:not(.is-filtered) .project-dragon .project-body p:not(.project-category) { color: #f2e8df; max-width: 40ch; }
.media-action {
    position: absolute;
    inset: auto 10px 10px auto;
    display: grid;
    place-items: center;
    width: 43px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #30231ceb;
    color: #fff;
    border: 1px solid #f8f4ee54;
}
.project-apps .media-action, .project-grid:not(.is-filtered) .project-dragon .media-action { inset: 10px 10px auto auto; z-index: 1; }
.project-media:hover .media-action { background: var(--honey); border-color: var(--dark); color: var(--dark); }
.project-body { padding-block: 15px 0; }
.project-category { color: #6d5749; font-size: .81rem; font-weight: 800; }
.project-body h3 { margin: 5px 0; font-size: clamp(1.4rem, 2.55vw, 2.3rem); line-height: 1.04; letter-spacing: -.04em; }
.project-body h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.project-body p:not(.project-category) { color: var(--muted); }

.gallery-dialog {
    width: min(1020px, calc(100% - 28px));
    max-height: calc(100% - 28px);
    padding: 14px;
    border: 1px solid #8a7465;
    border-radius: 24px;
    background: #2e231f;
    overscroll-behavior: contain;
}
.gallery-dialog::backdrop { background: #140f0def; }
.gallery-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px 6px; }
.gallery-bar h2 { font-size: 1.08rem; }
.gallery-close { min-height: 44px; }
.gallery-dialog img { width: 100%; max-height: 77svh; object-fit: contain; border-radius: 13px; background: #211916; }

.about-section {
    display: grid;
    grid-template-columns: minmax(0, .73fr) minmax(0, 1fr);
    gap: clamp(27px, 7vw, 120px);
    align-items: center;
    padding-block: clamp(22px, 4vw, 52px);
    border-block: 1px solid var(--line);
}
.about-section > img {
    width: min(100%, 310px);
    height: auto;
    justify-self: center;
    border-radius: 20px;
}
.about-content > p:not(.eyebrow) { color: var(--muted); max-width: 54ch; margin-top: 16px; }
.about-content .button { margin-top: 22px; }

.contact-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px 40px;
    padding: clamp(27px, 6vw, 76px);
    border-radius: 26px;
    background: var(--honey);
    color: var(--dark);
}
.contact-panel p { max-width: 61ch; margin-top: 9px; }
.contact-panel .button { flex-shrink: 0; }

.site-footer { margin-top: clamp(64px, 8vw, 121px); padding: clamp(36px, 6vw, 73px) 0 23px; background: var(--dark); }
.footer-grid { display: grid; grid-template-columns: 1.18fr 1fr .7fr 1fr; gap: 21px; }
.footer-grid h2 { margin-bottom: 9px; font-size: 1.06rem; }
.footer-grid p, .footer-grid > div > a:not(.site-brand) { display: block; color: var(--muted); margin: 5px 0; font-size: .89rem; overflow-wrap: anywhere; }
.footer-grid p { margin-top: 12px; }
.footer-grid > div a:not(.site-brand):hover, .footer-bottom a:hover { color: var(--honey); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; color: var(--muted); font-size: .84rem; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px 0 23px; color: var(--muted); font-size: .89rem; }
.breadcrumbs a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.detail-hero, .contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(25px, 5.3vw, 75px); align-items: center; }
.detail-hero h1, .inner-page h1 {
    margin: 11px 0 19px;
    font-size: clamp(2.5rem, 5vw, 5.15rem);
    line-height: .99;
    letter-spacing: -.061em;
    text-wrap: balance;
}
.detail-copy .eyebrow { --eyebrow-color: var(--accent); }
.detail-copy > p:not(.eyebrow), .content-intro > p:not(.eyebrow) { color: var(--muted); max-width: 60ch; font-size: clamp(1rem, 1.45vw, 1.16rem); }
.detail-copy .button { margin-top: 22px; }
.detail-visual, .detail-gallery figure { display: grid; align-content: start; min-width: 0; }
.detail-visual .project-media, .detail-gallery .project-media { border-radius: 18px; }
.detail-visual .project-media { aspect-ratio: 4 / 3; }
.detail-visual img { object-position: center; }
.detail-robotique .project-media { aspect-ratio: 4 / 4.15; background: #262621; }
.detail-figurines-3d .project-media { aspect-ratio: 4 / 4.05; background: #242629; }
.detail-developpement-mobile .project-media { background: #211e35; }
.detail-visual figcaption, .detail-gallery figcaption { padding: 9px 0 0; color: var(--muted); font-size: .89rem; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.offer-grid :is(article, figure) { padding: clamp(17px, 2.2vw, 29px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.offer-grid h3 { color: var(--accent, var(--ink)); font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.14; }
.offer-grid p { margin-top: 7px; color: var(--muted); }
.detail-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(19px, 3vw, 38px); }
.detail-gallery .project-media { aspect-ratio: 5 / 4; background: #262d39; }
.detail-gallery .wide-view .project-media { aspect-ratio: 16 / 10; background: #252623; }
.gallery-figurines .wide-view .project-media { aspect-ratio: 3 / 2; background: #161719; }
.gallery-figurines .portrait-view { grid-column: 1 / -1; width: min(100%, 380px); justify-self: center; }
.gallery-figurines .portrait-view .project-media { aspect-ratio: 978 / 1134; background: #25282b; }
.detail-gallery .planche-concept { grid-column: 1 / -1; width: min(100%, 890px); justify-self: center; }
.detail-gallery .planche-concept .project-media { aspect-ratio: 1240 / 991; background: #16181b; }
.mobile-references { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reviews blockquote { margin: 0 0 12px; color: var(--muted); }
.reviews figcaption { color: var(--accent); font-size: .9rem; font-weight: 800; }
.store-snapshot { margin: -10px 0 21px; color: var(--muted); font-size: .89rem; }
.store-list { display: grid; gap: 8px; margin: 17px 0 0; padding: 0; list-style: none; }
.store-link {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fffbf6;
    line-height: 1.45;
}
.store-link:hover { border-color: #ae7b55; background: #f8eadb; }
.store-name { color: var(--link); font-size: .89rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.store-figures { display: flex; flex-wrap: wrap; gap: 2px 12px; color: var(--muted); font-size: .84rem; }
.store-figures strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.reference-link { display: inline-block; margin-top: 12px; color: var(--link); text-decoration: underline; text-underline-offset: 4px; }

.inner-page { padding-top: clamp(30px, 5.5vw, 75px); }
.contact-layout { align-items: start; grid-template-columns: minmax(0, .83fr) minmax(0, 1fr); }
.contact-methods { display: grid; gap: 9px; justify-items: start; margin-top: 23px; }
.contact-methods :is(a, p) { display: flex; align-items: center; gap: 9px; overflow-wrap: anywhere; }
.contact-methods a { text-decoration: underline; text-underline-offset: 3px; }
.contact-methods p { color: var(--muted); }
.contact-form {
    position: relative;
    display: grid;
    gap: 15px;
    padding: clamp(18px, 3vw, 36px);
    border: 1px solid var(--line);
    border-radius: 23px;
    background: var(--surface);
}
.form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.form-field { display: grid; gap: 5px; font-weight: 750; }
.form-field :is(input, select, textarea) {
    width: 100%;
    min-height: 49px;
    padding: 10px 12px;
    border: 1px solid #978177;
    border-radius: 11px;
    background-color: #fffcf8;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 500;
}
.form-field select {
    appearance: none;
    padding-right: 35px;
    background-image: linear-gradient(45deg, transparent 50%, #604a3e 50%), linear-gradient(135deg, #604a3e 50%, transparent 50%);
    background-position: calc(100% - 17px) center, calc(100% - 12px) center;
    background-size: 5px 5px;
    background-repeat: no-repeat;
}
.form-field textarea { resize: vertical; }
.form-field :is(input, textarea)::placeholder { color: #6d5b4f; opacity: 1; }
.form-field input[type="number"] { max-width: 118px; }
.form-note { color: var(--muted); font-size: .88rem; }
.form-status { padding: 11px 13px; border-radius: 11px; background: #d5f0d8; color: #203c24; }
.form-status:empty { display: none; }
.form-status.is-error { background: #f5dbd7; color: #651c14; }
#form-restart { text-decoration: underline; text-underline-offset: 4px; }

.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.article-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.article-card img { width: 100%; aspect-ratio: 1.8; object-fit: cover; }
.article-card .article-info { padding: 20px; }
.article-info h2 { font-size: 1.33rem; line-height: 1.19; margin-block: 5px 7px; }
.article-info h2 a:hover, .article-meta a:hover { text-decoration: underline; }
.article-info p, .article-meta { color: var(--muted); }
.article-meta { font-size: .9rem; }
.article-tags { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.article-tags li { padding: 4px 10px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); font-size: .85rem; }
.blog-notice { margin-top: 16px; }
.article-page > .button { margin-top: 14px; }
.article-page { max-width: 810px; }
.article-page .breadcrumbs { padding-top: 0; }
.article-page h1 { overflow-wrap: anywhere; }
.post-content { margin-block: 25px; border-top: 1px solid var(--line); padding-top: 23px; overflow-wrap: break-word; }
.post-content :is(h2, h3, p, ul, ol, pre, figure, table) { margin: 0 0 1.1em; }
.post-content a { text-decoration: underline; }
.post-content pre { overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 15px; }
.post-content img { border-radius: 12px; }

@media (max-width: 1020px) {
    .site-nav { gap: 15px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .activity-section { grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); }
}
@media (max-width: 850px) {
    .top-inner { flex-wrap: wrap; min-height: 69px; gap: 0 10px; padding-block: 10px; }
    .site-nav { width: 100%; flex-wrap: wrap; padding-top: 10px; }
    .site-nav > a:not(.button) { padding: 7px 0; }
    .top-inner.menu-ready .site-nav { display: none; }
    .top-inner.menu-ready .site-nav.is-open { display: flex; padding-bottom: 6px; }
    .page-home .site-top:has(.site-nav.is-open), .page-home .site-top:not(:has(.menu-ready)) { background: var(--dark); }
    .detail-hero, .contact-layout { grid-template-columns: minmax(0, 1fr); }
    .detail-visual .project-media { max-height: 560px; }
    .offer-grid, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project-card { grid-column: span 6; }
    .project-apps { grid-column: 1 / -1; min-height: 0; }
    .project-grid:not(.is-filtered) .project-dragon { grid-column: 1 / -1; min-height: clamp(310px, 57vw, 425px); }
}
@media (max-width: 760px) {
    html { scroll-padding-top: 80px; }
    .hero-stage { align-items: flex-start; min-height: max(700px, min(94svh, 840px)); padding: 115px 0 255px; }
    .hero-scene { inset: auto 0 0; height: 54%; mask-image: linear-gradient(180deg, transparent, #000 24%); }
    .hero-scene::after {
        background: linear-gradient(180deg, #1b1716, #1b1716cc 15%, #1b17161c 48%, transparent 60%, #1b1716 100%);
    }
    .hero-scene > :is(img, video) { object-position: 44% 55%; }
    .hero h1 { font-size: clamp(3.45rem, 12.2vw, 6.7rem); margin-block: 10px 15px; }
    .hero-actions { margin-top: 21px; gap: 8px; }
    .hero-credit { right: auto; left: 0; bottom: 14px; justify-content: flex-start; }
    .activity-section, .case-layout { grid-template-columns: minmax(0, 1fr); }
    .activity-intro h2 { text-wrap: initial; }
    .activity-intro h2 span { display: inline; }
}
@media (max-width: 540px) {
    .hero-stage { padding-top: 101px; }
    .hero-intro { max-width: 35ch; }
    .hero-actions .button { min-height: 44px; padding: 8px 13px; font-size: .82rem; }
    .hero-credit { font-size: .77rem; column-gap: 8px; }
    .hero-credit .motion-toggle { padding-inline: 10px; font-size: .77rem; }
    .service-tile { grid-template-columns: 1fr; gap: 8px; padding-block: 13px 17px; }
    .service-tile p { font-size: .88rem; }
    .service-tile h3 { overflow-wrap: anywhere; }
    .service-symbol { width: 38px; border-radius: 11px; }
    .about-section, .offer-grid, .article-grid, .detail-gallery, .form-pair { grid-template-columns: minmax(0, 1fr); }
    .project-grid { gap: 24px; }
    .project-card { grid-column: 1 / -1; }
    .project-grid .project-apps {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "copy" "artwork" "metrics" "source";
        gap: 13px;
    }
    .project-stat { font-size: clamp(3.55rem, 10.5vw, 4.75rem); }
    .project-stat-label { max-width: none; }
    .project-apps-metrics { column-gap: 9px; }
    .project-apps-metrics span { font-size: .76rem; }
    .project-grid:not(.is-filtered) .project-dragon .project-body { padding: 19px; }
    .about-section > img { width: min(100%, 280px); justify-self: start; }
    .contact-panel { align-items: flex-start; flex-direction: column; gap: 19px; }
}
@media (max-width: 350px) {
    .hero h1 { font-size: 3.18rem; }
    .hero-scene > :is(img, video) { object-position: 49% 55%; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .project-apps-metrics { column-gap: 6px; }
}
@media (prefers-reduced-motion: no-preference) {
    html:focus-within { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
