/* Clients: themed case cards that tilt, glint and flip (Nov 3). */
.screen-clients .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.screen-clients .clients-layout{max-width:1240px;margin:0 auto;padding:44px 24px 120px;display:flex;flex-direction:column;align-items:center}
.screen-clients .clients-display{margin:0 0 34px;text-align:center;color:#fff;font-family:var(--display,system-ui);font-weight:var(--display-weight,900);letter-spacing:var(--display-track,-.035em);font-size:clamp(44px,6.2vw,80px);line-height:.95}
.screen-clients .clients-grid{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.screen-clients .clients-cta{margin-top:38px}

/* card shell */
.screen-clients .client-card{--rx:0deg;--ry:0deg;--gx:50%;--gy:0%;position:relative;height:clamp(480px,38vw,548px);perspective:1600px;animation:cc-in .7s cubic-bezier(.2,1,.3,1) both;animation-delay:calc(var(--i,0)*90ms + 60ms)}
@keyframes cc-in{from{opacity:0;transform:translateY(34px) scale(.97)}}
.screen-clients .client-flip{all:unset;box-sizing:border-box;position:relative;display:block;width:100%;height:100%;cursor:pointer;transform-style:preserve-3d;transition:transform .75s cubic-bezier(.2,1.15,.3,1);transform:rotateX(var(--rx)) rotateY(var(--ry))}
.screen-clients .client-card:hover .client-flip{transition:transform .2s ease-out}
.screen-clients .client-card.is-flipped .client-flip{transform:rotateY(180deg);transition:transform .75s cubic-bezier(.2,1.15,.3,1)}
.screen-clients .client-flip:focus-visible{outline:2px solid #fff;outline-offset:6px;border-radius:34px}
.screen-clients .client-face{position:absolute;inset:0;display:flex;flex-direction:column;padding:28px 28px 26px;border-radius:32px;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden;background:var(--bg);color:var(--ink);box-shadow:0 1px 0 rgba(255,255,255,.08) inset,0 26px 60px -18px rgba(0,0,0,.65),0 0 0 1px var(--edge,rgba(255,255,255,.06))}
.screen-clients .client-back{transform:rotateY(180deg);background:var(--bg2,var(--bg))}
.screen-clients .client-card:hover .client-front{box-shadow:0 1px 0 rgba(255,255,255,.1) inset,0 40px 80px -20px var(--glow,rgba(0,0,0,.7)),0 0 0 1px var(--edge,rgba(255,255,255,.08))}
.screen-clients .cc-glare{position:absolute;inset:0;pointer-events:none;background:radial-gradient(520px circle at var(--gx) var(--gy),rgba(255,255,255,.42),transparent 42%);mix-blend-mode:soft-light;opacity:0;transition:opacity .3s}
.screen-clients .client-card:hover .cc-glare{opacity:1}

/* top row */
.screen-clients .cc-top{position:relative;z-index:2;display:flex;align-items:center;gap:14px;min-height:64px}
.screen-clients .cc-icon{width:64px;height:64px;flex:0 0 auto;border-radius:16px;box-shadow:0 6px 18px rgba(0,0,0,.22),inset 0 0 0 1px rgba(255,255,255,.18);object-fit:cover}
.screen-clients .cc-icon-sm{width:44px;height:44px;border-radius:12px}
.screen-clients .cc-mono{display:grid;place-items:center;background:var(--accent);color:var(--bg);font:900 24px/1 var(--display,system-ui);letter-spacing:-.04em}
.screen-clients .cc-mono.cc-icon-sm{font-size:17px}
.screen-clients .cc-id{display:flex;flex-direction:column;gap:3px;min-width:0}
.screen-clients .cc-id b{font:800 19px/1.1 var(--display,system-ui);letter-spacing:-.02em}
.screen-clients .cc-id small{font-size:13.5px;opacity:.68}
.screen-clients .cc-num{margin-left:auto;align-self:flex-start;font:600 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em;opacity:.5}
.screen-clients .cc-lockup{height:36px;width:auto}
.screen-clients .cc-lockup-sm{height:30px}

/* motif + headline + foot */
.screen-clients .cc-motif{position:relative;z-index:1;flex:1;display:grid;place-items:center;min-height:0}
.screen-clients .cc-headline{position:relative;z-index:2;font-family:var(--display,system-ui);font-weight:900;font-size:clamp(32px,3vw,44px);line-height:.94;letter-spacing:-.035em;max-width:11ch}
.screen-clients .cc-foot{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}
.screen-clients .cc-tag{padding:7px 12px;border-radius:999px;background:var(--chip);color:var(--chip-ink,var(--ink));font:700 12.5px/1 var(--display,system-ui);letter-spacing:-.01em;white-space:nowrap}
.screen-clients .cc-hint{display:inline-flex;align-items:center;gap:8px;margin-left:auto;font-size:13.5px;font-weight:600;opacity:.75;transition:opacity .2s}
.screen-clients .cc-hint i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--chip);font-style:normal;font-size:15px;transition:transform .5s cubic-bezier(.2,1.3,.3,1)}
.screen-clients .client-card:hover .cc-hint{opacity:1}
.screen-clients .client-card:hover .cc-hint i{transform:rotate(180deg)}

/* back: story steps */
.screen-clients .cc-steps{position:relative;z-index:2;list-style:none;margin:26px 0 0;padding:0;display:flex;flex-direction:column;gap:18px;flex:1}
.screen-clients .cc-steps li{position:relative;padding-left:40px;display:flex;flex-direction:column;gap:5px;counter-increment:cc}
.screen-clients .cc-steps{counter-reset:cc}
.screen-clients .cc-steps li::before{content:counter(cc);position:absolute;left:0;top:-2px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--chip);font:800 12px/1 var(--display,system-ui)}
.screen-clients .cc-steps li:not(:last-child)::after{content:"";position:absolute;left:12.5px;top:28px;bottom:-16px;width:1px;background:currentColor;opacity:.18}
.screen-clients .cc-steps b{font:700 11.5px/1 var(--display,system-ui);letter-spacing:.14em;text-transform:uppercase;opacity:.62}
.screen-clients .cc-steps span{font-size:16px;line-height:1.42}
.screen-clients .cc-steps .cc-win{padding:14px 14px 14px 52px;margin-left:-12px;border-radius:18px;background:var(--win)}
.screen-clients .cc-steps .cc-win::before{left:12px;top:12px;background:var(--accent);color:var(--bg)}
.screen-clients .cc-steps .cc-win b{opacity:.85}

/* JetQuest: cream travel poster, red route */
.screen-clients .cc-jetquest{--bg:#f4ecdf;--bg2:#f1e7d6;--ink:#1f1612;--accent:#d8362c;--chip:rgba(31,22,18,.08);--win:rgba(216,54,44,.1);--glow:rgba(216,54,44,.45);--edge:rgba(31,22,18,.1)}
.screen-clients .cc-flight{width:100%;max-width:330px;overflow:visible}
.screen-clients .cc-route{fill:none;stroke:var(--accent);stroke-width:2.6;stroke-linecap:round;stroke-dasharray:1.5 9}
.screen-clients .cc-stop{fill:var(--bg);stroke:var(--accent);stroke-width:3}
.screen-clients .cc-stop-end{fill:var(--accent)}
.screen-clients .cc-flight text{fill:var(--ink);opacity:.55;font:700 11px var(--display,system-ui);letter-spacing:.08em;text-transform:uppercase}
.screen-clients .cc-plane path{fill:var(--ink)}

/* SkipHold: midnight with a live voice wave */
.screen-clients .cc-skiphold{--bg:radial-gradient(120% 90% at 70% 40%,#0b1a33 0%,#05070d 62%);--bg2:#070b15;--ink:#e8f1ff;--accent:#3b8fe0;--chip:rgba(120,170,255,.13);--win:rgba(59,143,224,.16);--glow:rgba(45,160,255,.5);--edge:rgba(120,170,255,.16)}
.screen-clients .cc-wave{display:flex;align-items:center;gap:5px;height:150px}
.screen-clients .cc-wave i{width:6px;height:calc(var(--h) * 1.5px);border-radius:6px;background:linear-gradient(180deg,#5fd7ff,#3b8fe0 55%,#2bd4b4);box-shadow:0 0 14px rgba(59,180,255,.45);transform-origin:center;animation:cc-wave 1.25s ease-in-out infinite alternate;animation-delay:var(--d)}
@keyframes cc-wave{from{transform:scaleY(.38);opacity:.7}to{transform:scaleY(1);opacity:1}}
.screen-clients .client-card:hover .cc-wave i{animation-duration:.6s}

/* Blockwise: mint ledger paper, checks tick in */
.screen-clients .cc-blockwise{--bg:repeating-linear-gradient(180deg,transparent 0 33px,rgba(15,46,28,.07) 33px 34px),#d7f5da;--bg2:#d2f2d6;--ink:#0f2e1c;--accent:#0f7a40;--chip:rgba(15,46,28,.09);--win:rgba(15,122,64,.13);--glow:rgba(15,122,64,.45);--edge:rgba(15,46,28,.12)}
.screen-clients .cc-ledger{display:flex;flex-direction:column;gap:13px;width:100%;max-width:300px}
.screen-clients .cc-row{display:flex;align-items:center;gap:12px}
.screen-clients .cc-bar{flex:0 0 var(--w);height:12px;border-radius:7px;background:rgba(15,46,28,.14)}
.screen-clients .cc-check{margin-left:auto;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--accent);box-shadow:0 4px 10px rgba(15,122,64,.3)}
.screen-clients .cc-check svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.screen-clients .client-card:hover .cc-check{animation:cc-tick .55s cubic-bezier(.2,1.5,.3,1) both;animation-delay:calc(var(--i) * 90ms)}
@keyframes cc-tick{0%{transform:scale(0);opacity:0}100%{transform:scale(1);opacity:1}}

@media (max-width:900px){.screen-clients .clients-grid{grid-template-columns:1fr;max-width:460px}.screen-clients .client-card{height:500px}}
@media (max-width:760px){.screen-clients .clients-layout{padding:28px 16px 150px}.screen-clients .clients-display{font-size:clamp(40px,12vw,52px);margin-bottom:24px}}
@media (prefers-reduced-motion: reduce){
  .screen-clients .client-card{animation:none}
  .screen-clients .client-flip,.screen-clients .client-card.is-flipped .client-flip{transition:none}
  .screen-clients .cc-wave i,.screen-clients .client-card:hover .cc-check{animation:none}
  .screen-clients .cc-hint i{transition:none}
}

/* Story videos on the card backs: the back face plays the client's story on flip (Nov 3). */
.screen-clients .client-back.has-video{padding:0}
.screen-clients .cc-video{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;object-fit:cover;background:var(--bg2,var(--bg))}
.screen-clients .client-back.has-video>.cc-top,.screen-clients .client-back.has-video>.cc-steps{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.screen-clients .client-back.has-video>.cc-foot{position:absolute;top:14px;left:14px;z-index:2;margin:0}
.screen-clients .client-back.has-video .cc-hint{margin:0;gap:7px;padding:5px 5px 5px 12px;border-radius:999px;background:rgba(8,9,15,.55);color:#fff;opacity:.92;font-size:12.5px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.screen-clients .client-back.has-video .cc-hint i{width:24px;height:24px;font-size:13px;background:rgba(255,255,255,.16)}
.screen-clients .cc-sound,.screen-clients .cc-end{position:absolute;z-index:5;border:0;cursor:pointer;visibility:hidden;opacity:0;transition:opacity .25s ease,transform .25s ease,visibility 0s linear .25s}
.screen-clients .cc-sound{top:14px;right:14px;width:38px;height:38px;padding:0;border-radius:50%;display:grid;place-items:center;background:rgba(8,9,15,.55);color:#fff;transform:scale(.85);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.screen-clients .cc-sound svg{width:20px;height:20px;fill:currentColor}
.screen-clients .cc-sound .wave{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
.screen-clients .cc-sound .ico-off,.screen-clients .cc-sound.is-muted .ico-on{display:none}
.screen-clients .cc-sound.is-muted .ico-off{display:block}
.screen-clients .cc-end{left:50%;bottom:24px;padding:13px 22px;text-decoration:none;border-radius:999px;background:#fff;color:#08090f;font:800 15px/1 var(--display,system-ui);letter-spacing:-.01em;white-space:nowrap;transform:translate(-50%,10px);box-shadow:0 14px 34px -10px rgba(0,0,0,.6)}
.screen-clients .client-card.is-flipped .cc-sound{visibility:visible;opacity:1;transform:none;transition:opacity .3s ease .45s,transform .3s ease .45s,visibility 0s linear .45s}
.screen-clients .client-card.is-flipped.is-ended .cc-end{visibility:visible;opacity:1;transform:translate(-50%,0);transition:opacity .3s ease,transform .3s ease,visibility 0s}
.screen-clients .cc-sound:focus-visible,.screen-clients .cc-end:focus-visible{outline:2px solid #fff;outline-offset:3px}
