/* Compact gallery shelf, not a full-screen project carousel. */
.project-shelf{padding:clamp(40px,5vw,72px) 7vw 48px;overflow:hidden;background:linear-gradient(180deg,#fff 0%,#fbf9f5 100%)}
.shelf-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:8px}.shelf-heading h2{font-family:var(--display);font-size:clamp(36px,4vw,58px);line-height:1;letter-spacing:-.065em;margin:10px 0 0}.shelf-heading h2 em{color:#b64a00;font-style:normal}.shelf-heading>a{white-space:nowrap;margin-bottom:3px}
.shelf-wrap{position:relative;isolation:isolate}.shelf-floor{position:absolute;bottom:52px;left:0;right:0;height:42px;border-radius:50%;z-index:-1;background:radial-gradient(ellipse,#a3754838 0%,#e7d7c94d 40%,transparent 72%);filter:blur(8px)}
.shelf-rail{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(260px,25.7vw,380px);gap:clamp(15px,2vw,29px);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-left:12px;padding:34px 12px 15px;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y;cursor:grab;align-items:end}.shelf-rail::-webkit-scrollbar{display:none}.shelf-rail.dragging{scroll-snap-type:none;cursor:grabbing;user-select:none}.shelf-item{min-width:0;scroll-snap-align:start;perspective:1000px}.shelf-link{display:block;cursor:pointer;user-select:none;-webkit-user-drag:none}.shelf-screen{aspect-ratio:16/10;display:flex;align-items:center;justify-content:center;position:relative;transform:translateY(calc(-1 * var(--rise))) rotateY(var(--lean)) rotateZ(calc(var(--lean) * .18));transform-origin:center bottom;transition:transform .35s cubic-bezier(.2,.75,.25,1),filter .3s;border-radius:12px;border:1px solid #d5cbc0;background:#f6f4ef;box-shadow:0 3px 1px #c4bbb0,0 15px 23px #41251124;overflow:hidden}.shelf-screen img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.shelf-item:nth-child(n+3) .shelf-screen{border:0;background:transparent;box-shadow:none;filter:drop-shadow(0 13px 11px #36231028)}.shelf-link:hover .shelf-screen,.shelf-link:focus-visible .shelf-screen{transform:translateY(-17px) rotateY(0) rotateZ(0);filter:drop-shadow(0 12px 10px #4c280b16)}.shelf-label{display:flex;justify-content:space-between;gap:5px;align-items:center;padding:14px 1px 0}.shelf-label h3{font-size:clamp(15px,1.35vw,20px);line-height:1.15;letter-spacing:-.035em;margin:0 0 5px}.shelf-label div>span{font-size:10px;letter-spacing:.04em;color:#6a625a}.shelf-open{color:#a64600;font-size:19px}.shelf-controls{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ded7ce;padding-top:10px;margin-top:1px}.shelf-controls #project-count{font-size:11px;color:#67615b;letter-spacing:.13em}.shelf-controls .showcase-actions{display:flex;align-items:center;gap:9px}.shelf-controls .showcase-actions button{width:38px;height:38px}.shelf-controls .showcase-actions span{font-size:11px}
@media(max-width:760px){.project-shelf{padding:44px 5vw 30px}.shelf-heading{gap:8px}.shelf-heading h2{font-size:34px}.shelf-heading>a{font-size:11px}.shelf-rail{grid-auto-columns:72%;gap:17px;padding:28px 8px 15px;scroll-padding-left:8px}.shelf-label{padding-top:11px}.shelf-screen{border-radius:8px}.shelf-label h3{font-size:16px}.shelf-controls .showcase-actions button{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.shelf-screen{transition:none;transform:none}.shelf-link:hover .shelf-screen,.shelf-link:focus-visible .shelf-screen{transform:none}}
.shelf-controls .showcase-actions button span{font-size:inherit}
/* The real client screenshot retains its exact native aspect ratio. */
.shelf-item:first-child .shelf-screen{aspect-ratio:1600/737;background:#fff}.shelf-item:first-child .shelf-screen img{height:auto;max-height:100%}

/* V14: consistent desktop presentation aspect. */
.shelf-item:first-child .shelf-screen{aspect-ratio:16/10;background:#eee4d9;border:0}.shelf-item:first-child .shelf-screen img{width:100%;height:100%;max-height:none;object-fit:contain}
