.gallery{padding:44px 0 0}.gallery h2{font-size:27px;line-height:1.35;letter-spacing:-.5px;color:var(--green);margin:0 0 10px}.gallery-intro{font-size:14px;color:var(--muted);max-width:680px;margin:0 0 21px}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 16px}.photo-card{margin:0;min-width:0}.photo-link{display:block;position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:10px;background:var(--pale-green)}.photo-link img{display:block;width:100%;height:100%;object-fit:cover}.photo-zoom{position:absolute;right:9px;bottom:9px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--paper);color:var(--green);font-size:21px;line-height:1}.photo-link:hover .photo-zoom{background:var(--yellow)}.photo-card figcaption{font-size:13px;line-height:1.5;color:var(--muted);margin-top:7px}.gallery+.contact{margin-top:0}
.photo-viewer{width:min(1000px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:14px;border:0;border-radius:14px;background:var(--paper);color:var(--text);overflow:auto;box-shadow:0 20px 70px #102b2350}.photo-viewer::backdrop{background:#102b23e8}.photo-viewer-header{display:flex;align-items:center;gap:12px;margin-bottom:12px}.photo-viewer-header h2{flex:1;font-size:16px;line-height:1.4;color:var(--green);margin:0}.photo-viewer-counter{font-size:13px;color:var(--muted);margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}.photo-viewer button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:48px;min-height:48px;padding:10px 14px;border:1px solid var(--line);border-radius:7px;background:var(--pale-green);color:var(--green);font-size:14px;line-height:1.4}.photo-viewer button:hover{background:var(--pale-yellow)}.photo-viewer-figure{margin:0}.photo-viewer-image-wrap{display:flex;justify-content:center;align-items:center;min-height:100px}.photo-viewer-image{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 230px);object-fit:contain;touch-action:pan-y pinch-zoom}.photo-viewer-caption{font-size:14px;line-height:1.5;min-height:1.5em;margin:12px 0}.photo-viewer-navigation{display:flex;justify-content:space-between;gap:12px}.photo-viewer-navigation[hidden]{display:none}
@media(max-width:620px){.gallery{padding-top:34px}.gallery h2{font-size:25px}.gallery-intro{margin-bottom:17px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 12px}.photo-card figcaption{font-size:12px}.photo-viewer{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:12px;border-radius:10px}.photo-viewer-header h2{font-size:14px}.photo-viewer button{padding:10px 12px}.photo-viewer-image{max-height:calc(100dvh - 230px)}}
