
/* RedHawk Defense V6.1 - Matrix Back restored globally */
html.rhd-matrix-html, body.rhd-matrix-active{
  min-height:100%;
}
body.rhd-matrix-active{
  background:#020306!important;
  overflow-x:hidden;
}
#rhd-matrix-back{
  position:fixed;
  inset:0;
  width:100vw;
  height:100vh;
  z-index:0;
  pointer-events:none;
  opacity:.58;
  mix-blend-mode:screen;
}
body.rhd-matrix-active:before{
  content:"";
  position:fixed;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(circle at 14% 0%, rgba(225,29,46,.20), transparent 31%),
    radial-gradient(circle at 88% 4%, rgba(40,125,255,.14), transparent 36%),
    linear-gradient(180deg, rgba(2,3,6,.42), rgba(2,3,6,.80) 70%, #020306 100%);
}
body.rhd-matrix-active > *:not(#rhd-matrix-back):not(#rhd-global-header):not(.rhd-quick-contact):not(.rhd-social-rail){
  position:relative;
  z-index:2;
}
#rhd-global-header,
.rhd-quick-contact,
.rhd-social-rail{
  position:fixed;
}
.rhd-matrix-toggle{display:none!important}
body.rhd-matrix-off #rhd-matrix-back{
  display:none!important;
}
body.rhd-matrix-off:before{
  display:none!important;
}
@media(max-width:720px){
  #rhd-matrix-back{opacity:.42}
  .rhd-matrix-toggle{display:none}
}
@media(print){
  #rhd-matrix-back,.rhd-matrix-toggle{display:none!important}
}


/* V5.7 stronger matrix restore - Built: 2026-06-17 17:33:57 MST */
html.rhd-theme-matrix body,
body.rhd-matrix-active{
  background:#020306!important;
}
body.rhd-matrix-active main,
body.rhd-matrix-active section,
body.rhd-matrix-active .wrap{
  position:relative;
}

/* V4.10.4.44 unified Matrix runtime */
html.rhd-theme-matrix body{background:#020306!important}
html.rhd-theme-matrix #rhd-matrix-back,body.rhd-theme-matrix #rhd-matrix-back{display:block!important;opacity:.52!important}
html.rhd-theme-professional #rhd-matrix-back,html.rhd-theme-basic #rhd-matrix-back,body.rhd-theme-professional #rhd-matrix-back,body.rhd-theme-basic #rhd-matrix-back{display:none!important}
body.rhd-matrix-active>.rh-home{position:relative;z-index:2}

/* V4.10.4.44 matrix proof */
html.rhd-theme-matrix #rhd-matrix-back,body.rhd-theme-matrix #rhd-matrix-back{display:block!important;visibility:visible!important;opacity:.58!important;z-index:0!important}
html.rhd-theme-matrix body>*:not(#rhd-matrix-back){position:relative;z-index:2}
#rhd-global-header{z-index:2147483640!important}
