/* Short editorial moments: the still stays in place until a frame is ready. */
.section-motion {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: var(--motion-aspect, 3 / 2);
  border-radius: 12px;
  background: var(--surface);
}
.section-motion > :is(.section-motion-poster, video) {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.section-motion > video {
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}
.section-motion > video.is-ready { opacity: 1; }
.section-motion-toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 50%;
  color: #fff;
  background: rgb(17 24 20 / 78%);
  backdrop-filter: blur(8px);
  font-size: 20px;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  transition: background 180ms ease;
}
.section-motion-toggle[hidden] { display: none; }
.section-motion-toggle:hover { background: #17221c; }
.section-motion-toggle:focus-visible { outline: 3px solid var(--brand-gold); outline-offset: 4px; }
/* Keep media controls clear of the persistent bottom-right theme button. */
.product-page .section-motion-toggle { right: auto; left: 16px; }
.section-motion--lab { aspect-ratio: 4 / 3; background: #080b0a; }
.company-lab-motion { margin: 40px 0 0; }
.company-lab-motion figcaption { padding-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.6; letter-spacing: .04em; }
.company-page .company-working-lanes { align-self: center; }
.evidence-image .section-motion { aspect-ratio: 4 / 5; }
.evidence-image .section-motion--feeding { aspect-ratio: 4 / 3; }
@media (max-width: 900px) {
  .evidence-image .section-motion { aspect-ratio: 4 / 3; }
  .company-lab-motion { max-width: 640px; }
}
@media (max-width: 600px) {
  .section-motion-toggle { right: 12px; bottom: 12px; }
  .company-lab-motion { margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .section-motion > video, .section-motion-toggle { transition: none; }
}
