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

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

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

  /* ========== NAV SCROLL STATE ========== */
  .nav-scrolled {
    border-bottom: 1px solid rgba(10, 31, 63, 0.06);
  }

  /* ========== FLOATING CARDS ========== */
  .floating-card-1 {
    animation: floatA 4s ease-in-out infinite;
  }
  .floating-card-2 {
    animation: floatB 5s ease-in-out infinite;
  }
  .floating-card-3 {
    animation: floatC 4.5s ease-in-out infinite;
  }

  @keyframes floatA {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }
  @keyframes floatB {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
  }
  @keyframes floatC {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
  }

  /* ========== SCROLL REVEAL ========== */
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

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

  /* ========== MOBILE MENU ========== */
  #mobileMenu.show {
    display: block;
    animation: slideDown 0.25s ease-out;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .mobile-link {
    display: block;
    transition: background-color 0.15s ease;
  }

  /* ========== BUTTON FOCUS ========== */
  a:focus-visible, button:focus-visible {
    outline: 2px solid #d4a03c;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* ========== SELECTION ========== */
  ::selection {
    background: rgba(212, 160, 60, 0.2);
    color: #0a1f3f;
  }

  /* ========== RESPONSIVE ADJUSTMENTS ========== */
  @media (max-width: 640px) {
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
      display: none;
    }
  }
