/* Resting styles remain in presentation.css. Only first-session homepage motion. */
@media (prefers-reduced-motion: no-preference) {
  html[data-home-entrance="first"]:has(#iap2.iam-home-revision .ih-hero) {
    --he-ease: cubic-bezier(.22,1,.36,1);
    --he-title-time: 480ms;
    --he-title-delay: 100ms;
    --he-panel-time: 460ms;
    --he-panel-delay: 280ms;
    --he-ribbon-delay: 700ms;
    --he-travel: 18px;
    --he-panel-x: 14px;
  }
  html[data-home-entrance="first"]:has(#iap2.iam-home-revision .ih-hero) .iam-public-header {
    animation: he-nav 400ms var(--he-ease) 0ms backwards;
  }
  html[data-home-entrance="first"] #iap2.iam-home-revision .ih-intro > .ih-eyebrow {
    animation: he-copy 320ms var(--he-ease) 40ms backwards;
  }
  html[data-home-entrance="first"] #iap2.iam-home-revision .ih-intro h1 {
    animation: he-title var(--he-title-time) var(--he-ease) var(--he-title-delay) backwards;
  }
  html[data-home-entrance="first"] #iap2.iam-home-revision .ih-lead {
    animation: he-copy 360ms var(--he-ease) 250ms backwards;
  }
  html[data-home-entrance="first"] #iap2.iam-home-revision .ih-actions {
    animation: he-copy 340ms var(--he-ease) 340ms backwards;
  }
  html[data-home-entrance="first"] #iap2.iam-home-revision .ih-access {
    animation: he-panel var(--he-panel-time) var(--he-ease) var(--he-panel-delay) backwards;
  }
  html[data-home-entrance="first"] #iap2.iam-home-revision :is(.ip-hero-benefits,.ip-hero-scroll) {
    animation: he-copy 300ms var(--he-ease) 460ms backwards;
  }
  html[data-home-entrance="first"] #iap2.iam-home-revision .pm-platform-ribbon {
    animation: he-ribbon 300ms ease-out var(--he-ribbon-delay) backwards;
  }
  html[data-home-entrance="first"] #iap2.iam-home-revision .pm-ribbon-track {
    animation-delay: var(--he-ribbon-delay);
  }
  html[dir="rtl"][data-home-entrance="first"]:has(#iap2.iam-home-revision .ih-hero) { --he-panel-x: -14px; }
  @media (max-width: 800px) {
    html[data-home-entrance="first"]:has(#iap2.iam-home-revision .ih-hero) {
      --he-title-time: 380ms;
      --he-title-delay: 40ms;
      --he-panel-time: 300ms;
      --he-panel-delay: 240ms;
      --he-ribbon-delay: 580ms;
      --he-travel: 10px;
      --he-panel-x: 0px;
    }
  }
}
/* No scale, blur, decorative glow, layout properties or permanent will-change. */
@keyframes he-nav { from { opacity:.25; transform:translateY(-8px); } to { opacity:1; transform:none; } }
@keyframes he-title { from { opacity:.45; clip-path:inset(0 0 85% 0); transform:translateY(var(--he-travel)); } to { opacity:1; clip-path:inset(0 0 -8% 0); transform:none; } }
@keyframes he-copy { from { opacity:.2; transform:translateY(6px); } to { opacity:1; transform:none; } }
@keyframes he-panel { from { opacity:.45; transform:translate(var(--he-panel-x),6px); } to { opacity:1; transform:none; } }
@keyframes he-ribbon { from { opacity:.35; } to { opacity:1; } }
