/* Falling snow: the home-page hero (.hero-snow) and the "How It Works" section on the Residential page (.section-snow).
   GENERATED by image-originals/make-snow-css.py (edit LAYERS there and re-run to change it).
   - The flakes live in a .hero-snow / .section-snow box that sits BEHIND the headline, buttons and photo (see the z-index rules below).
   - Only transform/translate are animated, so it runs on the graphics chip and costs the page almost nothing.
   - It pauses while its box is off-screen (main.js adds .is-paused) and is switched off for visitors who ask for reduced motion. */

/* content above the snow */
.hero--split .hero-split,
.section--snow > .container { position: relative; z-index: 1; }
.section--snow { position: relative; overflow: hidden; }   /* the snow box fills the section and is clipped to it */

.hero-snow,
.section-snow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;   /* never blocks a click or tap on the buttons beneath/above it */
}
/* each layer is one tile taller than the hero and slightly wider (for the sway), and slides down exactly one tile per loop */
.hero-snow i,
.section-snow i {
  position: absolute;
  display: block;
  left: -40px;
  right: -40px;
  top: calc(-1 * var(--tile));
  bottom: 0;
  background-repeat: repeat;
  will-change: transform;
}
@keyframes snow-fall { to { transform: translateY(var(--tile)); } }
@keyframes snow-sway { from { translate: -14px 0; } to { translate: 14px 0; } }

.hero-snow .s1,
.section-snow .s1 {
  --tile: 360px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='%23ffffff' stop-opacity='1'/%3E%3Cstop offset='.45' stop-color='%23ffffff' stop-opacity='.9'/%3E%3Cstop offset='1' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='137' cy='118' r='1.7' fill='url(%23g)' opacity='0.90'/%3E%3Ccircle cx='328' cy='201' r='2.7' fill='url(%23g)' opacity='0.78'/%3E%3Ccircle cx='121' cy='6' r='2.7' fill='url(%23g)' opacity='0.67'/%3E%3Ccircle cx='49' cy='117' r='1.8' fill='url(%23g)' opacity='0.79'/%3E%3Ccircle cx='227' cy='150' r='2.4' fill='url(%23g)' opacity='0.79'/%3E%3Ccircle cx='212' cy='27' r='2.0' fill='url(%23g)' opacity='0.68'/%3E%3Ccircle cx='250' cy='284' r='2.1' fill='url(%23g)' opacity='0.73'/%3E%3Ccircle cx='235' cy='213' r='2.0' fill='url(%23g)' opacity='0.67'/%3E%3Ccircle cx='276' cy='22' r='2.0' fill='url(%23g)' opacity='0.57'/%3E%3Ccircle cx='336' cy='306' r='2.3' fill='url(%23g)' opacity='0.85'/%3E%3Ccircle cx='113' cy='325' r='2.1' fill='url(%23g)' opacity='0.58'/%3E%3Ccircle cx='25' cy='206' r='2.2' fill='url(%23g)' opacity='0.79'/%3E%3Ccircle cx='97' cy='70' r='2.5' fill='url(%23g)' opacity='0.72'/%3E%3Ccircle cx='139' cy='280' r='1.7' fill='url(%23g)' opacity='0.81'/%3E%3Ccircle cx='103' cy='228' r='1.9' fill='url(%23g)' opacity='0.79'/%3E%3Ccircle cx='50' cy='324' r='2.5' fill='url(%23g)' opacity='0.83'/%3E%3Ccircle cx='256' cy='351' r='1.9' fill='url(%23g)' opacity='0.79'/%3E%3Ccircle cx='322' cy='141' r='2.5' fill='url(%23g)' opacity='0.73'/%3E%3Ccircle cx='151' cy='176' r='1.7' fill='url(%23g)' opacity='0.75'/%3E%3Ccircle cx='273' cy='179' r='1.7' fill='url(%23g)' opacity='0.69'/%3E%3C/svg%3E");
  background-size: 360px 360px;
  animation: snow-fall 15s linear infinite, snow-sway 7.0s ease-in-out -2s infinite alternate;
}

.hero-snow .s2,
.section-snow .s2 {
  --tile: 480px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='480' viewBox='0 0 480 480'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='%23ffffff' stop-opacity='1'/%3E%3Cstop offset='.45' stop-color='%23ffffff' stop-opacity='.9'/%3E%3Cstop offset='1' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='283' cy='121' r='4.6' fill='url(%23g)' opacity='0.74'/%3E%3Ccircle cx='319' cy='25' r='4.3' fill='url(%23g)' opacity='0.66'/%3E%3Ccircle cx='432' cy='104' r='3.6' fill='url(%23g)' opacity='0.90'/%3E%3Ccircle cx='463' cy='354' r='4.3' fill='url(%23g)' opacity='0.83'/%3E%3Ccircle cx='57' cy='431' r='3.8' fill='url(%23g)' opacity='0.69'/%3E%3Ccircle cx='24' cy='325' r='4.0' fill='url(%23g)' opacity='0.82'/%3E%3Ccircle cx='9' cy='154' r='3.5' fill='url(%23g)' opacity='0.69'/%3E%3Ccircle cx='53' cy='36' r='3.4' fill='url(%23g)' opacity='0.94'/%3E%3Ccircle cx='140' cy='416' r='4.1' fill='url(%23g)' opacity='0.94'/%3E%3Ccircle cx='247' cy='421' r='3.3' fill='url(%23g)' opacity='0.65'/%3E%3Ccircle cx='282' cy='297' r='4.4' fill='url(%23g)' opacity='0.67'/%3E%3Ccircle cx='384' cy='202' r='3.9' fill='url(%23g)' opacity='0.69'/%3E%3Ccircle cx='409' cy='462' r='3.6' fill='url(%23g)' opacity='0.78'/%3E%3C/svg%3E");
  background-size: 480px 480px;
  animation: snow-fall 11s linear infinite, snow-sway 9.0s ease-in-out -5s infinite alternate;
}

.hero-snow .s3,
.section-snow .s3 {
  --tile: 620px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='620' height='620' viewBox='0 0 620 620'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='%23e4f0ff' stop-opacity='1'/%3E%3Cstop offset='.45' stop-color='%23e4f0ff' stop-opacity='.9'/%3E%3Cstop offset='1' stop-color='%23e4f0ff' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='479' cy='425' r='8.6' fill='url(%23g)' opacity='0.61'/%3E%3Ccircle cx='377' cy='86' r='7.6' fill='url(%23g)' opacity='0.53'/%3E%3Ccircle cx='568' cy='40' r='8.6' fill='url(%23g)' opacity='0.45'/%3E%3Ccircle cx='204' cy='461' r='8.5' fill='url(%23g)' opacity='0.53'/%3E%3Ccircle cx='272' cy='252' r='8.6' fill='url(%23g)' opacity='0.46'/%3E%3Ccircle cx='337' cy='588' r='8.5' fill='url(%23g)' opacity='0.49'/%3E%3Ccircle cx='76' cy='105' r='6.6' fill='url(%23g)' opacity='0.60'/%3E%3C/svg%3E");
  background-size: 620px 620px;
  animation: snow-fall 8.5s linear infinite, snow-sway 6.0s ease-in-out -1s infinite alternate;
}


.hero-snow.is-paused i,
.section-snow.is-paused i { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .hero-snow i[class],
  .section-snow i[class] { animation: none; }   /* a still, gentle sprinkle of flakes instead of motion (i[class] outranks the per-layer rules above) */
}
@media print { .hero-snow, .section-snow { display: none; } }
