.space-categories{max-width:1500px;margin:0 auto}
.space-categories .gallery-hint{margin:0 0 2.5rem}
.space-category{padding:2.5rem 0 3.5rem;border-top:1px solid #cfd4ce}
.space-category:last-child{border-bottom:1px solid #cfd4ce}
.space-category-copy{display:grid;grid-template-columns:40px minmax(0,1fr);gap:1.5rem;max-width:850px;margin-bottom:2rem}
.space-category-copy h2{font-weight:300;margin:0 0 1rem}
.space-category-copy p{color:#57615c}
.space-number{padding-top:.5rem;color:#b8962e;font:700 10px Lato,Arial,sans-serif;letter-spacing:.13em}
.space-category .space-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-left:calc(40px + 1.5rem)}
.space-category .space-gallery a{margin:0;aspect-ratio:4 / 3}
.space-category .space-gallery img{width:100%;height:100%;object-fit:cover}
.image-hero > video.space-mobile-video,.space-video-toggle{display:none}
@media(max-width:850px){.space-category .space-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){
  .image-hero > video.space-mobile-video{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transition:opacity .4s ease}
  .image-hero > video.space-mobile-video.is-playing{opacity:1}
  .image-hero:after{background:rgba(23,54,44,.58);pointer-events:none}
  .space-video-toggle:not([hidden]){display:block;position:absolute;right:7.5vw;bottom:1.25rem;z-index:2;border:1px solid rgba(255,255,255,.7);background:rgba(23,54,44,.75);color:#fff;padding:.55rem .8rem;font:400 11px Lato,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
  .space-video-toggle:focus-visible{outline:2px solid #fff;outline-offset:3px}
}
@media(max-width:500px){.space-category .space-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-left:calc(30px + 1rem)}.space-category-copy{grid-template-columns:30px minmax(0,1fr);gap:1rem}.space-category{padding:2rem 0 2.5rem}}
@media(prefers-reduced-motion:reduce){.image-hero > video.space-mobile-video{transition:none}}
