/* POCKET 10.2 FINAL POLISH
   Removes redundant legacy motion layers, keeps the newer kinetic system,
   protects text readability, and pauses expensive effects while offscreen. */

/* V5.2's tech-fx layer is superseded by the newer kinetic layer. Keeping both
   doubled animation/compositing work and could visually pass scan lines through copy. */
.tech-fx{display:none!important}

/* Research cards: no animated surface sweep or 3D rasterization across copy. */
.labs-section .lab-card::after,
.labs-section .lab-card .pointer-halo,
.labs-section .lab-card .kinetic-corner{display:none!important}
.labs-section .lab-card{
  transform:none!important;
  will-change:auto!important;
  contain:paint;
  isolation:isolate;
  background:
    radial-gradient(circle at 100% 0,rgba(92,231,255,.035),transparent 30%),
    linear-gradient(180deg,rgba(12,17,25,.94),rgba(7,10,15,.94));
}
.labs-section .lab-card>span,
.labs-section .lab-card h3,
.labs-section .lab-card p,
.labs-section .lab-card small{position:relative;z-index:4;text-shadow:none}
.labs-section .lab-card small{position:absolute}
.labs-section .lab-card:hover{border-color:rgba(92,231,255,.24);box-shadow:0 18px 50px rgba(0,0,0,.24),inset 0 1px rgba(92,231,255,.05)}

/* Keep visual energy behind content, never through it. */
.labs-section .kinetic-layer,
.labs-section .section-circuit,
.labs-section .scroll-reactor,
.labs-section .section-data-stream{z-index:0!important}
.labs-section>.container{position:relative;z-index:3}

/* Stop expensive decorative CSS animations when their section is outside the
   active viewport. JS already toggles .motion-live via IntersectionObserver. */
.section:not(.motion-live) .kinetic-layer *,
.section:not(.motion-live) .scroll-reactor *,
.section:not(.motion-live) .section-circuit *,
.section:not(.motion-live) .section-data-stream *,
.section:not(.motion-live) .scroll-energy-lane *,
.section:not(.motion-live) .neural-rig *,
.section:not(.motion-live) .tier-meter,
.section:not(.motion-live) .product-hud{animation-play-state:paused!important}

/* Cleaner cards and steadier text rendering on lower-power devices. */
@media (max-width:900px){
  .pointer-tilt{transform:none!important;will-change:auto!important}
  .pointer-halo{display:none!important}
  .labs-section .lab-card{min-height:220px}
}

/* Video surfaces stay clean while the controller handles muted autoplay. */
video{background:#03070b}
video[data-pocket-video],video[data-experience-player]{object-position:center center}

/* Strong keyboard visibility without visual clutter. */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:2px solid rgba(92,231,255,.9)!important;
  outline-offset:3px!important;
}

/* Planned operations should not look like a live-office indicator. */
.hq-status i{background:#d9b35b!important;box-shadow:0 0 14px rgba(217,179,91,.32)!important}

/* Reduced-motion users keep the product videos, but decorative motion stays still. */
@media (prefers-reduced-motion:reduce){
  .labs-section .lab-card{transition:border-color .2s ease,box-shadow .2s ease}
}
