/* ==========================================================================
   HOW TO START WITH US: hover humanoid holograms (Enzo) · Boss approved Oct 18 2026, 6:10 AM PHT
   Drop-in for the live how-to-start section. Renders inside ATLAS's empty
   <div class="hts-humanoid" data-hts-humanoid> slots. Prefix .hsh
   ========================================================================== */
.hsh{
  --w:132px; --h:165px;                         /* 4:5 loop (360x450 source) */
  position:absolute; width:var(--w); height:var(--h);
  left:calc(var(--px,0px) - var(--w) / 2);
  top:calc(var(--py,103px) - var(--h) * .92 + 6px);   /* feet (92% down the loop) land on the platform pad */
  pointer-events:none; opacity:0; visibility:hidden;
  transition:opacity .28s ease, visibility 0s linear .3s;
}
.hsh.is-on{opacity:1;visibility:visible;transition:opacity .22s ease, visibility 0s}
.hsh__fig{
  position:absolute; inset:0; z-index:2; overflow:hidden; border-radius:10px;
  -webkit-mask:radial-gradient(ellipse 60% 58% at 50% 50%, #000 62%, transparent 100%);
          mask:radial-gradient(ellipse 60% 58% at 50% 50%, #000 62%, transparent 100%);
}
.hsh__fig img,.hsh__fig video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.hsh__fig video{opacity:0;transition:opacity .2s ease}
.hsh.has-video .hsh__fig video{opacity:1}
.hsh__beam{ /* projector light from the platform up into the figure */
  position:absolute; z-index:1; left:12%; right:12%; bottom:2%; height:78%;
  background:linear-gradient(to top, rgba(95,230,255,.30), rgba(1,137,247,.10) 55%, transparent);
  clip-path:polygon(38% 100%, 62% 100%, 100% 0, 0 0); opacity:0;
}
.hsh__beam::after{ /* glow pool on the pad */
  content:""; position:absolute; left:20%; right:20%; bottom:-6px; height:14px; border-radius:50%;
  background:radial-gradient(closest-side, rgba(95,230,255,.65), rgba(1,137,247,.25) 60%, transparent);
}
.hsh__scan{ /* cyan / red / blue materialise sweep */
  position:absolute; z-index:3; left:4%; right:4%; height:12px; top:92%; opacity:0;
  background:linear-gradient(to bottom,
    transparent 0, #5fe6ff 18%, transparent 30%,
    transparent 38%, #EC0911 48%, transparent 58%,
    transparent 66%, #0189F7 78%, transparent 92%);
  filter:drop-shadow(0 0 6px rgba(95,230,255,.9)) drop-shadow(0 0 10px rgba(1,137,247,.7));
  -webkit-mask:linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask:linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
@media (prefers-reduced-motion: no-preference){
  .hsh.is-on .hsh__fig{animation:hsh-build .75s cubic-bezier(.3,.7,.3,1) both}
  .hsh.is-on .hsh__scan{animation:hsh-scan .75s cubic-bezier(.3,.7,.3,1) both}
  .hsh.is-on .hsh__beam{animation:hsh-beam .45s ease-out both, hsh-beam-idle 3.2s ease-in-out .9s infinite alternate}
  .hsh.is-leaving .hsh__fig{animation:hsh-unbuild .28s ease-in both}
}
@media (prefers-reduced-motion: reduce){
  .hsh,.hsh.is-on{transition:none}
  .hsh.is-on .hsh__beam{opacity:.7}
}
@keyframes hsh-build{0%{clip-path:inset(100% 0 0 0);opacity:.2}35%{opacity:1}100%{clip-path:inset(0 0 0 0);opacity:1}}
@keyframes hsh-unbuild{0%{clip-path:inset(0 0 0 0)}100%{clip-path:inset(0 0 100% 0)}}
@keyframes hsh-scan{0%{top:92%;opacity:0}8%{opacity:1}85%{opacity:1}100%{top:-4%;opacity:0}}
@keyframes hsh-beam{0%{opacity:0;transform:scaleY(.2);transform-origin:50% 100%}100%{opacity:.9;transform:none}}
@keyframes hsh-beam-idle{0%{opacity:.9}100%{opacity:.6}}

/* tablet / mobile: smaller figure standing on the left-column platform, never over the card */
@media (max-width: 1180px){ .hsh{--w:96px;--h:120px} } /* ATLAS: stacked breakpoint = how-to-start.css */
