.affirmation-ambience {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.soft-ripples {
  position: absolute;
  width: min(48vw, 620px);
  aspect-ratio: 1;
  opacity: .42;
}

.ripple-one {
  top: 8%;
  right: -10%;
}

.ripple-two {
  bottom: -24%;
  left: -12%;
  width: min(42vw, 520px);
  opacity: .25;
}

.soft-ripples span {
  position: absolute;
  border: 1px solid rgba(131, 209, 216, .17);
  border-radius: 50%;
  animation: ripple-breathe 10s ease-in-out infinite alternate;
}

.soft-ripples span:nth-child(1) { inset: 8%; }
.soft-ripples span:nth-child(2) { inset: 25%; border-color: rgba(226, 196, 119, .14); animation-delay: -3s; }
.soft-ripples span:nth-child(3) { inset: 41%; animation-delay: -6s; }

.floating-words span {
  position: absolute;
  color: rgba(228, 239, 242, .14);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.1rem, 2.2vw, 2rem);
  font-style: italic;
  letter-spacing: .08em;
  text-shadow: 0 0 20px rgba(114, 212, 212, .18);
  animation: word-float 12s ease-in-out infinite alternate;
}

.floating-words span:nth-child(1) { top: 16%; left: 5%; }
.floating-words span:nth-child(2) { top: 28%; right: 7%; animation-delay: -4s; }
.floating-words span:nth-child(3) { top: 48%; left: 3%; animation-delay: -8s; }
.floating-words span:nth-child(4) { top: 66%; right: 5%; animation-delay: -2s; }
.floating-words span:nth-child(5) { bottom: 8%; left: 22%; animation-delay: -6s; }
.floating-words span:nth-child(6) { top: 39%; right: 30%; animation-delay: -10s; }
.floating-words span:nth-child(7) { bottom: 19%; right: 25%; animation-delay: -5s; }

.floating-quills span {
  position: absolute;
  width: clamp(3.8rem, 6vw, 6rem);
  aspect-ratio: 1;
  background: url("../assets/mystic-feather-cursor.svg") center / contain no-repeat;
  filter: grayscale(.3) brightness(1.25) drop-shadow(0 0 14px rgba(132, 214, 216, .2));
  opacity: .13;
  animation: quill-float 14s ease-in-out infinite alternate;
}

.floating-quills span:nth-child(1) { top: 11%; left: 34%; transform: rotate(-22deg) scale(.82); }
.floating-quills span:nth-child(2) { top: 29%; left: 24%; transform: rotate(17deg) scale(.7); animation-delay: -4s; }
.floating-quills span:nth-child(3) { top: 43%; right: 14%; transform: rotate(-16deg) scale(.92); animation-delay: -9s; }
.floating-quills span:nth-child(4) { top: 61%; left: 31%; transform: rotate(23deg) scale(.78); animation-delay: -2s; }
.floating-quills span:nth-child(5) { bottom: 9%; right: 9%; transform: rotate(-20deg) scale(.88); animation-delay: -11s; }
.floating-quills span:nth-child(6) { bottom: 23%; left: 9%; transform: rotate(12deg) scale(.66); animation-delay: -6s; }

@keyframes ripple-breathe {
  to { transform: scale(1.08); opacity: .55; }
}

@keyframes word-float {
  0% { transform: translateY(8px); opacity: .35; }
  50% { opacity: 1; }
  100% { transform: translate(18px, -18px); opacity: .48; }
}

@keyframes quill-float {
  0% { margin: 8px 0 0 -4px; opacity: .07; }
  50% { opacity: .15; }
  100% { margin: -12px 0 0 14px; opacity: .1; }
}

@media (prefers-reduced-motion: reduce) {
  .soft-ripples span,
  .floating-words span,
  .floating-quills span { animation: none; }
}
