/* Gallery: photographs first, quiet controls and one immersive viewer. */
.cms-gallery-page #cms-content-start{background:#f5f4f1!important}
.cms-gallery-page-content{max-width:1440px;padding-block:clamp(40px,6vw,88px) clamp(64px,7vw,112px);color:#161513}
.cms-gallery-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:48px}
.cms-gallery-heading h1{font-size:clamp(44px,5.5vw,76px);line-height:1.04;letter-spacing:-.025em;margin:0 0 16px;text-wrap:balance}
.cms-gallery-heading p{font-size:18px;line-height:1.6;max-width:45ch;color:#55534e;margin:0}
.cms-gallery-page .cms-filters{flex-wrap:nowrap;gap:4px;margin:0;padding:4px;background:#e6e4de;border-radius:999px;flex-shrink:0}
.cms-gallery-page .cms-filters button{border:0;border-radius:999px;min-height:44px;padding:10px 20px;font-size:15px;line-height:1.4;color:#34322d}
.cms-gallery-page .cms-filters button[aria-pressed=true]{background:#161513;color:#ffe400}
.cms-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 28px}
.cms-gallery-page .cms-media-open{border-radius:12px;isolation:isolate}
.cms-gallery-page .cms-media-open img,.cms-gallery-page .cms-video-cover{aspect-ratio:3/2}
.cms-gallery-caption{padding:16px 2px 0}
.cms-gallery-caption h2{font-size:clamp(21px,2vw,27px);line-height:1.2;letter-spacing:-.01em;margin:0}
.cms-gallery-caption p{font-size:16px;line-height:1.6;color:#55534e;max-width:60ch;margin:8px 0 0}
.cms-media-expand{position:absolute;right:14px;bottom:14px;width:40px;height:40px;display:grid;place-items:center;background:rgba(22,21,19,.9);color:#fff;border-radius:50%;pointer-events:none}
.cms-media-expand svg{width:20px;height:20px}
#gallery-empty{padding:64px 0;text-align:center;font-size:18px;color:#55534e}
.cms-gallery-page ::selection{background:#ffe400;color:#161513}
.cms-gallery-page #cms-lightbox{inset:0;margin:0;width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:100dvh;border:0;padding:0;background:#11110f;color:#fff;overflow:hidden}
.cms-gallery-page #cms-lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
#cms-lightbox::backdrop{background:#11110f}
.cms-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;min-height:72px;padding:12px clamp(16px,3vw,48px);gap:16px}
.cms-viewer-toolbar p{font-size:16px;font-weight:600;letter-spacing:.01em;margin:0;color:#dedcd5}
.cms-viewer-toolbar .cms-lightbox-close{position:static;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#302e29;flex:none}
.cms-gallery-page #lightbox-media{min-height:0;height:100%;padding:0 64px}
.cms-viewer-carousel .cms-carousel-frame,.cms-viewer-carousel .cms-carousel-track,.cms-viewer-carousel .cms-slide,.cms-viewer-carousel figure{height:100%;min-height:0}
.cms-viewer-carousel .cms-slide{padding:0 12px}
.cms-viewer-carousel figure{margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.cms-gallery-page #lightbox-media img,.cms-gallery-page #lightbox-media video{display:block;width:100%;height:100%;max-height:100%;max-width:100%;object-fit:contain;user-select:none}
.cms-viewer-carousel .cms-carousel-controls button{display:grid;place-items:center;top:50%;width:44px;height:52px;background:#302e29;border:0;box-shadow:none;border-radius:8px}
.cms-viewer-carousel .cms-carousel-controls [data-step="-1"]{left:16px}.cms-viewer-carousel .cms-carousel-controls [data-step="1"]{right:16px}
.cms-viewer-caption{padding:24px clamp(24px,5vw,76px) 32px;max-height:30dvh;overflow:auto;scrollbar-color:#736f64 #11110f;scrollbar-width:thin}
.cms-viewer-caption #lightbox-title{font:400 clamp(22px,2.2vw,30px)/1.2 var(--head-fontFamily),sans-serif;margin:0;letter-spacing:-.01em}
.cms-viewer-caption #lightbox-description{font-size:16px;line-height:1.5;color:#c8c5bc;margin:8px 0 0;max-width:70ch}
.cms-viewer-caption #lightbox-description:empty{display:none}
.cms-viewer-caption .cms-media-state{color:#ffe400;margin:12px 0 0}
@media(hover:hover) and (pointer:fine){.cms-gallery-page .cms-media-open:hover .cms-media-expand,.cms-viewer-toolbar button:hover,.cms-viewer-carousel .cms-carousel-controls button:hover{background:#47443c}.cms-gallery-page .cms-filters button:not([aria-pressed=true]):hover{background:#d7d4cc}}
@media(max-width:767px){.cms-gallery-heading{align-items:flex-start;flex-direction:column;gap:24px;margin-bottom:28px}.cms-gallery-heading p{font-size:16px}.cms-gallery-grid{gap:28px 20px}.cms-gallery-caption{padding-top:12px}.cms-gallery-page #lightbox-media{padding-inline:0}.cms-viewer-carousel .cms-slide{padding-inline:8px}.cms-viewer-carousel .cms-carousel-controls button{width:44px;height:48px;background:rgba(22,21,19,.94)}.cms-viewer-carousel .cms-carousel-controls [data-step="-1"]{left:12px}.cms-viewer-carousel .cms-carousel-controls [data-step="1"]{right:12px}.cms-viewer-toolbar{min-height:64px}.cms-viewer-caption{padding:20px 20px max(24px,env(safe-area-inset-bottom))}}
@media(max-width:599px){.cms-gallery-grid{grid-template-columns:minmax(0,1fr);gap:28px}.cms-gallery-page .cms-filters{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.cms-gallery-page .cms-filters button{padding-inline:8px}.cms-gallery-caption h2{font-size:23px}.cms-gallery-page .cms-media-open img,.cms-gallery-page .cms-video-cover{aspect-ratio:4/3}}
@media(prefers-contrast:more){.cms-media-expand,.cms-viewer-toolbar .cms-lightbox-close,.cms-viewer-carousel .cms-carousel-controls button{background:#161513;outline:1px solid white}.cms-gallery-page .cms-filters{outline:1px solid #161513}}
@media(prefers-reduced-transparency:reduce){.cms-media-expand,.cms-viewer-carousel .cms-carousel-controls button{background:#161513}}
