/* ==========================================================================
   3D gateway — Concept A (explore) and Concept B (the story)
   ========================================================================== */
.gw3{position:relative;height:calc(100svh - 4.25rem);min-height:36rem;overflow:hidden;isolation:isolate}
.gw3{background:linear-gradient(180deg,#9db7d6 0%,#c3d0dc 38%,#e6dccd 72%,#e9e2d6 100%)}

.gw3-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity 1.2s ease}
.gw3::after{content:"";position:absolute;inset:0 0 auto 0;height:58%;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(241,242,239,.96) 0%,rgba(241,242,239,.86) 30%,rgba(241,242,239,.5) 62%,rgba(241,242,239,0) 100%);-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 36%,rgba(0,0,0,.45) 48%,transparent 60%);mask-image:linear-gradient(90deg,#000 0%,#000 36%,rgba(0,0,0,.45) 48%,transparent 60%)} /* only behind the headline: the rest of the scene stays unveiled */

.has3d.ready .gw3-canvas{opacity:1}
/* the still: this building's opening frame, on screen at once while the 3D builds behind it. When the 3D is
   ready it fades in over the still (same frame, so the change is near invisible) and the camera starts to glide */
.gw3-poster{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;opacity:0;transition:opacity .35s ease;pointer-events:none;user-select:none}
.gw3-poster.on{opacity:1}
.gw3.has-poster.ready .gw3-canvas{transition-duration:.6s}
.gw3.has-poster .gw3-poster.on ~ .gw3-load{display:none}
/* the controls are on screen with the still: a copy stands in (not clickable) until the live controls take over,
   in the same place, the moment the camera finishes its glide in */
.gw3.has-poster[data-phase="end"]:not(.explore-on) .tools3d-pre{opacity:1}
.gw3.has-poster .tools3d,.gw3 .tools3d-pre{transition:none}
.gw3 .tools3d-pre{pointer-events:none}
.gw3.ready .tools3d-pre,.gw3.explore-on .tools3d-pre{display:none}
/* when the browser can run 3D,the 2D drawing never flashes on load; it only appears if the 3D fails */
.gl .gw3-fallback{visibility:hidden}
.gl-soft .gw3.has-poster .gw3-fallback{visibility:hidden} /* V7.8d: no graphics card: the still, not the drawing */
.gw3-load{position:absolute;left:50%;bottom:22%;z-index:2;width:min(14rem,40vw);height:2px;transform:translateX(-50%);background:rgba(20,24,28,.12);overflow:hidden;opacity:0;transition:opacity .4s}
.gw3-load::after{content:"";position:absolute;inset:0;width:40%;background:currentColor;animation:gwload 1.1s ease-in-out infinite}

.gl .gw3:not(.ready) .gw3-load{opacity:.6}
@keyframes gwload{from{transform:translateX(-100%)}to{transform:translateX(250%)}}
@media (prefers-reduced-motion:reduce){.gw3-load::after{animation:none;width:100%;opacity:.4}}
/* fallback drawing when 3D isn't available */
.gw3-fallback{position:absolute;inset:6rem 2% 8rem;display:flex;align-items:center;justify-content:center}
.gw3-fallback .bldg{max-height:100%;width:auto;max-width:100%}
.has3d .gw3-fallback{display:none}

.gw3-fallback .labels{display:none}

/* intro over the sky */
.gw3-intro{position:absolute;left:var(--gutter);top:clamp(1.5rem,4vh,3rem);width:min(40rem,46%);z-index:3;pointer-events:none}
.gw3-intro h1{font-size:clamp(2.3rem,1.4rem + 3.2vw,4.6rem);line-height:.98;font-stretch:114%;margin:0 0 .4em;color:#13171b;text-wrap:balance}
.gw3-intro p{font-size:clamp(1rem,.92rem + .35vw,1.2rem);line-height:1.5;color:#1d232a;margin:0;max-width:34em;text-shadow:0 1px 0 rgba(255,255,255,.35)}
.gw3-intro .hint{display:inline-flex;align-items:center;gap:.55rem;margin-top:1.1em;font-size:.92rem;color:#2d353d}
.gw3-intro .hint i{width:.55rem;height:.55rem;border-radius:50%;background:#1C2024;position:relative}
.gw3-intro .hint i::after{content:"";position:absolute;inset:-7px;border-radius:50%;border:1px solid #1C2024;animation:ping 2.4s ease-out infinite}
@keyframes ping{0%{transform:scale(.4);opacity:.8}100%{transform:scale(1.5);opacity:0}}
.gw3[data-focus="fire"] .gw3-intro,.gw3[data-focus="systems"] .gw3-intro{opacity:.5;transition:opacity .4s}
.gw3 .gw3-intro{transition:opacity .4s}

/* The two doors (V7.7): one joined bar. Lindley Fire is clear glass, Lindley Systems smoked glass; same size as the two
   cards it replaces. The glass blur runs at the higher quality levels only (data-q, set by scene/gw.js). */
.gw3-paths{position:absolute;right:var(--gutter);bottom:clamp(1rem,3vh,2rem);z-index:4;display:grid;grid-template-columns:1fr 1fr;gap:0;width:min(46rem,52%);border-radius:16px;overflow:hidden;box-shadow:0 30px 60px -32px rgba(8,12,18,.8)}
.gw3 .gpath{--pc:var(--graphite);position:relative;display:grid;grid-template-columns:auto 1fr auto;column-gap:.95rem;row-gap:.25rem;align-content:center;min-height:8.75rem;padding:1rem 1.1rem;border:0;border-radius:0;text-decoration:none;transition:filter .4s,opacity .4s}
.gw3 .gpath.f{--pc:var(--fire);color:#14181c;background:linear-gradient(180deg,rgba(255,255,255,.8),rgba(244,248,255,.6));-webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 0 0 1px rgba(255,255,255,.55)}
.gw3 .gpath.s{--pc:var(--sys);color:#fff;background:linear-gradient(180deg,rgba(14,14,16,.9),rgba(2,2,4,.85));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),inset 0 0 0 1px rgba(255,255,255,.08)}
.gw3[data-q="low"] .gpath,.gw3[data-q="lowest"] .gpath,.gw3.held3d .gpath{-webkit-backdrop-filter:none;backdrop-filter:none}
.gw3[data-q="low"] .gpath.f,.gw3[data-q="lowest"] .gpath.f{background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(244,248,255,.88))}
.gw3 .gpath .logo{grid-row:1 / span 2;align-self:center;display:flex}
.gw3 .gpath.s .logo{background:none;padding:0}
.gw3 .gpath:hover,.gw3 .gpath.on,.gw3 .gpath:focus-visible{transform:none}
.gw3 .gpath.f .logo img{height:2.6rem;width:auto}
.gw3 .gpath.s .logo img{height:1.45rem;width:auto}
.gw3 .gpath b{grid-column:2;font-family:var(--f-display);font-weight:660;font-size:1.08rem;line-height:1.15;align-self:end}
.gw3 .gpath > span:not(.logo){grid-column:2;font-size:.84rem;line-height:1.35;color:#2f363c;align-self:start}
.gw3 .gpath.s > span:not(.logo){color:#d6d8dc}
.gw3 .gpath em{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.gw3 .gpath .go{grid-column:3;grid-row:1 / span 2;align-self:center;display:grid;place-items:center;width:1.9rem;height:1.9rem;border-radius:50%;border:1.5px solid currentColor;color:var(--fire);transition:background .3s,color .3s,border-color .3s,transform .45s cubic-bezier(.2,.7,.1,1)}
.gw3 .gpath .go svg{width:.95rem;height:.95rem}
.gw3 .gpath.s .go{color:#ff4a40}
.gw3 .gpath:focus-visible{outline:2px solid var(--pc);outline-offset:-5px}
.gw3 .gpath.s:focus-visible{outline-color:#fff}
/* the half not being chosen steps back a little */
.gw3-paths:has(.gpath.on) .gpath:not(.on),.has-mouse .gw3-paths:has(.gpath:hover) .gpath:not(:hover){filter:saturate(.6) brightness(.92);opacity:.88}
/* Lindley Fire: water rises in the glass, one ripple spreads from the pointer, the arrow fills */
.gw3 .gp-water{position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(4,16,206,.46),rgba(4,16,206,.2) 55%,rgba(4,16,206,.05));transform:translateY(100%);transition:transform .9s cubic-bezier(.2,.7,.1,1)}
.gw3 .gp-ring{position:absolute;left:var(--mx,30%);top:var(--my,50%);width:16rem;height:16rem;margin:-8rem;border-radius:50%;border:2.5px solid rgba(4,16,206,.9);opacity:0;transform:scale(.04);z-index:-1;pointer-events:none}
@keyframes gp-ripple{0%{transform:scale(.04);opacity:.9}100%{transform:scale(1.6);opacity:0}}
.has-mouse .gw3 .gpath.f:hover .gp-water,.gw3 .gpath.f.on .gp-water,.gw3 .gpath.f.press .gp-water{transform:none}
.has-mouse .gw3 .gpath.f:hover .gp-ring,.gw3 .gpath.f.on .gp-ring,.gw3 .gpath.f.press .gp-ring{animation:gp-ripple 1.1s cubic-bezier(.2,.6,.2,1) both}
.has-mouse .gw3 .gpath.f:hover .gp-ring.b,.gw3 .gpath.f.on .gp-ring.b,.gw3 .gpath.f.press .gp-ring.b{animation-delay:.22s}
.has-mouse .gw3 .gpath.f:hover .go,.gw3 .gpath.f.on .go,.gw3 .gpath.f.press .go{background:var(--fire);border-color:var(--fire);color:#fff;transform:translateX(4px)}
/* Lindley Systems: a signal runs once around the rim, the arrow fills */
.gw3 .gp-trace{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;overflow:hidden}
.gw3 .gp-trace rect{width:calc(100% - 3px);height:calc(100% - 3px);fill:none;stroke:#ff3b30;stroke-width:2.5;stroke-dasharray:14 86;stroke-dashoffset:14;opacity:0;filter:drop-shadow(0 0 4px rgba(255,59,48,.9))}
@keyframes gp-signal{0%{stroke-dashoffset:14;opacity:1}85%{opacity:1}100%{stroke-dashoffset:-100;opacity:0}}
.has-mouse .gw3 .gpath.s:hover .gp-trace rect,.gw3 .gpath.s.on .gp-trace rect,.gw3 .gpath.s.press .gp-trace rect{animation:gp-signal 1.3s cubic-bezier(.4,0,.2,1) both}
.has-mouse .gw3 .gpath.s:hover .go,.gw3 .gpath.s.on .go,.gw3 .gpath.s.press .go{background:#e21d1d;border-color:#e21d1d;color:#fff;transform:translateX(4px)}
/* the pointer glow shared with other cards (motion.css) is replaced here by the two moments above */
.gw3 .gpath::after{display:none}

/* 3D labels */
.lbl-layer{position:absolute;inset:0;pointer-events:none;z-index:2}
.lbl3d{position:absolute;left:0;top:0;display:flex;align-items:center;gap:.4rem;white-space:nowrap;opacity:0;transition:opacity .3s ease;font:600 .8rem/1 var(--f-display);font-stretch:94%;will-change:transform}
.lbl3d i{width:.5rem;height:.5rem;border-radius:50%;margin-left:-.25rem;box-shadow:0 0 0 3px rgba(255,255,255,.85)}
.lbl3d span{background:rgba(255,255,255,.94);color:#14181c;padding:.32rem .5rem;border-radius:3px;box-shadow:0 6px 16px -8px rgba(0,0,0,.5);transform:translateY(-1.4rem)}
.lbl-fire i{background:#2f45ff}
.lbl-systems i{background:#e11f1f}
.lbl3d.on{opacity:1}

/* monitoring centre (off-site) */
.mon{position:absolute;right:var(--gutter);top:clamp(1.25rem,4vh,2.5rem);z-index:3;display:flex;flex-direction:column;gap:.15rem;padding:.7rem .9rem .7rem 2.6rem;border:1px dashed rgba(225,31,31,.7);border-radius:4px;background:rgba(255,255,255,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);font-size:.85rem;opacity:var(--mon,.6);transition:opacity .4s}
.mon::before{content:"";position:absolute;left:.85rem;top:50%;width:1.1rem;height:1.1rem;transform:translateY(-50%);background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23E11F1F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 29V15l10-7 10 7v14z'/%3E%3Cpath d='M12 29v-7h8v7'/%3E%3Cpath d='M16 8V3M12 5a5 5 0 0 1 8 0'/%3E%3C/svg%3E")}
.mon b{font-family:var(--f-display);font-weight:650;color:#14181c}
.mon span{color:#4b535b}
.mon-link{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2;overflow:visible}
.mon-line{fill:none;stroke:#e11f1f;stroke-width:1.4;stroke-dasharray:5 6;opacity:var(--mon,.6);animation:dash 1.2s linear infinite}
@keyframes dash{to{stroke-dashoffset:-22}}
.gw3:not(.has3d) .mon-link,.gw3:not(.has3d) .mon{display:none}

/* the transition into a section */
.wipe{position:fixed;inset:0;z-index:100;pointer-events:none;clip-path:circle(0 at var(--wx,50%) var(--wy,50%));transition:clip-path .7s cubic-bezier(.7,0,.2,1);display:flex;align-items:center;justify-content:center;background:#0000D8}
.wipe.systems{background:#000}
.wipe.go{clip-path:circle(150% at var(--wx,50%) var(--wy,50%))}
.wipe-card{opacity:0;transform:scale(.92);transition:opacity .35s ease .35s,transform .5s cubic-bezier(.2,.7,.1,1) .3s}
.wipe.go .wipe-card{opacity:1;transform:none}
.wipe .wf,.wipe .ws{display:none}
.wipe.fire .wf{display:flex;background:#fff;padding:1.4rem 2rem;border-radius:10px;box-shadow:0 30px 60px -30px rgba(0,0,0,.6)}
.wipe.fire .wf img{height:6rem;width:auto}
.wipe.systems .ws{display:flex}
.wipe.systems .ws img{height:3.6rem;width:auto}



@media (max-width:820px){
  .gw3{height:auto;min-height:0;display:flex;flex-direction:column}
  .gw3 .gw3-canvas{position:relative;inset:auto;height:68vw;min-height:16rem;order:2}
  .gw3 .mon-link{display:none}
  .gw3-intro{position:relative;left:auto;top:auto;width:auto;padding:1.75rem var(--gutter) .5rem;order:1}
  .gw3::after{display:none}
  .gw3-intro .hint{display:none}
  .gw3 .mon{display:none}
  .gw3-paths{position:relative;right:auto;bottom:auto;width:auto;grid-template-columns:1fr;padding:0 var(--gutter) 1.5rem;order:3}
  .gw3-fallback{position:relative;inset:auto;order:2;padding:0 var(--gutter)}
  .lbl3d{display:none}


}

/* ---------------- explore mode (both concepts) ---------------- */
.lbl3d{pointer-events:none;background:none;border:0;padding:0;cursor:pointer;color:inherit;text-align:left}
.lbl3d.on{pointer-events:auto}
.lbl3d.sel span{background:#14181c;color:#fff}
.lbl3d:focus-visible span{outline:2px solid #2f45ff;outline-offset:2px}

.tools3d{position:absolute;left:var(--gutter);bottom:clamp(1rem,3vh,2rem);z-index:5;display:flex;align-items:center;gap:.4rem;opacity:0;pointer-events:none;transition:opacity .5s ease}
.explore-on .tools3d{opacity:1;pointer-events:auto}
.tools3d button{height:2.5rem;min-width:2.5rem;padding:0 .8rem;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;border-radius:999px;border:1px solid rgba(20,24,28,.18);background:rgba(255,255,255,.88);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);font:600 .88rem var(--f-display);color:#14181c;cursor:pointer;box-shadow:0 8px 20px -12px rgba(0,0,0,.45)}
.tools3d button:hover{background:#fff}
.tools3d svg{width:1rem;height:1rem}
.tools3d .t-in,.tools3d .t-out{font-size:1.2rem;padding:0}
.tools3d .t-hint{margin-left:.5rem;font-size:.82rem;line-height:1.35;color:#2d353d;background:rgba(255,255,255,.7);padding:.35rem .6rem;border-radius:4px;max-width:15.5rem;transition:opacity .4s}
.touched .tools3d .t-hint{opacity:0}
.tools3d .t-explore,.tools3d .t-done{display:none}

.gw3 .gw3-canvas{cursor:grab}
.gw3 .gw3-canvas:active{cursor:grabbing}

/* component detail card */
.part-card{position:absolute;right:var(--gutter);top:50%;transform:translateY(-50%);z-index:6;width:min(23rem,40vw);padding:1.4rem 1.4rem 1rem;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:6px;box-shadow:0 30px 60px -30px rgba(10,14,20,.6);color:#14181c;animation:cardIn .35s cubic-bezier(.2,.7,.1,1)}
.part-card[data-system="fire"]{--pc:#0A14C8} .part-card[data-system="systems"]{--pc:#E11F1F}
@keyframes cardIn{from{opacity:0;transform:translate(12px,-50%)}to{opacity:1;transform:translateY(-50%)}}
.pc-close{position:absolute;right:.6rem;top:.5rem;width:2rem;height:2rem;border:0;background:none;font-size:1.5rem;line-height:1;cursor:pointer;color:#4b535b;border-radius:50%}
.pc-close:hover{background:#eef0f1}
.pc-chip{display:inline-block;font:650 .78rem var(--f-display);color:var(--pc);border:1px solid currentColor;padding:.15rem .5rem;border-radius:2px}
.part-card[data-system="systems"] .pc-chip{color:#B3121B}
.pc-name{font-size:1.5rem;margin:.7rem 0 .5rem;line-height:1.1}
.pc-what{font-size:.98rem;margin:0 0 .6rem;color:#14181c}
.pc-why{font-size:.92rem;margin:0 0 1rem;color:#4b535b}
.pc-actions{display:flex;flex-wrap:wrap;gap:.5rem 1rem;align-items:center;padding-bottom:.9rem;border-bottom:1px solid #e2e4e1}
.pc-more{font:650 .92rem var(--f-display);color:#14181c;text-decoration:none;border-bottom:1.5px solid currentColor}
.pc-enter{font:650 .92rem var(--f-display);color:#fff;background:var(--pc);padding:.55rem .9rem;border-radius:3px;text-decoration:none}
.pc-enter:hover{filter:brightness(1.1)}
.pc-nav{display:flex;align-items:center;justify-content:space-between;padding-top:.6rem;font-size:.85rem;color:#4b535b}
.pc-nav button{width:2.2rem;height:2.2rem;border-radius:50%;border:1px solid #d6d9d8;background:#fff;font-size:1.3rem;line-height:1;cursor:pointer}
.pc-nav button:hover{border-color:#14181c}
.has-card .gw3-intro{opacity:0!important}
.has-card .film-cap{opacity:0;transition:opacity .4s}
.has-card .mon,.has-card .mon-link{opacity:0!important}
.lock-scroll,.lock-scroll body{overflow:hidden}

.touch-ui .tools3d .t-explore{display:inline-flex}
.touch-ui .tools3d .t-reset,.touch-ui .tools3d .t-in,.touch-ui .tools3d .t-out,.touch-ui .tools3d .t-hint{display:none}
.touch-ui .exploring .tools3d .t-explore{display:none}
.touch-ui .exploring .tools3d .t-done,.touch-ui .exploring .tools3d .t-reset,.touch-ui .exploring .tools3d .t-in,.touch-ui .exploring .tools3d .t-out{display:inline-flex}
.touch-ui .exploring .tools3d .t-hint{display:inline-block}
/* touch-only screens wider than a phone (tablets): the same full-screen 3D view phones get */
.touch-ui .gw3.exploring{position:fixed;inset:0;z-index:90;height:100%;min-height:0;background:#e9e2d6}
.touch-ui .gw3.exploring .gw3-canvas{position:absolute;inset:0;height:100%;width:100%}
.touch-ui .gw3.exploring .gw3-intro,.touch-ui .gw3.exploring .gw3-paths{display:none}
.touch-ui .gw3.exploring .tools3d{position:absolute;left:var(--gutter);right:var(--gutter);top:1rem;bottom:auto;margin:0}
.touch-ui .gw3.exploring .lbl3d{display:flex}

@media (max-width:820px){
  .gw3 .tools3d{position:relative;left:auto;bottom:auto;order:3;margin:.25rem var(--gutter) 1rem;flex-wrap:wrap}
  .gw3 .gw3-paths{order:4}
  .gw3.exploring{position:fixed;inset:0;z-index:90;height:100%;min-height:0;background:#e9e2d6}
  .gw3.exploring .gw3-canvas{position:absolute;inset:0;height:100%;width:100%}
  .gw3.exploring .gw3-intro,.gw3.exploring .gw3-paths{display:none}
  .gw3.exploring .tools3d{position:absolute;left:var(--gutter);right:var(--gutter);top:1rem;bottom:auto;margin:0}
  .gw3.exploring .lbl3d{display:flex}
  .part-card{left:var(--gutter);right:var(--gutter);top:auto;bottom:1rem;transform:none;width:auto;max-height:55vh;overflow:auto;animation:sheetIn .35s cubic-bezier(.2,.7,.1,1)}
  @keyframes sheetIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}

}

.gw3::after{transition:opacity .5s ease}
.has-card::after{opacity:0}

/* part-name chip that follows the cursor once zoomed in: names the component a click will open */
.go-chip{position:absolute;left:0;top:0;z-index:6;pointer-events:none;padding:.45rem .7rem .5rem;display:flex;flex-direction:column;gap:.22rem;border-radius:3px;font:650 .82rem/1 var(--f-display);color:#fff;background:#14181c;box-shadow:0 10px 24px -12px rgba(0,0,0,.55);opacity:0;transition:opacity .18s ease;white-space:nowrap;will-change:transform}
.go-chip.on{opacity:1}
.touch-ui .go-chip{display:none}
/* the two company cards stay on screen while a detail card is open; on wide screens the detail card sits above them */
@media (min-width:821px){.gw3 .part-card{top:5.5rem;transform:none;max-height:calc(100% - 5.5rem - 11.5rem);overflow:auto}}
.go-chip small{font:500 .72rem/1 var(--f-body);opacity:.85}
/* bigger hit area for labels: the dot and the name are both easy targets */
.lbl3d::before{content:"";position:absolute;left:-.45rem;right:-.3rem;top:-1.95rem;bottom:-.45rem}
.lbl3d span{padding:.38rem .6rem}
.lbl3d.on:hover span{background:#14181c;color:#fff}

/* phones: two-way system switch in the full-screen 3D view (no hover on touch) */
.sys-switch{display:none}
.touch-ui .exploring .sys-switch{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;position:absolute;left:var(--gutter);right:var(--gutter);bottom:max(1rem,env(safe-area-inset-bottom));z-index:6}
.touch-ui .exploring.has-card .sys-switch{display:none}
.touch-ui .sys-switch button{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;padding:.65rem .8rem;border-radius:6px;border:1px solid rgba(20,24,28,.16);background:rgba(255,255,255,.92);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#14181c;text-align:left;font:inherit;box-shadow:0 10px 24px -14px rgba(0,0,0,.5)}
.touch-ui .sys-switch button b{font:650 .95rem/1.1 var(--f-display)}
.touch-ui .sys-switch button small{font-size:.75rem;color:#5f656b}
.touch-ui .sys-switch button b{display:flex;align-items:center;gap:.5rem}.touch-ui .sys-switch button b::before{content:"";flex:none;width:.5rem;height:.5rem;border-radius:50%;background:#0A14C8;box-shadow:0 0 0 3px rgba(10,20,200,.14)}
.touch-ui .sys-switch button[data-sys="systems"] b::before{background:#ff3b30;box-shadow:0 0 8px 1px rgba(255,59,48,.5)}
.touch-ui .sys-switch button[data-sys="fire"][aria-pressed="true"]{background:#0A14C8;color:#fff}
.touch-ui .sys-switch button[data-sys="systems"][aria-pressed="true"]{background:#D41A1A;color:#fff}
.touch-ui .sys-switch button[aria-pressed="true"] small{color:rgba(255,255,255,.85)}

.touch-ui .lbl3d.dot span{display:none}
.touch-ui .lbl3d.dot i{width:.7rem;height:.7rem}
.lbl3d.flip{flex-direction:row-reverse}
.lbl3d.flip i{margin-left:0;margin-right:-.25rem}
.lbl-fire.flip span{border-left:0;border-right:3px solid #2f45ff}.lbl-systems.flip span{border-left:0;border-right:3px solid #e11f1f}

/* ==========================================================================
   The sequence: morning → evening → the story → back to morning (explore + choose)
   ========================================================================== */
/* a light wash behind the text by day, a dark one by night (--night is set by the 3D, 0..1) */
.gw3::before{content:"";position:absolute;inset:0 0 auto 0;height:56%;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(5,7,10,.88),rgba(5,7,10,.5) 45%,rgba(5,7,10,0));-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 45%,rgba(0,0,0,.2) 75%,transparent);mask-image:linear-gradient(90deg,#000 0%,#000 45%,rgba(0,0,0,.2) 75%,transparent);opacity:var(--night,0)}
.gw3::after{opacity:calc(1 - var(--night,0));transition:none}
.has-card.gw3::after,.has-card.gw3::before{opacity:0}
.gw3-intro h1,.gw3-intro p{transition:color .8s ease,text-shadow .8s ease}
/* what shows when */
.gw3-intro,.gw3 .film-cap,.gw3 .film-bar,.gw3 .gw3-paths{transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.1,1),visibility 0s}
.gw3[data-phase="story"] .gw3-intro{opacity:0;pointer-events:none}
.gw3:not([data-phase="story"]) .film-cap{opacity:0;pointer-events:none}
.gw3[data-phase="end"] .film-bar{opacity:0;pointer-events:none;visibility:hidden;transition:opacity .6s ease,visibility 0s .6s}
.gw3:not([data-phase="end"]) .gw3-paths{opacity:0;transform:translateY(14px);pointer-events:none}
.gw3:not(.has3d) .film-bar,.gw3:not(.has3d) .film-cap{display:none}
/* captions (the story runs at night) */
.gw3 .film-cap{position:absolute;left:var(--gutter);top:clamp(1.5rem,4vh,3rem);width:min(40rem,48%);min-height:13rem;z-index:3}
.film-cap .cap{position:absolute;inset:0 0 auto 0;opacity:0;transform:translateY(10px);transition:opacity .5s ease,transform .5s cubic-bezier(.2,.7,.1,1);pointer-events:none}
.film-cap .cap.on{opacity:1;transform:none;pointer-events:auto}
.film-cap .who{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--f-display);font-weight:620;font-size:.9rem;margin-bottom:.6rem;color:#aeb5bb}
.film-cap .who i{width:.6rem;height:.6rem;border-radius:50%;background:currentColor}
.film-cap .who.f{color:#8F98FF} .film-cap .who.s{color:#FF6B6B}
.film-cap h2{font-size:clamp(2rem,1.3rem + 2.4vw,3.6rem);line-height:1;margin:0 0 .35em;color:#fff;font-stretch:112%;text-shadow:0 2px 24px rgba(0,0,0,.6);text-wrap:balance}
.film-cap p{margin:0;color:#d3d8dd;font-size:clamp(1rem,.92rem + .3vw,1.18rem);max-width:44ch;text-shadow:0 1px 12px rgba(0,0,0,.8)}
/* the bar: play/pause, chapters, skip */
.gw3 .film-bar{position:absolute;left:var(--gutter);right:var(--gutter);bottom:clamp(1rem,3vh,1.75rem);z-index:5;display:grid;grid-template-columns:auto 1fr auto auto;gap:1.25rem;align-items:center}
.film-play{display:inline-flex;align-items:center;gap:.5rem;height:2.75rem;padding:0 1.1rem;border-radius:999px;border:1px solid rgba(20,24,28,.16);background:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#14181c;font:600 .92rem var(--f-display);cursor:pointer;box-shadow:0 8px 20px -12px rgba(0,0,0,.45);transition:background .6s,color .6s,border-color .6s}
.film-play:hover{background:#fff}
.film-play svg{width:1rem;height:1rem;fill:currentColor}
.film-play .i-play{display:none}
.gw3.paused .film-play .i-play{display:block} .gw3.paused .film-play .i-pause{display:none}
.gw3 .sq-rail{list-style:none;margin:0;padding:.55rem 1rem .5rem;display:grid;grid-template-columns:repeat(4,1fr);gap:.9rem;width:auto;max-width:40rem;border-radius:6px;background:rgba(255,255,255,.72);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .6s}
.gw3 .sq-rail li{position:relative;border-top:2px solid rgba(20,24,28,.16);padding:0}
.gw3 .sq-rail li::before{content:"";position:absolute;left:0;top:-2px;height:2px;width:0;background:var(--rc,#14181c);transition:width .5s cubic-bezier(.2,.7,.1,1)}
.gw3 .sq-rail li.s{--rc:#E11F1F} .gw3 .sq-rail li.f{--rc:#2f45ff}
.gw3 .sq-rail li:has(button.done)::before,.gw3 .sq-rail li:has(button.cur)::before{width:100%}
.gw3 .sq-rail button{display:block;width:100%;text-align:left;background:none;border:0;padding:.5rem 0 0;color:#5a636b;font:640 .9rem var(--f-display);cursor:pointer;transition:color .4s}
.gw3 .sq-rail button:hover,.gw3 .sq-rail button.cur,.gw3 .sq-rail button.done{color:#14181c}
.film-skip{justify-self:end;display:inline-flex;align-items:center;gap:.6rem;height:3rem;padding:0 1.35rem;border-radius:999px;border:0;background:#14181c;color:#fff;font:650 1rem var(--f-display);cursor:pointer;box-shadow:0 14px 30px -14px rgba(0,0,0,.65);transition:background .6s,color .6s,transform .2s}
.film-skip svg{width:1rem;height:1rem}
.film-skip:hover{transform:translateX(2px)}
.film-skip:focus-visible,.film-play:focus-visible,.gw3 .sq-rail button:focus-visible{outline:2px solid #2f45ff;outline-offset:3px}
/* night versions */
.gw3.night .film-play{background:rgba(10,14,20,.55);color:#fff;border-color:rgba(255,255,255,.35)}
.gw3.night .film-play:hover{background:rgba(255,255,255,.12)}
.gw3.night .sq-rail{background:rgba(10,14,20,.45)}
.gw3.night .sq-rail li{border-top-color:rgba(255,255,255,.2)}
.gw3.night .sq-rail li.s{--rc:#FF3B3B} .gw3.night .sq-rail li.f{--rc:#5B66FF}
.gw3.night .sq-rail button{color:#9aa3ab}
.gw3.night .sq-rail button:hover,.gw3.night .sq-rail button.cur,.gw3.night .sq-rail button.done{color:#fff}
.gw3.night .film-skip{background:#fff;color:#14181c}
.gw3.night .mon{background:rgba(10,14,20,.6);border-color:rgba(255,80,80,.55)}
.gw3.night .mon b{color:#fff} .gw3.night .mon span{color:#b9c0c7}
.gw3 .mon.live{border-style:solid;border-color:#ff3b3b;box-shadow:0 0 0 1px #ff3b3b,0 0 30px -4px rgba(255,59,59,.65);opacity:1}
.gw3.night .mon.live span{color:#ff8a8a}
.gw3.night .tools3d button{background:rgba(14,17,20,.75);color:#fff;border-color:rgba(255,255,255,.25)}
.gw3.night .lbl3d span{background:rgba(14,17,20,.92);color:#e8eaec}
@media (min-width:821px){
  /* captions read dark while the sky is still light (the start of the time-lapse, the end of the return) */
  .gw3:not(.night) .film-cap h2{color:#13171b;text-shadow:none}
  .gw3:not(.night) .film-cap p{color:#1d232a;text-shadow:0 1px 0 rgba(255,255,255,.35)}
  .gw3:not(.night) .film-cap .who{color:#4b535b} .gw3:not(.night) .film-cap .who.f{color:#0A14C8} .gw3:not(.night) .film-cap .who.s{color:#B3121B}
  .film-cap h2,.film-cap p{transition:color .8s ease,text-shadow .8s ease}
  .gw3.night .gw3-intro h1{color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.5)}
  .gw3.night .gw3-intro p{color:#d3d8dd;text-shadow:0 1px 12px rgba(0,0,0,.7)}
  /* while the story is paused, the explore tools sit above the bar */
  .gw3:not([data-phase="end"]) .tools3d{bottom:calc(clamp(1rem,3vh,1.75rem) + 4rem)}
}
/* explore tools: replay + season switch */
.gw3:not([data-phase="end"]) .t-replay{display:none}
.t-replay svg{width:.85rem;height:.85rem}
@media (max-width:820px){
  /* phones: text, then the 3D, then the bar; the headline and the captions share one slot so nothing jumps */
  .gw3{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"text" "canvas" "bar" "tools" "paths"}
  .gw3::before{display:none}
  .gw3 .gw3-intro,.gw3 .film-cap{grid-area:text;align-self:start}
  .gw3 .gw3-canvas,.gw3 .gw3-fallback,.gw3 .gw3-poster{grid-area:canvas}
  .gw3 .gw3-poster{position:relative;inset:auto;height:68vw;min-height:16rem}
  .gw3 .film-bar{grid-area:bar}
  .gw3 .tools3d{grid-area:tools}
  .gw3 .gw3-paths{grid-area:paths}
  .gw3 .film-cap{position:relative;left:auto;top:auto;width:auto;min-height:0;padding:1.75rem var(--gutter) .5rem;display:grid}
  .gw3[data-phase="story"] .gw3-intro{visibility:hidden}
  .gw3:not([data-phase="story"]) .film-cap{visibility:hidden}
  .film-cap .cap{grid-area:1 / 1;position:relative;inset:auto;transform:none;visibility:hidden}
  .film-cap .cap.on{visibility:visible}
  .film-cap h2{color:#13171b;text-shadow:none;font-size:clamp(1.9rem,1.4rem + 3vw,2.6rem)}
  .film-cap p{color:#1d232a;text-shadow:none}
  .film-cap .who{color:#4b535b} .film-cap .who.f{color:#0A14C8} .film-cap .who.s{color:#B3121B}
  .gw3 .film-bar{position:relative;left:auto;right:auto;bottom:auto;margin:.75rem var(--gutter) .5rem;grid-template-columns:auto 1fr auto auto;grid-template-areas:"play . full skip" "rail rail rail rail";gap:.6rem}
  .gw3 .film-full{grid-area:full}
  .gw3 .film-play{grid-area:play}
  .gw3 .film-skip{grid-area:skip}
  .gw3 .sq-rail,.gw3.night .sq-rail{grid-area:rail;max-width:none;background:none;padding:0;-webkit-backdrop-filter:none;backdrop-filter:none}
  .gw3 .sq-rail button{font-size:.78rem}
  .gw3[data-phase="end"] .film-bar{display:none}
  .gw3:not([data-phase="end"]) .gw3-paths{opacity:1;transform:none;pointer-events:auto}
  .gw3.night .film-play{background:#fff;color:#14181c;border-color:rgba(20,24,28,.16)}
  .gw3.night .film-skip{background:#14181c;color:#fff}
  .gw3.night .sq-rail li{border-top-color:rgba(20,24,28,.16)}
  .gw3.night .sq-rail button{color:#5a636b}
  .gw3.night .sq-rail button.cur,.gw3.night .sq-rail button.done{color:#14181c}
  .gw3.night .tools3d button{background:rgba(255,255,255,.92);color:#14181c;border-color:rgba(20,24,28,.18)}
}
}
/* full-screen 3D on touch devices: the stage stops being a grid, so the canvas, the part dots and the
   tools all share the whole screen (in a grid, a positioned child is placed inside its own grid cell) */
.gw3.exploring{display:block}
.gw3.exploring .gw3-canvas{grid-area:auto}
.gw3.exploring .film-cap,.gw3.exploring .film-bar,.gw3.exploring .t-replay{display:none}
.touch-ui .gw3.exploring .tools3d{flex-wrap:wrap}
/* full-screen 3D on touch devices: the stage stops being a grid, so the canvas, the part dots and the
   tools all share the whole screen (in a grid, a positioned child is placed inside its own grid cell) */
.gw3.exploring{display:block}
.gw3.exploring .gw3-canvas{grid-area:auto}
.gw3.exploring .film-cap,.gw3.exploring .film-bar,.gw3.exploring .t-replay{display:none}

/* phones: the part card as a bottom sheet (short first, swipe up for the full text) */
.pc-grab,.pc-expand,.pc-dots{display:none}
@media (max-width:820px){
  .gw3 .part-card{left:0;right:0;bottom:0;top:auto;transform:none;width:auto;max-height:72vh;overflow:auto;overscroll-behavior:contain;border-radius:16px 16px 0 0;border-top:0;padding:.55rem 1.15rem calc(1rem + env(safe-area-inset-bottom));box-shadow:0 -18px 40px -24px rgba(10,14,20,.55);animation:sheetIn .3s cubic-bezier(.2,.7,.1,1);touch-action:pan-y}
  .gw3 .part-card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--pc);border-radius:16px 16px 0 0}
  .gw3 .part-card:not([hidden]){display:flex;flex-direction:column}
  .pc-chip{align-self:flex-start}
  .pc-actions{order:5} .pc-expand{order:6} .pc-dots{order:7}
  .pc-grab{display:block;width:2.6rem;height:4px;border-radius:2px;background:#d3d6d4;margin:.35rem auto .7rem}
  .pc-close{top:.7rem;right:.7rem;width:2.5rem;height:2.5rem}
  .pc-chip{font-size:.72rem}
  .pc-name{font-size:1.22rem;margin:.5rem 2.5rem .35rem 0}
  .pc-what{font-size:.95rem;margin:0 0 .8rem}
  .part-card:not(.full) .pc-why,.part-card:not(.full) .pc-more{display:none}
  .pc-why{font-size:.92rem}
  .pc-actions{border-bottom:0;padding-bottom:.2rem;gap:.6rem 1rem}
  .part-card .pc-enter{display:none} /* phones: the company cards below the 3D are the way in */
  .part-card:not(.full) .pc-actions{display:none}
  .pc-enter{flex:1 1 100%;text-align:center;padding:.8rem 1rem;font-size:.98rem;border-radius:6px}
  .pc-expand{display:block;width:100%;margin:.2rem 0 .1rem;padding:.6rem;border:0;background:none;font:600 .9rem var(--f-display);color:#4b535b;cursor:pointer}
  .pc-expand::after{content:"";display:inline-block;width:.45rem;height:.45rem;margin-left:.5rem;border-right:2px solid currentColor;border-top:2px solid currentColor;transform:translateY(-1px) rotate(-45deg)}
  .part-card.full .pc-expand::after{transform:translateY(-4px) rotate(135deg)}
  .pc-dots{display:flex;justify-content:center;gap:.35rem;padding-top:.35rem}
  .pc-dots i{width:.38rem;height:.38rem;border-radius:50%;background:#d3d6d4}
  .pc-dots i.on{background:var(--pc);width:1rem;border-radius:3px}
  /* the arrows stay for screen readers; on screen, swipe sideways */
  .pc-nav{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}

/* ---- building and season buttons (labels show on hover) and the building swap ---- */
.tools3d [data-tip]{position:relative}
.tools3d [data-tip]::after{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + .55rem);transform:translate(-50%,4px);white-space:nowrap;font:600 .78rem/1 var(--f-display);background:#14181c;color:#fff;padding:.45rem .6rem;border-radius:4px;opacity:0;pointer-events:none;transition:opacity .15s ease,transform .15s ease}
.tools3d [data-tip]:hover::after,.tools3d [data-tip]:focus-visible::after{opacity:1;transform:translate(-50%,0)}
.touch-ui .tools3d [data-tip]::after{display:none}
.gw3 .gw3-canvas,.gw3 .lbl-layer{transition:opacity .3s ease}
.gw3.swapping .gw3-canvas,.gw3.swapping .lbl-layer,.gw3.swapping .mon-link{opacity:0}
.gw3.swapping .tools3d{pointer-events:none}
@media (prefers-reduced-motion: reduce){.gw3 .gw3-canvas,.gw3 .lbl-layer{transition:none}}
/* the city scene draws the monitoring center in the world, so the off-site label is not needed */
.gw3[data-building="city"] .mon,.gw3[data-building="city"] .mon-link{display:none}

/* ---------------------------------------------------------------- Watch: a small menu with the two films */
.t-watch{position:relative;display:inline-flex}
.t-watch .t-watch-btn{gap:.45rem}
.t-watch .t-watch-btn svg{width:.85rem;height:.85rem}
.t-watch-menu{position:absolute;left:0;bottom:calc(100% + .5rem);min-width:15rem;padding:.35rem;border-radius:12px;background:rgba(255,255,255,.97);border:1px solid rgba(20,24,28,.14);box-shadow:0 18px 40px -18px rgba(0,0,0,.45);display:grid;gap:.15rem;z-index:8}
.t-watch-menu[hidden]{display:none}
.tools3d .t-watch-menu button{height:auto;min-height:2.5rem;width:100%;justify-content:space-between;gap:1rem;border:0;border-radius:8px;background:none;box-shadow:none;padding:.5rem .8rem;font:600 .88rem var(--f-display);color:#14181c;-webkit-backdrop-filter:none;backdrop-filter:none}
.tools3d .t-watch-menu button b{font:inherit}
.tools3d .t-watch-menu button small{font:500 .78rem var(--f-body);color:#5a636b;font-variant-numeric:tabular-nums}
.has-mouse .tools3d .t-watch-menu button:hover,.tools3d .t-watch-menu button:focus-visible{background:#eef0f2}
.gw3.night .t-watch-menu{background:rgba(16,19,23,.96);border-color:rgba(255,255,255,.16)}
.gw3.night .tools3d .t-watch-menu button{color:#fff}.gw3.night .tools3d .t-watch-menu button small{color:#aab3bc}
.touch-ui .tools3d .t-replay{display:inline-flex}
/* ---------------------------------------------------------------- the install film: captions and its own control bar */
.gw3[data-phase="install"] .gw3-intro{opacity:0;pointer-events:none}
.gw3[data-phase="install"] .film-bar,.gw3[data-phase="install"] .film-cap{display:none}
.gw3:not([data-phase="install"]) .ins-cap,.gw3:not([data-phase="install"]) .ins-bar{display:none}
.ins-cap{position:absolute;left:var(--gutter);bottom:calc(clamp(1rem,3vh,2rem) + 3.6rem);z-index:6;max-width:min(32rem,48%);padding:.95rem 1.15rem 1.05rem;border-radius:8px;background:linear-gradient(90deg,rgba(10,12,16,.66),rgba(10,12,16,.34));color:#fff;pointer-events:none;opacity:0;transition:opacity .2s linear}
.ins-nocaps .ins-cap{visibility:hidden}
.ins-cap::before{content:"";display:block;width:2.4em;height:3px;margin-bottom:.75em;background:#2f45ff}
.ins-cap[data-side="sys"]::before{background:#ff2a2a}
.ins-cap[data-side="both"]::before{background:linear-gradient(90deg,#2f45ff 50%,#ff2a2a 50%)}
.ins-cap .cc{display:block;font:700 .72rem/1 var(--f-body);letter-spacing:.16em;text-transform:uppercase;color:#cfd6ff;margin-bottom:.6em}
.ins-cap[data-side="sys"] .cc{color:#ffc9c9}.ins-cap[data-side="both"] .cc{color:#e6e6e6}
.ins-cap .ct{display:block;font:700 clamp(1.25rem,1rem + .9vw,1.85rem)/1.08 var(--f-display);font-stretch:90%;text-wrap:balance}
.ins-cap .cl{display:block;font:500 .95rem/1.45 var(--f-body);color:#eef0f2;margin-top:.4em}
.ins-cap .cl:empty{display:none}
.ins-bar{position:absolute;left:var(--gutter);right:var(--gutter);bottom:clamp(1rem,3vh,2rem);z-index:6;display:flex;align-items:center;gap:.6rem;padding:.45rem;border-radius:999px;background:rgba(255,255,255,.9);border:1px solid rgba(20,24,28,.14);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.ins-bar button{height:2.2rem;padding:0 1rem;border-radius:999px;border:1px solid rgba(20,24,28,.16);background:#fff;font:600 .85rem var(--f-display);color:#14181c;cursor:pointer;white-space:nowrap}
.ins-bar .ins-skip{background:#14181c;color:#fff;border-color:#14181c}
.ins-track{position:relative;flex:1;min-width:4rem;height:2.2rem;cursor:pointer;touch-action:none}
.ins-track::before{content:"";position:absolute;left:0;right:0;top:50%;height:4px;margin-top:-2px;border-radius:2px;background:rgba(20,24,28,.14)}
.ins-fill{position:absolute;left:0;top:50%;height:4px;margin-top:-2px;border-radius:2px;background:linear-gradient(90deg,#2f45ff,#ff2a2a);width:0}
.ins-track b{position:absolute;top:50%;width:3px;height:12px;margin:-6px 0 0 -1px;border-radius:2px;background:#2f45ff}
.ins-track b.sys{background:#ff2a2a}.ins-track b.both{background:#7a4c9e}
.ins-bar button:focus-visible,.ins-track:focus-visible{outline:2px solid #2f45ff;outline-offset:2px}
@media (max-width:820px){
  .gw3 .ins-cap{grid-area:canvas;position:absolute;left:.75rem;right:auto;bottom:.75rem;max-width:calc(100% - 1.5rem);padding:.65rem .8rem .7rem}
  .gw3 .ins-cap .ct{font-size:1.05rem}.gw3 .ins-cap .cl{font-size:.8rem}
  .gw3 .ins-bar{grid-area:bar;position:relative;left:auto;right:auto;bottom:auto;margin:.75rem var(--gutter) .5rem;flex-wrap:wrap;border-radius:14px}
  .gw3 .ins-track{order:-1;flex-basis:100%}
  .gw3[data-phase="install"] .gw3-intro{visibility:hidden}
}

/* the gateway inside the How we install page (?embed): only the 3D and its controls */
.embed .gw-top,.embed .skip,.embed .gw-help,.embed .gw-more,.embed footer,.embed .gw3-paths,.embed .gw3-intro,.embed .mon,.embed .mon-link{display:none!important}
.embed body{background:#0e1114}
.embed .gw3{height:100vh;height:100svh;min-height:0}
@media (max-width:820px){.embed .gw3{display:block}.embed .gw3 .gw3-canvas,.embed .gw3 .gw3-poster{position:absolute;inset:0;height:100%}.embed .gw3 .ins-bar{position:absolute;left:.5rem;right:.5rem;bottom:.5rem;margin:0}.embed .gw3 .ins-cap{bottom:6.2rem}.embed .gw3 .tools3d{position:absolute;left:.5rem;bottom:.5rem;margin:0}}

/* full screen, for both films: true full screen where the browser has it, otherwise the film fills the window (iPhone) */
.film-full{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;padding:0;border-radius:999px;border:1px solid rgba(20,24,28,.16);background:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#14181c;cursor:pointer;box-shadow:0 8px 20px -12px rgba(0,0,0,.45)}
.film-full:hover{background:#fff}
.film-full svg,.ins-bar .ins-full svg{width:1rem;height:1rem}
.ins-bar .ins-full{display:inline-flex;align-items:center;justify-content:center;padding:0;width:2.2rem}
.film-full:focus-visible{outline:2px solid #2f45ff;outline-offset:3px}
[data-full] .i-out,[data-full][aria-pressed="true"] .i-in{display:none}[data-full][aria-pressed="true"] .i-out{display:inline}
.gw3.is-full,.gw3:fullscreen{width:100%;height:100vh;height:100dvh;min-height:0;border-radius:0}
.gw3:-webkit-full-screen{width:100%;height:100%;min-height:0}
.embed:fullscreen .gw3{height:100vh;height:100dvh}
html.gw-full,html.gw-full body{overflow:hidden}
.gw-full .gw3.is-full{position:fixed;inset:0;z-index:1000;height:100%}
@media (max-width:820px){
  .gw3.is-full{display:block}
  .gw3.is-full .gw3-canvas,.gw3.is-full .gw3-poster,.gw3.is-full .gw3-fallback{position:absolute;inset:0;height:100%;min-height:0}
  .gw3.is-full .film-bar{position:absolute;left:.5rem;right:.5rem;bottom:.5rem;margin:0;padding:.45rem .6rem;border-radius:14px;background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
  .gw3.is-full .film-cap{position:absolute;left:0;right:0;top:0;padding:1rem 1rem 1.4rem;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.75) 70%,rgba(255,255,255,0))}
  .gw3.is-full .film-cap h2{font-size:clamp(1.3rem,1rem + 2vw,1.9rem)}
  .gw3.is-full .ins-bar{position:absolute;left:.5rem;right:.5rem;bottom:.5rem;margin:0}
  .gw3.is-full .ins-cap{bottom:6.2rem}
  .gw3.is-full .tools3d{position:absolute;left:.5rem;bottom:.5rem;margin:0}
  .gw3.is-full .gw3-paths,.gw3.is-full .gw3-intro{display:none}
}
@media (max-height:500px) and (orientation:landscape){
  .gw3.is-full .film-cap{max-width:60%}
  .gw3.is-full .ins-cap{bottom:4.2rem;max-width:min(26rem,55%)}
  .gw3.is-full .ins-track{order:0;flex-basis:auto}
  .gw3.is-full .ins-bar{flex-wrap:nowrap;border-radius:999px}
}

/* "Getting the film ready" while the install film finishes preparing (normally it's ready before anyone presses Watch) */
.gw-prep{position:absolute;left:50%;bottom:clamp(1.25rem,4vh,2.5rem);z-index:7;transform:translate(-50%,.5rem);padding:.6rem 1.1rem;border-radius:999px;background:rgba(14,17,20,.82);color:#fff;font:600 .88rem var(--f-display);opacity:0;pointer-events:none;transition:opacity .25s,transform .25s}
.gw3.preparing .gw-prep{opacity:1;transform:translate(-50%,0)}
/* V7.6 last resort: a device still choppy at the lowest level stops drawing; the last frame stays as a still picture
   and the 3D tools step away (nothing on screen would respond to them) */
.gw3.held3d .tools3d,.gw3.held3d .part-card,.gw3.held3d .go-chip,.gw3.held3d .lbl-layer{display:none}
.gw3.held3d canvas{pointer-events:none}

/* diagnostics (V7.3): ?debug timing panel, ?fast quick fades */
.gw-timing{position:fixed;right:8px;top:8px;z-index:9999;width:min(22rem,calc(100vw - 16px));max-height:70vh;overflow:auto;padding:.55rem .7rem;border-radius:8px;background:rgba(10,12,16,.86);color:#e8ecef;font:500 12px/1.45 ui-monospace,Menlo,Consolas,monospace;display:grid;grid-template-columns:1fr auto;column-gap:.8rem;pointer-events:auto}
.gw-timing b{grid-column:1/-1;color:#9fd0ff;font-weight:600;margin-bottom:.2rem}
.gw-timing i{grid-column:1/-1;font-style:normal;color:#ffd27a;margin-top:.35rem}
.gw-timing em{font-style:normal;color:#fff;text-align:right}
html.gw-fast .gw3-canvas,html.gw-fast .gw3.has-poster.ready .gw3-canvas{transition-duration:.15s}
html.gw-fast .gw3-poster{transition-duration:.1s}

/* V7.3d: while exploring on touch screens and phones the buttons sit at the top of the 3D, so the Watch menu opens downward
   (opening upward put it above the top edge, where it was cut off and could not be tapped) */
.touch-ui .gw3.exploring .t-watch-menu{top:calc(100% + .5rem);bottom:auto}
@media (max-width:820px){.gw3.exploring .t-watch-menu{top:calc(100% + .5rem);bottom:auto}}

/* V7.4: inside the See It In 3D frame the page has its own film buttons, so the frame's Watch button is not shown */
.embed .tools3d .t-watch,.embed .tools3d-pre .t-watch{display:none!important}

/* smaller desktop windows: the title alone, so each half stays two lines */
@media (max-width:1180px) and (min-width:821px){
  .gw3 .gpath{min-height:6.25rem;column-gap:.8rem}
  .gw3 .gpath > span:not(.logo){display:none}
  .gw3 .gpath b{grid-row:1 / span 2;align-self:center;font-size:1.02rem}
  .gw3 .gpath.f .logo img{height:2.2rem}.gw3 .gpath.s .logo img{height:1.2rem}
}
/* phones (V7.7): the two doors stack under the picture; nothing moves behind them there, so no blur */
@media (max-width:820px){
  .gw3 .gw3-paths{border-radius:0;overflow:visible;box-shadow:none}
  .gw3 .gpath{min-height:0;padding:1rem 1.1rem;-webkit-backdrop-filter:none;backdrop-filter:none}
  .gw3 .gpath.f{border-radius:14px 14px 0 0;background:#fff;box-shadow:inset 0 0 0 1px rgba(20,24,28,.14)}
  .gw3 .gpath.s{border-radius:0 0 14px 14px;background:#070709}
  .gw3 .gpath b{font-size:1.1rem}.gw3 .gpath > span:not(.logo){font-size:.9rem}
  .gw3 .gpath .logo{width:6.4rem;justify-content:center}
}

/* ---------------------------------------------------------------- V7.7 glass on what floats over the 3D
   Clear glass by default; smoked glass after dark and for Lindley Systems parts. The blur is dropped at the two lowest
   quality levels (data-q, set by scene/gw.js), where a plain translucent panel stands in. */
.tools3d button{background:rgba(255,255,255,.66);-webkit-backdrop-filter:blur(14px) saturate(1.5);backdrop-filter:blur(14px) saturate(1.5);border-color:rgba(255,255,255,.6);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 10px 22px -14px rgba(10,14,20,.55)}
.tools3d button:hover{background:rgba(255,255,255,.86)}
.gw3.night .tools3d button{background:rgba(14,17,20,.62);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 10px 22px -14px rgba(0,0,0,.7)}
.tools3d .t-hint{background:rgba(255,255,255,.6);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:8px}
.t-watch-menu{background:rgba(255,255,255,.8);-webkit-backdrop-filter:blur(20px) saturate(1.5);backdrop-filter:blur(20px) saturate(1.5);border-color:rgba(255,255,255,.6);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 18px 40px -18px rgba(0,0,0,.5)}
.tools3d .t-watch-menu button,.tools3d .t-watch-menu button:hover{-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;border:0}
.gw3.night .t-watch-menu{background:rgba(16,19,23,.8)}
.part-card{border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(246,249,255,.76));-webkit-backdrop-filter:blur(20px) saturate(1.5);backdrop-filter:blur(20px) saturate(1.5);box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 0 0 1px rgba(255,255,255,.55),0 30px 60px -30px rgba(10,14,20,.7)}
.pc-enter{border-radius:999px}
.pc-chip{border-radius:999px;padding:.2rem .6rem .2rem .5rem;display:inline-flex;align-items:center;gap:.4rem}
.pc-chip::before{content:"";width:.42rem;height:.42rem;border-radius:50%;background:currentColor}
.part-card[data-system="systems"]{background:linear-gradient(180deg,rgba(16,16,18,.9),rgba(4,4,6,.86));color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),inset 0 0 0 1px rgba(255,255,255,.08),0 30px 60px -30px rgba(0,0,0,.85)}
.part-card[data-system="systems"] .pc-chip{color:#ff5a50}
.part-card[data-system="systems"] .pc-chip::before{background:#ff3b30;box-shadow:0 0 8px 1px rgba(255,59,48,.6)}
.part-card[data-system="systems"] .pc-what{color:#f1f2f3}
.part-card[data-system="systems"] .pc-why,.part-card[data-system="systems"] .pc-nav{color:#b9bcc2}
.part-card[data-system="systems"] .pc-more{color:#fff}
.part-card[data-system="systems"] .pc-close{color:#c9cbd0}
.part-card[data-system="systems"] .pc-close:hover{background:rgba(255,255,255,.1)}
.part-card[data-system="systems"] .pc-actions{border-bottom-color:rgba(255,255,255,.14)}
.part-card[data-system="systems"] .pc-nav button{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.22);color:#fff}
.part-card[data-system="systems"] .pc-nav button:hover{border-color:#fff}
.gw3[data-q="low"] :is(.tools3d button,.t-hint,.t-watch-menu,.part-card),.gw3[data-q="lowest"] :is(.tools3d button,.t-hint,.t-watch-menu,.part-card){-webkit-backdrop-filter:none;backdrop-filter:none}
.gw3[data-q="low"] .tools3d button,.gw3[data-q="lowest"] .tools3d button{background:rgba(255,255,255,.92)}
.gw3[data-q="low"].night .tools3d button,.gw3[data-q="lowest"].night .tools3d button{background:rgba(14,17,20,.86)}
.gw3[data-q="low"] .t-watch-menu,.gw3[data-q="lowest"] .t-watch-menu{background:rgba(255,255,255,.97)}
.gw3[data-q="low"] .part-card:not([data-system="systems"]),.gw3[data-q="lowest"] .part-card:not([data-system="systems"]){background:rgba(255,255,255,.97)}
.gw3[data-q="low"] .part-card[data-system="systems"],.gw3[data-q="lowest"] .part-card[data-system="systems"]{background:#0b0b0d}

/* V7.8d: the company logos never squash when their slot is narrower than the logo (the phone bar) */
.gpath .logo img{object-fit:contain;min-width:0}
.gl-soft .gw3 .tools3d-pre{display:none} /* V7.8d: no 3D on this machine, so no 3D controls */

/* the protected / unprotected selector's pre-rendered spot in the tool row */
.tools3d-pre .rw-sel-pre{display:inline-flex;align-items:center;gap:.5rem;height:2.5rem;padding:0 .7rem;border-radius:999px;border:1px solid rgba(20,24,28,.18);background:rgba(255,255,255,.88)}
.tools3d-pre .rw-sel-pre b{display:inline-flex;opacity:.6}.tools3d-pre .rw-sel-pre b.s{color:#2f45ff}.tools3d-pre .rw-sel-pre b.f{color:#c2410c}
.tools3d-pre .rw-sel-pre svg{width:16px;height:16px}
.tools3d-pre .rw-sel-pre i{width:5.5rem;height:4px;border-radius:4px;background:rgba(20,24,28,.16)}
.gw3.night .tools3d-pre .rw-sel-pre{background:rgba(14,17,20,.75)}
