@media (prefers-reduced-motion: no-preference) {
  [data-home] .band {
    position: relative;
    overflow: clip;
  }
  [data-home] .band::after {
    content: "";
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 1.3rem !important;
    background: var(--color-print);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 7c5 0 5-4 10-4s5 4 10 4 5-4 10-4 5 4 10 4v5H0z'/%3E%3C/svg%3E") 0 100% / 3rem 1rem repeat-x;
    opacity: 0.6;
    pointer-events: none !important;
    z-index: -1 !important;
    animation: harbour-tide 2.2s cubic-bezier(0.25, 0.6, 0.3, 1) 0.2s both;
  }
  [data-home] .seal {
    transform-origin: 50% 100%;
    animation: harbour-moor 1.8s cubic-bezier(0.3, 0.6, 0.35, 1) 0.5s both;
  }
  @supports (animation-timeline: view()) {
    .shelf .label {
      transform-origin: 50% 100%;
      animation: harbour-bob linear both;
      animation-timeline: view();
      animation-range: entry 0% entry min(100%, 8rem);
    }
  }
  @keyframes harbour-tide {
    0% {
      opacity: 0;
      translate: 0 100%;
      mask-position: -6rem 100%;
    }
    35% {
      opacity: 0.7;
    }
    100% {
      opacity: 0.6;
      translate: 0 0;
      mask-position: 0 100%;
    }
  }
  @keyframes harbour-moor {
    0% {
      opacity: 0;
      translate: 0 1.1rem;
      rotate: -2deg;
    }
    30% {
      opacity: 1;
      translate: 0 -0.3rem;
      rotate: 1.2deg;
    }
    58% {
      translate: 0 0.12rem;
      rotate: -0.5deg;
    }
    80% {
      translate: 0 -0.04rem;
      rotate: 0.15deg;
    }
  }
  @keyframes harbour-bob {
    0% {
      opacity: 0;
      translate: 0 0.6rem;
      rotate: -2deg;
    }
  }
}
/* Dear Website: the footer note and the skip link stay still and on top of the motion above. */
footer, footer *, footer::before, footer::after, footer *::before, footer *::after, .skip-link, a.skip { animation: none !important; }
:has(a[href="https://dear.website"]) { animation: none !important; }
footer { position: relative !important; z-index: 2 !important; }
footer :has(> a[href="https://dear.website"]) { position: relative !important; z-index: 2 !important; }
footer :has(> a[href="https://dear.website"])::before, footer :has(> a[href="https://dear.website"])::after, footer :has(> a[href="https://dear.website"]) *::before, footer :has(> a[href="https://dear.website"]) *::after { display: none !important; }
.skip-link::before, .skip-link::after, a.skip::before, a.skip::after { display: none !important; }
.skip-link:focus, a.skip:focus { z-index: 2147483647 !important; }
html, body { overflow-x: clip !important; }
