/**
 * Loop Creativo — scroll-driven cinematic art direction.
 * Layers remain decorative and never replace the approved composition, typography or imagery.
 */
body.lc-premium-storyflow-on .lc-storyflow-act { --lc-sf-p:.5; --lc-sf-focus:0; --lc-sf-track:0; position:relative; }
body.lc-premium-storyflow-on .lc-storyflow-act > .lc-storyflow-light {
  position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:7;
  background:
    radial-gradient(ellipse 40% 42% at var(--lc-sf-light-x,50%) 42%,rgba(112,67,239,.12),transparent 77%),
    radial-gradient(ellipse 28% 38% at var(--lc-sf-light-x2,66%) 68%,rgba(215,61,174,.075),transparent 82%);
  opacity:calc(var(--lc-sf-focus) * .62);
  mix-blend-mode:screen;
}
/* A single physical line progresses across the top edge during entry. No extra progress indicator. */
body.lc-premium-storyflow-on .lc-storyflow-act > .lc-storyflow-light::before {
  content:""; position:absolute; left:0; top:0; width:100%; height:1px;
  background:linear-gradient(90deg,transparent 0%,rgba(83,203,248,.75) 22%,rgba(143,72,230,.65) 58%,rgba(255,147,176,.40) 85%,transparent 100%);
  transform:scaleX(var(--lc-sf-track)); transform-origin:left;
  opacity:.45;
}
/* The article/project imagery moves a few pixels with the visitor, never on a timer. */
@media (min-width:768px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  body.lc-premium-storyflow-on:not(.lc-storyflow-stopped) .lc-storyflow-media {
    translate:0 var(--lc-sf-image-translate,0px);
    scale:var(--lc-sf-image-scale,1);
  }
}
@media (max-width:767px) {
  body.lc-premium-storyflow-on .lc-storyflow-act > .lc-storyflow-light {
    opacity:calc(var(--lc-sf-focus) * .28);
    background:radial-gradient(ellipse 58% 35% at 50% 46%,rgba(103,70,226,.12),transparent 87%);
  }
}
@media (prefers-reduced-motion:reduce), (prefers-contrast:more) {
  body.lc-premium-storyflow-on .lc-storyflow-act > .lc-storyflow-light {display:none!important}
  body.lc-premium-storyflow-on .lc-storyflow-media {translate:none!important;scale:1!important}
}
body.lc-storyflow-stopped .lc-storyflow-act > .lc-storyflow-light {display:none!important}
body.lc-storyflow-stopped .lc-storyflow-media {translate:none!important;scale:1!important}
@media print {body.lc-premium-storyflow-on .lc-storyflow-light {display:none!important}}
