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

  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }

  body {
    overflow-x: hidden;
  }

  /* Selection */
  ::selection {
    background-color: #d4a84b;
    color: #0a1628;
  }

  /* Navbar */
  #navbar {
    background: transparent;
  }

  #navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(16, 42, 67, 0.08);
  }

  #navbar.scrolled .text-navy-900 {
    color: #102a43;
  }

  /* Floating Cards */
  @media (prefers-reduced-motion: no-preference) {
    .floating-card-1 {
      animation: float-slow 6s ease-in-out infinite;
    }
    .floating-card-2 {
      animation: float-medium 5s ease-in-out infinite 0.5s;
    }
    .floating-card-3 {
      animation: float-slow 7s ease-in-out infinite 1s;
    }
    .floating-card-4 {
      animation: float-medium 5.5s ease-in-out infinite 0.3s;
    }
  }

  @keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }

  @keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
  }

  /* Scroll Reveal */
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger children */
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }

  /* Mobile hamburger */
  .hamburger-line {
    transition: all 0.3s ease;
  }

  #mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  #mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  #mobile-toggle.active .hamburger-line:nth-child(3) {
    width: 1.5rem;
    transform: rotate(-45deg) translate(4px, -4px);
  }

  /* Smooth scroll offset for fixed nav */
  section[id] {
    scroll-margin-top: 80px;
  }

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

  /* Focus visible */
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #d4a84b;
    outline-offset: 2px;
    border-radius: 0.5rem;
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    html {
      scroll-behavior: auto;
    }
  }
