.sketch-image-hover {
    transition: transform 0.3s ease;
}

.sketch-image-hover:hover {
    transform: scale(1.05);
}

.sketch-card-offset {
    right: -1.5rem;
    bottom: -1.5rem;
}

/* Grid + gap: @sem may obfuscate Tailwind grid/gap */
.badge-tower-grid {
    display: grid;
    width: 100%;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
    .badge-tower-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Badge anchor: stable vertical offset (bs had top-0; tw -top-8 was too low vs 5rem circle) */
.philosophy-v3-badge-decor {
    top: -4.25rem;
}

.philosophy-large-badge {
    width: 5rem;
    height: 5rem;
}

/* team v25 — compact grid + animated background */
.team-catalog__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.team-catalog__blob {
  border-radius: 35% 65% 60% 40% / 45% 35% 65% 55%;
  animation: team-catalog-blob-morph 10s ease-in-out infinite;
  transform-origin: center;
}

.team-catalog__blob--tl {
  top: -5rem;
  left: -4rem;
  width: 16rem;
  height: 16rem;
}

.team-catalog__blob--br {
  bottom: -6rem;
  right: -5rem;
  width: 20rem;
  height: 20rem;
  animation-duration: 12s;
  animation-delay: 1.5s;
}

.team-catalog__glow {
  top: 50%;
  left: 50%;
  width: 24rem;
  height: 24rem;
  animation: team-catalog-glow-pulse 8s ease-in-out infinite;
  transform-origin: center;
}

.team-catalog__ring--1 {
  top: 2rem;
  right: 2.5rem;
  width: 8rem;
  height: 8rem;
  animation: team-catalog-spin 26s linear infinite;
  transform-origin: center;
}

.team-catalog__ring--2 {
  bottom: 3rem;
  left: 1.5rem;
  width: 6rem;
  height: 6rem;
  animation: team-catalog-pulse-ring 6s ease-in-out infinite;
  transform-origin: center;
}

.team-catalog__spark {
  animation: team-catalog-spark-float 4s ease-in-out infinite;
}

.team-catalog__spark--1 {
  top: 20%;
  left: 15%;
  width: 0.5rem;
  height: 0.5rem;
  animation-delay: 0s;
}

.team-catalog__spark--2 {
  top: 35%;
  right: 20%;
  width: 0.75rem;
  height: 0.75rem;
  animation-delay: 0.6s;
}

.team-catalog__spark--3 {
  bottom: 30%;
  left: 40%;
  width: 0.5rem;
  height: 0.5rem;
  animation-delay: 1.2s;
}

.team-catalog__grid-dots {
  background-image: radial-gradient(circle, var(--bs-primary) 1px, transparent 1px);
  background-size: 1.75rem 1.75rem;
  animation: team-catalog-dots-drift 18s linear infinite;
}

.team-catalog__card-media {
  height: 8rem;
}

@media (min-width: 768px) {
  .team-catalog__card-media {
    height: 10rem;
  }
}

.team-catalog__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-catalog__card:hover .team-catalog__card-img {
  transform: scale(1.08);
}

@keyframes team-catalog-blob-morph {
  0%,
  100% {
    border-radius: 35% 65% 60% 40% / 45% 35% 65% 55%;
    transform: scale(1);
  }
  50% {
    border-radius: 55% 45% 40% 60% / 50% 60% 40% 50%;
    transform: scale(1.06);
  }
}

@keyframes team-catalog-glow-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

@keyframes team-catalog-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes team-catalog-pulse-ring {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes team-catalog-spark-float {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-0.5rem);
    opacity: 1;
  }
}

@keyframes team-catalog-dots-drift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 1.75rem 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-catalog__blob,
  .team-catalog__glow,
  .team-catalog__ring--1,
  .team-catalog__ring--2,
  .team-catalog__spark,
  .team-catalog__grid-dots {
    animation: none;
  }
}

