/* ==================================================
   ALMATJARR GLOBAL PROGRESS NAV
   Same simple logic as INKKA
================================================== */

#almatjarr-progress-nav {
  position: fixed;
  left: 8px;
  bottom: 18vh;
  z-index: 999999;

  display: flex;
  flex-direction: column;
  gap: 10px;

  pointer-events: auto;
}

.almatjarr-step {
  padding: 0;
  border: 0;
  outline: 0;

  color: rgba(72, 58, 41, 0.25);
  background: transparent;

  font: inherit;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.15em;

  cursor: pointer;

  transition:
    color 0.35s ease,
    transform 0.35s ease,
    text-shadow 0.35s ease;
}

.almatjarr-step.active {
  color: #b97a1f;
  transform: translateX(5px);

  text-shadow:
    0 0 12px rgba(185, 122, 31, 0.18);
}

/* Scroll hint */

#almatjarr-scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 10px;
  z-index: 999998;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 6px;

  color: rgba(124, 86, 31, 0.62);

  pointer-events: none;

  transform: translateX(-50%);

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s ease;
}

#almatjarr-scroll-hint.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
}

.almatjarr-scroll-hint__motion {
  position: relative;
  width: 14px;
  height: 25px;
  display: block;
}

.almatjarr-scroll-hint__line {
  position: absolute;
  left: 50%;
  top: 0;

  width: 1px;
  height: 15px;

  border-radius: 999px;

  background:
    linear-gradient(
      to bottom,
      rgba(167, 111, 31, 0.12),
      rgba(167, 111, 31, 0.72)
    );

  transform: translateX(-50%);

  animation:
    almatjarrHintLine 1.6s ease-in-out infinite;
}

.almatjarr-scroll-hint__chevron {
  position: absolute;
  left: 50%;
  bottom: 1px;

  width: 7px;
  height: 7px;

  border-right:
    1px solid rgba(167, 111, 31, 0.78);

  border-bottom:
    1px solid rgba(167, 111, 31, 0.78);

  transform:
    translateX(-50%) rotate(45deg);

  animation:
    almatjarrHintChevron 1.6s ease-in-out infinite;
}

.almatjarr-scroll-hint__text {
  display: block;

  font-size: 7px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.34em;

  transform: translateX(0.17em);

  opacity: 0.78;
}

@keyframes almatjarrHintLine {
  0%,
  100% {
    opacity: 0.35;
    transform:
      translate(-50%, 0) scaleY(0.82);
  }

  50% {
    opacity: 1;
    transform:
      translate(-50%, 3px) scaleY(1);
  }
}

@keyframes almatjarrHintChevron {
  0%,
  100% {
    opacity: 0.35;
    transform:
      translate(-50%, 0) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform:
      translate(-50%, 3px) rotate(45deg);
  }
}

@media (min-width: 769px) {
  #almatjarr-progress-nav {
    left: 28px;
    bottom: 20vh;
    gap: 15px;
  }

  .almatjarr-step {
    font-size: 13px;
    letter-spacing: 0.22em;
  }

  .almatjarr-step.active {
    transform: translateX(9px);
  }
}
