/* Mantra template decorative leaves & flower (homepage mission / why LMYC) */
@keyframes lmyc-mantra-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lmyc-mantra-line-path {
  to {
    stroke-dashoffset: 1100;
  }
}

@keyframes lmyc-mantra-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -14px, 0);
  }
}

@keyframes lmyc-breathwork-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.lmyc-mission-why-wrap {
  position: relative;
}

.lmyc-why-lmyc-section {
  position: relative;
  overflow: hidden;
}

.lmyc-mantra-decor {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lmyc-mantra-decor > * {
  position: absolute;
}

.lmyc-mantra-decor svg {
  display: block;
  width: 100%;
  height: auto;
}

.lmyc-why-lmyc {
  position: relative;
  z-index: 1;
}

.lmyc-mantra-decor__leaf-stroke {
  right: -2%;
  top: 4%;
  width: clamp(11rem, 24vw, 18rem);
  opacity: 0.42;
}

.lmyc-mantra-decor__leaf-stroke path {
  stroke: rgba(39, 40, 44, 0.42);
  stroke-width: 1px;
  stroke-dasharray: 1100;
  stroke-dashoffset: 0;
  animation: lmyc-mantra-line-path 4s linear infinite alternate;
}

.lmyc-mantra-decor__flower-sun {
  left: 1.5%;
  top: 14%;
  width: clamp(5.5rem, 12vw, 8.5rem);
  color: #c2b08d;
  opacity: 0.88;
}

.lmyc-mantra-decor__flower-sun .wdt-flower-sun {
  transform-origin: center;
  transform-box: fill-box;
  animation: lmyc-mantra-spin 10s linear infinite;
}

.lmyc-mantra-decor__leaves-three {
  right: 4%;
  bottom: 8%;
  width: clamp(8rem, 16vw, 13rem);
  opacity: 0.16;
  color: #425936;
  animation: lmyc-mantra-float 7s ease-in-out infinite;
}

.lmyc-mantra-decor__leaves-three path {
  fill: currentColor;
}

/* Why LMYC — decor anchored to this section (visible on mobile) */
.lmyc-mantra-decor--why .lmyc-mantra-decor__flower-sun {
  left: auto;
  right: clamp(0.5rem, 3vw, 2rem);
  top: clamp(0.75rem, 2vw, 1.5rem);
  width: clamp(4.75rem, 9vw, 7rem);
  opacity: 0.82;
}

.lmyc-mantra-decor--why .lmyc-mantra-decor__leaf-stroke {
  left: clamp(-1.5rem, -2vw, -0.5rem);
  right: auto;
  top: clamp(0.25rem, 1vw, 0.75rem);
  width: clamp(11.5rem, 22vw, 17.5rem);
  opacity: 0.38;
}

.lmyc-mantra-decor--why .lmyc-mantra-decor__leaves-three {
  left: clamp(0.25rem, 2vw, 1.25rem);
  right: auto;
  top: auto;
  bottom: clamp(1.5rem, 8vw, 4rem);
  width: clamp(8.5rem, 15vw, 13.5rem);
  opacity: 0.28;
}

/* About-style practice orbs for Why LMYC goals */
.lmyc-practice-orb {
  display: inline-flex;
  flex-shrink: 0;
  color: #425936;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.lmyc-why-goals-list li:hover .lmyc-practice-orb {
  transform: translateY(-2px);
  filter: saturate(1.08);
}

.lmyc-practice-orb__frame {
  display: block;
  width: 3.35rem;
  height: 3.35rem;
  filter: drop-shadow(0 4px 10px rgba(66, 89, 54, 0.12));
}

.lmyc-practice-orb__frame > path {
  fill: var(--lmyc-orb-bg, #f8f3ed);
}

.lmyc-practice-orb__icon {
  color: var(--lmyc-orb-color, #425936);
}

.lmyc-practice-orb--vitality {
  --lmyc-orb-bg: #ffe4d8;
  --lmyc-orb-color: #ff5c3a;
}

.lmyc-practice-orb--stress {
  --lmyc-orb-bg: #d9f7f2;
  --lmyc-orb-color: #18b5a4;
}

.lmyc-practice-orb--balance {
  --lmyc-orb-bg: #ece2fb;
  --lmyc-orb-color: #8b5cf6;
}

.lmyc-practice-orb--growth {
  --lmyc-orb-bg: #ddf5e7;
  --lmyc-orb-color: #2fbf71;
}

.lmyc-practice-orb--education {
  --lmyc-orb-bg: #fff0cf;
  --lmyc-orb-color: #f59e0b;
}

.lmyc-practice-orb--community {
  --lmyc-orb-bg: #f8f3ed;
  --lmyc-orb-color: #425936;
}

.lmyc-practice-orb--tyi {
  --lmyc-orb-bg: #f8f3ed;
  --lmyc-orb-color: #425936;
}

.lmyc-practice-orb--nonprofit {
  --lmyc-orb-bg: #f8f3ed;
  --lmyc-orb-color: #425936;
}

.lmyc-practice-orb--holistic {
  --lmyc-orb-bg: #f8f3ed;
  --lmyc-orb-color: #425936;
}

.lmyc-practice-orb--therapy {
  --lmyc-orb-bg: #f8f3ed;
  --lmyc-orb-color: #425936;
}

.lmyc-practice-orb--breathwork .lmyc-practice-orb__icon {
  transform-origin: 50% 50%;
  transform-box: fill-box;
  animation: lmyc-breathwork-spin 8s linear infinite;
}

.lmyc-why-goals-list li:hover .lmyc-practice-orb--breathwork .lmyc-practice-orb__icon {
  animation-duration: 4s;
}

@media screen and (max-width: 991px) {
  .lmyc-mantra-decor--why .lmyc-mantra-decor__flower-sun {
    right: 0.75rem;
    top: 0.5rem;
    width: 4.25rem;
    opacity: 0.78;
  }

  .lmyc-mantra-decor--why .lmyc-mantra-decor__leaf-stroke {
    left: -0.75rem;
    top: 0.25rem;
    width: 9.5rem;
    opacity: 0.34;
  }

  .lmyc-mantra-decor--why .lmyc-mantra-decor__leaves-three {
    left: auto;
    right: 0.5rem;
    bottom: auto;
    top: 42%;
    width: 7.5rem;
    opacity: 0.26;
  }
}

@media screen and (max-width: 767px) {
  .lmyc-mantra-decor--why .lmyc-mantra-decor__flower-sun {
    right: 0.5rem;
    top: 0.35rem;
    width: 3.65rem;
    opacity: 0.8;
  }

  .lmyc-mantra-decor--why .lmyc-mantra-decor__leaf-stroke {
    left: -0.5rem;
    top: 0;
    width: 8.5rem;
    opacity: 0.32;
  }

  .lmyc-mantra-decor--why .lmyc-mantra-decor__leaves-three {
    right: 0.35rem;
    top: 36%;
    width: 6.75rem;
    opacity: 0.28;
  }

  .lmyc-mantra-decor--why + .lmyc-why-lmyc .lmyc-why-copy {
    padding-inline: 4.25rem 3.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lmyc-mantra-decor__leaf-stroke path,
  .lmyc-mantra-decor__flower-sun .wdt-flower-sun,
  .lmyc-practice-orb--breathwork .lmyc-practice-orb__icon,
  .lmyc-mantra-decor__leaves-three {
    animation: none !important;
  }
}
