.work-exhibit{position:relative;margin:0 auto;max-width:1500px;}
.exhibit-nav{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:4px 0 20px;}
.exhibit-nav button{border:1px solid #82b6d22e;border-radius:30px;background:#0a1a29a8;color:#86a4ba;font:11px/1.5 Arial,sans-serif;padding:9px 15px;cursor:pointer;}
.exhibit-nav button[aria-pressed=true]{color:#e4f7ff;border-color:#9bdbf58c;background:#28516a66;}
#project-grid.exhibit-stage{display:block;position:relative;height:clamp(380px,48vw,530px);perspective:1300px;overflow:hidden;touch-action:pan-y;cursor:grab;isolation:isolate;}
#project-grid.exhibit-stage:before{content:'';position:absolute;inset:20% 10% 0;background:radial-gradient(ellipse,#4e9ec528,transparent 65%);pointer-events:none;}
#project-grid.exhibit-stage:focus-visible{outline:1px solid #97daef;border-radius:18px;outline-offset:5px;}
#project-grid.is-dragging{cursor:grabbing;}
.exhibit-stage .project-card,.exhibit-stage .project-card.is-featured,.exhibit-stage .project-card.is-compact{position:absolute;left:50%;top:46%;width:clamp(245px,29vw,355px);height:clamp(335px,39vw,455px);display:block;grid-column:auto;border-radius:20px;background:#102334;border:1px solid #9dcfe84a;box-shadow:0 22px 55px #0008;will-change:transform;transition:border-color .25s;user-select:none;transform-origin:center;}
.exhibit-stage .project-card:hover{border-color:#c7edffb0;}
.exhibit-stage .project-card.is-current{border-color:#a4def2a6;}
.exhibit-stage .project-media,.exhibit-stage .project-card.is-compact .project-media{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;border:0;}
.exhibit-stage .project-media img,.exhibit-stage .project-card.is-featured .project-media img{object-fit:cover;object-position:top center;padding:0;background:#122c40;pointer-events:none;}
.exhibit-stage .project-media:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 35%,#07121bc9 76%,#050d17fa);pointer-events:none;}
.exhibit-stage .project-cover-label{top:16px;bottom:auto;font-size:8px;z-index:2;}
.exhibit-stage .project-card-body,.exhibit-stage .project-card.is-compact .project-card-body{position:absolute;bottom:0;left:0;right:0;padding:22px;z-index:2;pointer-events:none;}
.exhibit-stage .project-card h3{font-size:24px;line-height:1.15;color:white;margin:8px 0 0;text-shadow:0 2px 10px #0009;}
.exhibit-stage .project-card-top{font-size:8px;}
.exhibit-stage .project-state,.exhibit-stage .project-question,.exhibit-stage .project-contribution,.exhibit-stage .project-card-tags,.exhibit-stage .project-card-actions{display:none;}
.exhibit-stage .project-concept{height:100%;aspect-ratio:auto;min-height:0;padding:40px;background:radial-gradient(ellipse at 90% 10%,#36566c,#0b1725 75%);}
.exhibit-stage .project-concept b{font-size:75px;color:#e4c371;}
.exhibit-controls{display:flex;justify-content:center;align-items:center;gap:20px;position:relative;margin:-6px 0 24px;color:#9abbcd;}
.exhibit-controls button{width:43px;height:43px;border:1px solid #7cacc74f;border-radius:50%;background:#102a3b9c;color:#c5e7f6;font-size:19px;cursor:pointer;}
.exhibit-controls span{font:11px Consolas,monospace;letter-spacing:2px;min-width:64px;text-align:center;}
.exhibit-controls small{position:absolute;top:52px;font:9px/1.6 Consolas,monospace;letter-spacing:1px;white-space:nowrap;color:#7898ad;}
.exhibit-info{margin:48px auto 0;max-width:800px;border-top:1px solid #7cacc72d;}
.exhibit-info .project-card-body{padding:24px 0 5px;display:grid;grid-template-columns:1fr 1fr;gap:12px 40px;}
.exhibit-info .project-card-top{grid-column:1/-1;}
.exhibit-info h3{font:500 28px/1.2 Arial,sans-serif;margin:0;letter-spacing:-1px;color:#e9f7ff;grid-column:1;}
.exhibit-info .project-question{font-size:13px;grid-column:1;}
.exhibit-info .project-contribution{grid-column:2;grid-row:2/4;font-size:12px;line-height:1.8;}
.exhibit-info .project-card-tags{grid-column:1;margin:0;}
.exhibit-info .project-card-actions{grid-column:2;grid-row:4;}
.exhibit-nav button:focus-visible,.exhibit-controls button:focus-visible{outline:2px solid #a1e4fb;outline-offset:3px;}
@media(max-width:760px){
 #work .portfolio-heading p{max-width:310px;}
 .exhibit-nav{gap:6px;margin:0 0 10px;}.exhibit-nav button{font-size:9px;padding:8px 10px;}
 #project-grid.exhibit-stage{height:410px;width:calc(100% + 10vw);margin-left:-5vw;}
 .exhibit-stage .project-card,.exhibit-stage .project-card.is-featured,.exhibit-stage .project-card.is-compact{width:min(68vw,300px);height:345px;top:47%;border-radius:17px;}
 .exhibit-stage .project-card h3{font-size:23px;}.exhibit-stage .project-card-body{padding:20px;}
 .exhibit-info .project-card-body{display:flex;gap:15px;padding-top:22px;}.exhibit-info h3{font-size:27px;}
 .exhibit-info .project-question,.exhibit-info .project-contribution{margin:0;}.exhibit-info .project-card-actions{gap:22px;}
}
@media(prefers-reduced-motion:reduce){.exhibit-stage .project-card{will-change:auto;}}

@media(min-width:761px){
 #project-grid.exhibit-stage{height:clamp(350px,52dvh,530px);}
 .exhibit-stage .project-card,.exhibit-stage .project-card.is-featured,.exhibit-stage .project-card.is-compact{width:clamp(245px,min(29vw,37dvh),355px);height:clamp(310px,48dvh,455px);}
}
.exhibit-stage .project-media img,.exhibit-stage .project-card.is-featured .project-media img{object-fit:contain;object-position:center 28%;height:78%;padding:12px;background:none;}
.exhibit-stage .project-media{background:linear-gradient(#142f45,#081827);}
.exhibit-stage [data-project=bay] .project-media{background:linear-gradient(#dce9f1 0%,#bed3e0 55%,#0a1b2b 90%);}
.exhibit-stage [data-project=cleaner] .project-media{background:linear-gradient(#11171d,#102537);}
