  *, *::before, *::after {
    box-sizing: border-box;
  }

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

  body {
    overflow-x: hidden;
  }

  ::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #fdfcf8;
  }

  /* Scroll reveal base — content is visible by default */
  .reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

  /* Mobile menu animations */
  .menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  #menuBtn.active .menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  #menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
  }

  #menuBtn.active .menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Navbar glass effect */
  nav.scrolled {
    background: rgba(4, 7, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
  }

  /* Gold shimmer on hover for cards */
  .service-card {
    position: relative;
    overflow: hidden;
  }

  .service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.03), transparent);
    transition: left 0.6s ease;
  }

  .service-card:hover::after {
    left: 100%;
  }

  /* Input focus glow */
  input:focus, textarea:focus {
    box-shadow: 0 0 0 4px rgba(212, 168, 67, 0.08);
  }

  /* Subtle grain texture overlay */
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.02;
    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");
  }
