  :root {
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
  }

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

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

  body {
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Scroll-reveal base — progressive enhancement via JS */
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
    }
    .reveal.revealed,
    .reveal.revealed-delay {
      opacity: 1;
      transform: none;
    }
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(11, 25, 10, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
  }

  /* Service card hover */
  .service-card {
    will-change: transform;
  }

  /* Gallery hover */
  .gallery-item img {
    will-change: transform;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #f5f3ee;
  }
  ::-webkit-scrollbar-thumb {
    background: #8cb884;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #5f9556;
  }

  /* Selection color */
  ::selection {
    background: #2c5a28;
    color: #faf9f6;
  }

  /* Focus visible */
  :focus-visible {
    outline: 2px solid #3d7438;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Mobile menu animation */
  #mobile-menu {
    animation: slideDown 0.3s ease forwards;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Form input autofill */
  input:-webkit-autofill,
  textarea:-webkit-autofill,
  select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #f5f3ee inset !important;
    -webkit-text-fill-color: #112510 !important;
  }
