/* Project-page refinements from the annotated review. */
.case-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:64px;margin-bottom:80px}
.case-stack>figure{margin:0}
.case-stack img{width:100%;height:auto}
.caption-aligned{align-items:stretch}
.caption-aligned>figure{display:grid;grid-template-rows:auto 1fr;align-content:start}
.case .caption-aligned>figure>img{width:100%;aspect-ratio:4/3;height:auto;object-fit:contain}
.caption-aligned figcaption{align-self:start}
.process-grid,.gallery-grid-two,.gallery-mixed-pairs,.gallery-grid-four,.resort-diagrams{display:grid;gap:36px 24px;align-items:start}
.process-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.process-grid .case-figure,.gallery-grid-two .case-figure,.gallery-mixed-pairs .case-figure,.gallery-grid-four .case-figure,.resort-diagrams .case-figure{margin:0}
.case .process-grid img{aspect-ratio:3/2;object-fit:cover;width:100%;height:auto}
.gallery-grid-two,.gallery-mixed-pairs{grid-template-columns:repeat(2,minmax(0,1fr))}
.gallery-mixed-pairs .span-full{grid-column:1/-1}
.gallery-grid-four{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 16px}
.gallery-grid-four figcaption{font-size:13px;line-height:1.5;margin-top:10px}
.resort-diagrams{grid-template-columns:2fr 1fr;gap:50px 30px}
.resort-diagrams>figure:last-child{grid-column:1/-1}
.case .resort-diagrams img{max-height:80vh;object-fit:contain}
.project>.project-link{display:grid;grid-template-columns:41% 59%;align-items:center}
.project[data-unavailable] .project-caption h2{color:var(--muted)}
.scheme-slider,.project-panorama{margin-top:100px}
.scheme-slider h2,.project-panorama h2{font-size:16px;font-weight:400;line-height:1.5;margin-bottom:28px}
.scheme-slider-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;overscroll-behavior-x:contain}
.scheme-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;margin:0}
.case .scheme-slide img{width:100%;height:min(70vh,700px);object-fit:contain}
.scheme-slider-controls{display:grid;grid-template-columns:44px minmax(0,1fr) 70px 44px;align-items:center;gap:20px;margin-top:24px}
.scheme-slider-controls[hidden]{display:none}
.scheme-slider-controls button{width:44px;height:44px;cursor:pointer;background:transparent;border:1px solid var(--line);font-size:21px}
.scheme-slider-controls button:disabled{opacity:.3;cursor:default}
.scheme-slider-controls input{width:100%;min-height:44px;margin:0;accent-color:var(--ink);cursor:pointer}
.scheme-slider-controls output{text-align:center;color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}
.scheme-slider-track:focus-visible{outline:2px solid var(--red);outline-offset:5px}
.project-panorama iframe{width:100%;height:clamp(360px,65vh,760px);display:block;border:0;background:#f3f3f3}
.project-panorama>a{display:inline-block;margin-top:18px;font-size:14px;color:var(--muted);text-decoration:underline;text-underline-offset:4px}
@media(max-width:850px){.project>.project-link{grid-template-columns:32% 68%}.gallery-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.project>.project-link{display:flex;flex-direction:column;align-items:stretch;gap:17px}.case-stack{gap:38px;margin-bottom:45px}.process-grid{gap:8px}.gallery-grid-two,.resort-diagrams{grid-template-columns:minmax(0,1fr);gap:32px}.gallery-mixed-pairs{gap:24px 12px}.gallery-grid-four{gap:28px 12px}.scheme-slider,.project-panorama{margin-top:60px}.scheme-slider-controls{gap:10px;grid-template-columns:44px minmax(0,1fr) 48px 44px}.case .scheme-slide img{height:50vh}.project-panorama iframe{height:60vh}.caption-aligned>figure>img{aspect-ratio:auto}.resort-diagrams>figure:last-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.scheme-slider-track{scroll-behavior:auto}}
