/* Before / After on desktop, after the user's desktop mockup: two columns on one screen.
   Right: the title in green script with its brush underline, the description and the projects plank.
   Left: a wide, rounded wooden frame with four screws (wood-frame-wide.webp) holding the slider.
   Phones and tablets keep the portrait board from before-after.css. */
@media(min-width:821px){
  .fsec.ba2.ba2{padding:clamp(230px,19vw,330px) max(40px,calc((100vw - 1320px) / 2)) clamp(180px,15vw,250px)}
  .ba2.ba2 .ba2-board{display:grid;grid-template-columns:minmax(0,.62fr) minmax(0,1.38fr);grid-template-rows:1fr auto auto auto auto 1fr;align-content:center;
    column-gap:clamp(44px,4.5vw,84px);aspect-ratio:auto;max-width:1320px;container-type:normal}
  .ba2.ba2 .ba2-board>*{position:relative;inset:auto;left:auto;top:auto;width:auto;height:auto}
  .ba2.ba2 :is(.ba2-fl,.ba2-wood,.ba2-ivy2){display:none}

  /* copy column (first column is the right side in RTL) */
  .ba2.ba2 .ba2-title{grid-column:1;grid-row:2;justify-self:end;align-self:end;margin:0;text-align:end}
  .ba2.ba2 .ba2-title img{display:none}
  .ba2.ba2 .ba2-title .sr{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal;display:block;
    font-family:"Gveret Levin",Heebo,sans-serif;font-weight:400;font-size:clamp(54px,5.6vw,92px);line-height:1;color:#2c5410;text-shadow:0 2px 0 #fff8e680;text-align:left}
  .ba2.ba2 .ba2-ul{display:none!important;grid-column:1;grid-row:2;justify-self:start;width:clamp(180px,17vw,290px);margin:clamp(4px,.6vw,10px) 0 0;filter:hue-rotate(10deg) saturate(1.1)}
  .ba2.ba2 .ba2-desc{grid-column:1;grid-row:4;margin:clamp(14px,1.4vw,22px) 0 0;max-width:26em;justify-self:end;font-size:clamp(17px,1.3vw,21px);line-height:1.6;color:#3d4630;text-align:end}
  .ba2.ba2 .ba2-board>.ba2-btn{grid-column:1;grid-row:5;justify-self:end;align-self:start;margin-top:clamp(22px,2.4vw,40px);position:relative}
  .ba2.ba2 .ba2-board>button.ba2-btn.fire-cta.fire-on{--w:clamp(200px,15vw,236px);width:var(--w);height:auto;left:auto;top:auto;margin-top:clamp(26px,2.6vw,40px);justify-self:end;margin-inline-start:0}
  .ba2.ba2 .ba2-btn.fire-cta.fire-on .fire-label{font-size:7.2cqw;white-space:nowrap;max-width:none}

  /* frame column */
  .ba2.ba2 .ba2-frame{grid-column:2;grid-row:1/7;align-self:center;position:relative;width:100%;aspect-ratio:1208/567;margin:0;filter:drop-shadow(0 18px 22px #3b2a1040)}
  .ba2.ba2 .ba2-frame::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background:url('assets/before-after-rebuilt/wood-frame-wide.webp') center/100% 100% no-repeat}
  .fsec.ba2.ba2 .ba2-frame .ba-slider{position:absolute;inset:13.4% 5.9% 13.4% 5.8%;aspect-ratio:auto;border-radius:10px;box-shadow:none;z-index:1}
  .ba2.ba2 .ba-slider img{object-position:50% 58%}

  /* entrance: copy rises, the frame slides in from the left */
  .motion-enabled .ba2.ba2 .ba2-frame{opacity:0;translate:-36px 0;scale:1;transition:opacity .8s .15s cubic-bezier(.22,1,.36,1),translate .9s .15s cubic-bezier(.22,1,.36,1)}
  .motion-enabled .ba2.ba2.in .ba2-frame{opacity:1;translate:0 0}
  .ba2.ba2 .ba2-canopy.l{width:clamp(220px,22vw,380px);top:-30px}
  .ba2.ba2 .ba2-canopy.r{display:none}
}
@media(min-width:821px) and (prefers-reduced-motion:reduce){.motion-enabled .ba2.ba2 .ba2-frame{opacity:1;translate:none}}
