/* The service index stays still while its nine stars orbit. */
.service-galaxy {
  background: #f1f5f0;
}
.galaxy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  grid-template-areas: "scene intro" "scene services";
  gap: 25px clamp(32px, 4.6vw, 76px);
  align-content: center;
}
.galaxy-intro {
  grid-area: intro;
  align-self: end;
  max-width: 32rem;
}
.galaxy-intro h2 {
  font-size: clamp(34px, 3.55vw, 56px);
  line-height: 1.07;
  text-wrap: balance;
  margin: 15px 0;
}
.galaxy-intro p {
  color: var(--ink-600);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  max-width: 44ch;
}
.galaxy-intro p span { white-space: nowrap; }
.galaxy-scene {
  position: relative;
  grid-area: scene;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  align-self: stretch;
  min-height: clamp(370px, 33vw, 490px);
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(ellipse at 46% 45%, #19332e 0, transparent 59%),
    linear-gradient(140deg, #081215, #0b1a1c 51%, #081117);
}
.galaxy-chart {
  position: relative;
  width: 100%;
  aspect-ratio: 700 / 460;
}
.galaxy-chart > canvas,
.galaxy-chart > svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.galaxy-track {
  fill: none;
  stroke: #91bdb6;
  stroke-width: 1;
  stroke-opacity: .31;
}
.galaxy-track.is-active {
  stroke: var(--star);
  stroke-width: 2;
  stroke-opacity: .95;
}
.galaxy-star {
  color: var(--star);
  cursor: pointer;
}
.galaxy-star.is-active { --ring-opacity: .9; }
.galaxy-brand {
  position: absolute;
  top: 54.2%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  white-space: nowrap;
  font: 650 clamp(10px, .95vw, 14px)/1.2 var(--font-grotesk);
  letter-spacing: .08em;
  color: #fffdf2;
  text-shadow: 0 1px 5px #071511, 0 0 11px #071511;
}
.galaxy-toggle,
.galaxy-selection {
  position: absolute;
  z-index: 1;
  font: 500 13px/1.2 var(--font-grotesk);
}
.galaxy-toggle {
  bottom: 10px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 11px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: #dceddf;
  cursor: pointer;
}
.galaxy-toggle:hover { background: #132b2c; }
.galaxy-toggle:focus-visible { outline: 2px solid #ddf5e8; }
.galaxy-toggle[hidden] { display: none; }
.galaxy-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.galaxy-toggle .galaxy-play,
.galaxy-toggle.is-paused .galaxy-pause { display: none; }
.galaxy-toggle.is-paused .galaxy-play { display: block; }
.galaxy-selection {
  top: 19px;
  left: 22px;
  color: #e7f1ed;
  pointer-events: none;
}
.galaxy-services {
  grid-area: services;
  align-self: start;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.galaxy-services a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 7px 0 7px 19px;
  gap: 8px;
  border-top: 1px solid #c9d6cc;
  color: #172e26;
  font-size: 15px;
  font-weight: 530;
  text-decoration: none;
  line-height: 1.35;
}
.galaxy-services a::before {
  content: "";
  position: absolute;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--star);
  box-shadow: inset 0 0 0 1px #142f293d;
}
.galaxy-services a svg {
  flex: none;
  width: 13px;
  height: 13px;
  margin-left: auto;
  color: #516b62;
}
.galaxy-services a:is(:hover, :focus-visible) { color: #005b42; }
.galaxy-services a:focus-visible { outline: 2px solid #287458; outline-offset: 2px; }
@media (max-width: 960px) {
  .service-galaxy .galaxy-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "scene" "services";
    row-gap: 22px;
    width: min(100%, 680px);
  }
  .galaxy-intro, .galaxy-intro p { max-width: 100%; }
  .galaxy-scene { min-height: 0; border-radius: 17px; }
  .galaxy-chart { margin: 12px 0 25px; }
  .galaxy-toggle { bottom: 0; right: 5px; }
  .galaxy-selection { top: 13px; left: 15px; }
  .galaxy-services a { min-height: 48px; }
}
@media (min-width: 600px) and (max-width: 960px) {
  .galaxy-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .galaxy-intro p { max-width: 60ch; }
}
@media (max-width: 380px) {
  .galaxy-services { column-gap: 14px; }
  .galaxy-services a { padding-left: 14px; font-size: 14px; gap: 2px; }
}
