  /* Base */
  *, *::before, *::after {
    box-sizing: border-box;
  }

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

  body {
    overflow-x: hidden;
  }

  /* Scroll reveal (progressive enhancement) */
  @media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .scroll-reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Fallback: always visible if JS disabled or reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
      opacity: 1;
      transform: none;
    }
  }

  /* Gold shimmer on hover for CTA buttons */
  .gold-shimmer {
    position: relative;
    overflow: hidden;
  }
  .gold-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
      to bottom right,
      transparent 40%,
      rgba(212, 165, 116, 0.08) 50%,
      transparent 60%
    );
    transform: rotate(30deg);
    transition: transform 0.6s;
  }
  .gold-shimmer:hover::after {
    transform: rotate(30deg) translate(20%, 20%);
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0a0f1a;
  }
  ::-webkit-scrollbar-thumb {
    background: #1e3a2f;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #047857;
  }

  /* Selection color */
  ::selection {
    background: rgba(4, 120, 87, 0.4);
    color: #faf8f5;
  }

  /* Focus styles */
  :focus-visible {
    outline: 2px solid #d4a574;
    outline-offset: 2px;
  }

  /* Input autofill styling */
  input:-webkit-autofill,
  textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0a0f1a inset !important;
    -webkit-text-fill-color: #faf8f5 !important;
  }

  /* Map dark theme override */
  .gm-style-iw-d {
    max-width: none;
  }
