  /* Base & Utilities */
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

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

  /* Reveal Animations */
  .reveal-up,
  .reveal-left,
  .reveal-right {
    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);
  }

  .reveal-left {
    transform: translateX(-30px);
  }

  .reveal-right {
    transform: translateX(30px);
  }

  .reveal-up.visible,
  .reveal-left.visible,
  .reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
  }

  /* Header scroll state */
  #site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 4px 20px rgba(0, 0, 0, 0.04);
  }

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

  #mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
  }

  /* Hamburger animation */
  .menu-line.active:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .menu-line.active:nth-child(2) {
    opacity: 0;
  }
  .menu-line.active:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    width: 5px;
  }

  /* Mobile link animation */
  .mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
  }

  #mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger mobile links */
  #mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
  #mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
  #mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
  #mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
  #mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

  /* Hero image reveal */
  .reveal-right {
    animation: revealRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.2s;
  }

  @keyframes revealRight {
    from {
      opacity: 0;
      transform: translateX(40px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .reveal-up {
    animation: revealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

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

  /* Stagger hero elements */
  .reveal-up[style*="100ms"],
  .reveal-up:nth-child(2) { animation-delay: 0.1s; }
  .reveal-up[style*="200ms"],
  .reveal-up:nth-child(3) { animation-delay: 0.2s; }
  .reveal-up[style*="300ms"],
  .reveal-up:nth-child(4) { animation-delay: 0.3s; }
  .reveal-up[style*="400ms"],
  .reveal-up:nth-child(5) { animation-delay: 0.4s; }

  /* Subtle float animation for decorative elements */
  @keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
  }

  .float-slow {
    animation: float 6s ease-in-out infinite;
  }

  .float-medium {
    animation: float 4s ease-in-out infinite;
    animation-delay: 1s;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #f8fafc;
  }
  ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
  }

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

  /* Selection color */
  ::selection {
    background: #99f6e4;
    color: #134e4a;
  }
