.photo-link{position:relative;display:block;min-width:0;overflow:hidden;border-radius:4px;background:#e7e4dc;isolation:isolate}
.photo-link img{display:block;width:100%;transition:transform .45s ease}
.photo-link:hover img{transform:scale(1.025)}
.photo-link:focus-visible{outline:3px solid #9c752d;outline-offset:4px}
.photo-link-zoom{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#173d34c9;color:#fff;line-height:1;font-size:18px;pointer-events:none}
.home-photo-section{border-top:1px solid var(--line);padding-top:62px;padding-bottom:66px}
.home-photo-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:27px}
.home-photo-heading h2{font-size:clamp(34px,3.8vw,48px);margin:15px 0 0}
.home-photo-heading>p{font-size:14px;color:var(--muted);max-width:320px;margin:0 0 2px}
.home-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.home-photo-grid img{aspect-ratio:1.48;object-fit:cover}
.detail-cover-link{align-self:start}
.detail-gallery .photo-link img{height:100%}
.detail-gallery{align-items:start}
.detail-gallery .photo-link-portrait{background:#ece9e1;align-self:start}
.detail-gallery .photo-link-portrait img{aspect-ratio:auto;height:auto;object-fit:contain}
.photo-viewer{position:fixed;inset:0;width:min(1280px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:8px;background:#102c25;color:#fff;box-shadow:0 18px 80px #0008;overflow:visible}
.photo-viewer::backdrop{background:#061b16ed;backdrop-filter:blur(6px)}
.photo-viewer [hidden]{display:none!important}
.photo-viewer-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 12px 8px 20px;min-height:60px}
.photo-viewer-caption{margin:0;font-size:14px;line-height:1.4;font-weight:400}
.photo-viewer button{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #ffffff45;border-radius:50%;background:#173d34;color:#fff;font-size:24px;line-height:1;cursor:pointer}
.photo-viewer button:hover{background:#315b4d}
.photo-viewer button:focus-visible{outline:3px solid #e4c58a;outline-offset:3px}
.photo-viewer-body{position:relative;display:grid;place-items:center;background:#061b16;min-height:120px}
.photo-viewer-image{width:auto;max-width:100%;height:auto;max-height:calc(100dvh - 165px);object-fit:contain}
.photo-viewer-bottom{display:flex;align-items:center;justify-content:center;gap:22px;padding:10px 18px}
.photo-viewer-count{min-width:56px;text-align:center;font-size:13px;color:#e3e9e4}
.photo-viewer-error{padding:20px;text-align:center;font-size:14px}
@media(max-width:700px){.home-photo-section{padding-top:42px;padding-bottom:46px}.home-photo-heading{display:block;margin-bottom:23px}.home-photo-heading h2{font-size:36px}.home-photo-heading>p{margin:16px 0 0;max-width:none}.home-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.photo-link-zoom{right:7px;bottom:7px;width:27px;height:27px;font-size:16px}.photo-viewer{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.photo-viewer-top{padding-left:13px;gap:8px}.photo-viewer-caption{font-size:12px}.photo-viewer-image{max-height:calc(100dvh - 165px)}}
@media(max-width:620px){.detail-cover-link{order:1}}
@media(prefers-reduced-motion:reduce){.photo-link img{transition:none}}
