/* ==========================================================================
   Credibility components (theme 1.5.0):
   - .process-preview  homepage summary of the five stages (full version on About)
   - .voices / .voice  approved client notes, English translation + Ukrainian original
   - .case-voice       the client's note on a case study
   - small crosslinks  .about-cross, .case-cross
   ========================================================================== */

/* ---------- Homepage process preview ---------- */
.process-preview{background:#fff;color:#000;padding-block:130px}
.pp-head{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.5fr);column-gap:8vw;align-items:end}
.pp-head .eyebrow{grid-column:1/-1}
.pp-head h2{font-size:clamp(44px,4.6vw,84px);line-height:1.03;margin-top:6px}
.pp-head p{font-size:15px;line-height:1.65;max-width:46ch;color:#595951}
.pp-head .text-link{grid-column:2;margin-top:18px}
.pp-rail{list-style:none;margin:70px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));counter-reset:none}
.pp-stage{position:relative;padding:28px 22px 6px 0}
.pp-stage+.pp-stage{padding-left:22px}
.pp-line{position:absolute;left:0;right:0;top:0;height:1px;background:#0003}
.pp-line:after{content:"";position:absolute;left:0;top:-4px;width:9px;height:9px;background:var(--gold);transform:rotate(45deg)}
.pp-stage+.pp-stage .pp-line:after{left:22px}
.pp-no{display:block;font-size:26px;line-height:1.15;letter-spacing:-.05em;color:#7a6f49;font-variant-numeric:tabular-nums}
.pp-time{display:block;font-size:10.5px;line-height:1.5;letter-spacing:.065em;text-transform:uppercase;color:#67675e;margin:14px 0 10px;min-height:2.9em}
.pp-title{font-size:clamp(20px,1.6vw,27px)!important;line-height:1.12!important;letter-spacing:-.045em}
.pp-teaser{font-size:13px;line-height:1.6;margin-top:12px!important;color:#595951}
.pp-foot{display:flex;justify-content:space-between;align-items:center;gap:20px 50px;flex-wrap:wrap;margin-top:56px;padding-top:30px;border-top:1px solid #0003}
.pp-foot p{font-size:13px;line-height:1.65;max-width:70ch;color:#595951}

/* ---------- Client voices ---------- */
.voices{background:#f3f1ec;color:#000}
.voices-head{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.5fr);column-gap:8vw;align-items:end;margin-bottom:70px}
.voices-head .eyebrow{grid-column:1/-1}
.voices-head h2{font-size:clamp(44px,4.6vw,84px);line-height:1.03;margin-top:6px}
.voices-head p{font-size:15px;line-height:1.65;max-width:46ch;color:#595951}
.voices-body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:6vw;align-items:start}
.voices-related{display:grid;gap:42px}
.voices-disclosure{font-size:13px;line-height:1.6;color:#595951;max-width:46ch;padding-top:4px;border-top:1px solid #0003;padding-top:18px}
.voices-disclosure .eyebrow{margin-bottom:8px;color:#000}

.voice{margin:0;position:relative}
.voice-mark{display:block;font-family:Instrument Serif,Georgia,serif;font-style:italic;font-size:110px;line-height:.62;height:.42em;color:var(--gold)}
.voice-quote{margin:0}
.voice-quote p{font-size:17px;line-height:1.6;letter-spacing:-.01em;max-width:52ch}
.voice-quote p{text-indent:-.4em}
.voice-quote{border-top:2px solid var(--gold);padding-top:24px}
.voice-uk p{text-indent:-.4em}
.voice--lead .voice-mark{font-size:170px}
.voice--lead .voice-quote p{font-size:clamp(23px,2.15vw,36px);line-height:1.3;letter-spacing:-.035em;max-width:30ch}
.voice-by{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin-top:22px;padding-top:14px;border-top:1px solid #0003;font-size:12px;color:#595951}
.voice-name{font-size:14px;font-weight:500;color:#000}
.voice-rel{color:#000}
.voice-note{font-style:italic;color:#6b6b62;margin-left:auto}
.voice-original{margin-top:6px}
.voice-original summary{list-style:none;display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:12px;cursor:pointer;border-bottom:1px solid #0004}
.voice-original summary::-webkit-details-marker{display:none}
.voice-original summary:after{content:"+";font-size:15px;margin-left:12px;transition:transform .4s var(--ease)}
.voice-original[open] summary:after{transform:rotate(45deg)}
.voice-original summary:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.voice-uk{margin:14px 0 0;padding:4px 0 4px 18px;border-left:2px solid var(--gold)}
.voice-uk p{font-size:15px;line-height:1.65;max-width:56ch;color:#2c2c28}

/* ---------- Case-study note ---------- */
.case-voice{display:grid;grid-template-columns:minmax(0,.55fr) minmax(0,2fr);gap:5vw;border-top:1px solid #0000001f}
.case-voice>div{max-width:900px}
.case-voice .voice-quote p{font-size:clamp(20px,1.8vw,28px);line-height:1.4;letter-spacing:-.03em;max-width:40ch}
.case-cross{margin-top:46px!important;padding-top:24px;border-top:1px solid #0000001f}
.case-cross .eyebrow{margin-bottom:4px}
.about-cross{margin:6px 0 22px}
.case-cross .text-link,.about-cross{max-width:100%}

@media (max-width:1100px){
 .voices-body{grid-template-columns:1fr;gap:60px}
 .voices-related{grid-template-columns:1fr 1fr;gap:40px 5vw}
 .voices-disclosure{grid-column:1/-1}
 .pp-rail{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:30px}
 .pp-stage:nth-child(4){padding-left:0}
 .pp-stage:nth-child(4) .pp-line:after{left:0}
}
@media (max-width:800px){
 .process-preview{padding-block:90px}
 .pp-head,.voices-head{grid-template-columns:1fr;row-gap:20px}
 .pp-head .text-link{grid-column:1}
 .pp-head h2,.voices-head h2{font-size:clamp(40px,11vw,60px)}
 .voices-head{margin-bottom:46px}
 .pp-rail{grid-template-columns:1fr;margin-top:46px;row-gap:0}
 .pp-stage,.pp-stage+.pp-stage{padding:22px 0 22px 34px}
 .pp-line{left:6px;right:auto;top:0;bottom:0;width:1px;height:auto}
 .pp-line:after,.pp-stage+.pp-stage .pp-line:after{left:-4px;top:30px}
 .pp-stage:last-child .pp-line{bottom:auto;height:34px}
 .pp-time{min-height:0;margin:8px 0 8px}
 .pp-no{font-size:22px}
 .voices-related{grid-template-columns:1fr}
 .voice--lead .voice-mark{font-size:120px}
 .voice-note{margin-left:0;flex-basis:100%}
 .case-voice{grid-template-columns:1fr;gap:20px}
}

/* 1.5.1 — collapsible related notes (homepage), About links row */
.voice--clamp.is-clamped .voice-quote p{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;padding-left:.4em;margin-left:-.4em}
.voice-more{display:inline-flex;align-items:center;min-height:44px;margin-top:6px;font-size:12px;border-bottom:1px solid #0004;cursor:pointer}
.voice-more:after{content:"+";margin-left:12px;font-size:15px}
.voice-more[aria-expanded="true"]:after{content:"–"}
.voice-more:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.about-links{display:flex;flex-wrap:wrap;gap:0 34px;margin:6px 0 22px}
.about-links .about-cross{margin:0}
@media (max-width:800px){.voice--clamp.is-clamped .voice-quote p{-webkit-line-clamp:6}}

/* 1.9.0 — multi-paragraph notes (MV GROUP) and the stacked left column on the homepage */
.voices-main{display:grid;gap:56px}
.voice-quote p+p,.voice-uk p+p{text-indent:0;margin-top:.9em}
.voice--multi.is-clamped .voice-quote{max-height:calc(17px * 1.6 * 7 + 26px);overflow:hidden;padding-left:.5em;margin-left:-.5em;-webkit-mask-image:linear-gradient(#000 calc(100% - 3em),transparent);mask-image:linear-gradient(#000 calc(100% - 3em),transparent)}
.voice--multi.is-clamped .voice-quote p{display:block;-webkit-line-clamp:unset;overflow:visible}
