/* Home motion (preview only). Full-bleed hero video + scroll reveals.
   Does not change words-of-wonder pages. */
.hero-stage{
  position:relative;
  isolation:isolate;
  overflow:clip;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:0 0 28px;
}
@media (min-width:601px){
  .hero-stage{padding-bottom:36px}
}
@media (min-height:900px){
  .hero-stage{min-height:calc(100svh - var(--nav-h) - var(--page-nav-h))}
}
@media (min-width:1100px) and (max-height:860px){
  body.home .hero-stage .hero-nav-frame{height:300px}
  body.home .hero-stage .hero-nav-logo{width:210px}
}
.hero-media{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
  transform:scale(1.06);
  will-change:transform;
}
.hero-poster,
.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 42%;
}
.hero-poster{z-index:1}
.hero-video{
  z-index:2;
  opacity:0;
  transition:opacity .7s ease;
}
.hero-video.is-on{opacity:1}
.hero-orbs{position:absolute;inset:0;z-index:3}
.hero-orb{
  position:absolute;
  width:min(28vw,260px);
  height:auto;
  border-radius:50%;
  opacity:.22;
  filter:saturate(1.1) blur(0.2px);
  mix-blend-mode:screen;
  animation:orb-drift 22s ease-in-out infinite;
}
.hero-orb.orb-a{top:8%;left:-6%;animation-duration:26s}
.hero-orb.orb-b{top:12%;right:-8%;animation-duration:24s;animation-delay:-6s}
.hero-orb.orb-c{bottom:18%;left:-4%;animation-duration:28s;animation-delay:-12s}
.hero-orb.orb-d{bottom:14%;right:-6%;animation-duration:22s;animation-delay:-4s}
@keyframes orb-drift{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg) scale(1)}
  40%{transform:translate3d(4%,-6%,0) rotate(8deg) scale(1.06)}
  70%{transform:translate3d(-3%,4%,0) rotate(-6deg) scale(.96)}
}
.hero-veil{
  position:absolute;
  inset:0;
  z-index:4;
  background:
    linear-gradient(180deg,
      rgba(12,7,20,.42) 0%,
      rgba(12,7,20,.50) 28%,
      rgba(12,7,20,.62) 58%,
      rgba(12,7,20,.82) 82%,
      var(--base) 100%),
    radial-gradient(ellipse 70% 55% at 50% 58%, rgba(12,7,20,.55), transparent 70%);
}
/* Let the video show through the wave nav and keep labels readable. */
body.home .hero-stage .hero-nav{
  position:relative;
  z-index:2;
  background:transparent;
  border-bottom:0;
  padding-top:10px;
}
body.home .hero-stage .hero-nav-logo{
  filter:drop-shadow(0 0 16px rgba(34,230,255,.28)) drop-shadow(0 4px 18px rgba(12,7,20,.65));
}
body.home .hero-stage .hero{
  position:relative;
  z-index:2;
  padding-top:0;
  padding-bottom:20px;
}
@media (min-width:601px){
  body.home .hero-stage .hero{padding-top:0;padding-bottom:28px}
}
body.home .hero-stage .t-heading{
  text-shadow:
    0 1px 0 rgba(0,0,0,.55),
    0 0 12px rgba(255,46,200,.65),
    0 0 32px rgba(155,92,255,.55),
    0 8px 28px rgba(12,7,20,.9);
}
body.home .hero-stage .t-sub{
  text-shadow:
    0 1px 0 rgba(0,0,0,.5),
    0 0 14px rgba(255,201,74,.55),
    0 6px 20px rgba(12,7,20,.85);
}
body.home .hero-stage .t-body.lead{
  max-width:720px;
  color:#f3eefc;
  text-shadow:0 1px 2px rgba(0,0,0,.7),0 6px 22px rgba(12,7,20,.85);
}
body.home .hero-stage .btn-row{margin-top:28px}
/* Hide the usual section rule that would draw a line over the fade. */
body.home .hero-stage + section::before{display:none}

/* A slim moving strip of our own art, tucked into the fade at the bottom of the hero. */
.hero-art-strip{
  position:absolute;
  left:0;
  right:0;
  bottom:10px;
  z-index:2;
  overflow:hidden;
  height:64px;
  pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
@media (min-width:601px){.hero-art-strip{height:76px;bottom:12px}}
.hero-art-track{
  display:flex;
  gap:10px;
  width:max-content;
  animation:hero-strip 48s linear infinite;
}
.hero-art-track img{
  display:block;
  height:64px;
  width:auto;
  aspect-ratio:1;
  object-fit:cover;
  border-radius:10px;
  box-shadow:0 0 0 1px rgba(255,255,255,.08),0 0 16px rgba(155,92,255,.25);
}
@media (min-width:601px){.hero-art-track img{height:76px;border-radius:12px}}
@keyframes hero-strip{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

/* Scroll reveals */
.motion-reveal{
  opacity:0;
  transform:translate3d(0,28px,0);
  transition:opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
  transition-delay:var(--delay,0s);
}
.motion-reveal.is-in{opacity:1;transform:none}
.here-card.motion-reveal.is-in:hover,
body.home .here-card.motion-reveal.is-in:hover{
  transform:translateY(-2px);
}
/* Stills fade/translate in via .motion-reveal only — no scale, which cropped edges inside overflow:hidden. */
figure.featured-art img,
figure.vision img{
  transform:none;
}
.motion-reveal.is-in figure.featured-art img,
.motion-reveal.is-in figure.vision img,
figure.featured-art.motion-reveal.is-in img,
figure.vision.motion-reveal.is-in img{
  transform:none;
}

@media (max-width:600px){
  .hero-orb{width:min(42vw,180px);opacity:.14}
  .hero-orb.orb-c,.hero-orb.orb-d{display:none} /* keep phone text clear */
}

@media (prefers-reduced-motion:reduce){
  .hero-media{transform:none;will-change:auto}
  .hero-video{display:none}
  .hero-orb{animation:none;opacity:.16}
  .hero-art-track{animation:none}
  .hero-art-strip{overflow-x:auto}
  .motion-reveal,
  .motion-reveal.is-in,
  .here-card.motion-reveal.is-in:hover{
    opacity:1;
    transform:none;
    transition:none;
  }
  figure.featured-art img,
  figure.vision img,
  .motion-reveal.is-in figure.featured-art img,
  .motion-reveal.is-in figure.vision img,
  figure.featured-art.motion-reveal.is-in img,
  figure.vision.motion-reveal.is-in img{
    transform:none;
    transition:none;
  }
}
