.site-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #fff8ec;
  color: #293f37;
  font-family: "Nunito", "Segoe UI", sans-serif;
  opacity: 1;
  transition: opacity 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.site-loader[hidden] {
  display: none;
}
.site-loader[data-state="leaving"] {
  opacity: 0;
  pointer-events: none;
}
.loader-scene {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 104px;
  padding: 0 14px 10px;
  border-bottom: 2px solid #d8ddcb;
}
.loader-block {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 70px;
  padding-bottom: 12px;
  border-radius: 14px;
  background: #f4cf62;
  font-size: 36px;
  font-weight: 800;
  transform-origin: center bottom;
  animation: loading-hop 1100ms cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.loader-block:nth-child(2) {
  background: #c4ddc9;
  animation-delay: 120ms;
}
.loader-block:nth-child(3) {
  background: #edc5b4;
  animation-delay: 240ms;
}
.loader-block::after {
  content: "";
  position: absolute;
  bottom: 12px;
  width: 14px;
  height: 7px;
  border-bottom: 2px solid #293f37;
  border-radius: 0 0 12px 12px;
}
.loader-caption {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.loader-note {
  margin: -12px 0 0;
  color: #5e6b60;
  font-size: 14px;
}
@keyframes loading-hop {
  0%,
  55%,
  100% {
    transform: translateY(0) rotate(0);
  }
  22% {
    transform: translateY(-14px) rotate(-5deg);
  }
  38% {
    transform: translateY(-3px) rotate(3deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .loader-block {
    animation: none;
  }
  .site-loader {
    transition: none;
  }
}
