.site-sidebar{position:fixed;inset:0 0 0 auto;margin:0;width:min(88vw,380px);height:100%;height:100dvh;max-height:none;max-width:none;border:0;padding:76px 28px 32px;background:#17324D;color:#F8F9F5;box-sizing:border-box;overflow-y:auto}
.site-sidebar::backdrop,.site-lightbox::backdrop{background:rgba(8,22,32,.72)}
.site-sidebar[open]{animation:sidebar-in .28s ease-out}
@keyframes sidebar-in{from{transform:translateX(100%)}to{transform:translateX(0)}}
.dialog-close{position:absolute;top:16px;right:16px;width:44px;height:44px;border:1px solid rgba(255,255,255,.5);border-radius:6px;background:transparent;color:#fff;font-size:30px;cursor:pointer}
.sidebar-label{font:500 22px/1.3 Spectral,Georgia,serif;margin:0 0 26px;color:#D9C58F}
.site-sidebar nav{display:flex;flex-direction:column}
.site-sidebar nav a{color:#F8F9F5;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.15);font-size:16px;line-height:1.4;text-decoration:none}
.site-sidebar nav a:hover,.site-sidebar nav a[aria-current]{color:#D9C58F}
.site-sidebar .sidebar-email{display:block;color:#D6EAF2;margin-top:32px;font-size:14px;overflow-wrap:anywhere}
.site-lightbox{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:76px 70px 64px;box-sizing:border-box;border:0;background:rgba(8,22,32,.97);color:#fff}
.site-lightbox[open]{display:flex;align-items:center;justify-content:center}
.lightbox-image{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.gallery-prev,.gallery-next{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border:1px solid #D6EAF2;border-radius:50%;background:#17324D;color:white;font-size:24px;cursor:pointer}
.gallery-prev{left:12px}.gallery-next{right:12px}
.gallery-counter{position:absolute;bottom:16px;left:0;width:100%;text-align:center;color:#D6EAF2;margin:0}
.project-name h1{font-size:clamp(30px,4.5vw,48px)}
.project-story h3{font:500 clamp(21px,2.3vw,26px)/1.35 Spectral,Georgia,serif;color:#17324D;margin:30px 0 14px}
.project-story ul{padding-left:22px;line-height:1.8}
@media(max-width:800px){.project-gallery-grid{columns:2;column-gap:12px}.project-photo{margin-bottom:12px}}
@media(max-width:480px){.project-gallery-grid{columns:2}.site-lightbox{padding:76px 12px 90px}.gallery-prev,.gallery-next{top:auto;bottom:20px;transform:none}.gallery-counter{bottom:34px;pointer-events:none}}
@media(prefers-reduced-motion:reduce){.site-sidebar[open]{animation:none}}
