  /* Custom styles and overrides */
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Scroll indicator animation */
  @keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
  }
  
  .animate-scroll-line {
    animation: scrollLine 1.5s ease-in-out infinite;
  }
  
  /* Scroll reveal base — content is VISIBLE by default */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  /* Only apply hidden state when JS adds the class */
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Nav transition */
  #navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(6, 95, 70, 0.08);
  }
  
  #navbar.scrolled .nav-text {
    color: #064e3b;
  }
  
  /* Mobile menu animation */
  #mobile-menu {
    animation: slideDown 0.3s ease-out;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Image hover transitions */
  .reveal img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    .reveal {
      transition: none;
    }
    .reveal img {
      transition: none;
    }
    .animate-scroll-line {
      animation: none;
    }
    #mobile-menu {
      animation: none;
    }
  }
  
  /* Selection color */
  ::selection {
    background: #065f46;
    color: #fefdf8;
  }
  
  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: #fdf9ee;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #a7f3d0;
    border-radius: 4px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #6ee7b7;
  }
  
  /* Focus styles */
  a:focus-visible, button:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
    border-radius: 4px;
  }
