.project-editorial-figure{margin:0;min-width:0}
.project-editorial-figure>a{display:block;overflow:hidden;width:100%;background:#e8e0d4;aspect-ratio:4/5}
.project-editorial-figure img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;transition:transform .35s ease}
.project-editorial-figure>a:focus-visible{outline:2px solid #765533;outline-offset:4px}
@media(hover:hover){.project-editorial-figure>a:hover img{transform:scale(1.035)}}
@media(prefers-reduced-motion:reduce){.project-editorial-figure img{transition:none}}
.project-editorial-figure figcaption{font-size:.9rem;line-height:1.54;margin:.7rem 0 0;color:#5c5145}
.project-editorial-hero>a{width:100%;aspect-ratio:auto;max-height:660px;display:grid;place-items:center;background:#eee9e1}
.project-editorial-hero img{object-fit:contain;max-height:660px;height:auto}
.project-card .project-editorial-card img{object-fit:cover}
.project-editorial-section{padding-block:clamp(2.2rem,5vw,4rem)}
.project-editorial-detail-band{background:#f1ebe2}
.project-editorial-grid{display:grid;gap:clamp(.8rem,2vw,1.4rem);grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
.project-editorial-details{grid-template-columns:repeat(5,minmax(0,1fr))}
.project-editorial-jumps{display:flex;flex-wrap:wrap;gap:.55rem 1.1rem;margin-top:1.25rem;font-size:.9rem}
.project-editorial-jumps a{text-underline-offset:.26em}
.project-gallery-section .photo-expand{display:grid;width:100%;height:100%;min-width:0}
.project-archive .project-frame{background:#efebe5}
.project-archive .project-figure figcaption{font-size:.9rem}
@media(max-width:900px){.project-editorial-details{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.project-editorial-grid,.project-editorial-details{grid-template-columns:repeat(2,minmax(0,1fr))}.project-editorial-hero img,.project-editorial-hero>a{max-height:min(630px,105vw)}.project-editorial-figure figcaption{font-size:.82rem}.project-archive .project-frame{aspect-ratio:auto}.project-archive .project-frame img{height:auto;max-height:83vw}.project-archive .project-frame.portrait img{max-height:120vw}}
/* One intentionally framed composition per cover; the full photograph opens on tap. */
.project-card .project-editorial-card,.project-editorial-hero>a{aspect-ratio:8/5}
.project-card .project-editorial-card>img,.project-editorial-hero img{object-fit:cover;object-position:var(--project-cover-focus,50% 58%);max-height:none}
.project-editorial-hero>a{max-height:none;display:block}
.project-editorial-jumps{gap:.5rem}
.project-editorial-jumps>a{border:1px solid #d5c8b7;padding:.42rem .68rem;text-decoration:none;color:#5b4835}
.project-editorial-jumps>a:hover,.project-editorial-jumps>a:focus-visible{background:#eee4d8;border-color:#9a7657}
.project-areas,.project-zone{scroll-margin-top:6rem}
.project-zone+ .project-zone{margin-top:clamp(2.2rem,4vw,4rem);padding-top:clamp(1.2rem,2vw,2rem);border-top:1px solid #dfd3c5}
.project-zone>h3{font-size:clamp(1.25rem,2vw,1.75rem);margin:0 0 1rem}
.project-mixed-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:clamp(.75rem,2.2vw,1.6rem)}
.project-mixed-gallery figure{min-width:0;margin:0}
.project-mixed-gallery .project-frame,.project-mixed-gallery .project-editorial-figure>a{aspect-ratio:4/3;background:#eeebe4}
.project-mixed-gallery .project-editorial-figure:not(.project-mixed-detail) img{object-fit:contain}
.project-mixed-gallery .photo-expand{display:block;width:100%;height:100%;min-width:0}
.project-mixed-gallery figcaption{font-size:.88rem;line-height:1.45;margin-top:.55rem;color:#5c5145}
@media(max-width:760px){.project-mixed-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){.project-mixed-gallery figcaption{font-size:.76rem}}
.project-editorial-jumps>a[aria-current="location"]{background:#403225;color:#fffaf1;border-color:#403225}
.project-zone[hidden]{display:none!important}
/* Project pages: every photo keeps its native composition; only index cards crop. */
.project-editorial-hero>a{aspect-ratio:auto;max-height:none;display:block;background:transparent}
.project-editorial-hero img{width:100%;height:auto;max-height:none;object-fit:contain;object-position:center}
.project-mixed-gallery :is(.project-frame,.project-editorial-figure>a){aspect-ratio:auto;background:transparent;display:block;overflow:hidden}
.project-mixed-gallery .project-frame img,.project-mixed-gallery .project-editorial-figure img{width:100%;height:auto;max-height:none;object-fit:contain;display:block}
@media(prefers-reduced-motion:no-preference){.project-mixed-gallery .project-editorial-figure>a:hover img,.project-editorial-hero>a:hover img{transform:none}}

/* A natural-ratio row starts on one shared top edge; never stagger tiles. */
.project-mixed-gallery{grid-auto-flow:row;align-items:start}
.project-mixed-gallery>figure{align-self:start}
