/* ==========================================================================
   Clients — client logos orbiting a vertical axis (carousel)
   ========================================================================== */
.cl {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  padding-top: var(--nav-height);
  overflow: hidden;
}
.cl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3.2vh, 40px) var(--container-pad) 0;
  position: relative;
  z-index: 2;
}
/* section label — same style as the About us label */
.cl-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--maroon);
}
.cl-title::after { content: ''; width: 40px; height: 1px; background: var(--maroon); }
.cl-hint {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.cl-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.cl-stage.is-dragging { cursor: grabbing; }

/* faint floor ellipse — gives the ring a sense of place */
.cl-floor {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 62%;
  height: 30%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(4, 4, 4, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.cl-logo {
  position: absolute;
  left: 0; top: 0;
  display: block;
  will-change: transform, filter, opacity;
  transition: filter 0.4s ease;
  -webkit-user-drag: none;
  pointer-events: auto;
}
.cl-stage.is-focus .cl-logo:not(.is-hover) { filter: grayscale(1) opacity(0.25) !important; }

/* ---- spacing: same system as About us (desktop) ---- */
@media (min-width: 861px) {
  .cl {
    height: auto;
    display: block;
    padding: var(--section-top) 0 var(--section-bottom);
  }
  .cl-head {
    max-width: var(--page-max);
    margin: 0 auto var(--label-gap);
    padding: 0 var(--container-pad);
  }
  .cl-stage {
    max-width: calc(var(--page-max) - 2 * var(--container-pad));
    width: calc(100% - 2 * var(--container-pad));
    margin: 0 auto;
    height: clamp(420px, 60vh, 620px);
  }
}

/* phones: no full-screen height — the ring sits in a compact box (2026-10-14) */
@media (max-width: 860px) {
  .cl { height: auto; display: block; padding: calc(var(--nav-height) + 8px) 0 8px; }
  .cl-head { padding-top: 0; }
  .cl-stage { height: 240px; margin-top: 0; }
}
