/* GlassWing butterfly — staff and homepage */

#karla-carey-ms-lpcc-owner,
#charlene-brouwer-ma-lmft {
  position: relative;
  overflow: hidden;
  padding-top: 65px;
}

.glasswing-home-hero {
  position: relative;
  overflow: hidden;
  padding-top: 70px !important;
}

/* Butterfly appearance */

#karla-carey-ms-lpcc-owner::before,
#charlene-brouwer-ma-lmft::before,
.glasswing-home-hero::before {
  content: "";
  position: absolute;
  display: block;
  top: 5px;
  left: 0 !important;
  width: 65px;
  height: 55px;
  background:
    url("https://glasswingcounseling.com/wp-content/uploads/2026/11/glasswing_butterfly_transparent_fixed.gif")
    center / contain no-repeat;
  pointer-events: none;
  z-index: 2;
  animation: glasswing-natural 14s linear infinite !important;
}

/* Natural flight with invisible return */

@keyframes glasswing-natural {
  0% {
    transform: translate(-75px, 15px) rotate(-8deg);
    opacity: 1;
  }


12% {
  transform: translateX(calc(14vw - 75px))
    translateY(-8px) rotate(7deg);
}


  25% {
    transform: translate(calc(29vw - 75px), 13px)
      rotate(-6deg);
  }

  38% {
    transform: translate(calc(44vw - 75px), -10px)
      rotate(8deg);
  }

  52% {
    transform: translate(calc(60vw - 75px), 12px)
      rotate(-7deg);
  }

  65% {
    transform: translate(calc(75vw - 75px), -7px)
      rotate(6deg);
  }

  78% {
    transform: translate(calc(90vw - 75px), 10px)
      rotate(-5deg);
  }

  87% {
    transform: translate(calc(100vw - 75px), 0px)
      rotate(4deg);
    opacity: 1;
  }

  87.1% {
    transform: translate(calc(100vw - 75px), 0px)
      rotate(4deg);
    opacity: 0;
  }

  87.2% {
    transform: translate(-75px, 15px);
    opacity: 0;
  }

  99.9% {
    transform: translate(-75px, 15px);
    opacity: 0;
  }

  100% {
    transform: translate(-75px, 15px);
    opacity: 0;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  #karla-carey-ms-lpcc-owner::before,
  #charlene-brouwer-ma-lmft::before,
  .glasswing-home-hero::before {
    animation: none !important;
    transform: translate(12px, 8px);
    opacity: 1;
  }
}

/* GlassWing gentle affirmation animation */

@keyframes glasswingAffirmation {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glasswing-affirmation-1 {
    animation: glasswingAffirmation 1.8s ease both;
    animation-delay: 0.5s;
}

.glasswing-affirmation-2 {
    animation: glasswingAffirmation 1.8s ease both;
    animation-delay: 2.3s;
}

.glasswing-affirmation-3 {
    animation: glasswingAffirmation 1.8s ease both;
    animation-delay: 4.1s;
}

/* Accessibility: reduced motion preference */

@media (prefers-reduced-motion: reduce) {
    .glasswing-affirmation-1,
    .glasswing-affirmation-2,
    .glasswing-affirmation-3 {
        animation: none;
    }
}

/* GlassWing affirmation colors */

.glasswing-affirmation-1 {
    color: #9454B8 !important;
}

.glasswing-affirmation-2 {
    color: #006B73 !important;
}

.glasswing-affirmation-3 {
    color: #4B246B !important;
}

.glasswing-affirmation-1,
.glasswing-affirmation-1 * {
    color: #9454B8 !important;
}

.glasswing-affirmation-2,
.glasswing-affirmation-2 * {
    color: #006B73 !important;
}

.glasswing-affirmation-3,
.glasswing-affirmation-3 * {
    color: #4B246B !important;
}

/* GlassWing gentle river shimmer */

.glasswing-home-hero {
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            rgba(255, 255, 255, 0.06) 3px,
            transparent 7px,
            transparent 24px
        ),
        url("https://glasswingcounseling.com/wp-content/uploads/2026/11/Rum-River-Background-1.jpg");
    background-size: 100% 40%, cover;
    background-repeat: no-repeat;
    background-position: center bottom, center;
    animation: glasswingRiver 12s ease-in-out infinite;
}

@keyframes glasswingRiver {
    0%, 100% {
        background-position: center 100%, center;
    }
    50% {
        background-position: center 96%, center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .glasswing-home-hero {
        animation: none;
    }
}