/* The quotes (pinned stage, track driven by scroll). */
.voices-head {
  margin: 0;
  font-weight: 400;
  padding-left: var(--pad);
  font-family: var(--font-utility);
  font-size: 14px;
  line-height: 1.4;
}
.voices {
  /* voices.js sets --voices-count to the live number of .voice cards on
     every load; the fallback of 3 is only the pre-JS/no-JS value and has
     no bearing once voices.js has run (A1-879). */
  height: calc(100vh + (var(--voices-count, 3) - 1) * 150vh);
  position: relative;
  width: 100vw;
  margin-left: calc(-1 * max(clamp(16px, 6.9vw, 100px), env(safe-area-inset-left, 0px)));
  margin-right: calc(-1 * max(clamp(16px, 6.9vw, 100px), env(safe-area-inset-right, 0px)));
}
.voices-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 50px;
  --pad: max(clamp(16px, 6.9vw, 100px), env(safe-area-inset-left, 0px), calc((100vw - 1240px) / 2));
  --gap: 50px;
  --peek: clamp(40px, 11vw, 158px);
  --cw: min(1132px, calc(100vw - var(--pad) - var(--gap) - var(--peek)));
}
.voices-track {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: var(--gap);
  padding-left: var(--pad);
  padding-right: var(--pad);
  will-change: transform;
}
.voice {
  --a: 0;
  flex: 0 0 var(--cw);
  width: var(--cw);
  height: 445px;
  box-sizing: border-box;
  display: flex;
  gap: 50px;
  padding: 40px;
  border-radius: 16px;
  border: 2px solid var(--line);
  background: var(--bg);
}
.voice figure {
  margin: 0;
  flex: 0 0 281px;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.voice img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: calc(0.7 + 0.3 * var(--a));
}
.voice .body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.voice blockquote {
  margin: 0;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.4;
  text-indent: -0.3em;
}
.voice .who {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 75px;
  font-family: var(--font-utility);
  font-size: 14px;
  line-height: 1.4;
}
.voice .who-id {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 75px;
}
.voice .who strong {
  font-weight: 700;
}
@media (max-width: 900px) {
  .voices-stage {
    --gap: 16px;
    --peek: 40px;
    --cw: min(480px, calc(100vw - var(--pad) - var(--gap) - var(--peek)));
  }
  .voices {
    height: auto;
    padding-block: 64px;
  }
  .voices-stage {
    position: static;
    height: auto;
    overflow: visible;
  }
  .voices-track {
    transform: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--pad);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .voices-track::-webkit-scrollbar {
    display: none;
  }
  .voice {
    scroll-snap-align: start;
    --a: 1 !important;
  }
  .voice {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    height: auto;
  }
  .voice figure {
    flex: 0 0 auto;
    align-self: flex-start;
    width: min(100%, 281px);
    height: auto;
    aspect-ratio: 3 / 4;
  }
  .voice .body {
    gap: 24px;
  }
  .voice blockquote {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .voices {
    height: auto;
  }
  .voices-stage {
    position: static;
    height: auto;
    padding-block: 96px;
    overflow-x: auto;
  }
  .voice {
    --a: 1;
  }
}
