/* GHOST CONCEPT R13 | owner-selected cinematic amber room as site-wide body paint. */
/* Background is deliberately its own responsive, cacheable WebP asset. */
body { background: #070809; }
/* Viewport-attached backdrop is not repeated or vertically stretched over the page. */
body::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: #070809 url("ghost-body-ambient-1672x941.webp") center center / cover no-repeat;
}
/* Subtle readability veil. Keep environmental amber visible on the flanks. */
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(3,5,7,.12),rgba(3,5,7,.36) 23%,rgba(3,5,7,.34) 77%,rgba(3,5,7,.12));
}
/* Preserve pre-existing BORG header layering and the accepted R11 hero composition. */
body > main, body > .site-footer { position: relative; z-index: 1; }
/* Replace opaque, per-section textures: the fixed body visual now runs through all sections. */
main > .section {
  background: linear-gradient(90deg,
    rgba(5,7,9,.56) 0%, rgba(5,7,9,.77) 15%,
    rgba(5,7,9,.79) 85%, rgba(5,7,9,.56) 100%);
  box-shadow: inset 0 1px rgba(255,141,5,.12), inset 0 -1px rgba(255,141,5,.12);
}
main > .section::before {
  background: linear-gradient(100deg,rgba(255,141,5,.085),transparent 28% 75%,rgba(255,141,5,.075));
}
/* Readability for the final site footer while keeping body paint behind all site content. */
body > .site-footer { background: rgba(5,7,9,.88); }
@media (max-width: 600px) {
  body::before { background-position: center center; background-size: 100% 100%; }
  body::after { background: rgba(3,5,7,.24); }
  main > .section {
    background: linear-gradient(90deg,rgba(5,7,9,.64),rgba(5,7,9,.77) 48%,rgba(5,7,9,.64));
  }
}
@media (prefers-reduced-motion: reduce) {
  body::before,body::after { transition: none; }
}
