/* Shared technical stage for both precisely paired machine and line-art images. */
.variant-webflow .hero-art{
  position:relative;isolation:isolate;overflow:hidden;
  background:linear-gradient(145deg,#edf6fc 0%,#e7f1f8 54%,#e3eff7 100%);
  border:1px solid #bfd6e5;
  box-shadow:0 18px 48px rgba(28,55,78,.075),inset 0 1px 0 rgba(255,255,255,.9)
}
.variant-webflow .hero-art::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:linear-gradient(rgba(44,112,153,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(44,112,153,.055) 1px,transparent 1px),radial-gradient(ellipse 65% 82% at 50% 45%,rgba(255,255,255,.64),transparent 76%);
  background-size:30px 30px,30px 30px,auto
}
.variant-webflow .hero-art::after{
  content:"";position:absolute;z-index:0;left:9%;right:9%;bottom:70px;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(65,132,169,.24) 18%,rgba(65,132,169,.24) 82%,transparent)
}
.variant-webflow .hero-circle{display:none}
.variant-webflow .gallery-images{
  position:absolute;inset:14px 14px 72px;z-index:1;display:grid;place-items:center;overflow:hidden
}
.variant-webflow .hero-art .gallery-image,.variant-webflow .hero-art .hero-lineart,.variant-webflow .hero-art .hero-trace{
  position:absolute;left:50%;top:50%;width:min(100%,430px);height:min(100%,430px);max-width:100%;max-height:100%;
  object-fit:contain;object-position:center;pointer-events:none;backface-visibility:hidden;
  transform:translate(-50%,-50%) scale(1.06);transform-origin:center center
}
.variant-webflow .hero-art .gallery-image{
  z-index:1;opacity:0;visibility:hidden;mix-blend-mode:normal;
  transition:opacity .5s cubic-bezier(.22,1,.36,1),visibility 0s .5s
}
.variant-webflow .hero-art .gallery-image.is-active{
  opacity:1;visibility:visible;transition:opacity .5s cubic-bezier(.22,1,.36,1),visibility 0s
}
.variant-webflow .hero-art .hero-lineart{
  z-index:2;opacity:0;visibility:hidden;mix-blend-mode:multiply;filter:contrast(1.2) saturate(1.08);
  transition:opacity .2s cubic-bezier(.22,1,.36,1),visibility 0s .2s
}
.variant-webflow .hero-art .hero-lineart.is-active{visibility:visible}
.variant-webflow .hero-art .hero-trace{
  z-index:3;overflow:visible;opacity:0;visibility:hidden;filter:contrast(1.2) saturate(1.08);transition:opacity .3s cubic-bezier(.22,1,.36,1),visibility 0s .3s
}
.variant-webflow .hero-art .hero-trace.is-active{opacity:1;visibility:visible;transition:opacity .18s ease,visibility 0s}
.variant-webflow .hero-art .trace-path{fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1}
.variant-webflow .hero-art .hero-trace.is-active .trace-path{animation:kaige-pencil var(--trace-duration,.48s) cubic-bezier(.36,.02,.18,1) var(--trace-delay,0s) forwards}
@keyframes kaige-pencil{to{stroke-dashoffset:0}}
.variant-webflow .hero-art.is-clearing .gallery-image.is-active{opacity:0;transition:opacity .24s cubic-bezier(.22,1,.36,1)}
.variant-webflow .hero-art.is-tracing .gallery-image.is-active{opacity:0;transition:opacity .28s cubic-bezier(.22,1,.36,1)}
.variant-webflow .hero-art.is-filled .hero-lineart.is-active{opacity:1;transition:opacity .28s cubic-bezier(.22,1,.36,1)}
.variant-webflow .hero-art.is-filled .hero-trace.is-active{opacity:0;transition:opacity .3s cubic-bezier(.22,1,.36,1)}
.variant-webflow .hero-art.is-tracing.is-resolved .gallery-image.is-active{opacity:1;transition:opacity .52s cubic-bezier(.22,1,.36,1)}
.variant-webflow .hero-art.is-tracing.is-resolved .hero-lineart.is-active{opacity:0;transition:opacity .52s cubic-bezier(.22,1,.36,1)}
.variant-webflow .hero-art:hover .gallery-image,.variant-webflow .hero-art:hover .hero-lineart,.variant-webflow .hero-art:hover .hero-trace{transform:translate(-50%,-50%) scale(1.06)}
.variant-webflow .hero-art-top,.variant-webflow .hero-art-bottom{z-index:4}
@media(max-width:800px){
  .variant-webflow .gallery-images{inset:20px 10px 70px}
  .variant-webflow .hero-art .gallery-image,.variant-webflow .hero-art .hero-lineart,.variant-webflow .hero-art .hero-trace{width:min(100%,380px);height:min(100%,380px);transform:translate(-50%,-50%) scale(1)}
  .variant-webflow .hero-art:hover .gallery-image,.variant-webflow .hero-art:hover .hero-lineart,.variant-webflow .hero-art:hover .hero-trace{transform:translate(-50%,-50%) scale(1)}
}
@media(prefers-reduced-motion:reduce){
  .variant-webflow .hero-art .gallery-image,.variant-webflow .hero-art .gallery-image.is-active,.variant-webflow .hero-art .hero-lineart,.variant-webflow .hero-art .hero-trace{animation:none!important;transition:none!important;transform:translate(-50%,-50%)!important}
  .variant-webflow .hero-art .gallery-image{opacity:0;visibility:hidden}
  .variant-webflow .hero-art .gallery-image.is-active{opacity:1;visibility:visible}
  .variant-webflow .hero-art .hero-lineart,.variant-webflow .hero-art .hero-trace{display:none!important}
}
