/* Service studies sit in the hero; field photographs keep their original framing. */
.service-hero-study{align-self:center;min-width:0;padding:36px 3vw 32px}
.service-hero-study .comparison{margin-bottom:66px}
.service-hero-study .comparison>img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.service-hero-study .comparison-control{top:calc(100% + 12px);gap:12px}
.service-hero-study .comparison-control input{min-width:0;min-height:44px}
.service-hero-study .study-caption{font-size:13px;margin-bottom:7px;color:var(--paper)}
.service-hero-study .fine{margin:0;line-height:1.6;max-width:48em}
.development .field-story figure img{width:100%;max-width:100%;margin:0;aspect-ratio:1;object-fit:contain}
.field-story>div{min-width:0}
.field-story>div>p:not(.eyebrow){color:var(--muted);line-height:1.75}
.installation-viewer{background:#1e2021;color:var(--paper)}
.installation-viewer .photo-slide{height:auto;min-height:0;margin:0;overflow:visible}
.installation-viewer .photo-slide .project-full{width:100%;height:auto;aspect-ratio:3/4;max-height:none;object-fit:contain;filter:none}
.installation-viewer figcaption{margin:0;padding:23px 24px 0;min-height:180px;text-transform:none;letter-spacing:normal;font-size:14px;line-height:1.6;color:var(--muted)}
.installation-viewer figcaption .eyebrow{display:block;margin-bottom:8px;color:var(--aqua)}
.installation-viewer figcaption strong{display:block;font-size:18px;font-weight:500;color:var(--paper)}
.installation-viewer figcaption p{margin:8px 0 0}
.installation-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px 24px}
.installation-controls button{position:static;transform:none;display:grid;place-items:center;min-width:48px;min-height:48px;border:1px solid var(--line);font-size:24px;color:var(--paper)}
.installation-controls button:hover{background:#ffffff0d;border-color:var(--aqua)}
.photo-counter{font-size:12px;letter-spacing:.15em;color:var(--muted)}
.next-service .next-service-title{min-width:0;max-width:calc(100% - 70px)}
.portfolio-main>.next-service{margin-top:46px}
.portfolio-main>.next-service .next-service-title{font-size:clamp(32px,5vw,72px)}
@media(max-width:800px){
 .service-hero:has(.service-hero-study){grid-template-columns:1fr;min-height:0}
 .service-hero-study{padding:0 26px 40px;max-width:660px;width:100%;justify-self:center}
 .service-hero-study .comparison-labels{font-size:10px;left:10px;right:10px;top:10px}
 .service-hero-study .comparison-labels span{padding:6px 8px}
}
@media(max-width:600px){
 .installation-viewer figcaption{padding:20px 18px 0;min-height:190px}
 .installation-controls{padding:16px 18px 20px}
 .portfolio-main>.next-service{padding:28px 20px}
 .next-service .next-service-title{font-size:clamp(30px,8.3vw,43px)}
}

/* Preserve the complete room composition on desktop and mobile. */
.painting .painting-feature figure img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}

/* The foundation archive includes black side margins, not part of the photograph. */
@media(max-width:600px){
 .development .project-story figure.desktop-foundation{overflow:hidden}
 .development .project-story figure.desktop-foundation img{width:160%;max-width:none;height:auto;margin:0 0 0 -30.0578034682%;aspect-ratio:auto;object-fit:contain}
}
