/* Section transitions (Joe picked the scroll crossfade, Nov 17), on every screen size.
   section-transitions.js adds .tr-crossfade to <html> and one fixed layer per section; the sections' own
   ::before images (section-grounds.css) stay as the no-JS fallback. */
html.tr-crossfade{background:#07060a}
html.tr-crossfade body{background:transparent}
html.tr-crossfade :is(#services,#clients,#process,#why,#founder,#testimonials,#shop-enrich,#work,#contact){background:transparent!important;box-shadow:none!important}
/* the old "built seams" (1px inset highlights on section edges) would draw hard lines across the crossfade */
html.tr-crossfade :is(#services,#clients,#process,#why,#founder,#testimonials,#shop-enrich,#work,#contact)::before{opacity:0;background:none}
/* 100lvh: the layer keeps covering the screen when the phone's browser bar collapses */
.tr-xf{position:fixed;top:0;left:0;right:0;height:100vh;height:100lvh;z-index:0;pointer-events:none}
.tr-xf>div{position:absolute;inset:0;background-size:cover;background-repeat:no-repeat;opacity:0;will-change:opacity}
html.tr-crossfade :is(.hero,main,section,footer){position:relative;z-index:1}
