.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.card, .btn { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s; }
.card:hover { transform: translateY(-3px); }
.btn-primary.cta-pulse {
  animation: terracotta-pulse 2.8s ease-in-out infinite;
}
@keyframes terracotta-pulse {
  0%, 100% { box-shadow: 0 8px 24px color-mix(in srgb, var(--terracotta) 30%, transparent); }
  50% { box-shadow: 0 10px 32px color-mix(in srgb, var(--terracotta) 55%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-primary.cta-pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* Motion 2 — soft sticky book bar */
.book-sticky {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: min(520px, calc(100% - 1.5rem));
  padding: 0.65rem 0.75rem 0.65rem 1rem;
  background: color-mix(in srgb, var(--cream) 94%, white);
  border: 1px solid color-mix(in srgb, var(--terracotta) 35%, transparent);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 32px var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.book-sticky.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.book-sticky.is-dismissed { display: none; }
.book-sticky-copy { display: grid; gap: 0.1rem; min-width: 0; }
.book-sticky-copy strong {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--ink);
}
.book-sticky-copy span {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.3;
}
.book-sticky .btn {
  flex-shrink: 0;
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
  white-space: nowrap;
}
.book-sticky-dismiss {
  flex-shrink: 0;
  width: 2rem; height: 2rem;
  border: 0; border-radius: 999px;
  background: transparent;
  color: var(--ink-muted);
  font-size: 1.2rem; line-height: 1;
  cursor: pointer;
}
.book-sticky-dismiss:hover { color: var(--ink); background: var(--cream-deep); }
@media (max-width: 540px) {
  .book-sticky {
    flex-wrap: wrap;
    border-radius: var(--radius);
    bottom: 0.75rem;
  }
  .book-sticky-copy { flex: 1 1 calc(100% - 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  .book-sticky { transition: opacity 0.2s linear; }
}
