/* ── PAPER SHELL — global scifi override for research sub-pages ── */
html { background: #000 !important; }
body { background: transparent !important; }
#gl  { display: none !important; }

/* ── NAV ── */
.ps-nav {
  position:fixed;top:0;left:0;right:0;z-index:9999;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 32px;height:56px;
  background:rgba(5,6,10,0.88);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  border-bottom:0.5px solid rgba(200,240,0,0.12);
}
.ps-nav-logo {
  font-family:'Barlow Condensed',sans-serif;font-size:20px;font-weight:900;
  letter-spacing:0.04em;text-transform:uppercase;color:#F5F2E8;text-decoration:none;
}
.ps-nav-logo span { color:#C8F000; }
.ps-nav-links { display:flex;align-items:center;gap:32px; }
.ps-nav-links a {
  font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:0.14em;
  text-transform:uppercase;color:#A8A89A;text-decoration:none;transition:color .2s;
}
.ps-nav-links a:hover,.ps-nav-links a.active { color:#C8F000; }
.ps-nav-reflect {
  color:#05060a !important;background:#C8F000 !important;
  padding:6px 14px;border-radius:3px;transition:opacity .2s;
}
.ps-nav-reflect:hover { opacity:.85; }

/* ── Scene clearance for fixed nav ── */
.scene:first-of-type { padding-top:80px !important; }
body > .scene:first-child { padding-top:80px !important; }

/* ── Card — frosted glass, sharp corners, 45% opacity ── */
.card {
  position:relative !important;
  overflow:hidden !important;
  background:rgba(8,12,22,0.45) !important;
  backdrop-filter:blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter:blur(24px) saturate(180%) !important;
  border:0.5px solid rgba(200,240,0,0.20) !important;
  border-radius:0 !important;
  animation:none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 24px 64px rgba(0,0,0,0.55),
    0 0 32px rgba(200,240,0,0.04) !important;
  transition:background .3s,box-shadow .3s !important;
}
.card:hover {
  background:rgba(8,12,22,0.55) !important;
  border-color:rgba(200,240,0,0.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 28px 72px rgba(0,0,0,0.60),
    0 0 48px rgba(200,240,0,0.08) !important;
}

/* ── Corner marks — pure CSS, no animation, no SVG ── */
.pf-c {
  position:absolute;
  width:26px;
  height:26px;
  border-color:rgba(200,240,0,0.70);
  border-style:solid;
  pointer-events:none;
  z-index:10;
}
.pf-c.tl { top:0;  left:0;  border-width:1.5px 0 0 1.5px; }
.pf-c.tr { top:0;  right:0; border-width:1.5px 1.5px 0 0; }
.pf-c.bl { bottom:0; left:0;  border-width:0 0 1.5px 1.5px; }
.pf-c.br { bottom:0; right:0; border-width:0 1.5px 1.5px 0; }

/* inner echo marks */
.pf-c.tl::before,.pf-c.tr::before,.pf-c.bl::before,.pf-c.br::before {
  content:'';
  position:absolute;
  width:14px;height:14px;
  border-color:rgba(200,240,0,0.28);
  border-style:solid;
}
.pf-c.tl::before { top:4px;  left:4px;  border-width:0.75px 0 0 0.75px; }
.pf-c.tr::before { top:4px;  right:4px; border-width:0.75px 0.75px 0 0; }
.pf-c.bl::before { bottom:4px; left:4px;  border-width:0 0 0.75px 0.75px; }
.pf-c.br::before { bottom:4px; right:4px; border-width:0 0.75px 0.75px 0; }

/* ── Hero headline color fix ── */
.em-headline .lit,
.dmoe-headline .lit,
.d2h-headline .lit,
.hero-headline .lit { color:#C8F000 !important; }
