/* The molecular stage keeps the same scale through both representations. */
.moleculePlate{background:#102e42;box-shadow:inset 0 1px 0 #ffffff18}
.twoViews{position:relative;isolation:isolate;aspect-ratio:1;margin-top:6px}
.twoViews.canTurn{touch-action:pan-y pinch-zoom;cursor:grab;user-select:none;-webkit-user-select:none}
.twoViews.canTurn:active{cursor:grabbing}
.twoViews.canTurn img{pointer-events:none}
.twoViews.rotating img{visibility:hidden}
.spinLayer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;mask-image:linear-gradient(transparent,#000 4%,#000 96%,transparent);border-radius:12%}
.spinLayer.shown{opacity:1}
.stillAngles{background-size:400% 300%;background-repeat:no-repeat}
.orbit{max-width:420px;margin:auto}
.orbit>div{display:flex;align-items:center;gap:14px}
.orbit button{display:grid;place-items:center;width:46px;height:46px;flex:none;padding:0;background:#e6f8ff;color:#102e42;border:1px solid transparent;border-radius:50%;cursor:pointer}
.orbit input[type=range]{position:static;opacity:1;min-width:32px;width:100%;height:46px;margin:0;accent-color:#9ae8fe;cursor:pointer;appearance:none;background:none;color:#b3eefc}
.orbit input::-webkit-slider-runnable-track{height:5px;border-radius:6px;background:linear-gradient(to right,#9ae8fe var(--turn),#758d9e var(--turn))}
.orbit input::-webkit-slider-thumb{appearance:none;width:21px;height:21px;border-radius:50%;background:white;box-shadow:0 1px 5px #00141f88;margin-top:-8px}
.orbit input::-moz-range-track{height:5px;background:#758d9e}
.orbit input::-moz-range-progress{background:#9ae8fe;height:5px}
.orbit input::-moz-range-thumb{background:white;border:0;width:21px;height:21px;border-radius:50%}
.orbit bdi{min-width:5ch;text-align:end;font-variant-numeric:tabular-nums;font-size:.94rem}
.orbit small{display:block;text-align:center;color:#c6e0eb;font-size:.9rem;line-height:1.5;margin-top:4px}
.orbit :focus-visible{outline:3px solid #ffc767;outline-offset:3px}
.shapeStory .moleculePlate figcaption{border-top:1px solid #ffffff30;margin-top:18px;padding-top:8px}
@media(max-width:390px){.orbit>div{gap:9px}}
@media(forced-colors:active){.orbit input[type=range],.orbit input::-webkit-slider-thumb{appearance:auto}.orbit button{border-color:ButtonText}}
/* Keep the preview and the poster in exactly the same grid cell. */
.tiles .tile.ai{background:radial-gradient(ellipse at 50% 75%,#15405a,#0b2335 68%)}
.tiles .tile.ai .previewFilm{position:absolute;grid-area:2/1;inset:0;width:100%;height:100%;padding:6px 8% 12px;object-fit:contain;object-position:center;z-index:-1;pointer-events:none;opacity:0}
.tiles .tile.ai.showFilm .previewFilm{opacity:1}
.tiles .tile.ai.showFilm>img{opacity:0}
.tiles .tile.ai:hover>img,.tiles .tile.code:hover .microCover img{transform:none}
.fundBar{display:flex;overflow:hidden;height:12px;border-radius:9px;margin-top:14px;background:#c1d6d6}
.fundScale{display:flex;justify-content:space-between;font-size:.85rem;color:#204749}
.fundBar i{display:block;width:100%;height:100%;background:#086a68;transform:scaleX(var(--fraction));transform-origin:left}
[dir=rtl] .fundBar i{transform-origin:right}
.modelImage{position:relative;touch-action:pan-y pinch-zoom}
.modelImage .lastAngle{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
@media screen and (prefers-reduced-motion:no-preference){
 .orbit button,.moleculePlate label,.versions label{transition:background-color .2s,color .2s,transform .2s var(--ease)}
 .orbit button:active,.versions label:active,.moleculePlate label:active{transform:scale(.96)}
 .fundBar i{transition:transform .15s ease-out}
 .forecast[open]>:not(summary){animation:arrive .3s var(--ease)}
 .tile.code.scan .microCover svg{animation:traceField 1.9s .1s var(--ease) both}
 .tile.code.scan .microCover:after{content:"";position:absolute;inset:0;border-inline-end:1px solid #9affef;background:linear-gradient(90deg,transparent 86%,#5ffbe53b);animation:scanField 1.9s .1s var(--ease) both}
 @keyframes traceField{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
 @keyframes scanField{0%{transform:translateX(-100%);opacity:0}12%,74%{opacity:1}100%{transform:translateX(0);opacity:0}}
 @keyframes inkIn{from{opacity:0;transform:translateY(5px)}}
 .hero .shortcuts{animation:inkIn .46s .18s var(--ease) backwards}
 .shortcuts a svg,.publicPath>svg,.link>svg{transition:translate .25s var(--ease)}
 .shortcuts a:is(:hover,:focus-visible) svg{translate:0 3px}
 .publicPath:is(:hover,:focus-visible)>svg{translate:3px}
 [dir=rtl] .publicPath:is(:hover,:focus-visible)>svg{translate:-3px}
 @keyframes changeView{from{opacity:.68}}
 .moleculePlate .twoViews:not(.rotating)>img,.versions>div a{animation:changeView .22s var(--ease)}
 #structures [data-complex]:not([hidden]){animation:arrive .24s var(--ease)}
 .publicPath img{transition:scale .48s var(--ease)}
 .publicPath:is(:hover,:focus-visible) img{scale:1.018}
}
@media(prefers-reduced-motion:reduce),print{
 .tiles .tile.ai.showFilm>img{opacity:1}
 .previewFilm{display:none}
}
@media print{
 .orbit,.spinLayer{display:none!important}
 .twoViews.rotating img{visibility:visible}
 .twoViews{aspect-ratio:auto}
}

/* Composite the black studio matte into the page, including on wide-gamut displays. */
.twoViews{background:#102e42;border-radius:16px}
.twoViews>img,.spinLayer,.tiles .tile.ai>img,.tiles .tile.ai .previewFilm{mix-blend-mode:screen}
.tiles .tile.ai>img,.tiles .tile.ai .previewFilm{padding:0 4%;top:-7px;height:calc(100% + 7px);transform:none}

@media print{.twoViews{background:none}.twoViews>img{mix-blend-mode:normal}}
