/* One-time entrance motion. No layout shifts or animation dependency for content. */
@media (prefers-reduced-motion: no-preference) {
  [data-scroll-reveal="pending"] { opacity: 0; }
  [data-scroll-reveal="shown"] {
    animation: hugge-section-reveal 720ms cubic-bezier(.18,.72,.25,1) backwards;
    animation-delay: var(--reveal-delay, 0ms);
  }
  [data-scroll-reveal="pending"]:focus-within { opacity: 1; }
  @keyframes hugge-section-reveal {
    from { opacity: 0; translate: 0 28px; }
    to { opacity: 1; translate: 0 0; }
  }
  @media(max-width: 600px) {
    [data-scroll-reveal="shown"] { animation-duration: 540ms; }
    @keyframes hugge-section-reveal {
      from { opacity: 0; translate: 0 16px; }
      to { opacity: 1; translate: 0 0; }
    }
  }
  /* A small directional cue, independent of the existing card lift. */
  body :is(.hp-journal-arrow,.editorial-card-arrow,.c-modern-topic-arrow) svg {
    transition: transform 220ms cubic-bezier(.2,.65,.3,1);
  }
  @media(hover:hover) {
    body :is(.hp-journal-link,.editorial-card-link,.c-modern-topic-link):hover :is(.hp-journal-arrow,.editorial-card-arrow,.c-modern-topic-arrow) svg {
      transform: translateX(3px);
    }
  }
  body :is(.hp-journal-link,.editorial-card-link,.c-modern-topic-link):focus-visible :is(.hp-journal-arrow,.editorial-card-arrow,.c-modern-topic-arrow) svg {
    transform: translateX(3px);
  }
}
@media (prefers-reduced-motion: reduce), print {
  [data-scroll-reveal] { opacity: 1 !important; animation: none !important; translate: none !important; }
}
