/* ===========================================================================
   Motion. Everything here fails OPEN: content is hidden for a reveal only
   under `html.js`, which assets/js/main.js sets on its first line (the same
   file that reveals it again). No script, no class, nothing hidden. The
   Elementor editor runs no site script and shows everything regardless.
   =========================================================================== */

.reveal{opacity:1;transform:none}
html.js .reveal{opacity:0;transform:translateY(26px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
html.js .reveal.in{opacity:1;transform:none}
/* phones: a gentler rise, so scrolling never reads as content jumping */
@media (max-width:767px){ html.js .reveal{transform:translateY(12px);transition-duration:.6s} }
body.elementor-editor-active .reveal,
body.elementor-editor-active .reveal.in{opacity:1 !important;transform:none !important}

/* columns side by side arrive one after the other */
html.js .elementor-column.reveal + .elementor-column.reveal{transition-delay:.1s}
html.js .elementor-column.reveal + .elementor-column.reveal + .elementor-column.reveal{transition-delay:.2s}
html.js .elementor-column.reveal + .elementor-column.reveal + .elementor-column.reveal + .elementor-column.reveal{transition-delay:.3s}

/* the hero copy settles in on load (no observer needed: it is on screen) */
html.js .hero-copy .elementor-widget{animation:bem-rise .9s var(--ease) both}
html.js .hero-copy .elementor-widget:nth-child(2){animation-delay:.08s}
html.js .hero-copy .elementor-widget:nth-child(3){animation-delay:.16s}
html.js .hero-copy .elementor-widget:nth-child(n+4){animation-delay:.24s}
html.js .hero-side .pick{animation:bem-rise 1s var(--ease) .2s both}
@keyframes bem-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
body.elementor-editor-active .hero-copy .elementor-widget,body.elementor-editor-active .hero-side .pick{animation:none}

/* the thermostat's reading ticks over when it changes (main.js) */

@media (prefers-reduced-motion:reduce){
  html.js .reveal{opacity:1;transform:none;transition:none}
  html.js .hero-copy .elementor-widget,html.js .hero-side .pick{animation:none}
  .bem .amap-base-ring,.bem .amap-spoke.is-in,.bem .amap-spoke.is-hot,body .elementor .sec-fin::after,.bem .status.is-open .status-led{animation:none}
}
