/* ============================================================
   HEARTH — MOTION
   Premium, smooth, restrained. Soft fades + gentle slide-ups.
   ============================================================ */

:root {
  /* Easing */
  --ease-out:    cubic-bezier(0.22, 0.68, 0.32, 1); /* @kind other */   /* default reveal */
  --ease-in-out: cubic-bezier(0.45, 0, 0.2, 1); /* @kind other */
  --ease-soft:   cubic-bezier(0.33, 0.1, 0.25, 1); /* @kind other */     /* hover lifts */

  /* Durations */
  --dur-instant: 80ms;  /* @kind other */
  --dur-fast:    150ms; /* @kind other */
  --dur-base:    240ms; /* @kind other */
  --dur-slow:    400ms; /* @kind other */
  --dur-slower:  640ms; /* @kind other */

  /* Hover lift */
  --lift: translateY(-2px); /* @kind other */
  --lift-lg: translateY(-4px); /* @kind other */
}

/* Reveal keyframes — use with [data-reveal] + JS, or as helpers */
@keyframes hearth-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hearth-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes hearth-glow {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 0.85; }
}

.reveal-up {
  animation: hearth-fade-up var(--dur-slow) var(--ease-out) both;
}
.reveal {
  animation: hearth-fade var(--dur-slow) var(--ease-out) both;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal { animation: none; }
}
