.project-photos>.project-objects{display:grid;grid-template-columns:minmax(0,1fr);gap:32px}
.work-object{min-width:0;padding:30px;border:1px solid #304b60;border-radius:22px;background:#142d42;scroll-margin-top:120px}
.work-object-heading h2{font-size:clamp(25px,3vw,34px);line-height:1.2;margin:0 0 24px;color:#fff;letter-spacing:-.6px}
.work-location{margin:0 0 8px!important;font-size:12px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:#8dc5ff}
.work-description{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:0 0 26px}
.work-description>div:only-child{grid-column:1/-1}
.work-description h3{margin:0 0 9px;font-size:15px;color:#8dc5ff}
.work-description p{margin:0;color:#d0dce7;line-height:1.75;overflow-wrap:anywhere;font-size:16px}
.work-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.project-photos .work-photos figure{margin:0;border-radius:12px;overflow:hidden;min-width:0;background:#0d2233;border:1px solid #345065}
.work-photos figure>a{display:block;cursor:zoom-in}
.project-photos .work-photos img{display:block;width:100%;height:210px;object-fit:cover;transition:transform .2s}
.work-photos a:hover img{transform:scale(1.025)}
.work-photos a:focus-visible{outline:3px solid #8dc5ff;outline-offset:-4px}
.project-photos .work-photos figcaption{padding:14px 16px;font-size:14px;line-height:1.6;color:#d0dce7;overflow-wrap:anywhere}
@media(max-width:900px){.work-photos{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.work-object{padding:18px;border-radius:16px}.work-description{grid-template-columns:1fr;gap:20px}.work-photos{gap:10px}.project-photos .work-photos img{height:150px}.project-photos .work-photos figcaption{padding:10px;font-size:12px}.work-object-heading h2{margin-bottom:20px}.project-photos>.project-objects{gap:20px}}
@media(prefers-reduced-motion:reduce){.work-photos img{transition:none}}
#photo-viewer{position:fixed;inset:0;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:80px 78px 60px;border:0;background:rgba(5,12,21,.97);color:white;box-sizing:border-box;overflow:hidden}
#photo-viewer[open]{display:flex;align-items:center;justify-content:center}
#photo-viewer::backdrop{background:#050c15}
#photo-viewer img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;user-select:none}
#photo-viewer button{position:absolute;display:flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;border:1px solid #718297;border-radius:50%;background:#213247;color:white;font:32px/1 system-ui;cursor:pointer;z-index:1}
#photo-viewer button:hover{background:#385471}
#photo-viewer button:focus-visible{outline:3px solid #a3d1ff;outline-offset:4px}
#photo-viewer [data-close]{right:20px;top:max(16px,env(safe-area-inset-top));gap:8px;border-radius:28px;font-size:15px;padding:10px 17px}
#photo-viewer [data-close] span:first-child{font-size:28px}
#photo-viewer [data-prev]{left:15px;top:50%;transform:translateY(-50%)}
#photo-viewer [data-next]{right:15px;top:50%;transform:translateY(-50%)}
#photo-viewer [data-count]{position:absolute;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);font-size:15px;letter-spacing:.08em}
@media(max-width:700px){#photo-viewer{padding:78px 10px 120px}#photo-viewer [data-prev],#photo-viewer [data-next]{top:auto;bottom:max(16px,env(safe-area-inset-bottom));transform:none}#photo-viewer [data-prev]{left:20px}#photo-viewer [data-next]{right:20px}#photo-viewer [data-count]{bottom:31px}}
#photo-viewer [data-caption]{position:absolute;bottom:52px;left:80px;right:80px;text-align:center;margin:0;font:15px/1.5 system-ui;max-height:70px;overflow:auto;color:#dae6f3}
@media(max-width:700px){#photo-viewer [data-caption]{left:16px;right:16px;bottom:80px;max-height:38px;font-size:13px}}
