/* intro v16 — Metropolis reel: film-perforation strips, image cover, load stagger, radius morph */

/* Film-perforation edge strips: colour comes from Tailwind bg-* on the element; mask punches holes */
.intro-reel__perf {
    -webkit-mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    z-index: 1;
}

/* Background image fills the band, keeps aspect via object-fit (no BS utility) */
.intro-reel__row {
    min-height: 18rem;
    transition: border-radius 320ms ease;
    opacity: 0;
    animation: intro-reel-rise 520ms ease forwards;
}
.intro-reel__img {
    object-fit: cover;
    object-position: center;
}

/* Border-radius morph on hover */
.intro-reel__row:hover {
    border-radius: 2.25rem 0.5rem 2.25rem 0.5rem;
}

/* Stagger children — 80ms delay each on load */
.intro-reel__row:nth-child(1) { animation-delay: 0ms; }
.intro-reel__row:nth-child(2) { animation-delay: 80ms; }
.intro-reel__row:nth-child(3) { animation-delay: 160ms; }
.intro-reel__row:nth-child(4) { animation-delay: 240ms; }
.intro-reel__row:nth-child(5) { animation-delay: 320ms; }
.intro-reel__row:nth-child(6) { animation-delay: 400ms; }

@keyframes intro-reel-rise {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .intro-reel__row { animation: none; opacity: 1; }
}

/* Grid + gap: @sem may obfuscate Tailwind grid/gap — stable class for Bootstrap */
.hover-principles-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .hover-principles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .hover-principles-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.philosophy-hover-badge {
    width: 3rem;
    height: 3rem;
}

.philosophy-hover-corner {
    width: 2rem;
    height: 2rem;
}

.philosophy-bg__img {
    object-fit: cover;
}

/* team v26 — bento glass grid + animated mesh */
.team-glass ol,
.team-glass ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.team-glass__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.team-glass__blob {
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  animation: team-glass-blob-morph 11s ease-in-out infinite;
  transform-origin: center;
}

.team-glass__blob--tl {
  top: -6rem;
  left: -5rem;
  width: 18rem;
  height: 18rem;
}

.team-glass__blob--br {
  bottom: -7rem;
  right: -6rem;
  width: 22rem;
  height: 22rem;
  animation-duration: 13s;
  animation-delay: 2s;
}

.team-glass__glow {
  top: 45%;
  left: 50%;
  width: 28rem;
  height: 28rem;
  animation: team-glass-glow-pulse 7s ease-in-out infinite;
  transform-origin: center;
}

.team-glass__mesh {
  background-image:
    linear-gradient(125deg, transparent 40%, rgba(var(--bs-primary-rgb), 0.06) 50%, transparent 60%),
    radial-gradient(circle at 20% 30%, rgba(var(--bs-primary-rgb), 0.12), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(var(--bs-primary-rgb), 0.1), transparent 40%);
  animation: team-glass-mesh-shift 14s ease-in-out infinite;
}

/* team-glass — overhead wire network (SVG; color via currentColor in Blade) */
.team-glass__wires {
  z-index: 1;
  pointer-events: none;
}

.team-glass__wires-svg {
  display: block;
}

.team-glass__wire-layer {
  transform-origin: center center;
  animation: team-glass-wire-sway 9s ease-in-out infinite;
}

.team-glass__wire--thin {
  opacity: 0.65;
}

@keyframes team-glass-wire-sway {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(4px) translateX(2px);
  }
}

.team-glass__card {
  transition: transform 220ms ease, box-shadow 220ms ease;
  height: 100%;
}

.team-glass__card:hover {
  transform: translateY(-0.35rem);
}

.team-glass__card-media {
  position: relative;
  width: 100%;
  height: 13.5rem;
  overflow: hidden;
}

.team-glass__card--featured .team-glass__card-media {
  height: 17rem;
}

@media (min-width: 576px) {
  .team-glass__card-media {
    height: 14rem;
  }

  .team-glass__card--featured .team-glass__card-media {
    height: 18rem;
  }
}

.team-glass__card-bio {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-glass__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 350ms ease;
}

.team-glass__card:hover .team-glass__card-img {
  transform: scale(1.06);
}

.team-glass__card-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.team-glass__card-body {
  z-index: 2;
}

.team-glass__card-accent {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  width: 2.5rem;
  height: 0.25rem;
  border-radius: 9999px;
}

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

@keyframes team-glass-glow-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.45;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 1;
  }
}

@keyframes team-glass-mesh-shift {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-glass__blob,
  .team-glass__glow,
  .team-glass__mesh,
  .team-glass__wire-layer,
  .team-glass__card,
  .team-glass__card-img {
    animation: none;
    transition: none;
  }

  .team-glass__card:hover {
    transform: none;
  }
}

.values-card-strip__item {
    max-width: 24rem;
}

.values-card-strip__thumb {
    width: 5rem;
    height: 5rem;
}

.values-card-strip__panel {
    max-width: 48rem;
}

