/* Shared MEDIA design for the home gallery and the media catalogue. */
.photo-gallery-section{--gallery-ink:#10120d;--gallery-lime:#d9f751;--gallery-paper:#f7f5ef;color:var(--gallery-ink);background:var(--gallery-paper);padding:0 0 clamp(64px,6vw,116px)}
.gallery-wrap{width:min(1810px,calc(100% - 6vw));margin-inline:auto}
.gallery-hero{background:var(--gallery-paper);padding:clamp(54px,5.2vw,100px) 0 clamp(36px,3.1vw,60px)}
.gallery-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px}
.gallery-heading .gallery-title{flex-shrink:0;margin:0;color:var(--gallery-ink);font-size:clamp(112px,11.8vw,226px);font-weight:920;line-height:.82;letter-spacing:-.075em}
.gallery-heading .gallery-title>span{color:inherit}
.gallery-tagline{margin:0 0 .05em;font-size:clamp(23px,2.65vw,51px);font-weight:800;line-height:1.24;letter-spacing:-.055em;word-break:keep-all;text-wrap:balance}
.gallery-content{padding-top:clamp(35px,3.5vw,67px)}
.gallery-group-context{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 28px;padding-bottom:20px;border-bottom:1px solid #cacbc5}
.gallery-group-context p{margin:0;font-size:22px;font-weight:750;letter-spacing:-.04em}
.gallery-group-context a{font-size:14px;text-decoration:underline;text-underline-offset:5px}
.gallery-group-context[hidden],.gallery-filters button[hidden]{display:none}
.gallery-filters{display:flex;align-items:stretch;justify-content:space-between;gap:clamp(6px,.75vw,15px);flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#c8c9bd transparent;border-bottom:1px solid #c8cbc8;padding:0 0 16px;margin:0 0 clamp(40px,4.7vw,90px);scroll-padding-inline:12px}
.gallery-filters button{appearance:none;position:relative;flex-shrink:0;font-family:inherit;border:0;border-radius:0;padding:6px clamp(10px,.85vw,16px) 10px;min-height:50px;background:transparent;color:var(--gallery-ink);font-size:clamp(16px,1.36vw,26px);line-height:1.3;font-weight:750;letter-spacing:-.05em;white-space:nowrap;cursor:pointer;transition:background .2s ease,color .2s ease}
.gallery-filters button::after{content:"";position:absolute;bottom:0;left:0;right:0;height:4px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .24s cubic-bezier(.22,1,.36,1)}
.gallery-filters button[aria-pressed=true]{background:var(--gallery-lime);color:var(--gallery-ink)}
.gallery-filters button[aria-pressed=true]::after{transform:scaleX(1)}
.gallery-filters button:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
@media(hover:hover){.gallery-filters button:hover{background:#e9efce}.gallery-filters button[aria-pressed=true]:hover{background:var(--gallery-lime)}}
.photo-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,1.35vw,26px)}
.gallery-photo{display:block;position:relative;padding:0;margin:0;border:0;border-radius:clamp(24px,2vw,40px);overflow:hidden;aspect-ratio:1;background:#eeede7;min-width:0;isolation:isolate;cursor:zoom-in}
.gallery-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:none;transition:transform .55s cubic-bezier(.22,1,.36,1)}
@media(hover:hover){.gallery-photo:hover img{transform:scale(1.035)}}
.gallery-photo:focus-visible{outline:3px solid #10120d;outline-offset:5px}
.gallery-more-wrap{display:flex;justify-content:center;align-items:center;gap:32px;flex-wrap:wrap;margin-top:44px}
.gallery-more{display:flex;gap:36px;align-items:center;justify-content:center;min-height:49px;padding:12px 26px;margin:0;background:transparent;color:var(--gallery-ink);border:1px solid #10120d;border-radius:0;font-family:inherit;font-size:15px;font-weight:700;cursor:pointer;transition:background .2s ease}
.gallery-more:hover{background:var(--gallery-lime)}
.gallery-more span{font-size:23px;font-weight:400;line-height:1}
.gallery-all-link{font-size:15px;font-weight:700;display:flex;gap:14px;align-items:center;white-space:nowrap;text-underline-offset:5px}
.gallery-all-link:hover{text-decoration:underline}
.gallery-all-link span{font-size:23px;font-weight:400;transition:transform .2s ease}
.gallery-all-link:hover span{transform:translate(2px,-2px)}
.gallery-more[hidden],.gallery-lightbox button[hidden]{display:none}
.gallery-sr-only{position:absolute!important;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
body.gallery-modal-open{overflow:hidden}
.gallery-lightbox{padding:0;margin:auto;max-width:100vw;max-height:100dvh;width:100vw;height:100dvh;background:rgba(10,15,24,.97);border:0;color:white;overflow:hidden}
.gallery-lightbox::backdrop{background:rgba(10,15,24,.9)}
.gallery-lightbox-inner{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:72px 92px;position:relative}
.gallery-lightbox-image{display:block;width:100%;height:100%;object-fit:contain;filter:none;user-select:none}
.gallery-lightbox button{position:absolute;width:48px;height:48px;padding:12px;border:1px solid #ffffff35;background:#ffffff12;color:white;border-radius:50%;display:flex;justify-content:center;align-items:center;z-index:1}
.gallery-lightbox button:hover{background:#ffffff26}
.gallery-lightbox button:focus-visible{outline:3px solid white;outline-offset:4px}
.gallery-lightbox button svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.5;fill:none}
.gallery-lightbox-close{top:24px;right:28px}
.gallery-lightbox-prev{left:24px;top:calc(50% - 24px)}
.gallery-lightbox-next{right:24px;top:calc(50% - 24px)}
.gallery-lightbox-count{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);font-size:13px;letter-spacing:.08em;color:#d2d8e0;font-variant-numeric:tabular-nums}
@media(max-width:1100px){.gallery-heading{gap:30px}.gallery-heading .gallery-title{font-size:clamp(110px,12vw,140px)}.gallery-tagline{max-width:390px;font-size:clamp(24px,2.9vw,32px)}.gallery-filters{justify-content:flex-start;gap:10px}.gallery-filters button{padding-inline:15px;font-size:18px}.gallery-photo{border-radius:26px}}
@media(max-width:800px){.gallery-wrap{width:calc(100% - 40px)}.gallery-hero{padding-block:48px 38px}.gallery-heading{flex-direction:column;align-items:flex-start;gap:26px}.gallery-heading .gallery-title{font-size:clamp(96px,19vw,150px)}.gallery-tagline{max-width:none;font-size:clamp(22px,3.5vw,28px)}.gallery-content{padding-top:30px}.gallery-filters{margin-bottom:36px;padding-bottom:12px;gap:8px}.gallery-filters button{min-height:44px;font-size:17px;padding:8px 14px 10px}.photo-gallery-grid{gap:14px}.gallery-photo{border-radius:22px}.gallery-more-wrap{margin-top:32px;gap:24px}.gallery-lightbox-inner{padding:70px 54px}.gallery-lightbox button{width:40px;height:40px;padding:9px}.gallery-lightbox-prev{left:8px;top:calc(50% - 20px)}.gallery-lightbox-next{right:8px;top:calc(50% - 20px)}.gallery-lightbox-close{right:16px;top:18px}}
@media(max-width:540px){.gallery-wrap{width:calc(100% - 32px)}.gallery-hero{padding-block:40px 32px}.gallery-heading{gap:23px}.gallery-heading .gallery-title{font-size:clamp(90px,21vw,114px)}.gallery-tagline{font-size:clamp(20px,5.1vw,26px);letter-spacing:-.055em}.gallery-content{padding-top:24px}.gallery-filters{margin-bottom:28px}.gallery-filters button{font-size:16px;padding-inline:13px}.photo-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gallery-photo{border-radius:18px}.gallery-group-context p{font-size:18px}.gallery-group-context a{font-size:12px}.gallery-lightbox-inner{padding:72px 10px}.gallery-lightbox-prev,.gallery-lightbox-next{top:auto;bottom:12px}.gallery-lightbox-prev{left:calc(50% - 90px)}.gallery-lightbox-next{right:calc(50% - 90px)}.gallery-lightbox-count{bottom:21px}}
@media(prefers-reduced-motion:reduce){.gallery-photo img,.gallery-filters button,.gallery-filters button::after,.gallery-more,.gallery-all-link span{transition:none!important}.gallery-photo:hover img,.gallery-all-link:hover span{transform:none}}
