  /* ========== CUSTOM STYLES ========== */

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

  /* Selection color */
  ::selection {
    background-color: rgba(123, 74, 140, 0.2);
    color: #33213c;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #f5f0f7;
  }
  ::-webkit-scrollbar-thumb {
    background: #d6bfdc;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #ba95c0;
  }

  /* ========== SCROLL REVEAL ========== */
  /* Default state: visible for progressive enhancement */
  .reveal-bottom,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal-bottom {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal-left {
      opacity: 0;
      transform: translateX(-32px);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal-right {
      opacity: 0;
      transform: translateX(32px);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .reveal-bottom.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
      opacity: 1;
      transform: none;
    }
  }

  /* ========== MOBILE MENU ========== */
  #mobile-toggle[aria-expanded="true"] .menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  #mobile-toggle[aria-expanded="true"] .menu-line:nth-child(2) {
    opacity: 0;
  }
  #mobile-toggle[aria-expanded="true"] .menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    width: 1.25rem;
  }

  /* ========== NAVBAR SHADOW ON SCROLL ========== */
  #site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(51, 33, 60, 0.08);
  }

  /* ========== BUTTON RIPPLE EFFECT ========== */
  a, button {
    -webkit-tap-highlight-color: transparent;
  }

  /* ========== FORM FOCUS RING ========== */
  input:focus,
  select:focus,
  textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 74, 140, 0.15);
  }

  /* ========== NAV ACTIVE STATE ========== */
  .nav-link.active {
    color: #7B4A8C;
    background: rgba(123, 74, 140, 0.08);
  }

  /* ========== MOBILE LINKS ========== */
  .mobile-link {
    display: block;
  }
