/* Five connected rooms. Hover expansion and an accessible full-screen viewer. */
.space-gallery{margin-top:0}
.space-gallery-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin:0 0 28px}
.space-gallery-heading h2{font-size:28px;font-weight:400;letter-spacing:-.04em;margin:12px 0 0}
.space-gallery-heading p{font-size:12px;line-height:1.9;text-align:right;margin:0;color:#68767d}
.space-mobile-hint{display:none}
.space-strip{display:flex;gap:10px;height:510px}
.space-card{flex:1;min-width:0;position:relative;overflow:hidden;border-radius:16px;background:#eaeae6;transition:flex .5s cubic-bezier(.4,0,.2,1);isolation:isolate}
.space-card>img{position:absolute;inset:0;object-fit:cover;object-position:center;height:100%;width:100%;transition:transform .65s ease}
.space-card-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(19,32,39,.1),transparent 38%,rgba(19,32,39,.65));pointer-events:none}
.space-card::after{content:"";position:absolute;inset:0;background:rgba(18,27,32,0);transition:background .5s;pointer-events:none}
.space-card-number{position:absolute;left:22px;top:18px;color:white;font-family:var(--latin);font-size:18px;z-index:1;text-shadow:0 1px 8px #26343c55}
.space-card-label{position:absolute;left:22px;right:18px;bottom:28px;color:#fff;z-index:1;white-space:nowrap}
.space-card-label strong{display:block;font-size:17px;font-weight:500;letter-spacing:-.04em}
.space-card-label>span{display:block;font-size:12px;line-height:1.8;max-height:0;opacity:0;transform:translateY(6px);transition:opacity .25s,transform .35s,max-height .35s}
.space-card-expand{position:absolute;top:18px;right:18px;width:34px;height:34px;display:grid;place-items:center;border:1px solid #ffffff99;border-radius:50%;color:white;z-index:1;opacity:0;transition:opacity .3s}
.space-card:focus-visible{outline:2px solid #35474e;outline-offset:4px}
.space-gallery-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:25px;padding-bottom:28px;border-bottom:1px solid #e3e7e9}
.space-gallery-foot>.latin{font-size:28px;color:#40525b}
.space-gallery-foot>span:last-child{font-size:9px;letter-spacing:.15em;color:#7d898f}
@media(min-width:761px){
 .space-strip:has(.space-card:focus-visible) .space-card{flex:.5}
 .space-strip:has(.space-card:focus-visible) .space-card:focus-visible{flex:2}
 .space-strip:has(.space-card:focus-visible) .space-card:not(:focus-visible)::after{background:#121b322b}
 .space-card:focus-visible .space-card-label>span{max-height:30px;opacity:1;transform:none}
 .space-card:focus-visible .space-card-expand{opacity:1}
}
@media(min-width:761px) and (hover:hover) and (pointer:fine){
 .space-strip:has(.space-card:hover) .space-card{flex:.5}
 .space-strip:has(.space-card:hover) .space-card:hover{flex:2}
 .space-strip:has(.space-card:hover) .space-card:not(:hover)::after{background:#121b322b}
 .space-card:hover .space-card-label>span{max-height:30px;opacity:1;transform:none}
 .space-card:hover .space-card-expand{opacity:1}
 .space-card:hover>img{transform:scale(1.025)}
 .space-strip:has(.space-card:hover) .space-card:not(:hover) .space-card-label strong,
 .space-strip:has(.space-card:focus-visible) .space-card:not(:focus-visible) .space-card-label strong{font-size:14px}
}
body.space-lightbox-open{overflow:hidden}
dialog.space-lightbox{position:fixed;inset:0;margin:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;padding:0;border:0;border-radius:0;background:rgba(250,251,250,.97);color:#26343c;overflow:auto}
.space-lightbox::backdrop{background:#f5f6f4ed;backdrop-filter:blur(14px)}
.space-lightbox[open]{display:flex;flex-direction:column}
.space-lightbox-top{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;padding:20px 32px}
.space-lightbox-control{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:1px solid #cfd7d9;background:#ffffffeb;color:#344a55;padding:0;transition:background .2s}
.space-lightbox-control:hover{background:#eaf0f2}
.space-lightbox-control:focus-visible{outline:2px solid #35474e;outline-offset:4px}
.space-lightbox-control svg{width:22px;height:22px}
.space-lightbox-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:0;flex:1;padding:0 100px;touch-action:pan-y}
.space-lightbox-figure{margin:0;width:min(100%,1200px,calc(150dvh - 367.5px))}
.space-lightbox-image{width:100%;height:calc(100vh - 245px);height:calc(100dvh - 245px);object-fit:contain;border-radius:8px}
.space-lightbox-figure figcaption{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:22px auto 0;max-width:1120px}
.space-lightbox-figure h2{font-size:23px;font-weight:400;letter-spacing:-.04em;margin:0 0 3px}
.space-lightbox-figure p{font-size:13px;margin:0}
.space-lightbox-count{font-size:13px;letter-spacing:.1em;white-space:nowrap;padding-top:7px;font-variant-numeric:tabular-nums}
.space-lightbox-prev,.space-lightbox-next{position:absolute;top:44%;transform:translateY(-50%)}
.space-lightbox-prev{left:28px}.space-lightbox-next{right:28px}
.space-lightbox-note{flex-shrink:0;margin:20px 30px 22px;text-align:center;font-size:10px!important;letter-spacing:.02em;color:#7a888f}
.space-lightbox[open] .space-lightbox-figure{animation:space-photo-in .3s ease-out both}
@keyframes space-photo-in{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}
@media(min-width:761px) and (max-width:1050px){.space-strip{height:450px}.space-card-label{left:16px}.space-card-label strong{font-size:14px}.space-card-number{left:16px}.space-card-expand{right:12px}}
@media(max-width:760px){
 .space-gallery-heading{display:block;margin-bottom:22px}
 .space-gallery-heading h2{font-size:24px;margin-top:10px}
 .space-gallery-heading p{font-size:11px;text-align:left;margin-top:15px}
 .space-desktop-hint{display:none}.space-mobile-hint{display:inline}
 .space-strip{height:440px;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#b6c3c8 transparent;padding:4px 4px 14px;margin:0 -4px;overscroll-behavior-x:contain}
 .space-card{flex:0 0 85%;scroll-snap-align:start;border-radius:14px}
 .space-card-label{left:23px;bottom:26px}
 .space-card-label strong{font-size:21px}
 .space-card-label>span{opacity:1;transform:none;max-height:35px;margin-top:5px;font-size:12px}
 .space-card-expand{opacity:1}
 .space-gallery-foot{display:block;margin-top:17px;padding-bottom:22px}
 .space-gallery-foot>.latin{font-size:25px;display:block}
 .space-gallery-foot>span:last-child{font-size:8px;display:block;margin-top:10px}
 .space-lightbox-top{padding:16px 20px}
 .space-lightbox-top .eyebrow{font-size:9px;letter-spacing:.14em}
 .space-lightbox-stage{padding:0 20px 68px;align-items:center}
 .space-lightbox-figure{width:100%}
 .space-lightbox-image{height:auto;aspect-ratio:3/2;max-height:calc(100dvh - 310px);border-radius:6px}
 .space-lightbox-figure figcaption{margin-top:20px;gap:12px}
 .space-lightbox-figure h2{font-size:22px}.space-lightbox-figure p{font-size:12px}
 .space-lightbox-prev,.space-lightbox-next{top:auto;bottom:0;transform:none}
 .space-lightbox-prev{left:calc(50% - 60px)}.space-lightbox-next{right:calc(50% - 60px)}
 .space-lightbox-note{font-size:9px!important;margin:20px 16px max(20px,env(safe-area-inset-bottom))}
}
@media(max-height:540px) and (orientation:landscape){
 .space-lightbox-top{padding:6px 18px}.space-lightbox-stage{padding:0 80px}.space-lightbox-image{height:calc(100dvh - 165px);min-height:100px}.space-lightbox-figure figcaption{margin-top:8px}.space-lightbox-figure h2{font-size:18px}.space-lightbox-figure p{font-size:11px}.space-lightbox-note{margin:8px 16px}.space-lightbox-prev,.space-lightbox-next{top:42%;bottom:auto;transform:translateY(-50%)}.space-lightbox-prev{left:16px}.space-lightbox-next{right:16px}
}
@media(prefers-reduced-motion:reduce){.space-gallery *{transition:none!important;animation:none!important}.space-card:hover>img{transform:none}.space-strip{scroll-behavior:auto}}
