/* Custom styles — supplement Tailwind and inline styles */
/* Scroll-reveal progressive enhancement: content is visible by default, JS adds animation */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 72px;
}

/* Selection color */
::selection {
  background: rgba(139, 26, 43, 0.15);
  color: #581019;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #FAF6F3;
}

::-webkit-scrollbar-thumb {
  background: rgba(139, 26, 43, 0.25);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 26, 43, 0.45);
}
