.tools .menu-panel .motion-setting {
  justify-content: space-between;
  margin-top: 4px;
  border-top: 1px solid var(--site-rule);
  border-radius: 0 0 9px 9px;
}
.motion-setting small { display: block; color: var(--muted); font-size: .8em; }
.motion-setting small[hidden] { display: none; }
.motion-setting:disabled { cursor: default; }
.motion-indicator {
  display: inline-flex; align-items: center; flex-shrink: 0;
  width: 32px; height: 19px; padding: 2px;
  border: 1px solid var(--muted); border-radius: 16px;
}
.motion-indicator::after {
  content: ""; width: 13px; height: 13px;
  background: var(--muted); border-radius: 50%;
}
.motion-setting[aria-checked=true] .motion-indicator {
  justify-content: flex-end; background: var(--brand); border-color: var(--brand);
}
.motion-setting[aria-checked=true] .motion-indicator::after { background: var(--surface); }

@media screen and (prefers-reduced-motion: no-preference) {
  html[data-motion=on] .home-hero::before {
    transform: translate(-50%, var(--motion-terrain, 0px));
  }
  html[data-motion=on] .home-hero .career-photo img {
    top: -10px; height: calc(100% + 20px);
    translate: 0 var(--motion-photo, 0px);
  }
  html[data-motion=on] .app-interior main > h1::after {
    background-size: calc(100% + clamp(90px, 16vw, 260px)) 100%;
    animation: navigator-wave 10s ease-in-out infinite alternate;
  }
  html[data-motion=on] main.motion-arrival [data-motion-cue] {
    animation: navigator-cue 1550ms ease-out 1;
  }
}
@keyframes navigator-wave {
  from { background-position-x: 5%; }
  to { background-position-x: 95%; }
}
@keyframes navigator-cue {
  0%, 100% { box-shadow: inset 0 0 0 0 transparent; }
  24%, 48% {
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--site-accent) 68%, transparent),
                inset 0 0 20px color-mix(in srgb, var(--site-accent) 14%, transparent);
  }
}
