/* Consistent, non-distorted project galleries */
.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
.gallery img,.gallery img:first-child{grid-row:auto;width:100%;height:auto;aspect-ratio:4/3;min-height:0;max-height:none;object-fit:contain;object-position:center;background:#e5e1d8;border-radius:14px;display:block}
.gallery.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.dyson-gallery img{filter:brightness(1.07) saturate(1.03)}
@media(max-width:800px){.gallery,.gallery.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery img,.gallery img:first-child{aspect-ratio:4/3;border-radius:10px}}
@media(max-width:520px){.gallery,.gallery.two{grid-template-columns:1fr}.gallery img,.gallery img:first-child{aspect-ratio:16/10}}

/* Keep one navigation bar visible while browsing long pages. */
.topbar{position:sticky;top:0;z-index:100}
