/* LPI scene: three real screens, refocused per beat (Story.shot). One dark ground taken from the screens' edges,
   the screens' own teal as the one accent, one motion: the refocus. A new screen fades in under the camera. */
.lp { background: #0b0712; color: #f5f5f7; }
.story:has(.lp), .story:has(.lp) .story-scene, .story:has(.lp) .story-prog { background: #0b0712; color: #f5f5f7; }
/* the screen arriving fades in on top; the one leaving stays under it until then, so the ground never shows through */
.lp-layer { position: absolute; inset: 0; z-index: 0; opacity: 0; visibility: hidden; transition: opacity 0s linear 420ms, visibility 0s linear 420ms; }
.story[data-layer="home"] .lp-home, .story[data-layer="options"] .lp-options, .story[data-layer="insights"] .lp-insights { z-index: 1; opacity: 1; visibility: visible; transition: opacity 420ms var(--ease), visibility 0s; }
/* the start of an arrival: the camera is put on the whole screen without moving there */
.story-shot.lp-snap img { transition: none; }

/* The four switches ride on the options screen in its own pixels, each laid exactly over the screen's switch, so they move with the camera.
   Colours are the screen's: the teal track when on (options.webp), the dark track when off (the live site's off switch, lpi/1). */
.lp-over { position: absolute; top: 0; left: 0; transform-origin: 0 0; pointer-events: none; }
.lp-sw { position: absolute; min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 999px; box-sizing: border-box; -webkit-appearance: none; appearance: none;
  font: inherit; color: inherit; cursor: pointer; pointer-events: auto; background: linear-gradient(90deg, #16191e, #1b1f24 85%, #282c32); }
.lp-sw[aria-checked="true"] { background: linear-gradient(90deg, #3b859c, #4c9aab 55%, #5fb1b5 85%, #93e7e2); }
.lp-sw::before { content: ""; position: absolute; inset: -45% -20%; }
.lp-sw i { position: absolute; left: 7.75%; top: 11.4%; width: 48.06%; height: 78.48%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, #e6f6f6 70%, #d2eded); transition: transform 420ms var(--ease); }
.lp-sw[aria-checked="true"] i { transform: translateX(75.8%); }
.lp-sw:focus-visible { outline: 5px solid #93e7e2; outline-offset: 5px; }
@media (prefers-reduced-motion: reduce) { .story[data-layer] .lp > .lp-layer, .lp-sw i { transition: none; } }
