  /* Base */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

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

  img {
    display: block;
    max-width: 100%;
  }

  /* Scroll reveal — progressive enhancement, only active when JS loads and motion is preferred */
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
    }

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

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

  /* Selection */
  ::selection {
    background-color: #C0603A;
    color: #FDF0E7;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #FDF0E7;
  }
  ::-webkit-scrollbar-thumb {
    background: #C0603A;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #A34E2E;
  }
