/* Clients: logo badges, featured carousel, filterable client grid and the client detail page. */
:root { --cx-ink: #0B1023; --cx-muted: #64748B; --cx-line: #ECE9F8; --cx-grad: linear-gradient(135deg, #2D5BFF, #7B3CF5 55%, #FF3D9A); --cx-ease: cubic-bezier(.16, 1, .3, 1); }

/* ---------- logo badge ---------- */
.cx-logo { flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; border: 1px solid var(--cx-line); overflow: hidden; }
.cx-logo img { width: 78%; height: 78%; object-fit: contain; }
.cx-logo-mono { color: #fff; font: 800 1rem/1 var(--font-heading, inherit); letter-spacing: .02em; border: 0;
    background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #0B1023)); box-shadow: 0 10px 22px -12px var(--brand); }
.cx-logo-sm { width: 30px; height: 30px; border-radius: 9px; font-size: .68rem; }
.cx-logo-lg { width: 64px; height: 64px; border-radius: 18px; font-size: 1.3rem; }
.cx-logo-xl { width: 92px; height: 92px; border-radius: 26px; font-size: 1.9rem; box-shadow: 0 24px 50px -24px rgba(11, 16, 35, .7); }
.cx-wm { display: inline-flex; align-items: center; gap: .6rem; }

.cx-photo-empty { display: block; position: absolute; inset: 0; width: 100%; height: 100%; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--brand) 70%, #fff), var(--brand) 45%, #0B1023); }
/* ---------- directory ---------- */
.cx-dir { background: linear-gradient(180deg, #fff, #F7F6FC); }
.cx-filters { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .9rem 1.2rem; margin-bottom: 1.8rem; }
.cx-filter-row { display: flex; gap: .45rem; overflow-x: auto; padding: .3rem; margin: -.3rem; scrollbar-width: none; min-width: 0; }
.cx-filter-row::-webkit-scrollbar { display: none; }
.cx-fchip { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid #E5E1F5; background: #fff;
    font: inherit; font-size: .86rem; font-weight: 700; color: #475569; cursor: pointer; transition: all .25s; }
.cx-fchip em { font-style: normal; font-size: .72rem; padding: .05rem .45rem; border-radius: 99px; background: rgba(255, 255, 255, .25); }
.cx-fchip:hover { border-color: #C4B5FD; color: #4C1D95; }
.cx-fchip.is-on { color: #fff; border-color: transparent; background: var(--cx-grad); box-shadow: 0 12px 24px -14px rgba(123, 60, 245, .9); }
.cx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.cx-card { position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--cx-line); text-decoration: none !important; color: inherit;
    box-shadow: 0 24px 50px -40px rgba(43, 28, 120, .6); transition: transform .45s var(--cx-ease), box-shadow .45s, border-color .3s; }
.cx-card:hover { transform: translateY(-6px); border-color: #C4B5FD; box-shadow: 0 40px 70px -40px rgba(76, 29, 149, .6); }
.cx-card[hidden] { display: none; }
.cx-card-photo { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #EEE; }
.cx-card-photo img, .cx-card-photo .cx-photo-empty { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--cx-ease); }
.cx-card:hover .cx-card-photo img { transform: scale(1.07); }
.cx-card-status { position: absolute; left: .8rem; top: .8rem; padding: .28rem .65rem; border-radius: 999px; font-size: .7rem; font-weight: 800; color: #fff; background: rgba(11, 16, 35, .72); }
.cx-st-live::before, .cx-st-ongoing::before, .cx-st-building::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: .35rem; border-radius: 50%; vertical-align: 1px; background: #34D399; }
.cx-st-building::before { background: #FBBF24; }
.cx-st-ongoing::before { background: #60A5FA; }
.cx-card-body { display: flex; flex-direction: column; gap: .75rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.cx-card-brand { display: flex; align-items: center; gap: .75rem; margin-top: -2.4rem; }
.cx-card-brand .cx-logo { width: 56px; height: 56px; border-radius: 16px; border: 3px solid #fff; box-shadow: 0 12px 24px -14px rgba(11, 16, 35, .6); position: relative; z-index: 1; }
.cx-card-brand > span:last-child { padding-top: 1.4rem; display: flex; flex-direction: column; min-width: 0; }
.cx-card-brand strong { font-size: 1.08rem; color: var(--cx-ink); }
.cx-card-brand small { font-size: .78rem; color: var(--cx-muted); }
.cx-card-line { font-size: .9rem; line-height: 1.5; color: #475569; }
.cx-card-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.cx-card-chips em { font-style: normal; padding: .25rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; color: #5B21B6; background: #F3EEFF; }
.cx-card-chips em.is-more { color: #9D174D; background: #FDF2F8; }
.cx-card-go { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .84rem; font-weight: 800; color: #6D28D9; }
.cx-card-go i { transition: transform .25s; } .cx-card:hover .cx-card-go i { transform: translateX(4px); }
.cx-none { margin: 1.5rem 0 0; text-align: center; color: var(--cx-muted); }

/* ---------- client detail ---------- */
.cxd-hero { position: relative; padding: calc(var(--nav-height, 76px) + 3rem) 0 3rem; overflow: hidden; color: #fff; background: #07051A; isolation: isolate; }
.cxd-hero-bg { position: absolute; inset: 0; z-index: -1; }
.cxd-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cxd-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 5, 26, .55), #07051A 92%), radial-gradient(60% 60% at 10% 0%, color-mix(in srgb, var(--brand) 45%, transparent), transparent 70%); }
.cxd-hero .hw-crumbs a, .cxd-hero .hw-crumbs span { color: rgba(226, 232, 255, .75); }
.cxd-brand { display: flex; align-items: center; gap: 1.3rem; margin-top: 1.6rem; }
.cxd-brand h1 { margin: .35rem 0 0; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -.035em; color: #fff; }
.cxd-brand p { margin: .45rem 0 0; font-size: 1.05rem; color: rgba(226, 232, 255, .75); }
.cxd-status { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 800; background: rgba(255, 255, 255, .1); }
.cxd-status::before { display: none; } .cxd-status i { font-size: .45rem; color: #34D399; }
.cxd-facts { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.cxd-facts li { padding: .75rem 1rem; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.cxd-facts small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(226, 232, 255, .55); }
.cxd-facts strong { display: block; margin-top: .2rem; font-size: .95rem; color: #fff; }
.cxd-facts a { color: #C4B5FD; text-decoration: none; } .cxd-facts a i { font-size: .7rem; }
.cxd-results-band { background: #07051A; padding-bottom: 3rem; }
.cxd-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem; }
.cxd-results div { padding: 1.3rem; border-radius: 20px; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1); }
.cxd-results strong { display: block; font: 800 2.2rem/1 var(--font-heading, inherit); background: linear-gradient(120deg, #C4B5FD, #F9A8D4 60%, #FDBA74); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cxd-results span { display: block; margin-top: .45rem; font-size: .85rem; color: rgba(226, 232, 255, .7); }
.cxd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.cxd-block { margin-bottom: 2rem; }
.cxd-block p { margin: .9rem 0 0; font-size: 1.05rem; line-height: 1.75; color: #334155; }
.cxd-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 2.2rem 0; }
.cxd-gallery figure { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: #EEE; }
.cxd-gallery .cxd-g-main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.cxd-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--cx-ease); }
.cxd-gallery figure:hover img { transform: scale(1.04); }
.cxd-quote { position: relative; margin: 2rem 0 0; padding: 1.8rem 1.8rem 1.6rem; border-radius: 24px; background: linear-gradient(135deg, #F7F5FF, #FDF2F8); border: 1px solid #EDE9FE; }
.cxd-quote > i { font-size: 1.6rem; color: #A78BFA; }
.cxd-quote p { margin: .8rem 0 1.2rem; font-size: 1.2rem; line-height: 1.55; font-weight: 600; color: var(--cx-ink); }
.cxd-quote footer { display: flex; align-items: center; gap: .8rem; }
.cxd-quote footer img, .cxd-q-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.cxd-q-avatar { display: inline-grid; place-items: center; color: #fff; font-weight: 800; background: var(--brand); }
.cxd-quote footer span { display: flex; flex-direction: column; } .cxd-quote small { color: var(--cx-muted); }
.cxd-side { position: sticky; top: calc(var(--nav-height, 76px) + 1.5rem); display: flex; flex-direction: column; gap: 1rem; }
.cxd-card { padding: 1.4rem; border-radius: 24px; background: #fff; border: 1px solid var(--cx-line); box-shadow: 0 30px 60px -45px rgba(43, 28, 120, .6); }
.cxd-card h2 { margin: 0 0 1rem; font-size: 1.15rem; color: var(--cx-ink); }
.cxd-services { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.cxd-services a, .cxd-services span { display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem; border-radius: 14px; background: #F7F6FC; color: var(--cx-ink); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .2s, transform .25s; }
.cxd-services i { color: #16A34A; font-size: .8rem; }
.cxd-services em { margin-left: auto; font-size: .75rem; color: #A78BFA; }
.cxd-services a:hover { background: #F3EEFF; transform: translateX(3px); }
.cxd-cta { color: #fff; background: #0B0A1F; border: 0; }
.cxd-cta h2 { color: #fff; } .cxd-cta p { margin: 0 0 1.1rem; color: rgba(226, 232, 255, .75); line-height: 1.55; }
.cxd-muted { margin: 0; color: var(--cx-muted); }
.cxd-more { background: #F7F6FC; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) { .cx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
    .cxd-grid { grid-template-columns: 1fr; }
    .cxd-side { position: static; }
}
@media (max-width: 620px) {
    .cx-grid, .cx-grid-3 { grid-template-columns: 1fr; }
    .cx-filters { flex-direction: column; align-items: stretch; }
    .sv-pick { align-self: flex-start; }
    .cxd-brand { flex-direction: column; align-items: flex-start; }
    .cxd-gallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
}
@keyframes cxIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
    .cxd-results { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
    .cxd-results div { padding: 1rem; border-radius: 16px; }
    .cxd-results strong { font-size: 1.6rem; }
    .cxd-results span { font-size: .78rem; }
}

/* "Example" label on sample clients */
.cx-sample-tag { position: absolute; right: .8rem; top: .8rem; padding: .28rem .65rem; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #78350F; background: #FDE68A; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); }
.cx-sample-tag.is-inline { position: static; display: inline-block; vertical-align: middle; }
.cx-sample-note { display: inline-block; max-width: 100%; box-sizing: border-box; line-height: 1.5; margin-top: .9rem !important; padding: .55rem 1rem; border-radius: 999px; font-size: .85rem !important; color: #78350F !important; background: #FEF3C7; }
.cx-sample-note i { margin-right: .35rem; color: #D97706; }
h3 .cx-sample-tag, .cxd-status + .cx-sample-tag { font-family: inherit; }

/* ---------- featured clients: 3D coverflow ---------- */
.cf { --cw: min(820px, 72vw); position: relative; padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3.5rem, 6vw, 5rem); background: #06041A; color: #fff; overflow: hidden; isolation: isolate; }
.cf-ambient { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cf-amb { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease;
    background: radial-gradient(42% 46% at 50% 52%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 72%),
                radial-gradient(40% 50% at 8% 0%, rgba(109, 40, 217, .35), transparent 70%), radial-gradient(40% 50% at 100% 100%, rgba(219, 39, 119, .22), transparent 70%); }
.cf-amb.is-on { opacity: 1; }
.cf-grain { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px;
    -webkit-mask: radial-gradient(70% 60% at 50% 50%, #000, transparent); mask: radial-gradient(70% 60% at 50% 50%, #000, transparent); }
.cf-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.cf-head h2 { margin: .7rem 0 0; max-width: 16ch; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.04; letter-spacing: -.035em; color: #fff; }
.cf .hw-kicker { color: #E9D5FF; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); }
.cf-meter { display: flex; flex-direction: column; align-items: flex-end; gap: .8rem; }
.cf-big { display: inline-flex; align-items: baseline; gap: .45rem; font-family: var(--font-heading, inherit); line-height: .9; letter-spacing: -.04em; }
.cf-big b { font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 800; background: linear-gradient(135deg, #fff 10%, #C4B5FD 55%, #F9A8D4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cf-big b.is-flip { animation: cfFlip .6s var(--cx-ease); }
.cf-big small { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; color: rgba(255, 255, 255, .4); }
.cf-segs { display: flex; gap: 6px; }
.cf-segs i { position: relative; width: 42px; height: 4px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .14); cursor: pointer; }
.cf-segs i::before { content: ''; position: absolute; inset: -8px 0; }
.cf-segs b { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #F9A8D4); transform: scaleX(0); transform-origin: left; }
@keyframes cfFlip { from { opacity: 0; transform: translateY(40%); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.cf-stage { position: relative; }
.cf-nav { position: absolute; top: 50%; z-index: 300; display: flex; align-items: center; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; transform: translateY(-50%); -webkit-tap-highlight-color: transparent; }
.cf-nav-prev { right: calc(50% + var(--cw) / 2 - 32px); flex-direction: row-reverse; }
.cf-nav-next { left: calc(50% + var(--cw) / 2 - 32px); }
.cf-nav-btn { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 1.05rem;
    background: rgba(14, 10, 40, .55); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .18);
    transition: transform .5s var(--cx-ease), background .35s, border-color .35s, color .35s, box-shadow .35s; }
.cf-nav-btn::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; opacity: 0; transition: opacity .35s;
    background: conic-gradient(from 0deg, #4F46E5, #A855F7, #EC4899, #F59E0B, #4F46E5); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.cf-nav-btn i { transition: transform .45s var(--cx-ease); }
.cf-nav-tip { display: flex; flex-direction: column; gap: .15rem; max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; text-align: left; transition: max-width .5s var(--cx-ease), opacity .3s, margin .5s var(--cx-ease); }
.cf-nav-prev .cf-nav-tip { text-align: right; }
.cf-nav-tip small { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.cf-nav-tip strong { font-size: .95rem; font-weight: 800; }
@media (hover: hover) {
    .cf-nav:hover .cf-nav-btn { transform: scale(1.08); background: #fff; color: #1E1B4B; border-color: transparent; box-shadow: 0 24px 50px -16px rgba(167, 139, 250, .7); }
    .cf-nav:hover .cf-nav-btn::before { opacity: 1; }
    .cf-nav-next:hover .cf-nav-btn i { transform: translateX(3px); }
    .cf-nav-prev:hover .cf-nav-btn i { transform: translateX(-3px); }
    .cf-nav:hover .cf-nav-tip { max-width: 14rem; opacity: 1; padding: .55rem .9rem; border-radius: 14px; background: rgba(14, 10, 40, .82); border: 1px solid rgba(255, 255, 255, .14); }
    .cf-nav-next:hover .cf-nav-tip { margin-left: .7rem; }
    .cf-nav-prev:hover .cf-nav-tip { margin-right: .7rem; }
}
.cf-nav:active .cf-nav-btn { transform: scale(.92); }
.cf-nav:focus-visible { outline: 0; }
.cf-nav:focus-visible .cf-nav-btn { box-shadow: 0 0 0 3px #C4B5FD; }

.cf-deck { position: relative; height: calc(var(--cw) * .6); margin: 0 auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: 0; cursor: grab; }
.cf-deck.is-drag { cursor: grabbing; }
.cf-card { position: absolute; left: 50%; top: 0; width: var(--cw); height: 100%; margin-left: calc(var(--cw) / -2); border-radius: 28px; will-change: transform, opacity;
    transition: transform .9s var(--cx-ease), opacity .7s ease; }
.cf-deck.is-drag .cf-card { transition: none; }
.cf-link { position: absolute; inset: 0; display: block; border-radius: inherit; overflow: hidden; color: #fff; text-decoration: none; background: #120E2E;
    box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); -webkit-user-drag: none; }
.cf-card.is-active .cf-link { box-shadow: 0 60px 110px -40px color-mix(in srgb, var(--brand) 70%, #000), 0 0 0 1px rgba(255, 255, 255, .16); }
.cf-media, .cf-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cf-media img { transform: scale(1.12); transition: transform 8s cubic-bezier(.2, .6, .3, 1); }
.cf-card.is-active .cf-media img { transform: scale(1.02); }
.cf-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 4, 26, .94) 0%, rgba(6, 4, 26, .55) 38%, rgba(6, 4, 26, 0) 68%), linear-gradient(90deg, rgba(6, 4, 26, .35), transparent 50%); transition: background .6s; }
.cf-card:not(.is-active) .cf-shade { background: rgba(6, 4, 26, .62); }
.cf-top { position: absolute; left: 1.2rem; top: 1.2rem; right: 1.2rem; display: flex; gap: .45rem; align-items: center; }
.cf-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: 999px; font-size: .74rem; font-weight: 800; background: rgba(6, 4, 26, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .14); }
.cf-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); }
.cf-pill.cf-st-building::before { background: #FBBF24; box-shadow: 0 0 0 3px rgba(251, 191, 36, .25); }
.cf-pill.cf-st-ongoing::before { background: #60A5FA; box-shadow: 0 0 0 3px rgba(96, 165, 250, .25); }
.cf-over { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; padding: clamp(1.1rem, 3vw, 2rem); }
.cf-over > *, .cf-top { opacity: 0; transform: translateY(18px); transition: opacity .6s ease .15s, transform .8s var(--cx-ease) .15s; }
.cf-card.is-active .cf-over > *, .cf-card.is-active .cf-top { opacity: 1; transform: none; }
.cf-card.is-active .cf-results { transition-delay: .3s; }
.cf-brand { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.cf-brand strong { display: block; font: 800 clamp(1.3rem, 2.6vw, 2rem)/1.05 var(--font-heading, inherit); letter-spacing: -.03em; }
.cf-brand small { display: block; margin-top: .3rem; font-size: .92rem; color: rgba(226, 232, 255, .78); }
.cf-results { display: flex; gap: .5rem; }
.cf-results > span { display: flex; flex-direction: column; gap: .2rem; min-width: 96px; padding: .7rem .85rem; border-radius: 16px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cf-results b { font: 800 1.35rem/1 var(--font-heading, inherit); background: linear-gradient(120deg, #DDD6FE, #F9A8D4 60%, #FDBA74); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cf-results em { font-style: normal; font-size: .72rem; color: rgba(226, 232, 255, .72); }
.cf-go { position: absolute; right: 1.2rem; top: 1.2rem; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #0B1023; opacity: 0; transform: scale(.6) rotate(-45deg); transition: transform .5s var(--cx-ease), opacity .3s; }
.cf-card.is-active .cf-link:hover .cf-go, .cf-card.is-active .cf-link:focus-visible .cf-go { opacity: 1; transform: none; }

.cf-details { display: grid; max-width: 980px; margin: clamp(1.6rem, 3.5vw, 2.4rem) auto 0; }
.cf-detail { grid-area: 1 / 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.2rem 2.4rem; align-items: start; }
.cf-detail.is-active { animation: cfIn .7s var(--cx-ease) both; }
.cf-detail[hidden] { display: none; }
.cf-facts { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .9rem; padding: 0; list-style: none; }
.cf-facts li { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 700; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #E2E8FF; }
.cf-facts i { color: #C4B5FD; font-size: .75rem; }
.cf-detail-main p { margin: 0; font-size: 1.02rem; line-height: 1.7; color: rgba(226, 232, 255, .82); }
.cf-label { display: block; margin-bottom: .55rem; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(226, 232, 255, .55); }
.cf-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.cf-chips li { padding: .4rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #EDE9FE; background: linear-gradient(135deg, rgba(79, 70, 229, .4), rgba(219, 39, 119, .28)); border: 1px solid rgba(196, 181, 253, .28); }
.cf-more { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.4rem; border-radius: 999px; background: #fff; color: #0B1023; font-weight: 800; text-decoration: none; transition: transform .35s var(--cx-ease), box-shadow .35s; }
.cf-more:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(255, 255, 255, .55); color: #0B1023; }
.cf-more i { transition: transform .35s var(--cx-ease); } .cf-more:hover i { transform: translateX(4px); }
.cf-tabs { display: flex; justify-content: center; gap: .5rem; margin: clamp(1.8rem, 4vw, 2.6rem) -.3rem 0; padding: .3rem; overflow-x: auto; scrollbar-width: none; }
.cf-tabs::-webkit-scrollbar { display: none; }
.cf-tab { position: relative; flex: none; display: inline-flex; align-items: center; gap: .55rem; padding: .4rem 1rem .4rem .4rem; border-radius: 999px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: rgba(226, 232, 255, .7); font-size: .86rem; font-weight: 700; cursor: pointer; transition: color .3s, background .3s, border-color .3s; }
.cf-tab:hover { color: #fff; border-color: rgba(255, 255, 255, .25); }
.cf-tab.is-active { color: #fff; background: rgba(255, 255, 255, .1); border-color: color-mix(in srgb, var(--brand) 70%, #fff 10%); }
.cf-tab .cx-logo { position: relative; z-index: 1; } .cf-tab span { position: relative; z-index: 1; }
.cf-tab-fill { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--brand), #F9A8D4); transform: scaleX(0); transform-origin: left; }
@keyframes cfIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .cf { --cw: 84vw; } .cf-detail { grid-template-columns: 1fr; } .cf-results > span { min-width: 0; } }
@media (max-width: 620px) {
    .cf { --cw: 86vw; }
    .cf-deck { height: calc(var(--cw) * 1.18); }
    .cf-card, .cf-link { border-radius: 22px; }
    .cf-over { flex-direction: column; align-items: stretch; gap: .9rem; }
    .cf-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cf-results > span { padding: .6rem; }
    .cf-results b { font-size: 1.05rem; }
    .cf-results em { font-size: .66rem; }
    .cf-meter { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
    .cf-big b { font-size: 2.6rem; }
    .cf-segs i { width: 26px; }
    .cf-nav-btn { width: 46px; height: 46px; font-size: .9rem; }
    .cf-nav-prev { right: calc(50% + var(--cw) / 2 - 23px); }
    .cf-nav-next { left: calc(50% + var(--cw) / 2 - 23px); }
    .cf-tabs { justify-content: flex-start; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
    .cf-tab .cf-tab-name { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .cf-card, .cf-media img, .cf-over > *, .cf-top { transition: none; } .cf-detail.is-active { animation: none; } }

/* ---------- service filter popup (bottom sheet on phones) ---------- */
.sv-pick { position: relative; flex: none; }
.sv-pick-btn { display: inline-flex; align-items: center; gap: .5rem; height: 46px; padding: 0 1.05rem; border-radius: 999px; border: 1px solid #E5E1F5; background: #fff; color: #475569; font: inherit; font-size: .9rem; cursor: pointer;
    box-shadow: 0 10px 24px -20px rgba(43, 28, 120, .6); transition: border-color .25s, box-shadow .25s; }
.sv-pick-btn > i:first-child { color: #7B3CF5; }
.sv-pick-btn strong { color: #1E1B4B; font-weight: 800; max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-pick-btn:hover, .sv-pick.is-open .sv-pick-btn { border-color: #C4B5FD; box-shadow: 0 0 0 4px rgba(123, 60, 245, .1); }
.sv-pick.is-set .sv-pick-btn { border-color: #A78BFA; background: linear-gradient(135deg, #F7F3FF, #FFF5FA); }
.sv-pick-chev { font-size: .7rem; color: #94A3B8; transition: transform .3s var(--cx-ease); }
.sv-pick.is-open .sv-pick-chev { transform: rotate(180deg); }
.sv-pick-x { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #EDE9FE; color: #6D28D9; font-size: .7rem; }
.sv-pick-x[hidden] { display: none; }
.sv-pick-x:hover { background: #DDD6FE; }
.sv-pop { position: absolute; left: 0; top: calc(100% + 10px); z-index: 60; width: 360px; max-width: calc(100vw - 32px); display: flex; flex-direction: column; max-height: min(460px, 70vh); padding: .6rem;
    border-radius: 20px; background: rgba(255, 255, 255, .98); border: 1px solid #ECE7FB; box-shadow: 0 40px 80px -30px rgba(43, 28, 120, .45), 0 8px 20px -12px rgba(43, 28, 120, .2);
    opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top left; transition: opacity .22s ease, transform .3s var(--cx-ease); }
.sv-pick.is-open .sv-pop, .sv-pop.is-open { opacity: 1; transform: none; }
.sv-pop[hidden] { display: none; }
.sv-pop-grip, .sv-pop-head { display: none; }
.sv-search { position: relative; display: flex; align-items: center; gap: .5rem; flex: none; height: 42px; padding: 0 .4rem 0 .85rem; margin-bottom: .4rem; border-radius: 12px; background: #F7F5FF; border: 1px solid transparent; color: #94A3B8; transition: border-color .2s, background .2s; }
.sv-search:focus-within { border-color: #C4B5FD; background: #fff; }
.sv-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: #1E1B4B; }
.sv-search input::-webkit-search-cancel-button { display: none; }
.sv-search-x { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #EDE9FE; color: #6D28D9; font-size: .75rem; cursor: pointer; }
.sv-search-x[hidden] { display: none; }
.sv-list { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-right: .1rem; }
.sv-group { padding-top: .35rem; }
.sv-group[hidden] { display: none; }
.sv-group-name { display: flex; align-items: center; gap: .45rem; padding: .55rem .7rem .3rem; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #94A3B8; }
.sv-group-name i { color: #A78BFA; }
.sv-opt { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .62rem .75rem; border: 0; border-radius: 11px; background: transparent; text-align: left; font: inherit; font-size: .92rem; font-weight: 600; color: #334155; cursor: pointer; transition: background .15s; }
.sv-opt > i { width: 18px; color: #A78BFA; }
.sv-opt span { flex: 1; min-width: 0; }
.sv-opt em { font-style: normal; font-size: .72rem; font-weight: 800; color: #94A3B8; padding: .12rem .45rem; border-radius: 99px; background: #F1F5F9; }
.sv-opt:hover, .sv-opt.is-hi { background: #F7F5FF; }
.sv-opt.is-on { background: linear-gradient(135deg, #F3EEFF, #FDF2F8); color: #4C1D95; }
.sv-opt.is-on em { background: #fff; color: #7B3CF5; }
.sv-opt[hidden] { display: none; }
.sv-empty { margin: 0; padding: 1.2rem .8rem; text-align: center; font-size: .88rem; color: #94A3B8; }
.sv-empty[hidden] { display: none; }
.sv-backdrop { position: fixed; inset: 0; z-index: 1190; background: rgba(11, 16, 35, .45); opacity: 0; transition: opacity .3s; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.sv-backdrop.is-on { opacity: 1; }
@media (max-width: 640px) {
    .sv-pick, .sv-pick-btn { width: 100%; }
    .sv-pick-btn strong { flex: 1; text-align: left; max-width: none; }
    .sv-pop { position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: 1200; width: auto; max-width: none; max-height: 82vh; max-height: 82dvh; padding: .4rem 1rem calc(1rem + env(safe-area-inset-bottom));
        border-radius: 26px 26px 0 0; transform: translateY(100%); transform-origin: bottom; transition: transform .45s var(--cx-ease), opacity .2s; opacity: 1; }
    .sv-pick.is-open .sv-pop, .sv-pop.is-open { transform: none; }
    .sv-pop-grip { display: block; width: 42px; height: 5px; margin: .35rem auto .5rem; border-radius: 99px; background: #E2E8F0; }
    .sv-pop-head { display: flex; align-items: center; justify-content: space-between; padding: .2rem .2rem .7rem; }
    .sv-pop-head strong { font-size: 1.05rem; color: #0B1023; }
    .sv-pop-close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #F1F5F9; color: #475569; cursor: pointer; }
    .sv-opt { padding: .8rem .8rem; font-size: .98rem; }
}

/* ---------- hero centre: what we build ---------- */
.cl-core .cl-core-label { font-size: .68rem !important; font-weight: 800 !important; letter-spacing: .14em; text-transform: uppercase; color: #A78BFA !important; }
.cl-core .cl-core-words { position: relative; display: grid; max-width: none; width: 74%; height: 4.6em; margin-top: .15rem; }
.cl-core .cl-word { max-width: none; grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; font: 800 clamp(.74rem, 1.05vw, .9rem)/1.12 var(--font-heading, inherit); text-wrap: balance; overflow-wrap: anywhere; color: #1E1B4B; text-align: center;
    opacity: 0; transform: translateY(12px) scale(.96); filter: blur(4px); transition: opacity .5s ease, transform .6s var(--cx-ease), filter .5s; }
.cl-core .cl-word i { flex: none; font-size: 1.25em; background: linear-gradient(135deg, #4F46E5, #7B3CF5 55%, #E9358F); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cl-core .cl-word.is-on { opacity: 1; transform: none; filter: none; }
.cl-core .cl-word.is-out { opacity: 0; transform: translateY(-12px) scale(.96); }
@media (max-width: 520px) {
    .cl-core .cl-core-label { font-size: .56rem !important; }
    .cl-core .cl-core-words { width: 90%; }  /* room for 'Development' on one line instead of 'Developmen-t' */
    .cl-core .cl-word { font-size: .64rem; gap: .15rem; }
}
.cf-go i { transform: rotate(-45deg); }

/* phones: compact card title, logo-only client tabs (the active one shows its name), note as one block */
@media (max-width: 620px) {
    .cx-sample-note { border-radius: 16px; padding: .7rem 1rem; text-align: center; }
    .cf-head h2 { font-size: clamp(1.7rem, 7.6vw, 2.2rem); }
    .cf-brand { gap: .7rem; }
    .cf-brand .cx-logo-lg { width: 48px; height: 48px; border-radius: 14px; font-size: 1rem; }
    .cf-brand strong { font-size: 1.3rem; }
    .cf-brand small { font-size: .82rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .cf-top { left: .9rem; top: .9rem; right: .9rem; }
    .cf-tabs { justify-content: center; flex-wrap: nowrap; gap: .35rem; margin: 1.6rem 0 0; padding: .2rem 0; overflow: visible; }
    .cf-tab { flex: 0 1 auto; min-width: 0; padding: .22rem; gap: 0; }
    .cf-tab .cf-tab-name { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; transition: max-width .45s var(--cx-ease), opacity .3s, margin .45s var(--cx-ease); }
    .cf-tab.is-active { padding-right: .9rem; }
    .cf-tab.is-active .cf-tab-name { max-width: 8.5em; text-overflow: ellipsis; opacity: 1; margin-left: .45rem; }
    .cf-detail-main p { font-size: .95rem; }
}

/* Phones and tablets: filters and tabs wrap onto lines instead of scrolling sideways */
@media (max-width: 991px) {
    .cx-filter-row, .cf-tabs { flex-wrap: wrap; overflow: visible; }
}
