/* A single nine-cell instrument panel. Native links, spatial arrow navigation. */
body[data-view="home"] .index{width:min(100%,1420px);grid-template-columns:minmax(250px,.8fr) minmax(500px,1.25fr);gap:6vw;padding-top:120px;padding-bottom:110px}
body[data-view="home"] .intro h1{font-size:clamp(24px,2.4vw,38px);line-height:1.4;letter-spacing:-.045em}
body[data-view="home"] .intro p{font-size:.76rem;line-height:1.8;max-width:28ch}
.museum-index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #d5dfcc38;border-left:1px solid #d5dfcc38;background:linear-gradient(#080e0a38,#080e0a38)}
.museum-index li{min-width:0}
.museum-index a{height:clamp(150px,14vw,205px);padding:24px 14px 17px;display:flex;flex-direction:column;justify-content:center;gap:0;border-right:1px solid #d5dfcc38;border-bottom:1px solid #d5dfcc38;color:#c5cdbf;isolation:isolate;transition:color .25s,background .25s}
.museum-index a:before{left:50%;top:50%;width:66px;height:66px;transform:translate(-50%,-68%);border-radius:50%;filter:blur(25px);background:#c9b5dd;opacity:0;z-index:-1}
.museum-index a.selected:before,.museum-index a:hover:before{opacity:.15}
.museum-index .cell-index{position:absolute;top:12px;left:13px;font-size:9px;color:#b5c1ae;opacity:.7}
.sigil{width:76px;height:67px;margin:0 0 13px;color:#c1cbb7;transition:color .25s,transform .35s;overflow:visible}
.sigil .fine{opacity:.3;stroke-width:.65}.sigil .nodes{fill:#18201a}
.museum-index .cell-label{font-size:clamp(11px,.9vw,14px);white-space:nowrap}
.museum-index small{font-size:9px;margin-top:5px;letter-spacing:.08em;color:#a8b29f}
.museum-index a.selected,.museum-index a:hover{color:#f4e7d2;background:#ccd5c508}
.museum-index a.selected .sigil,.museum-index a:hover .sigil{color:#e2c9f0;transform:translateY(-2px)}
.museum-index a:focus-visible{outline:none;background:#d7c6e815}
.fiducial{position:absolute;inset:7px;pointer-events:none;opacity:0;background:linear-gradient(#e0c7f1,#e0c7f1) left top/9px 1px no-repeat,linear-gradient(#e0c7f1,#e0c7f1) left top/1px 9px no-repeat,linear-gradient(#e0c7f1,#e0c7f1) right bottom/9px 1px no-repeat,linear-gradient(#e0c7f1,#e0c7f1) right bottom/1px 9px no-repeat;transition:opacity .2s}
.selected .fiducial{opacity:.5}.museum-index a:focus-visible .fiducial{opacity:1;background-size:15px 1px,1px 15px,15px 1px,1px 15px}
@media(max-width:1050px){body[data-view="home"] .index{grid-template-columns:1fr;align-content:center;gap:30px;max-width:750px;padding-top:110px}.intro h1 br{display:none}body[data-view="home"] .intro h1{max-width:27ch;margin:0 0 10px}body[data-view="home"] .intro p{max-width:none;margin:0}.museum-index a{height:150px}}
@media(max-width:500px){body[data-view="home"] .index{padding:105px 22px 110px;gap:27px}body[data-view="home"] .intro h1{font-size:24px;max-width:22ch}.museum-index a{height:132px;padding:20px 4px 12px}.sigil{width:61px;height:54px;margin-bottom:8px}.museum-index .cell-label{font-size:11px}.museum-index small{font-size:8px}.museum-index .cell-index{top:8px;left:9px;font-size:8px}}
@media(prefers-reduced-motion:reduce){.museum-index a,.sigil,.fiducial{transition:none}.museum-index a.selected .sigil,.museum-index a:hover .sigil{transform:none}}

/* Artwork is the doorway; the exhibition itself retains its vertical scenes. */
.worlds-entrance{max-width:1600px;margin:0 auto;padding:135px clamp(24px,5vw,100px) 125px}
.worlds-heading{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:35px}
.worlds-heading h1{font-size:clamp(26px,2.6vw,40px);margin:0;letter-spacing:-.04em}
.worlds-heading p{font-size:.72rem;color:#c4cabb;margin:0}
.world-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 22px}
.world-list li{min-width:0}.world-list a{display:block;padding:0;border:0;scroll-margin-block:110px}
.world-preview{position:relative;overflow:hidden;aspect-ratio:1.5;background:#141a15;border:1px solid #e7e5d42b}
.world-preview img{width:100%;height:100%;object-fit:cover;display:block;filter:brightness(.88);transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .4s}
.world-list .world-number{position:absolute;top:10px;left:10px;font-size:9px;color:#f2ead9;background:#080c0b99;padding:4px 5px}
.world-list .world-enter{position:absolute;right:10px;bottom:9px;color:#fff5e4;font-size:16px;opacity:0;transform:translate(-3px,3px);transition:opacity .2s,transform .3s}
.world-label{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-top:14px}
.world-label h2{font:inherit;font-size:clamp(12px,1.05vw,16px);margin:0;color:#e1e5d8}
.world-label small{font-size:9px;white-space:nowrap;color:#b8c1ad}
.world-list a:is(:hover,:focus-visible) img{transform:scale(1.035);filter:brightness(1)}
.world-list a:is(:hover,:focus-visible) .world-enter{opacity:1;transform:none}
.world-list a:focus-visible{outline:none}.world-list a:focus-visible .world-preview{outline:2px solid #dcc5ed;outline-offset:-3px}.world-list a:focus-visible h2{color:#e9d0f7}
@media(max-width:1000px){.world-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 20px}.worlds-heading{align-items:flex-start;flex-direction:column;gap:12px}.worlds-entrance{padding-top:120px}}
@media(max-width:500px){.worlds-entrance{padding:110px 24px 120px}.worlds-heading{margin-bottom:28px}.worlds-heading p{font-size:11px}.world-list{gap:26px 14px}.world-preview{aspect-ratio:1.2}.world-label{margin-top:10px;align-items:flex-start;flex-direction:column;gap:5px}.world-label h2{font-size:12px}.world-label small{font-size:9px}.world-list .world-enter{opacity:1;transform:none;font-size:13px}}
@media(prefers-reduced-motion:reduce){.world-preview img,.world-enter{transition:none}.world-list a:is(:hover,:focus-visible) img{transform:none}}

/* Desktop is one composed view, including smaller or zoomed desktop windows. */
@media(min-width:801px){
 body[data-view="home"] .index{width:min(100%,1420px);min-height:100svh;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);align-items:center;align-content:center;gap:clamp(24px,4vw,64px);max-width:1420px;padding:80px clamp(28px,5vw,100px)}
 body[data-view="home"] .intro h1{font-size:clamp(24px,2.4vw,38px);max-width:19ch;margin:0 0 24px}
 body[data-view="home"] .intro h1 br{display:initial}
 body[data-view="home"] .intro p{max-width:28ch;margin:0}
 body[data-view="home"] .index nav{min-width:0}
 body[data-view="home"] .museum-index a{height:clamp(90px,calc((100svh - 180px)/3),190px);padding:16px 8px 12px}
 body[data-view="home"] .sigil{width:clamp(44px,5.1vw,76px);height:clamp(38px,calc((100svh - 400px)/5),67px);margin-bottom:clamp(5px,1.2vh,13px)}
 body[data-view="home"] .museum-index .cell-label{font-size:clamp(10px,.95vw,14px)}
}
