/* Journal de manufacture: one entry per project, then a dark photographic stage. */
.album-cover{display:block;position:relative;overflow:hidden;background:#171717}
.album-cover>img{width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .6s var(--ease-craft)}
.album-cover-action{position:absolute;bottom:16px;right:16px;display:flex;align-items:center;gap:18px;background:#f0eeeaf5;color:#151515;padding:9px 12px 9px 18px;font-size:11px;min-height:44px}
.album-card-meta{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #a5a19b;margin-top:14px;padding-top:12px;font-size:10px;text-transform:uppercase;letter-spacing:.06em}
.album-card h2 a{display:block;min-height:44px}
.album-grid .album-card h2,.album-grid .album-card:nth-child(6n+1) h2{font-size:clamp(28px,3.3vw,53px);overflow-wrap:break-word}
.album-grid:not(.filtered) .album-card:nth-child(6n+2) .album-cover>img{aspect-ratio:3/4}
.journal-pair .album-card:nth-child(2){margin-top:120px}
.journal-pair .album-card:first-child .album-cover>img{aspect-ratio:4/5}
.album-heading{padding:40px var(--gutter) 35px}
.album-heading>.text-link{font-size:11px;margin-bottom:48px;gap:35px}
.album-heading>.eyebrow{color:#6b665e;margin-bottom:25px}
.album-heading h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(45px,7.5vw,118px);line-height:1.03;letter-spacing:-.045em;max-width:1300px;overflow-wrap:break-word}
.album-heading-meta{display:flex;justify-content:space-between;gap:20px;margin-top:38px;padding-top:17px;border-top:1px solid #aaa59e;font-size:10px;letter-spacing:.1em;text-transform:uppercase}
.album-viewer{background:#111;color:#f1eeea;padding:0 0 28px}
.album-stage{height:min(84svh,1000px);min-height:340px;position:relative;display:grid;place-items:center;overflow:hidden}
.album-open{display:block;width:100%;height:100%;min-height:0;position:relative}
.album-open>img{width:100%;height:100%;object-fit:contain}
.album-open .expand{opacity:1;width:48px;height:48px;right:var(--gutter);bottom:25px;background:#f0eeea;color:#111}
.album-prev,.album-next{position:absolute;top:50%;transform:translateY(-50%);width:56px;height:56px;display:grid;place-items:center;border:1px solid #ffffff80;background:#161616c9;color:#fff}
.album-prev{left:var(--gutter)}.album-next{right:var(--gutter)}
.album-prev svg,.album-next svg{display:block;width:24px;height:24px}.album-prev svg{transform:rotate(180deg)}
.album-toolbar{display:flex;justify-content:space-between;align-items:center;gap:30px;margin:0 var(--gutter);padding:22px 0;border-top:1px solid #ffffff40}
.album-position{font-family:Barlow,Impact,sans-serif;font-size:32px;font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1}
.album-toolbar p{font-size:11px;color:#bbb6af;text-align:right;max-width:400px}
.album-thumbs,.lightbox-thumbs{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#c9c4bb #333;padding:3px var(--gutter) 12px;scroll-snap-type:x proximity}
.album-thumbs>a,.lightbox-thumbs>button{position:relative;flex:0 0 92px;height:76px;padding:0;border:2px solid transparent;background:#282828;scroll-snap-align:center;opacity:.62;color:#fff;transition:opacity .2s,border-color .2s}
.album-thumbs img,.lightbox-thumbs img{width:100%;height:100%;object-fit:cover}
.album-thumbs img:not([src]),.lightbox-thumbs img:not([src]){visibility:hidden;position:absolute}
.album-thumbs span{position:absolute;left:5px;bottom:3px;font-size:9px;background:#000a;padding:1px 4px}
.album-thumbs>[aria-current],.lightbox-thumbs>[aria-current]{border-color:#f4f1eb;opacity:1}
.album-thumbs>a:hover,.lightbox-thumbs>button:hover{opacity:1}
.album-adjacent{padding:55px var(--gutter) 70px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:30px;align-items:start;border-top:1px solid #aaa59e}
.album-adjacent a{display:flex;flex-direction:column;gap:15px;min-height:44px}.album-adjacent a:last-child{text-align:right}
.album-adjacent span,.album-adjacent>a:nth-child(2){font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.album-adjacent strong{font-family:Georgia,serif;font-size:clamp(22px,2.5vw,38px);font-weight:400;line-height:1.15;overflow-wrap:anywhere}
.album-fallback{padding:40px var(--gutter);display:grid;gap:35px}.album-fallback h2{font-size:44px}.album-fallback img{max-height:90svh;object-fit:contain}.album-fallback figcaption{margin-top:10px;font-size:12px}
.album-page .lightbox{width:100vw;height:100dvh;max-width:none;max-height:none;padding:18px 26px;overflow:hidden;grid-template-rows:44px minmax(0,1fr) auto 74px;gap:8px}
.album-page .lightbox[open]{display:grid}
.album-page .lightbox-stage{height:auto;min-height:0}
.album-page .lightbox-stage img{max-height:100%;width:100%;height:100%;object-fit:contain}
.album-page .lightbox-caption{padding:8px 0;min-height:0;display:flex;justify-content:space-between;align-items:center}
.album-page .lightbox-caption h2{font-size:22px;line-height:1.1}.album-page .lightbox-caption p:empty{display:none}
.lightbox-project{font-size:11px;max-width:50%;text-align:right}
.lightbox-thumbs{padding:2px 2px 10px;gap:8px}.lightbox-thumbs>button{flex-basis:70px;height:60px}
.album-image-error{margin:0 var(--gutter);font-size:12px;color:#fff;padding:10px 0}
.album-stage.is-loading img{opacity:.5}
.contact-methods{display:flex;align-items:flex-start;flex-direction:column;gap:12px;margin-top:28px}.contact-methods .button{margin-top:0}.contact-methods .text-link{margin-top:18px}.contact-number{font-size:22px;min-height:44px;display:flex;align-items:center}.contact-email{font-size:14px;min-height:44px;display:flex;align-items:center;overflow-wrap:anywhere}
@media(hover:hover){.album-cover:hover>img{transform:scale(1.025)}.album-prev:hover,.album-next:hover{background:#eee;color:#111}}
@media(max-width:700px){
 .album-grid:not(.filtered) .album-card:nth-child(n){margin-left:0;margin-right:0}
 .album-grid .album-card h2,.album-grid .album-card:nth-child(6n+1) h2{font-size:33px}
 .album-grid:not(.filtered) .album-card:nth-child(6n+2) .album-cover>img{aspect-ratio:4/3}
 .album-cover-action{right:10px;bottom:10px;padding:8px 10px 8px 14px;gap:15px}
 .journal-pair .album-card:nth-child(2){margin-top:0}
 .album-heading{padding-top:20px;padding-bottom:24px}.album-heading>.text-link{margin-bottom:30px}
 .album-heading h1{font-size:clamp(40px,11vw,65px)}.album-heading>.eyebrow{margin-bottom:17px}
 .album-heading-meta{margin-top:25px;font-size:9px;letter-spacing:.04em}
 .album-stage{height:68svh;min-height:300px;max-height:780px}
 .album-prev,.album-next{width:44px;height:48px}.album-prev{left:10px}.album-next{right:10px}
 .album-open .expand{right:12px;bottom:12px;width:44px;height:44px}
 .album-toolbar{padding:18px 0;gap:20px}.album-toolbar p{font-size:10px;max-width:220px}.album-position{font-size:27px}
 .album-thumbs>a{flex-basis:78px;height:66px}
 .album-adjacent{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:35px 20px;padding-top:35px;padding-bottom:40px}
 .album-adjacent>a:nth-child(2){grid-column:1/-1;grid-row:2;justify-self:center}
 .album-adjacent>a:last-child{grid-column:2;grid-row:1}
 .album-adjacent strong{font-size:23px}.album-adjacent span{font-size:9px}
 .album-page .lightbox{padding:10px 12px;gap:6px;grid-template-rows:44px minmax(0,1fr) auto 66px}
 .album-page .lightbox-caption h2{font-size:19px}.lightbox-project{font-size:10px}
 .lightbox-thumbs>button{flex-basis:62px;height:54px}
}
@media(max-height:500px){.album-page .lightbox{grid-template-rows:36px minmax(0,1fr) 28px;gap:4px}.album-page .lightbox-thumbs{display:none}.album-page .lightbox-caption h2{font-size:15px}.album-stage{min-height:260px}}
@media(prefers-reduced-motion:reduce){.album-cover>img,.album-thumbs>a,.lightbox-thumbs>button{transition:none}}

.album-open > img { transition: opacity var(--motion-fade) ease-out }
@media (prefers-reduced-motion: reduce) {
 .album-open > img { transition: opacity var(--motion-fade) linear !important }
}

/* Mouvement du Journal (Claude) — actif seulement avec .motion-ready : exclut mouvement réduit et pause. */
.album-cover::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;background:radial-gradient(circle at var(--mx,50%) var(--my,50%),transparent 0,transparent 18%,#000000a8 78%);transition:opacity .45s cubic-bezier(.2,.8,.2,1)}
@media (hover:hover) and (pointer:fine){.motion-ready .album-cover:hover::after{opacity:1}.motion-ready .album-cover:hover>img{transform:scale(1.045)}}
/* Seul `from` est écrit : l'arrivée reprend le traitement sombre existant (tone-treated, art-directed). */
@keyframes zc-develop{from{filter:brightness(.55) contrast(1.12) saturate(0);transform:scale(1.09)}}
@keyframes zc-wipe{from{clip-path:inset(0 0 0 100%);transform:translateX(28px)}to{clip-path:inset(0);transform:none}}
@keyframes zc-wipe-back{from{clip-path:inset(0 100% 0 0);transform:translateX(-28px)}to{clip-path:inset(0);transform:none}}
.motion-ready .album-open>img.zc-wipe{animation:zc-wipe .8s cubic-bezier(.16,1,.3,1) both}
.motion-ready .album-open>img.zc-wipe-back{animation:zc-wipe-back .8s cubic-bezier(.16,1,.3,1) both}
@supports (animation-timeline:view()){
 .motion-ready .album-cover>img{animation:zc-develop linear both;animation-timeline:view();animation-range:entry 5% cover 42%}
 .motion-ready .album-cover:hover>img{animation:none}
}

/* Tactile : laisse le défilement vertical au navigateur et livre le balayage horizontal au script (sinon pointercancel). */
.album-stage,.lightbox-stage{touch-action:pan-y pinch-zoom}
