/* ============================================================
   CONCEPT 07 HEADER — THE HOLOGRAM (standalone revision)
   Ordered Nov 18, 2026 (Mack): "rev is to 07." Supersedes
   tonight's Concept 08 fracture/arc layer (now removed).
   The bar returns to the clean fused MONOLITH
   geometry of monolith-hologram-v1.css (six fused controls,
   44px, squared, zero gaps — that file stays loaded beneath
   this one for the lockup, Mega Panel, cart chip and control
   contracts). This file adds ONLY the hologram rendering of
   Concept 07 (round2.html mockup) at Mack's Nov 12 v2 spec —
   MORE hologram:
   - TWO ghost echoes of the bar offset behind it (injected
     by header07-v1.js; mockup geometry: near echo
     translate(-13px, 11px) scale(.985) at .28, far echo
     translate(-26px, 22px) scale(.97) at .13).
   - Scanline shimmer: the monolith's own scanlines + drift
     shimmer, PLUS an injected scan layer (.fx7-scan) with a
     stronger line field and a vertical scan sweep.
   - Soft green projection glow beneath the bar: the
     monolith light-tray deepened to the mockup's 74px beam
     with its source dash at +66px.
   - Labels stay crisp: front labels take the mockup's
     #d9ffe0 with a soft neon text glow.
   - CLICK on the header starts a heartbeat pulse that
     sweeps the six controls left-to-right (150ms stagger),
     ending in a flare on the acid START A PROJECT control
     (behavior in header07-v1.js; keyframes below).
   All rules scoped under .mhx. Version 20261118b.
   ============================================================ */

/* ---------- FRONT BAR — stacking + crisp glowing labels ----- */
.mhx .mh-bar:not(.fx7-echo){ z-index:2; }
.mhx .mh-bar:not(.fx7-echo) .mh-ctl:not(.acid){
  color:#e6ffe9;
  text-shadow:0 1px 0 #000;
}
/* CLEAN REV (2026-11-19, Mack: "revise header clean up and
   sharp for review"): ghost echoes OFF — the doubled bar
   under the front plane read as smear, not hologram.
   One bar, razor sharp. */
.mhx .mh-bar.fx7-echo{ display:none !important; }

/* ---------- HOLOGRAM ECHOES — two offset ghost planes --------
   Clones of the bar (injected by header07-v1.js), seated
   behind the front plane at the mockup's offsets. The whole
   plane fades as one, exactly like the mockup's ghost planes:
   translucent green-tinted blocks, pale green labels, a
   translucent acid echo on the two acid controls. */
.mhx .mh-bar.fx7-echo{
  position:absolute; inset:0; z-index:0;
  pointer-events:none;
  box-shadow:none;
}
.mhx .fx7-echo-a{ transform:translate(-13px, 11px) scale(.985); opacity:.28; }
.mhx .fx7-echo-b{ transform:translate(-26px, 22px) scale(.97);  opacity:.13; }
.mhx .fx7-echo::before, .mhx .fx7-echo::after{ content:none; }
.mhx .fx7-echo .mh-ctl{
  background:linear-gradient(180deg, rgba(57,255,20,.13), rgba(57,255,20,.04));
  border-right-color:rgba(57,255,20,.28);
  box-shadow:none;
  color:rgba(190,255,205,.9);
  text-shadow:none;
}
.mhx .fx7-echo .mh-ctl.acid{
  background:rgba(180,255,0,.5);
  color:rgba(0,0,0,.7);
  text-shadow:none;
}

/* ---------- SCAN LAYER — stronger lines + vertical sweep ----
   Injected by header07-v1.js over the front bar only; the
   clip-path matches the monolith silhouette so the scan
   never spills past the angled end cuts. */
.mhx .fx7-scan{
  position:absolute; z-index:3;
  left:0; right:0; top:0; height:44px;
  clip-path:polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  pointer-events:none; overflow:hidden;
  background:repeating-linear-gradient(0deg, rgba(170,255,190,.045) 0 1px, transparent 1px 4px);
}
.mhx .fx7-scan::before{
  content:""; position:absolute; left:0; right:0; top:-26px; height:22px;
  background:linear-gradient(180deg, transparent, rgba(57,255,20,.07), transparent);
  animation:fx7ScanSweep 9s linear infinite;
}
.mhx .fx7-scan::after{
  content:""; position:absolute; top:0; bottom:0; width:200px; left:-4%;
  background:linear-gradient(90deg, transparent, rgba(200,255,215,.07) 45%, rgba(255,255,255,.03) 55%, transparent);
  animation:fx7Shimmer 4.6s ease-in-out infinite alternate;
}
@keyframes fx7ScanSweep{ from{ top:-26px; } to{ top:56px; } }
@keyframes fx7Shimmer{ from{ left:-4%; } to{ left:84%; } }

/* ---------- PROJECTION GLOW — mockup-depth beam + dash ----- */
.mhx .mh-beam{ height:24px; }
.mhx .mh-source{ top:calc(100% + 20px); }
.mhx.mhx-settled .mh-beam{ opacity:.32; }
/* short windows keep the monolith's leaner tray */
@media (max-height:620px) and (min-width:860px){
  .mhx .mh-beam{ height:40px; }
  .mhx .mh-source{ top:calc(100% + 38px); }
}

/* ---------- CLICK PULSE — the beat sweeps left to right -----
   ~1.2s beat language: controls flare in order (150ms
   stagger, 620ms flare); START A PROJECT takes the acid
   flare last; the projection glow swells with the beat. */
.mhx .mh-ctl.s1{ --i:0; } .mhx .mh-ctl.s2{ --i:1; }
.mhx .mh-ctl.s3{ --i:2; } .mhx .mh-ctl.s4{ --i:3; }
.mhx .mh-ctl.s5{ --i:4; } .mhx .mh-ctl.s6{ --i:5; }
@keyframes fx7CtlFlare{
  0%  { filter:brightness(1);    box-shadow:1px 0 0 rgba(0,0,0,.85), 0 0 0 rgba(57,255,20,0); }
  28% { filter:brightness(2.05); box-shadow:1px 0 0 rgba(0,0,0,.85), 0 0 30px 5px rgba(57,255,20,.5), inset 0 0 16px rgba(57,255,20,.35); }
  55% { filter:brightness(1.5);  box-shadow:1px 0 0 rgba(0,0,0,.85), 0 0 18px 3px rgba(57,255,20,.32), inset 0 0 10px rgba(57,255,20,.22); }
  100%{ filter:brightness(1);    box-shadow:1px 0 0 rgba(0,0,0,.85), 0 0 0 rgba(57,255,20,0); }
}
@keyframes fx7AcidFlare{
  0%  { filter:brightness(1); }
  30% { filter:brightness(1.85); box-shadow:0 0 50px 11px rgba(180,255,0,.7), inset 0 0 14px rgba(255,255,255,.35); }
  60% { filter:brightness(1.4);  box-shadow:0 0 32px 6px rgba(180,255,0,.45); }
  100%{ filter:brightness(1); }
}
@keyframes fx7GlowPulse{ 0%{ opacity:.32; } 30%{ opacity:.55; } 100%{ opacity:.4; } }
.mhx .mhx-barwrap.pulsing .mh-bar:not(.fx7-echo) .mh-ctl{
  animation:fx7CtlFlare .62s ease-out both;
  animation-delay:calc(var(--i) * 150ms);
}
.mhx .mhx-barwrap.pulsing .mh-bar:not(.fx7-echo) .mh-ctl.s6{
  animation-name:fx7AcidFlare;
}
.mhx .mhx-barwrap.pulsing .mh-beam{ animation:fx7GlowPulse 1.4s ease-out both; }

/* ---------- RESPONSIVE — echoes hug closer on small screens - */
@media (max-width:640px){
  .mhx .fx7-echo-a{ transform:translate(-8px, 7px) scale(.985); }
  .mhx .fx7-echo-b{ transform:translate(-16px, 14px) scale(.97); }
}

@media (prefers-reduced-motion: reduce){
  .mhx .fx7-scan::before, .mhx .fx7-scan::after{ animation:none; }
  .mhx .mhx-barwrap.pulsing .mh-ctl{ animation:none; }
  .mhx .mhx-barwrap.pulsing .mh-beam{ animation:none; }
}

/* CLEAN REV 2 (2026-11-19): header backing scrim. The hero
   background video carries its own big green Y in the top-left
   of frame; with a transparent header it showed through behind
   the lockup — two Ys stacked ("logo is overlaying"). The
   header now carries a soft black backing across its own zone
   (exactly the mega-panel top offset) that fades out below it,
   so nothing from the page ever bleeds in behind the logo or
   the bar. Hero below the header is untouched. */
.mhx::before{
  content:""; position:absolute; top:0; left:0; right:0;
  height:var(--mhpaneltop);
  background:linear-gradient(180deg, rgba(1,3,1,.94) 0%, rgba(1,3,1,.88) 58%, rgba(1,3,1,0) 100%);
  pointer-events:none; z-index:0;
}
.mhx .mhx-brand{ z-index:2; }
.mhx .mhx-barwrap{ z-index:2; }
