/* Réalisations — photography, generous typography and a mobile-first reading order. */
.portfolio-section{padding:64px 0 68px;scroll-margin-top:94px}
.portfolio-heading{margin-bottom:26px}
.project-kicker{margin:0 0 12px;color:var(--muted);font-size:.875rem;letter-spacing:.12em;text-transform:uppercase;line-height:1.6}
.portfolio-heading h2,.project-intro h1,.project-story h2,.project-plan h2,.project-invitation h2{font-family:var(--font-sans);font-weight:600;letter-spacing:-.035em;line-height:1.18}
.portfolio-heading h2{font-size:clamp(2.6rem,5vw,4.25rem);margin:0}
.featured-project{position:relative;display:block;isolation:isolate;overflow:hidden;border-radius:3px;background:#4e4338;aspect-ratio:1/1;color:#fff}
.featured-project>img{width:100%;height:100%;object-fit:cover;object-position:38% center;transition:transform .7s ease}
.featured-project::after{content:'';position:absolute;inset:25% 0 0;background:linear-gradient(180deg,transparent 0%,rgba(20,17,13,.15) 35%,rgba(20,17,13,.78) 100%);z-index:1;pointer-events:none}
.featured-project__content{position:absolute;inset:auto 24px 28px;z-index:2}
.featured-project__location{font-size:.875rem;letter-spacing:.055em}
.featured-project h3{margin:8px 0 20px;font-family:var(--font-sans);font-size:clamp(2.2rem,7.8vw,4.75rem);font-weight:600;letter-spacing:-.025em;line-height:1.12;overflow-wrap:anywhere}
.featured-project__link{display:inline-block;border-bottom:1px solid rgba(255,255,255,.65);padding-bottom:5px;font-size:.9375rem}
.featured-project:hover>img{transform:scale(1.025)}
.featured-project:focus-visible{outline:3px solid var(--gold);outline-offset:5px}
.project-page .container{width:min(calc(100% - 40px),var(--max))}
.project-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding-top:24px;font-size:.875rem;color:var(--muted)}
.project-breadcrumb a{text-decoration:underline;text-underline-offset:4px}
.project-breadcrumb span[aria-hidden]{color:#b5a99d}
.project-intro{padding-top:34px;padding-bottom:32px}
.project-intro h1{font-size:clamp(2.25rem,9.5vw,6rem);margin:0;overflow-wrap:anywhere}
.project-facts{display:grid;grid-template-columns:minmax(72px,.75fr) minmax(0,1.5fr);border-top:1px solid var(--line);margin:30px 0 0;padding-top:20px;gap:20px}
.project-facts>div{min-width:0}
.project-facts dt{color:var(--muted);font-size:.875rem;margin-bottom:7px}
.project-facts dd{display:flex;align-items:baseline;gap:.3em;margin:0;font-family:var(--font-sans);font-weight:600;font-size:clamp(1.4rem,5.8vw,2.15rem);letter-spacing:-.035em;line-height:1.3;white-space:nowrap}
.project-facts dd small{display:inline;font-family:var(--font-sans);font-size:.54em;font-weight:600;letter-spacing:0;line-height:inherit;margin:0;color:var(--muted)}
.project-figure{margin:0;min-width:0}
.project-hero.container{margin-inline:auto}
.project-image-button{display:block;width:100%;margin:0;padding:0;border:0;border-radius:3px;overflow:hidden;cursor:zoom-in;background:#e8e1d9;color:inherit;position:relative;font:inherit;text-align:left}
.project-image-button img{width:100%;height:auto;display:block}
.project-image-button:focus-visible{outline:3px solid var(--gold);outline-offset:5px}
.project-hero .project-image-button img{aspect-ratio:4/5;object-fit:cover;object-position:48% center}
.project-image-hint{position:absolute;bottom:14px;right:14px;display:block;background:rgba(35,31,32,.8);border:1px solid rgba(255,255,255,.4);padding:7px 12px;border-radius:2px;color:#fff;font-size:.875rem;line-height:1.4}
.project-story{display:grid;gap:24px;padding:60px 0}
.project-story h2{margin:0;font-size:clamp(2rem,4vw,3.5rem);max-width:19ch}
.project-story__text p{text-align:justify;text-justify:inter-word;hyphens:auto;-webkit-hyphens:auto;font-size:1.0625rem;line-height:1.8;margin:0 0 20px;color:var(--muted)}
.project-story__text p:last-child{margin-bottom:0}
.project-gallery{display:grid;gap:38px}
.project-gallery .project-figure--bath .project-image-button img{aspect-ratio:4/5;object-fit:cover}
.project-gallery .project-figure--bureau{margin-top:4px}
.project-gallery-heading{font-size:1rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;margin:0 0 24px;color:var(--muted)}
.project-plan{padding:56px 0;margin-top:56px;background:var(--beige)}
.project-plan__heading{display:grid;gap:18px;margin-bottom:28px}
.project-plan h2{font-size:clamp(2rem,4vw,3.5rem);margin:0}
.project-plan__heading p:not(.project-kicker){color:var(--muted);margin:0;max-width:48ch;font-size:1rem;line-height:1.75}
.project-plan .project-image-button{background:#fff;border:1px solid var(--line)}
.project-plan .project-image-button img{width:100%;height:auto;object-fit:contain}
.project-invitation{padding:62px 0 72px;text-align:center}
.project-invitation h2{font-size:clamp(2rem,4vw,3.5rem);max-width:20ch;margin:0 auto 18px}
.project-invitation p:not(.project-kicker){color:var(--muted);max-width:43ch;margin:0 auto 26px;line-height:1.7}
.project-invitation .btn{font-size:1rem;min-height:48px}
.project-page .sticky-mobile{display:none}
.gallery-viewer{width:calc(100% - 20px);max-width:1320px;max-height:calc(100dvh - 20px);border:0;border-radius:4px;background:#191816;color:#fff;padding:14px;margin:auto;overflow:auto}
.gallery-viewer::backdrop{background:rgba(12,11,10,.93)}
.gallery-viewer__bar,.gallery-viewer__controls{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.875rem}
.gallery-viewer__bar{padding-bottom:12px}
.gallery-viewer button,.gallery-viewer__controls a{font:inherit;color:#fff;background:transparent;border:1px solid #736e66;border-radius:2px;padding:10px 12px;cursor:pointer;min-height:44px}
.gallery-viewer button:hover,.gallery-viewer__controls a:hover{background:#37332e}
.gallery-viewer button:focus-visible,.gallery-viewer a:focus-visible{outline:2px solid #fff;outline-offset:3px}
.gallery-viewer figure{margin:0}
.gallery-viewer figure img{width:100%;max-height:calc(100dvh - 205px);min-height:0;object-fit:contain}
.gallery-viewer__controls{flex-wrap:wrap;margin-top:16px}
.gallery-viewer__controls a{border-color:transparent;text-decoration:underline;text-underline-offset:4px}
body.gallery-open{overflow:hidden}
@media (min-width:760px){
  .portfolio-section{padding:88px 0 94px}
  .portfolio-heading{display:flex;align-items:baseline;justify-content:space-between;flex-direction:row-reverse;margin-bottom:32px;gap:24px}
  .portfolio-heading .project-kicker{margin:0}
  .featured-project{aspect-ratio:16/9;max-height:600px}
  .featured-project>img{object-position:center 54%}
  .featured-project__content{inset:auto 44px 40px}
  .featured-project__location{font-size:1rem}
  .project-page .container{width:min(calc(100% - 64px),var(--max))}
  .project-breadcrumb{padding-top:28px}
  .project-intro{padding-top:44px;padding-bottom:46px}
  .project-hero .project-image-button img{aspect-ratio:16/9;object-position:50% 56%}
  .project-story{grid-template-columns:.85fr 1.15fr;gap:70px;padding:86px 0}
  .project-gallery{grid-template-columns:1.25fr .75fr;gap:56px 48px;align-items:start}
  .project-gallery .project-figure--bath{padding-top:80px}
  .project-gallery .project-figure--bureau{grid-column:1/-1;max-width:980px;width:100%;justify-self:center;margin-top:0}
  .project-plan{padding:76px 0;margin-top:86px}
  .project-plan__heading{grid-template-columns:1fr 1fr;gap:48px;align-items:end;margin-bottom:36px}
  .project-invitation{padding:88px 0 96px}
  .gallery-viewer{padding:22px}
}
@media (min-width:1000px){
  .project-intro{display:grid;grid-template-columns:1.2fr .8fr;align-items:end;gap:48px}
  .project-facts{margin:0 0 5px;padding-top:22px;gap:24px}
  .project-intro h1{font-size:clamp(2.8rem,8vw,6.2rem)}
}
@media (max-width:360px){
  .project-page .container{width:calc(100% - 32px)}
  .project-facts{gap:12px}
  .project-facts dd{font-size:1.4rem}
  .featured-project__content{inset:auto 20px 24px}
  .gallery-viewer__controls{gap:6px}
  .gallery-viewer button,.gallery-viewer__controls a{padding:10px 8px}
}
@media (prefers-reduced-motion:reduce){
  .featured-project>img{transition:none}
  .featured-project:hover>img{transform:none}
}
