/*
 * Felt customer proof — scoped optical normalization proposal.
 * Load after refinement.css. No markup or original SVG changes are required.
 *
 * The six public SVGs all currently contain #082900. The scoped brightness
 * treatment makes those customer marks a quiet neutral on the page paper;
 * it never touches Felt artwork or its palette assets.
 *
 * Desktop optical widths / natural resulting heights:
 * EY              30px / 30.3px (compact symbol, not a 48px anchor)
 * Randstad       142px / 29.7px
 * Upwork         120px / 33.3px (includes descenders)
 * Dow Jones      167px / 20.1px
 * First Student  164px / 26.8px
 * Mattress Firm  168px / 22.7px
 */

.customer-proof.shell {
  display: block;
  padding-top: 44px;
  padding-bottom: 46px;
  border-bottom: 0;
}

.customer-proof > p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--muted, #6b6266);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.01em;
}

.customer-proof > p strong {
  color: inherit;
  font-weight: 550;
}

.customer-proof > p br {
  display: none;
}

.customer-proof .customer-logos {
  display: grid;
  /* The narrow EY symbol gives that space back to the wide wordmarks. */
  grid-template-columns: 0.48fr 1fr 0.9fr 1.18fr 1.16fr 1.18fr;
  align-items: center;
  justify-items: center;
  column-gap: clamp(24px, 3vw, 42px);
  row-gap: 0;
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
}

.customer-proof .customer-logos > img {
  --customer-logo-width: 142px;
  --customer-logo-shift: 0px;
  display: block;
  width: min(var(--customer-logo-width), 100%);
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  filter: brightness(0);
  opacity: 0.74;
  transform: translateY(var(--customer-logo-shift));
  /* These are proof marks, not additional interactive controls. */
  transition: none;
}

.customer-proof .customer-logos > img[alt="EY"] {
  --customer-logo-width: 30px;
  --customer-logo-shift: -3px;
  height: auto;
  max-width: 100%;
}

.customer-proof .customer-logos > img[alt="Randstad"] {
  --customer-logo-width: 142px;
}

.customer-proof .customer-logos > img[alt="Upwork"] {
  --customer-logo-width: 120px;
  --customer-logo-shift: 1px;
}

.customer-proof .customer-logos > img[alt="Dow Jones"] {
  --customer-logo-width: 167px;
}

.customer-proof .customer-logos > img[alt="First Student"] {
  --customer-logo-width: 164px;
}

.customer-proof .customer-logos > img[alt="Mattress Firm"] {
  --customer-logo-width: 168px;
}

@media (max-width: 1100px) {
  .customer-proof.shell {
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .customer-proof .customer-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
    column-gap: clamp(24px, 5vw, 60px);
    row-gap: 32px;
  }
}

@media (max-width: 560px) {
  .customer-proof.shell {
    padding-top: 26px;
    padding-bottom: 32px;
  }

  .customer-proof > p {
    margin-bottom: 24px;
    font-size: 11px;
    line-height: 1.5;
  }

  .customer-proof .customer-logos {
    column-gap: clamp(12px, 3.2vw, 18px);
    row-gap: 29px;
  }

  .customer-proof .customer-logos > img[alt="EY"] {
    --customer-logo-width: 25px;
    --customer-logo-shift: -2px;
  }

  .customer-proof .customer-logos > img[alt="Randstad"] {
    --customer-logo-width: 116px;
  }

  .customer-proof .customer-logos > img[alt="Upwork"] {
    --customer-logo-width: 100px;
  }

  .customer-proof .customer-logos > img[alt="Dow Jones"] {
    --customer-logo-width: 132px;
  }

  .customer-proof .customer-logos > img[alt="First Student"] {
    --customer-logo-width: 132px;
  }

  .customer-proof .customer-logos > img[alt="Mattress Firm"] {
    --customer-logo-width: 138px;
  }
}

@media (forced-colors: active) {
  .customer-proof .customer-logos > img {
    filter: none;
    opacity: 1;
  }
}
