/* Same return-to-top presentation as the Orkevio website. */
.directory-go-top {
  position: fixed;
  right: max(clamp(1rem, 2vw, 1.5rem), env(safe-area-inset-right, 0px));
  bottom: max(clamp(1rem, 2vw, 1.5rem), env(safe-area-inset-bottom, 0px));
  z-index: 1030;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #007782, #092c4c);
  box-shadow: 0 .7rem 1.75rem rgb(2 27 42 / 30%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem) scale(.94);
  pointer-events: none;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease, visibility 0s linear 180ms;
}
.directory-go-top.is-visible {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}
.directory-go-top:hover {
  color: #fff;
  background: linear-gradient(135deg, #008d98, #092c4c);
  transform: translateY(-.2rem) scale(1.04);
}
.directory-go-top:focus-visible { outline: 3px solid #7de0dd; outline-offset: 3px; }
.directory-go-top svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) {
  .directory-go-top { transition: none; }
}
