/* ============================================================================
   Customer stories: the "voice" block (testimonial + measured impact + link)
   Sits in .cx__left under the film frame. Every selector is scoped under .cxv.
   Markup reference: tools/brand/stories-voice.html
   Motion: transform and opacity only, on small elements, keyed off .cx__panel.on
   ============================================================================ */
.cxv{position:relative;container-type:inline-size;margin:clamp(50px,4.4vw,64px) 0 clamp(6px,1.2vw,18px);color:#fff}
.cxv,.cxv *{border-radius:0;box-sizing:border-box}

/* ---- the words: one navy panel, lime quotation block hanging on its top edge ---- */
.cxv .cxv__voice{position:relative;margin:0;padding:clamp(34px,6cqw,44px) clamp(20px,5cqw,34px) clamp(20px,4.4cqw,28px);background:#080E5E}
.cxv .cxv__mark{position:absolute;left:clamp(20px,5cqw,34px);top:0;width:46px;height:46px;margin-top:-23px;display:grid;place-items:center;background:#E7FF5A;color:#080E5E}
.cxv .cxv__mark svg{width:26px;height:26px;display:block}
.cxv .cxv__quote{margin:0;padding:0;border:0;background:none}
.cxv .cxv__quote p{margin:0;font:500 clamp(19px,3.9cqw,25px)/1.34 var(--display);letter-spacing:-.018em;color:#fff;text-wrap:pretty}
.cxv .cxv__quote em{font-style:normal;color:#E7FF5A}

/* ---- the signature line: portrait on a lime offset block, name, title, link ---- */
.cxv .cxv__by{display:flex;align-items:center;flex-wrap:wrap;gap:16px 18px;margin-top:clamp(20px,4cqw,26px);padding-top:clamp(18px,3.6cqw,22px);border-top:1px solid rgba(255,255,255,.16)}
.cxv .cxv__face{position:relative;flex:none;width:68px;height:68px;margin:0 6px 6px 0}
.cxv .cxv__face::before{content:"";position:absolute;inset:0;background:#E7FF5A;transform:translate(6px,6px)}
.cxv .cxv__face>span{position:absolute;inset:0;overflow:hidden;background:#0203E9}
.cxv .cxv__face img{position:absolute;left:0;top:0;width:100%;height:100%;max-width:none;object-fit:cover;display:block}
/* a large cut-out portrait (transparent PNG): zoom to head and shoulders on the blue tile */
.cxv .cxv__face--cut img{width:200%;height:200%;left:-56%;top:-4%}
.cxv .cxv__who{flex:1 1 180px;min-width:0;display:flex;flex-direction:column;gap:5px;font:400 13.5px/1.35 var(--body);color:#C9CEF5}
.cxv .cxv__who b{font:600 17px/1.15 var(--display);letter-spacing:-.012em;color:#fff}
.cxv .cxv__more{flex:none;display:inline-flex;align-items:center;gap:12px;margin-left:auto;font:600 14.5px/1 var(--body);color:#fff;text-decoration:none;white-space:nowrap}
.cxv .cxv__more i{display:grid;place-items:center;width:38px;height:38px;background:#E7FF5A;color:#080E5E;transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.cxv .cxv__more svg{display:block}
.cxv .cxv__more:hover i{transform:translateX(5px)}
.cxv .cxv__more:focus-visible{outline:2px solid #E7FF5A;outline-offset:6px}

/* ---- the measured impact: a strip of solid cells, flush under the panel ---- */
.cxv .cxv__impact{list-style:none;margin:0;padding:0;display:flex;align-items:stretch}
.cxv .cxv__cell{flex:1 1 0;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:12px;margin:0;padding:clamp(16px,3.4cqw,22px) clamp(14px,3.2cqw,22px) clamp(15px,3cqw,20px);background:#0203E9;color:#fff}
.cxv .cxv__cell b{display:block;font:600 clamp(26px,6.4cqw,42px)/1 var(--display);letter-spacing:-.04em;font-variant-numeric:tabular-nums;white-space:nowrap}
.cxv .cxv__cell span{display:block;font:500 13.5px/1.35 var(--body);color:#DADDFF;text-wrap:balance}
.cxv .cxv__cell:nth-child(2){background:#E7FF5A;color:#080E5E}
.cxv .cxv__cell:nth-child(2) span{color:#262C5E}
.cxv .cxv__cell:nth-child(3){background:#fff;color:#0203E9}
.cxv .cxv__cell:nth-child(3) span{color:#4A5068}
/* a cell whose figure is a long word pair gets a little more of the strip */
.cxv .cxv__cell--wide{flex-grow:1.35}

/* ---- narrow block (phones, tight columns): cells become rows, link drops to its own line ---- */
@container (max-width:470px){
  .cxv .cxv__impact{flex-direction:column}
  .cxv .cxv__cell{flex:none;flex-direction:row;align-items:center;justify-content:flex-start;gap:16px;padding:15px 20px}
  .cxv .cxv__cell b{flex:none;min-width:3.1em;font-size:30px}
  .cxv .cxv__cell span{text-wrap:pretty}
  .cxv .cxv__more{margin-left:0;flex-basis:100%;justify-content:space-between;padding-top:14px;border-top:1px solid rgba(255,255,255,.16)}
  .cxv .cxv__face{width:60px;height:60px}
}

/* ---- entrance, when the story becomes the active tab ---- */
.cx__panel.on .cxv .cxv__mark{animation:cxvPop .55s .3s cubic-bezier(.2,.8,.25,1.15) both}
.cx__panel.on .cxv .cxv__face::before{animation:cxvBlock .6s .5s cubic-bezier(.2,.8,.25,1.1) both}
.cx__panel.on .cxv .cxv__cell>*{animation:cxvUp .55s cubic-bezier(.2,.7,.2,1) both}
.cx__panel.on .cxv .cxv__cell:nth-child(1)>*{animation-delay:.3s}
.cx__panel.on .cxv .cxv__cell:nth-child(2)>*{animation-delay:.4s}
.cx__panel.on .cxv .cxv__cell:nth-child(3)>*{animation-delay:.5s}
@keyframes cxvPop{from{opacity:0;transform:translateY(10px) scale(.6)}to{opacity:1;transform:none}}
@keyframes cxvBlock{from{transform:translate(0,0)}to{transform:translate(6px,6px)}}
@keyframes cxvUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
  .cx__panel.on .cxv .cxv__mark,.cx__panel.on .cxv .cxv__face::before,.cx__panel.on .cxv .cxv__cell>*{animation:none!important}
  .cxv .cxv__more i{transition:none}
}
