:root{--ink:#24231f;--paper:#f5f1e8;--green:#26342e;--water:#dcebea;--line:#403e3645}
html{scroll-behavior:smooth}.work-hero{min-height:690px;padding:80px max(5%,calc((100vw - 1500px)/2));display:grid;grid-template-columns:.8fr 1.2fr;gap:65px;align-items:center;background:var(--paper);overflow:hidden}.work-hero-copy{position:relative;z-index:2}.work-hero h1{font-size:clamp(72px,9vw,142px);line-height:.82;letter-spacing:-6px}.work-hero-copy>p:last-child{font-size:18px;line-height:1.7;max-width:580px;margin-top:34px}.hero-collage{height:520px;position:relative}.hero-collage img{position:absolute;object-fit:cover;border-radius:28px;box-shadow:0 18px 55px #2b2b2424}.hero-collage img:nth-child(1){width:54%;height:92%;left:0;top:4%;transform:rotate(-2deg)}.hero-collage img:nth-child(2){width:48%;height:48%;right:0;top:0;transform:rotate(2.5deg)}.hero-collage img:nth-child(3){width:52%;height:51%;right:4%;bottom:0;transform:rotate(-1deg)}
.work-hero h1,.work-hero-copy p,.group-heading h2,.group-heading p,.project-copy h3,.project-copy p,.project-copy .tag,.work-cta h2{filter:url(#typewriter-ink)}
.filter-bar{position:sticky;top:var(--header-height);z-index:20;display:flex;gap:8px;overflow-x:auto;padding:15px max(4%,calc((100vw - 1480px)/2));background:#fffefbf2;border-bottom:1px solid #403e3628;backdrop-filter:blur(12px);scrollbar-width:none}.filter-bar::-webkit-scrollbar{display:none}.filter{white-space:nowrap;border:1px solid var(--line);border-radius:24px;background:white;color:var(--ink);padding:9px 15px;font:12px/1.2 "Hue Typewriter","Courier New",monospace;cursor:pointer}.filter.active{background:var(--green);border-color:var(--green);color:#fff}
.projects{max-width:1540px;margin:auto;padding:70px 4% 120px}.project-group{scroll-margin-top:calc(var(--header-height) + 85px);margin-bottom:115px}.group-heading{display:grid;grid-template-columns:.6fr 1.4fr;gap:50px;align-items:end;margin-bottom:45px;padding-bottom:20px;border-bottom:1px solid var(--line)}.group-heading .count{font-size:12px;letter-spacing:.08em;text-transform:uppercase}.group-heading h2{font-size:clamp(48px,6vw,88px);line-height:.9;letter-spacing:-3px}.group-heading p{font-size:15px;line-height:1.7;max-width:650px;margin-top:18px}.project-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:28px}.project-card{grid-column:span 6;background:#fff;border-radius:28px;padding:18px;position:relative;box-shadow:0 12px 45px #27271f0d}.project-card::before{content:"";position:absolute;inset:0;border:1px solid var(--line);border-radius:28px 25px 30px 26px;pointer-events:none}.project-card.wide{grid-column:1/-1}.project-card.feature{background:#e7eeea}.project-copy{padding:17px 12px 22px;display:grid;grid-template-columns:1fr auto;gap:22px;align-items:start}.project-copy .tag{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#66635c}.project-copy h3{font-size:clamp(25px,2.5vw,38px);line-height:1.05;margin-top:8px}.project-copy p{font-size:13px;line-height:1.65;max-width:570px;margin-top:15px}.project-copy .photo-count{font-size:11px;border:1px solid var(--line);border-radius:20px;padding:7px 10px;white-space:nowrap}.mosaic{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.wide .mosaic{grid-template-columns:repeat(3,1fr)}.photo-button{border:0;padding:0;background:#e8e6df;border-radius:17px;overflow:hidden;cursor:zoom-in;position:relative;min-height:260px}.photo-button img{display:block;width:100%;height:100%;min-height:260px;object-fit:cover;transition:transform .45s ease}.photo-button:hover img{transform:scale(1.025)}.photo-button:first-child:last-child{grid-column:1/-1}.mosaic .photo-button:nth-child(1){grid-row:span 2}.mosaic .photo-button:nth-child(n+4){display:none}.wide .mosaic .photo-button:nth-child(1){grid-column:span 2}.wide .mosaic .photo-button:nth-child(4),.wide .mosaic .photo-button:nth-child(5){display:block}.more-photos{position:absolute;right:14px;bottom:14px;background:#fff;padding:7px 10px;border-radius:17px;font-size:11px;box-shadow:0 3px 14px #0002}
.comparison{--reveal:50%;padding:0 0 6px}.comparison-stage{position:relative;aspect-ratio:16/10;overflow:hidden;border-radius:18px;background:#ddd;touch-action:none;cursor:ew-resize}.comparison-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;user-select:none}.comparison-before{clip-path:inset(0 calc(100% - var(--reveal)) 0 0)}.comparison-divider{position:absolute;left:var(--reveal);top:0;bottom:0;width:2px;background:white;transform:translateX(-1px);filter:drop-shadow(0 0 3px #0008)}.comparison-divider span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#222;box-shadow:0 3px 16px #0003}.comparison-label{position:absolute;top:14px;background:#fffef1e8;border-radius:14px;padding:5px 9px;font-size:10px}.before-label{left:14px}.after-label{right:14px}.comparison-controls{display:flex;align-items:center;gap:15px;padding:14px 4px 4px;font-size:11px}.comparison-controls input{flex:1;accent-color:var(--green)}.pair-stack{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.pair-stack .comparison-stage{aspect-ratio:4/5}.pair-stack .comparison-controls{display:none}
.after-screenshot-crop .comparison-after{transform:scale(1.4);transform-origin:center top}
.timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.timeline-step{position:relative}.timeline-step button{width:100%;height:390px}.timeline-step span{display:block;font-size:11px;margin:9px 4px}.timeline-step::after{content:"→";position:absolute;right:-15px;top:45%;z-index:3;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 3px 14px #0002}.timeline-step:last-child::after{display:none}.article-card{display:grid;grid-template-columns:.85fr 1.15fr;gap:18px}.article-card .project-copy{display:block;padding:35px 30px}.article-card .mosaic{grid-template-columns:1.25fr .75fr}.article-card .mosaic .photo-button:first-child{grid-row:span 2}.article-card blockquote{font-size:20px;line-height:1.45;margin:28px 0 0;padding-left:18px;border-left:2px solid var(--green)}
.work-cta{padding:110px max(6%,calc((100vw - 1380px)/2));background:var(--water)}.work-cta>p{font-size:13px}.work-cta h2{font-size:clamp(42px,6vw,78px);line-height:1.02;margin:18px 0 36px}.work-cta a{display:inline-block;border:1px solid var(--ink);border-radius:28px;padding:12px 19px;font-size:13px}.lightbox{width:min(1280px,94vw);height:min(900px,92vh);border:0;border-radius:24px;padding:54px 70px 28px;background:#171916;color:white;overflow:hidden}.lightbox::backdrop{background:#111d;backdrop-filter:blur(7px)}.lightbox figure{height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px}.lightbox img{width:100%;height:100%;object-fit:contain}.lightbox figcaption{text-align:center;font-size:12px}.lightbox-close,.lightbox-prev,.lightbox-next{position:absolute;border:1px solid #ffffff55;background:#1b1d1acc;color:#fff;border-radius:24px;padding:8px 13px;cursor:pointer;z-index:2}.lightbox-close{right:18px;top:16px}.lightbox-prev,.lightbox-next{top:50%;transform:translateY(-50%);font-size:23px;width:43px;height:43px;padding:0}.lightbox-prev{left:15px}.lightbox-next{right:15px}.is-hidden{display:none!important}
@media(max-width:1050px){.work-hero{grid-template-columns:1fr;min-height:auto;padding-top:70px}.hero-collage{height:470px}.project-card{grid-column:1/-1}.article-card{grid-template-columns:1fr}.group-heading{grid-template-columns:1fr}.wide .mosaic{grid-template-columns:repeat(2,1fr)}.wide .mosaic .photo-button:nth-child(1){grid-column:auto}.pair-stack{grid-template-columns:1fr}.pair-stack .comparison-stage{aspect-ratio:16/10}.pair-stack .comparison-controls{display:flex}}
@media(max-width:700px){.work-hero{padding:55px 6% 65px;gap:35px}.work-hero h1{font-size:clamp(36px,11vw,54px);line-height:.95;letter-spacing:-2px;max-width:100%;overflow-wrap:normal}.work-hero-copy>p:last-child{font-size:15px}.hero-collage{height:340px}.hero-collage img:nth-child(1){width:72%}.hero-collage img:nth-child(2){width:49%}.hero-collage img:nth-child(3){width:58%}.filter-bar{gap:7px;padding:12px 5%}.filter{font-size:12px;padding:9px 13px}.filter.active{font-weight:700;background:#26342e;color:#fff;filter:none}.projects{padding:50px 5% 85px}.project-group{margin-bottom:80px}.group-heading h2{font-size:48px}.project-grid{display:block}.project-card{margin-bottom:22px;padding:11px;border-radius:22px}.project-copy{grid-template-columns:1fr;padding:15px 7px}.project-copy .photo-count{justify-self:start}.mosaic,.wide .mosaic{grid-template-columns:1fr 1fr}.mosaic .photo-button,.wide .mosaic .photo-button{min-height:170px}.mosaic .photo-button img,.wide .mosaic .photo-button img{min-height:170px}.mosaic .photo-button:first-child,.wide .mosaic .photo-button:first-child{grid-column:1/-1;grid-row:auto;height:270px}.mosaic .photo-button:nth-child(n+4),.wide .mosaic .photo-button:nth-child(n+4){display:none}.timeline{grid-template-columns:1fr}.timeline-step button{height:300px}.timeline-step::after{display:none}.article-card .project-copy{padding:23px 15px}.pair-stack .comparison-stage,.comparison-stage{aspect-ratio:4/3}.lightbox{padding:52px 12px 55px}.lightbox-prev,.lightbox-next{top:auto;bottom:12px;transform:none}.lightbox-prev{left:calc(50% - 55px)}.lightbox-next{right:calc(50% - 55px)}}

/* Same photo dimensions across project cards, with the hand-drawn charcoal edge used throughout the site. */
.mosaic{grid-auto-rows:clamp(220px,22vw,310px)}
.wide .mosaic{grid-auto-rows:clamp(220px,20vw,310px)}
.mosaic .photo-button:nth-child(1){grid-row:auto}
.wide .mosaic .photo-button:nth-child(1){grid-column:auto}
.photo-button{aspect-ratio:4/3;min-height:0}
.photo-button img{min-height:0}
.photo-button::after,.comparison-stage::after{content:"";position:absolute;inset:2px;border:1px solid rgba(39,36,31,.72);border-radius:inherit;filter:url(#sketch-edge);pointer-events:none;box-shadow:inset 0 0 0 1px rgba(39,36,31,.12)}
.comparison-controls{flex-wrap:wrap}
.comparison-switch{display:flex;align-items:center;gap:9px;flex:1 1 100%;font-size:11px}
.comparison-switch select{max-width:100%;border:1px solid var(--line);border-radius:18px;padding:7px 12px;background:#fff;color:var(--ink);font:inherit}
.portrait-comparison .comparison-stage{aspect-ratio:3/4;max-width:760px;margin-inline:auto}
.artwork-focus .article-card .mosaic .photo-button:first-child img{transform:scale(1.08);transform-origin:center 52%}
@media(max-width:700px){.mosaic,.wide .mosaic{grid-auto-rows:170px}.mosaic .photo-button,.wide .mosaic .photo-button{aspect-ratio:4/3;min-height:0}.mosaic .photo-button img,.wide .mosaic .photo-button img{min-height:0}.mosaic .photo-button:first-child,.wide .mosaic .photo-button:first-child{grid-column:auto;grid-row:auto;height:auto}.comparison-switch{align-items:flex-start;flex-direction:column}.portrait-comparison .comparison-stage{aspect-ratio:3/4;max-width:100%}.artwork-focus .article-card .mosaic .photo-button:first-child img{transform:scale(1.06)}}

/* Larger, legible project imagery; portrait shots stay uncropped. */
.project-grid{grid-template-columns:1fr;gap:34px}
.project-card,.project-card.wide{grid-column:1/-1}
.project-copy h3{font-size:clamp(30px,3.2vw,46px)}
.project-copy p{font-size:16px;line-height:1.7;max-width:820px}
.project-copy .tag,.project-copy .photo-count{font-size:12px}
.mosaic,.wide .mosaic{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:clamp(300px,27vw,420px);gap:14px}
.mosaic .photo-button,.wide .mosaic .photo-button{grid-column:auto;grid-row:auto;min-height:0;aspect-ratio:4/3;height:auto}
.mosaic .photo-button:nth-child(n),.wide .mosaic .photo-button:nth-child(n){display:block}
.mosaic .photo-button img,.wide .mosaic .photo-button img{min-height:0}
.photo-button.portrait-photo,.project-card .mosaic .photo-button.portrait-photo{aspect-ratio:3/4;grid-row:span 1}
.photo-button.portrait-photo img{object-fit:contain;background:#ece9e0}
.ambience-frame{height:clamp(380px,48vw,680px);position:relative;isolation:isolate;overflow:hidden;margin:0 0 18px;border-radius:22px;background-color:#251c15;background-position:center;background-size:cover}
.ambience-frame::before{content:"";position:absolute;inset:-18px;z-index:-1;background:inherit;background-position:center;background-size:cover;filter:blur(14px) brightness(.58);transform:scale(1.06)}
.ambience-open{display:grid;place-items:center;width:100%;height:100%;padding:12px;border:0;background:linear-gradient(0deg,#130f0db8,transparent 34%);cursor:zoom-in}
.ambience-open img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 32px #0008)}
.ambience-frame figcaption{position:absolute;left:24px;bottom:20px;color:#fff;font-size:14px;text-shadow:0 1px 8px #000c;pointer-events:none}
.ambience-frame::after{content:"";position:absolute;inset:2px;border:1px solid rgba(39,36,31,.72);border-radius:inherit;filter:url(#sketch-edge);pointer-events:none}
.ambience-open:focus-visible{outline:3px solid #fff;outline-offset:-8px}
.project-card .mosaic .photo-button.portrait-photo:last-child:first-child{max-width:620px;margin-inline:auto;width:100%}
@media(min-width:701px) and (max-width:1400px){.paper-room .ambience-frame{height:clamp(620px,60vw,820px)}.paper-room .ambience-open{box-sizing:border-box;overflow:hidden;padding:12px}.paper-room .ambience-open img{width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain}.paper-room .portrait-comparison .comparison-stage{width:100%;max-width:600px;aspect-ratio:4/5;background:#2b2924}.paper-room .portrait-comparison .comparison-stage img{object-fit:contain}}
@media(max-width:1050px){.mosaic,.wide .mosaic{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(260px,38vw,390px)}}
@media(max-width:700px){.project-grid{display:grid;grid-template-columns:1fr}.mosaic,.wide .mosaic{grid-template-columns:1fr;grid-auto-rows:auto;gap:12px}.mosaic .photo-button,.wide .mosaic .photo-button{aspect-ratio:4/3;height:auto;min-height:0}.mosaic .photo-button:nth-child(n),.wide .mosaic .photo-button:nth-child(n){display:block}.mosaic .photo-button.portrait-photo,.project-card .mosaic .photo-button.portrait-photo{aspect-ratio:3/4;min-height:0}.project-copy h3{font-size:clamp(28px,8vw,38px)}.project-copy p{font-size:15px}.ambience-frame{height:min(112vw,560px);margin-bottom:14px}.ambience-open{padding:8px}.ambience-frame figcaption{left:16px;bottom:15px;font-size:12px}.project-card .mosaic .photo-button.portrait-photo:last-child:first-child{max-width:100%}}

.mosaic.labeled-stack{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;max-width:760px;margin-inline:auto;gap:22px}.labeled-stack .labeled-photo{margin:0;min-width:0}.labeled-stack .photo-button{display:block;width:100%;height:auto;aspect-ratio:3/4}.labeled-stack figcaption{padding-top:9px;text-align:center;color:var(--ink);font:700 13px/1.4 "Hue Typewriter","Courier New",monospace;letter-spacing:.04em}

.dental-gallery{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:14px;align-items:stretch}.dental-gallery>.photo-button{width:100%;height:auto;aspect-ratio:4/3}.dental-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:14px;min-width:0}.dental-secondary .photo-button{width:100%;height:100%;min-height:0;aspect-ratio:auto}.dental-secondary .photo-button:last-child{grid-column:1/-1}
.dental-gallery.featured-main-portrait>.photo-button{aspect-ratio:1089/1536}.dental-gallery.featured-main-portrait>.photo-button img{object-position:center}.dental-gallery.featured-main-portrait .dental-secondary{min-height:0}
@media(min-width:701px){.dental-gallery.featured-main-portrait{aspect-ratio:1.342;grid-template-rows:minmax(0,1fr)}.dental-gallery.featured-main-portrait>.photo-button,.dental-gallery.featured-main-portrait .dental-secondary{height:100%;min-height:0}.dental-gallery.featured-main-portrait .dental-secondary{overflow:hidden}}
.artwork-focus .dental-gallery>.photo-button img{object-fit:contain;object-position:center;background:#f5f1e8;transform:none}
@media(min-width:701px) and (max-width:1400px) and (pointer:coarse){.artwork-focus .dental-gallery>.photo-button{aspect-ratio:1299/1474}.artwork-focus .dental-gallery>.photo-button img{object-fit:contain;background:#f5f1e8;padding:10px;box-sizing:border-box}}
@media(max-width:700px){.dental-gallery{grid-template-columns:1fr;gap:12px}.dental-gallery>.photo-button{aspect-ratio:4/3}.dental-secondary{grid-auto-rows:clamp(150px,42vw,230px);grid-template-rows:auto auto;gap:12px}.dental-secondary .photo-button:last-child{grid-column:1/-1}}

.dental-gallery>.comparison.feature-comparison{margin:0;min-width:0;align-self:stretch}.dental-gallery>.comparison.feature-comparison .comparison-stage{aspect-ratio:4/3;max-width:none}
@media(max-width:700px){.dental-gallery>.comparison.feature-comparison .comparison-stage{aspect-ratio:4/3;max-width:100%}}

.industrial-showcase{display:grid;gap:24px}.industrial-comparison{width:100%;max-width:1100px;margin:2px auto 0;padding-top:22px;border-top:1px solid var(--line)}.industrial-comparison-title{display:block;margin:0 0 12px;color:#66635c;font:700 12px/1.4 "Hue Typewriter","Courier New",monospace;letter-spacing:.08em;text-transform:uppercase}.industrial-comparison .comparison{margin:0}.industrial-comparison .comparison-stage{aspect-ratio:16/9}.industrial-showcase .dental-secondary .photo-button{min-width:0}.industrial-showcase .more-photos{z-index:2}
@media(max-width:700px){.industrial-showcase{gap:18px}.industrial-comparison{padding-top:16px}.industrial-comparison .comparison-stage{aspect-ratio:4/3}}
@media(max-width:1400px){.industrial-comparison{width:calc(100% + 12px);max-width:none;margin-left:-6px;margin-right:-6px}}
@media(min-width:701px) and (max-width:1400px){.industrial-showcase .dental-gallery{display:block}.industrial-showcase .dental-gallery>.photo-button{display:none}.industrial-showcase .dental-secondary{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto}.industrial-showcase .dental-secondary .photo-button:nth-child(1),.industrial-showcase .dental-secondary .photo-button:nth-child(2){height:auto;aspect-ratio:3/4}.industrial-showcase .dental-secondary .photo-button:nth-child(3){grid-column:1/-1;height:auto;aspect-ratio:16/7}.industrial-showcase .dental-secondary .photo-button:nth-child(3) img{object-fit:cover;background:#e8e6df}}

/* Let every project frame follow the real height of its imagery on tablets. */
.project-card{min-width:0;overflow:hidden;box-sizing:border-box}
.mosaic,.wide .mosaic{grid-auto-rows:auto;align-items:start;min-width:0}
.mosaic .photo-button,.wide .mosaic .photo-button{width:100%;max-width:100%;box-sizing:border-box}
.photo-button img{max-width:100%}
.photo-button img,.comparison-stage img{border-radius:inherit}.ambience-open img{border-radius:16px}
.photo-button picture{display:block;width:100%;height:100%;border-radius:inherit;overflow:hidden}
@media(max-width:1050px){.mosaic,.wide .mosaic{grid-auto-rows:auto}}

/* Composition dédiée aux photos de Georges Rousse : une image principale et trois vues secondaires équilibrées. */
@media(min-width:701px){.georges-gallery{aspect-ratio:auto;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);grid-template-rows:clamp(280px,34vw,440px);align-items:stretch}.georges-gallery>.photo-button{height:100%;aspect-ratio:auto;align-self:center}.georges-gallery .dental-secondary{height:100%;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}.georges-gallery .dental-secondary .photo-button{height:100%;min-height:0;aspect-ratio:auto}.georges-gallery .dental-secondary .photo-button:last-child{grid-column:1/-1}}
@media(min-width:701px) and (max-width:1400px) and (pointer:coarse){.georges-gallery{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);grid-template-rows:auto;aspect-ratio:auto;gap:12px}.georges-gallery>.photo-button{aspect-ratio:1299/1474;max-width:100%;align-self:center}.georges-gallery .dental-secondary{grid-template-rows:clamp(145px,21vw,260px) minmax(0,1fr);height:100%;align-self:stretch;gap:10px}.georges-gallery .dental-secondary .photo-button:last-child img{object-fit:contain;background:#e7eeea}}

/* Two views of the same private-house project. */
.pair-stack.two-views{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1050px){.pair-stack.two-views{grid-template-columns:1fr}}

/* Papiers peints : quatre vues à gauche, chambre fleurie sur deux rangées à droite. */
@media(min-width:701px){
  .project-card .mosaic.wallpaper-mosaic{
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-rows:repeat(2,minmax(0,1fr));
    align-items:stretch;
  }
  .project-card .wallpaper-mosaic .photo-button:nth-child(n){
    grid-column:auto;grid-row:auto;aspect-ratio:4/3;height:auto;min-height:0;
  }
  .project-card .wallpaper-mosaic .photo-button:nth-child(3){
    grid-column:3;grid-row:1 / span 2;aspect-ratio:auto;height:100%;
  }
  .project-card .wallpaper-mosaic .photo-button img{height:100%;object-fit:cover;object-position:center}
}

/* Légende superposée à la photo, au-dessus des deux vues avant / après. */
.comparison-photo-caption{position:absolute;z-index:2;left:14px;right:14px;bottom:14px;width:fit-content;max-width:calc(100% - 28px);margin-inline:auto;padding:9px 14px;border-radius:12px;background:rgba(28,34,30,.76);color:#fff;font:400 clamp(12px,1.2vw,15px)/1.4 "Hue Typewriter","Courier New",monospace;text-align:center;pointer-events:none}

/* Même format portrait que les deux autres vues de moquette en circulation. */
.project-card .mosaic .photo-button[data-image="assets/service-moquette-motifs.jpeg"]{aspect-ratio:3/4;height:auto;min-height:0}
.project-card .mosaic .photo-button[data-image="assets/service-moquette-motifs.jpeg"] img{object-fit:cover;object-position:center;height:100%;min-height:0}

/* Maison Douce Époque : une seule publication, organisée par intervention. */
.hotel-project .project-copy{padding:22px 16px 27px}
.hotel-project .project-copy h3{font-size:clamp(30px,3.3vw,48px)}
.hotel-project .project-copy p{max-width:920px;font-size:15px;line-height:1.75}
.hotel-opening{margin:0}
.hotel-opening .photo-button{display:block;width:100%;height:auto;min-height:0;aspect-ratio:3/2}
.hotel-opening .photo-button img{height:100%;min-height:0;object-fit:contain;background:#f3f0e8}
.hotel-opening>figcaption{padding:12px 8px;color:#66635c;font-size:11px;line-height:1.5}
.hotel-part{padding:32px 8px 10px;margin-top:24px;border-top:1px solid var(--line)}
.hotel-part-heading{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;margin:0 0 22px}
.hotel-part-number{padding-top:3px;color:#757064;font:400 13px/1.5 "Hue Typewriter","Courier New",monospace}
.hotel-part-heading h4{font:700 clamp(22px,2.3vw,31px)/1.2 "Hue Typewriter","Courier New",monospace;margin:0;color:#211f1b}
.hotel-part-heading p{font-size:14px;line-height:1.75;max-width:900px;margin:13px 0 0}
.hotel-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px;align-items:stretch}
.hotel-photo{margin:0;min-width:0;display:flex;flex-direction:column}
.hotel-photo>.photo-button,.hotel-photo>.photo-button.portrait-photo{display:block;width:100%;aspect-ratio:3/2;height:auto;min-height:0}
.hotel-photo .photo-button img{height:100%;min-height:0;object-fit:cover}
.hotel-photo figcaption{font-size:11px;line-height:1.5;color:#66635c;padding:8px 3px 0}
.hotel-part-interiors .hotel-photo-tall{grid-column:3;grid-row:1/span 2}
.hotel-part-interiors .hotel-photo-tall>.photo-button{aspect-ratio:auto;flex:1;min-height:0}
.hotel-part-interiors .hotel-photo-tall>.photo-button img{object-fit:cover}
.hotel-part-tennis{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.65fr);gap:32px;align-items:center}
.hotel-part-tennis .hotel-photo-grid{grid-template-columns:1fr;max-width:380px;justify-self:center;width:100%}
.hotel-part-tennis .hotel-photo>.photo-button{aspect-ratio:2/3}
@media(max-width:1050px) and (min-width:701px){.hotel-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hotel-part-interiors .hotel-photo-tall{grid-column:2;grid-row:2/span 2}.hotel-part-interiors .hotel-photo-tall>.photo-button{aspect-ratio:auto;height:100%}}
@media(max-width:700px){.hotel-project .project-copy{padding:16px 8px 24px}.hotel-project .project-copy p{font-size:15px}.hotel-opening .photo-button{aspect-ratio:3/2}.hotel-part{margin-top:20px;padding:26px 2px 6px}.hotel-part-heading{grid-template-columns:28px minmax(0,1fr);gap:10px}.hotel-part-heading h4{font-size:23px}.hotel-part-heading p{font-size:15px}.hotel-photo-grid{grid-template-columns:1fr;gap:20px}.hotel-part-interiors .hotel-photo-tall{grid-column:auto;grid-row:auto}.hotel-part-interiors .hotel-photo-tall>.photo-button{aspect-ratio:2/3;flex:auto}.hotel-photo figcaption{font-size:12px}.hotel-part-tennis{grid-template-columns:1fr;gap:8px}.hotel-part-tennis .hotel-photo-grid{max-width:100%}}

/* Photo-by-photo stories for the painting selection. */
.paint-project .project-copy{padding:22px 16px 27px}
.paint-project .project-copy p{max-width:920px;font-size:15px;line-height:1.75}
.paint-scene{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:center;padding:34px 8px;border-top:1px solid var(--line)}
.paint-scene .hotel-part-heading{grid-column:2;grid-row:1;margin:0;grid-template-columns:30px minmax(0,1fr);gap:12px}
.paint-scene-photo{grid-column:1;grid-row:1;margin:0;min-width:0}
.paint-scene:nth-child(even) .hotel-part-heading{grid-column:1}
.paint-scene:nth-child(even) .paint-scene-photo{grid-column:2}
.paint-scene-photo .photo-button,.paint-scene-photo .photo-button.portrait-photo{display:block;width:100%;height:auto;min-height:0;aspect-ratio:4/3}
.paint-scene-photo .photo-button img{width:100%;height:100%;min-height:0;object-fit:contain}
.paint-scene .hotel-part-heading h4{font-size:clamp(22px,2.2vw,31px)}
.paint-scene .hotel-part-heading p{font-size:15px;line-height:1.8;margin-top:18px}
.paint-scene:last-child{padding-bottom:16px}
@media(max-width:1050px) and (min-width:701px){.paint-scene{gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.paint-scene .hotel-part-heading{grid-template-columns:1fr;gap:7px}.paint-scene .hotel-part-heading p{font-size:14px;line-height:1.7}}
@media(max-width:700px){.paint-project .project-copy{padding:16px 8px 24px}.paint-scene{grid-template-columns:1fr;gap:22px;padding:28px 2px}.paint-scene .hotel-part-heading,.paint-scene:nth-child(even) .hotel-part-heading{grid-column:1;grid-row:1;grid-template-columns:28px minmax(0,1fr);gap:10px}.paint-scene-photo,.paint-scene:nth-child(even) .paint-scene-photo{grid-column:1;grid-row:2}.paint-scene .hotel-part-heading h4{font-size:23px}.paint-scene .hotel-part-heading p{margin-top:13px}}

/* Three-line previews on phones; full copy stays visible on wider screens. */
.paint-description-toggle{display:none}
@media(max-width:700px){
  .paint-scene .paint-description>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;margin-top:14px}
  .paint-scene .paint-description.is-expanded>p{display:block;-webkit-line-clamp:unset;line-clamp:unset;overflow:visible}
  .paint-description-toggle{display:inline-block;min-height:32px;margin:3px 0 0;padding:6px 0;border:0;border-radius:0;background:transparent;color:var(--green);font:12px/1.5 "Hue Typewriter","Courier New",monospace;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
  .paint-description-toggle:focus-visible{outline:2px solid var(--green);outline-offset:3px;border-radius:2px}
}

/* Expand the hotel story after its four opening photographs. */
.hotel-more{margin:22px 8px 10px}
.hotel-more>summary{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;padding:10px 0;list-style:none;color:var(--green);font:13px/1.5 "Hue Typewriter","Courier New",monospace;cursor:pointer}
.hotel-more>summary::-webkit-details-marker{display:none}
.hotel-more>summary::marker{content:""}
.hotel-more>summary>span{text-decoration:underline;text-underline-offset:4px}
.hotel-more>summary>small{font-size:11px;color:#66635c}
.hotel-more .hotel-read-less{display:none}
.hotel-more[open] .hotel-read-more{display:none}
.hotel-more[open] .hotel-read-less{display:inline}
.hotel-more>summary:focus-visible{outline:2px solid var(--green);outline-offset:4px;border-radius:3px}
.hotel-more .hotel-part{padding-inline:0}
.hotel-photo .photo-button picture{display:block;width:100%;height:100%}
@media(min-width:701px){.hotel-part-tennis{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.hotel-part-tennis .hotel-photo-grid{max-width:none}.hotel-part-tennis .hotel-photo>.photo-button{aspect-ratio:3/2}}
@media(max-width:700px){.hotel-more{margin-inline:2px}.hotel-more>summary{gap:8px 14px}}

/* A clear collapse control at both ends of the expanded hotel article. */
.hotel-more>summary .hotel-read-more,.hotel-more[open]>summary .hotel-read-less,.hotel-collapse{align-items:center;justify-content:center;gap:10px;min-height:44px;box-sizing:border-box;padding:11px 18px;border:1px solid var(--green);border-radius:22px;background:var(--green);color:#fff;font:700 14px/1.4 "Hue Typewriter","Courier New",monospace;text-decoration:none;cursor:pointer}
.hotel-more:not([open])>summary .hotel-read-more,.hotel-more[open]>summary .hotel-read-less{display:inline-flex}
.hotel-collapse{display:flex;margin:30px auto 10px}
.hotel-collapse::after{content:"↑";font:18px/1 sans-serif}
.hotel-collapse:hover,.hotel-more:not([open])>summary:hover .hotel-read-more,.hotel-more[open]>summary:hover .hotel-read-less{background:#3d5147}
.hotel-collapse:focus-visible{outline:2px solid var(--green);outline-offset:4px}

/* Wallpaper details alongside the room atmosphere, without cropping the photographs. */
.paper-ambience-gallery{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:14px;max-width:930px;aspect-ratio:9/8;margin:0 auto 22px;align-items:stretch;min-height:0}
.paper-room .paper-ambience-gallery .ambience-frame{width:100%;height:100%;min-width:0;min-height:0;aspect-ratio:auto;margin:0}
.paper-detail-stack{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:14px;min-width:0;min-height:0}
.paper-detail-stack .photo-button,.paper-detail-stack .photo-button.portrait-photo{display:block;width:100%;height:100%;min-height:0;aspect-ratio:auto}
.paper-detail-stack .photo-button img{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:contain}
@media(max-width:700px){.paper-ambience-gallery{grid-template-columns:1fr;aspect-ratio:auto;gap:12px;margin-bottom:18px}.paper-room .paper-ambience-gallery .ambience-frame{height:auto;aspect-ratio:3/4}.paper-detail-stack{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:12px}.paper-detail-stack .photo-button,.paper-detail-stack .photo-button.portrait-photo{height:auto;aspect-ratio:3/4}}

/* Align the carpet collection in four portrait frames on larger screens. */
@media(min-width:701px){
  .project-card .mosaic.four-portraits{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .project-card .mosaic.four-portraits .photo-button{aspect-ratio:3/4;height:auto;min-height:0;grid-column:auto;grid-row:auto}
}
.project-card .mosaic.four-portraits .photo-button[data-image="assets/realisations/moquette-chambre.jpeg"]{aspect-ratio:3/4;height:auto;min-height:0}
.project-card .mosaic.four-portraits .photo-button[data-image="assets/realisations/moquette-chambre.jpeg"] img{object-fit:cover;object-position:30% center;height:100%;min-height:0}

.mosaic .captioned-photo{margin:0;min-width:0}.mosaic .captioned-photo figcaption{padding-top:9px;text-align:center;color:var(--ink);font:700 13px/1.4 "Hue Typewriter","Courier New",monospace;letter-spacing:.04em}

@media(min-width:701px){.project-card .mosaic.carpet-gallery{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.project-card .mosaic.carpet-gallery .photo-button{grid-column:span 2;aspect-ratio:3/4;height:auto;min-height:0;grid-row:auto}.project-card .mosaic.carpet-gallery .photo-button:nth-child(4){grid-column:2/span 2}.project-card .mosaic.carpet-gallery .photo-button:nth-child(5){grid-column:4/span 2}}
@media(max-width:700px){.mosaic.carpet-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:10px}.mosaic.carpet-gallery .photo-button{display:block;aspect-ratio:3/4;height:auto;min-height:0}.mosaic.carpet-gallery .photo-button:nth-child(n+4){display:block}}
