.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: transform, opacity;
}
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal[data-animate="fade-left"] { transform: translate3d(-24px, 0, 0); }
.reveal[data-animate="fade-right"] { transform: translate3d(24px, 0, 0); }
.reveal[data-animate="zoom-in"] { transform: scale(0.96); }
.reveal[data-animate="fade-left"].is-visible,
.reveal[data-animate="fade-right"].is-visible,
.reveal[data-animate="zoom-in"].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.preloader {
  position: fixed;
  inset: 0;
  background: #1a120e;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  transition: opacity 450ms ease, visibility 450ms ease;
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.paw-track {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  justify-content: center;
}
.paw-print {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  position: relative;
  animation: pawWalk 1.2s ease-in-out infinite;
}
.paw-print::before,
.paw-print::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  width: 8px;
  height: 8px;
  top: 2px;
}
.paw-print::before { left: -4px; }
.paw-print::after { right: -4px; }
.paw-print:nth-child(2) { animation-delay: 0.15s; }
.paw-print:nth-child(3) { animation-delay: 0.3s; }
.paw-print:nth-child(4) { animation-delay: 0.45s; }
@keyframes pawWalk {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.55; }
  50% { transform: translateY(-8px) scale(1.18); opacity: 1; }
}

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}
.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(30,23,18,0.66), rgba(43,29,20,0.28));
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: kenburns 12s ease-in-out alternate infinite;
}
@keyframes kenburns {
  0% { transform: scale(1.08); }
  100% { transform: scale(1.18); }
}

.word-reveal span {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  animation: wordReveal 0.6s ease forwards;
}
.word-reveal span:nth-child(2n) { animation-delay: 0.1s; }
.word-reveal span:nth-child(3n) { animation-delay: 0.2s; }
@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.8;
  z-index: 2;
}
.hero-scroll .mouse {
  width: 20px;
  height: 34px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 10px;
  position: relative;
}
.hero-scroll .mouse::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.8);
  border-radius: 999px;
  animation: scrollDown 1.6s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translate(-50%, 0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate(-50%, 8px); opacity: 0; }
}

.parallax-layer {
  position: relative;
  overflow: hidden;
}
.parallax-layer::before {
  content: "";
  position: absolute;
  inset: -20% 0 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0));
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.counter {
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 3rem);
  font-weight: 800;
  color: var(--color-dark);
  font-family: var(--font-display);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
