  /* ===== CUSTOM STYLES ===== */
  *, *::before, *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  body {
    margin: 0;
    overflow-x: hidden;
  }

  /* Nav */
  #nav {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  }

  #nav.scrolled {
    background: rgba(26, 10, 30, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(212, 160, 23, 0.1);
  }

  /* Mobile menu */
  #mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }

  /* Scroll reveal base — visible by default, JS adds animated state */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

  /* Gold shimmer accent line */
  .shimmer-line {
    background: linear-gradient(90deg, transparent, rgba(212, 160, 23, 0.6), transparent);
    height: 1px;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #1a0a1e;
  }
  ::-webkit-scrollbar-thumb {
    background: #581c87;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #7e22ce;
  }

  /* Selection */
  ::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #faf5ff;
  }

  /* Floating card animation */
  @media (prefers-reduced-motion: no-preference) {
    .float-1 {
      animation: float1 6s ease-in-out infinite;
    }
    .float-2 {
      animation: float2 7s ease-in-out infinite;
    }
    .float-3 {
      animation: float3 5.5s ease-in-out infinite;
    }
  }

  @keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
  }
  @keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
  }
  @keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }

  /* Nav height */
  #nav {
    height: 72px;
  }

  /* Smooth focus */
  a:focus-visible, button:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Image aspect ratios */
  .aspect-\[3\/4\] {
    aspect-ratio: 3/4;
  }
  .aspect-\[4\/5\] {
    aspect-ratio: 4/5;
  }
