/* Motion-only enhancement. The page content and layout remain unchanged. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-text-in 780ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-copy > *:nth-child(1) {
  animation-delay: 80ms;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 180ms;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 300ms;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 420ms;
}

.site-header {
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.nav-links a,
.hero-actions a,
.menu-toggle {
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .hero-actions a:hover,
  .hero-actions a:focus-visible,
  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    transform: translateY(-1px);
  }

  .ingredient-card,
  .craft-process-step,
  .product-row,
  .visit-card,
  .accessibility-card {
    transition:
      transform 260ms ease,
      box-shadow 260ms ease,
      border-color 260ms ease;
  }

  .ingredient-card:hover,
  .craft-process-step:hover,
  .product-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 52px rgba(24, 36, 59, 0.11);
  }

  .ingredient-card img,
  .craft-process-step img,
  .product-row img {
    transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .ingredient-card:hover img,
  .craft-process-step:hover img,
  .product-row:hover img {
    transform: scale(1.035);
  }
}

@keyframes hero-text-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal,
  .hero-copy > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition-delay: 0ms !important;
  }
}

@media (max-width: 760px) {
}
