/* Custom styles that extend Tailwind */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle fade-in for below-fold sections (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced motion: show everything immediately */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Smooth image loading */
img {
  background-color: rgb(252 236 243); /* plum-50 placeholder */
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgb(252 236 243);
}
::-webkit-scrollbar-thumb {
  background: rgb(200 150 175);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgb(167 68 110);
}
