.project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 24px}
.project-meta{display:block}.project-meta h3{font-size:22px}.project-category{display:block;text-align:left;margin-top:6px;font-size:12px;color:var(--accent)}
.project-subtitle{margin-top:3px}.project-image{aspect-ratio:1}.project-image.contain>img{object-fit:contain}
.project-card[data-project="leaf"] .project-image{background:#d0d0ce}.project-card[data-project="soft-chords"] .project-image{background:#c9cace}
.render-gallery{align-items:start}.render-gallery .board-button{background:transparent}.render-gallery img{aspect-ratio:auto;object-fit:contain;width:100%;height:auto;max-height:none}
.render-gallery figure{min-width:0}.render-gallery figure:last-child:nth-child(odd){grid-column:1/-1;max-width:1100px;width:100%;margin:auto}
.case-hero{background:transparent}.case-hero.landscape{height:auto}.case-hero.landscape>img{height:auto;width:100%;max-height:85vh;object-fit:contain}
.case-type{max-width:none;white-space:nowrap;flex-shrink:0}.case-heading{flex-wrap:wrap}.case-video{display:block;width:100%;height:auto}.case-board .board-button{background:transparent}.case-board .board-button img{width:100%;height:auto;max-height:none}.board-zoom{display:block;margin:18px 0 0 auto;font-size:14px;padding:10px 0;border-bottom:1px solid var(--line)}.board-zoom:hover{color:var(--accent)}.project-link{color:inherit}
@media(max-width:1099px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 22px}.filters{gap:16px 23px}.filter-caption{display:none}}
@media(max-width:700px){.project-grid{grid-template-columns:1fr;gap:32px}.project-meta h3{font-size:24px}.project-image{aspect-ratio:1}.project-category{font-size:13px}.case-heading h2{font-size:42px}.case-hero{height:55vh}.case-hero .zoom-button{bottom:14px;right:14px}.render-gallery{gap:20px}.render-gallery figure:last-child:nth-child(odd){grid-column:auto}}
@media print{.project-grid{grid-template-columns:1fr 1fr}.project-meta h3{font-size:18px}}

.case-back-top{font-size:14px;letter-spacing:0;text-transform:none;padding:7px 0;border-bottom:1px solid var(--line)}.case-back-top:hover{color:var(--accent);border-color:var(--accent)}
.project-card[data-project="spark"]{grid-column:1/-1}.project-card[data-project="spark"] .project-image{aspect-ratio:2.4;max-height:620px}.project-card[data-project="spark"] .project-image>img{object-fit:contain}.project-card[data-project="spark"] .project-meta h3{font-size:30px}
@media(max-width:700px){.project-card[data-project="spark"] .project-image{aspect-ratio:1.25}.project-card[data-project="spark"] .project-meta h3{font-size:26px}}

@media(max-width:700px){.case-type{font-size:12px;letter-spacing:-.02em;width:100%;overflow-x:auto}.case-heading{overflow:hidden}}
.case-media-layout.single-photo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(35px,6vw,110px);align-items:center;margin:0 var(--pad) 70px}.single-photo>.case-gallery{margin:0;min-width:0}.single-photo>.case-overview{display:block;padding:0;min-width:0}.single-photo>.case-overview h3{margin:0 0 24px}.single-photo>.case-overview p{max-width:700px}
@media(max-width:700px){.case-media-layout.single-photo{grid-template-columns:1fr;gap:30px;margin-bottom:40px}.single-photo>.case-overview h3{margin-bottom:18px}}

.project-year{color:var(--muted);font-variant-numeric:tabular-nums}.project-card[data-project="rolling-machine"] .project-image{background:#fff}
.thumbnail-background{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}.matched-background>img{position:relative;z-index:1}.matched-background>.open-mark{z-index:2}.project-link:hover .matched-background>img{transform:none}
@media(max-width:700px){.project-card[data-project="spark"] .project-image{aspect-ratio:16/9}}
