  /* Custom styles — extends Tailwind */

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

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

  /* Scroll reveal base — always visible (progressive enhancement) */
  .reveal {
    opacity: 1;
    transform: none;
    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);
    }
  }

  /* Stagger children */
  .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; }

  /* Gold shimmer on hover for cards */
  .gold-shimmer::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(251, 191, 36, 0.05) 50%, transparent 60%);
    transition: opacity 0.5s ease;
    pointer-events: none;
  }

  /* Navbar glass effect */
  nav.glass {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  }

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

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

  ::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #334155;
  }

  /* Selection color */
  ::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #f0fdfa;
  }

  /* Focus styles */
  a:focus-visible, button:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Mobile menu animation */
  #mobileMenu {
    animation: slideDown 0.3s ease;
  }

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

  /* Subtle pulse for the gold accent */
  @keyframes goldPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
  }

  .gold-pulse {
    animation: goldPulse 3s ease-in-out infinite;
  }

  /* Image hover zoom */
  .img-zoom {
    transition: transform 0.6s ease;
  }

  .img-zoom:hover {
    transform: scale(1.03);
  }
