/* These stations form the static map and the control points for the animated orbit. */
.universe {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f5f8ff;
  background:
    radial-gradient(ellipse at 48% 51%, #254a9d 0%, #193a84 20%, transparent 58%),
    radial-gradient(ellipse at 88% 103%, #173669 0%, transparent 49%),
    linear-gradient(113deg, #09132d, #122a61 59%, #0a1734);
}
.sky-grain, .sky-grain::after {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 13px 17px, #cadaff 85%, transparent),
    radial-gradient(1px 1px at 70px 66px, #b9d8ff 50%, transparent),
    radial-gradient(1.3px 1.3px at 157px 108px, #8fbaff 40%, transparent);
  background-size: 233px 157px, 171px 191px, 307px 243px;
  opacity: .58;
}
.sky-grain::after { content: ''; transform: rotate(180deg); opacity: .5; }
.orbit-map { max-width: 1230px; height: clamp(460px, 39vw, 565px); position: relative; margin: 8px auto 0; }
.tracks, .starlight, .destinations { position: absolute; inset: 0; pointer-events: none; }
.tracks i {
  position: absolute; left: 50%; top: 51%; border: 1px solid rgba(163,194,255,.23);
  border-radius: 50%; transform: translate(-50%, -50%) rotate(-12deg);
}
.tracks i:nth-child(1) { width: 39%; height: 42%; }
.tracks i:nth-child(2) { width: 60%; height: 65%; }
.tracks i:nth-child(3) { width: 83%; height: 83%; border-color: rgba(153,188,255,.3); }
.tracks i:nth-child(4) { width: 109%; height: 110%; border-style: dashed; border-color: rgba(153,188,255,.19); }
.tracks i:nth-child(5) { width: 141%; height: 138%; border-color: rgba(153,188,255,.11); }
.starlight i {
  --light: #c3dcff;
  position: absolute; width: 8px; height: 8px; background: var(--light);
  clip-path: polygon(50% 0,60% 39%,100% 50%,60% 61%,50% 100%,40% 61%,0 50%,40% 39%);
}
.starlight i:nth-child(1) { left: 12%; top: 23%; }
.starlight i:nth-child(2) { left: 54%; top: 16%; width: 5px; height: 5px; }
.starlight i:nth-child(3) { left: 34%; top: 63%; width: 6px; height: 6px; }
.starlight i:nth-child(4) { left: 85%; top: 74%; }
.starlight i:nth-child(5) { left: 65%; top: 46%; width: 5px; height: 5px; }
.core {
  position: absolute; left: 50%; top: 51%; transform: translate(-50%, -50%); text-align: center;
  margin: 0; display: grid; justify-items: center; gap: 12px; white-space: nowrap;
}
.core img { width: clamp(180px, 18vw, 254px); filter: brightness(0) invert(1); }
.core span { font-size: clamp(.75rem, 1.1vw, .94rem); font-weight: 450; letter-spacing: .045em; color: #d1e0ff; }
.satellite {
  --size: clamp(50px, 5vw, 74px);
  --glint: #c7e0ff; --top: #729ce8; --mid: #355eaf; --base: #182e61;
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  z-index: 1; pointer-events: none;
}
.satellite-ginzi { --x: 25%; --y: 29%; --size: clamp(75px, 7.3vw, 104px); --glint: #fff; --top: #eff8ff; --mid: #b8d1fe; --base: #6f91d4; }
.satellite-advec { --x: 65%; --y: 18%; --size: clamp(66px, 6.4vw, 93px); --glint: #d0f7ff; --top: #76cffe; --mid: #3179c8; --base: #1b4188; }
.satellite-litode { --x: 78%; --y: 62%; --size: clamp(68px, 6.8vw, 97px); --glint: #fff; --top: #fcffff; --mid: #e4f5fb; --base: #b2daf1; }
.satellite-explainable { --x: 48%; --y: 82%; --size: clamp(50px, 6.2vw, 92px); --glint: #fff; --top: #fcfdff; --mid: #eaf1ff; --base: #bacdec; }
.satellite-events { --x: 11%; --y: 59%; }
.satellite-team { --x: 28%; --y: 78%; }
.satellite-payattention { --x: 43%; --y: 17%; --glint: #d8fcff; --top: #81d2ed; --mid: #3584ae; --base: #1f507a; }
.satellite-videos { --x: 87%; --y: 27%; }
.satellite-cases { --x: 66%; --y: 84%; }
.drift { position: relative; }
.bubble-link { pointer-events: auto; display: grid; justify-items: center; gap: 7px; color: #f3f7ff; text-decoration: none; border-radius: 12px; }
.sphere {
  width: var(--size); height: var(--size); border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(ellipse at 27% 16%, var(--glint) 0%, var(--top) 15%, var(--mid) 49%, var(--base) 76%, var(--top) 100%);
  box-shadow: inset 1px 1px 2px #e1f0ffb3, inset -1px -2px 5px #9ab8ff5c, 1px 8px 18px #030c2490, 0 0 23px #80a9ff21;
}
.sphere .icon { width: 43%; height: 43%; color: white; filter: drop-shadow(0 1px 3px #18326477); stroke-width: 1.45; }
.sphere img { width: 67%; height: auto; }
.satellite-litode .sphere img { width: 83%; }
.satellite-explainable .sphere img { width: 76%; mix-blend-mode: multiply; }
.bubble-name { font-size: .88rem; font-weight: 580; line-height: 1.2; text-shadow: 0 2px 5px #071532; white-space: nowrap; }
.bubble-link:focus-visible { outline-color: #c8e5ff; }
.bubble-link:hover .bubble-name, .bubble-link:focus-visible .bubble-name { text-decoration: underline; text-underline-offset: 4px; }
.satellite.is-open { z-index: 3; }
.bubble-tip {
  display: none; position: absolute; width: min(230px, 80vw); left: 50%; bottom: calc(100% + 8px);
  transform: translateX(calc(-50% + var(--tip-shift, 0px))); padding: 12px 15px; border-radius: 10px;
  color: #13264c; background: #f5f9ff; font-size: .88rem; line-height: 1.45; box-shadow: 0 7px 26px #060e2f52;
}
.is-open .bubble-tip { display: block; pointer-events: auto; }
.tip-below .bubble-tip { bottom: auto; top: calc(100% + 8px); }
.bubble-tip::before { content: ''; position: absolute; bottom: -9px; left: 0; right: 0; height: 10px; }
.tip-below .bubble-tip::before { bottom: 100%; }
.map-controls { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 51px; padding-block: 0 14px; pointer-events: none; }
.map-controls a, .map-controls button { pointer-events: auto; color: #d8e6ff; background: none; border: 0; display: inline-flex; align-items: center; gap: 7px; padding: 8px 0; font: inherit; font-size: .82rem; text-decoration: none; cursor: pointer; }
.map-controls button { border: 1px solid #a0bdfa55; border-radius: 24px; padding: 6px 12px; }
.map-controls button:hover { background: #f3f7ff18; }
.map-controls .icon { width: 15px; height: 15px; }
#motion-control .icon:nth-child(2), .motion-paused #motion-control .icon:first-child { display: none; }
.motion-paused #motion-control .icon:nth-child(2) { display: block; }
@media (max-width: 670px) {
  .orbit-map { height: 485px; margin-top: 4px; }
  .tracks i { transform: translate(-50%, -50%) rotate(-24deg); }
  .tracks i:nth-child(1) { width: 60%; height: 28%; }
  .tracks i:nth-child(2) { width: 88%; height: 55%; }
  .tracks i:nth-child(3) { width: 123%; height: 76%; }
  .tracks i:nth-child(4) { width: 158%; height: 95%; }
  .core img { width: clamp(130px, 34vw, 175px); }
  .core span { font-size: .74rem; letter-spacing: 0; }
  .core { gap: 7px; top: 50%; }
  .satellite { --size: 46px; }
  .satellite-ginzi { --x: 25.96%; --y: 19.36%; --size: 65px; }
  .satellite-advec { --x: 74.04%; --y: 19.36%; --size: 61px; }
  .satellite-explainable { --x: 37.21%; --y: 87.59%; --size: 59px; }
  .satellite-events { --x: 13.17%; --y: 43.05%; }
  .satellite-videos { --x: 86.83%; --y: 43.05%; }
  .satellite-litode { --x: 82.39%; --y: 70.00%; --size: 61px; }
  .satellite-team { --x: 17.61%; --y: 70.00%; }
  .satellite-payattention { --x: 50.00%; --y: 10.00%; }
  .satellite-cases { --x: 62.79%; --y: 87.59%; }
  .bubble-name { font-size: .79rem; }
  .map-controls { min-height: 50px; padding-bottom: 8px; }
}
@media (max-width: 360px) {
  .orbit-map { height: 535px; }
  .bubble-name { font-size: .76rem; letter-spacing: -.02em; }
  .satellite-ginzi { --size: 59px; }
  .satellite-explainable { --size: 51px; }
  .core img { width: 115px; }
  .core span { max-width: 125px; white-space: normal; line-height: 1.35; }
}
