/* brands section */

/* ---- section frame ---- */
#brands {
    display: flex;
    justify-content: center;
    padding: 20px 10px;
    background: var(--c-panel);
    overflow: clip;
}
#brands .brands__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1 0 0;
    min-width: 0;
    padding: 100px 20px 24px;
    overflow: clip;
}
#brands .brands__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 43.2px;
    width: 100%;
    max-width: 1400px;
}
#brands .brands__kicker,
#brands .testimonial__label {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: start;
}
#brands .label-dot {
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 100px;
    background: var(--c-blue);
}
#brands .brands__kicker p,
#brands .testimonial__label p {
    font: 600 16.128px/1.4 var(--f-mono);
    letter-spacing: .055em;
    text-transform: uppercase;
    white-space: pre;
    color: var(--c-grey);
}
#brands .testimonial__label p { font-size: 14.4px; line-height: 1.15; letter-spacing: -.3px; }
#brands .brands__headline-wrap {
    display: flex;
    flex: 0 1 69%;
    max-width: 780px;
    text-align: right;
}
#brands .brands__headline-wrap h2 {
    flex: 1 0 0;
    max-width: 750px;
    font: 540 35.28px/1.04 var(--f-sans);
    letter-spacing: -.055em;
    color: var(--c-ink);
}
#brands .brands__divider { width: 100%; min-height: 34px; }
#brands .amlgm-brand-marquee { width: 100%; }
#brands .testimonial {
    display: flex;
    width: 100%;
    margin-top: 42px;
    padding: 100px 0 28px;
    border-top: 1px solid rgba(2, 1, 8, .22);
    overflow: clip;
}
#brands .testimonial__content {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    flex: 1 0 0;
    min-width: 0;
}
#brands .testimonial__wrapper {
    position: relative;
    z-index: 3;
    grid-column: span 2;
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    border-radius: 20px;
    background: #fff;
    overflow: clip;
}
#brands .testimonial__logo {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 167px;
    height: 97px;
    opacity: .07;
}
#brands .testimonial__logo img { width: 55px; height: 45px; }
#brands .amlgm-avatar-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font: 600 15.84px/1 var(--f-mono);
    letter-spacing: .04em;
    color: var(--c-ink);
    background: linear-gradient(145deg, #d7d7d7, #f5f5f5);
}
@media (max-width: 1199.98px) {
    #brands .brands__container { padding: 100px 10px 24px; }
    #brands .brands__header { gap: 30px; }
    #brands .brands__kicker p { font-size: 13px; }
    #brands .testimonial__label p { font-size: 16px; }
    #brands .brands__headline-wrap h2 { font-size: 25px; }
    #brands .testimonial__content { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
    #brands .testimonial__wrapper { padding: 30px; max-width: 880px; }
}
@media (max-width: 809.98px) {
    #brands { padding: 20px 7px; }
    #brands .brands__container { padding: 60px 10px 22px; }
    #brands .brands__header { flex-wrap: wrap; gap: 24px 20px; }
    #brands .brands__headline-wrap { flex: 1 1 100%; max-width: 100%; }
    #brands .brands__headline-wrap h2 { font-size: 21px; }
    #brands .testimonial { margin-top: 18px; padding: 56px 0 26px; }
    #brands .testimonial__label p { font-size: 13px; }
    #brands .testimonial__wrapper { padding: 40px 10px; }
}

@keyframes amlgm-brand-loop {
  0% {
      transform: translate3d(0,0,0);
  }
  to {
      transform: translate3d(-33.333333333%,0,0);
  }
}

#brands .testimonial {
    margin-top: clamp(72px,9vw,150px);
    padding-top: clamp(28px,4vw,58px);
    border-top: 1px solid rgba(2,1,8,.22);
}

#brands .ts-quote-text {
    font-family: "Inter","Inter Placeholder",sans-serif;
    font-size: clamp(23px,2.5vw,40px);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.08;
}

#brands .ts-name-text,
#brands .ts-role-text {
    display: block;
    font-family: "Fragment Mono","IBM Plex Mono",monospace;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

#brands .amlgm-brand-marquee {
    --amlgm-brand-size: 171px;
    --amlgm-brand-gap: 12px;
    width: 100%;
    height: var(--amlgm-brand-size)!important;
    max-width: 100%;
    min-height: 0;
    display: block;
    position: relative;
    overflow: hidden;
    flex: none;
    padding: 0;
    -webkit-mask: none;
    mask: none;
    touch-action: pan-y;
    user-select: none;
}

#brands .amlgm-brand-marquee-group,
#brands .amlgm-brand-marquee-track {
    display: flex;
    flex-wrap: nowrap;
    height: 100%!important;
    width: max-content;
}

#brands .amlgm-brand-marquee-track {
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    will-change: transform;
    animation: amlgm-brand-loop 57s linear infinite!important;
}

#brands .amlgm-brand-marquee-group {
    flex: 0 0 auto;
    gap: var(--amlgm-brand-gap);
    padding-right: var(--amlgm-brand-gap);
}

#brands .amlgm-brand-card {
    display: flex;
    flex: 0 0 var(--amlgm-brand-size);
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: var(--amlgm-brand-size);
    min-width: var(--amlgm-brand-size);
    height: var(--amlgm-brand-size)!important;
    padding: 10px 9px 12px;
    border-radius: 18px;
    background: #f5f5f5;
    overflow: hidden;
    transform: none;
}

#brands .amlgm-brand-artwork img {
    display: block;
    width: auto;
    height: auto!important;
    filter: none;
    transform: none;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(.8);
    transform-origin: center center;
}

#brands .amlgm-brand-caption {
    flex-flow: column nowrap;
    text-align: center;
    min-width: 0;
    color: #55565a;
    font: 500 12px/1.17"IBM Plex Mono","IBM Plex Mono Placeholder",ui-monospace,monospace;
    letter-spacing: .015em;
    white-space: normal;
    overflow-wrap: normal;
}

@media (max-width:809px) {
  #brands .amlgm-brand-card {
      padding: 4px 3px;
      border-radius: 8px;
  }
  #brands .amlgm-brand-caption {
      font-size: 6px;
      flex-basis: 14px;
      line-height: 1.1;
  }
  #brands .amlgm-brand-marquee-track {
      animation-duration: 40s!important;
  }
}

@media (prefers-reduced-motion:reduce) {
  #brands .amlgm-brand-marquee-track {
      animation-duration: 125s!important;
  }
}

#brands .brands__container>.brands__divider:nth-child(2),
#brands .brands__container>.brands__divider:nth-child(4) {
    height: 34px;
    min-height: 34px;
}

#brands .testimonial {
    margin-top: 42px;
}

#brands .amlgm-brand-card {
    position: relative;
}

#brands .amlgm-brand-number {
    position: absolute;
    top: 11px;
    left: 13px;
    z-index: 2;
    color: #8b8c91;
    font: 500 10px/1"IBM Plex Mono","IBM Plex Mono Placeholder",ui-monospace,monospace;
    letter-spacing: .035em;
    user-select: none;
    pointer-events: none;
}

#brands .amlgm-brand-artwork,
#brands .amlgm-brand-caption {
    position: absolute;
    left: 9px;
    right: 9px;
    width: auto;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

#brands .amlgm-brand-artwork {
    min-height: 0;
    min-width: 0;
    top: 20px;
    height: 112px!important;
}

#brands .amlgm-brand-card[data-brand=monopoly-dreams] .amlgm-brand-artwork img {
    transform: scale(.93);
}

#brands .amlgm-brand-caption {
    bottom: 12px;
    height: 32px!important;
    min-height: 0;
    padding: 0;
}

@media (max-width:809px) {
  #brands .brands__container>.brands__divider:nth-child(2) {
      height: 26px;
      min-height: 26px;
  }
  #brands .brands__container>.brands__divider:nth-child(4) {
      height: 10px;
      min-height: 10px;
  }
  #brands .brands__container {
      padding-bottom: 44px;
  }
  #brands .amlgm-brand-artwork {
      top: 8px;
      left: 4px;
      right: 4px;
      height: 38px!important;
  }
  #brands .amlgm-brand-artwork img {
      transform: scale(.86);
  }
  #brands .amlgm-brand-card[data-brand=monopoly-dreams] .amlgm-brand-artwork img {
      transform: scale(.93);
  }
  #brands .amlgm-brand-caption {
      left: 3px;
      right: 3px;
      bottom: 2px;
      height: 13px!important;
      font-size: 6px;
  }
  #brands .amlgm-brand-number {
      top: 4px;
      left: 5px;
      font-size: 5px;
  }
}

#brands .brands__header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(20px,3vw,56px);
}

#brands .brands__kicker {
    flex: 0 0 auto;
}

#brands .brands__headline-wrap {
    margin-left: auto;
    width: min(780px,69%);
    max-width: 780px;
    flex: 0 1 69%;
    align-self: flex-start;
    min-width: 0;
    text-align: right;
}

#brands .brands__headline-wrap h2 {
    display: block;
    width: 100%;
    text-align: right;
    margin: 0;
    font-family: "Switzer","Switzer Placeholder",Arial,sans-serif;
    font-weight: 540;
    line-height: 1.04;
    letter-spacing: -.055em;
    font-size: clamp(25px,2.45vw,38px);
}

#brands .amlgm-brand-headline-primary,
#brands .amlgm-brand-headline-secondary {
    display: block;
    text-align: right;
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

#brands .amlgm-brand-headline-primary {
    color: #080809;
}

#brands .amlgm-brand-headline-secondary {
    color: #9e9fa2;
}

#brands .amlgm-brand-artwork img {
    opacity: .82;
}

#brands .amlgm-brand-marquee {
    -webkit-mask-image: linear-gradient(90deg,transparent 0,rgba(0,0,0,.25) 2.2%,rgba(0,0,0,.72) 5.5%,#000 10%,#000 90%,rgba(0,0,0,.72) 94.5%,rgba(0,0,0,.25) 97.8%,transparent 100%);
    mask-image: linear-gradient(90deg,transparent 0,rgba(0,0,0,.25) 2.2%,rgba(0,0,0,.72) 5.5%,#000 10%,#000 90%,rgba(0,0,0,.72) 94.5%,rgba(0,0,0,.25) 97.8%,transparent 100%);
    -webkit-mask-mode: alpha;
    mask-mode: alpha;
}

@media (max-width:809px) {
  #brands .brands__header {
      flex-wrap: wrap;
      row-gap: 24px;
  }
  #brands .brands__headline-wrap {
      width: 100%;
      max-width: 100%;
      flex: 1 1 100%;
  }
  #brands .brands__headline-wrap h2 {
      font-size: clamp(21px,4.4vw,31px);
  }
  #brands .amlgm-brand-marquee {
    --amlgm-brand-size: 62px;
    --amlgm-brand-gap: 6px;
    -webkit-mask-image: linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%);
    mask-image: linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%);
  }
}

@supports ((-webkit-backdrop-filter:blur(2px)) or (backdrop-filter:blur(2px))) {
  #brands .amlgm-brand-marquee::after,
  #brands .amlgm-brand-marquee::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      width: clamp(34px,6vw,88px);
      z-index: 4;
      pointer-events: none;
      -webkit-backdrop-filter: blur(9px);
      backdrop-filter: blur(9px);
  }
  #brands .amlgm-brand-marquee::before {
      left: 0;
      -webkit-mask-image: linear-gradient(to right,#000,transparent);
      mask-image: linear-gradient(to right,#000,transparent);
  }
  #brands .amlgm-brand-marquee::after {
      right: 0;
      -webkit-mask-image: linear-gradient(to left,#000,transparent);
      mask-image: linear-gradient(to left,#000,transparent);
  }
}

#brands,
#brands .brands__container {
    background-color: #f0f0f0;
    background-image: none;
}

#brands .brands__container {
    background: 0 0;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#brands .amlgm-brand-card {
    background: #fff;
    background-color: #fff;
}

#brands .brands__container,
#brands .testimonial {
    height: auto!important;
    min-height: min-content;
}

#brands .testimonial {
    padding-top: 100px;
    padding-bottom: 28px;
    box-sizing: border-box;
}

#brands .brands__container {
    padding-bottom: 24px;
}

@media (max-width:809px) {
  #brands .testimonial {
      margin-top: 18px;
      padding-top: 56px;
      padding-bottom: 26px;
  }
  #brands .testimonial__label p {
      font-size: var(--amlgm-label-heading-size);
      line-height: 1.2;
  }
  #brands .brands__container {
      padding-bottom: 22px;
  }
}

#brands .ts-section .ts-ring-progress.is-active {
    animation-duration: var(--amlgm-review-duration,12000ms)!important;
}

#brands .ts-section .ts-avatars {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(3px,.55vw,9px);
    max-width: 100%;
}

#brands .ts-section .ts-avatar-wrap {
    width: clamp(64px,5.45vw,90px);
    height: clamp(64px,5.45vw,90px)!important;
}

#brands .ts-section .ts-avatar-img-wrap {
    inset: 6%;
}

#brands .ts-section .ts-quote-wrap {
    height: auto!important;
    min-height: 0;
    overflow: visible;
    contain: none;
}

#brands .ts-section .ts-quote-text {
    overflow: visible;
    display: block;
    max-width: min(100%,1180px);
    min-height: 0;
    text-wrap: pretty;
}

#brands .ts-section .ts-meta {
    flex-wrap: wrap;
    row-gap: 6px;
    overflow: visible;
}

#brands .ts-section .amlgm-avatar-placeholder {
    font-size: clamp(12px,1.1vw,16px);
}

@media (max-width:809px) {
  #brands .ts-section .ts-avatars {
      display: flex;
      width: 100%;
      max-width: 100%;
      flex-wrap: nowrap;
      justify-content: flex-start;
      gap: 2px;
      min-width: 0;
  }
  #brands .ts-section .ts-avatar-wrap {
      box-sizing: border-box;
      flex: 0 0 min(46px,calc((100% - 12px)/7));
      width: min(46px,calc((100% - 12px)/7));
      height: auto!important;
      aspect-ratio: 1/1;
      min-width: 0;
  }
  #brands .ts-section .amlgm-avatar-placeholder {
      font-size: clamp(8px,2.35vw,11px);
  }
  #brands .ts-section .ts-quote-text {
      font-size: clamp(18px,4.5vw,24px);
      line-height: 1.13;
  }
  #brands .ts-section .ts-meta {
      max-width: 100%;
      width: 100%;
      display: flex;
      flex-direction: row;
      align-items: baseline;
      flex-wrap: nowrap;
      column-gap: 2px;
      white-space: nowrap;
  }
  #brands .ts-section .ts-name-text,
  #brands .ts-section .ts-role-text {
      font-size: clamp(7px,2vw,9px);
      line-height: 1.2;
      letter-spacing: 0;
      white-space: nowrap;
      flex: 0 0 auto;
      min-width: 0;
  }
  #brands .ts-section .ts-meta>span:nth-child(2) {
      margin: 0 2px;
  }
}

@media (min-width:810px) {
  #brands .testimonial__wrapper {
      width: 100%;
      max-width: min(100%,1100px);
      min-width: 0;
      min-height: 0;
      height: auto!important;
      justify-self: end;
      box-sizing: border-box;
  }
  #brands .ts-section,
  #brands .ts-section .ts-quote-wrap {
      min-width: 0;
      max-width: 100%;
  }
  #brands .ts-section .ts-quote-text {
      width: 100%;
      max-width: 100%;
      white-space: normal;
      overflow-wrap: break-word;
  }
}

@media (min-width:1400px) {
  #brands .testimonial__wrapper {
      width: 134%;
      max-width: none;
  }
}

@media (min-width:810px) and (max-width:1399px) {
  #brands .testimonial__wrapper {
      max-width: min(90vw,880px);
      padding: clamp(22px,3vw,38px);
      overflow: visible;
  }
  #brands .ts-section .ts-quote-text {
      font-size: clamp(18px,2.05vw,27px);
      line-height: 1.13;
  }
}

@media (max-width:809px) {
  #brands .testimonial__wrapper {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      margin-top: -20px;
  }
  #brands .testimonial__logo {
      display: none;
  }
}

#brands .ts-section .ts-avatar-ring .ts-ring-progress {
    stroke: #4b56d8;
}
/* ---- review rotator component (js/brands.js) ---- */
@keyframes tsLetterIn {
  from { opacity: 0; transform: translateY(100%) translateZ(0); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0) translateZ(0); filter: blur(0); }
}
@keyframes tsRingFill {
  from { stroke-dashoffset: 290; }
  to { stroke-dashoffset: 0; }
}
.ts-section { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 50px; width: 100%; }
.ts-quote-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: 100%; contain: content; }
.ts-quote-text { margin: 0; overflow: hidden; }
.ts-word { display: inline-block; white-space: pre; }
.ts-char { display: inline-block; animation: tsLetterIn .4s cubic-bezier(.22, 1, .36, 1) both; will-change: transform, opacity, filter; }
.ts-meta { display: flex; align-items: baseline; gap: 3px; overflow: hidden; }
.ts-meta-sep { flex-shrink: 0; width: 1px; height: 10px; margin: 0 3px; background: rgba(0, 0, 0, .14); }
.ts-avatars { display: flex; align-items: center; gap: 6px; }
.ts-avatar-wrap { position: relative; flex-shrink: 0; width: 90px; height: 90px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.ts-avatar-ring { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.ts-ring-progress {
  fill: none;
  stroke: var(--c-blue);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 290;
  stroke-dashoffset: 290;
}
.ts-ring-progress.is-active { animation: tsRingFill 5s cubic-bezier(.4, 0, .2, 1) forwards; }
.ts-avatar-img-wrap { position: absolute; inset: 5.5px; border-radius: 50%; overflow: hidden; }
@media (max-width: 992px) { .ts-section { gap: 36px; } }
@media (max-width: 480px) { .ts-section { gap: 28px; } }
