/* The engraved rooms (desk, library): a dim room lit by one lamp, the 3D engraving multiplied onto it. Shared by bureau.html, bibliotheque.html and index.html. */
:root { --pad: clamp(20px, 4vw, 72px); }
  * { box-sizing: border-box; }
  html { background: #050505; color: #fff; }
  body { margin: 0; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; }
  .studio-scroll { position: relative; height: 460vh; }
  .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,.05) 26px, rgba(255,255,255,0) 58px, rgba(255,255,255,.025) 84px, rgba(255,255,255,0) 112px), #050505; }
  /* the lamp's pool of light in a dim room */
  .light { position: absolute; left: 50%; top: 50%; width: 100vmax; height: 72vmax; margin: -36vmax 0 0 -50vmax; pointer-events: none; mix-blend-mode: screen;
    background: radial-gradient(closest-side, #f6f6f6 0%, #e4e4e4 30%, #8a8a8a 58%, #262626 80%, rgba(0,0,0,0) 100%);
    animation: breathe 9s ease-in-out infinite alternate; will-change: transform; }
  .light::after { content: ""; position: absolute; left: 30%; top: 22%; width: 34%; height: 40%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0)); filter: blur(10px);
    animation: drift 14s ease-in-out infinite alternate; }
  @keyframes breathe { from { filter: brightness(.9); } to { filter: brightness(1); } }
  @keyframes drift { from { transform: translate(-6%, -3%); } to { transform: translate(14%, 5%); } }
  /* the engraving: black ink on white paper, multiplied onto the room light */
  .scene3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; mix-blend-mode: multiply; }
  .head { position: absolute; left: var(--pad); top: clamp(40px, 9vh, 110px); z-index: 2; pointer-events: none; }
  .head p { margin: 0; font-size: clamp(12px, .95vw, 15px); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.74); }
  .head h1 { margin: 0; font-weight: 600; font-size: clamp(44px, 6.4vw, 128px); line-height: .9; text-transform: uppercase; }
  @media (prefers-reduced-motion: reduce) { .studio-scroll { height: auto; } .stage { position: relative; } .light, .light::after { animation: none; } }
