
.waves-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.waves-bg span {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(120,160,120,0.25), transparent 70%);
  border-radius: 50%;
  animation: float 22s infinite ease-in-out;
  filter: blur(40px);
}

.waves-bg span:nth-child(1) { top: -10%; left: -10%; animation-delay: 0s; }
.waves-bg span:nth-child(2) { bottom: -15%; right: -5%; animation-delay: 6s; }
.waves-bg span:nth-child(3) { top: 40%; left: 60%; animation-delay: 12s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-40px) translateX(30px); }
}

.waterfade {
  opacity: 0;
  transform: translateY(12px);
  animation: waterfade 1.4s ease forwards;
}

@keyframes waterfade {
  0% { opacity: 0; filter: blur(6px); }
  40% { opacity: 0.6; filter: blur(3px); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: url("img/watercolor-edge.png") center/cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}


@keyframes areaPulse {
  0% { fill-opacity: 0.45; }
  50% { fill-opacity: 0.62; }
  100% { fill-opacity: 0.45; }
}


.elephant-track {
  position: fixed;
  left: 20px;
  width: 60px;
  height: 60px;
  background: url("img/track.png") center/contain no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 0;
  filter: grayscale(40%) opacity(0.4);
}


body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("img/noise.png");
  opacity: 0.08;
  z-index: 0;
}


html {
  animation: fadePage 0.6s ease;
}

@keyframes fadePage {
  from { opacity: 0; }
  to { opacity: 1; }
}


a:hover {
  text-shadow: 0 0 6px rgba(155,232,164,0.35);
}


.hero {
  will-change: background-position;
  transition: background-position 0.2s ease-out;
}

body.scrolling .hero {
  background-position: center calc(50% + 20px);
}