/* The Higgsfield field stays present and moving; scrolling changes the window through it. */
.site-atmosphere {
  position:fixed;
  inset:0;
  z-index:-1;
  overflow:hidden;
  pointer-events:none;
  contain:paint;
  isolation:isolate;
  background:#030407;
}
.hero-shade { background:linear-gradient(90deg,rgba(3,4,7,.38),transparent 58%); }
.site-atmosphere .site-stream {
  position:absolute;
  left:-31vw;
  top:-25vh;
  width:174vw;
  height:154vh;
  max-width:none;
  object-fit:cover;
  object-position:73% 24%;
  opacity:.91;
  filter:none;
  mix-blend-mode:normal;
  transform:translate3d(var(--flow-x,33vw),var(--flow-y,-13vh),0) scale(var(--flow-scale,1.055));
  transform-origin:75% 22%;
  will-change:transform;
}
.site-atmosphere::before {
  content:"";
  position:absolute;
  z-index:1;
  inset:-28%;
  pointer-events:none;
  opacity:var(--flow-glow,.64);
  transform:translate3d(calc(var(--flow-x,17vw)*.38),calc(var(--flow-y,-13vh)*.38),0);
  will-change:transform,opacity;
  background:
    radial-gradient(ellipse 34% 20% at 77% 23%,rgba(199,255,92,.19),transparent 76%),
    radial-gradient(ellipse 45% 25% at 75% 49%,rgba(216,255,119,.09),transparent 75%),
    radial-gradient(ellipse 50% 26% at 71% 78%,rgba(174,238,74,.07),transparent 76%);
}
.site-atmosphere .atmosphere-shade {
  position:absolute;
  z-index:2;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,#030407 0%,rgba(3,4,7,.89) 15%,rgba(3,4,7,.62) 36%,rgba(3,4,7,.43) 71%,rgba(3,4,7,.50) 100%),
    linear-gradient(180deg,rgba(3,4,7,.12),rgba(3,4,7,.02) 24%,rgba(3,4,7,.12) 72%,rgba(3,4,7,.42));
}
body[data-page="about"] .site-atmosphere .atmosphere-shade,
body[data-page="projects"] .site-atmosphere .atmosphere-shade {
  background:
    linear-gradient(90deg,#030407 0%,rgba(3,4,7,.92) 19%,rgba(3,4,7,.77) 48%,rgba(3,4,7,.58) 100%),
    linear-gradient(180deg,rgba(3,4,7,.22),rgba(3,4,7,.12) 28%,rgba(3,4,7,.35) 72%,rgba(3,4,7,.62));
}
@media(max-width:760px) {
  .site-atmosphere .site-stream {
    left:-97vw;
    top:-16vh;
    width:286vw;
    height:137vh;
    object-position:18% 24%;
  }
  .site-atmosphere .atmosphere-shade {
    background:linear-gradient(90deg,rgba(3,4,7,.79),rgba(3,4,7,.44) 70%,rgba(3,4,7,.52)),linear-gradient(180deg,rgba(3,4,7,.18),transparent 35%,rgba(3,4,7,.50));
  }
  body[data-page="about"] .site-atmosphere .atmosphere-shade,
  body[data-page="projects"] .site-atmosphere .atmosphere-shade {
    background:linear-gradient(90deg,rgba(3,4,7,.88),rgba(3,4,7,.70) 70%,rgba(3,4,7,.75)),linear-gradient(180deg,rgba(3,4,7,.22),rgba(3,4,7,.16) 35%,rgba(3,4,7,.60));
  }
}
@media(prefers-reduced-motion:reduce) {
  .site-atmosphere .site-stream { transform:scale(1.04); }
  .site-atmosphere::before { opacity:.36; }
}
@media print {
  .site-atmosphere { display:none!important; }
}
