/* A portrait-led testimonial concept in Teddy's existing identity. */
.work-testimonials{background:var(--deep);position:relative;isolation:isolate;overflow:hidden;border-block:1px solid #c6a4672e}
.testimonial-wrap{position:relative;min-height:730px;padding-block:70px 76px}
.testimonial-heading{position:relative;z-index:2;max-width:870px;margin-bottom:35px}
.testimonial-heading h2{font-size:clamp(52px,6.1vw,94px);line-height:1.04;letter-spacing:-.055em;font-weight:400}
.testimonial-heading h2 strong{color:var(--gold);font-weight:600}
.testimonial-review-note{font-size:12px;line-height:1.6;color:#c0cdcd;margin:20px 0 0;max-width:550px}
.testimonial-layout{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) 70px;gap:38px;width:57%;align-items:start}
.testimonial-panel[hidden]{display:none}
.testimonial-panel{position:relative;padding-top:28px;min-height:310px}
.testimonial-quote-mark{position:absolute;left:-33px;top:2px;font:112px/.9 Georgia,serif;color:#c6a46740;pointer-events:none}
.testimonial-quote{position:relative;font-size:clamp(19px,1.65vw,25px);line-height:1.48;font-weight:500;letter-spacing:-.018em;max-width:590px;margin:0}
.testimonial-person{margin-top:27px;display:flex;flex-direction:column;line-height:1.6}
.testimonial-person strong{font-size:16px;color:var(--paper)}
.testimonial-person span{font-size:12px;color:#bac8ca}
.testimonial-draft{display:inline-block;margin:13px 0 0;color:#dbc18f;font-size:11px;line-height:1.5;border-bottom:1px solid #c6a46755;padding-bottom:5px}
.testimonial-tabs{display:flex;flex-direction:column;gap:13px;padding-block:20px}
.testimonial-tab{position:relative;width:66px;height:66px;flex:none;border-radius:50%;border:1px solid transparent;padding:4px;background:transparent;color:var(--gold);transition:border-color .2s,opacity .2s}
.testimonial-tab img{width:100%;height:100%;border-radius:50%;object-fit:cover;filter:grayscale(1);opacity:.45;transition:filter .2s,opacity .2s}
.testimonial-avatar{display:block;overflow:hidden;width:100%;height:100%;border-radius:50%}
.testimonial-tab:hover img{opacity:.8}
.testimonial-tab[aria-selected=true]{border-color:var(--gold)}
.testimonial-tab[aria-selected=true] img{filter:none;opacity:1}
.testimonial-tab[aria-selected=true]:before{content:'';position:absolute;left:-11px;top:27px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:6px solid var(--gold)}
.testimonial-tab img[data-person=ethan]{object-position:50% 32%}
.testimonial-tab img[data-person=drew]{object-position:50% 28%}
.testimonial-tab img[data-person=andy]{object-position:50% 28%}
.testimonial-tab img[data-person=alex]{object-fit:cover;object-position:100% 0;transform:scale(1.7);transform-origin:57% 24%}
.testimonial-portrait{position:absolute;z-index:1;right:-14%;bottom:0;width:76%;height:93%;pointer-events:none}
.testimonial-portrait img{height:100%;width:100%;object-fit:contain;object-position:bottom right;-webkit-mask:url("/assets/experience/media/teddy-speaker-cutout-v32-a5c773cd53.webp") bottom right/contain no-repeat;mask:url("/assets/experience/media/teddy-speaker-cutout-v32-a5c773cd53.webp") bottom right/contain no-repeat;filter:drop-shadow(-18px 4px 30px #0003)}
.testimonial-portrait figcaption{position:absolute;right:16%;bottom:13px;color:#b1c0c5;font-size:8px;margin:0}
.testimonial-monogram{position:absolute;z-index:0;right:-3%;top:30px;width:43%;aspect-ratio:1;background:var(--gold);opacity:.07;mask:url("/assets/experience/media/th4-hero-gold-v40-a920eaf8a4.svg") center/contain no-repeat;pointer-events:none}
@media(max-width:1100px) and (min-width:761px){
 .testimonial-wrap{padding-block:55px;min-height:710px}
 .testimonial-heading{max-width:700px}.testimonial-heading h2{font-size:64px}
 .testimonial-layout{width:61%;gap:22px;grid-template-columns:minmax(0,1fr) 62px}
 .testimonial-tab{width:60px;height:60px}.testimonial-tab[aria-selected=true]:before{top:24px}
 .testimonial-portrait{right:-16%;width:63%;height:80%}
 .testimonial-quote{font-size:20px}
}
@media(max-width:760px){
 .testimonial-wrap{padding-block:45px 0;min-height:0}
 .testimonial-heading{margin-bottom:18px}.testimonial-heading h2{font-size:clamp(42px,10.8vw,64px)}
 .testimonial-review-note{font-size:11px;max-width:360px;margin-top:17px}
 .testimonial-layout{width:100%;display:flex;flex-direction:column;gap:8px}
 .testimonial-tabs{order:-1;flex-direction:row;gap:14px;padding:5px 0 8px;align-self:flex-start}
 .testimonial-tab{width:58px;height:58px}.testimonial-tab[aria-selected=true]:before{left:23px;top:auto;bottom:-9px;border-top:5px solid var(--gold);border-bottom:0;border-left:5px solid transparent;border-right:5px solid transparent}
 .testimonial-panel{min-height:300px;padding-top:18px}
 .testimonial-quote-mark{left:-13px;top:0;font-size:84px}
 .testimonial-quote{font-size:20px;line-height:1.5;max-width:520px}
 .testimonial-person{margin-top:20px}.testimonial-draft{margin-top:10px}
 .testimonial-portrait{position:relative;right:auto;margin:5px -15% 0 auto;width:105%;height:330px}
 .testimonial-portrait img{object-position:bottom right}
 .testimonial-portrait figcaption{right:19%}
 .testimonial-monogram{width:78%;top:auto;bottom:10px;right:1%}
}
@media(prefers-reduced-motion:reduce){.testimonial-tab,.testimonial-tab img{transition:none}}
