/* Engineering lines become solid type, then the B counter opens onto the scene. */
#nbs-brand-portal{display:none;position:fixed;inset:0;z-index:10000;overflow:hidden;isolation:isolate;touch-action:none}
html.portal-pending{overflow:hidden}
html.portal-pending #nbs-brand-portal:not([hidden]){display:block}
#nbs-brand-portal .portal-underlay{position:absolute;inset:0;background:#142923;transition:opacity .4s ease}
#nbs-brand-portal svg{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:hidden}
#nbs-brand-portal[data-state="zooming"] .portal-underlay{opacity:0}
#nbs-brand-portal[data-state="fading"]{opacity:0;transition:opacity .22s ease}
#nbs-brand-portal .portal-chrome{position:absolute;inset:clamp(20px,3.5vw,54px);pointer-events:none;transition:opacity .35s ease,transform .5s ease;animation:portal-chrome-in 1.2s ease both}
#nbs-brand-portal .portal-chrome:before{content:"";position:absolute;inset:-60px;background-image:linear-gradient(#adc5b60a 1px,transparent 1px),linear-gradient(90deg,#adc5b60a 1px,transparent 1px);background-size:64px 64px;mask-image:radial-gradient(ellipse,transparent 28%,#000 80%)}
#nbs-brand-portal .portal-chrome>i{position:absolute;width:22px;height:22px;border-color:#d9946499;border-style:solid;border-width:0}
#nbs-brand-portal .portal-chrome>i:nth-child(1){top:0;left:0;border-top-width:1px;border-left-width:1px}
#nbs-brand-portal .portal-chrome>i:nth-child(2){top:0;right:0;border-top-width:1px;border-right-width:1px}
#nbs-brand-portal .portal-chrome>i:nth-child(3){bottom:0;left:0;border-bottom-width:1px;border-left-width:1px}
#nbs-brand-portal .portal-chrome>i:nth-child(4){bottom:0;right:0;border-bottom-width:1px;border-right-width:1px}
#nbs-brand-portal .portal-datum{position:absolute;left:50%;width:46px;height:7px;transform:translateX(-50%);border-left:1px solid #d9946470;border-right:1px solid #d9946470;background:linear-gradient(#d9946480,#d9946480) center/100% 1px no-repeat}
#nbs-brand-portal .portal-datum:first-of-type{top:0}
#nbs-brand-portal .portal-datum:last-of-type{bottom:0}
#nbs-brand-portal #portal-drawing{transition:opacity .4s ease}
#nbs-brand-portal #portal-grid{animation:portal-grid-in 1.8s ease both}
#nbs-brand-portal #portal-structure{opacity:.35}
#nbs-brand-portal #portal-orbits{opacity:.35;transform-box:fill-box;transform-origin:center;animation:portal-orbit 5.2s cubic-bezier(.2,.7,.2,1) both}
#nbs-brand-portal #portal-dimensions{opacity:.6}
#nbs-brand-portal .portal-line{stroke-dasharray:1;stroke-dashoffset:1;animation:portal-draft 1.8s cubic-bezier(.3,.7,.2,1) .2s both}
#nbs-brand-portal #portal-structure .portal-floor{animation-duration:1.3s;animation-delay:calc(.35s + var(--floor)*.045s)}
#nbs-brand-portal #portal-dimensions .portal-line{animation-duration:1.3s;animation-delay:.7s}
#nbs-brand-portal #portal-scan{animation:portal-scan 2.4s cubic-bezier(.3,.6,.2,1) .25s both}
#nbs-brand-portal #portal-depth{stroke-width:1;transition:opacity .25s ease}
#nbs-brand-portal .portal-depth-layer{animation:portal-register 1.7s cubic-bezier(.22,.8,.22,1) calc(.12s + var(--layer)*.14s) both}
#nbs-brand-portal #portal-outline{transition:opacity .25s ease}
#nbs-brand-portal #portal-outline .portal-glyph{stroke:#d9b28e;stroke-width:1.5;stroke-dasharray:1;stroke-dashoffset:1;animation:portal-draft 1.55s cubic-bezier(.2,.65,.25,1) calc(.15s + var(--glyph)*.09s) both}
#nbs-brand-portal #portal-letters .portal-glyph{animation:portal-face .8s cubic-bezier(.22,.8,.22,1) calc(1.35s + var(--glyph)*.075s) both}
#nbs-brand-portal #portal-template{transition:opacity .25s ease}
#nbs-brand-portal[data-state="zooming"] :is(#portal-drawing,#portal-depth,#portal-outline,#portal-template,.portal-chrome){opacity:0}
#nbs-brand-portal[data-state="zooming"] .portal-chrome{animation:none;transform:scale(1.04)}
@keyframes portal-chrome-in{from{opacity:0}to{opacity:1}}
@keyframes portal-grid-in{from{opacity:0}to{opacity:.23}}
@keyframes portal-draft{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes portal-orbit{from{transform:rotate(-35deg)}to{transform:rotate(12deg)}}
@keyframes portal-scan{0%{opacity:0;transform:translateY(0)}20%{opacity:.8}80%{opacity:.65}100%{opacity:0;transform:translateY(260px)}}
@keyframes portal-register{0%{opacity:0;transform:translate(calc(var(--layer)*42px),calc(var(--layer)*-30px))}25%{opacity:.8}100%{opacity:.16;transform:translate(0,0)}}
@keyframes portal-face{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){#nbs-brand-portal .portal-chrome{inset:24px 20px}#nbs-brand-portal .portal-chrome:before{background-size:48px 48px}#nbs-brand-portal #portal-outline .portal-glyph{stroke-width:3.2}#nbs-brand-portal #portal-template{stroke-width:3}#nbs-brand-portal #portal-depth{stroke-width:2}#nbs-brand-portal #portal-structure .portal-line{stroke-width:1.6}}
@media(prefers-reduced-motion:reduce){#nbs-brand-portal *{animation:none!important}#nbs-brand-portal :is(#portal-drawing,#portal-outline,#portal-depth,#portal-template,.portal-chrome){display:none}#nbs-brand-portal .portal-underlay{transition:none}}
