.photo-gallery{max-width:var(--site-width);margin:0 auto;padding:80px 0;background:transparent}
.photo-gallery__heading{position:relative;padding-right:55px;margin-bottom:28px}
.photo-gallery__heading .eyebrow{color:var(--color-blue-dark);font-size:13px;letter-spacing:.12em}
.photo-gallery__heading .eyebrow::before{content:"";display:inline-block;width:25px;height:4px;margin:0 12px 3px 0;border-radius:4px;background:var(--color-yellow)}
.photo-gallery__heading h2{color:var(--color-title);margin:0 0 14px;font-size:clamp(32px,4vw,48px)}
.photo-gallery__heading>p:last-of-type{color:var(--color-text);margin:0}
.photo-gallery__flower{position:absolute;right:0;top:32px;font-size:58px;color:var(--color-yellow);line-height:1;transform:rotate(12deg)}
.photo-gallery__mosaic{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.photo-gallery__mosaic>.gallery-tile:first-child,.photo-gallery__mosaic>.gallery-media:first-child{grid-column:span 2;grid-row:span 2}
.photo-gallery__mosaic>.gallery-media{aspect-ratio:1;border-radius:24px}
.gallery-tile{position:relative;min-width:0;aspect-ratio:1;isolation:isolate}
.gallery-media{position:relative;width:100%;height:100%;min-height:0;overflow:hidden;border-radius:22px;background:#e3eee9}
.gallery-media img{width:100%;height:100%;display:block;object-fit:cover;opacity:0;transition:opacity .18s}
.gallery-media.is-loaded img{opacity:1}
.gallery-media.is-loading::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(100deg,transparent 20%,#ffffff85 50%,transparent 80%);transform:translateX(-100%);animation:gallery-shimmer 1.6s ease-in-out infinite}
.gallery-photo-button{position:absolute;inset:0;width:100%;padding:0;border:0;border-radius:22px;background:transparent;color:#fff;cursor:pointer}
.gallery-photo-button:hover{background:#153f3617}
.gallery-photo-button:focus-visible{outline:3px solid var(--color-orange);outline-offset:3px}
.gallery-expand{position:absolute;bottom:12px;right:12px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fffef4ee;color:var(--color-ink);font-size:20px}
.gallery-all-overlay{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:12px;background:#153f368a;text-align:center;font-weight:800;font-size:clamp(14px,2vw,24px)}
.gallery-all-overlay:hover{background:#153f36ad}
.gallery-all-overlay{z-index:4}
.gallery-all-overlay small{font-weight:600;font-size:13px}
.photo-gallery__note{color:var(--color-text);font-size:13px;margin:20px 0 0}
.gallery-error{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:12px;text-align:center;background:#e3eee9;color:var(--color-ink);font-size:13px;line-height:1.4;border-radius:inherit}
.gallery-retry,.gallery-back{min-height:44px;border:0;padding:10px 18px;border-radius:12px;background:var(--color-mint);color:var(--color-ink);font:800 14px/1.3 "Nunito",Arial,sans-serif;cursor:pointer}
.gallery-retry{background:#fff}
.gallery-dialog{padding:0;border:0;border-radius:28px;width:min(1100px,calc(100% - 48px));max-width:none;height:min(850px,calc(100dvh - 64px));max-height:calc(100dvh - 64px);background:#fff;color:var(--color-title);overflow:hidden}
.gallery-dialog::backdrop{background:#102f28b8;backdrop-filter:blur(4px)}
.gallery-dialog:not([open]){display:none}
.gallery-dialog--fallback[open]{position:fixed;inset:0;z-index:10000;margin:auto;box-shadow:0 0 0 100vmax #102f28b8}
.gallery-dialog__panel{display:flex;flex-direction:column;height:100%;min-height:0}
.gallery-dialog__header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 28px;border-bottom:1px solid #153f3614;flex-shrink:0}
.gallery-dialog__header h2{font-size:28px;line-height:1.2;margin:0 0 5px}
.gallery-dialog__header p{font-size:13px;color:var(--color-text);margin:0}
.gallery-dialog-meta{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;color:var(--color-text)}
.gallery-control{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;padding:0;border:0;border-radius:50%;background:var(--color-mint);color:var(--color-ink);font-size:25px;cursor:pointer}
.gallery-control:disabled{opacity:.35;cursor:default}
.gallery-grid-view{display:flex;flex-direction:column;min-height:0;flex:1}
.gallery-albums-view{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 28px 28px}
.gallery-albums{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.gallery-album-card{position:relative;min-width:0;border-radius:18px;background:#f3f7f5}
.gallery-album-cover{aspect-ratio:12/5;overflow:hidden;border-radius:18px 18px 0 0}
.gallery-album-cover .gallery-media{border-radius:0}
.gallery-album-caption{display:flex;flex-direction:column;gap:4px;padding:16px 20px}
.gallery-album-caption strong{font-size:22px;line-height:1.25;color:var(--color-title)}
.gallery-album-meta{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;color:var(--color-text)}
.gallery-album-button{position:absolute;inset:0;border:0;border-radius:18px;background:transparent;cursor:pointer}
.gallery-album-button:hover{background:#153f360a}
.gallery-album-button:focus-visible{outline:3px solid var(--color-orange);outline-offset:-4px}
.gallery-albums-back{align-self:flex-start;flex-shrink:0;min-height:44px;margin:8px 24px 0;padding:8px 12px;border:0;border-radius:10px;background:transparent;color:var(--color-ink);font:700 14px/1.3 "Nunito",Arial,sans-serif;cursor:pointer}
.gallery-albums-back:hover{background:var(--color-mint)}
.gallery-albums-back:focus-visible{outline:2px solid var(--color-orange);outline-offset:-2px}
.gallery-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;overflow-anchor:none;padding:12px 24px 18px;scrollbar-gutter:stable}
.gallery-grid{position:relative;width:100%;min-height:1px}
.gallery-row{position:absolute;left:0;right:0;display:grid;gap:12px}
.gallery-row .gallery-tile{aspect-ratio:4/3;height:100%}
.gallery-row .gallery-media,.gallery-row .gallery-photo-button{border-radius:14px}
.gallery-viewer{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;min-height:0;gap:12px;padding:56px 0 0;color:#fff}
.gallery-back{position:absolute;top:0;left:0}
.gallery-viewer__photo{display:flex;justify-content:center;align-items:center;min-height:0;flex:0 1 auto;position:relative;width:100%}
.gallery-viewer__photo .gallery-media{width:min(100%,calc(var(--viewer-photo-height) * var(--gallery-photo-ratio,1.5)));height:auto;aspect-ratio:var(--gallery-photo-ratio,1.5);max-height:100%;background:transparent;border-radius:2px}
.gallery-viewer__photo .gallery-media.is-loading{background:#ffffff12}
.gallery-viewer__photo .gallery-error{background:#25272a;color:#fff}
.gallery-viewer__photo img{object-fit:contain}
.gallery-viewer__controls{display:flex;align-items:center;justify-content:center;gap:24px;flex-shrink:0}
.gallery-viewer__controls>span{min-width:80px;text-align:center;font-variant-numeric:tabular-nums;font-size:14px}
.gallery-dialog [hidden],.photo-gallery [hidden]{display:none!important}
html.gallery-open{overflow:hidden;scrollbar-gutter:stable}
@keyframes gallery-shimmer{to{transform:translateX(100%)}}
@media(max-width:600px){.photo-gallery{padding:48px 0}.photo-gallery__mosaic{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.photo-gallery__mosaic>.gallery-tile:first-child,.photo-gallery__mosaic>.gallery-media:first-child{grid-column:span 2;grid-row:span 1;aspect-ratio:1.7}.photo-gallery__heading{padding-right:30px}.photo-gallery__flower{font-size:36px;right:0;top:36px}.photo-gallery__heading .eyebrow{font-size:10px}.gallery-media,.gallery-photo-button{border-radius:18px}.gallery-all-overlay{font-size:17px}.gallery-dialog{width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.gallery-dialog__header{padding:16px}.gallery-dialog__header h2{font-size:24px}.gallery-scroll{padding:12px}.gallery-viewer{padding:14px 12px max(14px,env(safe-area-inset-bottom))}.gallery-row{gap:12px}.gallery-error{font-size:12px;padding:8px;gap:4px}.gallery-error .gallery-retry{padding:8px 12px}.gallery-dialog__header{padding-top:max(16px,env(safe-area-inset-top))}}
@media(prefers-reduced-motion:reduce){.gallery-media.is-loading::before{animation:none;transform:none;background:#ffffff25}.gallery-media img{transition:none}}
@media(max-width:600px){html.gallery-open{scrollbar-gutter:auto}}
@media(max-width:600px){.gallery-albums-view{padding:16px}.gallery-albums{grid-template-columns:1fr;gap:16px}.gallery-album-cover{aspect-ratio:2/1}.gallery-album-caption{padding:14px 16px}.gallery-album-caption strong{font-size:20px}.gallery-albums-back{margin-left:12px}.gallery-dialog__header>div{min-width:0}.gallery-dialog__header h2{overflow-wrap:anywhere}}

/* A single photo floats directly over the backdrop; the grid keeps its white panel. */
.gallery-dialog--photo{--viewer-top:16px;--viewer-bottom:16px;--viewer-photo-height:calc(100dvh - var(--viewer-top) - var(--viewer-bottom) - 112px);width:min(1440px,calc(100% - 48px));height:calc(100dvh - var(--viewer-top) - var(--viewer-bottom));max-height:none;margin:auto;border-radius:0;background:transparent;color:#fff}
.gallery-dialog--photo::backdrop{background:#111418f5;backdrop-filter:blur(8px)}
.gallery-dialog--photo.gallery-dialog--fallback[open]{box-shadow:0 0 0 100vmax #111418f5}
.gallery-dialog--photo .gallery-dialog__header{position:absolute;top:0;right:0;z-index:2;padding:0;border:0}
.gallery-dialog--photo .gallery-dialog__header>div{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.gallery-dialog--photo .gallery-control,.gallery-dialog--photo .gallery-back{height:44px;min-height:44px;background:#ffffff12;color:#fff;border:1px solid #ffffff20}
.gallery-dialog--photo .gallery-control{width:44px}
.gallery-dialog--photo .gallery-back{border-radius:10px;font-weight:700}
.gallery-dialog--photo .gallery-back::before{content:'←';margin-right:10px}
.gallery-dialog--photo .gallery-control:hover:not(:disabled),.gallery-dialog--photo .gallery-back:hover{background:#ffffff24}
.gallery-dialog--photo button:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.gallery-dialog--photo .gallery-viewer__controls{gap:16px}
@media(max-width:600px){.gallery-dialog--photo{--viewer-top:max(12px,env(safe-area-inset-top));--viewer-bottom:max(12px,env(safe-area-inset-bottom));width:calc(100% - 24px)}.gallery-dialog--photo .gallery-viewer{padding:56px 0 0}}
