/* Editorial motion, independent of browsing, telephone links and dialogs. */
@media (prefers-reduced-motion: no-preference) {
  html[data-motion="on"] .hero-copy h1 em {
    display: inline-block;
    animation: liora-title-in 1.15s cubic-bezier(.22,.72,.22,1) .12s both;
  }
  html[data-motion="on"] .hero-scroll::after {
    content: ""; display:block; height:1px; margin-top:6px;
    background:currentColor; transform-origin:left; animation:liora-rule-in .9s .45s both;
  }
  html[data-motion="on"] .editorial-wide picture,
  html[data-motion="on"] .cassia-portrait { position:relative; overflow:hidden; }
  html[data-motion="on"] .editorial-wide img { scale:var(--impress-scale,1); }
  html[data-motion="on"] .cassia-portrait::after {
    content:"";position:absolute;inset:-15%;pointer-events:none;
    background:linear-gradient(110deg,transparent 44%,#f2d2a964 50%,transparent 56%);
    mix-blend-mode:screen;opacity:0;
  }
  html[data-motion="on"] .cassia-portrait.impress-lit::after {animation:liora-portrait-light 1.5s ease-out both;}
  html[data-motion="on"] .cassia-story.impress-lit .cassia-signature {animation:liora-ink-in .86s cubic-bezier(.22,.72,.22,1) .14s both;}
  html[data-motion="on"] .shade-panorama.impress-shade::after {animation:liora-rail-light .78s ease-out both;}
}
@keyframes liora-title-in {from{clip-path:inset(0 0 100% 0);translate:0 12px}to{clip-path:inset(-20% -15% -25% -15%);translate:0 0}}
@keyframes liora-rule-in {from{scale:0 1;opacity:0}to{scale:1 1;opacity:.65}}
@keyframes liora-portrait-light {0%{transform:translateX(-46%);opacity:0}38%{opacity:.62}100%{transform:translateX(48%);opacity:0}}
@keyframes liora-ink-in {from{opacity:.35;translate:0 6px}to{opacity:1;translate:0 0}}
@keyframes liora-rail-light {0%,100%{opacity:.055}36%{opacity:.34}}

/* The phone gets its own visible replay instead of desktop-only lighting. */
@media (max-width:700px) and (prefers-reduced-motion:no-preference) {
  html[data-motion="on"] .hero-picture img {
    animation:liora-phone-camera 4s cubic-bezier(.18,.62,.28,1) both;
    transform-origin:50% 30%;
  }
  html[data-motion="on"] .hero-light {
    display:block;bottom:auto;height:calc(100vw * 1.18);
    background:linear-gradient(111deg,transparent 32%,#f7d8a823 42%,#ffeccc62 49%,#f7d8a818 58%,transparent 66%);
    animation:light-pass 2.8s .26s ease-out both;
  }
  html[data-motion="on"] .hero-copy h1 em {animation-delay:.5s}
  html[data-motion="on"] #hero-replay {
    min-height:44px; bottom:8px; padding-inline:9px;
    border:1px solid #f7f1e966; border-radius:999px; background:#20171299;
  }
  html[data-motion="on"] .editorial-wide img {
    scale:none;transform:scale(var(--impress-scale,1));transform-origin:30% center;
  }
}
@keyframes liora-phone-camera {from{transform:scale(1.075)}to{transform:scale(1)}}
