/* ==========================================================================
   VibeCMD — 3D motion layer (production; promoted live 2026-12-01)
   Only rules for the WebGL canvas and Lenis coexistence. The page's own
   workshop.css is untouched; every component keeps its solid surfaces.
   ========================================================================== */

#stage3d-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  display: block;
}

/* Lenis drives smoothing itself; CSS smooth-scroll would fight it. */
html.stage3d-lenis {
  scroll-behavior: auto;
}

/* Tilted cards get a deeper shadow while lifted (JS toggles the class). */
.stage3d-tilting {
  box-shadow: 0 2px 3px rgba(27, 29, 33, .07), 0 18px 38px rgba(27, 29, 33, .13);
}

html[data-theme="dark"] .stage3d-tilting {
  box-shadow: 0 2px 3px rgba(0, 0, 0, .45), 0 18px 38px rgba(0, 0, 0, .5);
}
