.work-collections{display:flex;justify-content:flex-end;gap:24px;margin:12px 0 24px;font:14px/1.5 var(--mono)}
.work-collections a{padding:10px 0;color:var(--muted);text-decoration:none}
.work-collections a[aria-current]{color:var(--ink);text-decoration:underline;text-underline-offset:6px}
.work-collections a:hover{color:var(--ink)}
#tian-coverflow-live .photography-page{width:calc(100vw - 80px);max-width:none;margin-left:calc((100% - (100vw - 80px))/2);padding-top:8px}
.photography-page .page-heading{padding-top:12px}
.photography-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px;list-style:none;margin:0;padding:0}
.photography-grid>li{position:relative;min-width:0;aspect-ratio:1}
.photography-grid>li:has(:hover),.photography-grid>li:has(:focus-visible){z-index:3}
.photo-open{display:block;width:100%;height:100%;aspect-ratio:1;position:relative;text-decoration:none;transform-origin:center;transition:transform 230ms cubic-bezier(.2,.8,.2,1)}
.photo-open>img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:cover;object-position:center;border-radius:var(--image-radius,24px);corner-shape:superellipse(1.6)}
.photo-open:focus-visible{transform:scale(1.065);outline:2px solid var(--red);outline-offset:4px;border-radius:var(--image-radius)}
@media(hover:hover){.photo-open:hover{transform:scale(1.065)}}
@media(max-width:900px){#tian-coverflow-live .photography-page{width:calc(100vw - 48px);margin-left:calc((100% - (100vw - 48px))/2)}}
@media(max-width:560px){#tian-coverflow-live .photography-page{width:calc(100vw - 24px);margin-left:calc((100% - (100vw - 24px))/2)}.photography-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}#tian-coverflow-live[data-input="pointer"] .photo-open:focus{outline:none}}
@media(prefers-reduced-motion:reduce){.photo-open{transition:none}.photo-open:hover,.photo-open:focus-visible{transform:none}}
.photo-viewer{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;padding:20px 28px;background:var(--paper,#f5f4ef);color:var(--ink);box-sizing:border-box}
.photo-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:16px}
.photo-viewer::backdrop{background:rgba(0,0,0,.6)}
.photo-viewer-bar,.photo-viewer-controls{display:flex;align-items:center;justify-content:space-between;gap:24px}
.photo-position{margin:0;font:14px/1.5 var(--mono)}
.photo-viewer button{background:none;border:0;color:inherit;padding:10px 8px;min-height:44px;font:14px/1.5 var(--mono);cursor:pointer}
.photo-viewport{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:hidden;touch-action:none;outline:none}
.photo-is-transitioning .photo-viewport{overflow:visible;z-index:1}
.photo-viewport:focus-visible{outline:2px solid var(--red,#a43d34);outline-offset:2px}
.photo-large{display:block;max-width:none;max-height:none;flex:none;object-fit:contain;transform-origin:center;user-select:none;-webkit-user-select:none;cursor:zoom-in}
.photo-is-zoomed .photo-large{cursor:grab}
.photo-is-dragging.photo-is-zoomed .photo-large{cursor:grabbing}
.photo-viewer-controls .photo-zoom{color:var(--red,#a43d34);min-width:72px}
.photo-viewer-controls button{white-space:nowrap}
@media(prefers-reduced-motion:reduce){.photo-viewer *{scroll-behavior:auto}}
.profile-links{display:flex;flex-wrap:wrap;gap:8px 24px}
.profile-links a{display:inline-flex;align-items:center;min-height:44px;font:14px/1.5 var(--mono);color:var(--muted);text-underline-offset:4px}
.about-photography{margin-top:24px}
.site-footer{flex-wrap:wrap}
.site-footer .footer-credit{white-space:nowrap;flex-shrink:0}
.site-footer .profile-links{margin-left:auto}
.site-footer .footer-tools{margin-left:12px}
.project-gallery .gallery-views .gallery-photos{font:14px/1.5 var(--mono);margin-right:24px;padding:10px 0;color:var(--muted)}
@media(max-width:600px){.photo-viewer{padding:12px 16px}.photo-viewer-controls{gap:8px}.work-collections{gap:20px;margin:4px 0 16px}.site-footer .profile-links{order:3;width:100%;margin-left:0}.site-footer .footer-tools{margin-left:auto}}
