  /* ─── Base & Utilities ─── */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body { margin: 0; -webkit-font-smoothing: antialiased; }

  /* ─── Floating Cards Animation ─── */
  .floating-card {
    animation: float 6s ease-in-out infinite;
  }
  .card-1 { animation-delay: 0s; }
  .card-2 { animation-delay: -2s; }
  .card-3 { animation-delay: -4s; }

  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }

  /* ─── Menu Card Hover ─── */
  .menu-card {
    will-change: transform;
  }

  /* ─── Scroll Reveal ─── */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 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; }

  /* ─── Navbar Scroll State ─── */
  #navbar.scrolled {
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(77, 128, 77, 0.08), 0 4px 20px rgba(77, 128, 77, 0.06);
  }

  /* ─── Mobile Menu ─── */
  #mobile-menu.open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  #mobile-menu.open .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  #mobile-menu.open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.25rem;
  }

  .mobile-link {
    position: relative;
  }
  .mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #4d804d;
    transition: width 0.3s ease;
  }
  .mobile-link:hover::after {
    width: 100%;
  }

  /* ─── Decorative Pattern ─── */
  .pattern-dots {
    background-image: radial-gradient(circle, rgba(77,128,77,0.1) 1px, transparent 1px);
    background-size: 24px 24px;
  }

  /* ─── Selection ─── */
  ::selection {
    background: #c6dbc6;
    color: #2d4a2d;
  }

  /* ─── Smooth image loading ─── */
  img {
    opacity: 1;
    transition: opacity 0.3s ease;
  }
  img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  img[loading="lazy"].loaded {
    opacity: 1;
  }
