.space-page {background:#f9f6f0;color:#2a1a10}
.space-page main h2 {color:#1b3b2b;font-size:clamp(2rem,5vw,4rem);max-width:18ch}
.space-hero {position:relative;isolation:isolate;overflow:hidden;display:grid;align-items:center;min-height:clamp(540px,77vh,850px);padding:70px 0;color:#f9f6f0;background:#1b3b2b}
.space-hero>img,.space-hero::after {position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.space-hero>img {object-fit:cover;animation:space-zoom 8s ease-out both}
.space-hero::after {content:'';background:linear-gradient(90deg,#10291bf5,#10291bab 50%,#10291b28)}
.space-hero h1 {font-size:clamp(2.4rem,6vw,5.3rem);max-width:19ch;margin:20px 0}
.space-hero p {max-width:51ch}
.space-hero .wrap>* {animation:space-arrive .7s ease-out both}
.space-hero h1 {animation-delay:.15s!important}
.space-hero .actions {animation-delay:.3s!important}
.space-nav {display:flex;flex-wrap:wrap;gap:12px 28px;padding-block:24px;border-bottom:1px solid #c5a059}
.space-section {padding-block:clamp(55px,8vw,110px)}
.space-section h2 {margin:12px 0 20px}
.space-lead {max-width:64ch;margin-bottom:30px}
.space-cream {background:#efe6d8}
.space-dark {background:#1b3b2b;color:#f9f6f0}
.space-page .space-dark h2,.space-dark .eyebrow {color:#f9f6f0}
.space-grid,.space-duo,.space-end {display:grid;gap:clamp(14px,2.4vw,30px)}
.space-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.space-duo,.space-end {grid-template-columns:repeat(2,minmax(0,1fr));align-items:center}
.space-grid img,.space-duo img,.space-end img,.space-rail img {width:100%;aspect-ratio:4/3;object-fit:cover}
.space-section figcaption {font-size:.85rem;padding-block:8px}
.space-hotspot {position:relative;margin-bottom:24px}
.space-hotspot img {width:100%;border-radius:30% 30% 0 0}
.space-hotspot details {position:absolute;left:var(--x);top:var(--y)}
.space-hotspot details[open] {z-index:1}
.space-hotspot summary {display:grid;place-items:center;list-style:none;cursor:pointer;width:44px;height:44px;border-radius:50%;background:#f9f6f0;color:#1b3b2b;border:2px solid #c5a059;box-shadow:0 0 0 5px #c5a05966}
.space-hotspot details p {position:absolute;right:0;bottom:52px;width:min(200px,38vw);padding:12px;background:#f9f6f0;color:#2a1a10}
.space-rail {display:grid;grid-auto-flow:column;grid-auto-columns:70%;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}
.space-rail figure {scroll-snap-align:start}
.rail-controls,.space-filters {display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.space-filters button {padding:10px 14px;border:1px solid #c5a059;background:transparent;color:inherit}
.space-filters button[aria-pressed=true] {background:#f9f6f0;color:#1b3b2b}
.space-dark figure:not([hidden]) {animation:space-arrive .4s ease-out both}
.space-dialog {width:min(95vw,1100px);padding:12px;background:#f9f6f0;border:1px solid #c5a059}
.space-dialog::backdrop {background:#10291be8}
.space-dialog img {width:100%;max-height:78vh;object-fit:contain}
.space-dialog form {display:flex;justify-content:end}
.space-dialog button {min-width:44px;min-height:44px;font-size:24px}
@keyframes space-zoom {to {transform:scale(1.005)}}
@keyframes space-arrive {from {opacity:0;transform:translateY(12px)}}
@media(hover:hover) and (min-width:731px) {
 .space-duo {transition:grid-template-columns .4s}
 .space-duo:has(figure:first-child:hover) {grid-template-columns:65fr 35fr}
 .space-duo:has(figure:last-child:hover) {grid-template-columns:35fr 65fr}
 .space-duo img {height:clamp(270px,32vw,440px)}
}
@media(max-width:730px) {
 .space-duo,.space-end {grid-template-columns:1fr}
 .space-rail {grid-auto-columns:88%}
 .space-hero::after {background:#10291bb8}
}
@media(prefers-reduced-motion:reduce) {
 .space-page * {animation:none!important;transition:none!important}
 html:has(.space-page) {scroll-behavior:auto}
}
