@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/inter-tight-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{--bg:#111111;--fg:#F0EEE9;--mute:#8b8985;--line:rgba(240,238,233,.2);--pad:clamp(20px,3.2vw,48px);color-scheme:dark}
*,*::before,*::after{box-sizing:border-box}
html{background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--fg);font:400 16px/1.5 "Inter Tight","Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
:focus-visible{outline:1px solid var(--fg);outline-offset:4px}
header{position:fixed;top:0;left:0;right:0;z-index:10;display:flex;justify-content:space-between;align-items:baseline;padding:calc(env(safe-area-inset-top,0px) + 20px) var(--pad) 0;mix-blend-mode:difference;color:#F0EEE9;font-size:14px;font-weight:500}
nav{display:flex;gap:28px}
nav a{opacity:.55;transition:opacity .3s}nav a:hover,nav a[aria-current]{opacity:1}
.page{display:none}.page.on{display:block}
/* Accueil : film plein écran */
.hero{position:relative;height:100svh;min-height:480px;overflow:hidden;background:#1a1a1a}
.hero video,.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero::after{content:"";position:absolute;inset:auto 0 0;height:40%;background:linear-gradient(transparent,rgba(17,17,17,.75));pointer-events:none}
.hero .info{position:absolute;z-index:2;left:var(--pad);right:var(--pad);bottom:calc(env(safe-area-inset-bottom,0px) + 28px);display:flex;justify-content:space-between;align-items:end;gap:20px;font-size:14px}
.hero .info b{font-size:clamp(22px,3vw,40px);font-weight:500;letter-spacing:-.02em;display:block;line-height:1.1}
.hero .info span{color:var(--mute)}
.bar{position:absolute;z-index:2;left:var(--pad);right:var(--pad);bottom:calc(env(safe-area-inset-bottom,0px) + 14px);height:1px;background:var(--line)}
.bar i{display:block;height:100%;width:0;background:var(--fg)}
/* Grille */
.work{padding:72px var(--pad) 40px}
.filters{display:flex;gap:24px;flex-wrap:wrap;margin-bottom:36px;font-size:14px}
.filters button{font:inherit;color:var(--mute);background:none;border:0;padding:0 0 3px;cursor:pointer;border-bottom:1px solid transparent;transition:color .25s}
.filters button:hover{color:var(--fg)}.filters button[aria-pressed="true"]{color:var(--fg);border-color:var(--fg)}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:56px 20px}
.tile{display:block}
.media{position:relative;aspect-ratio:16/9;overflow:hidden;background:#1b1b1b}
.media img,.media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.media video{opacity:0;transition:opacity .4s}.tile:hover .media video.on{opacity:1}
.tile .row{display:flex;gap:16px;align-items:baseline;border-top:1px solid var(--line);margin-top:14px;padding-top:10px;font-size:14px}
.tile .n{color:var(--mute);font-size:12px;font-variant-numeric:tabular-nums;min-width:2.2em}
.tile .row b{font-weight:500;flex:1}.tile .row span:last-child{color:var(--mute)}
.empty{color:var(--mute);font-size:14px}
/* Pages texte */
.text{padding:150px var(--pad) 80px;max-width:1100px}
.text h1{font-size:clamp(34px,5.4vw,76px);line-height:1.04;letter-spacing:-.03em;font-weight:500;margin:0 0 56px;max-width:18em}
.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:36px;border-top:1px solid var(--line);padding-top:24px;color:var(--mute);max-width:900px}
.cols h2{font-size:14px;font-weight:500;color:var(--fg);margin:0 0 8px}.cols p{margin:0}
.mail{font-size:clamp(26px,5vw,68px);letter-spacing:-.03em;font-weight:500;border-bottom:1px solid var(--fg)}
.links{margin-top:40px;display:flex;gap:28px;font-size:14px}.links a{border-bottom:1px solid var(--line)}
footer{padding:28px var(--pad) calc(env(safe-area-inset-bottom,0px) + 28px);color:var(--mute);font-size:13px}
@media (max-width:760px){.grid{grid-template-columns:1fr}.work{padding-top:48px}.hero .info{flex-direction:column;align-items:start;gap:4px}}
[hidden]{display:none!important}
header{mix-blend-mode:normal;align-items:center;padding-bottom:20px;background:linear-gradient(rgba(17,17,17,.9),rgba(17,17,17,0));gap:20px}
nav a{opacity:1;color:#bcbab5;padding:10px 0}nav a[aria-current="page"]{color:var(--fg)}
.hero{height:100vh;height:100svh;background:#191919}
.hero::after{inset:0;height:100%;background:linear-gradient(180deg,rgba(17,17,17,.3),transparent 35%,rgba(17,17,17,.18) 50%,rgba(17,17,17,.85))}
.hero video{opacity:0;transition:opacity .3s}.hero video.playing{opacity:1}
.hero .info{bottom:76px;align-items:flex-end}.hero .info h1{font-size:clamp(52px,8.6vw,140px);font-weight:400;line-height:.92;letter-spacing:-.055em;margin:18px 0 22px;max-width:12ch}
.hero .info p{margin:0;color:#c5c2bd;max-width:35em}.hero .info .eyebrow{font-size:13px;color:var(--fg)}
.hero-controls{position:absolute;z-index:3;bottom:24px;left:var(--pad);right:var(--pad);display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:13px}
button{font-family:inherit}button.control{color:var(--fg);background:transparent;border:1px solid #77746e;padding:9px 14px;cursor:pointer;min-height:44px;font-size:13px}
.bar{bottom:0;left:0;right:0;height:2px;pointer-events:none}.bar i{width:100%;transform:scaleX(0);transform-origin:left}
.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:24px;margin-bottom:36px}.section-head h2{font-size:clamp(26px,3vw,42px);font-weight:400;letter-spacing:-.035em;margin:0}.section-head p{color:#aaa7a1;font-size:13px;max-width:29em;margin:0}
.filters{gap:8px 24px;margin-bottom:28px}.filters button{min-height:44px;padding:7px 0;color:#aaa7a1}
.media{background:linear-gradient(140deg,#383732,#181818 65%)}.media::before{content:'Visuel à fournir';position:absolute;inset:0;display:grid;place-items:center;color:#bcb9b2;font-size:13px}
.media.has-poster::before{display:none}.media img,.media video{z-index:1}.media img{transition:opacity .2s}.media video.playing{opacity:1}
.media-label{position:absolute;z-index:2;bottom:16px;left:16px;color:#eeeae2;font-size:12px;text-shadow:0 1px 5px #111}
.preview-control{position:absolute;z-index:3;right:12px;bottom:12px;background:#111!important}
.tile .row span:last-child{color:#aaa7a1}.tile .row b{font-weight:400}.tile .row{flex-wrap:wrap;gap:8px 14px}.tile .row .meta{margin-left:auto;font-size:12px}
.text{min-height:calc(100svh - 80px);padding-top:170px}.cols{color:#b1aea8}.mail{overflow-wrap:anywhere}.pending{color:#aaa7a1;font-size:18px}.links a{padding:10px 0}
footer{border-top:1px solid var(--line);margin:32px var(--pad) 0;padding:24px 0;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.skip{position:fixed;top:10px;left:20px;z-index:100;background:var(--fg);color:var(--bg);padding:12px;transform:translateY(-160%)}.skip:focus{transform:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:760px){header{font-size:13px;padding-top:calc(env(safe-area-inset-top,0px) + 12px)}nav{gap:18px}.hero{min-height:560px}.hero img,.hero video{object-position:60% center}.hero .info{bottom:110px;align-items:flex-start}.hero .info h1{font-size:clamp(54px,13vw,92px)}.hero .info p{max-width:27ch;font-size:14px}.section-head{display:block}.section-head p{margin-top:14px}.grid{gap:36px}.tile .row .meta{margin-left:0;width:100%;padding-left:40px}.text{padding-top:130px}.text h1{margin-bottom:36px}.hero-controls{font-size:12px}.hero-controls>a{max-width:17ch}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* V3 : mêmes pages et grille, deux palettes éditoriales. */
:root{--header-h:calc(92px + env(safe-area-inset-top,0px));--secondary:#aaa7a1;--header-bg:#111111}
:root[data-univers="production"]{--bg:#F0EEE9;--fg:#171715;--mute:#66635e;--secondary:#66635e;--line:rgba(23,23,21,.22);--header-bg:#F0EEE9;color-scheme:light}
:root[data-univers="ia"]{--bg:#111111;--fg:#F0EEE9;--mute:#aaa7a1;--secondary:#aaa7a1;--line:rgba(240,238,233,.2);--header-bg:#111111;color-scheme:dark}
html,body,header,footer,.text,.cols,.filters button,.tile .row,nav a,.section-head p,.pending{transition:background-color 650ms ease,color 650ms ease,border-color 650ms ease}
header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:var(--header-h);background:var(--header-bg);color:var(--fg);padding:calc(14px + env(safe-area-inset-top,0px)) var(--pad) 14px;gap:24px;border-bottom:1px solid var(--line)}
header>a{justify-self:start}header nav{justify-self:end}nav a{color:var(--secondary)}
.universe-selector{display:flex;align-items:center;gap:18px;white-space:nowrap}
.universe-selector button{font:inherit;font-size:15px;line-height:1.25;background:none;border:0;border-bottom:1px solid transparent;color:var(--secondary);min-height:44px;padding:8px 0;cursor:pointer;transition:color 650ms,border-color 650ms}
.universe-selector button[aria-pressed="true"]{border-color:var(--fg);color:var(--fg)}.universe-selector span{font-size:14px;color:var(--mute)}
.hero{margin-top:var(--header-h);height:calc(100vh - var(--header-h));height:calc(100svh - var(--header-h));min-height:520px;background:var(--bg);color:var(--fg);transition:background-color 650ms,color 650ms}
.hero::after{background:linear-gradient(180deg,rgba(17,17,17,.05),transparent 35%,rgba(17,17,17,.2) 50%,rgba(17,17,17,.9))}
:root[data-univers="production"] .hero::after{background:linear-gradient(180deg,rgba(240,238,233,.05),transparent 25%,rgba(240,238,233,.1) 50%,rgba(240,238,233,.96))}
.hero .info h1{font-size:clamp(54px,7vw,110px);max-width:14ch}.hero .info p{color:inherit}.hero .info .eyebrow{color:inherit}
.hero-controls{bottom:calc(24px + env(safe-area-inset-bottom,0px))}.hero .control{color:inherit;border-color:currentColor}.bar{background:var(--line)}
.section-head p,.tile .row span:last-child,.cols,.pending{color:var(--secondary)}.filters button{color:var(--secondary)}
.section-head h2{font-size:clamp(26px,3vw,42px)}
.media{background:var(--line)}.media::before{color:var(--mute)}
.media .control{color:#F0EEE9;border-color:#8b8985}.media-label{color:#F0EEE9;text-shadow:0 1px 5px #111}
.text{padding-top:calc(var(--header-h) + 70px)}.skip{z-index:30}
@media(max-width:1000px){:root{--header-h:calc(116px + env(safe-area-inset-top,0px))}header{grid-template-columns:1fr auto;grid-template-rows:36px 44px;gap:4px 12px;padding:calc(10px + env(safe-area-inset-top,0px)) var(--pad) 12px}.universe-selector{grid-column:1/-1;grid-row:2;justify-self:center}header nav{grid-column:2;grid-row:1}.hero{min-height:500px}}
@media(max-width:760px){header{font-size:13px}.universe-selector{gap:16px}.universe-selector button{font-size:14px}.hero .info{bottom:calc(108px + env(safe-area-inset-bottom,0px));align-items:flex-start}.hero .info h1{font-size:clamp(46px,10.5vw,78px);margin:14px 0 20px}.hero .info p{max-width:29ch}.hero .info .eyebrow{font-size:12px;max-width:none}.hero-controls{font-size:12px}.text{padding-top:calc(var(--header-h) + 45px)}}
@media(max-width:360px){.universe-selector{gap:12px}.universe-selector button{font-size:13px}nav{gap:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* V3.1: progress is the only clock for theme and wipe. */
html,body,header,footer,.text,.cols,.filters button,.tile .row,nav a,.section-head p,.pending,.hero{transition:none!important}
:root{--universe-progress:0;--ia-hidden:100%;--contrast-edge:transparent;--edge-width:0px;--secondary-opacity:.9}
header>a,header nav,.section-head,.filters,.tile .row,.cols,.pending,footer{-webkit-text-stroke:var(--edge-width) var(--contrast-edge);paint-order:stroke fill;text-shadow:0 0 1px var(--contrast-edge)}
.section-head p,.tile .meta,.cols p,footer{opacity:var(--secondary-opacity)}
:root[data-univers]{color-scheme:light dark}
.universe-slider{overflow:hidden;position:relative;width:350px;height:68px;border:1px solid rgba(240,238,233,.24);border-radius:40px;background:rgba(30,29,27,.72);color:#F0EEE9;box-shadow:inset 0 1px 0 rgba(255,255,255,.06);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);cursor:ew-resize;touch-action:pan-y;user-select:none;-webkit-user-select:none;outline-offset:4px;-webkit-text-stroke:0;text-shadow:none;isolation:isolate}
.slider-labels{position:absolute;top:10px;left:18px;right:18px;display:flex;justify-content:space-between;gap:14px;font-size:13px;line-height:1.3;pointer-events:none;white-space:nowrap}
.slider-labels span:first-child{opacity:calc(1 - var(--universe-progress)*.2)}.slider-labels span:last-child{opacity:calc(.8 + var(--universe-progress)*.2)}
.slider-rail{position:absolute;left:24px;right:24px;bottom:19px;height:1px;background:rgba(240,238,233,.28);pointer-events:none}
.thumb-travel{position:absolute;inset:0;transform:translateX(calc(var(--universe-progress)*100%));will-change:transform}
.slider-thumb{position:absolute;left:-8px;top:-8px;width:16px;height:16px;border-radius:50%;background:#F0EEE9;border:1px solid rgba(255,255,255,.7);pointer-events:auto;touch-action:none}
.slider-thumb::after{content:'';position:absolute;inset:-14px;border-radius:50%}
.universe-slider:focus-visible{outline:2px solid var(--fg)}
html[data-dragging] .universe-slider{cursor:grabbing}html[data-dragging] *{transition:none!important}
header{grid-template-columns:1fr auto 1fr;gap:20px}
.hero::after{display:none}
.hero-scene{isolation:isolate;z-index:0;position:absolute;inset:0;overflow:hidden;background:var(--scene-bg);color:var(--scene-fg);pointer-events:none}
.hero-scene img,.hero-scene video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-scene video{transition:none!important;opacity:0}.hero-scene video.playing{opacity:1}
.hero-scene::after{content:'';position:absolute;inset:0;background:var(--scene-overlay);pointer-events:none}
.scene-production{--scene-bg:#F0EEE9;--scene-fg:#171715;--scene-overlay:linear-gradient(180deg,rgba(240,238,233,.05),transparent 25%,rgba(240,238,233,.1) 50%,rgba(240,238,233,.96))}
.scene-ia{z-index:1;--scene-bg:#111111;--scene-fg:#F0EEE9;--scene-overlay:linear-gradient(180deg,rgba(17,17,17,.05),transparent 35%,rgba(17,17,17,.2) 50%,rgba(17,17,17,.9));clip-path:inset(0 var(--ia-hidden) 0 0);will-change:clip-path}
.hero .hero-scene .info,.hero .hero-scene .info p,.hero .hero-scene .info .eyebrow{color:var(--scene-fg);-webkit-text-stroke:0;text-shadow:none}
.hero > .hero-controls{color:var(--fg);text-shadow:0 0 2px var(--contrast-edge);-webkit-text-stroke:var(--edge-width) var(--contrast-edge)}
.hero .control:disabled{opacity:.55;cursor:default}
@media(max-width:1100px){:root{--header-h:calc(142px + env(safe-area-inset-top,0px))}header{grid-template-columns:1fr auto;grid-template-rows:36px 68px;gap:6px 12px;padding:calc(8px + env(safe-area-inset-top,0px)) var(--pad) 12px}.universe-slider{grid-column:1/-1;grid-row:2;justify-self:center}header nav{grid-column:2;grid-row:1}}
@media(max-width:760px){.universe-slider{width:min(350px,100%)}.hero{min-height:500px}.hero .info{bottom:100px}.hero .info h1{font-size:clamp(42px,10.2vw,76px)}}
@media(max-width:360px){.slider-labels{left:16px;right:16px;font-size:11.5px;gap:8px}.slider-rail{left:22px;right:22px}}
@media(prefers-reduced-motion:reduce){.scene-ia,.thumb-travel{will-change:auto}}


/* A single editorial caption stays legible across the moving image seam. */
:root[data-univers] .hero::after{display:block;z-index:2;background:linear-gradient(180deg,transparent 38%,transparent 48%,var(--bg) 100%)}
.hero > .info{z-index:3;color:var(--fg);-webkit-text-stroke:var(--edge-width) var(--contrast-edge);paint-order:stroke fill;text-shadow:0 0 1px var(--contrast-edge)}
.hero > .info p,.hero > .info .eyebrow{color:inherit}

.hero::before{content:'';position:absolute;inset:0;z-index:2;background:linear-gradient(180deg,transparent 4%,var(--bg) 60%,var(--bg));opacity:var(--caption-wash,0);pointer-events:none}

/* V4: native inline project sheets; existing routes and universe mechanics unchanged. */
.tile.featured{grid-column:1/-1}
.project-details{margin-top:18px;font-size:14px;border-top:1px solid var(--line)}
.project-details summary{cursor:pointer;padding:14px 0;min-height:44px;color:var(--fg)}
.project-content{padding:10px 0 0}
.project-description{max-width:50em;margin:0 0 24px}
.project-facts{display:grid;grid-template-columns:auto 1fr;gap:6px 20px;margin:0 0 24px}.project-facts dt{color:var(--secondary)}.project-facts dd{margin:0}
.project-gallery{display:grid;gap:20px}.project-gallery figure{margin:0}.project-gallery img,.project-gallery video{display:block;width:100%;height:auto;background:var(--bg)}.project-gallery figcaption{font-size:12px;color:var(--secondary);margin-top:8px}
#hero-film{border-bottom:1px solid currentColor;min-height:44px;display:inline-flex;align-items:center}

/* V5 — identity before films. Manrope headlines / Inter Tight text. */
body{font-family:'Inter Tight','Helvetica Neue',Arial,sans-serif}
h1,h2,h3,.brand,.intro-name,.showreel-fallback{font-family:Manrope,'Helvetica Neue',Arial,sans-serif}
header{z-index:20}.brand{position:relative;display:block;width:174px;height:44px;font-size:14px;line-height:44px;font-weight:600}
.brand span{position:absolute;inset:0;white-space:nowrap}.brand-prod{opacity:calc(1 - var(--universe-progress));transform:translateY(calc(var(--universe-progress)*-24px))}.brand-ia{opacity:var(--universe-progress);transform:translateY(calc((1 - var(--universe-progress))*24px))}
.identity-intro{position:relative;min-height:100vh;min-height:100svh;padding:140px var(--pad) 40px;display:flex;flex-direction:column;justify-content:space-between;gap:40px}
.intro-location{font-size:13px;margin:0;color:var(--fg);opacity:.8}
.intro-name{font-size:clamp(76px,13.4vw,206px);line-height:.88;letter-spacing:-.065em;font-weight:800;margin:30px 0 48px;max-width:100%;overflow-wrap:normal}
.intro-name span{display:block}.intro-activities{display:flex;gap:24px 72px;flex-wrap:wrap;font-size:clamp(16px,1.65vw,24px);font-weight:400;letter-spacing:-.02em;margin:0;padding-top:24px;border-top:1px solid var(--line)}
#work-area{padding-top:var(--header-h)}.hero{margin-top:0;height:calc(100svh - var(--header-h));min-height:480px}
.hero #hero-title{font-family:Manrope,sans-serif;font-size:clamp(40px,6.5vw,96px);font-weight:600;line-height:1.02;letter-spacing:-.055em;margin:12px 0 24px;max-width:16ch}
.hero .info{bottom:92px}
.showreel-fallback{position:absolute;inset:0;display:flex;align-items:center;padding:var(--pad);font-size:clamp(96px,15vw,224px);font-weight:800;letter-spacing:-.075em;line-height:.88;white-space:pre-line;color:var(--scene-fg);opacity:.09;pointer-events:none}
.hero-scene.has-poster .showreel-fallback{display:none}.hero-scene .showreel-fallback+.info{display:none}
.work{padding-top:80px}.section-head h2{font-family:Manrope,sans-serif;font-weight:500;letter-spacing:-.045em}
.card-link{position:absolute;inset:0;z-index:2}.card-link:focus-visible{outline-offset:-5px;outline-width:2px}.tile .row{display:block}.tile h3{font-size:clamp(17px,1.6vw,23px);font-weight:500;letter-spacing:-.025em;line-height:1.25;margin:8px 0}.tile .n{font-size:12px}.tile .row .meta{display:block;margin:9px 0 0;padding:0;font-size:14px;line-height:1.4;color:var(--fg);opacity:.75}.tile h3 a:hover{text-decoration:underline;text-underline-offset:4px}
.about-intro{font-size:clamp(18px,2vw,27px);max-width:35em;line-height:1.35;margin:-20px 0 48px;letter-spacing:-.02em}.text h1{font-weight:600;font-size:clamp(40px,6.2vw,84px);white-space:pre-line;max-width:20ch;letter-spacing:-.055em}
.project-page{padding:calc(var(--header-h) + 50px) var(--pad) 60px}.project-back{font-size:14px;display:inline-block;min-height:44px;padding:10px 0;border-bottom:1px solid var(--line);margin-bottom:32px}.project-header{max-width:1180px;margin-bottom:40px}.project-kicker{font-size:13px;margin:0 0 18px;color:var(--secondary)}.project-page h1{font-size:clamp(32px,4.8vw,70px);line-height:1.06;letter-spacing:-.05em;font-weight:600;margin:0 0 30px;max-width:28ch;overflow-wrap:break-word}.project-facts{display:flex;flex-wrap:wrap;gap:20px 54px;margin:0}.project-fact dt{font-size:12px;color:var(--fg);opacity:.65;margin-bottom:4px}.project-fact dd{margin:0;font-size:16px}.project-facts .project-fact{display:block}.project-viewer{position:relative;aspect-ratio:16/9;background:#171715;overflow:hidden;margin-bottom:30px}.project-viewer img,.project-viewer iframe,.project-viewer video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;border:0}.project-viewer img{object-fit:cover}.project-viewer.vertical{aspect-ratio:9/16;max-width:500px;margin-left:auto;margin-right:auto}.play-film{position:absolute;inset:0;display:grid;place-items:center;background:rgba(0,0,0,.14);border:0;color:#F0EEE9;cursor:pointer}.play-film span{padding:14px 22px;border:1px solid rgba(240,238,233,.7);background:rgba(17,17,17,.7);font:400 16px 'Inter Tight',sans-serif}.project-description{max-width:60em;font-size:18px;line-height:1.5}.project-gallery{max-width:1200px;margin:30px auto 0}.project-gallery img{width:100%;height:auto}.project-credits{margin:40px 0}.project-source{font-size:13px;display:inline-block;border-bottom:1px solid var(--line);padding:8px 0;opacity:.65}.project-navigation{border-top:1px solid var(--line);margin-top:70px;padding-top:24px;display:grid;grid-template-columns:1fr 1fr;gap:30px}.project-navigation a{display:block;max-width:42ch}.project-navigation a:last-child{text-align:right;justify-self:end}.project-navigation span{font-size:12px;opacity:.65;display:block;margin-bottom:10px}.project-navigation strong{font-family:Manrope,sans-serif;font-size:clamp(16px,2vw,26px);line-height:1.2;font-weight:500;letter-spacing:-.025em}
@media(max-width:760px){.identity-intro{padding-top:128px;padding-bottom:32px;gap:32px}.intro-name{font-size:clamp(65px,15vw,114px);margin:20px 0 56px}.intro-activities{font-size:17px;gap:12px;flex-direction:column}.brand{width:140px;font-size:12px}.showreel-fallback{font-size:clamp(82px,18vw,150px)}.hero #hero-title{font-size:clamp(38px,10vw,64px)}.hero .info{bottom:96px}.work{padding-top:48px}.project-page{padding-top:calc(var(--header-h) + 24px)}.project-page h1{font-size:36px}.project-navigation{gap:20px}.project-facts{gap:18px 30px}.project-fact dd{font-size:14px}.about-intro{margin-top:0}}
@media(max-width:360px){.brand{width:126px}.intro-name{font-size:62px}}
@media(prefers-reduced-motion:reduce){.brand span{transform:none!important}}
.project-viewer.has-video{min-height:200px}
body.project-view{--header-h:76px}body.project-view header{height:76px;grid-template-columns:1fr auto;grid-template-rows:1fr;padding-top:12px;padding-bottom:12px}body.project-view header nav{grid-column:2;grid-row:1}body.project-view .universe-slider{display:none}
.player-message{position:absolute;z-index:2;inset:auto 20px 20px;margin:0;padding:14px 18px;background:rgba(17,17,17,.9);color:#F0EEE9;font-size:14px;line-height:1.4}
#work-area{position:relative}.work-anchor{position:absolute;top:0;left:0;width:1px;height:1px;pointer-events:none}
/* Keep both activity labels within short desktop viewports. */
@media(min-width:761px){.intro-name{font-size:clamp(76px,min(13.4vw,24svh),206px)}}
@media(max-width:360px){.brand{width:112px}}

/* V5.1 — Work keeps the shared hero and wipe geometry, without decorative names. */
.showreel-fallback{display:none!important}
.media-pending{position:absolute;inset:0;display:grid;place-items:center;padding:24px;text-align:center;font-size:14px;font-weight:400;color:var(--fg);opacity:.65}
.project-media-pending{padding:32px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);max-width:64ch;font-size:16px;line-height:1.5}
.project-media-pending p{margin:0 0 16px}.project-media-pending ul{margin:0;padding-left:18px}.project-media-pending li{margin:8px 0}

/* V5.2 — editorial opening outside the category grid; no hero or motion changes. */
.featured-selection{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:28px 0;margin:0 0 32px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.featured-selection .eyebrow{font-size:12px;margin:0 0 12px;opacity:.7}.featured-selection h3{font-size:clamp(24px,3vw,42px);font-weight:500;letter-spacing:-.04em;line-height:1.15;margin:0}.featured-selection h3 a{display:inline-block;padding:4px 0}.featured-selection h3 a:hover{text-decoration:underline;text-underline-offset:6px}.featured-status{font-size:14px;line-height:1.4;opacity:.7;margin:0 0 4px;max-width:24ch}
@media(max-width:760px){.featured-selection{align-items:start;flex-direction:column;gap:16px}.featured-status{max-width:none}}

/* Identity refinement requested for V5.2: a compact name within generous space. */
.identity-intro{justify-content:center;align-items:flex-start;padding-top:128px;padding-bottom:96px;gap:22px}
.intro-name{font-size:clamp(64px,8vw,96px);font-size:min(96px,8vw,12svh);line-height:.92;letter-spacing:-.055em;margin:0}
.intro-activities{font-size:18px;gap:10px 32px;padding-top:18px}
@media(max-width:760px){.identity-intro{padding-top:116px;padding-bottom:72px;gap:20px}.intro-name{font-size:clamp(40px,14vw,58px);font-size:min(58px,14vw,11svh);margin:0}.intro-activities{font-size:16px;gap:8px;padding-top:16px}}

/* V5.4 — strong primary media, quiet editorial metadata; full artwork preserved. */
.project-header{margin-top:32px;margin-bottom:36px}.project-notice{font-size:13px;opacity:.7;margin:16px 0 32px}.project-viewer.poster-fit-contain img,.media.poster-fit-contain img{object-fit:contain;background:#F0EEE9}.hero #hero-title a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:10px}
@media(max-width:760px){.project-header{margin-top:24px}.project-facts{gap:18px 26px}.project-page h1{font-size:clamp(28px,7.8vw,36px)}}
/* Fix native video min-height enforcing an intrinsic 355 px width at 320 px. */
.project-viewer{width:100%;min-width:0}

/* Étape 4 — 1. Intro : nom en petit, lettres qui s'écartent, rideau noir levé sur le showreel. */
.opening{position:fixed;inset:0;z-index:200;background:#0b0b0a;color:#F0EEE9;cursor:pointer;clip-path:inset(0 0 0 0)}
.no-opening .opening{display:none}
.opening-name{position:absolute;left:0;right:0;top:50%;margin:0;transform:translateY(-50%);display:flex;justify-content:center;font:500 13px/1 'Inter Tight','Helvetica Neue',Arial,sans-serif;text-transform:uppercase;white-space:nowrap}
.ol{position:relative;display:inline-block;width:1.05em;text-align:center;opacity:0;transform:translateX(var(--dx,0px));animation:ol-in .5s ease-out forwards;animation-delay:calc(var(--i,0) * 55ms + .15s)}
.ol-space{width:.9em}
.opening.is-spread .ol{transition:transform 2.2s cubic-bezier(.65,0,.35,1)}
.opening.is-regroup .ol{transition:transform .9s cubic-bezier(.65,0,.35,1),opacity .5s ease}
.opening.is-cha .ol:not(.ol-keep){opacity:0!important;transition:opacity .5s ease,transform 2.2s cubic-bezier(.65,0,.35,1)}
.ol-a .ol-a2{position:absolute;left:0;right:0;top:0;opacity:0;transition:opacity .5s ease}.ol-a .ol-a1{transition:opacity .5s ease}
.opening.is-cha .ol-a .ol-a1{opacity:0}.opening.is-cha .ol-a .ol-a2{opacity:1}
.opening.is-lifting{animation:opening-lift var(--lift,.95s) cubic-bezier(.76,0,.24,1) forwards;pointer-events:none}
@keyframes ol-in{to{opacity:1}}
@keyframes opening-lift{to{clip-path:inset(0 0 100% 0)}}
@media(prefers-reduced-motion:reduce){.opening{display:none}}

/* Étape 3 — 2. Nom : « Sa » et « Dougnac » s'effacent, « cha » glisse et devient « Chä ».
   Piloté par la progression du slider ; --brand-gate adoucit le passage intro → Work. */
@property --brand-gate{syntax:'<number>';inherits:true;initial-value:1}
:is(.brand,.panel-name){--brand-gate:1;--brand-p:calc(var(--universe-progress) * var(--brand-gate));--bm-fade:clamp(0,calc(1 - var(--brand-p) / .45),1);--bm-slide:clamp(0,calc((var(--brand-p) - .2) / .6),1);--bm-morph:clamp(0,calc((var(--brand-p) - .55) / .45),1);--w-sa:1.13em;--w-c:.52em;--w-C:.7em;transition:--brand-gate .7s cubic-bezier(.4,0,.2,1)}
:is(.brand,.panel-name) .brand-morph{position:absolute;inset:0;white-space:nowrap}
:is(.brand,.panel-name) .brand-morph span{position:relative;inset:auto;display:inline-block}
:is(.brand,.panel-name) .bm-sa,:is(.brand,.panel-name) .bm-rest{opacity:var(--bm-fade)}
:is(.brand,.panel-name) .bm-rest{white-space:pre}
:is(.brand,.panel-name) .bm-cha{transform:translateX(calc(var(--w-sa) * var(--bm-slide) * -1))!important}
:is(.brand,.panel-name) .bm-c{width:calc(var(--w-c) + (var(--w-C) - var(--w-c)) * var(--bm-morph))}
/* Étape 5 — 2. « c » s'efface entièrement avant que « C » n'apparaisse : jamais les deux à la fois. */
:is(.brand,.panel-name) .bm-c .bm-lo{opacity:clamp(0,calc(1 - var(--bm-morph) * 2),1)}
:is(.brand,.panel-name) .bm-c .bm-up{opacity:clamp(0,calc(var(--bm-morph) * 2 - 1),1)!important}
:is(.brand,.panel-name) .bm-c .bm-up,:is(.brand,.panel-name) .bm-a .bm-up{position:absolute;left:0;top:0;opacity:var(--bm-morph)}

/* Étape 3 — 3. Transition entre univers : fondu enchaîné, plus de balayage.
   Le showreel IA apparaît par-dessus, avec une légère respiration d'échelle ; le fond glisse avec la progression. */
.scene-ia{clip-path:none!important;opacity:var(--universe-progress);transform:scale(calc(1.035 - .035 * var(--universe-progress)));will-change:opacity,transform}
.scene-production{transform:scale(calc(1 + .025 * var(--universe-progress)));will-change:transform}
.hero-scene video.started{opacity:1}
.hero::before{opacity:calc(var(--caption-wash,0) * .55)}
@media(prefers-reduced-motion:reduce){.scene-ia,.scene-production{transform:none;will-change:auto}}

/* Lecteur interne du showreel, avec le son. */
.reel-dialog{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:calc(64px + env(safe-area-inset-top,0px)) var(--pad) calc(32px + env(safe-area-inset-bottom,0px));border:0;background:#0d0d0c;color:#F0EEE9;display:none;place-items:center}
.reel-dialog[open]{display:grid;animation:reel-in .45s cubic-bezier(.16,1,.3,1)}
.reel-dialog::backdrop{background:#0d0d0c}
.reel-dialog video{display:block;width:100%;max-width:min(1600px,calc((100dvh - 120px) * 16 / 9));max-height:calc(100dvh - 120px);aspect-ratio:16/9;background:#000}
.reel-close{position:absolute;top:calc(14px + env(safe-area-inset-top,0px));right:var(--pad);min-height:44px;padding:10px 0;background:none;border:0;border-bottom:1px solid rgba(240,238,233,.4);color:inherit;font:inherit;font-size:14px;cursor:pointer}
html.reel-open{overflow:hidden}
@keyframes reel-in{from{opacity:0}}

/* Étape 4 — accueil : le showreel occupe tout l'écran, l'en-tête se retire tant qu'il est visible. */
#work-area{padding-top:0}.hero{height:100vh;height:100svh;min-height:0}
header{transition:opacity .4s ease,visibility .4s!important}
body.at-hero header{opacity:0;visibility:hidden;pointer-events:none}

/* Étape 4 — 2. Showreel sans texte : un clic l'ouvre en entier, un petit bouton coupe ou rend le son. */
.hero::before,:root[data-univers] .hero::after{display:none}
.hero-scene::after{display:none}
.hero-open{position:absolute;inset:0;z-index:2;width:100%;height:100%;padding:0;border:0;background:none;cursor:pointer}
.hero-open:focus-visible{outline:2px solid #F0EEE9;outline-offset:-6px}
.hero-sound{position:absolute;z-index:3;right:var(--pad);bottom:calc(22px + env(safe-area-inset-bottom,0px));display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgba(17,17,17,.28);color:#F0EEE9;cursor:pointer;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:background-color .3s ease}
.hero-sound:hover{background:rgba(17,17,17,.5)}.hero-sound:focus-visible{outline:2px solid #F0EEE9;outline-offset:3px}
.hero-sound .s-on{display:none}.hero-sound.is-on .s-on{display:inline}.hero-sound.is-on .s-off{display:none}

/* Étape 4 — 3. Au défilement, la vidéo reste fixe et le panneau monte par-dessus :
   ivoire côté Production, charbon côté IA (la couleur suit la progression du curseur). */
.hero{position:sticky;top:0;z-index:0}
.panel{position:relative;z-index:1;background:var(--bg);color:var(--fg);padding:calc(var(--header-h) + 8px) var(--pad) 0}
.panel-name{margin:0;font-family:Manrope,'Helvetica Neue',Arial,sans-serif;font-weight:800;font-size:16vw;line-height:.86;letter-spacing:-.06em;white-space:nowrap}
.panel-name .slit{display:block;overflow:hidden;padding:.04em 0 .26em;margin-bottom:-.2em}
.panel-name .brand-morph{position:relative;display:inline-block;white-space:nowrap;transform:translateY(110%);transition:transform 1.2s cubic-bezier(.16,1,.3,1)}
.panel-name .bm-cha{display:inline-block}
.panel.is-in .panel-name .brand-morph{transform:none}
.panel .work{padding:72px 0 40px}
@media(max-width:760px){.panel .work{padding-top:48px}}
@media(prefers-reduced-motion:reduce){.panel-name .brand-morph{transform:none;opacity:1}}

/* Liste des projets */
.index{display:grid;grid-template-columns:minmax(150px,1fr) 4fr;gap:40px;align-items:start}
.index .filters{position:sticky;top:calc(var(--header-h) + 24px);display:flex;flex-direction:column;align-items:flex-start;gap:0;margin:0;padding-top:10px}
.index .filters button{min-height:36px;padding:6px 0;font-size:14px;color:var(--fg);opacity:.5;border:0;transition:opacity .25s}
.index .filters button:hover,.index .filters button[aria-pressed="true"]{opacity:1}
.index .filters button[aria-pressed="true"]::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin:0 10px 2px -16px;vertical-align:middle}
.list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.item{border-bottom:1px solid var(--line)}
.item a{display:flex;align-items:center;gap:clamp(10px,1.5vw,20px);padding:14px 0}
.item-label{flex:1;min-width:0}
.item-title,.item-subtitle{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.item-title{font-family:Manrope,'Helvetica Neue',Arial,sans-serif;font-weight:500;font-size:clamp(14px,2.1vw,32px);line-height:1.15;letter-spacing:-.035em}
.item-subtitle{margin-top:4px;font-size:12px;opacity:.62}
.item-year{font-size:13px;font-variant-numeric:tabular-nums;color:var(--secondary);white-space:nowrap}
.item-thumb{display:block;flex:none;width:clamp(64px,8vw,112px);aspect-ratio:16/9;background:var(--line);transition:transform .25s ease}
.item-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.item a:focus-visible .item-thumb{transform:scale(1.18)}
@media(hover:hover){
  .item a:hover .item-thumb{transform:scale(1.18)}
}
.list .empty{padding:24px 0;font-size:14px;opacity:.65}
@media(max-width:760px){
  .index{grid-template-columns:1fr;gap:20px}
  .index .filters{position:static;flex-direction:row;flex-wrap:wrap;gap:0 18px;padding:0}
  .index .filters button[aria-pressed="true"]::before{display:none}
  .index .filters button[aria-pressed="true"]{text-decoration:underline;text-underline-offset:5px}
  .item-title{font-size:clamp(13px,3.3vw,16px)}
}
@media(prefers-reduced-motion:reduce){.item-thumb{transition:none}}

/* Étape 4 — 5. Épure : contact en bas de page, sans autre texte. */
footer.contact{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:16px 40px;margin:0;padding:120px var(--pad) calc(48px + env(safe-area-inset-bottom,0px));border-top:0;background:var(--bg);color:var(--fg);position:relative;z-index:1;opacity:1;-webkit-text-stroke:0;text-shadow:none}
.contact-mail{font-size:14px;padding:10px 0;overflow-wrap:anywhere;border-bottom:1px solid var(--line);transition:border-color .3s}
.contact-mail:hover{border-color:var(--fg)}
.contact-link{font-size:14px;padding:10px 0;border-bottom:1px solid var(--line)}
.contact-link:hover{border-color:var(--fg)}
@media(max-width:760px){footer.contact{padding-top:72px;flex-direction:column}}

/* Le filet s’ouvre une fois le nom installé dans l’en-tête. */
#panel-name{transform-origin:0 0;will-change:transform}
body:not(.project-view) #nom{opacity:var(--nom-en-place,0);letter-spacing:-.06em}
body:not(.project-view):not(.at-hero) header{
  border-bottom-color:transparent;
  background:color-mix(in srgb,transparent,var(--header-bg) calc(var(--relais-nom,0) * var(--relais-nom,0) * 100%));
}
body:not(.project-view) header::after{
  content:'';
  position:absolute;
  inset:auto 0 -1px;
  height:1px;
  background:var(--line);
  transform:scaleX(var(--ouverture-filet,0));
  transform-origin:center;
  pointer-events:none;
}
@media(prefers-reduced-motion:reduce){body.at-hero header::after{visibility:hidden}}

/* Visionneuse de l’accueil */
/* Ivoire côté Production, charbon côté IA : suit la progression du curseur. */
#work-page {
  --viewer-ivory: var(--bg);
  --viewer-ink: var(--fg);
  --viewer-line: var(--line);
}
#work-page .panel { background: var(--viewer-ivory); color: var(--viewer-ink); }
#work-page .index { grid-template-columns: minmax(132px, 1fr) minmax(0, 5fr); }
#work-page .filters button { color: var(--viewer-ink); }
#work-page .filters button[aria-pressed="true"] { text-decoration: none; }
#work-page .work { scroll-margin-top: calc(var(--header-h) + 12px); }
#work-page .hero { --explore-height: calc(52px + env(safe-area-inset-bottom, 0px)); }
#work-page .hero-scene, #work-page .hero-open { bottom: var(--explore-height); }
#work-page .hero-open { height: auto; }
#work-page .hero-sound { bottom: calc(var(--explore-height) + 18px); }
.hero-explore {
  position: absolute;
  inset: auto 0 0;
  z-index: 4;
  height: var(--explore-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--viewer-ivory);
  color: var(--viewer-ink);
  font-size: 14px;
}
.hero-explore:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-explore span { font-size: 20px; }
body:not(.project-view) .universe-slider {
  background: rgba(30, 29, 27, .58);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
}
.work-viewer {
  position: relative;
  min-width: 0;
  width: min(100%, 1150px);
  justify-self: center;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}
.work-viewer-stage { position: relative; overflow: hidden; grid-column: 1 / -1; touch-action: pan-y; }
.work-viewer-slide.is-outgoing { position: absolute; inset: 0; pointer-events: none; }
.viewer-project { display: block; user-select: none; }
.viewer-project:focus-visible { outline-offset: -3px; }
.viewer-image { position: relative; }
.viewer-image.viewer-playing video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.viewer-image.viewer-playing iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.viewer-unmute { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 12px 18px; border: 0; background: #fff; color: #111; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.viewer-unmute:hover { background: #F0EEE9; }
.viewer-unmute[hidden] { display: none; }
.viewer-image.poster-contained img { object-fit: contain; height: 100%; transform: none; }
.viewer-film-cue, .project-viewer .play-film span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #17171526;
  border-radius: 30px;
  background: #f0eee9;
  color: #171715;
  font: 500 13px/1.3 'Inter Tight', sans-serif;
}
.viewer-film-cue { margin-top: 12px; pointer-events: none; }
.project-viewer .play-film span::before { content: '▶'; }
.project-viewer .play-film { place-items: end start; padding: 12px; background: transparent; }
.project-viewer .play-film:hover span, .viewer-project:hover .viewer-film-cue { background: #fff; }
.viewer-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #dedbd4; }
.viewer-image img {
  display: block;
  width: 100%;
  height: calc(100% + 16px);
  object-fit: cover;
  transform: translateY(calc(-8px + var(--viewer-offset, 0px)));
}
.viewer-caption { display: block; padding: 14px 0 2px; }
.viewer-caption .item-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: clamp(14px, 1.55vw, 22px);
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}
.viewer-caption .item-year { color: inherit; opacity: .62; }
.project-header h1:has(+ .project-subtitle) { margin-bottom: 8px; }
.project-subtitle { margin: 0 0 28px; font-size: clamp(16px, 2vw, 22px); color: var(--secondary); }
.project-page .project-header h1 { font-size: clamp(20px, 2.7vw, 34px); margin: 0 0 8px; }
.project-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 390px); gap: 14px 30px; align-items: start; margin: 10px 0 22px; }
.project-summary .project-header, .project-summary .project-kicker { margin: 0 0 6px; }
.project-summary .project-subtitle { margin: 0 0 10px; font-size: clamp(14px, 1.7vw, 18px); }
.project-summary .project-facts { gap: 8px 20px; }
.project-summary .project-fact dt, .project-summary .project-fact dd { margin: 0; }
.project-summary .project-fact dd { font-size: 14px; }
.project-summary .project-source { margin-top: 6px; padding: 4px 0; }
.project-summary .project-navigation { margin: 0; padding: 0; border: 0; column-gap: 10px; }
.project-summary .project-navigation strong { font-size: 14px; }
.project-summary .project-navigation .project-nav-image { margin-bottom: 4px; }
.project-summary .project-navigation span { margin-bottom: 3px; }
@media (max-width: 740px) { .project-summary { grid-template-columns: 1fr; } }
.project-page {
  --espace-lecteur-haut: 8px;
  --hauteur-retour: 44px;
  --espace-lecteur-bas: 12px;
  --hauteur-premier-lecteur: max(1px, calc(100svh - var(--header-h) - 2 * var(--espace-lecteur-haut) - var(--hauteur-retour) - var(--espace-lecteur-bas)));
  padding-top: calc(var(--header-h) + var(--espace-lecteur-haut));
}
.project-page .project-back {
  display: table;
  min-height: var(--hauteur-retour);
  margin-bottom: var(--espace-lecteur-haut);
}
.project-page article > .project-viewer:first-child {
  width: min(100%, calc(var(--hauteur-premier-lecteur) * 16 / 9));
  min-height: 0;
  margin: 0 auto 10px;
}
.project-page article > .project-viewer.vertical:first-child {
  width: min(100%, calc(var(--hauteur-premier-lecteur) * 9 / 16));
}
.project-page article > .project-viewer:first-child img { object-fit: contain; }
.project-related-films { margin: 20px 0 28px; }
.project-related-films h2 { font-size: 16px; margin: 0 0 8px; }
.project-related-strip { list-style: none; margin: 0; --viewer-line: var(--line); }
.project-related-card { width: min(208px, 58vw); }
.project-related-card .project-viewer { width: 100%; min-height: 0; margin: 0; border-radius: 6px; }
.project-related-card .project-viewer img { object-fit: cover; }
.project-related-card .project-source { margin: 4px 0 0; padding: 4px 0; }
.project-related-label { font-size: 13px; margin: 5px 0 0; }
.project-navigation .project-nav-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; margin: 0 0 10px; }
.project-navigation a[data-direction="next"] { grid-column: 2; }
.project-navigation a[data-direction="previous"] { text-align: left; justify-self: start; }
.project-navigation a[data-direction] { max-width: min(100%, 360px); }
.project-navigation a[data-direction]:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.viewer-arrow {
  position: absolute;
  z-index: 1;
  top: clamp(8px, 2vw, 22px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--viewer-line);
  border-radius: 50%;
  background: var(--viewer-ivory);
  color: var(--viewer-ink);
  cursor: pointer;
}
.viewer-arrow::before {
  content: '';
  width: 9px;
  height: 9px;
  border-block-start: 2px solid currentColor;
  border-inline-end: 2px solid currentColor;
}
.viewer-previous::before { transform: translateX(1px) rotate(-135deg); }
.viewer-next::before { transform: translateX(-1px) rotate(45deg); }
.viewer-arrow[hidden], .work-strip[hidden] { display: none; }
.viewer-previous { left: clamp(8px, 2vw, 22px); }
.viewer-next { right: clamp(8px, 2vw, 22px); }
.work-strip {
  position: relative;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 9px 10px;
  border: 1px solid var(--viewer-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .37);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
}
.work-strip li { flex: none; position: relative; }
.strip-thumb {
  display: block;
  width: clamp(68px, 8vw, 112px);
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--viewer-ink);
  font-size: 11px;
  cursor: pointer;
}
.strip-visual {
  display: grid;
  place-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: #dedbd4;
  pointer-events: none;
}
.strip-thumb[aria-pressed="true"] .strip-visual { outline: 2px solid currentColor; outline-offset: 2px; }
.strip-thumb:focus-visible { outline-offset: 3px; }
.strip-visual:has(img) { display: block; }
.strip-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .work-strip:has(li:nth-child(2)) { padding: 27px clamp(45px, 6vw, 80px); }
  .project-related-strip:has(li:nth-child(2)) { padding: 42px clamp(64px, 9vw, 118px); }
  .work-strip li > :is(.strip-thumb, .project-related-card) {
    scale: var(--relief-vignette, 1);
    translate: var(--ecart-vignette, 0px) 0;
    transition: scale .12s ease-out, translate .12s ease-out;
  }
}
.viewer-empty { padding: 24px 0; }
@media (max-width: 760px) {
  #work-page .index { grid-template-columns: minmax(0, 1fr); }
  #work-page .filters button[aria-pressed="true"] { text-decoration: underline; }
}
@media (prefers-reduced-motion: reduce) {
  .viewer-image img { height: 100%; transform: none; }
}

/* Le même sélecteur reste accessible du rideau à la visionneuse. */
body:not(.project-view) header {
  align-items: center;
  mix-blend-mode: normal;
}
body.at-hero header {
  z-index: 201;
  opacity: 1;
  visibility: visible;
  background: transparent;
  border-bottom-color: transparent;
  pointer-events: none;
}
body.at-hero #nom, body.at-hero header nav { visibility: hidden; }
body.at-hero .universe-slider { pointer-events: auto; }
body:not(.project-view) .universe-slider {
  --largeur-capsule: min(290px, calc(100vw - var(--pad) * 2));
  --distance-capsule-y: -8px;
  width: var(--largeur-capsule);
  translate: calc(var(--decalage-capsule, 0) * max(0px, (100vw - var(--largeur-capsule)) / 2 - var(--pad)))
             calc(var(--decalage-capsule, 0) * var(--distance-capsule-y));
  transform-origin: calc(50% + var(--decalage-capsule, 0) * 50%) top;
  height: 48px;
  justify-self: center;
  background: rgba(22, 22, 21, .88);
  background: color-mix(in srgb, rgba(22, 22, 21, .88), rgba(17, 55, 58, .92) calc(var(--universe-progress) * 100%));
  color: #f0eee9;
  border-color: rgba(240, 238, 233, .42);
}
body:not(.project-view) .universe-slider:focus-visible { outline: 2px solid #a3a29d; }
.slider-labels { top: 6px; font-size: 12px; }
.slider-labels span:first-child {
  font-family: Manrope, sans-serif;
  font-weight: calc(600 - 100 * var(--universe-progress));
}
.slider-labels span:last-child {
  font-family: 'Inter Tight', sans-serif;
  font-style: italic;
  font-weight: calc(450 + 200 * var(--universe-progress));
  color: color-mix(in srgb, #f0eee9, #d8f0e9 calc(var(--universe-progress) * 100%));
}
.slider-rail { bottom: 10px; }
.slider-thumb { width: 12px; height: 12px; left: -6px; top: -6px; }
.header-reel {
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 20px;
  background: transparent;
  color: inherit;
  font-size: 13px;
  cursor: pointer;
}
body.project-view .header-reel, body.at-hero .header-reel { display: none; }
#work-page .index { overflow-anchor: none; }
@media (max-width: 1100px) {
  body:not(.project-view) { --header-h: calc(110px + env(safe-area-inset-top, 0px)); }
  body:not(.project-view) header { grid-template-rows: 34px 48px; }
  body:not(.project-view) .universe-slider { --distance-capsule-y: -34px; }
  body:not(.project-view) header nav { gap: 12px; align-items: center; }
}

/* Accueil : laisser le nom respirer et rapprocher les projets du showreel. */
body:not(.project-view) :is(#nom, #panel-name) { font-weight: 650; }
#work-page .panel .work { padding-top: clamp(24px, 3vw, 38px); }

/* Le sélecteur réagit sans déplacer l’en-tête ni dépendre du survol sur mobile. */
body:not(.project-view) .universe-slider:focus-visible {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 4px 16px rgba(17, 17, 17, .26);
}
@media (hover: hover) and (pointer: fine) {
  body:not(.project-view) .universe-slider:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 4px 16px rgba(17, 17, 17, .26);
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body:not(.project-view) .universe-slider {
    transition: transform .22s cubic-bezier(.2, .75, .25, 1), box-shadow .22s ease;
  }
  body:not(.project-view) .universe-slider:hover { transform: scale(1.055); }
}

#work-page .filters { z-index: 2; }
@media (max-width: 420px) {
  body:not(.project-view) header { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; }
  body:not(.project-view) header .brand { width: min(100%, 174px); }
  #work-page .filters { position: relative; top: auto; }
}
/* Fiche fusionnée : second film empilé sous le premier, même gabarit. */
.project-page article > .project-viewer-stacked {
  width: min(100%, calc(var(--hauteur-premier-lecteur) * 16 / 9));
  min-height: 0;
  margin: 28px auto 10px;
}
.project-page article > .project-viewer-stacked img { object-fit: contain; }
.project-film-label {
  width: min(100%, calc(var(--hauteur-premier-lecteur) * 16 / 9));
  margin: 0 auto;
  font-size: 14px;
  color: var(--secondary);
}
.project-playlist{list-style:none;width:min(100%,calc(var(--hauteur-premier-lecteur,100vw) * 16 / 9));margin:0 auto 30px;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.playlist-thumb{display:block;width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.playlist-thumb img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:6px;background:#171715;transition:opacity .2s ease}
.playlist-thumb:hover img{opacity:.8}
@media (max-width:700px){.project-playlist{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:42%;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}}
/* Film vertical chargé dans le lecteur principal : cadre 9:16 centré, à la hauteur du lecteur. */
.project-page article > .project-viewer.film-vertical img,.project-page article > .project-viewer.film-vertical iframe{inset:0 auto 0 50%;width:auto;height:100%;aspect-ratio:9/16;translate:-50% 0;object-fit:cover}
