/* Editorial section headings only. The mask stays put as the title rises through it. */
@media screen and (prefers-reduced-motion: no-preference) {
  [data-hags-reveal-state="pending"] { opacity: 0; }
  [data-hags-reveal-state="entering"] {
    --hags-title-travel: clamp(34px, 4vw, 54px);
    animation: hags-heading-in 960ms cubic-bezier(.22,.72,.22,1) both;
  }
  @keyframes hags-heading-in {
    from {
      opacity: 0;
      translate: 0 var(--hags-title-travel);
      clip-path: inset(-12px -12px calc(var(--hags-title-travel) - 10px));
    }
    48% { opacity: 1; }
    to {
      opacity: 1;
      translate: 0 0;
      clip-path: inset(-12px -12px -10px);
    }
  }
}
