.gallery-wrap{max-width:1200px;margin:auto;padding:48px 24px 80px}.gallery-intro{max-width:760px;margin:32px 0}.gallery-intro h1{font-family:'Bricolage Grotesque',sans-serif;font-size:clamp(2.8rem,6vw,5rem);line-height:1.05;letter-spacing:-.03em;margin:12px 0 20px}.gallery-intro p{font-size:20px;color:#5E534A}.gallery-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:32px 0}.gallery-tools [role=status]{margin-left:auto;color:#5E534A;font-size:15px}.gallery-grid{columns:3;column-gap:24px}.gallery-card{break-inside:avoid;margin:0 0 24px;background:#fff;border:1px solid #E6D9CB;border-radius:20px;overflow:hidden;box-shadow:0 6px 24px rgb(78 54 31 / .05)}.gallery-card button{display:block;width:100%;padding:0;border:0;background:none;text-align:left;font:inherit;color:inherit;cursor:pointer}.gallery-image{overflow:hidden;position:relative;background:#F1E7DC}.gallery-image img{display:block;width:100%;height:auto;transition:transform .5s ease}.gallery-card button:hover img{transform:scale(1.055)}.gallery-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px}.gallery-caption strong{font-size:16px}.gallery-caption span{color:#A85A0F;font-size:14px}.gallery-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:68px;height:68px;background:#F78E1D;color:#131A22;border-radius:50%;font-size:26px;box-shadow:0 4px 24px #0003}.gallery-card[data-kind=video] img{aspect-ratio:4/5;object-fit:cover}.gallery-card.reveal-pending{opacity:0;transform:translateY(28px)}.gallery-card.reveal-in{animation:gallery-enter .65s ease both}@keyframes gallery-enter{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}.gallery-viewer{box-sizing:border-box;border:0;border-radius:20px;padding:20px;background:#131A22;color:#fff;width:min(1100px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;font:16px/1.5 Figtree,system-ui,sans-serif}.gallery-viewer::backdrop{background:#0a121de8}.gallery-viewer-top,.gallery-viewer-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px}.gallery-viewer-top{margin-bottom:16px}.gallery-viewer h2{font-size:18px;margin:0}.gallery-viewer button{border:1px solid #ffffff50;border-radius:999px;min-width:44px;min-height:44px;padding:8px 16px;background:transparent;color:#fff;font:inherit;cursor:pointer}.gallery-viewer button:hover{background:#ffffff20}.gallery-viewer-media{display:grid;place-items:center;min-height:180px}.gallery-viewer-media img,.gallery-viewer-media video{display:block;max-width:100%;max-height:70dvh;width:auto;height:auto;border-radius:10px}.gallery-viewer-bottom{margin-top:16px}.gallery-close{font-size:24px!important}.gallery-viewer button:focus-visible{outline:3px solid #F78E1D;outline-offset:3px}@media(max-width:900px){.gallery-grid{columns:2}}@media(max-width:560px){.gallery-grid{columns:1}.gallery-wrap{padding:28px 20px 56px}.gallery-tools [role=status]{width:100%;margin-left:0}.gallery-viewer{padding:16px}.gallery-viewer-bottom{flex-wrap:wrap}.gallery-viewer h2{font-size:16px}}@media(prefers-reduced-motion:reduce){.gallery-card.reveal-pending{opacity:1;transform:none}.gallery-card.reveal-in{animation:none}.gallery-image img{transition:none}}

.gallery-caption span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.gallery-action-icon{flex:none;vertical-align:middle}

.gallery-image video{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;pointer-events:none;transition:transform .5s ease}.gallery-card button:hover video{transform:scale(1.055)}@media(prefers-reduced-motion:reduce){.gallery-image video{transition:none}}

/* Fill video rows from left to right, with three cards per desktop row. */
.gallery-grid.gallery-grid-videos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;columns:auto;align-items:start}
.gallery-grid-videos .gallery-card{min-width:0;margin:0}
.gallery-grid-videos .gallery-card[hidden]{display:none}
.gallery-grid-videos .gallery-caption{flex-wrap:wrap}
@media(max-width:900px){.gallery-grid.gallery-grid-videos{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.gallery-grid.gallery-grid-videos{grid-template-columns:minmax(0,1fr)}}
