.gallery-frame{min-width:0;margin:0}.gallery-frame .photo-frame{content-visibility:visible;contain-intrinsic-size:none;position:relative}.gallery-frame img{object-fit:contain;background:0 0;width:100%;height:auto;max-height:78vh;display:block}.gallery-frame figcaption{color:var(--paper-soft,#596452);padding-top:.8rem;font-size:.9rem;line-height:1.5}.gallery-caption{white-space:pre-wrap;text-transform:none;font:inherit;margin:0}.gallery-frame figcaption small{color:var(--muted,#596452);margin-top:.35rem;display:block}.photo-frame .expand-hint{color:#f4f0e7;text-transform:none;background:#18201ddd;padding:.35rem .6rem;font:.7rem/1.4 Arial,sans-serif;position:absolute;bottom:.6rem;right:.6rem}.photo-grid--journal{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:2.5rem 1.5rem;padding-block:1rem 3rem;display:grid}.photo-grid--journal>.gallery-frame:only-child{grid-column:1/-1;width:100%;max-width:1000px;margin-inline:auto}.photo-grid--archive{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:1.5rem;padding-block:1rem 3rem;display:grid}.photo-grid--archive .gallery-frame img{max-height:360px}@media (width>=1101px){.photo-grid--archive{grid-template-columns:repeat(4,minmax(0,1fr))}}.gallery-view-nav{flex-wrap:wrap;gap:.75rem 1.5rem;margin:1rem 0;font-size:.9rem;display:flex}.gallery-view-nav [aria-current]{font-weight:700;text-decoration-thickness:2px}.photo-viewer[open]{color:#eee9dd;background:#111614;border:1px solid #3a4640;grid-template-rows:auto minmax(0,1fr);width:min(96vw,1800px);height:96dvh;max-height:96dvh;padding:0;display:grid}.photo-viewer::backdrop{background:#030605ed}.photo-viewer .viewer-bar{border-bottom:1px solid #3a4640;justify-content:space-between;align-items:center;gap:1rem;min-height:60px;padding:.6rem 1rem;display:flex}.photo-viewer .viewer-bar p{color:#eee9dd;white-space:pre-wrap;text-transform:none;max-height:25dvh;margin:0;font:.9rem/1.5 Arial,sans-serif;overflow:auto}.photo-viewer .viewer-actions{flex-shrink:0;gap:.5rem;display:flex}.photo-viewer button{cursor:pointer;color:#eee9dd;background:#202a26;border:1px solid #3a4640;min-width:44px;min-height:44px;padding:.5rem}.photo-viewer .viewer-stage{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem;height:auto;min-height:0;padding:.75rem;display:grid;position:relative}.photo-viewer .viewer-stage button{position:static}.photo-viewer .viewer-image-wrap{width:100%;min-width:0;height:100%;min-height:0;overflow:hidden}.photo-viewer .viewer-stage img{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:100%}.photo-viewer .viewer-image-wrap.is-zoomed{overflow:auto}.photo-viewer .viewer-image-wrap.is-zoomed img{width:auto;max-width:none;height:auto;max-height:none}.photo-viewer :focus-visible{outline-offset:3px;outline:3px solid #d6d39a}@media (width<=680px){.photo-grid--journal{grid-template-columns:1fr;gap:2rem}.photo-grid--archive{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem .8rem}.photo-grid--archive .gallery-frame figcaption{font-size:.8rem}.photo-viewer[open]{border:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh}.photo-viewer .viewer-bar{align-items:flex-start;gap:.5rem;padding:.6rem}.photo-viewer .viewer-actions{gap:.3rem}.photo-viewer .viewer-actions button{font-size:.75rem}.photo-viewer .viewer-stage{padding:.4rem;display:block}.photo-viewer .viewer-stage button{z-index:2;position:absolute;bottom:.75rem}.photo-viewer [data-viewer-previous]{left:.75rem}.photo-viewer [data-viewer-next]{right:.75rem}}.gallery-page .gallery-intro{gap:2rem;min-height:0;padding-block:2rem 1rem}.gallery-page .gallery-intro h1{font-size:clamp(2.5rem,6vw,5rem)}.gallery-page .gallery-status{min-height:0;padding-block:1rem}.photography-collections{grid-template-columns:repeat(2,minmax(0,1fr));gap:3rem 2rem;padding-block:2rem 5rem;display:grid}.photography-collection{min-width:0}.photography-collection>a{text-decoration:none;display:block}.photography-collection img{object-fit:contain;background:var(--bg-deep);width:100%;height:auto;display:block}.photography-collection h3{margin:1rem 0}.photography-collection p{color:var(--paper-soft);max-width:60ch}.japan-photography-feature{grid-template-columns:1.35fr 1fr;align-items:center;gap:3rem;padding-bottom:5rem;display:grid}.japan-feature-image img{object-fit:contain;width:100%;height:auto;max-height:650px}.japan-photography-feature .text-link{margin-top:1.2rem;display:block}@media (width<=680px){.photography-collections,.japan-photography-feature{grid-template-columns:1fr;gap:2rem}.archive-page>.page-intro{padding-block:2rem}.japan-photography-feature{padding-bottom:3rem}}.gallery-frame .photo-frame{min-width:0;max-width:100%;color:inherit;cursor:zoom-in;text-decoration:none;display:block}.gallery-location-picker{margin:1rem 0;font-size:.9rem}.gallery-location-picker summary{cursor:pointer}.gallery-page .breadcrumb{padding-block:1rem}.gallery-page .gallery-intro{gap:1rem;padding-block:1.5rem 1rem}.gallery-page .gallery-intro>p{margin:0}.gallery-page .gallery-status{flex-direction:row;align-items:baseline}.gallery-page .photo-grid{row-gap:1.5rem}.photo-grid>.album-location:first-child{margin-top:0}.archive-page>.page-intro{min-height:0;padding-block:2.5rem 2rem}.archive-page>.page-intro h1{max-width:19ch;font-size:clamp(2.4rem,4.8vw,4.5rem)}.archive-page>.page-intro .eyebrow{margin-bottom:1.5rem}.viewer-image-wrap{touch-action:pan-y pinch-zoom}.viewer-image-wrap.is-zoomed{touch-action:pan-x pan-y pinch-zoom}
