/*
 * VB Professional — Visual Continuity System (V3.2)
 * One shared emerald/gold artwork spanning the HERO and its first content section.
 * The artwork is a single visual plane, gradually dissolving into the dark canvas.
 * No external dependencies, animations remain optional and respect reduced motion.
 */
.hero-continuum{
  position:relative;
  isolation:isolate;
  background:#03100b;
}
.hero-continuum::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:url("emerald-waves.webp");
  background-repeat:no-repeat;
  background-position:right top;
  background-size:auto calc(var(--vb-hero-height, 790px) + 72vh);
  opacity:.94;
  -webkit-mask-image:linear-gradient(to bottom,
    #000 0%,
    #000 44%,
    rgba(0,0,0,.94) 54%,
    rgba(0,0,0,.66) 72%,
    rgba(0,0,0,.24) 87%,
    transparent 99%);
  mask-image:linear-gradient(to bottom,
    #000 0%,
    #000 44%,
    rgba(0,0,0,.94) 54%,
    rgba(0,0,0,.66) 72%,
    rgba(0,0,0,.24) 87%,
    transparent 99%);
}
.hero-continuum::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(3,16,11,1) 0%,
      rgba(3,16,11,.94) 22%,
      rgba(3,16,11,.71) 40%,
      rgba(3,16,11,.15) 71%,
      rgba(3,16,11,.06) 100%),
    linear-gradient(to bottom,
      rgba(3,16,11,.1) 0%,
      rgba(3,16,11,.06) 28%,
      rgba(3,16,11,.20) 60%,
      rgba(3,16,11,.47) 78%,
      #03100b 100%);
}
.hero-continuum > section{
  position:relative;
  z-index:2;
  background:transparent !important;
}
.hero-continuum > .hero,
.hero-continuum > .page-hero{
  isolation:auto;
}
.hero-continuum > .hero .hero-scene,
.hero-continuum > .page-hero .page-hero-art,
.hero-continuum > .page-hero .page-hero-shadow{
  display:none;
}
/* The next color surface picks up seamlessly from the dark tail of the art. */
.hero-continuum + .section-surface,
.hero-continuum + .section.section-surface{
  background:linear-gradient(180deg,#03100b 0%,#061911 16%,#071b14 42%,#06160f 100%);
}
@media(max-width:930px){
  .hero-continuum::before{
    background-size:auto calc(var(--vb-hero-height, 750px) + 55vh);
    background-position:64% top;
    opacity:.83;
  }
  .hero-continuum::after{
    background:
      linear-gradient(90deg,rgba(3,16,11,.95),rgba(3,16,11,.83) 28%,rgba(3,16,11,.32) 100%),
      linear-gradient(to bottom,transparent 16%,rgba(3,16,11,.1) 47%,#03100b 100%);
  }
}
@media(max-width:620px){
  .hero-continuum::before{
    background-size:auto 1200px;
    background-position:63% top;
    opacity:.62;
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 37%,rgba(0,0,0,.55) 66%,transparent 98%);
    mask-image:linear-gradient(to bottom,#000 0%,#000 37%,rgba(0,0,0,.55) 66%,transparent 98%);
  }
  .hero-continuum::after{
    background:
      linear-gradient(90deg,rgba(3,16,11,.91),rgba(3,16,11,.79) 55%,rgba(3,16,11,.44) 100%),
      linear-gradient(to bottom,transparent 12%,rgba(3,16,11,.18) 50%,#03100b 98%);
  }
}
@media(prefers-reduced-motion:reduce){
  .hero-continuum::before{transform:none;will-change:auto}
}

/* Static HERO staging — only the HERO is motionless, downstream scroll effects remain. */
.hero-continuum > .hero .reveal,
.hero-continuum > .page-hero .reveal{
  opacity:1!important;
  transform:none!important;
  transition:none!important;
  animation:none!important;
}
.hero-continuum::before{
  transform:none!important;
  animation:none!important;
  transition:none!important;
  will-change:auto;
}
