  /* Smooth scroll */
  html {
    scroll-behavior: smooth;
  }

  /* Selection color */
  ::selection {
    background-color: rgba(123, 30, 48, 0.2);
    color: #7B1E30;
  }

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

  /* Scroll reveal animations — progressive enhancement, works without JS */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

  /* Navbar glass effect */
  #navbar.scrolled {
    background: rgba(255, 251, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(123, 30, 48, 0.08);
  }

  /* Mobile menu animation */
  #mobile-menu {
    animation: slideDown 0.2s ease-out;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #FFFBF5;
  }
  ::-webkit-scrollbar-thumb {
    background: #F5B8C4;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #D45D7A;
  }
