.project-header{gap:24px}.project-header nav{flex-wrap:wrap;justify-content:flex-end}.project-header .header-brand{flex-shrink:0}
.collection-main{padding-top:clamp(32px,5vw,64px);padding-bottom:var(--section-space)}
.collection-back{display:inline-flex;align-items:center;gap:12px;color:var(--muted);font-size:.875rem;padding:8px 0}
.collection-back:hover{color:var(--gold)}
.collection-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin:36px 0}
.collection-heading .eyebrow{color:var(--gold);margin-bottom:16px}
.collection-heading h1{font-size:clamp(2rem,4.2vw,4rem);font-weight:600;letter-spacing:-.045em;line-height:1.2;max-width:1000px;overflow-wrap:break-word}
.collection-count{color:var(--muted);font-size:.8rem;white-space:nowrap;flex-shrink:0}
.collection-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:36px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.collection-nav a{display:flex;gap:10px;align-items:center;border:1px solid var(--line);padding:10px 14px;font-size:.875rem;line-height:1.5}
.collection-nav a span{color:var(--muted);font-size:.75rem}
.collection-nav a:hover{border-color:var(--gold);color:var(--gold)}
.collection-nav a[aria-current=page]{background:var(--gold);border-color:var(--gold);color:#111}
.collection-nav a[aria-current=page] span{color:#413311}
.collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px}
.collection-card{min-width:0}
.collection-cover{position:relative;display:block;width:100%;aspect-ratio:1.28;background:#1a1a18;border:1px solid var(--line);overflow:hidden;padding:0;color:var(--ink)}
button.collection-cover{cursor:zoom-in}
.collection-cover>img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
button.collection-cover:hover>img{transform:scale(1.04)}
.collection-cover .cover-open{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;width:34px;height:34px;border:1px solid #ffffff55;background:#111d;color:var(--gold)}
.collection-placeholder{display:grid;place-items:center;border-style:dashed;background:linear-gradient(145deg,#1c1c19,#141412)}
.placeholder-index{position:absolute;top:14px;left:16px;color:#939087;font-size:.75rem;letter-spacing:.12em}
.placeholder-icon{width:68px;height:68px;color:#79766e;flex-shrink:0;object-fit:contain}
.collection-cover>img.placeholder-logo{width:min(48%,180px);height:auto;max-width:180px;max-height:68px;object-fit:contain}
.placeholder-label{color:#a4a198;font-size:.875rem;line-height:1.5;text-align:center;padding-inline:14px}
.video-collection .collection-cover{aspect-ratio:16/9}
.video-collection .placeholder-icon{width:68px;height:68px;color:#79766e}
.collection-card figcaption{padding-top:15px}
.collection-card h2{font-size:1rem;font-weight:500;letter-spacing:0;line-height:1.5;margin:0 0 5px;overflow-wrap:break-word}
.collection-card figcaption p{font-size:.8rem;line-height:1.6;color:var(--muted)}
.collection-placeholder-card h2{color:#c1beb5}
.collection-footer{border-top:1px solid var(--line);padding:24px 0 32px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:var(--muted);font-size:.875rem}
.collection-footer a:hover{color:var(--gold)}
.work-heading{justify-content:space-between;flex-wrap:wrap}.work-heading h3{margin-right:auto}.collection-link{font-size:.875rem;color:var(--gold);display:inline-flex;gap:10px;align-items:center;white-space:nowrap}.collection-link:hover{text-decoration:underline;text-underline-offset:4px}
.ai-section .collection-link{margin-top:20px}
.project-player,.project-embed{display:block;width:100%;max-height:78dvh;background:#000}.project-embed-shell{position:relative;width:100%;max-height:78dvh;aspect-ratio:16/9;background:#000;overflow:hidden}.project-embed-shell[hidden]{display:none}.project-embed{width:calc(100% + 96px);height:calc(100% + 54px);max-width:none;max-height:none;aspect-ratio:auto;border:0}.project-player[hidden]{display:none}
@media(max-width:1199px){.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.collection-heading{align-items:start;flex-direction:column;gap:16px}}
@media(max-width:899px){.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.collection-nav a{font-size:.8rem;padding:9px 12px}}
@media(max-width:479px){.collection-grid{grid-template-columns:minmax(0,1fr)}.project-header{align-items:flex-start;flex-direction:column;padding-block:20px;gap:20px}.project-header nav{width:100%;justify-content:space-between;gap:12px}.collection-heading{margin:28px 0}.collection-nav{gap:8px}.collection-nav a{flex:1 1 calc(50% - 8px);font-size:.8rem}.collection-back{font-size:.8rem}.work-heading .collection-link{white-space:normal}}

.collection-card figcaption .project-description{font-size:1rem;line-height:1.7;margin-top:12px;color:var(--muted);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
button.collection-cover[data-video],button.collection-cover[data-embed]{cursor:pointer}

.dialog-toolbar>div:first-child{min-width:0}.image-position{color:var(--muted);font-size:.75rem!important;margin-top:3px}.dialog-gesture-hint{display:none;color:var(--muted);font-size:.7rem!important;margin-top:4px}.dialog-actions{display:flex;align-items:center;gap:8px}.dialog-image-wrap{position:relative;display:flex;align-items:center;justify-content:center;min-height:50dvh;max-height:66dvh;overflow:auto;overscroll-behavior:contain;background:#0c0c0b;padding:24px}.dialog-image-wrap img{width:auto;max-width:100%;max-height:60dvh;object-fit:contain;transform-origin:center;transition:transform .18s ease}.image-nav{position:sticky;top:50%;z-index:1;flex:0 0 auto;width:42px;height:42px;border:1px solid #ffffff44;background:#111d;color:#fff;cursor:pointer;font-size:1.25rem}.previous-image{margin-right:14px}.next-image{margin-left:14px}.image-thumbnails{display:flex;gap:8px;overflow:auto;overscroll-behavior-inline:contain;padding:14px 24px 20px;background:#121211;border-top:1px solid var(--line)}.image-thumbnail{flex:0 0 70px;width:70px;height:52px;padding:0;border:1px solid transparent;background:#222;cursor:pointer;overflow:hidden}.image-thumbnail img{display:block;width:100%;height:100%;object-fit:cover}.image-thumbnail[aria-current=true]{border:2px solid var(--gold)}
@media(max-width:600px){dialog{width:100vw;max-width:100vw;max-height:100dvh;min-height:100dvh;border-radius:0}.dialog-toolbar{gap:8px;padding:12px 16px}.dialog-toolbar>div:first-child{max-width:calc(100vw - 172px)}.dialog-gesture-hint{display:block}.dialog-actions{gap:4px}.dialog-toolbar .dialog-actions button{min-width:42px;min-height:42px;padding:8px}.dialog-toolbar #close-dialog,.dialog-toolbar #close-video{min-width:auto;padding-inline:11px}.dialog-image-wrap{min-height:calc(100dvh - 160px);max-height:calc(100dvh - 160px);padding:8px 0;touch-action:pan-y pinch-zoom}.dialog-image-wrap img{max-width:100%;max-height:calc(100dvh - 180px)}.image-nav{display:none}.previous-image,.next-image{margin:0}.image-thumbnails{gap:8px;padding:10px 16px 14px;scroll-snap-type:x proximity}.image-thumbnail{flex-basis:64px;width:64px;height:48px;scroll-snap-align:start}.project-player,.project-embed,.project-embed-shell{max-height:calc(100dvh - 72px)}.project-player{min-height:calc(100dvh - 72px);object-fit:contain}.project-embed-shell{height:calc(100dvh - 72px);aspect-ratio:auto}.project-embed{height:100%;aspect-ratio:auto}}

@media(max-width:600px){.collection-nav{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}.collection-nav::-webkit-scrollbar{display:none}.collection-nav a{flex:0 0 auto;white-space:nowrap;scroll-snap-align:start}}
