/* EIGENKERN V4.0 — Visual-only hero integration.
   NO copy, DOM content, CTA destination, trust point, slider, or section changed.
   Sources: original cutout people + original Local AI office artwork + prior slow GIF. */

/* A single photographic environment instead of separate picture/card panels. */
.v37-hero-frame.shell{
  isolation:isolate;
  background:#e9f4f8!important;
  border-color:#cbdde8!important;
  box-shadow:0 22px 55px rgba(31,77,99,.13),0 3px 9px rgba(16,51,73,.06)!important;
}
.v37-hero-frame::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0 0 73px 0!important;
  width:100%!important;
  height:auto!important;
  opacity:1!important;
  z-index:0!important;
  pointer-events:none;
  background-image:
    linear-gradient(90deg,
       rgba(245,251,253,.97) 0%,
       rgba(238,248,251,.94) 27%,
       rgba(235,248,251,.81) 41%,
       rgba(230,245,249,.50) 60%,
       rgba(226,241,247,.24) 83%,
       rgba(228,241,247,.30) 100%),
    url("assets/v40/office-background.webp")!important;
  background-position:center, center 46%!important;
  background-size:cover,cover!important;
  background-repeat:no-repeat!important;
  filter:none!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}
/* Keep previous animation but subordinate to the people and content. */
.v37-hero-frame::after{
  content:"";
  position:absolute;
  z-index:1;
  pointer-events:none;
  inset:0 auto 73px 0;
  width:62%;
  background:url("assets/v35/hero-local-ai-slow.gif") center center/cover no-repeat;
  opacity:.095;
  filter:saturate(.92);
  -webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.14) 0%,rgba(0,0,0,.65) 48%,transparent 100%);
  mask-image:linear-gradient(90deg,rgba(0,0,0,.14) 0%,rgba(0,0,0,.65) 48%,transparent 100%);
}
.v37-hero-frame .v19-hero-grid{
  position:relative!important;
  z-index:2!important;
  isolation:isolate;
  overflow:visible;
}
/* Shut off the V3.9 human photo compositor. This is a replacement artwork,
   not a second photograph pasted over the new transparent cutout. */
.v37-hero-frame .v19-hero-grid::before{
  content:none!important;
  display:none!important;
}
.v37-hero-frame .v19-hero-grid::after{
  content:"";
  display:block;
  position:absolute;
  z-index:0;
  pointer-events:none;
  inset:0;
  width:100%;
  height:100%;
  background-image:url("assets/v40/people-cutout.webp");
  background-repeat:no-repeat;
  background-position:right -8px bottom -10px;
  background-size:auto 105%;
  opacity:1;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 39%,rgba(0,0,0,.10) 44%,rgba(0,0,0,.35) 50%,rgba(0,0,0,.78) 60%,#000 69%);
  mask-image:linear-gradient(90deg,transparent 0%,transparent 39%,rgba(0,0,0,.10) 44%,rgba(0,0,0,.35) 50%,rgba(0,0,0,.78) 60%,#000 69%);
}
/* Real HTML remains on top and accessible. */
.v37-hero-frame .v19-hero-copy{
  z-index:3!important;
  isolation:isolate;
  background:transparent!important;
}
.v37-hero-frame .v19-hero-copy::before{
  content:none!important;
  display:none!important;
}
.v37-hero-frame .v19-hero-visual{
  z-index:2!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  margin-left:0!important;
  width:100%!important;
  overflow:visible!important;
}
.v37-hero-frame .v19-hero-visual>img{
  opacity:0!important;
  pointer-events:none!important; /* preserve alt in accessibility tree */
}
.v37-hero-frame .v19-hero-visual::before,
.v37-hero-frame .v19-hero-visual::after{
  content:none!important;
  display:none!important;
}
.v37-hero-frame .v23-source-experience{
  z-index:6!important;
  right:18px!important;
  bottom:22px!important;
  background:rgba(246,251,253,.96)!important;
  border:1px solid rgba(145,193,207,.56)!important;
  box-shadow:0 14px 36px rgba(17,48,67,.16)!important;
  backdrop-filter:blur(6px);
}
.v37-hero-frame .v19-hero-trust{
  z-index:5!important;
  background:rgba(244,251,254,.96)!important;
  border-top:1px solid rgba(159,195,211,.52)!important;
}
.v37-hero-frame .v19-hero-actions a:first-child{
  background:#0a617f!important;
  border-color:#0a617f!important;
  box-shadow:0 12px 23px rgba(13,75,103,.17)!important;
}
.v37-hero-frame .v19-hero-actions a:first-child:hover{
  background:#07516b!important;
  border-color:#07516b!important;
}
@media(min-width:901px) and (max-width:1190px){
  .v37-hero-frame .v19-hero-grid::after{
    background-size:auto 95%;
    background-position:right -30px bottom -7px;
  }
  .v37-hero-frame .v23-source-experience{
    right:12px!important;
    bottom:14px!important;
  }
  .v37-hero-frame::before{
    background-position:center,center center!important;
  }
}
/* Stacked mobile/tablet: the very same office scene and cutout are composed
   as a photograph panel, keeping heading and actual CTA unobstructed. */
@media(max-width:900px){
  .v37-hero-frame::before{
    inset:0!important;
    background-image:
      linear-gradient(180deg,rgba(247,252,254,.96),rgba(241,249,251,.88) 42%,rgba(237,247,251,.18) 73%),
      url("assets/v40/office-background.webp")!important;
    background-position:center,center!important;
    background-size:cover,cover!important;
  }
  .v37-hero-frame::after{
    inset:0 0 auto 0;
    width:100%;
    height:48%;
    opacity:.075;
    background-image:url("assets/v34/hero-ai-still.webp")!important;
    background-size:cover;
  }
  .v37-hero-frame .v19-hero-grid::after{
    display:none!important;
    content:none!important;
  }
  .v37-hero-frame .v19-hero-visual{
    position:relative!important;
    height:405px!important;
    min-height:405px!important;
    margin:0!important;
    overflow:hidden!important;
    background:
      linear-gradient(90deg,rgba(236,247,251,.3),rgba(236,247,251,.02)),
      url("assets/v40/office-background.webp") center 48%/cover no-repeat!important;
  }
  .v37-hero-frame .v19-hero-visual::before{
    content:""!important;
    display:block!important;
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    z-index:1!important;
    background:url("assets/v40/people-cutout.webp") right center/auto 105% no-repeat!important;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.7) 23%,#000 46%)!important;
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.7) 23%,#000 46%)!important;
    pointer-events:none;
  }
  .v37-hero-frame .v23-source-experience{
    z-index:5!important;
    right:15px!important;
    bottom:15px!important;
  }
}
@media(max-width:700px){
  .v37-hero-frame .v19-hero-visual{
    min-height:0!important;
    height:auto!important;
    overflow:visible!important;
    background:transparent!important;
  }
  .v37-hero-frame .v19-hero-visual::before{
    height:240px!important;
    right:0!important;
    bottom:auto!important;
    background:
      linear-gradient(90deg,rgba(239,248,252,.32),transparent 55%),
      url("assets/v40/people-cutout.webp") center bottom/auto 100% no-repeat!important;
    mask-image:none!important;
    -webkit-mask-image:none!important;
  }
  .v37-hero-frame .v19-hero-visual::after{
    content:""!important;
    display:block!important;
    position:relative!important;
    height:240px!important;
    order:0;
    background:url("assets/v40/office-background.webp") center center/cover no-repeat!important;
    opacity:.80;
    z-index:0!important;
    pointer-events:none;
  }
  .v37-hero-frame .v19-hero-visual>img{
    display:none!important;
  }
  .v37-hero-frame .v23-source-experience{
    order:1!important;
    margin:-12px 12px 14px!important;
    inset:auto!important;
    width:calc(100% - 24px)!important;
    position:relative!important;
    z-index:5!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .v37-hero-frame::after{
    background-image:url("assets/v34/hero-ai-still.webp")!important;
  }
}
