/* Specific to the new gallery. Historical query previews retain their original layouts. */
.spatial-edition body[data-page=home] {
  --stage-height: max(100svh, 600px);
  background: #dae3ed;
  color:#1c3042;
}
.spatial-edition body[data-page=home] :is(.home-page,.scene-home,.scene-labels) {
  height:var(--stage-height);min-height:0;top:0;
}
.spatial-edition body[data-page=home] .home-heading {top:calc(max(0px,(var(--stage-height) - 56.28vw)/2) + clamp(28px,2.35vw,50px));left:4vw;}
.spatial-edition body[data-page=home] .home-heading h1 {
  font-size:clamp(43px,4.3vw,84px);font-weight:400;line-height:.98;letter-spacing:.025em;
}
.spatial-edition body[data-page=home] .site-header {position:absolute;height:102px;padding-inline:4.8vw;}
.spatial-edition body[data-page=home] .scene-label {
  color:#19334b;font-weight:500;font-size:clamp(19px,1.72vw,29px);min-height:44px;
  gap:6px;padding:8px;background:transparent;text-shadow:0 1px 6px #f4f6fa;
}
.spatial-edition body[data-page=home] .scene-label .label-number {
  display:block;color:#405b71;font:500 .65rem/1 var(--sans);align-self:center;letter-spacing:.02em;margin:0 .15rem 0 0;
}
.spatial-edition body[data-page=home] .scene-label .label-arrow {display:none;}
.spatial-edition body[data-page=home] .scene-label i {height:16px;left:48%;opacity:.8;}
.spatial-edition body[data-page=home] .scene-label i:before {width:3px;height:3px;left:-1px;}
.spatial-edition body[data-page=home] .scene-label:is(:hover,:focus-visible,.is-active) {background:transparent;color:#123b98;}
.spatial-edition .home-bottom {align-items:center;bottom:74px;left:4.8vw;right:4.8vw;}
.spatial-edition .home-bottom .gallery-invitation {
  color:#344a5c;font:400 .86rem/1.4 var(--sans);letter-spacing:.015em;
}
.spatial-edition body.gallery-travelling .home-page,
.spatial-edition body.gallery-travelling #scene-labels {visibility:hidden;}
.spatial-edition .gallery-pin {
  position:absolute;transform:translate(-50%,-5px);min-height:44px;min-width:44px;
  pointer-events:auto;padding:12px 6px 0;text-align:center;color:#173857;
  font:550 .78rem/1.2 var(--sans);text-shadow:0 0 5px #fff,0 0 3px #fff;
}
.spatial-edition .gallery-pin:before {
  content:'';position:absolute;left:calc(50% - 4px);top:1px;width:8px;height:8px;
  border:1px solid white;outline:1px solid #234474;border-radius:50%;background:#f3f5f7;
}
.spatial-edition .gallery-pin[aria-pressed=true]:before {background:#2755a1;}
.spatial-edition body:is(.scene-fallback,.spatial-context-lost) .gallery-pin {visibility:hidden;}
.spatial-edition body[data-page=home] .direct-about {font-size:1.1rem;min-height:44px;padding-block:8px;border-color:#6e7d8e;}
.spatial-edition body[data-page=home] .site-footer {margin:0 4.8vw;font-size:.71rem;letter-spacing:.035em;}
.spatial-edition body[data-page=home] .site-footer a {display:none;}
.spatial-edition body[data-page=home]:not([data-gallery-station]):is(:not(.scene-ready),.spatial-context-lost) .scene-home {
  background:#dce3eb url('./assets/gallery-walk/home.webp') center / cover no-repeat;
}
.spatial-edition body[data-page=home]:is(:not(.scene-ready),.spatial-context-lost) .scene-home :is(.fallback-art,canvas),
.spatial-edition body[data-page=home].scene-fallback .scene-status {visibility:hidden;}
.spatial-edition body[data-page=home]:not([data-gallery-station]):not(.gallery-travelling) .scene-labels {opacity:1;visibility:visible;}
.spatial-edition body[data-page=home]:not([data-gallery-station]) .scene-status {display:none;}
.spatial-edition body[data-page=home]:is(:not(.scene-ready),.spatial-context-lost) .label-research {left:13%!important;top:28%!important;}
.spatial-edition body[data-page=home]:is(:not(.scene-ready),.spatial-context-lost) .label-works {left:87%!important;top:18%!important;}
.spatial-edition body[data-page=home]:is(:not(.scene-ready),.spatial-context-lost) .label-about {left:90%!important;top:52%!important;}
@media(max-width:720px){
  .spatial-edition body[data-page=home] {--stage-height:max(100svh,610px);}
  .spatial-edition body[data-page=home] .home-heading {top:34px;left:6vw;}
  .spatial-edition body[data-page=home] .home-heading h1 {font-size:clamp(32px,9vw,56px);}
  .spatial-edition body[data-page=home] .site-header {height:76px;padding-inline:5vw;}
  .spatial-edition body[data-page=home] .scene-label {font-size:clamp(16px,4.5vw,23px);gap:3px;padding:4px;line-height:1.05;}
  .spatial-edition body[data-page=home] .scene-label .label-number {font-size:.57rem;}
  .spatial-edition body[data-page=home] .scene-label i {height:9px;}
  .spatial-edition .home-bottom {bottom:66px;left:5vw;right:5vw;gap:.5rem;}
  .spatial-edition .home-bottom .gallery-invitation {font-size:.75rem;}
  .spatial-edition body[data-page=home] .direct-about {font-size:.97rem;}
  .spatial-edition body[data-page=home] .direct-about span {margin-left:4px;}
  .spatial-edition body[data-page=home] .site-footer {font-size:.62rem;align-items:end;}
  .spatial-edition body[data-page=home] .site-footer>span:nth-child(2) {text-align:right;max-width:55%;}
}
@media(max-aspect-ratio:94/100){
  .spatial-edition body[data-page=home]:not([data-gallery-station]):is(:not(.scene-ready),.spatial-context-lost) .scene-home {background-image:url('./assets/gallery-walk/home-tall.webp');}
  .spatial-edition body[data-page=home]:is(:not(.scene-ready),.spatial-context-lost) .label-research {left:25%!important;top:50%!important;}
  .spatial-edition body[data-page=home]:is(:not(.scene-ready),.spatial-context-lost) .label-works {left:74%!important;top:28%!important;}
  .spatial-edition body[data-page=home]:is(:not(.scene-ready),.spatial-context-lost) .label-about {left:75%!important;top:62%!important;}
}
@media(max-width:360px) {
  .spatial-edition body[data-page=home] .home-heading h1 {font-size:29px;}
}
