/* A complete collection, with a quiet editorial index and full-size photographs. */
.project-collection{grid-template-columns:minmax(250px,30%) minmax(0,1fr);gap:5vw}
.project-collection .project-story{position:sticky;top:var(--gallery-sticky-top,105px);align-self:start;min-height:0;padding-bottom:10px}
.project-collection .project-story>p:not(.project-lead){font-size:13px;line-height:1.6}
.project-collection .project-story h1{font-size:clamp(34px,3.2vw,58px)}
.project-collection .project-tags{margin-bottom:18px}
.gallery-navigation{width:100%;padding-top:12px;border-top:1px solid #0002;margin-top:8px}
.gallery-status{font-size:12px;color:#777;margin:0 0 14px;font-variant-numeric:tabular-nums}
.gallery-filters{display:flex;flex-wrap:wrap;gap:7px}
.gallery-filters button{min-height:40px;padding:10px 13px;border:1px solid #0002;border-radius:6px;background:transparent;color:#555;font-size:11px;transition:background .2s,color .2s,border-color .2s}
.gallery-filters button[aria-pressed=true]{background:#111;border-color:#111;color:white}
.gallery-filters button:hover{border-color:#111}
.gallery-hint{font-size:11px;color:#777;margin-top:16px;line-height:1.5}
.project-collection .story-bottom{padding-top:25px;gap:16px}
.collection-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px;align-items:start;min-width:0}
.collection-gallery .gallery-shot{border-radius:0;background:transparent;overflow:visible;min-width:0}
.collection-gallery .gallery-lead{grid-column:1/-1}
.gallery-open{display:block;position:relative;border-radius:10px;overflow:hidden;background:#d7d4cd;isolation:isolate}
.collection-gallery .gallery-shot img{width:100%;height:auto;aspect-ratio:1.5;object-fit:contain;transition:transform .7s var(--ease)}
.gallery-open:hover img{transform:scale(1.025)}
.gallery-zoom{position:absolute;right:12px;bottom:12px;display:block;border-radius:5px;padding:10px 12px;background:#111c;color:#fff;font-size:11px;opacity:0;transform:translateY(6px);transition:opacity .2s,transform .3s;backdrop-filter:blur(8px)}
.gallery-open:hover .gallery-zoom,.gallery-open:focus-visible .gallery-zoom{opacity:1;transform:none}
.collection-gallery .gallery-shot figcaption{display:flex;align-items:baseline;justify-content:space-between;gap:14px;min-height:0;padding:10px 0 0;background:transparent;letter-spacing:0;font-size:12px;line-height:1.4}
.gallery-shot figcaption>span:last-child{font-size:10px;color:#777;text-align:right;flex-shrink:0}
html:not(.brand-js) .gallery-filters,html:not(.brand-js) .gallery-hint{display:none}
/* Native modal supplies keyboard focus containment and makes the page inert. */
.gallery-viewer{position:fixed;inset:0;box-sizing:border-box;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0 3vw;background:#090909;color:#fff;border:0;overflow:hidden}
.gallery-viewer::backdrop{background:#000e}
.gallery-viewer[open]{display:grid;grid-template-rows:68px minmax(0,1fr) 98px;animation:viewer-in .2s var(--ease)}
.viewer-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #ffffff24;font-size:13px}
.viewer-count{margin-left:auto;color:#aaa;font-size:12px;font-variant-numeric:tabular-nums}
.gallery-viewer button{border:1px solid #ffffff30;color:#fff;background:#151515;min-width:44px;min-height:44px;border-radius:50%;font:inherit;cursor:pointer}
.gallery-viewer button:hover{background:#ff6cbf;color:#000;border-color:#ff6cbf}
.viewer-bar .viewer-close{display:flex;align-items:center;gap:18px;border:0;border-radius:6px;background:transparent;padding:10px 14px;font-size:12px}
.viewer-close>span{font-size:25px;line-height:1}
.viewer-stage{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:2vw;min-height:0;padding:20px 0 0;touch-action:pan-y}
.viewer-stage figure{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;height:100%;min-height:0;min-width:0;margin:0}
.viewer-frame{position:relative;grid-row:1;min-width:0;min-height:0}
.gallery-viewer .viewer-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.viewer-error{position:absolute;bottom:42px;left:50%;transform:translateX(-50%);background:#161616e8;color:white;border-radius:7px;padding:8px 12px;text-align:center;font-size:12px}
.viewer-error:empty{display:none}
.viewer-stage button:disabled{visibility:hidden}
.viewer-caption{grid-row:2;font-size:12px;color:#aaa;text-align:center;padding:12px 10px 0;min-height:32px;line-height:1.4}
.viewer-thumbs{display:flex;align-items:center;justify-content:safe center;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#555 transparent;padding:12px 0}
.gallery-viewer .viewer-thumb{width:76px;height:54px;min-width:76px;min-height:54px;padding:3px;border-radius:5px;border:1px solid transparent;background:none;overflow:hidden;opacity:.52}
.gallery-viewer .viewer-thumb[aria-current=true]{border-color:#ff6cbf;opacity:1}
.viewer-thumb img{width:100%;height:100%;object-fit:cover;border-radius:2px}
@keyframes viewer-in{from{opacity:0}to{opacity:1}}
@media(max-width:1024px){.project-collection{grid-template-columns:minmax(220px,32%) minmax(0,1fr);gap:3vw}.project-collection .project-story{top:var(--gallery-sticky-top,95px)}.gallery-filters button{padding:9px 10px;font-size:10px}.collection-gallery{gap:20px 10px}.gallery-shot figcaption>span:last-child{display:none}}
@media(max-width:700px){.project-collection{display:block}.project-collection .project-story{position:static;max-height:none;overflow:visible;padding:0;margin-bottom:30px}.project-collection .project-story h1{font-size:42px}.project-collection .project-story>p:not(.project-lead){font-size:14px}.project-collection .story-bottom{padding-top:24px}.gallery-navigation{padding-top:18px;margin-top:12px}.gallery-filters button{min-height:44px;font-size:11px;padding:11px 13px}.collection-gallery{gap:22px 10px}.collection-gallery .gallery-shot img{aspect-ratio:1.5}.collection-gallery .gallery-shot figcaption{font-size:11px;line-height:1.35}.gallery-zoom{right:8px;bottom:8px;padding:7px 9px;font-size:10px;opacity:1;transform:none}.gallery-viewer{padding:0 14px}.gallery-viewer[open]{grid-template-rows:64px minmax(0,1fr) 88px}.viewer-bar{gap:8px;font-size:12px}.viewer-bar .viewer-close{gap:8px;padding:8px;font-size:11px}.viewer-stage{position:relative;grid-template-columns:minmax(0,1fr);padding-top:14px;gap:0}.viewer-stage figure{padding-bottom:48px}.viewer-prev,.viewer-next{position:absolute;bottom:0;z-index:2}.viewer-prev{left:calc(50% - 54px)}.viewer-next{right:calc(50% - 54px)}.viewer-caption{font-size:11px}.viewer-thumbs{justify-content:flex-start}.gallery-viewer .viewer-thumb{width:66px;min-width:66px;height:48px;min-height:48px}}
@media(max-width:380px){.collection-gallery{grid-template-columns:minmax(0,1fr)}.collection-gallery .gallery-lead{grid-column:auto}.gallery-shot figcaption>span:last-child{display:block}.viewer-bar{font-size:11px}}
@media(min-width:701px) and (max-height:740px){
 .project-collection .project-story>.concept-label,.project-collection .project-tags,.project-collection .gallery-hint{display:none}
 .project-collection .project-story h1{font-size:clamp(30px,3vw,42px);margin-bottom:14px}
 .project-collection .project-story>p{margin-bottom:12px}
 .project-collection .project-story>p:not(.project-lead){font-size:12px;line-height:1.45}
 .project-collection .project-lead{font-size:17px}
 .project-collection .gallery-navigation{margin-top:6px;padding-top:14px}
 .project-collection .gallery-status{margin-bottom:10px}
 .project-collection .gallery-filters button{padding:9px 10px;font-size:11px}
 .project-collection .story-bottom{padding-top:18px;gap:14px}
}
@media(prefers-reduced-motion:reduce){.gallery-viewer[open]{animation:none}.gallery-open img,.gallery-zoom,.gallery-viewer .viewer-image{transition:none}}

.motion-paused .gallery-viewer[open]{animation:none}
.motion-paused :is(.gallery-open img,.gallery-zoom){transition:none}
