/* Use revealOnScroll() on editorial headings, copy and photographs. */
@media (min-width:761px) and (prefers-reduced-motion:no-preference) {
  dialog[data-atlas-dialog][open] { animation: atlas-dialog-enter 440ms cubic-bezier(.25,.6,.25,1); }
  dialog[data-atlas-dialog][open]::backdrop { animation: atlas-dialog-shade 360ms ease-out; }
  [data-atlas-intro="heading"] { animation: atlas-intro-heading 1100ms cubic-bezier(.25,.6,.25,1); }
  [data-atlas-intro="copy"] { animation: atlas-intro-copy 900ms cubic-bezier(.25,.6,.25,1); }
}
@keyframes atlas-dialog-enter {
  from { opacity:0; translate:0 16px; }
  to { opacity:1; translate:0 0; }
}
@keyframes atlas-dialog-shade {
  from { opacity:0; }
  to { opacity:1; }
}
@keyframes atlas-intro-heading {
  from { opacity:0; translate:0 24px; clip-path:inset(100% 0 0); }
  to { opacity:1; translate:0 0; clip-path:inset(0); }
}
@keyframes atlas-intro-copy {
  from { opacity:.005; translate:0 24px; }
  to { opacity:1; translate:0 0; }
}

@media (prefers-reduced-motion:no-preference) {
  [data-deco-reveal="pending"] { opacity:.005; }
}
.deco-word,
.deco-word-inner {
  display: inline-block !important; position: relative !important; inset: auto !important;
  color: inherit !important; font: inherit !important; letter-spacing: inherit !important;
  vertical-align: top; text-transform: inherit; border: 0 !important; background: none !important;
}
.deco-word { overflow: hidden; padding: .12em .02em !important; margin: -.12em -.02em !important; }
.deco-word-inner { padding: 0 !important; margin: 0 !important; }
:is(.deco-word,.deco-word-inner)::before,
:is(.deco-word,.deco-word-inner)::after { content: none !important; }


[data-atlas-photo] { overflow:hidden; }
@media (min-width:761px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  [data-atlas-photo] > img { transition:scale 700ms cubic-bezier(.25,.6,.25,1); }
  [data-atlas-photo]:is(:hover,:focus-within) > img { scale:1.035; }
}
@media (min-width:761px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  [data-atlas-parallax] { scale:1.025; translate:var(--atlas-photo-x,0px) var(--atlas-photo-y,0px); }
}
