.px-testimonials { height: 320svh; position: relative; background: radial-gradient(at 15% 25%, rgba(167, 104, 72, 0.22), transparent 55%), radial-gradient(at 90% 75%, rgba(112, 50, 157, 0.314), transparent 60%), rgb(19, 10, 28); color: rgb(238, 237, 231); }
.px-sticky { position: sticky; top: 0px; overflow: hidden; min-height: 100svh; padding: 12svh 0px 5svh; }
.px-head { display: flex; align-items: end; justify-content: space-between; padding: 0px 5.5vw; margin-bottom: 4.6svh; transition: filter 0.6s, opacity 0.6s; }
.px-head h2 { font: 500 clamp(36px, 4.44vw, 76px) / 1.1 "DM Sans", Arial, sans-serif; letter-spacing: -0.045em; }
.px-head > span { font-size: 10px; letter-spacing: 1px; }
.px-wave { margin: 0px 5.5vw 6.15vw; height: 2.78vw; min-height: 26px; display: flex; align-items: end; justify-content: space-between; padding-bottom: 0.78svh; }
.px-wave i { display: block; width: 0.14vw; min-width: 1px; height: 0.55vw; background: rgb(217, 217, 217); opacity: 0.05; transform-origin: center bottom; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s; }
.px-viewport { overflow: visible; padding: 0px 5.5vw; }
.px-track { display: flex; width: max-content; gap: 2.22vw; transform: translateX(23.3vw); will-change: transform; }
.px-card { flex-shrink: 0; width: 28.5vw; aspect-ratio: 0.95 / 1; display: flex; flex-direction: column; justify-content: space-between; background: rgb(238, 237, 231); color: rgb(36, 24, 43); padding: 2.34svh 1.94vw; transition: filter 0.7s, opacity 0.7s, scale 0.7s; outline-offset: 6px; cursor: pointer; }
.px-card .px-card-head { display: flex; align-items: center; gap: 1.25vw; }
.px-avatar { width: 3.96vw; height: 3.96vw; display: grid; place-items: center; border-radius: 50%; background: rgb(79, 40, 94); color: rgb(238, 237, 231); font-size: 22px; flex-shrink: 0; }
.px-card h3 { font-size: 1.1vw; font-weight: 500; }
.px-card .px-card-head p { font-size: 0.97vw; line-height: 1.35; margin-top: 4px; }
.px-card blockquote { font: 400 1.66vw / 1.35 "DM Sans", Arial, sans-serif; letter-spacing: -0.025em; margin: 25px 0px 0px; }
.px-testimonials.has-focus .px-card:not(.is-focused) { filter: blur(4px) brightness(0.4); opacity: 0.5; scale: 0.98; }
.px-card.is-focused { scale: 1.02; }
.px-testimonials.has-focus .px-head { filter: blur(4px) brightness(0.6); opacity: 0.5; }
.px-film { position: relative; text-align: left; overflow: hidden; color: rgb(255, 255, 255); isolation: isolate; border: 0px; }
.px-film > img { position: absolute; inset: 0px; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.px-film::after { content: ""; position: absolute; inset: 0px; background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.067) 25%, rgba(0, 0, 0, 0.733)); z-index: -1; }
.px-film-top { font-size: 9px; letter-spacing: 1px; display: flex; justify-content: space-between; width: 100%; }
.px-film-bottom { font-size: 2vw; line-height: 1.2; }
.px-film-bottom small { display: block; font-size: 9px; letter-spacing: 1px; margin-top: 12px; }
.px-play { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%; font-size: 14px; margin-bottom: 22px; }
.px-bottom { padding: 4svh 5.5vw 0px; display: flex; align-items: center; justify-content: space-between; font-size: 9px; letter-spacing: 1px; }
.px-bottom button { border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; width: 38px; height: 38px; margin: 0px 4px; font-size: 18px; }
.px-bottom button:hover { background: rgba(255, 255, 255, 0.125); }
@media (max-width: 1024px) {
  .px-card { width: 40.1vw; padding: 2.9vw; }
  .px-card h3 { font-size: 1.56vw; }
  .px-card .px-card-head p { font-size: 1.17vw; }
  .px-card blockquote { font-size: 2.3vw; }
  .px-avatar { width: 5.56vw; height: 5.56vw; }
  .px-sticky { padding-top: 10svh; }
}
@media (max-width: 640px) {
  .px-sticky { padding-top: 12svh; }
  .px-head { padding: 0px 5.97vw; align-items: start; flex-direction: column; gap: 20px; }
  .px-head h2 { font-size: 9vw; }
  .px-head > span { font-size: 8px; }
  .px-wave { margin: 0px 5.97vw 6.4svh; height: 4.5vw; }
  .px-card { width: 72.9vw; aspect-ratio: 0.97 / 1; padding: 5.97vw; }
  .px-track { gap: 4vw; }
  .px-card .px-card-head { gap: 4.4vw; }
  .px-avatar { width: 14.2vw; height: 14.2vw; }
  .px-card h3 { font-size: 3.98vw; }
  .px-card .px-card-head p { font-size: 2.98vw; }
  .px-card blockquote { font-size: 4.2vw; }
  .px-film-bottom { font-size: 7vw; }
  .px-bottom > span:first-child { max-width: 90px; font-size: 7px; }
  .px-bottom { padding-top: 4svh; }
  .px-wave i { width: 0.57vw; }
}
@media (prefers-reduced-motion: reduce) {
  .px-testimonials { height: auto; }
  .px-sticky { position: relative; }
  .px-viewport { overflow: auto; padding-bottom: 20px; scroll-snap-type: x mandatory; }
  .px-track { transform: none !important; }
  .px-card { scroll-snap-align: center; transition: none; transform: none !important; }
  .px-wave { display: none; }
}
