/* Testimonials panel (acf/mc-testimonials, template-parts/claude/components/mc-testimonials.php).
   Design: Homepage board of claude.ai/artifact/K3JynXn9DdqeUpojV8yDxJ. Design-system tokens only.
   The heading uses the site's standard H2; a page with a different H2 (home, dash cams) sets
   --mct-h2-* in its own CSS. Hover lift = the shared .card-h rule (site.css, off for reduced motion). */

.mc-comp-testimonials{--mct-ring:var(--page-color);background:var(--page-color);border-top:1px solid var(--grey-400);border-bottom:1px solid var(--grey-400);color:var(--momentum-navy);}
.mc-comp-testimonials.mct--white{--mct-ring:var(--white);background:var(--white);border-top:0;border-bottom:0;}
.mc-comp-testimonials .mct-wrap{max-width:1200px;margin:0 auto;padding:72px 24px;}

/* header row: copy left, avatar stack right (aligned to the bottom of the heading block) */
.mc-comp-testimonials .mct-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px 56px;}
.mc-comp-testimonials .mct-intro{flex:1 1 420px;min-width:0;}
.mc-comp-testimonials .mct-eyebrow{margin:0 0 12px;font-size:14px;line-height:1.21;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:var(--momentum-orange);}
.mc-comp-testimonials .mct-h2{margin:0;font-size:var(--mct-h2-size,clamp(30px,2.8vw,40px));line-height:var(--mct-h2-lh,1.13);font-weight:var(--mct-h2-weight,700);letter-spacing:var(--mct-h2-track,-.3px);text-wrap:balance;}
.mc-comp-testimonials .mct-sub{margin:14px 0 0;font-size:18px;line-height:1.55;color:var(--body-color-1);}
.mc-comp-testimonials .mct-trust{flex:none;display:flex;align-items:center;gap:16px;}
.mc-comp-testimonials .mct-stack{display:flex;}
.mc-comp-testimonials .mct-av{box-sizing:content-box;display:block;flex:none;width:46px;height:46px;border-radius:50%;border:3px solid var(--mct-ring);margin-left:-14px;object-fit:cover;}
.mc-comp-testimonials .mct-av:first-child{margin-left:0;}
.mc-comp-testimonials .mct-av-chip{display:flex;align-items:center;justify-content:center;background:var(--blue-100);color:var(--blue-600);font-size:14px;font-weight:700;}
.mc-comp-testimonials .mct-trust-text{font-size:16px;line-height:1.3;font-weight:700;}

/* grid */
.mc-comp-testimonials .mct-grid{margin-top:40px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px;}
.mc-comp-testimonials .mct-feat{grid-column:span 4;}
.mc-comp-testimonials .mct-card{grid-column:span 2;}
.mc-comp-testimonials .mct-stars{display:flex;gap:2px;color:var(--orange-500);}
.mc-comp-testimonials .mct-star{font-size:22px;line-height:1;user-select:none;font-variation-settings:"FILL" 1,"wght" 400,"GRAD" 0,"opsz" 22;}

/* featured card */
.mc-comp-testimonials .mct-feat{position:relative;overflow:hidden;margin:0;display:flex;flex-direction:column;gap:24px;padding:44px 48px;border-radius:3px;background:var(--momentum-navy);color:var(--white);box-shadow:0 24px 48px -28px rgba(16,20,38,.6);}
.mc-comp-testimonials .mct-mark{position:absolute;right:28px;top:-58px;font-size:300px;line-height:1;font-weight:900;color:rgba(255,255,255,.06);pointer-events:none;}
.mc-comp-testimonials .mct-feat-quote{position:relative;margin:0;flex:1 1 auto;max-width:660px;font-size:clamp(22px,1.9vw,27px);line-height:1.4;font-weight:500;text-wrap:pretty;}
.mc-comp-testimonials .mct-feat-cap{position:relative;display:flex;align-items:center;gap:18px;}
.mc-comp-testimonials .mct-feat-photo{flex:none;display:block;width:104px;height:94px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 2px rgba(255,255,255,.22),0 8px 18px -8px rgba(16,20,38,.45);}
.mc-comp-testimonials .mct-feat .mct-credit{gap:3px;}
.mc-comp-testimonials .mct-feat .mct-name{font-size:18px;}
.mc-comp-testimonials .mct-feat .mct-role{font-size:15px;color:var(--grey-500);}

/* white cards: attribution pinned to the bottom so cards in a row line up */
.mc-comp-testimonials .mct-card{margin:0;display:flex;flex-direction:column;gap:20px;padding:28px;border-radius:3px;background:var(--white);border:1px solid var(--grey-400);box-shadow:var(--elevation-bottom-1);}
.mc-comp-testimonials .mct-quote{margin:0;flex:1 1 auto;font-size:18px;line-height:1.5;text-wrap:pretty;}
.mc-comp-testimonials .mct-quote-big{display:flex;align-items:center;font-size:24px;line-height:1.4;font-weight:500;}
.mc-comp-testimonials .mct-cap{display:flex;align-items:center;gap:14px;padding-top:20px;border-top:1px solid var(--grey-400);}
.mc-comp-testimonials .mct-photo{flex:none;display:block;width:60px;height:54px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 2px var(--white),0 8px 18px -8px rgba(16,20,38,.45);}
.mc-comp-testimonials .mct-initials{display:flex;align-items:center;justify-content:center;background:var(--blue-100);color:var(--blue-600);font-size:18px;line-height:1;font-weight:700;letter-spacing:.4px;box-shadow:none;}

/* credit: name / title / company on three lines; title and company never wrap */
.mc-comp-testimonials .mct-credit{min-width:0;display:flex;flex-direction:column;gap:2px;}
.mc-comp-testimonials .mct-name{font-weight:700;}
.mc-comp-testimonials .mct-role{font-size:14px;color:var(--body-color-1);white-space:nowrap;}

/* 981-1120px: three cards across are too narrow for the longest company name beside its photo,
   and titles/companies never wrap, so every card's photo sits above its credit there */
@media (min-width:981px) and (max-width:1120px){
  .mc-comp-testimonials .mct-cap{flex-direction:column;align-items:flex-start;}
}
@media (max-width:980px){
  .mc-comp-testimonials .mct-feat,.mc-comp-testimonials .mct-card{grid-column:span 6;}
  .mc-comp-testimonials .mct-feat{padding:32px 28px;}
}
