/* Actual project media is the exhibit; the portfolio supplies an open editorial frame. */
body[data-editorial-project] .project-case {margin-top:clamp(64px,10vw,160px);}
.project-case__intro {display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(32px,6vw,100px);align-items:end;border-top:1px solid var(--line);padding-top:32px;margin-bottom:clamp(48px,8vw,112px);}
.project-case__intro h2 {margin:0;max-width:15ch;font-size:clamp(2.4rem,5vw,5.2rem);line-height:1.02;letter-spacing:-.055em;}
.project-case__intro p,.project-case__copy p {color:var(--muted);line-height:1.8;margin:0;max-width:64ch;}
.project-case__chapter {margin-block:clamp(48px,7vw,112px);scroll-margin-top:110px;}
.project-case__copy {display:grid;grid-template-columns:32px minmax(0,.85fr) minmax(0,1.15fr);gap:24px;align-items:baseline;margin-bottom:32px;}
.project-case__number {color:var(--public-scene-accent,var(--green));font:.7rem/1.6 var(--font-mono);}
.project-case__copy h3 {margin:0;max-width:20ch;font-size:clamp(1.6rem,2.6vw,2.8rem);line-height:1.15;letter-spacing:-.035em;}
.project-case__figure {margin:0;}
.project-case__figure a {display:block;outline-offset:6px;}
.project-case__figure img {display:block;width:100%;height:auto;}
.project-case__figure figcaption {margin-top:16px;font:.7rem/1.7 var(--font-mono);color:var(--muted);}
.project-case__chapter--portrait {display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.58fr);gap:clamp(32px,8vw,120px);align-items:center;}
.project-case__chapter--portrait .project-case__copy {display:block;max-width:48ch;}
.project-case__chapter--portrait .project-case__copy h3 {margin:24px 0;}
.project-case__chapter--portrait .project-case__figure {width:min(100%,390px);justify-self:center;}
@media(max-width:760px){
 .project-case__intro,.project-case__chapter--portrait {grid-template-columns:1fr;gap:28px;}
 .project-case__copy {grid-template-columns:24px minmax(0,1fr);gap:16px;}
 .project-case__copy p {grid-column:2;}
 .project-case__figure figcaption {font-size:.65rem;}
 .project-case__chapter--portrait .project-case__figure {width:min(100%,340px);}
}
@media print{
 .project-case__chapter {break-inside:avoid;margin-block:32px;}
 .project-case__figure img {max-height:70vh;object-fit:contain;}
}
