/* voices carousel: one quote at a time in the right column, the next ones waiting faded off the right edge */
.vcar {
  grid-column: 6 / span 7;
  grid-row: 1 / span 2;
  position: relative;
  min-width: 0;
}
.vcar__track {
  display: flex;
  align-items: stretch;
  gap: 56px;
  transition: transform 0.9s var(--ease);
  will-change: transform;
}
/* every slide is as tall as the longest quote, and the name sits at its foot, so it never jumps */
.vcar__slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  opacity: 0.38;
  transition: opacity 0.9s var(--ease);
  cursor: pointer;
}
.vcar__slide.is-cur {
  opacity: 1;
  cursor: auto;
}
.vcar__slide.is-past {
  opacity: 0;
  pointer-events: none;
}
.vcar__slide blockquote {
  margin: 0;
  font-size: 24px;
  line-height: 1.45;
  letter-spacing: -0.018em;
  color: var(--soft);
  font-variation-settings: "opsz" 32;
  text-wrap: pretty;
}
.vcar__slide blockquote {
  flex: 1;
}
.vcar__slide .who {
  margin-top: 36px;
}
/* the peek: the track runs past the column to the page edge, fading out as it goes */
.voices {
  overflow-x: clip;
}
.vcar__track {
  margin-right: calc((100vw - min(var(--wrap), 100vw - 2 * var(--gut))) / -2);
  padding-right: calc((100vw - min(var(--wrap), 100vw - 2 * var(--gut))) / 2);
}
.vcar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: calc((100vw - min(var(--wrap), 100vw - 2 * var(--gut))) / 2 + 2px);
  background: linear-gradient(90deg, rgba(4, 7, 12, 0) 30%, var(--bg) 100%);
  pointer-events: none;
}
/* controls: the arrows centred under the quote, page dots between them, and the time to the next quote as a
   ring filling around the next arrow */
.vcar__ctl {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}
.vcar__arrows {
  display: contents;
}
.vcar__prev {
  order: 1;
}
.vcar__dots {
  order: 2;
  margin: 0 18px;
}
.vcar__next {
  order: 3;
  position: relative;
}
.vcar__ring {
  position: absolute;
  inset: -2px;
  width: calc(100% + 4px) !important;
  height: calc(100% + 4px) !important;
  transform: rotate(-90deg);
  pointer-events: none;
  overflow: visible;
}
.vcar__ring circle {
  fill: none;
  stroke: var(--text);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 144.5;
  stroke-dashoffset: 144.5;
}
.vcar.is-run .vcar__ring circle {
  animation: vcar-ring var(--vcar-ms, 5000ms) linear both;
}
.vcar.is-held .vcar__ring circle {
  animation-play-state: paused;
}
@keyframes vcar-ring {
  to {
    stroke-dashoffset: 0;
  }
}
.vcar__dots {
  display: flex;
  gap: 2px;
}
.vcar__arrow {
  appearance: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text);
  cursor: pointer;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s var(--ease);
}
.vcar__arrow svg {
  width: 18px;
  height: 18px;
}
.vcar__arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.vcar__arrow:active {
  transform: scale(0.94);
}
.vcar__arrow:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}
.vcar__dots button {
  appearance: none;
  border: 0;
  padding: 19px 4px;
  background: none;
  cursor: pointer;
}
.vcar__dots i {
  display: block;
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.24);
  transition:
    width 0.35s var(--ease),
    background 0.35s ease;
}
.vcar__dots [aria-current] i {
  width: 18px;
  background: rgba(255, 255, 255, 0.85);
}
.vcar__dots i::after {
  display: none;
  content: "";
  position: absolute;
  inset: 0;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
}
.vcar__dots [aria-current] i::after {
  transform: scaleX(1);
}
.vcar.is-run .vcar__dots [aria-current] i::after {
  animation: vcar-tick var(--vcar-ms, 5000ms) linear both;
}
.vcar.is-held .vcar__dots [aria-current] i::after {
  animation-play-state: paused;
}
@keyframes vcar-tick {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@media (max-width: 860px) {
  .vcar {
    margin-top: 32px;
  }
  .vcar__track {
    gap: 24px;
    margin-right: calc(var(--gut) * -1);
    padding-right: var(--gut);
  }
  .vcar::after {
    width: calc(var(--gut) + 2px);
  }
  .vcar__slide blockquote {
    font-size: 20px;
  }
  .vcar__slide {
    flex-basis: 88%;
  }
}
@media (max-width: 760px) {
  .vcar {
    order: 3;
    align-self: stretch;
    margin-top: 36px;
  }
  .vcar__slide blockquote {
    font-size: 18px;
    line-height: 1.5;
  }
  /* 40px tap targets, same bars */
  .vcar__ctl {
    margin-top: 24px;
  }
  .vcar__dots {
    margin: 0 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vcar__track,
  .vcar__slide {
    transition: none;
  }
}

/* founders: the four faces overlap in one stack, each ringed in the footer's black */
.founders ul {
  gap: 0;
  flex-wrap: nowrap;
}
.founders li {
  position: relative;
}
.founders li + li {
  margin-left: -10px;
}
.founders li:nth-child(1) {
  z-index: 4;
}
.founders li:nth-child(2) {
  z-index: 3;
}
.founders li:nth-child(3) {
  z-index: 2;
}
.founders li:nth-child(4) {
  z-index: 1;
}
.founders img {
  width: 40px;
  height: 40px;
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 3px var(--line-2);
}

/* phones: the trust list sits centred as one block, its ticks still in a column */
@media (max-width: 860px) {
  .trust ul {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }
}

/* phones: dots under the sideways cards below the Overview */
.bps-satdots {
  display: none;
}
.bps.is-phone .bps-satdots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: -14px 0 28px;
}
.bps-satdots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition:
    width 0.3s var(--ease),
    background 0.3s;
}
.bps-satdots i.on {
  width: 18px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.75);
}

/* phones: the footer's three link groups sit side by side as three even columns */
@media (max-width: 760px) {
  .foot nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 12px;
  }
  .foot nav a {
    font-size: 14px;
  }
}

/* one rhythm: every section is 128px apart on desktop and 80px on phones. The closing banner follows the FAQ
   (whose own padding already clears it), so it only adds a little */
.sec.faq + .close {
  padding-top: 0;
}
.close {
  padding-top: 24px;
}
@media (max-width: 760px) {
  .ft {
    padding: 80px 0;
  }
}
/* desktop: the controls start where the quote does; phones keep them centred */
@media (min-width: 761px) {
  .vcar__ctl {
    justify-content: flex-start;
  }
}

/* founders: the same space above (from the banner) as below (to the rule) */
.foot__panel {
  padding-top: 80px;
}
.founders {
  padding-bottom: 80px;
}
@media (max-width: 760px) {
  .foot__panel {
    padding-top: 56px;
  }
  .founders {
    padding-bottom: 56px;
  }
}
/* a finger needs 24px per dot: on touch screens each dot's button widens to that and the dots part to match;
   a mouse keeps the tight row */
@media (pointer: coarse) {
  .vcar__dots {
    gap: 0;
  }
  .vcar__dots button {
    padding-inline: 9px;
  }
}
