  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

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

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

  ::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #fff;
  }

  /* Scroll reveal — progressive enhancement, hidden by default via JS only */
  @media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .scroll-reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
    .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
    .scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
    .scroll-reveal:nth-child(4) { transition-delay: 0.3s; }
    .scroll-reveal:nth-child(5) { transition-delay: 0.4s; }
    .scroll-reveal:nth-child(6) { transition-delay: 0.5s; }
  }

  /* Hero animations — only for below-fold content fallback */
  @media (prefers-reduced-motion: no-preference) {
    .hero-underline {
      animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-delay: 0.3s;
    }
    #hero h1 {
      animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-delay: 0.5s;
    }
    #hero p {
      animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-delay: 0.7s;
    }
    #hero a, #hero .flex-wrap > * {
      animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-delay: 0.9s;
    }
    .hero-stats {
      animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-delay: 1.1s;
    }
  }

  @keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
  }

  @keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

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

  /* Custom select arrow */
  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
  }

  /* Navbar scroll state */
  #navbar.scrolled #nav-overlay {
    opacity: 1;
    background: rgba(4, 10, 18, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  #navbar.scrolled .font-display,
  #navbar.scrolled span {
    color: #fff;
  }

  /* Gold gradient text utility */
  .text-gold-gradient {
    background: linear-gradient(135deg, #d4a843 0%, #c9a84c 50%, #b8943f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

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

  /* Scrollbar styling */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #040a12;
  }
  ::-webkit-scrollbar-thumb {
    background: #1e3a5f;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #c9a84c;
  }
