.font-display {
    font-family: 'DM Serif Display', serif;
  }
  .font-sans {
    font-family: 'Inter', sans-serif;
  }

  /* Gradient underline (hover) effect */
  .accent-border {
    position: relative;
  }
  .accent-border::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #059669);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  .accent-border:hover::after {
    transform: scaleX(1);
  }

  /* Fade-in animation for elements */
  .animate-in {
    opacity: 0;
    animation: fadeIn 0.4s ease-out forwards;
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Stagger the fade-in delay on article items */
  article:nth-child(1) {
    animation-delay: 100ms;
  }
  article:nth-child(2) {
    animation-delay: 200ms;
  }
  article:nth-child(3) {
    animation-delay: 300ms;
  }
  article:nth-child(4) {
    animation-delay: 400ms;
  }
  article:nth-child(5) {
    animation-delay: 500ms;
  }
  article:nth-child(n+6) {
    animation-delay: 600ms;
  }

  /* Mobile nav transition */
  .mobile-menu {
    transition: max-height 0.3s ease;
  }