/* Ground seam between "before/after" and the reviews, following the user's transition mockup:
   a strip of soil with grass edges lies across the meeting line, a trowel is stuck in it on the left,
   a garden rock and pink hydrangeas sit on the right, and vines hang down into the lit garden below.

   Built to behave the same in Chromium and iOS Safari:
   - .ground-seam is a plain zero-height positioned layer with NO overflow property at all
     (overflow-x:clip on it hid everything on iPhone; overflow:hidden on a negative-margin box cropped it).
   - The soil strip is a background image on .ground-seam::before spanning exactly left:0..right:0.
     A background can never overflow its box, and background-size:112% crops the soil's tapered ends,
     so the strip runs edge to edge with ragged grass ends and nothing pokes out sideways.
   - Every other piece is kept inside the viewport (no negative left/right), so no side scroll.
   - The reviews photo starts exactly at the middle of the soil's solid band, so its top edge is hidden. */
:root{--gs-h:clamp(110px,11vw,190px)}
@media(max-width:600px){:root{--gs-h:136px}}

.ground-seam{position:relative;z-index:6;height:0;margin:0;pointer-events:none}
.ground-seam::before{content:"";position:absolute;z-index:2;left:0;right:0;height:var(--gs-h);
  /* the soil image is opaque from 38% to 67% of its height in every column: centre that band on the seam */
  top:calc(var(--gs-h) * -.525);
  background:url('assets/garden-transition-desktop/soil-transition.webp') 50% 50%/112% 100% no-repeat;
  filter:drop-shadow(0 8px 10px #1d12084d)}
.ground-seam img{position:absolute;display:block;height:auto}
.ground-seam .gs-soil{display:none}
.gs-vine{z-index:1;width:clamp(190px,30vw,460px);top:calc(var(--gs-h) * .2)}
.gs-vine.l{left:0}
.gs-vine.r{right:0;transform:scaleX(-1)}
.gs-trowel{z-index:3;left:clamp(16px,4vw,90px);width:clamp(82px,9vw,150px);top:calc(var(--gs-h) * -.525 - clamp(44px,4.7vw,68px));rotate:-6deg}
.gs-rock{z-index:3;right:clamp(70px,16vw,300px);width:clamp(110px,12vw,220px);top:calc(var(--gs-h) * -.525 + clamp(4px,.4vw,8px))}
.gs-flowers{z-index:4;right:0;width:clamp(150px,17vw,300px);top:calc(var(--gs-h) * -.525 - clamp(30px,3.5vw,50px))}

/* the reviews open on the user's lit garden background, under the hanging vines */
.rvs.sx{padding-top:clamp(150px,16vw,240px)}
.rvs::before{inset:0 0 clamp(40px,4vw,64px);-webkit-mask:none;mask:none;
  background:url('assets/garden-transition-desktop/reviews-garden-background.webp') center 30%/cover}
.rvs .rvs-sign{background-image:url('assets/garden-transition-desktop/reviews-wood-sign.webp');aspect-ratio:1024/226;width:min(620px,90%)}
.rvs .rvs-sign span{translate:0 2%}

/* a little life once it scrolls in: the vines grow down, the trowel pushes into the soil */
.motion-enabled .gs-vine{clip-path:inset(0 0 100% 0);transition:clip-path 1.6s cubic-bezier(.3,.6,.3,1)}
.motion-enabled .gs-trowel{opacity:0;translate:0 -24px;transition:opacity .4s,translate .7s cubic-bezier(.3,1.5,.5,1)}
.motion-enabled .ground-seam.in .gs-vine{clip-path:inset(0 -10% -10% -10%)}
.motion-enabled .ground-seam.in .gs-trowel{opacity:1;translate:none}
@media(prefers-reduced-motion:reduce){.motion-enabled .gs-vine,.motion-enabled .gs-trowel{clip-path:none!important;opacity:1!important;translate:none!important;transition:none!important}}
body.paused .gs-vine,body.paused .gs-trowel{clip-path:none!important;opacity:1!important;translate:none!important}
@media(max-width:600px){
  .gs-trowel{top:-135px;left:14px}
  .gs-rock{top:-63px;right:24%}
  .gs-flowers{top:-91px;width:132px}
  .gs-vine{top:7px}
  .rvs.sx{padding-top:128px}
}
