@media (prefers-reduced-motion: no-preference) {
  [data-animation="fade-in"] + [data-section] {
    animation: ta-fade-in 0.8s ease-out 0.1s both;
  }
  @keyframes ta-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  [data-animation="slide-up"] + [data-section] {
    animation: ta-slide-up 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s backwards;
  }
  @keyframes ta-slide-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  [data-animation="slide-left"] + [data-section],
  [data-animation="slide-right"] + [data-section] {
    overflow-x: clip;
  }
  [data-animation="slide-left"] + [data-section] {
    animation: ta-slide-left 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s backwards;
  }
  @keyframes ta-slide-left {
    from { opacity: 0; transform: translateX(-32px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  [data-animation="slide-right"] + [data-section] {
    animation: ta-slide-right 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s backwards;
  }
  @keyframes ta-slide-right {
    from { opacity: 0; transform: translateX(32px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  [data-animation="stagger"] + [data-section] > * {
    animation: ta-fade-in 0.6s ease-out both;
  }
  [data-animation="stagger"] + [data-section] > *:nth-child(1)  { animation-delay: 0.05s; }
  [data-animation="stagger"] + [data-section] > *:nth-child(2)  { animation-delay: 0.13s; }
  [data-animation="stagger"] + [data-section] > *:nth-child(3)  { animation-delay: 0.21s; }
  [data-animation="stagger"] + [data-section] > *:nth-child(4)  { animation-delay: 0.29s; }
  [data-animation="stagger"] + [data-section] > *:nth-child(5)  { animation-delay: 0.37s; }
  [data-animation="stagger"] + [data-section] > *:nth-child(6)  { animation-delay: 0.45s; }
  [data-animation="stagger"] + [data-section] > *:nth-child(7)  { animation-delay: 0.53s; }
  [data-animation="stagger"] + [data-section] > *:nth-child(8)  { animation-delay: 0.61s; }
  [data-animation="stagger"] + [data-section] > *:nth-child(9)  { animation-delay: 0.69s; }
  [data-animation="stagger"] + [data-section] > *:nth-child(10) { animation-delay: 0.77s; }
  [data-animation="stagger"] + [data-section] > *:nth-child(11) { animation-delay: 0.85s; }
  [data-animation="stagger"] + [data-section] > *:nth-child(12) { animation-delay: 0.93s; }
  [data-animation="zoom-in"] + [data-section] {
    animation: ta-zoom-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s backwards;
  }
  @keyframes ta-zoom-in {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
  }
  [data-animation="spin"] + [data-section] {
    animation: ta-spin 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s backwards;
  }
  @keyframes ta-spin {
    from { opacity: 0; transform: rotate(-4deg) scale(0.94); }
    to   { opacity: 1; transform: rotate(0) scale(1); }
  }
  [data-animation="drift"] + [data-section] {
    animation: ta-drift 9s ease-in-out infinite alternate;
  }
  @keyframes ta-drift {
    from { transform: translateY(0); }
    to   { transform: translateY(-14px); }
  }
  .ta-io [data-animation="fade-in"] + [data-section]:not(.ta-in),
  .ta-io [data-animation="slide-up"] + [data-section]:not(.ta-in),
  .ta-io [data-animation="slide-left"] + [data-section]:not(.ta-in),
  .ta-io [data-animation="slide-right"] + [data-section]:not(.ta-in),
  .ta-io [data-animation="zoom-in"] + [data-section]:not(.ta-in),
  .ta-io [data-animation="spin"] + [data-section]:not(.ta-in),
  .ta-io [data-animation="stagger"] + [data-section]:not(.ta-in) > * {
    animation: none;
    opacity: 0;
  }
  .ta-io .ta-fine.ta-in {
    transition:
      opacity 0.7s ease-out,
      transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .ta-io .ta-fine:not(.ta-in) { opacity: 0; }
  .ta-io [data-site-motion="slide-up"] .ta-fine:not(.ta-in) { transform: translateY(18px); }
  .ta-io [data-site-motion="slide-left"] .ta-fine:not(.ta-in) { transform: translateX(-24px); }
  .ta-io [data-site-motion="slide-right"] .ta-fine:not(.ta-in) { transform: translateX(24px); }
  .ta-io [data-site-motion="zoom-in"] .ta-fine:not(.ta-in) { transform: scale(0.97); }
  [data-animation="ken-burns"] + [data-section] img {
    animation: ta-ken-burns 20s ease-in-out infinite alternate;
    transform-origin: center;
  }
  @keyframes ta-ken-burns {
    from { transform: scale(1) translate(0, 0); }
    to   { transform: scale(1.08) translate(-2%, -1%); }
  }
  [data-animation="parallax"] + [data-section][data-scroll="on"] img {
    will-change: transform;
    transform: translate3d(0, calc((var(--ta-scroll, 0.5) - 0.5) * -36px), 0) scale(1.07);
  }
  [data-animation="parallax"] + [data-section][data-scroll="on"] :is(h1, h2, h3) {
    will-change: transform;
    transform: translate3d(0, calc((var(--ta-scroll, 0.5) - 0.5) * 28px), 0);
  }
  [data-animation="glow"] + [data-section] {
    animation: ta-glow 3s ease-in-out infinite;
  }
  @keyframes ta-glow {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent, #c9a96e) 0%, transparent); }
    50%      { box-shadow: 0 0 32px 4px color-mix(in srgb, var(--accent, #c9a96e) 18%, transparent); }
  }
  [data-animation="ticker"] + [data-section="utility-bar"] .ub-notice__viewport {
    overflow: hidden;
    flex-wrap: nowrap;
    justify-content: flex-start;
    mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  }
  [data-animation="ticker"] + [data-section="utility-bar"] .ub-notice__track {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    animation: ta-ub-ticker 28s linear infinite;
  }
  [data-animation="ticker"] + [data-section="utility-bar"] .ub-notice__track--loop {
    display: flex;
  }
  [data-animation="ticker"] + [data-section="utility-bar"] .ub-notice:hover .ub-notice__track {
    animation-play-state: paused;
  }
  @keyframes ta-ub-ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
  }
}
