:root {
  --page-bg: #090c10;
  --shadow-deep: rgba(3, 8, 18, 0.65);
  --shadow-soft: rgba(6, 18, 34, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  min-height: 100%;
}

body {
  overflow: hidden;
  background: var(--page-bg);
  font-family: "Avenir Next", "Futura", "Trebuchet MS", sans-serif;
  overscroll-behavior: none;
}

.landing-page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background-image:
    linear-gradient(180deg, rgba(8, 12, 17, 0.15), rgba(8, 12, 17, 0.45)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 55%),
    url("hessbuild1.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.landing-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 24%, rgba(4, 8, 14, 0.18) 72%, rgba(4, 8, 14, 0.38) 100%);
  pointer-events: none;
}

.orbit-stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
}

.floating-link {
  --rotation: 0deg;
  --scale: 1;
  --shadow-opacity: 0.82;
  --shadow-scale: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  transform: translate3d(0, 0, 0);
  transform-origin: center;
  text-decoration: none;
  will-change: transform;
  outline: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  backface-visibility: hidden;
}

.floating-link__visual {
  position: relative;
  display: block;
  width: 100%;
  transform: translate(-50%, -50%) rotate(var(--rotation)) scale(var(--scale));
  transform-origin: center;
  will-change: transform;
  backface-visibility: hidden;
}

.floating-link__visual::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -6%;
  height: 22%;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.45), transparent 72%);
  filter: blur(14px);
  opacity: var(--shadow-opacity);
  transform: translateY(20px) scale(var(--shadow-scale));
  z-index: -1;
  pointer-events: none;
}

.floating-link img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  transform: translateZ(0);
  filter:
    drop-shadow(0 20px 32px var(--shadow-deep))
    drop-shadow(0 10px 14px var(--shadow-soft));
  transition: filter 220ms ease;
}

.floating-link:hover .floating-link__visual,
.floating-link:focus-visible .floating-link__visual {
  transform: translate(-50%, calc(-50% - 4px)) rotate(var(--rotation)) scale(calc(var(--scale) * 1.03));
}

.floating-link:hover img,
.floating-link:focus-visible img {
  filter:
    drop-shadow(0 26px 40px rgba(3, 8, 18, 0.72))
    drop-shadow(0 12px 16px rgba(6, 18, 34, 0.42));
}

.floating-link:focus-visible {
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8);
}

.floating-link--h {
  width: clamp(7rem, 13vw, 11rem);
}

.floating-link--v {
  width: clamp(5.8rem, 10vw, 8rem);
}

.floating-link--p {
  width: clamp(8.5rem, 18vw, 13rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .landing-page {
    background-image:
      linear-gradient(180deg, rgba(8, 12, 17, 0.08), rgba(8, 12, 17, 0.28)),
      radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 58%),
      url("mobile.jpeg");
    background-position: center center;
  }

  .floating-link__visual::after {
    left: 14%;
    right: 14%;
    height: 20%;
    filter: blur(10px);
  }

  .floating-link--h {
    width: clamp(6rem, 25vw, 8.25rem);
  }

  .floating-link--v {
    width: clamp(4.75rem, 18vw, 6.6rem);
  }

  .floating-link--p {
    width: clamp(7rem, 26vw, 9.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-link img {
    transition: none;
  }
}
