/* Section grounds v3 (Joe, Nov 16): photographic Monolith backgrounds, chosen in the background studio
   (backgrounds.html, "Load all my #1s"). Each section paints one image on ::before, under a flat dark
   scrim (--sg-dim). Replaces the CSS-only grounds from homepage-polish.css for these sections. */
#services,#clients,#process,#why,#founder,#testimonials,#shop-enrich,#work,#contact,.footer{
  position:relative;isolation:isolate;background:#07060a;box-shadow:none}
#services::before,#clients::before,#process::before,#why::before,#founder::before,#testimonials::before,#shop-enrich::before,#work::before,#contact::before,.footer::before{
  content:"";display:block;position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:1;transform:none;filter:none;
  background:linear-gradient(rgba(5,4,8,var(--sg-dim)),rgba(5,4,8,var(--sg-dim))),var(--sg-img) var(--sg-pos,center)/cover no-repeat}

#services{--sg-dim:.55;--sg-img:url(backgrounds/bg-t03-hd.webp)}
#clients{--sg-dim:.30;--sg-img:url(backgrounds/bg-m06-hd.webp)}
#process{--sg-dim:.40;--sg-img:url(backgrounds/bg-c10-hd.webp)}
#why{--sg-dim:.35;--sg-img:url(backgrounds/bg-m02-hd.webp)}
#founder{--sg-dim:.62;--sg-img:url(backgrounds/bg-c08-hd.webp);--sg-pos:center}
#testimonials.section--paper{--sg-dim:0;--sg-img:url(backgrounds/bg-m04-hd.webp);background:#e9e4dc}
#shop-enrich.section--black{--sg-dim:.30;--sg-img:url(backgrounds/bg-m09-hd.webp);background:#07060a}
#work{--sg-dim:.40;--sg-img:url(backgrounds/bg-m07-hd.webp)}
#contact{--sg-dim:.30;--sg-img:url(backgrounds/bg-c01-hd.webp)}
.footer{--sg-dim:.30;--sg-img:url(backgrounds/bg-m01-hd.webp)}

/* Phones: portrait crops at 1170x2532 (full screen height at 3x), sharp and lighter than the 3840px files.
   Regenerated + Real-ESRGAN upscaled Nov 17 so nothing renders soft (sources in backgrounds/hires/). */
@media (max-width:700px){
  #services{--sg-img:url(backgrounds/bg-t03-m.webp)}
  #clients{--sg-img:url(backgrounds/bg-m06-m.webp)}
  #process{--sg-img:url(backgrounds/bg-c10-m.webp)}
  #why{--sg-img:url(backgrounds/bg-m02-m.webp)}
  #founder{--sg-img:url(backgrounds/bg-c08-m.webp)}
  #testimonials.section--paper{--sg-img:url(backgrounds/bg-m04-m.webp)}
  #shop-enrich.section--black{--sg-img:url(backgrounds/bg-m09-m.webp)}
  #work{--sg-img:url(backgrounds/bg-m07-m.webp)}
  #contact{--sg-img:url(backgrounds/bg-c01-m.webp)}
  .footer{--sg-img:url(backgrounds/bg-m01-m.webp)}
}
