/* Veltrex home — the employee cards in the workforce coverflow ([data-wfstage]).
   The coverflow itself (position, scale, tilt, opacity, blur and the outer shadow of each card)
   stays inline, set by renderVals(); this file only dresses the card. Card hover lifts with the
   `translate` property so it composes with the coverflow's own transform instead of replacing it.
   Robot images: the JPEGs sit on a flat navy (about rgb(21,22,28)) and Ada/Otto are transparent,
   so the image is lightened onto a card surface that starts at that navy and feathered at the
   edges by a mask; no box edge is left. Colours: champagne (--vxtitle) for the name and accents,
   white for text. */
.vxw-card{--vxw-gold:var(--vxtitle,#EBD2A6);--vxw-ease:cubic-bezier(.2,.7,.3,1);background:linear-gradient(180deg,#17181E 0%,#121318 44%,#0B0C10 100%);translate:0 0}
/* the border: ~10% white, brighter along the top edge, laid over the content so images can't cover it */
.vxw-card::after{content:"";position:absolute;inset:0;z-index:3;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),inset 0 1px 0 rgba(255,255,255,.16);transition:box-shadow .26s var(--vxw-ease)}
.vxw-card > div{z-index:1}

/* ---------- The portrait ---------- */
/* takes the height the text leaves, so a card with an extra row of chips gives up a little portrait, never its
   padding. Its surface holds at the photos' navy (or lighter) so 'lighten' hides their backgrounds, and fades out
   at the bottom together with the image's own mask. */
.vxw-media{flex:1 1 0;min-height:200px;position:relative;overflow:hidden;background:linear-gradient(180deg,#17181E 0%,#16171D 70%,rgba(22,23,29,0) 100%)}
/* a faint champagne spotlight behind the robot, from the top */
.vxw-media::before{content:"";position:absolute;inset:-10% -10% 0;background:radial-gradient(52% 58% at 50% 30%,rgba(235,210,166,.13),rgba(235,210,166,.04) 55%,rgba(235,210,166,0) 75%);opacity:.8;transition:opacity .26s var(--vxw-ease)}
.vxw-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:50% 12%;mix-blend-mode:lighten;-webkit-mask-image:radial-gradient(78% 82% at 50% 38%,#000 52%,rgba(0,0,0,0) 100%),linear-gradient(180deg,#000 70%,rgba(0,0,0,0) 100%);mask-image:radial-gradient(78% 82% at 50% 38%,#000 52%,rgba(0,0,0,0) 100%),linear-gradient(180deg,#000 70%,rgba(0,0,0,0) 100%);-webkit-mask-composite:source-in;mask-composite:intersect;transform-origin:50% 40%;transition:transform .28s var(--vxw-ease)}

/* ---------- The text ----------
   name (largest, champagne) → role (small, muted, wide tracking) → tagline → chips → action */
.vxw-body{flex:none;display:flex;flex-direction:column;gap:8px;padding:16px 24px 22px}
.vxw-name{align-self:flex-start;font-family:Archivo,sans-serif;font-weight:500;font-size:38px;line-height:1.02;letter-spacing:-.045em;background:linear-gradient(180deg,#FBF0DA 0%,var(--vxw-gold) 52%,#CDAA72 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
/* --vxw-ink is set per coverflow position: .6 on the front card, brighter on the dimmed side cards */
.vxw-role{font-size:11px;line-height:1.3;letter-spacing:.22em;text-transform:uppercase;color:rgba(255,255,255,var(--vxw-ink,.6));transition:color 800ms ease}
.vxw-tag{margin:4px 0 0;font-size:16px;line-height:1.45;color:#FFFFFF;text-wrap:pretty}
.vxw-rule{flex:none;height:1px;margin:2px 0;background:linear-gradient(90deg,rgba(235,210,166,.34),rgba(235,210,166,0))}

.vxw-chips{display:flex;flex-wrap:wrap;gap:6px}
.vxw-chip{display:inline-flex;align-items:center;gap:7px;box-sizing:border-box;height:26px;padding:0 11px;border-radius:999px;border:1px solid rgba(235,210,166,.2);background:rgba(255,255,255,.035);font-size:10.5px;line-height:1;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;color:rgba(255,255,255,.86)}
.vxw-dia{flex:none;width:5px;height:5px;background:var(--vxw-gold);transform:rotate(45deg)}

/* ---------- The action ----------
   The shared origin button (its fill and label inversion untouched), dressed as a glass pill. */
.vxob.vxw-cta{min-height:44px;padding:0 24px;border:1px solid rgba(255,255,255,.14);border-top-color:rgba(255,255,255,.28);border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.03)),#141519;box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 8px 22px -10px rgba(0,0,0,.9);transition:color .3s var(--ob-ease),transform .15s ease-out,border-color .26s ease-out}
.vxob.vxw-cta:hover{border-color:rgba(235,210,166,.4)}
.vxw-cta .vxob__label > span{display:inline-block;transition:transform .26s var(--vxw-ease)}
.vxw-cta:hover .vxob__label > span,.vxw-cta:focus-visible .vxob__label > span{transform:translateX(3px)}
.vxob.vxw-cta:focus-visible{outline:2px solid var(--vxw-gold);outline-offset:3px}

/* ---------- Hover ---------- */
@media (hover:hover) and (pointer:fine){
  .vxw-card:hover{translate:0 -5px}
  .vxw-card:hover::after{box-shadow:inset 0 0 0 1px rgba(255,255,255,.17),inset 0 1px 0 rgba(235,210,166,.42)}
  .vxw-card:hover .vxw-media::before{opacity:1}
  .vxw-card:hover .vxw-img{transform:scale(1.03)}
}

@media (prefers-reduced-motion:reduce){
  .vxw-card:hover{translate:none}
  .vxw-card:hover .vxw-img,.vxw-cta:hover .vxob__label > span,.vxw-cta:focus-visible .vxob__label > span{transform:none}
}
@media (forced-colors:active){
  .vxw-name{background:none;color:CanvasText;-webkit-text-fill-color:CanvasText}
  .vxw-img{mix-blend-mode:normal}
}
