.gallery-filters{display:flex;gap:8px;flex-wrap:wrap;margin:30px 0 12px}.gallery-filters button{font:inherit;color:#30352B;background:transparent;border:1px solid #b8ad9c;border-radius:24px;padding:12px 20px;min-height:48px;cursor:pointer}.gallery-filters button[aria-pressed=true]{background:#30352B;color:#FAF7EF;border-color:#30352B}.gallery-filters button:hover{border-color:#30352B}.gallery-count{font-size:14px;color:#626557;margin:0 0 26px}.haven-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}.haven-gallery figure{margin:0}.haven-gallery figure[hidden]{display:none}.photo-open{display:block;width:100%;background:none;border:0;padding:0;cursor:zoom-in}.photo-open img{display:block;width:100%;height:320px;object-fit:cover}.haven-gallery figcaption{font-family:'Haven Serif',serif;font-size:27px;margin-top:12px}.photo-dialog{width:min(1120px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:24px;border:0;border-radius:12px;background:#FAF7EF;color:#30352B;overflow:auto}.photo-dialog::backdrop{background:rgba(22,28,23,.86)}.photo-dialog-top,.photo-dialog-bottom,.photo-meta{display:flex;align-items:center;justify-content:space-between;gap:16px}.photo-dialog-top h2{font-family:'Haven Serif',serif;font-size:34px;margin:0}.photo-dialog button,.photo-save{background:transparent;border:1px solid #b8ad9c;border-radius:24px;min-height:48px;padding:12px 20px;font:inherit;color:#30352B;cursor:pointer}.photo-full{display:block;width:100%;max-height:65dvh;object-fit:contain;margin:16px 0}.photo-position{font-size:14px;margin:0}.photo-meta{margin-top:18px}.photo-provenance{font-size:13px;max-width:45ch;margin:0}.photo-save{font-size:14px;white-space:nowrap;text-decoration:none}.photo-dialog button:disabled{opacity:.5;cursor:default}.photo-dialog:focus-visible,.photo-open:focus-visible,.gallery-filters button:focus-visible,.photo-dialog button:focus-visible,.photo-save:focus-visible{outline:3px solid #4F5B3A;outline-offset:4px}body.photo-is-open{overflow:hidden}@media(max-width:800px){.haven-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}.photo-open img{height:250px}.gallery-filters{gap:8px}.gallery-filters button{padding:10px 16px}.photo-dialog{padding:16px}.photo-dialog-top h2{font-size:28px}.photo-provenance{max-width:30ch}.photo-meta{align-items:flex-start}}@media(max-width:480px){.haven-gallery{grid-template-columns:1fr}.photo-open img{height:auto;aspect-ratio:3/2}.photo-meta{flex-direction:column;gap:12px}.photo-dialog-bottom{gap:8px}.photo-dialog button{padding:12px 16px}.haven-gallery figcaption{font-size:26px}}
