/* The artwork stays fixed. Only small signals inside its routes move. */
.hero-world.hero-visual {
  width: min(980px, 100%);
  margin: 4px auto 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  isolation: isolate;
}
.hero-world.hero-visual::after { content: none; animation: none; }
.hero-world-scene {
  position: relative;
  aspect-ratio: 1672 / 941;
  isolation: isolate;
}
.hero-world-scene::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 8% 0 -1%;
  background: radial-gradient(ellipse at 65% 48%, #074caa30, transparent 68%);
  pointer-events: none;
}
.hero-world-art {
  display: block;
  position: absolute;
  inset: 0;
  /* Fade only the outer edge into the page. The seal and globe stay bright. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 84%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 84%, transparent);
  mask-composite: intersect;
}
.hero-world.hero-visual .hero-world-art img {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: 1672 / 941;
  object-fit: fill;
  opacity: 1;
  filter: none;
}
.hero-world-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.hero-world-packets { opacity: .86; transition: opacity .25s; }
.hero-world-packet {
  stroke-dasharray: 2 98;
  stroke-dashoffset: 0;
  animation: hero-world-signal var(--route-duration, 7s) linear infinite;
  animation-delay: var(--route-delay, 0s);
}
.hero-world-ripple {
  opacity: 0;
  transform: scale(.75);
  animation: hero-world-node 5.6s ease-out infinite;
  animation-delay: var(--node-delay, 0s);
}
.hero-world[data-motion="paused"] .hero-world-packet,
.hero-world[data-motion="paused"] .hero-world-ripple { animation-play-state: paused; }
.hero-world:has(.hero-world-link:hover) .hero-world-packets,
.hero-world:has(.hero-world-link:focus-visible) .hero-world-packets { opacity: 1; }
.hero-world-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(820px, 96%);
  margin: -4px auto 0;
  position: relative;
}
.hero-world-mission {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b3cfe2;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  text-align: left;
}
.hero-world-mission>span {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px #53e8f260;
}
.hero-world .hero-world-link {
  margin: 0;
  min-height: 44px;
  padding: 9px 13px;
  font-size: 11px;
  flex: none;
  border-color: #53e8f24a;
  background: #0c243680;
}
.hero-world .hero-world-link:hover { background: #12394b; box-shadow: 0 0 23px #53e8f21a; }
.hero-world .hero-world-link .icon { width: 15px; height: 15px; }
.hero-world-motion {
  position: absolute;
  right: 5%;
  top: 3%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #80dfff45;
  border-radius: 50%;
  background: #081a35b8;
  color: #c9f8ff;
  transition: background .2s, border-color .2s;
}
.hero-world-motion:hover { background: #12394b; border-color: #80dfffa0; }
.hero-world-motion .hero-motion-play,
.hero-world-motion[aria-pressed="true"] .hero-motion-pause { display: none; }
.hero-world-motion[aria-pressed="true"] .hero-motion-play { display: block; }
.hero-world-motion .hero-motion-play { margin-left: 2px; }
@keyframes hero-world-signal {
  0% { stroke-dashoffset: 0; opacity: 0; }
  7%, 82% { opacity: 1; }
  100% { stroke-dashoffset: -100; opacity: 0; }
}
@keyframes hero-world-node {
  0%, 65%, 100% { opacity: 0; transform: scale(.75); }
  10% { opacity: .55; }
  45% { opacity: 0; transform: scale(2.1); }
}
@media (max-width:600px) {
  .hero-world.hero-visual { width: calc(100% + 16px); margin-left: -8px; margin-right: -8px; }
  .hero-world-caption { width: calc(100% - 16px); flex-direction: column; gap: 9px; margin: -1px auto 0; }
  .hero-world-mission { justify-content: center; font-size: 10px; gap: 6px; text-align: center; }
  .hero-world .hero-world-link { font-size: 10px; min-height: 40px; padding: 8px 13px; }
  .hero-world-motion { top: 0; right: 3%; width: 32px; height: 32px; }
  .hero-world-network { stroke-width: 4px; }
  .hero-world { margin-bottom: 10px !important; }
}
@media (prefers-reduced-motion:reduce) {
  .hero-world-packet, .hero-world-ripple { animation: none !important; }
  .hero-world-packet { opacity: 0; }
  .hero-world-motion { display: none; }
  .hero-world-packets, .hero-world-link { transition: none; }
}
