/* Extra home motion — layout unchanged · wave307 · load LAST (banner bg stays still) */

/* ---- Soft ambience (not on banner photo) ---- */
.page-home.pw-hm-sad-animated #programmes.pw-hm-services-pro {
  position: relative;
  overflow: hidden;
}

.page-home.pw-hm-sad-animated #programmes .pw-pro-programs__bg {
  animation: hm-plus-drift 22s ease-in-out infinite alternate;
}

@keyframes hm-plus-drift {
  from {
    opacity: 0.45;
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    opacity: 0.65;
    transform: translate3d(-2%, 1.5%, 0) scale(1.04);
  }
}

.page-home.pw-hm-sad-animated #videos.pw-hm-video-clean::before {
  display: block !important;
  content: "" !important;
  position: absolute;
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  right: -8%;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 110, 0.12), transparent 68%);
  pointer-events: none;
  z-index: 0;
  animation: hm-plus-orb 16s ease-in-out infinite;
}

.page-home.pw-hm-sad-animated #videos.pw-hm-video-clean::after {
  display: block !important;
  content: "" !important;
  position: absolute;
  width: 280px;
  height: 280px;
  left: -6%;
  bottom: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 50, 56, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: hm-plus-orb 20s ease-in-out infinite reverse;
}

@keyframes hm-plus-orb {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(12px, -16px);
  }
}

.page-home.pw-hm-sad-animated #videos .pw-hm-video-clean__inner {
  position: relative;
  z-index: 1;
}

/* ---- How we help: stats + CTA ---- */
.page-home.pw-hm-sad-animated #programmes.hm-anim-in .pw-hm-services-pro__stats li {
  animation: hm-plus-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--stat-i, 0) * 90ms + 120ms);
}

.page-home.pw-hm-sad-animated #programmes.hm-anim-in .pw-pro-programs__cta .pw-sl-btn {
  animation: hm-plus-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.page-home.pw-hm-sad-animated #programmes .pw-pro-program__arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home.pw-hm-sad-animated #programmes .pw-pro-program--pro:hover .pw-pro-program__arrow {
  transform: translateX(6px);
}

.page-home.pw-hm-sad-animated #programmes .pw-pro-program__thumb img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home.pw-hm-sad-animated #programmes .pw-pro-program--pro:hover .pw-pro-program__thumb img {
  transform: scale(1.06);
}

@keyframes hm-plus-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- Mosaic ---- */
.page-home.pw-hm-sad-animated .pw-hm-sad-mosaic__head span {
  display: inline-block;
  animation: hm-plus-shimmer 4s ease-in-out infinite;
  background: linear-gradient(90deg, #b89558, #d4b87a, #b89558);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes hm-plus-shimmer {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.page-home.pw-hm-sad-animated .pw-hm-sad-mosaic__cell img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home.pw-hm-sad-animated .pw-hm-sad-mosaic__cell:hover img {
  transform: scale(1.08);
}

.page-home.pw-hm-sad-animated .pw-hm-sad-mosaic__cell span {
  transition: transform 0.35s ease, letter-spacing 0.35s ease;
}

.page-home.pw-hm-sad-animated .pw-hm-sad-mosaic__cell:hover span {
  transform: translateY(-2px);
  letter-spacing: 0.04em;
}

/* ---- Clean videos ---- */
.page-home.pw-hm-sad-animated #videos.hm-anim-in .pw-hm-video-clean__label,
.page-home.pw-hm-sad-animated #videos.hm-anim-in .pw-hm-video-clean__title,
.page-home.pw-hm-sad-animated #videos.hm-anim-in .pw-hm-video-clean__lead {
  animation: hm-plus-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-home.pw-hm-sad-animated #videos.hm-anim-in .pw-hm-video-clean__title {
  animation-delay: 0.08s;
}

.page-home.pw-hm-sad-animated #videos.hm-anim-in .pw-hm-video-clean__lead {
  animation-delay: 0.16s;
}

.page-home.pw-hm-sad-animated #videos.hm-anim-in .pw-hm-video-clean__title::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  margin: 12px auto 0;
  background: #c9a86e;
  border-radius: 2px;
  animation: hm-plus-line 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

@keyframes hm-plus-line {
  to {
    width: 52px;
  }
}

.page-home.pw-hm-sad-animated #videos.hm-anim-in .pw-hm-video-clean__item {
  animation: hm-plus-vid-in 0.75s cubic-bezier(0.34, 1.25, 0.64, 1) both;
  animation-delay: calc(var(--v, 0) * 120ms + 220ms);
}

@keyframes hm-plus-vid-in {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  70% {
    transform: translateY(-3px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.page-home.pw-hm-sad-animated .pw-hm-video-clean__item {
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}

.page-home.pw-hm-sad-animated .pw-hm-video-clean__item.hm-tilt-active {
  transform: translateY(-4px) rotateX(var(--hm-tilt-x, 0deg)) rotateY(var(--hm-tilt-y, 0deg));
}

.page-home.pw-hm-sad-animated .pw-hm-video-clean__play {
  animation: hm-plus-play-pulse 2.4s ease-in-out infinite;
}

.page-home.pw-hm-sad-animated .pw-hm-video-clean__item:hover .pw-hm-video-clean__play {
  animation: none;
  opacity: 1;
  transform: scale(1.05);
}

@keyframes hm-plus-play-pulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0.25);
  }
  50% {
    box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.08);
  }
}

.page-home.pw-hm-sad-animated .pw-hm-video-clean__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.35) 50%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.page-home.pw-hm-sad-animated .pw-hm-video-clean__item:hover .pw-hm-video-clean__thumb::after {
  transform: translateX(120%);
}

.page-home.pw-hm-sad-animated #videos.hm-anim-in .pw-hm-video-clean__links {
  animation: hm-plus-fade-up 0.6s ease 0.55s both;
}

/* ---- Get Help banner (frame + text only; bg locked in home-banner-still.css) ---- */
.page-home.pw-hm-sad-animated .pw-hm-banner-pro.hm-anim-in .pw-sl-banner__title {
  animation: hm-plus-fade-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.page-home.pw-hm-sad-animated .pw-hm-banner-pro.hm-anim-in .pw-sl-banner__btn {
  animation: hm-plus-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.page-home.pw-hm-sad-animated .pw-hm-banner-pro .pw-sl-banner__frame {
  transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home.pw-hm-sad-animated .pw-hm-banner-pro.hm-anim-in .pw-sl-banner__frame {
  animation: hm-plus-frame-glow 4s ease-in-out infinite;
}

@keyframes hm-plus-frame-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 168, 110, 0.15);
  }
  50% {
    box-shadow: 0 0 28px 2px rgba(201, 168, 110, 0.22);
  }
}

.page-home.pw-hm-sad-animated .pw-hm-banner-pro .pw-sl-banner__btn {
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-home.pw-hm-sad-animated .pw-hm-banner-pro .pw-sl-banner__btn:hover {
  transform: translateY(-3px);
}

/* ---- Founder ---- */
.page-home.pw-hm-sad-animated .pw-hm-founder-pro.hm-anim-in .pw-hm-founder-strip__photo {
  animation: hm-plus-founder-float 5s ease-in-out infinite;
}

@keyframes hm-plus-founder-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.page-home.pw-hm-sad-animated .pw-hm-founder-pro .pw-hm-founder-strip__more {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.page-home.pw-hm-sad-animated .pw-hm-founder-pro .pw-hm-founder-strip__more:hover {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .page-home.pw-hm-sad-animated #programmes .pw-pro-programs__bg,
  .page-home.pw-hm-sad-animated #videos.pw-hm-video-clean::before,
  .page-home.pw-hm-sad-animated #videos.pw-hm-video-clean::after,
  .page-home.pw-hm-sad-animated .pw-hm-video-clean__play,
  .page-home.pw-hm-sad-animated .pw-hm-banner-pro.hm-anim-in .pw-sl-banner__frame,
  .page-home.pw-hm-sad-animated .pw-hm-founder-pro.hm-anim-in .pw-hm-founder-strip__photo,
  .page-home.pw-hm-sad-animated .pw-hm-sad-mosaic__head span {
    animation: none !important;
  }

  .page-home.pw-hm-sad-animated #videos.hm-anim-in .pw-hm-video-clean__item,
  .page-home.pw-hm-sad-animated #programmes.hm-anim-in .pw-hm-services-pro__stats li {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
