/* MSJ Testimonials (prefix msjtm-) */
.msjtm { --serif:'Playfair Display','Times New Roman',serif; --sans:'Lato','Poppins',system-ui,sans-serif; --out:cubic-bezier(.16,1,.3,1); --gap:clamp(.8rem,1.5vw,1.6rem);
  position:relative; isolation:isolate; overflow:hidden; width:100%; min-height:var(--msjtm-min,560px); display:flex; align-items:center; background:var(--msjtm-ink,#070605); color:#faf7f0; font-family:var(--sans); font-weight:300; -webkit-font-smoothing:antialiased; }
.msjtm, .msjtm *, .msjtm *::before, .msjtm *::after { box-sizing:border-box; }
html body .msjtm a { text-decoration:none; box-shadow:none; color:inherit; }
html body .msjtm p, html body .msjtm h2 { margin:0; padding:0; }
html body .msjtm img { max-width:none; border:0; box-shadow:none; }
html body .msjtm i, html body .msjtm b, html body .msjtm small { font-style:normal; }
.msjtm-bg { position:absolute; inset:0; z-index:-3; } .msjtm-mb { display:none; }
.msjtm-shade { position:absolute; inset:0; z-index:-2; pointer-events:none; background:linear-gradient(90deg,rgba(7,6,5,calc(var(--msjtm-ov,.35) + .4)),rgba(7,6,5,var(--msjtm-ov,.35)) 60%,rgba(7,6,5,calc(var(--msjtm-ov,.35) + .15))),linear-gradient(0deg,rgba(7,6,5,.5),transparent 40%); }
.msjtm-wave { position:absolute; left:0; bottom:0; z-index:0; width:100%; height:clamp(70px,9vw,140px); pointer-events:none; }

.msjtm-wrap { position:relative; z-index:2; width:100%; display:grid; grid-template-columns:minmax(0,34%) minmax(0,1fr) 28px; align-items:center; column-gap:clamp(1.5rem,3.6vw,5rem); padding:clamp(3.5rem,7vh,6rem) clamp(1.25rem,2.4vw,3.5rem) clamp(3.5rem,8vh,6.5rem) clamp(1.25rem,6.6vw,10rem); }
.msjtm-eyebrow { display:flex; align-items:center; gap:.9rem; margin-bottom:clamp(.9rem,2.2vh,1.4rem) !important; font-size:clamp(.58rem,.76vw,.78rem); font-weight:400; letter-spacing:.2em; text-transform:uppercase; color:var(--msjh-gold-l); }
.msjtm-rule { width:clamp(24px,2.4vw,40px); height:1px; background:var(--msjh-gold); }
.msjtm-title { font-family:var(--serif); font-weight:400; font-size:clamp(2rem,3.7vw,4.5rem); line-height:1.08; letter-spacing:-.01em; color:#faf7f0; text-shadow:0 4px 40px rgba(0,0,0,.45); }
.msjtm-line { display:block; overflow:hidden; padding:.06em .04em .16em 0; margin-bottom:-.16em; } .msjtm-line-in { display:block; transform:translate3d(0,115%,0); }
.msjtm-gold .msjtm-line-in { font-style:italic; background:linear-gradient(100deg,#f1cf93,#e0b574 45%,#c9955a); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; padding-right:.1em; }
.msjtm-text { max-width:clamp(18rem,26vw,30rem); margin-top:clamp(.9rem,2.4vh,1.5rem) !important; font-size:clamp(.82rem,1vw,1.04rem); line-height:1.75; color:rgba(250,247,240,.92); }
.msjtm-ctrl { display:flex; align-items:center; gap:.7rem; margin-top:clamp(1.3rem,3.6vh,2.4rem); }
html body .msjtm button.msjtm-arrow { all:unset; box-sizing:border-box; display:grid; place-items:center; width:clamp(34px,2.7vw,44px); height:clamp(34px,2.7vw,44px); border:1px solid rgba(201,168,76,.75); border-radius:50%; font-size:.74rem; color:var(--msjh-gold-l); cursor:pointer; background:rgba(7,6,5,.35); transition:background .4s,color .4s,transform .4s var(--out); }
html body .msjtm button.msjtm-arrow:hover { background:linear-gradient(135deg,var(--msjh-gold-l),var(--msjh-gold)); color:#130e07; transform:scale(1.08); }
.msjtm-prog { position:relative; width:clamp(40px,4.4vw,72px); height:1px; margin-left:.6rem; background:rgba(250,247,240,.3); overflow:hidden; } .msjtm-prog i { position:absolute; inset:0; background:var(--msjh-gold-l); transform-origin:left; transition:transform .9s var(--out); }
.msjtm-count { font-size:clamp(.68rem,.84vw,.86rem); letter-spacing:.12em; color:rgba(250,247,240,.85); font-variant-numeric:tabular-nums; } .msjtm-count b { font-weight:400; color:var(--msjh-gold-l); }

/* stage: all cards share one grid cell, so the tallest sets the height; position by --p */
.msjtm-stage { min-width:0; }
.msjtm-view { position:relative; display:grid; overflow:hidden; padding:16px 0; margin:-16px 0; }
.msjtm-card { grid-area:1 / 1; width:calc((100% - 2 * var(--gap)) / 3); display:flex; flex-direction:column; justify-content:space-between; gap:1.2rem; padding:clamp(1.1rem,1.9vw,2.2rem); border:1px solid rgba(201,168,76,.25); border-radius:clamp(8px,.8vw,12px); background:linear-gradient(160deg,rgba(255,255,255,.04),rgba(255,255,255,.008)),rgba(9,8,6,.8); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  transform:translate3d(calc(var(--p) * (100% + var(--gap))),0,0) scale(.92); opacity:0; pointer-events:none; transition:transform 1s var(--out), opacity .8s ease, border-color .6s, box-shadow .6s; will-change:transform; }
.msjtm-card[data-p="1"], .msjtm-card[data-p="2"] { opacity:.88; pointer-events:auto; }
.msjtm-card.is-active { opacity:1; pointer-events:auto; transform:translate3d(0,0,0) scale(1); border-color:rgba(232,201,122,.85); box-shadow:0 0 0 1px rgba(232,201,122,.2),0 0 34px rgba(201,168,76,.18),0 24px 50px rgba(0,0,0,.45); }
.msjtm-card.nt { transition:opacity .7s ease, border-color .6s, box-shadow .6s; }
.msjtm-card-top { display:flex; align-items:center; justify-content:space-between; }
.msjtm-q { display:inline-flex; font-size:clamp(1.3rem,2vw,2.1rem); line-height:1; color:var(--msjh-gold-l); } .msjtm-q svg, .msjtm-stars svg { width:1em; height:1em; fill:currentColor; }
.msjtm-dash { width:12px; height:1px; background:var(--msjh-gold); }
.msjtm-quote { flex:1; font-size:clamp(.78rem,.98vw,1.02rem); line-height:1.75; color:rgba(250,247,240,.94); }
.msjtm-card:not(.is-active) .msjtm-quote { font-size:clamp(.72rem,.88vw,.92rem); }
.msjtm-who { display:flex; align-items:center; gap:clamp(.7rem,1.1vw,1.2rem); }
.msjtm-ava { flex:none; display:grid; place-items:center; width:clamp(44px,4.2vw,64px); height:clamp(44px,4.2vw,64px); border:1px solid rgba(201,168,76,.6); border-radius:50%; overflow:hidden; background:#14110d; color:var(--msjh-gold-l); }
html body .msjtm .msjtm-ava img { width:100% !important; height:100% !important; object-fit:cover; display:block; }
.msjtm-meta b { display:block; font-weight:400; font-size:clamp(.82rem,1vw,1.05rem); color:var(--msjh-gold-l); }
.msjtm-meta small { display:block; margin-top:.15rem; font-size:clamp(.62rem,.76vw,.8rem); color:rgba(250,247,240,.8); }
.msjtm-stars { display:flex; gap:.2rem; margin-top:.55rem; font-size:clamp(.62rem,.8vw,.84rem); color:var(--msjh-gold-l); }

/* dots */
.msjtm-dots { display:flex; flex-direction:column; align-items:center; gap:.5rem; }
html body .msjtm button.msjtm-dot { all:unset; box-sizing:content-box; display:block; width:6px; height:6px; border:1px solid rgba(250,247,240,.65); border-radius:50%; cursor:pointer; position:relative; transition:height .6s var(--out), background-color .4s, border-color .4s, border-radius .6s; }
html body .msjtm button.msjtm-dot::after { content:''; position:absolute; inset:-8px; }
html body .msjtm button.msjtm-dot.is-active { height:22px; border-radius:6px; background-color:var(--msjh-gold-l); border-color:var(--msjh-gold-l); }

/* reveal */
.msjtm-a { opacity:0; transform:translate3d(0,26px,0); }
.msjtm.is-in .msjtm-a { opacity:1; transform:none; transition:opacity .9s ease, transform 1.1s var(--out); transition-delay:calc(.1s + var(--i,0) * .1s); }
.msjtm.is-in .msjtm-line-in { transform:none; transition:transform 1.2s var(--out); transition-delay:calc(.08s + var(--i,1) * .11s); }

@media (max-width:1024px) {
  .msjtm { min-height:0; } .msjtm-wrap { grid-template-columns:1fr; row-gap:2rem; padding:3.5rem 1.4rem 4.5rem; }
  .msjtm-card { width:calc((100% - var(--gap)) / 2); }
  .msjtm-card[data-p="2"] { opacity:0; pointer-events:none; }
  .msjtm-dots { flex-direction:row; justify-self:center; }
  html body .msjtm button.msjtm-dot.is-active { height:6px; width:22px; }
}
@media (max-width:767px) {
  .msjtm-d { display:none; } .msjtm-mb { display:block; }
  .msjtm-shade { background:linear-gradient(180deg,rgba(7,6,5,.7),rgba(7,6,5,.85)); }
  .msjtm-wrap { padding:3rem 1.1rem 4.5rem; }
  .msjtm-title { font-size:clamp(1.9rem,9vw,2.6rem); } .msjtm-text { font-size:.88rem; max-width:none; }
  .msjtm-card { width:100%; } .msjtm-card[data-p="1"], .msjtm-card[data-p="2"] { opacity:0; pointer-events:none; }
  .msjtm-quote { font-size:.9rem; } .msjtm-card.is-active .msjtm-quote { font-size:.9rem; }
  .msjtm-ava { width:52px; height:52px; }
  body.msjh-has-tabs .msjtm-wrap { padding-bottom:calc(4.5rem + 74px); }
}
@media (prefers-reduced-motion:reduce) { .msjtm *, .msjtm *::before { transition-duration:.01ms !important; transition-delay:0s !important; } .msjtm-a, .msjtm-line-in { opacity:1 !important; transform:none !important; } }
