/* Hide the hero "Rainy Lake" poster type on phones and tablets */
@media (max-width: 980px) {
  .rl-poster { display: none !important; }
}

/* Animated project map: pulsing dots, flowing connector lines, breathing home mark */
@keyframes rl-ping {
  0%   { transform: scale(1);   opacity: .45; }
  70%  { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}
@keyframes rl-bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -5px; }
}
@keyframes rl-flow {
  to { stroke-dashoffset: -28; }
}
@keyframes rl-breathe {
  0%, 100% { scale: 1; }
  50%      { scale: 1.07; }
}
.rl-orbit-pip { position: relative; animation: rl-bob 4.5s ease-in-out infinite; }
.rl-orbit-pip::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--dot);
  pointer-events: none;
  animation: rl-ping 3s ease-out infinite;
}
.rl-orbit-dot:nth-of-type(2) .rl-orbit-pip, .rl-orbit-dot:nth-of-type(2) .rl-orbit-pip::after { animation-delay: .6s; }
.rl-orbit-dot:nth-of-type(3) .rl-orbit-pip, .rl-orbit-dot:nth-of-type(3) .rl-orbit-pip::after { animation-delay: 1.2s; }
.rl-orbit-dot:nth-of-type(4) .rl-orbit-pip, .rl-orbit-dot:nth-of-type(4) .rl-orbit-pip::after { animation-delay: 1.8s; }
.rl-orbit-dot:nth-of-type(5) .rl-orbit-pip, .rl-orbit-dot:nth-of-type(5) .rl-orbit-pip::after { animation-delay: 2.4s; }
.rl-orbit-lines line { animation: rl-flow 2.4s linear infinite; }
.rl-orbit-lines line.is-sips { animation: none; }
.rl-orbit-home .home-mark { animation: rl-breathe 4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .rl-orbit-pip, .rl-orbit-pip::after, .rl-orbit-lines line, .rl-orbit-home .home-mark { animation: none !important; }
}
