#bgf { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #0A0A0A; pointer-events: none; }
.bgf-cv { width: 100%; height: 100%; display: block; object-fit: cover; }
body.stage #stage { background: transparent !important; }
/* css variant: a stack of radial gradients (colours walked through the adjacency table by gen_css.py). Rasterised at 60 % x 60 %
   and scaled up 1.8x by the compositor (a third of the raster of a full-size layer, which was 60 % main-thread busy on a x6 phone),
   drifting by translate only. */
.bgf-css { position: absolute; left: -4%; top: -4%; width: 60%; height: 60%; transform-origin: 0 0; background-image: var(--bgf-stack); will-change: transform; animation: bgf-drift 70s ease-in-out infinite alternate; }
@keyframes bgf-drift { from { transform: translate3d(0, 0, 0) scale(1.8); } to { transform: translate3d(-3%, -3%, 0) scale(1.8); } }
@media (prefers-reduced-motion: reduce) { .bgf-css { animation: none; transform: scale(1.8); } }
/* Luca, Forma note 6bp9st68ww60 (desk 2026-11-25 on v36): "this gradient box now has an hard edge". The footer's dark
   backing was a box fading only upward; on black its sides never showed, over the coloured field the right side was a
   straight line. Now an ellipse from the bottom-left corner, zero on every side, wide enough that the text still reads. */
body.stage .ft::before { inset: -120px -220px -30px -40px !important;
  background: radial-gradient(ellipse 100% 100% at 0% 100%, rgba(10,10,10,.92) 0%, rgba(10,10,10,.86) 42%, rgba(10,10,10,.55) 68%, rgba(10,10,10,.18) 86%, rgba(10,10,10,0) 100%) !important; }
