/* Decorative conduits and the shared, movable WebGL stage. */
.section-conduits {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  opacity: .6;
}

.section-conduits path {
  fill: none;
  stroke: #c9b68c;
  stroke-width: .6;
  opacity: .12;
}

.section-conduits .section-pulse {
  stroke: #f0dbac;
  stroke-width: 1.8;
  stroke-dasharray: .65 99.35;
  opacity: .65;
  filter: drop-shadow(0 0 3px #e7c180);
  animation: conduit-run 28s -8s linear infinite paused;
}

.section-conduits .section-pulse--second {
  animation-duration: 36s;
  animation-delay: -19s;
}

.section.is-engaged .section-pulse {
  animation-play-state: running;
}

@keyframes conduit-run {
  to {
    stroke-dashoffset: -100;
  }

}

.section-stage {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 305px;
  pointer-events: none;
  mask-image: linear-gradient(90deg,transparent,#000 12% 88%,transparent);
}

.section-stage canvas,.section-scene-snapshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.scene-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: .7;
}

.scene-wires path {
  fill: none;
  stroke: #c1b38e;
  stroke-width: 1;
  opacity: .28;
}

.scene-wires .scene-wires__light {
  stroke: #fff1cb;
  stroke-width: 2;
  opacity: .9;
  stroke-linecap: round;
  stroke-dasharray: .6 99.4;
  filter: drop-shadow(0 0 3px #f5d59a) drop-shadow(0 0 7px #ddb76e);
  animation: conduit-run 28s -5s linear infinite paused;
}

.scene-wires .scene-wires__light--second {
  animation-duration: 35s;
  animation-delay: -20s;
}

.section.is-engaged .scene-wires__light {
  animation-play-state: running;
}

.scene-fallback {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 100px;
  height: 100px;
  translate: -50% -50%;
  border-radius: 50%;
  border: 3px double #c7b28188;
  background: radial-gradient(circle at 30% 20%,#a7b5ab60,#1b221e 60%);
  box-shadow: inset -12px -10px 20px #0008;
}

.scene-fallback i {
  position: absolute;
  inset: -24px;
  border: 1px solid #d7c69777;
  border-radius: 50%;
  transform: rotateX(60deg) rotateZ(-25deg);
}

.scene-fallback i:nth-child(2) {
  transform: rotateY(60deg) rotateZ(30deg);
}

.scene-fallback i:nth-child(3) {
  transform: rotateX(70deg) rotateZ(70deg);
}

.section-stage.has-3d-render .scene-fallback {
  opacity: 0;
}

@media(max-width:900px) {
  .section-stage {
    height: 270px;
  }

}

@media(max-width:600px) {
  .section-stage {
    grid-column: 1;
    grid-row: 2;
    height: 210px;
    margin-top: 4px;
    mask-image: linear-gradient(90deg,transparent,#000 10% 90%,transparent);
  }

}

@media(prefers-reduced-motion:reduce) {
  .section-conduits .section-pulse,.scene-wires .scene-wires__light {
    animation: none;
    opacity: .2;
  }

}
