/* Local proposal: existing type, paper, images and artwork text are retained. */
.polished-work main{scroll-margin-top:20px}
.polished-work .work-opening{margin:0 0 28px}
.polished-work .work-opening h1,.polished-work .page-heading h1{font-size:clamp(40px,5.4vw,68px);line-height:1.08;max-width:1000px;margin:0 0 16px;overflow-wrap:break-word}
.polished-work .work-opening .subtitle{margin:0;font-size:14px;line-height:1.6}
.polished-work .hero{margin-bottom:24px}
.polished-work .statement{max-width:760px}
.polished-work .hero-hint[role=button]{width:max-content;max-width:100%;min-height:44px;display:flex;align-items:center;margin:0 0 20px}
.polished-work .hero-hint[role=button]:focus-visible{outline:2px solid currentColor;outline-offset:5px}
.image-viewer-link{display:block;position:relative;color:inherit;text-decoration:none;cursor:zoom-in;min-width:0}
.image-viewer-link:focus-visible{outline:2px solid #20201d;outline-offset:5px}
.image-viewer-link img{display:block}
.image-viewer-link>.open-image-label{position:absolute;right:8px;top:8px;width:40px;height:40px;display:grid;place-items:center;background:rgba(255,255,255,.9);color:#20201d;border:1px solid rgba(32,32,29,.25);font-size:0;line-height:1;pointer-events:none}
.image-viewer-link>.open-image-label::after{content:'⤢';font:19px/1 Georgia,serif}
.hero>.image-viewer-link{margin-top:4px}
.unified-work-navigation{display:grid!important;grid-template-columns:1fr auto 1fr;gap:16px!important;align-items:center;max-width:1120px;margin:48px auto 0!important;padding:22px 0!important;border-top:1px solid #d9d9cf;font:15px/1.5 Fraunces,Georgia,serif}
.unified-work-navigation a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:5px}
.unified-work-navigation .next-work{justify-self:end;text-align:right}
.unified-work-navigation .all-works{grid-column:2;grid-row:1}
.unified-work-navigation .previous-work{grid-column:1;grid-row:1}
.unified-work-navigation .next-work{grid-column:3;grid-row:1}
.unified-work-navigation .method-link{grid-column:1/-1;font-size:13px;justify-self:start}
.image-failure-note{margin:8px 0;font:14px/1.6 Fraunces,Georgia,serif;color:#505048}
.image-unavailable{outline:1px solid #b8b8ad;outline-offset:-1px}

/* Native dialog inspection UI; source downloads remain separate from display loading. */
.image-viewer{box-sizing:border-box;width:min(1180px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 20px);overflow:auto;margin:auto;padding:14px 18px;background:white;color:#20201d;border:1px solid #77776e;font:14px/1.5 Fraunces,Georgia,serif}
.image-viewer::backdrop{background:rgba(15,15,13,.88)}.image-viewer [hidden]{display:none!important}
.viewer-toolbar{display:grid;grid-template-columns:minmax(0,1fr) repeat(5,minmax(52px,auto));align-items:center;gap:8px;margin-bottom:12px;position:sticky;top:0;z-index:2;background:white}
.viewer-toolbar button,.viewer-toolbar a{box-sizing:border-box;min-width:44px;min-height:44px;padding:6px 10px;background:transparent;color:inherit;border:1px solid #b8b8ad;border-radius:0;font:14px/1.1 Fraunces,Georgia,serif;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;gap:5px}
.viewer-toolbar button:disabled{opacity:.35;cursor:default}.viewer-count{min-width:0;font-size:13px}.viewer-icon{font-size:18px}.viewer-control-label{display:block;font-size:13px;white-space:nowrap}.viewer-toolbar :focus-visible,.viewer-stage:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.image-viewer .viewer-stage{position:relative;display:grid;place-items:center;height:auto;min-height:100px;max-height:65dvh;overflow:auto;overscroll-behavior:contain;touch-action:pan-y pinch-zoom;background:transparent}
.image-viewer .viewer-stage img{display:block;max-width:100%;max-height:min(65dvh,calc(100dvh - 230px));width:auto;height:auto;margin:auto}
.image-viewer .viewer-stage.is-zoomed{display:block;height:60dvh;min-height:120px;max-height:none;cursor:grab;touch-action:none}
.image-viewer .viewer-stage.is-zoomed img{max-width:none;max-height:none;user-select:none;pointer-events:none}.viewer-stage.is-dragging{cursor:grabbing}
.viewer-status{margin:0 0 8px;font-size:13px;color:#57574f;min-height:20px}.viewer-pan-hint{margin:8px 0 0;font-size:13px;color:#57574f}.viewer-caption{margin:12px 0 4px;max-width:900px;font-size:14px;line-height:1.5}.viewer-metadata{font-size:13px;color:#57574f;margin:4px 0;overflow-wrap:anywhere}.viewer-error{padding:24px;line-height:1.6}
@media(max-width:600px){.image-viewer{width:calc(100vw - 12px);padding:10px;max-height:calc(100dvh - 12px)}.viewer-toolbar{gap:4px;grid-template-columns:minmax(0,1fr) repeat(5,44px)}.viewer-toolbar button,.viewer-toolbar a{padding:4px 2px;flex-direction:column;gap:0}.viewer-control-label{font-size:13px}.viewer-icon{font-size:17px}.image-viewer .viewer-stage img{max-height:calc(100dvh - 280px)}.image-viewer .viewer-stage.is-zoomed{height:50dvh;min-height:120px}.viewer-caption{font-size:13px}}
@media(max-width:360px){.viewer-toolbar{grid-template-columns:repeat(4,minmax(44px,1fr));grid-template-areas:'count count count close' 'previous next zoom download'}.viewer-count{grid-area:count}.viewer-close{grid-area:close}.viewer-previous{grid-area:previous}.viewer-next{grid-area:next}.viewer-zoom{grid-area:zoom}.viewer-download{grid-area:download}}
@media(min-width:600px) and (max-height:500px) and (orientation:landscape){.image-viewer{max-height:calc(100dvh - 8px);padding:6px 10px}.viewer-toolbar{margin-bottom:6px}.image-viewer .viewer-stage img{max-height:calc(100dvh - 160px)}.image-viewer .viewer-stage.is-zoomed{height:calc(100dvh - 160px);min-height:80px}.viewer-caption{margin-top:6px}.viewer-status{margin:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.image-viewer *{scroll-behavior:auto}}
