.jonfit-intro { display: none; }

.has-intro .jonfit-intro {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  overflow: hidden;
  background: radial-gradient(circle at center, #fff 0, #f1f7ef 58%, #e5f0e3 100%);
  color: #0b2811;
  transition: opacity 280ms ease, visibility 280ms ease;
  animation: jonfit-intro-fallback 0s 1800ms forwards;
}

.jonfit-intro__orbit {
  position: absolute;
  width: clamp(250px, 33vw, 420px);
  aspect-ratio: 1;
  border: 2px solid rgba(15, 121, 26, .17);
  border-top-color: #14b32d;
  border-right-color: rgba(20, 179, 45, .6);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(22, 162, 44, .035), 0 0 0 78px rgba(22, 162, 44, .025);
  animation: jonfit-intro-orbit 1050ms cubic-bezier(.2,.8,.2,1) both;
}
.jonfit-intro__logo {
  position: relative;
  display: block;
  width: clamp(125px, 17vw, 215px);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(6, 67, 16, .12));
  animation: jonfit-logo-in 650ms cubic-bezier(.16,1,.3,1) both;
}
.jonfit-intro__line {
  position: relative;
  width: min(180px, 42vw);
  height: 4px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #d9e9d9;
}
.jonfit-intro__line::after {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #086918, #2be24d);
  content: "";
  transform-origin: left;
  animation: jonfit-line-fill 950ms 80ms ease-out both;
}
.jonfit-intro p {
  position: relative;
  margin: 0;
  color: #426348;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .19em;
}
.has-intro.intro-finished .jonfit-intro { opacity: 0; visibility: hidden; pointer-events: none; }

@keyframes jonfit-logo-in { from { transform: translateY(26px) scale(.86); } to { transform: translateY(0) scale(1); } }
@keyframes jonfit-intro-orbit { from { opacity: 0; transform: rotate(-110deg) scale(.7); } to { opacity: 1; transform: rotate(35deg) scale(1); } }
@keyframes jonfit-line-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes jonfit-intro-fallback { to { visibility: hidden; pointer-events: none; } }

@media (prefers-reduced-motion: reduce) {
  .has-intro .jonfit-intro { display: none; }
}
