/* Gallery: one photo size and the diagonal lag/tilt rhythm of Elastic Grid Scroll 5. */
body:has(.gp-page) .rc-header{background:#ffffffed;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.gp-page{background:#fff;color:#20282d;overflow:clip}
.gp-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:25px;padding:155px 6vw 25px max(6vw,var(--rc-copy-left,6vw))}
.gp-heading .dp-section-label{font-size:11px;margin:0 0 12px}
.gp-heading h1{font-size:clamp(29px,3vw,42px);line-height:1.65;font-weight:700;letter-spacing:.03em;margin:0}
.gp-heading>div>p:last-child{font-size:13px;line-height:1.9;color:#687f8d;margin-top:15px}
.gp-photo-count{display:flex;align-items:baseline;gap:8px;color:#12324e;padding-bottom:4px}
.gp-photo-count strong{font:500 33px/1 Arial,sans-serif}.gp-photo-count span{font:10px/1.6 Arial,sans-serif;letter-spacing:.09em}
.gp-grid{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:clamp(18px,2.7vw,50px);row-gap:58px;padding:58px 5vw 130px;align-items:start}
.gp-tile{margin:0;min-width:0;transform-origin:50% 50%;will-change:transform}
.gp-grid.gp-ready .gp-tile{opacity:0;transition:opacity .5s ease}
.gp-grid.gp-ready .gp-tile.is-visible{opacity:1}
.gp-photo-button{display:block;width:100%;aspect-ratio:4/5;padding:0;border:0;border-radius:5px;background:#e6eef3;overflow:hidden;cursor:zoom-in}
.gp-photo-button img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.65,.3,1)}
.gp-photo-button:hover img{transform:scale(1.04)}
.gp-photo-button:active img{transform:scale(1.015)}
.gp-photo-button:focus-visible{outline:3px solid #eb7e00;outline-offset:5px}
.gp-viewer{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;padding:0;margin:0;border:0;border-radius:0;background:transparent;color:#fff;box-shadow:none;overflow:hidden}
.gp-viewer::backdrop{background:#0c2032c9;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);animation:gp-backdrop-in .48s ease both}
.gp-viewer.is-closing::backdrop{animation:gp-backdrop-out .42s ease both}
@keyframes gp-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes gp-backdrop-out{from{opacity:1}to{opacity:0}}
.gp-viewer[open]{display:flex;align-items:center;justify-content:center}
.gp-viewer-figure{display:flex;align-items:center;justify-content:center;width:100%;height:100%;margin:0;padding:0;pointer-events:none}
.gp-viewer-photo{display:block;flex:none;padding:0;border:0;border-radius:16px;background:transparent;line-height:0;cursor:zoom-out;pointer-events:auto;transform-origin:center;box-shadow:0 16px 65px #06131f66}
.gp-viewer-photo img{display:block;width:auto;height:auto;max-width:min(1120px,calc(100vw - 136px));max-height:calc(100dvh - 88px);border-radius:16px;object-fit:contain;opacity:1;animation:none!important;transition:opacity .18s}
.gp-viewer-photo img.is-loading{opacity:0}
.gp-viewer-close{position:absolute;z-index:2;top:18px;right:22px;display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #ffffff88;border-radius:50%;background:#10253640;color:#fff;font:29px/1 Arial,sans-serif;cursor:pointer;transition:background .2s,transform .2s}
.gp-viewer-close:hover{background:#ffffff30;transform:rotate(90deg)}
.gp-viewer-nav{position:absolute;inset:0;pointer-events:none}
.gp-viewer-nav button{position:absolute;top:50%;display:grid;place-items:center;width:43px;height:43px;padding:0;border:1px solid #ffffff88;border-radius:50%;background:#10253640;color:#fff;cursor:pointer;pointer-events:auto;transform:translateY(-50%);transition:background .2s}
.gp-viewer-nav [data-gp-prev]{left:18px}.gp-viewer-nav [data-gp-next]{right:18px}
.gp-viewer-nav button:hover{background:#ffffff30}
.gp-viewer.is-opening :is(.gp-viewer-close,.gp-viewer-nav){animation:gp-controls-in .3s ease .2s backwards}
.gp-viewer.is-closing :is(.gp-viewer-close,.gp-viewer-nav){opacity:0;transition:opacity .18s;pointer-events:none}
@keyframes gp-controls-in{from{opacity:0}to{opacity:1}}
.gp-viewer button:focus-visible{outline:3px solid #eb7e00;outline-offset:4px}
.rc-gallery-link{display:block;flex:none;color:inherit;text-decoration:none}
.rc-gallery-link:focus-visible{outline:3px solid #eb7e00;outline-offset:-6px}
@media(min-width:1600px){.gp-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(min-width:701px) and (max-width:1000px){.gp-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:45px 28px}.gp-heading{padding-top:145px}}
@media(max-width:700px){.gp-heading{grid-template-columns:1fr auto;gap:13px;padding:111px 23px 13px}.gp-heading h1{font-size:27px}.gp-heading>div>p:last-child{font-size:11px;line-height:1.9;margin-top:12px}.gp-photo-count{display:block;align-self:start;padding-top:32px}.gp-photo-count strong{font-size:26px}.gp-photo-count span{display:block;font-size:8px;margin-top:5px}.gp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 18px;padding:40px 23px 85px}.gp-viewer-photo,.gp-viewer-photo img{border-radius:12px}.gp-viewer-photo img{max-width:calc(100vw - 32px);max-height:calc(100dvh - 132px)}.gp-viewer-close{top:14px;right:16px;width:38px;height:38px}.gp-viewer-nav button{top:auto;bottom:17px;transform:none;width:40px;height:40px}.gp-viewer-nav [data-gp-prev]{left:calc(50% - 50px)}.gp-viewer-nav [data-gp-next]{right:calc(50% - 50px)}}
@media(prefers-reduced-motion:reduce){.gp-tile,.gp-photo-button img,.gp-viewer::backdrop,.gp-viewer[open],.gp-viewer button,.gp-viewer-nav{animation:none!important;transition:none!important}.gp-grid.gp-ready .gp-tile{opacity:1;transform:none!important}}
.rc-motion-paused .gp-viewer::backdrop,.rc-motion-paused .gp-viewer :is(button,nav){animation:none!important;transition:none!important}

/* Touch targets and inset clearance for mobile photo controls. */
@media(max-width:700px){
 .gp-viewer-close{width:44px;height:44px;top:calc(14px + env(safe-area-inset-top))}
 .gp-viewer-nav button{width:44px;height:44px;bottom:calc(17px + env(safe-area-inset-bottom))}
}

/* Preserve the desktop viewer control proportions on mobile. */
@media(max-width:700px){
 .gp-viewer-close{width:42px;height:42px}
 .gp-viewer-nav button{width:43px;height:43px}
}
