/* Base & utilities */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

/* Scroll reveal — progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Navbar scroll state */
#navbar.scrolled {
  background: rgba(255, 252, 248, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(161, 26, 54, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fffcf8;
}
::-webkit-scrollbar-thumb {
  background: #f4a3b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e04568;
}

/* Selection color */
::selection {
  background: #f9cfd9;
  color: #6c192e;
}
