  /* Base */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; }

  /* Reveal animations — progressive enhancement via JS */
  .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(30px);
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Navbar scroll state */
  #navbar.scrolled #nav-logo {
    color: #0d1823;
  }
  #navbar.scrolled nav a:not(.bg-gold-500):not(#nav-logo) {
    color: #1a2b46;
  }
  #navbar.scrolled nav a:not(.bg-gold-500):not(#nav-logo):hover {
    color: #d4a017;
  }
  #navbar.scrolled #menu-toggle {
    color: #0d1823;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #0d1823; }
  ::-webkit-scrollbar-thumb { background: #d4a017; border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: #eabc41; }

  /* Focus styles */
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
  }
</style>
