footer > div:last-child {
  clip-path: none !important;
  border-radius: 18px !important;
  overflow: visible !important;
  position: relative !important;
  isolation: isolate !important;
  border: 1px solid hsl(var(--primary) / 0.22) !important;
  background: linear-gradient(135deg, hsl(var(--background) / 0.92), hsl(var(--secondary) / 0.52)) !important;
  box-shadow: 0 0 0 1px hsl(var(--accent-cyan) / 0.08), 0 0 22px -10px hsl(var(--accent-cyan) / 0.7), 0 0 42px -28px hsl(var(--primary) / 0.85) !important;
  animation: none !important;
}

footer > div:last-child::before {
  content: "" !important;
  position: absolute !important;
  inset: -2px !important;
  z-index: -1 !important;
  border-radius: inherit !important;
  background: transparent !important;
  box-shadow: 0 0 18px hsl(var(--primary) / 0.22), 0 0 34px hsl(var(--accent-cyan) / 0.12) !important;
  pointer-events: none !important;
  animation: none !important;
  transform: none !important;
}

footer > div:last-child::after {
  z-index: 1 !important;
}

footer > div:last-child > * {
  position: relative !important;
  z-index: 1 !important;
}

/* Dental business card icon: outline-only tooth mark */
#work .mt-14.grid > *:last-child .grid.h-12.w-12 svg {
  display: none !important;
}

#work .mt-14.grid > *:last-child .grid.h-12.w-12::before {
  content: "";
  width: 23px;
  height: 23px;
  display: block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3.15c1.25 0 1.95-.65 3.25-.65 2.75 0 4.5 2.08 4.5 5.08 0 2.15-.86 4.02-1.74 5.7-.72 1.38-1.05 2.8-1.35 4.32-.42 2.14-1.16 3.72-2.32 3.72-.88 0-1.1-1.02-1.42-2.62-.24-1.22-.45-2.32-.92-2.32s-.68 1.1-.92 2.32c-.32 1.6-.54 2.62-1.42 2.62-1.16 0-1.9-1.58-2.32-3.72-.3-1.52-.63-2.94-1.35-4.32-.88-1.68-1.74-3.55-1.74-5.7 0-3 1.75-5.08 4.5-5.08 1.3 0 2 .65 3.25.65Z' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.55 5.7c.8.35 1.65.55 2.42.55.39 0 .73-.04 1.03-.11' stroke='white' stroke-opacity='.55' stroke-width='1.35' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 8px hsl(var(--accent-cyan) / 0.22));
  opacity: 0.95;
  transition: transform 0.5s ease, filter 0.5s ease, opacity 0.5s ease;
}

#work .mt-14.grid > *:last-child .group:hover .grid.h-12.w-12::before {
  transform: scale(1.12) rotate(-5deg);
  filter: drop-shadow(0 0 12px hsl(var(--accent-cyan) / 0.5));
  opacity: 1;
}
