/* DIGIGROUPE V38 — studio-noir AI / architectural software gallery.
   Stable V37 background model: these are PAINTED CSS BACKGROUNDS on the
   existing scenes. Never create a new DOM overlay, GPU filter, canvas,
   blend mode, isolation context, or transform around interactive content. */

/* Protect the Agents chapter from the native shared gallery-white backdrop
   during AI -> work scroll interpolation. The selected chapter keeps its
   original ink/paper contrast regardless of the browser frame timing. */
body.dg-bg-safe.dg-atmosphere-home .dg-journey.dg-journey-ready[data-active-scene="ai"] .dg-journey-backdrop{
  opacity:0!important;
}
body.dg-bg-safe.dg-atmosphere-home .dg-journey.dg-journey-ready .dg-scene[data-stage="ai"]{
  background-color:#050e22!important;
  background-image:
    radial-gradient(ellipse 84% 68% at 82% 49%,rgba(20,55,116,.60) 0%,rgba(7,29,69,.28) 58%,transparent 90%),
    radial-gradient(ellipse 72% 61% at 12% 100%,rgba(13,41,91,.26),transparent 80%),
    linear-gradient(125deg,#040b1d 0%,#07162f 58%,#030b1c 100%)!important;
}
body.dg-bg-safe.dg-atmosphere-home .dg-scene[data-stage="ai"] .dg-scene-copy h2,
body.dg-bg-safe.dg-atmosphere-home .dg-scene[data-stage="ai"] .dg-scene-copy h2 em{
  color:#f7faff!important;
}
body.dg-bg-safe.dg-atmosphere-home .dg-scene[data-stage="ai"] .dg-scene-copy h2 em{
  color:#9accff!important;
}
body.dg-bg-safe.dg-atmosphere-home .dg-scene[data-stage="ai"] .dg-scene-copy>p{
  color:#b9cce9!important;
}
body.dg-bg-safe.dg-atmosphere-home .dg-scene[data-stage="ai"] .dg-scene-number{
  color:#90bdff!important;
}

/* Software: refined near-white architectural gallery, NOT the old electric
   blue gradient. A diffuse pool of daylight and very fine orbit construction
   lines are part of the scene's own background paint (not a compositing
   surface). All six existing interactive planets stay above it. */
body.dg-bg-safe.dg-atmosphere-home .dg-journey.dg-journey-ready .dg-scene[data-stage="work"]{
  background-color:#e9f1fa!important;
  background-image:
    radial-gradient(ellipse 58% 74% at 78% 43%,
      rgba(255,255,255,.97) 0%,rgba(255,255,255,.76) 34%,
      rgba(244,249,255,.44) 64%,transparent 92%),
    radial-gradient(ellipse 57% 74% at 81% 47%,
      transparent 67.6%,rgba(75,121,178,.105) 67.75%,
      rgba(75,121,178,.105) 67.92%,transparent 68.1%),
    radial-gradient(ellipse 34% 50% at 81% 47%,
      transparent 68%,rgba(75,121,178,.07) 68.3%,
      rgba(75,121,178,.07) 68.52%,transparent 68.8%),
    radial-gradient(ellipse 70% 61% at 0% 100%,rgba(190,212,237,.20),transparent 84%),
    linear-gradient(135deg,#f2f6fc 0%,#e9f1f9 58%,#e5edf8 100%)!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
}
body.dg-bg-safe.dg-atmosphere-home .dg-scene[data-stage="work"] .dg-scene-copy h2{
  color:#0b254e!important;
}
body.dg-bg-safe.dg-atmosphere-home .dg-scene[data-stage="work"] .dg-scene-copy h2 em{
  color:#155cce!important;
}
body.dg-bg-safe.dg-atmosphere-home .dg-scene[data-stage="work"] .dg-scene-copy>p{
  color:#475f7f!important;
}
body.dg-bg-safe.dg-atmosphere-home .dg-scene[data-stage="work"] .dg-scene-number,
body.dg-bg-safe.dg-atmosphere-home .dg-scene[data-stage="work"] .dg-v11-carousel-hint,
body.dg-bg-safe.dg-atmosphere-home .dg-scene[data-stage="work"] .dg-v9-carousel-status{
  color:#37699d!important;
}
body.dg-bg-safe.dg-atmosphere-home .dg-scene[data-stage="work"] .dg-v16-product-info{
  background:#f5f9fe!important;
  border-color:rgba(78,129,191,.23)!important;
  box-shadow:0 12px 34px rgba(33,79,134,.11)!important;
}
body.dg-bg-safe.dg-atmosphere-home .dg-journey[data-active-scene="ai"] .dg-journey-footer{
  color:#89a8d2!important;
}
body.dg-bg-safe.dg-atmosphere-home .dg-journey[data-active-scene="work"] .dg-journey-footer{
  color:#5d7797!important;
}
@media(max-width:700px){
  /* Larger clear canvas for logos on narrow devices; keep text on clean paper. */
  body.dg-bg-safe.dg-atmosphere-home .dg-journey.dg-journey-ready .dg-scene[data-stage="work"]{
    background-image:
      radial-gradient(ellipse 93% 60% at 72% 53%,rgba(255,255,255,.95),transparent 94%),
      radial-gradient(ellipse 74% 65% at 82% 48%,
        transparent 68%,rgba(82,135,197,.065) 68.25%,transparent 68.6%),
      linear-gradient(150deg,#f2f6fb,#e6eff9)!important;
  }
}
