/* Custom styles — overrides & additions beyond Tailwind */

html {
  scroll-behavior: smooth;
}

/* Reveal animation — progressive enhancement, hidden by default via JS */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal.is-hidden {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf5ff;
}
::-webkit-scrollbar-thumb {
  background: #d8b4fe;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a855f7;
}

/* Focus visible styles */
*:focus-visible {
  outline: 2px solid #a855f7;
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background: #e9d5ff;
  color: #581c87;
}
