  /* Base & Typography */
  html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  body {
    overflow-x: hidden;
  }

  ::selection {
    background: rgba(123, 36, 50, 0.15);
    color: #7B2432;
  }

  /* Scroll Reveal Animations */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal[data-reveal="delay-1"] { transition-delay: 0.1s; }
  .reveal[data-reveal="delay-2"] { transition-delay: 0.2s; }
  .reveal[data-reveal="delay-3"] { transition-delay: 0.3s; }
  .reveal[data-reveal="delay-4"] { transition-delay: 0.4s; }

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

  /* Navbar transition */
  #navbar.scrolled {
    background: rgba(58, 15, 22, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
  }

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

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #FDF8F4;
  }
  ::-webkit-scrollbar-thumb {
    background: #D4CFC4;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #7B2432;
  }

  /* Mobile menu transition */
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    opacity: 0;
  }
  #mobile-menu.open {
    max-height: 400px;
    opacity: 1;
  }

  /* Button focus states */
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #7B2432;
    outline-offset: 2px;
    border-radius: inherit;
  }

  /* Hero gradient animation */
  @media (prefers-reduced-motion: no-preference) {
    #top {
      animation: heroFadeIn 1s ease-out both;
    }
  }
  @keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Service card image hover */
  .group:hover .group-hover\\:rotate-6 {
    transform: rotate(6deg);
  }

  /* Print styles */
  @media print {
    header, #contact-form, .reveal { display: none; }
    body { color: #000; background: #fff; }
  }
