/* Lite motion — same effects, lower GPU cost (old phones) */

/* Loader — touch / lite: static scene, cheap text in (no clip-path / stroke-dash) */
html.wwh-loader-simple .wwh-loader__mist,
html.wwh-loader-simple .wwh-loader__mist--2,
html.wwh-loader-simple .wwh-loader__embers {
  display: none !important;
}

html.wwh-loader-simple .wwh-loader__moon {
  animation: none;
  opacity: 0.17;
  filter: none;
  box-shadow: 0 0 72px 20px rgba(214, 205, 231, 0.1);
}

html.wwh-loader-simple .wwh-loader__haze {
  animation: none;
  opacity: 0.42;
}

html.wwh-loader-simple .wwh-loader__focus {
  animation: wwhLoaderFocusIn 380ms cubic-bezier(0.23, 1, 0.32, 1) both;
}

html.wwh-loader-simple .wwh-loader__title span {
  clip-path: none;
  transform: none;
  animation: wwhLoaderWordLite 420ms ease forwards;
}

html.wwh-loader-simple .wwh-loader__title span:nth-child(1) {
  animation-delay: 120ms;
}

html.wwh-loader-simple .wwh-loader__title span:nth-child(2) {
  animation-delay: 260ms;
}

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

html.wwh-loader-simple .wwh-loader__sigil {
  filter: none;
}

html.wwh-loader-simple .wwh-loader__sigil-ring,
html.wwh-loader-simple .wwh-loader__sigil-mark {
  animation: none;
  stroke-dashoffset: 0;
}

html.wwh-loader-simple .wwh-loader__sigil-core {
  animation: wwhLoaderCoreLite 320ms ease 180ms forwards;
}

@keyframes wwhLoaderCoreLite {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

html.wwh-loader-simple .wwh-loader__rule span {
  animation: wwhLoaderRuleIn 360ms ease 320ms forwards;
}

html.wwh-loader-simple .wwh-loader__caption {
  animation: wwhLoaderCaptionIn 320ms ease 420ms forwards;
}

html.wwh-perf-lite .wwh-loader__moon,
html.wwh-perf-lite .wwh-loader__mist--2 {
  display: none;
}

html.wwh-perf-lite .wwh-loader__mist {
  animation-duration: 72s;
  opacity: 0.28;
  will-change: auto;
}

html.wwh-perf-lite .wwh-loader__haze {
  animation: none;
  opacity: 0.45;
}

html.wwh-perf-lite .wwh-loader__ember:nth-child(n + 5) {
  display: none;
}

html.wwh-perf-lite .wwh-loader__moon {
  animation-duration: 5.2s;
}

html.wwh-perf-lite .wwh-loader__focus {
  animation-duration: 420ms;
}

html.wwh-perf-lite .hero-spotlight:not(.is-reduced) {
  background: rgba(4, 2, 8, 0.82);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html.wwh-perf-lite .atmosphere-exempt .mist--2 {
  display: none;
}

html.wwh-perf-lite .atmosphere-exempt .atmosphere-dust {
  animation: none;
  opacity: 0.35;
}

html.wwh-perf-lite .atmosphere-exempt .moon {
  animation: none;
  opacity: 0.12;
}

html.wwh-perf-lite .atmosphere-exempt .mist {
  animation-duration: 80s;
}

html.wwh-perf-lite .atmosphere-exempt .ember:nth-child(n + 9) {
  display: none;
}

html.wwh-perf-lite .wwh-fish-layer .fish {
  filter: none !important;
}

/* Touch / weak GPU — drop full-screen SVG noise (major jank in hero) */
html.wwh-touch body::before,
html.wwh-perf-lite body::before {
  display: none;
}

html.wwh-touch .hero__title,
html.wwh-perf-lite .hero__title {
  animation: fadeInUp 0.8s ease forwards !important;
  animation-delay: 0.3s !important;
  text-shadow: 0 0 36px rgba(255, 255, 255, 0.12);
}

html.wwh-touch .moon,
html.wwh-perf-lite .atmosphere-exempt .moon {
  box-shadow: 0 0 80px 24px rgba(214, 205, 231, 0.1);
  filter: none;
}

html.wwh-touch .mist--2,
html.wwh-perf-lite .mist--2 {
  display: none;
}

html.wwh-touch .atmosphere-exempt .atmosphere-dust {
  animation: none;
  opacity: 0.38;
}

html.wwh-touch .fish__inner {
  animation-duration: calc(var(--wobble-dur, 2s) * 1.35);
}
