/* Support rules for the About page only. Everything is scoped under .nx. */

/* The wave and mesh backdrops are background images in the live site (set inline there); here they are set by the stylesheet */
.nx .about-hero .network-art { background-image: url('/img/wave-pattern-bg.webp'); }
.nx .accident-section .network-art.is-compact { background-image: url('/img/network-mesh.webp'); }

/* Team showcase: each team member is one tab panel. The panel itself takes no part in the layout, so the portrait, name and bio card
   keep the positions the stylesheet gives them inside the stage. */
.nx .team-panel { display: contents; }
.js .nx .team-panel:not(.is-active) { display: none; }

/* The picker sits in its own layer over the stage; only the buttons take the pointer, so the bio card's links stay clickable */
.nx .team-controls { z-index: 4; pointer-events: none; }
.nx .team-controls .team-selectors { pointer-events: none; }
.nx .team-controls .team-selectors button { pointer-events: auto; }

/* Without the script the picker does nothing, so it is hidden and every team member is shown in turn, each on its own stage */
html:not(.js) .nx .team-controls { display: none; }
html:not(.js) .nx .team-stage { aspect-ratio: auto; overflow: visible; }
html:not(.js) .nx .team-panel { display: block; position: relative; aspect-ratio: 1920 / 885; overflow: hidden; margin-top: 40px; }
html:not(.js) .nx .team-panel:first-child { margin-top: 0; }
@media (max-width: 860px) {
    html:not(.js) .nx .team-panel { aspect-ratio: auto; overflow: visible; }
}

/* The three points of light that run the planet's ring (the live site sets each angle inline) */
.nx .jupiter-plane i.mote-a { --a: 0deg; }
.nx .jupiter-plane i.mote-b { --a: 128deg; }
.nx .jupiter-plane i.mote-c { --a: 241deg; }
