/* AI visualizer banner (13 Oct 2026; kitchen and bathroom pages 14 Oct 2026), copied from the homepage #jdi-v3 block: a real photo is redesigned by the AI as the
   banner scrolls in. Tuning knobs are the custom properties on .v3-viz. Static, finished state without JS. */
.v3-viz{--viz-sweep:1100ms;--viz-settle:650ms;--viz-wave-opacity:.22;--viz-scan-opacity:.6;--viz-spot-opacity:.14;--viz-spot-size:280px;--viz-lift:2px;--pos:50%;
  position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,440px);align-items:center;gap:40px;
  margin-top:40px;padding:34px 34px 34px 40px;border-radius:18px;background:var(--v3-forest);color:#fff;
  box-shadow:0 1px 2px rgba(20,40,28,.08),0 12px 30px rgba(20,40,28,.12);transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s}
.v3-viz-copy{position:relative;z-index:1;min-width:0}
.v3-viz-tag{display:block;font-size:12px;line-height:1;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:#a8dba0;margin:0 0 12px}
.v3-viz-tag b{font-weight:700;color:#d6f2cf;margin-right:6px}
.v3-viz-h{margin:0;font-size:clamp(22px,2.4vw,30px);line-height:1.18;font-weight:700;letter-spacing:-.015em;color:#fff;text-wrap:balance}
.v3-viz-p{margin:10px 0 0;font-size:16px;line-height:1.6;color:rgba(255,255,255,.86);max-width:560px}
/* CTA: the white pill lifts, the link box stays put */
.v3-viz .v3-viz-cta,.v3-viz .v3-viz-cta:hover{position:relative;isolation:isolate;margin-top:22px;background-color:transparent!important;color:var(--v3-forest)!important;outline:none}
.v3-viz-cta:before{content:"";position:absolute;inset:0;z-index:-1;border-radius:999px;background:#fff;box-shadow:0 0 0 rgba(58,134,53,0);transition:transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s}
.v3-viz-cta>span{display:inline-flex;align-items:center;gap:8px;transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.v3-viz-cta i{font-style:normal;transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.v3-viz-cta:hover:before,.v3-viz-cta:focus-visible:before{transform:translateY(calc(-1*var(--viz-lift)));box-shadow:0 10px 24px rgba(80,167,71,.38)}
.v3-viz-cta:hover>span,.v3-viz-cta:focus-visible>span{transform:translateY(calc(-1*var(--viz-lift)))}
.v3-viz-cta:hover i,.v3-viz-cta:focus-visible i{transform:translateX(4px)}
.v3-viz-cta:focus-visible:after{content:"";position:absolute;inset:-5px;border-radius:999px;border:2px solid #a8dba0}
.v3-viz.is-halo .v3-viz-cta:after{content:"";position:absolute;inset:0;border-radius:999px;animation:v3-viz-halo 1s ease-out 1 both}
@keyframes v3-viz-halo{0%{box-shadow:0 0 0 0 rgba(168,219,160,.6)}100%{box-shadow:0 0 0 16px rgba(168,219,160,0)}}
/* the example: AI concept underneath, the original photo clipped on top at --pos */
.v3-viz-media{position:relative;z-index:1;margin:0;aspect-ratio:3/2;border-radius:14px;overflow:hidden;background:#163022;
  box-shadow:0 18px 40px rgba(0,0,0,.32),0 0 0 1px rgba(255,255,255,.14)}
.v3-viz-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;pointer-events:none;user-select:none}
.v3-viz-before{clip-path:inset(0 calc(100% - var(--pos)) 0 0)}
.v3-viz-scan,.v3-viz-handle,.v3-viz-label,.v3-viz-wave,.v3-viz-spot{pointer-events:none}
.v3-viz-scan{position:absolute;top:-12%;bottom:-12%;left:var(--pos);width:120px;margin-left:-60px;opacity:0;transform:skewX(-9deg);
  background:linear-gradient(90deg,rgba(168,219,160,0) 0%,rgba(196,238,188,var(--viz-scan-opacity)) 50%,rgba(168,219,160,0) 100%)}
.v3-viz-scan:after{content:"";position:absolute;top:0;bottom:0;left:50%;width:2px;margin-left:-1px;background:rgba(255,255,255,.9);box-shadow:0 0 14px 2px rgba(214,242,207,.9)}
.v3-viz.is-playing .v3-viz-scan{opacity:1}
.v3-viz-handle{position:absolute;top:0;bottom:0;left:var(--pos);width:2px;margin-left:-1px;background:#fff;transition:opacity .4s}
.v3-viz-handle:after{content:"\2194";position:absolute;top:50%;left:50%;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;background:#fff;color:var(--v3-forest);
  font-size:16px;line-height:34px;text-align:center;box-shadow:0 4px 14px rgba(0,0,0,.28)}
.v3-viz.is-armed .v3-viz-handle,.v3-viz.is-playing .v3-viz-handle{opacity:0}
.v3-viz-label{position:absolute;bottom:10px;padding:6px 10px;border-radius:999px;font-size:11px;line-height:1;font-weight:700;letter-spacing:.06em;text-transform:uppercase;transition:opacity .45s}
.v3-viz-label-b{left:10px;background:rgba(14,28,19,.66);color:#fff}
.v3-viz-label-a{right:10px;background:rgba(255,255,255,.94);color:var(--v3-forest)}
.v3-viz.is-armed .v3-viz-label-a,.v3-viz.is-playing:not(.is-revealed) .v3-viz-label-a{opacity:0}
.v3-viz.is-playing.is-revealed .v3-viz-label-b{opacity:0}
.v3-viz-range{position:absolute;inset:0;z-index:3;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;-webkit-appearance:none;appearance:none;background:transparent}
.v3-viz-media:focus-within{outline:3px solid #a8dba0;outline-offset:3px}
.v3-viz-media:has(.v3-viz-range:focus:not(:focus-visible)){outline:none}
/* light: one wave from the photo toward the button, and a pointer spotlight on desktop */
.v3-viz-wave{position:absolute;z-index:0;top:-45%;bottom:-45%;right:0;width:55%;opacity:0;
  background:radial-gradient(50% 50% at 50% 50%,rgba(168,219,160,var(--viz-wave-opacity)) 0%,rgba(168,219,160,0) 100%)}
.v3-viz.is-playing .v3-viz-wave{animation:v3-viz-wave var(--viz-sweep) cubic-bezier(.45,.05,.25,1) 1 both}
.v3-viz.is-glint .v3-viz-wave{animation:v3-viz-wave 750ms cubic-bezier(.45,.05,.25,1) 1 both}
@keyframes v3-viz-wave{0%{transform:translateX(100%) rotate(-10deg);opacity:0}18%{opacity:1}82%{opacity:1}100%{transform:translateX(-200%) rotate(-10deg);opacity:0}}
.v3-viz-spot{position:absolute;z-index:0;inset:0;opacity:0;transition:opacity .45s;
  background:radial-gradient(var(--viz-spot-size) circle at var(--mx,50%) var(--my,50%),rgba(168,219,160,var(--viz-spot-opacity)),rgba(168,219,160,0) 70%)}
@media (hover:hover) and (pointer:fine){
  .v3-viz.is-hover{transform:translateY(calc(-1*var(--viz-lift)));box-shadow:0 2px 4px rgba(20,40,28,.08),0 22px 48px rgba(20,40,28,.24)}
  .v3-viz.is-hover .v3-viz-spot{opacity:1}
}
@media (max-width:860px){
  .v3-viz{--viz-sweep:800ms;grid-template-columns:1fr;gap:22px;padding:18px 18px 24px}
  .v3-viz-media{order:-1}
  .v3-viz-copy{padding:0 4px}
  .v3-viz .v3-viz-cta{display:flex;justify-content:center;width:100%}
}
@media (prefers-reduced-motion:reduce){.v3-viz,.v3-viz *,.v3-viz *:before,.v3-viz *:after{transition:none!important;animation:none!important}}
