/* ============================================================
   HAZE — fog and liquid gas fire between the sections
   Bands reserve the breathing room; #mist (one WebGL overlay, driven
   from the nebula's rAF) paints them. The ::before glow is the static
   fallback for reduced motion and browsers without WebGL.
   ============================================================ */
#mist{position:fixed;inset:0;width:100%;height:100%;z-index:6;pointer-events:none;display:block;opacity:0;transition:opacity 1.2s ease}
html.mist-live #mist{opacity:1}

.haze{position:relative;height:clamp(120px,22vh,210px);pointer-events:none;overflow:visible}
.haze[data-haze="fire"],.haze[data-haze="both"]{height:clamp(150px,27vh,250px)}
@media (min-width:768px){
  .haze{height:clamp(170px,28vh,320px)}
  .haze[data-haze="fire"],.haze[data-haze="both"]{height:clamp(210px,34vh,380px)}
}

/* fallback: a still bank of fog and a low ember line, tinted by the live accents */
.haze::before{content:'';position:absolute;left:0;right:0;top:-18%;bottom:-18%;
  background:
    radial-gradient(60% 45% at 30% 50%,rgba(205,210,230,.10),transparent 70%),
    radial-gradient(55% 40% at 72% 46%,color-mix(in srgb,var(--accent2) 16%,transparent),transparent 72%)}
.haze[data-haze="fire"]::before,.haze[data-haze="both"]::before{
  background:
    radial-gradient(70% 34% at 50% 78%,rgba(70,130,255,.20),transparent 70%),
    radial-gradient(60% 46% at 50% 62%,color-mix(in srgb,var(--accent) 18%,transparent),transparent 72%),
    radial-gradient(60% 45% at 30% 40%,rgba(205,210,230,.07),transparent 70%)}
html.mist-live .haze::before{display:none}

/* no hard seams: no ruled edges where a band meets a section */
.haze+.close .bleed{border-top:0}

/* ---------- PLASMA — one continuous volumetric sky behind every section ----------
   The nebula canvas carries the scroll-driven plasma (app.js); sections stop painting
   flat fills over it, so there is no edge anywhere for a seam to live on. Cards, ledes
   and the photo heroes keep their own glass and art. */
#nebula{opacity:1!important}
main,main>section,main>section[data-wall-mode="quiet"]{background-color:transparent!important;border-top:0!important}
.foot{background-color:rgba(12,15,13,.55)!important}
/* full-bleed photos dissolve into the plasma instead of starting on a dark slab */
.bleed>picture,.bleed>picture img,.bleed::before{-webkit-mask-image:linear-gradient(180deg,transparent,#000 22%,#000 78%,transparent);mask-image:linear-gradient(180deg,transparent,#000 22%,#000 78%,transparent)}
.bleed::before{background:radial-gradient(120% 70% at 50% 50%,rgba(7,5,18,.5),rgba(7,5,18,.15) 70%,transparent)!important}
/* loose copy sitting straight on the plasma gets a soft dark halo so it always reads */
main p,main li,main h2,main h3,main .mono,main a{text-shadow:0 1px 2px rgba(0,0,0,.85),0 0 18px rgba(0,0,0,.75)}
/* the per-section dark fields (editorial.css) feather out at both ends and thin to let the plasma through */
.manifesto,.needle,.lineage,.pillars,.billing,.campus,.action,.rhythm,.days,.impact,.slots,.choir{--field:.5!important}
.manifesto::after,.needle::after,.lineage::after,.pillars::after,.billing::after,.campus::after,.action::after,.rhythm::after,.days::after,.impact::after,.slots::after,.choir::after{
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 min(30%,320px),#000 calc(100% - min(30%,320px)),transparent);
          mask-image:linear-gradient(180deg,transparent,#000 min(30%,320px),#000 calc(100% - min(30%,320px)),transparent)}
/* v2027.plasma.3 — Omega Mega credit link at the very bottom */
.foot-omega{margin:34px 0 0;text-align:center;text-wrap:balance}
.foot-omega a{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;font-family:inherit;font-size:clamp(14px,1.6vw,17px);letter-spacing:.02em;color:var(--gold);text-decoration:underline;text-decoration-color:rgba(255,194,26,.45);text-underline-offset:5px;text-shadow:0 1px 12px rgba(0,0,0,.6);transition:color .3s cubic-bezier(.2,.8,.2,1),text-decoration-color .3s cubic-bezier(.2,.8,.2,1)}
.foot-omega a:hover,.foot-omega a:focus-visible{color:#F4E5C7;text-decoration-color:currentColor;outline:0}
