@layer components{.testimonial-collage_wrap{--_ease:cubic-bezier(.3, .075, 0, 1);--_overlap:8rem;width:100%;max-width:var(--max-width-large);margin-inline:auto;container-type:inline-size}.testimonial-collage_head{margin-bottom:calc(var(--_overlap) * -1)}.testimonial-collage_list{aspect-ratio:63.75/37;margin:0;padding:0;list-style:none;position:relative}.testimonial-collage_item{--x:50%;--y:50%;--w:25%;top:var(--y);left:var(--x);z-index:0;width:var(--w);outline:none;position:absolute;translate:-50% -50%}.testimonial-collage_item:first-child{--x:15.69%;--y:36.49%}.testimonial-collage_item:nth-child(2){--x:20.59%;--y:67.91%}.testimonial-collage_item:nth-child(3){--x:36.86%;--y:58.11%;z-index:1}.testimonial-collage_item:nth-child(4){--x:49.41%;--y:27.03%}.testimonial-collage_item:nth-child(5){--x:53.53%;--y:78.04%;z-index:3}.testimonial-collage_item:nth-child(6){--x:65.1%;--y:44.59%;z-index:2}.testimonial-collage_item:nth-child(7){--x:76.86%;--y:63.51%;z-index:1}.testimonial-collage_item:nth-child(8){--x:87.25%;--y:35.47%}.testimonial-collage_item:nth-child(n+9){display:none}.testimonial-collage_item:focus-visible .testimonial-collage_card{outline:.125rem solid var(--text);outline-offset:.25rem}.testimonial-collage_card{--_padding:clamp(.75rem, 8cqi, 1.5rem);aspect-ratio:4/5;border-radius:var(--radius-small);color:var(--text);transition:translate var(--_duration) var(--_ease), scale var(--_duration) var(--_ease);flex-direction:column;margin:0;display:flex;position:relative;overflow:hidden;container-type:inline-size}.testimonial-collage_card:after{content:"";opacity:0;background-image:linear-gradient(#0000008c,#0000);height:45%;transition:opacity .3s;position:absolute;inset:0 0 auto}[data-collage-focus] .testimonial-collage_card:after{opacity:1}.testimonial-collage_visual{filter:grayscale()contrast(1.35);opacity:.6;transition:filter .3s,opacity .3s;position:absolute;inset:0}.testimonial-collage_caption{z-index:1;margin:var(--_padding) var(--_padding) 0;flex-direction:column;order:-1;gap:.25em;display:flex;position:relative}.testimonial-collage_name{font-size:clamp(.875rem,6.5cqi,1.25rem);line-height:1.15}.testimonial-collage_title{color:var(--text-2);font-size:clamp(.75rem,5cqi,.9375rem);line-height:1.25}.testimonial-collage_quote{z-index:1;margin:auto var(--_padding) var(--_padding);font-size:clamp(.75rem,5.5cqi,1rem);line-height:1.35;position:relative}.testimonial-collage_quote p{margin:0}.testimonial-collage_quote{opacity:0;transition:opacity .3s ease, translate .5s var(--_ease);column-gap:.25em;translate:0 .5em}.testimonial-collage_caption{opacity:0;transition:opacity .3s ease, translate .5s var(--_ease);row-gap:var(--space-1);column-gap:var(--space-1);translate:0 .5em}[data-collage-focus] .testimonial-collage_visual{filter:grayscale(0)contrast();opacity:1}[data-collage-focus] .testimonial-collage_caption,[data-collage-focus] .testimonial-collage_quote{opacity:1;transition-delay:.1s;translate:0}[data-collage-active] .testimonial-collage_item:not([data-collage-focus]) .testimonial-collage_visual{opacity:.3}@media (prefers-reduced-motion:reduce){.testimonial-collage_card,.testimonial-collage_caption,.testimonial-collage_quote{transition-duration:0s,0s;transition-delay:0s}}@container (width<53rem){.testimonial-collage_item{--w:31%}.testimonial-collage_item:first-child{--x:17%;--y:36%}.testimonial-collage_item:nth-child(2){--x:21%;--y:66%}.testimonial-collage_item:nth-child(3){--x:37%;--y:57%}.testimonial-collage_item:nth-child(4){--x:49.5%;--y:28%}.testimonial-collage_item:nth-child(5){--x:53.5%;--y:74%}.testimonial-collage_item:nth-child(6){--x:65%;--y:45%}.testimonial-collage_item:nth-child(7){--x:76%;--y:62%}.testimonial-collage_item:nth-child(8){--x:84%;--y:36%}}@container (width<42rem){.testimonial-collage_list{aspect-ratio:4/5}.testimonial-collage_item{--w:40%}.testimonial-collage_item:first-child{--x:22%;--y:22%}.testimonial-collage_item:nth-child(2){--x:72%;--y:18%}.testimonial-collage_item:nth-child(3){--x:48%;--y:40%}.testimonial-collage_item:nth-child(4){--x:50%;--y:12%}.testimonial-collage_item:nth-child(5){--x:20%;--y:60%}.testimonial-collage_item:nth-child(6){--x:78%;--y:56%}.testimonial-collage_item:nth-child(7){--x:42%;--y:80%}.testimonial-collage_item:nth-child(8){--x:80%;--y:84%}}@container (width<27rem){.testimonial-collage_list{aspect-ratio:2/3}.testimonial-collage_item{--w:56%}.testimonial-collage_item:first-child{--x:26%;--y:22%}.testimonial-collage_item:nth-child(2){--x:74%;--y:20%}.testimonial-collage_item:nth-child(3){--x:50%;--y:42%}.testimonial-collage_item:nth-child(4){--x:50%;--y:10%}.testimonial-collage_item:nth-child(5){--x:24%;--y:62%}.testimonial-collage_item:nth-child(6){--x:76%;--y:58%}.testimonial-collage_item:nth-child(7){--x:40%;--y:80%}.testimonial-collage_item:nth-child(8){--x:76%;--y:84%}}}
