  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

  /* NAV SHADOW ON SCROLL */
  header.scrolled {
    background: rgba(253, 251, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(107, 58, 107, 0.08);
  }

  /* HERO IMAGE PULSE GLOW */
  @keyframes soft-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.03); }
  }
  .hero-glow { animation: soft-glow 4s ease-in-out infinite; }

  /* SCROLL REVEAL */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal.delay-1 { transition-delay: 0.1s; }
  .reveal.delay-2 { transition-delay: 0.2s; }
  .reveal.delay-3 { transition-delay: 0.3s; }
  .reveal.delay-4 { transition-delay: 0.4s; }

  /* MOBILE MENU ANIMATION */
  #mobileMenu.open { display: flex; }
  #mobileMenu .absolute.right-0 {
    animation: slideIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  @keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }

  /* SERVICE CARD HOVER */
  .group:hover .group-hover\:bg-amber-200 { background-color: #ffe066; }

  /* CUSTOM SELECTION */
  ::selection { background: rgba(245, 197, 24, 0.3); color: #271327; }

  /* FOCUS VISIBLE */
  :focus-visible { outline: 2px solid #F5C518; outline-offset: 2px; border-radius: 4px; }

  /* SUBTLE GRAIN OVERLAY */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.018;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    z-index: 9999;
  }
