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

  body {
    overflow-x: hidden;
  }

  /* Scroll reveal animations — progressive enhancement, only when JS runs and user prefers motion */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 1;
      transform: none;
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

  /* Scrollbar styling */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #0f172a;
  }

  ::-webkit-scrollbar-thumb {
    background: #14b8a6;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
  }

  /* Selection color */
  ::selection {
    background: rgba(13, 148, 136, 0.3);
    color: #f1f5f9;
  }
