/* Depth carousel (testimonials). Layout maths follows the DepthCarousel component; styled for the light site. */
.depth-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: var(--dc-perspective, 1400px);
  perspective-origin: 50% 50%;
  touch-action: pan-y;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.depth-carousel:active { cursor: grabbing; }
.depth-carousel:focus-visible { outline: 2px solid rgba(20, 163, 152, 0.6); outline-offset: 4px; border-radius: 12px; }

.depth-carousel__stage { position: absolute; inset: 0; transform-style: preserve-3d; }

.depth-carousel__card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 26px 28px;
  background: #ffffff;
  border: 1px solid #E4E8EC;
  box-shadow: 0 30px 60px -28px rgba(22, 27, 38, 0.35), 0 8px 20px -12px rgba(22, 27, 38, 0.18);
  will-change: transform, opacity, filter;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.depth-carousel__quote-mark {
  position: absolute; top: 8px; right: 22px;
  font-weight: 700; font-size: 60px; line-height: 1; color: #E4F5F3; pointer-events: none;
}
.depth-carousel__quote {
  position: relative; margin: 0;
  font-size: 15px; line-height: 1.7; color: #161B26;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden;
}
.depth-carousel__person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.depth-carousel__avatar {
  width: 44px; height: 44px; border-radius: 9999px; flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #14A398; color: #fff; font-size: 15px; font-weight: 700;
}
.depth-carousel__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
.depth-carousel__name { font-size: 14px; font-weight: 700; color: #161B26; line-height: 1.3; }
.depth-carousel__role { font-size: 12.5px; color: #98A2AE; line-height: 1.3; margin-top: 2px; }

.depth-carousel__tint { position: absolute; inset: 0; opacity: 0; pointer-events: none; }

.depth-carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3000;
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid #E4E8EC; border-radius: 999px; background: rgba(255, 255, 255, 0.92);
  color: #161B26; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(22, 27, 38, 0.3);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.depth-carousel__arrow:hover { background: #E4F5F3; border-color: #14A398; }
.depth-carousel__arrow:active { transform: translateY(-50%) scale(0.94); }
.depth-carousel__arrow--prev { left: 4px; }
.depth-carousel__arrow--next { right: 4px; }

.depth-carousel__dots {
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); z-index: 3000;
  display: flex; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(243, 246, 249, 0.9);
}
.depth-carousel__dot {
  width: 7px; height: 7px; padding: 0; border: none; border-radius: 999px;
  background: #C9D1D9; cursor: pointer; transition: width 0.25s ease, background 0.25s ease;
}
.depth-carousel__dot.is-active { width: 20px; background: #14A398; }

@media (prefers-reduced-motion: reduce) {
  .depth-carousel__card { will-change: auto; }
  .depth-carousel__arrow, .depth-carousel__dot { transition: none; }
}
