:root{color-scheme:dark;--bg:#0f111b;--ink:#f1f1f7;--muted:#afb4c7;--blue:#b0c8ff;--violet:#c7b0ff;--line:#2d3243;--gold:#d9b477}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Sora,Arial,sans-serif;font-size:18px;line-height:1.65}button,a,input,summary{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}button{font:inherit;color:inherit;cursor:pointer;background:none;border:0}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,canvas:focus-visible{outline:2px solid var(--blue);outline-offset:5px}button:disabled{opacity:.4;cursor:default}[hidden]{display:none!important}.masthead{max-width:1800px;margin:auto;padding:28px 4.5%;display:flex;align-items:center;justify-content:space-between}.brand{font-size:28px;font-weight:600;letter-spacing:-1.8px}.brand span{color:var(--blue)}.back-link{font-size:14px;color:var(--muted)}.back-link span{margin-right:10px}.heading{max-width:1800px;margin:20px auto 34px;padding:0 4.5%}.eyebrow{font-size:12px!important;font-weight:500;letter-spacing:.12em;color:var(--muted);margin:0 0 14px}h1{font-size:clamp(38px,4.15vw,72px);font-weight:450;letter-spacing:-.055em;line-height:1.1;margin:0 0 20px}.heading>p:last-child{font-size:18px;margin:0;color:var(--muted)}#explorer{max-width:1800px;margin:auto;padding:0 4.5%}.view-tabs{display:flex;gap:34px;border-bottom:1px solid var(--line);margin-bottom:8px}.view-tabs button{font-size:16px;padding:14px 0 17px;position:relative;color:var(--muted)}.view-tabs button[aria-selected=true]{color:var(--ink)}.view-tabs button:after{content:'';height:2px;background:var(--blue);position:absolute;bottom:-1px;left:0;right:0;transform:scaleX(0);transform-origin:left;transition:transform .3s var(--fig-ease)}.view-tabs button[aria-selected=true]:after{transform:scaleX(1)}.explorer-layout{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(300px,1fr);gap:5%;align-items:start}.scene-column{min-width:0}.scene-stage{position:relative;width:100%;height:clamp(480px,58vh,720px);background:radial-gradient(ellipse at 50% 55%,#1b212f 0%,#121521 43%,#0f111b 73%);view-transition-name:nanoparticle-scene;isolation:isolate}.scene-stage canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:pan-y;outline-offset:-4px}.scene-badge{position:absolute;left:12px;top:24px;display:flex;align-items:center;gap:9px;font-size:15px;color:var(--gold);pointer-events:none}.scene-badge #scene-identity{font-size:14px;color:var(--muted);margin-left:5px}.gold-dot{width:7px;height:7px;border-radius:50%;background:var(--gold)}.scene-label{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);padding:6px 13px;max-width:95%;background:#0f111bdc;border:1px solid #3d4661;border-radius:30px;color:#dfebff;font-size:14px;white-space:nowrap;pointer-events:none}.paper{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;background:var(--bg);z-index:2;pointer-events:none;transform-origin:50% 55%}.paper-images{display:grid;grid-template-columns:1fr 1fr;gap:16px;width:min(94%,730px)}.paper figure{margin:0;min-width:0}.paper img{width:100%;height:auto;display:block}.paper figcaption{font-size:14px;margin-top:13px;color:#cdd6ed}.paper>p{font-size:12px;text-align:center;margin:22px 0 60px;color:var(--muted);line-height:1.8}.paper a{pointer-events:auto;text-decoration:underline;text-underline-offset:3px}.paper>p span{color:#9198ac}.shape-traces{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:3}.shape-traces path{fill:#94b6ff0a;stroke:#c6daff;stroke-width:3;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;filter:drop-shadow(0 1px 3px #000)}#triangle-trace{stroke:#dbc3ff}.intro-transport{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:22px;z-index:4}.primary{background:#dae6ff;color:#101728;border-radius:30px;padding:12px 24px;font-size:15px;font-weight:500}.primary span{margin-left:18px}.primary:hover{background:white;transform:translateY(-2px)}.quiet{color:var(--muted);font-size:14px;padding:10px}.scene-footer{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:10px}.scene-footer>p{font-size:13px;color:var(--muted);margin:0}.camera-controls{display:flex;align-items:center;gap:4px}.camera-controls button{min-width:36px;min-height:40px;font-size:19px;color:#cbd3e8;border-radius:8px}.camera-controls button:hover{background:#202739}.camera-controls .reset{font-size:13px;padding:8px 10px;white-space:nowrap}.touch-help{display:none}.inspection{padding:54px 0 30px}.caption{min-height:200px}.caption .eyebrow{color:var(--blue)}h2{font-size:clamp(25px,2.1vw,34px);font-weight:450;letter-spacing:-.045em;line-height:1.27;margin:0 0 20px}.caption>p:last-child{font-size:17px;line-height:1.75;color:#bdc3d6;margin:0 0 26px}.control-block{margin-top:26px}.control-label{font-size:14px;color:var(--muted);margin:0 0 12px}.choices{display:flex;gap:9px;flex-wrap:wrap}.choices button{border:1px solid #383f55;border-radius:8px;min-height:44px;padding:10px 14px;font-size:14px;text-align:left;display:inline-flex;align-items:center;gap:10px;transition:all 200ms ease}.choices button:hover{border-color:#98b4fe;background:#1b2439}.choices button[aria-pressed=true]{background:#1f2b48;color:#dce9ff;border-color:#82a6f0}.face-symbol{display:inline-block;width:13px;height:13px;border:1.5px solid currentColor}.face-symbol.triangle{border:0;clip-path:polygon(50% 0,100% 100%,0 100%);background:currentColor}.text-action{font-size:14px;padding:10px 0;color:#cbdbff;display:block;text-align:left;min-height:40px}.text-action span{margin-left:10px}.text-action:hover{color:white;transform:translateX(3px)}.neighbor-readout{display:flex;gap:16px;align-items:center;margin:25px 0 12px}.neighbor-readout strong{font-size:74px;line-height:1;font-weight:350;letter-spacing:-.065em;font-variant-numeric:tabular-nums}.neighbor-readout>span{font-size:15px;color:var(--muted);line-height:1.5}.neighbor-readout svg{width:90px;height:90px;margin-left:auto;max-width:30%}.range-heading{display:flex;align-items:center;justify-content:space-between;font-size:14px;color:var(--muted)}.range-heading output{font-size:25px;color:var(--ink)}input[type=range]{width:100%;margin:22px 0 0;accent-color:#aec6ff;min-height:24px;cursor:pointer}.range-ends{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}.size-readout{display:flex;gap:28px;margin:26px 0 18px}.size-readout>div{display:flex;flex-direction:column;gap:6px}.size-readout strong{font-size:38px;line-height:1;font-weight:400;letter-spacing:-.05em;font-variant-numeric:tabular-nums}.size-readout strong span{font-size:24px}.size-readout>div>span{font-size:12px;color:var(--muted)}.fraction-bar{background:#2d374e;height:7px;border-radius:4px;overflow:hidden}.fraction-bar>span{display:block;height:100%;background:var(--gold);width:39.2%;transition:width .2s ease}.fine{font-size:13px;line-height:1.7;color:#afb5c9}.paper-comparison{margin:25px 0 0}.paper-comparison summary{font-size:14px;cursor:pointer;color:#dbe1f0;display:flex;align-items:center;justify-content:space-between;gap:10px}.paper-comparison summary>span{color:var(--blue)}.paper-comparison>p{font-size:14px;color:var(--muted)}.paper-comparison>p.fine{font-size:13px}.energy-row{display:flex;align-items:center;gap:10px;font-size:13px;margin:13px 0}.energy-row>span{width:70px}.energy-row>div{flex:1}.energy-row i{display:block;height:6px;background:#b0c8ff;border-radius:4px}.energy-row:nth-of-type(2) i{background:var(--violet)}.energy-row strong{font-weight:400;min-width:53px}.notes{max-width:1800px;margin:50px auto 0;padding:0 4.5%}.notes>details{border-top:1px solid var(--line);padding-top:22px}.notes>details>summary{display:flex;justify-content:space-between;font-size:15px;color:var(--muted);cursor:pointer}.notes-grid{display:grid;grid-template-columns:1fr 1fr;gap:8%;padding:45px 0}.notes-grid p{font-size:16px;color:var(--muted)}.notes-grid h2{font-size:28px}.notes-grid a{text-decoration:underline;text-underline-offset:4px;color:#cadaff}.notes-grid .fine{font-size:14px}footer{max-width:1800px;margin:65px auto 0;padding:24px 4.5% 45px;display:flex;justify-content:space-between;font-size:13px;color:var(--muted);gap:20px}footer>a{color:#d4e1ff}footer>a span{margin-left:14px}.fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:var(--bg)}.fallback img,.fallback svg{width:100%;max-height:80%}.fallback p{font-size:14px;color:var(--muted);padding:0 20px}.skip{position:fixed;left:20px;top:-100px;z-index:100;background:#dfebff;color:#101827;padding:10px}.skip:focus{top:10px}.noscript{padding:20px}.scene-stage[data-fallback=true] canvas{visibility:hidden}.scene-stage[data-fallback=true] .scene-badge{display:none}
@media(min-width:1700px){.inspection{padding-top:80px}.caption{min-height:230px}.caption>p:last-child{font-size:19px}}
@media(max-width:1050px){.explorer-layout{gap:3%;grid-template-columns:minmax(0,1.7fr) minmax(275px,1fr)}.scene-stage{height:530px}.scene-footer{align-items:flex-start;flex-direction:column;padding-top:8px}.inspection{padding-top:36px}.choices button{padding:9px 11px;font-size:13px}.caption>p:last-child{font-size:17px}.size-readout{gap:22px}}
@media(max-width:760px){.masthead{padding:22px 6%}.heading{padding:0 6%;margin:24px 0 29px}.heading .eyebrow{font-size:10px!important}h1{font-size:39px;max-width:350px}.heading>p:last-child{font-size:17px;max-width:350px}#explorer{padding:0 6%}.view-tabs{gap:0;justify-content:space-between}.view-tabs button{font-size:14px;padding:14px 1px}.explorer-layout{display:flex;flex-direction:column;gap:0}.scene-column{width:100%}.scene-stage{height:420px;margin-top:5px}.scene-badge{left:0;top:13px;font-size:14px}.scene-badge #scene-identity{font-size:14px}.scene-footer{min-height:90px;gap:6px}.scene-footer>p{font-size:12px}.touch-help{display:block;font-size:11px}.camera-controls{width:100%;justify-content:flex-end}.camera-controls button{min-height:40px;min-width:40px}.inspection{width:100%;padding:25px 0 0}.caption{min-height:0}.caption h2{font-size:29px;max-width:360px}.caption>p:last-child{font-size:17px;margin-bottom:22px}.control-block{margin-top:22px}.choices button{font-size:14px;padding:10px 14px}.paper-images{gap:9px;width:100%}.paper figcaption{font-size:14px;line-height:1.4;margin-top:8px}.paper>p{font-size:10px;margin-top:16px;margin-bottom:40px}.intro-transport{bottom:20px}.paper{justify-content:center}.scene-label{font-size:14px;bottom:6px}.notes{margin-top:46px;padding:0 6%}.notes-grid{grid-template-columns:1fr;gap:22px;padding:30px 0}.notes-grid p{font-size:16px}footer{padding:20px 6% 30px;flex-direction:column;gap:12px;font-size:12px}.size-readout strong{font-size:44px}.size-readout>div>span{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.shape-traces{display:none}}

#fallback-graphic{width:100%;max-height:80%;display:flex;align-items:center;justify-content:center}#fallback-graphic svg{max-height:420px;width:100%}

.scene-badge{background:#0f111be8;border-radius:20px;padding:5px 11px;left:8px;top:15px}
.skip:not(:focus){clip-path:inset(100%)}

.explorer-toolbar{display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--line);margin-bottom:8px}
.explorer-toolbar .view-tabs{flex:1;border:0;margin:0}
.paper-open{font-size:14px;min-height:44px;padding:8px 0 8px 12px;color:#cbdbff;white-space:nowrap}
.paper-open:hover{color:white}
.paper-dialog{width:min(1100px,94vw);max-height:92dvh;padding:30px;border:1px solid #394259;border-radius:16px;background:#141825;color:var(--ink);overflow:auto;box-shadow:0 28px 100px #0009}
.paper-dialog::backdrop{background:#060a13d9;backdrop-filter:blur(7px)}
.paper-dialog[open]{animation:paper-arrive 220ms var(--fig-ease) both}
@keyframes paper-arrive{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:none}}
.paper-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:20px}
.paper-dialog-header h2{margin:0;font-size:32px}.paper-dialog-header .eyebrow{margin:0 0 7px}
.paper-close{font-size:14px;min-height:44px;color:#cbdbff;display:flex;align-items:center;gap:18px}
.paper-close span{font-size:27px;font-weight:300;line-height:1}
.paper-dialog-intro{max-width:700px;font-size:17px;line-height:1.65;color:#bdc3d6;margin:20px 0 26px}
.paper-dialog-images{display:grid;grid-template-columns:1fr 1fr;gap:22px}.paper-dialog-images figure{margin:0;min-width:0}.paper-dialog-images img{display:block;width:100%;height:auto}.paper-dialog-images figcaption{font-size:14px;margin:12px 0 0;color:#cdd6ed}
.paper-dialog-credit{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px}.paper-dialog-credit p{font-size:13px;color:#afb4c7;line-height:1.7;margin:0}.paper-dialog-credit cite{font-style:normal}.paper-dialog-credit>div{display:flex;flex-direction:column;gap:8px;flex-shrink:0}.paper-dialog-credit a{font-size:14px;color:#cbdbff;text-decoration:underline;text-underline-offset:4px}
@media(max-width:760px){.explorer-toolbar{gap:0;flex-wrap:wrap}.explorer-toolbar .view-tabs{flex-basis:100%;width:100%}.paper-open{margin-left:auto;padding:8px 0;font-size:14px}.paper-dialog{padding:20px;width:94vw;max-height:92dvh;border-radius:12px}.paper-dialog-header{align-items:flex-start;gap:12px}.paper-dialog-header h2{font-size:27px}.paper-close{font-size:13px;max-width:125px;line-height:1.4;gap:10px;text-align:right}.paper-dialog-intro{font-size:17px;margin:18px 0 22px}.paper-dialog-images{grid-template-columns:1fr;gap:25px}.paper-dialog-credit{flex-direction:column;align-items:flex-start;gap:18px}}

/* Introduction above the explorer */
.heading .fig-question{max-width:40ch}
.heading .fig-intro{margin-top:26px;--fig-intro-line:var(--line)}

/* Opening controls stay within reach while any of the stage is on screen; the tour's paper and controls appear only when the first-visit opening runs
   (without JavaScript the paper stays, by the noscript style in the page head) */
.intro-dock{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;pointer-events:none;z-index:4}
.intro-transport{position:sticky;left:auto;bottom:15px;transform:none;margin-bottom:15px;pointer-events:auto;gap:8px;padding:4px 10px 4px 4px;border-radius:32px;background:#0f111bc4;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.primary{white-space:nowrap}
html:not(.fig-opening):not(.fig-opened) :is(#paper,#intro-transport){display:none}
/* The paper's own colours: Figure 1 frames the nanocubes {100} in red and the octahedra {111} in violet */
.shape-traces #square-trace{stroke:#ff9c87;fill:#ff7a620a}
/* The outlines belong to the stage: even if the reader zooms in during the lift, nothing is drawn over the tabs or the text */
.shape-traces{overflow:hidden}
.energy-row:nth-of-type(1) i{background:#ff9c87}
.paper-comparison>p.energy-scale{margin:-4px 0 4px}
@media(max-width:760px){.intro-transport{bottom:20px;margin-bottom:20px}}
/* On a phone the reading section moves below the explorer (phone-order.js), out of the padded heading: it keeps the page's 6% gutter */
@media(max-width:760px){main>.fig-intro{padding-left:6%;padding-right:6%}}
