/*
  Hero scene parity pass.
  Sampled at 1535x740 against the live reference, including viewport corners.
  Keep the page-specific color across the whole scroll document.
  All lighting here is cheap CSS gradients — no viewport blur or screen blend.
*/
body[data-page="about"] #frame-content{
  background-color:#0f0f11!important;
  background-image:
    radial-gradient(ellipse 50% 62% at 105% 5%,rgba(72,118,195,.74) 0%,rgba(46,69,125,.29) 55%,transparent 85%),
    radial-gradient(ellipse 50% 67% at -8% 94%,rgba(68,113,192,.72) 0%,rgba(43,67,120,.29) 55%,transparent 84%),
    linear-gradient(#0f0f11,#0f0f11)!important;
}
body[data-page="work"] #frame-content{
  background-color:#0f0f10!important;
  background-image:
    radial-gradient(ellipse 50% 56% at 103% 5%,rgba(203,74,86,.67) 0%,rgba(133,44,58,.30) 54%,transparent 84%),
    radial-gradient(ellipse 52% 68% at -9% 93%,rgba(209,74,86,.73) 0%,rgba(137,43,57,.34) 55%,transparent 84%),
    linear-gradient(#0f0f10,#0f0f10)!important;
}
/* The moving light overlay is supplementary, not a second intense gradient.
   The root hero needs stronger light at both corners to match the reference. */
body:not([data-page="about"]):not([data-page="work"]):not([data-page="contact"]):not([data-page="achievements"]) #frame-content::before{
  background:
    radial-gradient(ellipse 52% 72% at -4% 93%,rgba(94,174,89,.84),transparent 82%),
    radial-gradient(ellipse 52% 64% at 103% 5%,rgba(94,174,89,.82),transparent 84%)!important;
  opacity:.94!important;
}
body[data-page="about"] #frame-content::before{
  background:
    radial-gradient(ellipse 43% 63% at -4% 93%,rgba(58,101,170,.20),transparent 84%),
    radial-gradient(ellipse 42% 59% at 103% 5%,rgba(61,104,174,.19),transparent 84%)!important;
  opacity:.4!important;
}
body[data-page="work"] #frame-content::before{
  background:
    radial-gradient(ellipse 45% 63% at -4% 93%,rgba(165,58,70,.15),transparent 83%),
    radial-gradient(ellipse 43% 58% at 104% 5%,rgba(158,53,68,.14),transparent 84%)!important;
  opacity:.45!important;
}
/* Deep black, softly edged 3D typography should sit behind the headline.
   Do not let the secondary ghost type overtake the primary heading. */
body[data-page="about"] .route-hero .hero-wordmark,
body[data-page="work"] .route-hero .hero-wordmark{
  color:rgba(2,3,6,.37)!important;
  -webkit-text-stroke:1px rgba(2,3,6,.21);
  text-shadow:2px 5px 7px rgba(0,0,0,.18);
  opacity:.85;
}
#frame-content .hero-bg-word{
  color:rgba(1,3,2,.36)!important;
  -webkit-text-stroke:1px rgba(5,7,5,.24);
  opacity:.65;
}
/* No additional large green/yellow section glow above the fixed 3D stage. */
body[data-page="about"] #frame-content .route-hero .section-glow,
body[data-page="work"] #frame-content .route-hero .section-glow{
  opacity:.12!important;
  filter:none!important;
}
@media(max-width:600px){
 body[data-page="about"] #frame-content{
  background-image:
   radial-gradient(ellipse 100% 60% at 110% 5%,rgba(72,118,195,.50),transparent 84%),
   radial-gradient(ellipse 100% 66% at -10% 95%,rgba(68,113,192,.52),transparent 84%),
   #0f0f11!important;
 }
 body[data-page="work"] #frame-content{
  background-image:
   radial-gradient(ellipse 100% 60% at 110% 5%,rgba(203,74,86,.50),transparent 84%),
   radial-gradient(ellipse 100% 66% at -10% 95%,rgba(209,74,86,.52),transparent 84%),
   #0f0f10!important;
 }
}
