.purification-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}

.purification-layer,
.purification-mist,
.azimut-clear-path,
.purification-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.purification-layer::before,
.purification-layer::after {
  content: "";
  position: absolute;
  width: 44vw;
  height: 44vw;
  min-width: 360px;
  min-height: 360px;
  border-radius: 48% 52% 42% 58%;
  background: radial-gradient(circle, rgba(230, 210, 170, 0.45), rgba(250, 240, 220, 0.1) 58%, transparent 72%);
  filter: blur(18px);
  animation: azimutBlob 22s ease-in-out infinite alternate;
}

.purification-layer::before {
  left: -16%;
  top: -18%;
}

.purification-layer::after {
  right: -18%;
  bottom: -24%;
  background: radial-gradient(circle, rgba(220, 195, 155, 0.36), rgba(250, 246, 238, 0.16) 62%, transparent 74%);
  animation-duration: 28s;
}

.purification-mist {
  opacity: calc(0.72 - var(--clarity-progress, 0) * 0.42);
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(255,255,255,0.52) 28%, transparent 42% 100%),
    repeating-linear-gradient(100deg, rgba(255,255,255,0.18) 0 2px, transparent 2px 44px);
  filter: blur(10px);
  transform: translate3d(calc(var(--clarity-progress, 0) * 34px), 0, 0);
  animation: azimutMist 18s ease-in-out infinite alternate;
}

.azimut-clear-path svg {
  width: 100%;
  height: 100%;
  opacity: calc(0.2 + var(--clarity-progress, 0) * 0.45);
}

.azimut-clear-path path {
  fill: none;
  stroke: rgba(174, 139, 102, 0.34);
  stroke-width: 2;
  stroke-dasharray: 8 16;
  animation: azimutDash 18s linear infinite;
}

.azimut-clear-path circle {
  fill: rgba(185, 144, 89, 0.24);
}

.botanical-corner {
  position: absolute;
  right: -20px;
  bottom: -10px;
  width: min(360px, 42vw);
  height: min(360px, 42vw);
  opacity: 0.22;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 40% 70%, transparent 0 54%, rgba(174, 139, 102, 0.38) 55% 56%, transparent 57%),
    radial-gradient(ellipse at 63% 43%, rgba(174, 139, 102, 0.34) 0 8%, transparent 9%),
    radial-gradient(ellipse at 45% 52%, rgba(174, 139, 102, 0.28) 0 7%, transparent 8%),
    radial-gradient(ellipse at 70% 62%, rgba(174, 139, 102, 0.24) 0 8%, transparent 9%);
  animation: leafBreath 9s ease-in-out infinite alternate;
}

.clarity-section,
.formats-section,
.directions-section,
.you-alone-section,
.audio-section,
.cta-band,
.page-hero,
.hero,
.site-footer {
  position: relative;
  overflow: hidden;
}

.clarity-section > *,
.formats-section > *,
.directions-section > *,
.you-alone-section > *,
.audio-section > *,
.cta-band > *,
.page-hero > *,
.hero > *,
.site-footer > * {
  position: relative;
  z-index: 1;
}

body.clarity-state .site-header {
  background: rgba(250, 253, 252, 0.95);
}

@keyframes filterPanelIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tests-filter-dropdown.is-open .tests-filter-panel {
  animation: filterPanelIn 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes azimutBlob {
  from { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  to { transform: translate3d(48px, 28px, 0) rotate(16deg) scale(1.08); }
}

@keyframes azimutMist {
  from { background-position: 0 0, 0 0; }
  to { background-position: 70px 24px, 120px 0; }
}

@keyframes azimutDash {
  to { stroke-dashoffset: -180; }
}

@keyframes leafBreath {
  from { transform: translate3d(0, 0, 0) rotate(-2deg); }
  to { transform: translate3d(-10px, -12px, 0) rotate(2deg); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .purification-mist {
    transform: none;
  }
}
