html,body{width:100%;max-width:100%;overflow-x:hidden}
*,*::before,*::after{box-sizing:border-box}
img,video,iframe,svg{max-width:100%;height:auto}
a,.long-text{overflow-wrap:anywhere}

.work-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:2rem 0}
.work-photo-grid figure{min-width:0;margin:0}
.work-photo-grid img{display:block;width:100%;max-width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:.5rem}
.work-photo-grid figcaption{margin-top:.4rem;font-size:.82rem;color:#666}
@media (max-width:900px){.work-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.site-gallery4{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;margin:2rem 0}
.site-gallery4 img{width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;border-radius:.5rem;display:block}
@media (max-width:720px){.site-gallery4{grid-template-columns:repeat(2,1fr)}}

.related-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;max-width:76rem;margin:1.5rem auto}
.related-cards--5col{grid-template-columns:repeat(5,1fr)}
@media (max-width:720px){.related-cards--5col{grid-template-columns:repeat(2,1fr)}}
.related-cards__card{display:block;padding:1.25rem;border:1px solid #e2e2e2;border-radius:.75rem;text-decoration:none;color:inherit;transition:box-shadow .15s ease,transform .15s ease;background:#fff}
.related-cards__card:hover{box-shadow:0 4px 16px rgba(0,0,0,.08);transform:translateY(-2px)}
.related-cards__card h3{margin:0 0 .4rem;font-size:1.05rem;line-height:1.3}
.related-cards__card p{margin:0;font-size:.85rem;color:#666;line-height:1.45}
