/* Progressive enhancement: without JS this remains a horizontal photo strip. */
.fan-gallery{max-width:1160px;margin:0 auto}.fan-stage{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;padding:20px}.fan-card{user-select:none;-webkit-user-drag:none;display:block;flex:0 0 340px;scroll-snap-align:center;background:#faf9f6;padding:12px;border-radius:18px;text-decoration:none;outline-offset:5px}.fan-card img{display:block;width:100%;height:470px;object-fit:contain;border-radius:10px;user-select:none;-webkit-user-drag:none}.fan-controls,.fan-hint{display:none}.fan-ready .fan-stage{position:relative;display:block;height:650px;overflow:hidden;padding:0;scroll-snap-type:none;touch-action:pan-y pinch-zoom;isolation:isolate}.fan-ready .fan-card{position:absolute;top:40px;left:50%;width:386px;height:526px;padding:12px;transform-origin:50% 85%;box-shadow:0 16px 32px #16120b18;will-change:transform;cursor:pointer;-webkit-tap-highlight-color:transparent;backface-visibility:hidden}.fan-ready .fan-card img{width:100%;height:100%;pointer-events:none}.fan-ready .fan-card.is-active{cursor:grab}.fan-ready .fan-card.is-active:active{cursor:grabbing}.fan-ready .fan-controls{display:flex;align-items:center;justify-content:space-between;max-width:700px;margin:0 auto;gap:24px;padding:0 8px}.fan-caption{font-size:21px;font-weight:600;line-height:1.3;margin:0}.fan-count{display:block;font-size:13px;color:#73716d;margin-top:8px;font-variant-numeric:tabular-nums}.fan-arrows{display:flex;gap:10px;flex-shrink:0}.fan-arrows button{width:54px;height:54px;border:0;border-radius:50%;background:#171717;color:white;font-size:24px;display:grid;place-items:center;transition:background 180ms ease,transform 160ms cubic-bezier(.23,1,.32,1)}.fan-arrows button:active{transform:scale(.94)}.fan-ready .fan-hint{display:block;font-size:13px;color:#77736d;text-align:center;margin:28px 0 0}.fan-card:focus-visible{outline:3px solid #e94035;outline-offset:5px}.fan-arrows button:focus-visible{outline:3px solid #e94035;outline-offset:4px}.work{overflow:hidden}.work .section-top{margin-bottom:24px}
@media(hover:hover) and (pointer:fine){.fan-arrows button:hover{background:#e94035}}
@media(max-width:760px){.fan-ready .fan-stage{height:470px;margin-inline:-16px}.fan-ready .fan-card{width:min(68vw,310px);height:min(92vw,420px);top:30px;padding:9px;border-radius:14px}.fan-card img{border-radius:8px}.fan-ready .fan-controls{padding:0 6px;gap:16px}.fan-caption{font-size:17px;max-width:230px}.fan-arrows{gap:8px}.fan-arrows button{width:46px;height:46px;font-size:22px}.fan-ready .fan-hint{font-size:12px;margin:22px auto 0;max-width:290px}.fan-card{flex-basis:80vw}.fan-card img{height:390px}}
@media(max-width:410px){.fan-ready .fan-stage{height:420px}.fan-caption{max-width:205px}.fan-ready .fan-card{top:24px}}
@media(prefers-reduced-motion:reduce){.fan-ready .fan-card,.fan-arrows button{transition:none!important}}
.motion-lite .fan-ready .fan-card { box-shadow: none; will-change: auto; }
.lightbox img { display: block; touch-action: pan-y pinch-zoom; }
dialog.lightbox img { max-height: min(78vh, 78dvh); }
.lightbox-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 6px; color: white; }
.lightbox-nav button { min-width: 44px; min-height: 44px; border: 0; border-radius: 50%; background: #272727; color: white; font-size: 22px; }
.lightbox-count { min-width: 5ch; text-align: center; font-variant-numeric: tabular-nums; }
