  /* Custom styles — overrides and enhancements beyond Tailwind */

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

  /* Hero text entrance */
  .hero-subtitle {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
  }
  .hero-title {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.5s;
  }
  .hero-desc {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.7s;
  }
  .hero-ctas {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.9s;
  }
  .hero-scroll {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 1.3s;
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* Mobile menu transitions */
  #mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
  }
  #mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
  }

  /* Subtle parallax on hero (desktop only) */
  @media (prefers-reduced-motion: no-preference) {
    @supports (background-attachment: fixed) {
      #hero {
        background-attachment: fixed;
      }
    }
  }

  /* Image hover */
  .reveal img {
    will-change: transform;
  }

  /* Selection color */
  ::selection {
    background: #065f46;
    color: #faf9f6;
  }

  /* Focus visible for accessibility */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
    border-radius: 4px;
  }
