/* Spatial intelligence page (Oct 22 2026): the walkable scene chooser and its explorer, full width under the shared first
   panel. Everything else (type, colours, buttons, the limits list, related, closing, footer) comes from /style.css,
   /assets/home-panel.css and /assets/product-page.css. Corners at most 6 px; the scene's own labels sit beside the picture. */
.spatial-page{--base:#0a0a0b;--header:0px}
.spatial-page .scene-intro{padding:90px 0 36px;max-width:880px;border:0}
.spatial-page .scene-intro h2{margin:0}
.spatial-page .scene-section{position:relative;padding:0;border:0;background:#08080a;scroll-margin-top:24px}
.home-world{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 280px;overflow:hidden;isolation:isolate;background:#08080a;color:var(--text)}
.home-world h3,.home-world p{margin:0}
.scene-view{position:relative;min-height:660px;overflow:hidden}
.home-world .scene-poster,.home-world video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* The existing preview poster includes a thin capture edge; keep it outside the viewport. */
.home-world .scene-poster{top:-18px;height:calc(100% + 18px)}
.home-world.is-live .scene-poster,.home-world.is-film .scene-poster{display:none}
.home-world-stage{position:absolute;inset:0}
.home-world-canvas{width:100%;height:100%;display:block;outline:none;touch-action:none;cursor:grab;background:transparent}
.home-world-canvas:active{cursor:grabbing}
.home-world-canvas:focus-visible{outline:2px solid #e5e5ea;outline-offset:-2px}
.scene-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#0007,transparent 30%),linear-gradient(0deg,#0009,transparent 40%)}
.scene-top{position:absolute;left:24px;right:24px;top:24px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px 20px;flex-wrap:wrap;pointer-events:none}
.origin-label,.basis-link{pointer-events:auto;background:#0a0a0bdc;border:1px solid #ffffff30;border-radius:6px;padding:11px 14px;font-size:12px;line-height:1.5}
.origin-label span{display:block;color:#c7c7cc;font-size:11px}
.basis-link{display:inline-flex;align-items:center;gap:12px;min-height:44px}
.home-world-places{position:static;display:flex;flex-direction:column;gap:12px;padding:24px;background:#131315;border-left:1px solid var(--line);z-index:2}
.scene-choice-note{font-size:13px;line-height:1.5;color:var(--muted)}
.world-place-group{display:grid;gap:7px}
.home-world-group{font-size:12px;color:#c7c7cc}
.home-world-places button{min-height:44px;text-align:left;padding:11px 15px;background:transparent;border:1px solid #3a3a40;border-radius:6px;color:var(--text);font-size:13px}
.home-world-places button:hover{border-color:#a1a1a8}
.home-world-places button[aria-pressed=true]{background:#f5f5f7;color:#0a0a0b;border-color:#f5f5f7}
/* The action row and the label under the explorer sit on the page's content column (80 px at 1440, 40 px under 1350,
   22 px on phones, like .page-body), not on the explorer's own 24 px inset. */
.home-world{--col:max(40px,calc((100% - 1280px) / 2))}
.home-world-ui{position:static;grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:20px var(--col) 12px;border-top:1px solid var(--line);z-index:2}
.home-world-ui .button.outline{background:transparent;color:var(--text);border:1px solid #3a3a40}
.home-world-ui .button.outline:hover{border-color:#f5f5f7}
.home-world-status{max-width:520px;font-size:13px;line-height:1.5;color:var(--muted)}
.home-world-label{position:static;grid-column:1/-1;padding:0 var(--col) 20px;font-size:12px;color:var(--muted)}
.home-world-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:#ffffff25;z-index:3}
.home-world-progress::after{content:"";display:block;height:100%;width:var(--world-progress,0%);background:#f5f5f7}
.home-world:fullscreen{position:fixed;inset:0;overflow:auto}
.home-world:fullscreen .scene-view{min-height:calc(100svh - 135px)}
.is-film video{object-fit:contain}
.spatial-page .no-script{margin:0;padding:16px 24px;background:#131315;font-size:14px}
.spatial-page .no-script a{text-decoration:underline}
.spatial-page .sources{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.spatial-page .sources li{border-bottom:1px solid var(--line)}
.spatial-page .sources a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:10px 0;font-size:15px;color:var(--text)}
.spatial-page .sources a:hover span:first-child{text-decoration:underline;text-underline-offset:4px}
/* Scene studies (Oct 22, on the product-page template): the page's own ground and column (1280 px, 80 px gutters at
   1440, 40 px under 1350, 22 px on phones, like .page-body), the page's heading scale, one set of controls (the study's
   own Play / Sound bar; the video carries no native controls), machined 6 px buttons with Play as the one filled
   control, hairline dividers, no hue. The disclosure is a caption row under the film, never over it. */
/* The scene studies' full-width rule is the only one between them and what follows: the limits drop their own. */
.spatial-page #limits{border-bottom:0}
/* Sources (the label key and the public releases) close the evidence, then the limits follow on the same column: the
   sources block keeps the list's look and leaves its bottom padding to the limits. */
.spatial-page .sources-block{padding-bottom:0;scroll-margin-top:24px}
.spatial-page .sources-block .sources li{padding:0}
@media(max-width:850px){.home-world{grid-template-columns:minmax(0,1fr) 230px}.home-world-places{padding:20px 16px}}
@media(max-width:650px){.spatial-page .scene-intro{padding:65px 0 28px}}
@media(max-width:600px){
 .home-world{grid-template-columns:minmax(0,1fr)}
 .scene-view{min-height:410px}
 .scene-top{left:16px;right:16px;top:16px;gap:8px}
 .origin-label,.basis-link{font-size:11px;padding:9px 11px}
 .home-world-places{display:grid;grid-template-columns:1fr 1fr;padding:22px 16px;gap:16px 12px;border-left:0;border-top:1px solid var(--line)}
 .scene-choice-note,.world-place-group:first-of-type{grid-column:1/-1}
 .world-place-group:first-of-type{grid-template-columns:1fr 1fr}
 .world-place-group:first-of-type .home-world-group{grid-column:1/-1}
 .home-world-places button{width:100%;font-size:12px;padding:10px}
 .home-world{--col:22px}
 .home-world-ui{padding:18px var(--col) 12px;gap:10px}
 .home-world-status{width:100%;font-size:12px}
 .home-world-label{padding:0 var(--col) 20px;font-size:11px;line-height:1.6}
 .home-world:fullscreen .scene-view{min-height:55svh}
}
@media(prefers-reduced-motion:reduce){.home-world *{transition:none!important;animation:none!important}}
