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

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

  /* Selection color */
  ::selection {
    background-color: rgba(201, 168, 76, 0.3);
    color: #faf8f4;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0a1210;
  }
  ::-webkit-scrollbar-thumb {
    background: #1d4628;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #c9a84c;
  }

  /* ===== NAVIGATION ===== */
  .nav-link {
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a84c;
    transition: width 0.3s ease;
  }
  .nav-link:hover::after {
    width: 100%;
  }

  /* Mobile nav links */
  .mobile-nav-link {
    position: relative;
  }

  /* ===== SCROLL REVEAL ===== */
  /* Default: visible (progressive enhancement) */
  .reveal-up,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  /* Animated states — applied by JS only */
  @media (prefers-reduced-motion: no-preference) {
    .reveal-up {
      opacity: 0;
      transform: translateY(32px);
    }
    .reveal-left {
      opacity: 0;
      transform: translateX(-32px);
    }
    .reveal-right {
      opacity: 0;
      transform: translateX(32px);
    }

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

  /* Stagger delays for grid children */
  .reveal-up:nth-child(1) { transition-delay: 0ms; }
  .reveal-up:nth-child(2) { transition-delay: 100ms; }
  .reveal-up:nth-child(3) { transition-delay: 200ms; }
  .reveal-up:nth-child(4) { transition-delay: 300ms; }

  /* ===== SCROLL LINE ANIMATION ===== */
  @keyframes scrollLine {
    0% {
      height: 0;
      opacity: 0;
    }
    50% {
      height: 48px;
      opacity: 1;
    }
    100% {
      height: 48px;
      opacity: 0;
    }
  }

  .animate-scroll-line {
    animation: scrollLine 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }

  /* ===== HEADER SCROLLED STATE ===== */
  #site-header.scrolled {
    background: rgba(10, 18, 16, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  }

  #site-header.scrolled .nav-link {
    color: rgba(250, 248, 244, 0.9);
  }

  /* ===== GOLD SHIMMER (subtle) ===== */
  @keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
  }

  /* ===== MOBILE MENU TRANSITIONS ===== */
  #mobile-menu.open {
    transform: translateX(0);
  }

  /* ===== CARD HOVER GLOW ===== */
  .group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
  }

  /* ===== FOCUS STYLES ===== */
  input:focus,
  textarea:focus,
  button:focus {
    outline: none;
  }

  /* ===== RESPONSIVE TWEAKS ===== */
  @media (max-width: 640px) {
    .font-serif {
      line-height: 1.1;
    }
  }

  /* ===== REDUCED MOTION ===== */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    html {
      scroll-behavior: auto;
    }
  }
