.work-gallery{width:100%;min-width:0;margin:0;color:var(--ink)}
.work-gallery-viewport{width:100%;aspect-ratio:1676/939;overflow:hidden;position:relative;touch-action:pan-y pinch-zoom;outline-offset:4px}
.work-gallery-viewport:focus-visible{outline:2px solid #547ba5}
.work-gallery-track{display:flex;width:100%;height:100%;align-items:center;will-change:transform}
.work-gallery-slide{display:block;flex:0 0 100%;width:100%;height:100%;min-width:0;outline-offset:-4px;-webkit-user-drag:none;user-select:none}
.work-gallery-slide img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-drag:none;user-select:none}
.work-gallery-dragging,.work-gallery-dragging .work-gallery-slide{cursor:grabbing}
.work-gallery-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:12px}
.work-gallery-count{font-size:10px;line-height:1.5;letter-spacing:.07em;font-variant-numeric:tabular-nums;color:var(--muted)}
.work-gallery-controls{display:flex;align-items:center;gap:8px}
.work-gallery-control{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid var(--line);border-radius:50%;background:white;color:var(--ink);font-size:13px;line-height:1;cursor:pointer;touch-action:manipulation}
.work-gallery-control:hover{background:var(--soft)}
.work-gallery-control svg{width:14px;height:14px}
.work-gallery-control:focus-visible{outline:2px solid #547ba5;outline-offset:3px}
@media(max-width:700px){.work-gallery-footer{margin-top:10px}.work-gallery-controls{gap:7px}.work-gallery-count{font-size:9px}.work-gallery-control{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){.work-gallery-track{transition:none!important;will-change:auto}}
