.case-gallery{isolation:isolate;background:#091826;color:#f4f8ff;min-width:0}
.gallery-track{position:absolute;inset:0;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y pinch-zoom}
.gallery-track::-webkit-scrollbar{display:none}
.gallery-track:focus-visible{outline:2px solid #b6d6ff;outline-offset:-5px}
.gallery-slide{position:relative;flex:0 0 100%;width:100%;height:100%;margin:0;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden}
.gallery-slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.gallery-slide:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#0412209c,transparent 42%,#04122030 58%,#041220ed),linear-gradient(90deg,#0412204d,transparent 70%)}
.case-gallery .gallery-slide figcaption{z-index:2;left:28px;right:28px;bottom:82px;color:#f4f8ff;line-height:1.55}
.gallery-slide figcaption strong{display:block;font:500 clamp(23px,2.1vw,30px)/1.3 var(--display);letter-spacing:-.025em}
.gallery-slide figcaption span{display:block;margin-top:7px;font-size:12px;color:#dce7f4}
.gallery-slide figcaption small{display:block;margin-top:8px;font-size:9px;letter-spacing:.035em;color:#b9cce0}
.gallery-metric{position:absolute;z-index:2;top:28px;left:28px;max-width:210px;pointer-events:none}
.gallery-metric strong{display:block;font:400 82px/1 var(--display);letter-spacing:-.065em;color:#f4f8ff}
.gallery-metric span{display:block;margin-top:8px;max-width:200px;font-size:12px;line-height:1.6;color:#d5e4f4}
.gallery-meta{position:absolute;z-index:3;top:28px;right:28px;display:flex;align-items:center;gap:8px}
.gallery-count{font-size:10px;letter-spacing:.11em;color:#e8f0fa;padding:7px 10px;border:1px solid #d5e4f435;border-radius:20px;background:#07182980;pointer-events:none}
.gallery-controls{position:absolute;z-index:3;left:28px;right:28px;bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.gallery-controls[hidden]{display:none}
.gallery-arrow{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;padding:0;cursor:pointer;border:1px solid #d7e5f454;border-radius:50%;background:#091a2bc4;backdrop-filter:blur(8px);color:#f4f8ff;transition:background .2s,border-color .2s}
.gallery-arrow svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.gallery-previous svg{transform:rotate(180deg)}
.gallery-playback[hidden]{display:none}
.gallery-playback svg{width:16px;height:16px}
.gallery-playback[data-playing=true] .gallery-play-icon,.gallery-playback[data-playing=false] .gallery-pause-icon{display:none}
.gallery-playback .gallery-play-icon{fill:currentColor;stroke:none}
.gallery-arrow:hover{background:#204568e6;border-color:#d7e5f49c}
.gallery-arrow:focus-visible,.gallery-dot:focus-visible{outline:2px solid #b6d6ff;outline-offset:4px}
.gallery-dots{display:flex;align-items:center;justify-content:center;gap:2px}
.gallery-dot{display:grid;place-items:center;width:30px;height:44px;padding:0;border:0;background:transparent;cursor:pointer}
.gallery-dot:after{content:'';display:block;width:6px;height:6px;border-radius:4px;background:#c5d9ed70;transition:width .2s,background .2s}
.gallery-dot[aria-current=true]:after{width:24px;background:#c5dfff}
.gallery-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.image-credits p{margin:10px 0 0;font-size:10px;line-height:1.7}
@media(max-width:760px){.case-gallery{height:390px;min-height:390px}.gallery-metric{top:24px;left:24px;max-width:185px}.gallery-metric strong{font-size:68px}.gallery-metric span{font-size:11px;max-width:175px}.gallery-meta{top:24px;right:24px}.case-gallery .gallery-slide figcaption{left:24px;right:24px;bottom:80px}.gallery-controls{left:24px;right:24px;bottom:20px}}
@media(prefers-reduced-motion:reduce){.gallery-track{scroll-behavior:auto}.gallery-arrow,.gallery-dot:after{transition:none}}
@media print{.gallery-track{overflow:hidden}.gallery-controls,.gallery-meta{display:none}.case-gallery{height:290px;min-height:290px}.case-gallery .gallery-slide figcaption{bottom:20px}}

.infrastructure-gallery .gallery-metric strong small{font-size:22px;letter-spacing:-.025em;color:#e5effb}
@media(max-width:760px){.infrastructure-gallery .gallery-metric strong small{font-size:20px}}
@media(max-width:480px){.infrastructure-gallery .gallery-metric strong small{font-size:16px}.infrastructure-gallery .gallery-meta{flex-direction:column;align-items:flex-end;gap:6px}.infrastructure-gallery .gallery-controls{gap:6px}.infrastructure-gallery .gallery-dot{width:20px}.infrastructure-gallery .gallery-dot[aria-current=true]:after{width:18px}}
