.case-photo{width:100%;max-width:720px;margin-inline:auto}.case-photo-open{cursor:zoom-in;text-align:left;color:#fff;background:#e5e1d8;border:0;width:100%;padding:0;display:block;position:relative}.case-photo-open img{object-fit:contain;filter:none;width:100%;height:auto;display:block}.case-photo-hint{background:#20201e;justify-content:space-between;align-items:center;gap:24px;min-height:44px;padding:12px 16px;font-size:.8125rem;line-height:1.5;display:flex;position:absolute;bottom:16px;right:16px}.case-photo figcaption{padding:16px 0;font-size:.875rem;line-height:1.5}.case-photo-open:focus-visible{outline-offset:6px;outline:3px solid #a64018}.project-gallery-dialog{box-sizing:border-box;color:#f4f2ed;background:#1b1c19;border:1px solid #77756f;width:calc(100vw - 32px);max-width:1180px;height:calc(100dvh - 32px);max-height:940px;margin:auto;padding:0;overflow:hidden}.project-gallery-dialog::backdrop{background:#0c0d0beb}.pg-viewer{box-sizing:border-box;grid-template-rows:auto minmax(0,1fr) auto;gap:18px;height:100%;padding:24px;display:grid}.pg-header{justify-content:space-between;align-items:center;gap:20px;display:flex}.pg-eyebrow{letter-spacing:.08em;text-transform:uppercase;color:#c7c5bc;font-size:.6875rem;line-height:1.5}.pg-header h2{letter-spacing:-.02em;color:inherit;margin:6px 0 0;font-size:clamp(1.125rem,2vw,1.5rem);font-weight:500;line-height:1.25}.project-gallery-dialog button{min-width:48px;min-height:48px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:1px solid #88877e;border-radius:0;flex-shrink:0;justify-content:center;align-items:center;gap:12px;padding:10px 14px;font-size:.875rem;line-height:1.5;display:flex}.project-gallery-dialog button:hover{background:#30312c;border-color:#f4f2ed}.project-gallery-dialog button:focus-visible{outline-offset:4px;outline:3px solid #efb28d}.pg-close span{font-size:1.5rem;line-height:1}.pg-image{background:#121310;justify-content:center;align-items:center;min-width:0;min-height:0;display:flex}.pg-image img{object-fit:contain;filter:none;width:100%;height:100%;display:block}.pg-footer{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;display:grid}.pg-caption{color:#e7e5dc;max-width:66ch;margin:0;font-size:.9375rem;line-height:1.5}.pg-controls{align-items:center;gap:12px;display:flex}.pg-counter{font-variant-numeric:tabular-nums;text-align:center;color:#c7c5bc;min-width:44px;font-size:.8125rem}@media (max-width:700px){.project-gallery-dialog{border:0;width:100%;max-width:none;height:100dvh;max-height:none}.pg-viewer{padding:16px;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom));gap:14px}.pg-header{gap:12px}.pg-header h2{font-size:1rem}.pg-eyebrow{letter-spacing:.03em;font-size:.625rem}.project-gallery-dialog .pg-close{padding:8px 10px;font-size:.75rem}.pg-footer{grid-template-columns:1fr;gap:12px}.pg-caption{font-size:.8125rem}.pg-controls{justify-content:space-between}.case-photo-hint{gap:14px;font-size:.75rem;bottom:10px;right:10px}}@media (max-height:450px) and (min-width:701px){.pg-viewer{gap:8px;padding:12px}.pg-eyebrow{display:none}.pg-header h2{margin:0;font-size:1rem}.pg-caption{font-size:.8125rem}}
