/* ============================================================
   WDA — CASE STUDY TEMPLATE
   Extends the WDA UI Kit (tokens.css · kit.css · motion.css ·
   wda.css). Only case-study composition lives here; every
   value reads existing design tokens. Reusable across cases —
   swap the HTML content blocks, the layout components stay.
   ============================================================ */

/* ---- shared section rhythm (mirrors .sec from wda.css) ---- */
.cs { position: relative; padding: clamp(64px, 9vw, 116px) var(--page-margin-tablet); }
.cs--tint { background: var(--color-bg-surface); }
.cs--ink { background: var(--color-ink); color: #fff; }
.cs-wrap { max-width: 1200px; margin: 0 auto; }
.cs-wrap--narrow { max-width: 880px; }

.cs-head { max-width: 760px; }
.cs-head--center { margin: 0 auto; text-align: center; }
.cs-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-eyebrow); font-weight: var(--fw-bold); letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-brand); margin: 0 0 16px; }
.cs-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--color-brand-mix-line); }
.cs--ink .cs-eyebrow { color: var(--color-brand-primary); }
.cs-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(27px, 3.7vw, 40px); line-height: 1.12; letter-spacing: -.02em; margin: 0; color: var(--color-text-primary); }
.cs--ink .cs-title { color: #fff; }
.cs-lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--color-text-secondary); margin: 18px 0 0; }
.cs--ink .cs-lead { color: var(--color-text-on-dark-muted); }

/* ============================================================
   STICKY CASE NAVIGATION (desktop only)
   ============================================================ */
.cs-rail { position: fixed; left: 24px; top: 50%; transform: translateY(-50%); z-index: var(--z-float); display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: var(--radius-lg); background: rgba(255,255,255,.72); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border: 1px solid var(--color-border-default); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: opacity var(--motion-duration-standard) var(--motion-easing-standard), visibility var(--motion-duration-standard); }
.cs-rail.is-on { opacity: 1; visibility: visible; }
.cs-rail a { display: flex; align-items: center; gap: 12px; padding: 9px 14px 9px 10px; border-radius: var(--radius-sm); text-decoration: none; color: var(--color-text-muted); font-size: 13px; font-weight: var(--fw-semibold); white-space: nowrap; transition: color var(--dur), background var(--dur); }
.cs-rail a .tick { width: 8px; height: 8px; border-radius: 50%; background: var(--color-border-strong); flex: none; transition: background var(--dur), transform var(--dur); }
.cs-rail a:hover { color: var(--color-text-primary); background: var(--color-bg-surface); }
.cs-rail a.is-active { color: var(--color-text-primary); }
.cs-rail a.is-active .tick { background: var(--color-brand-primary); transform: scale(1.35); box-shadow: 0 0 0 4px rgba(var(--color-brand-primary-rgb),.18); }
@media (max-width: 1320px) { .cs-rail { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.cs-hero { position: relative; padding: 132px var(--page-margin-tablet) clamp(56px, 7vw, 96px); overflow: hidden; background: var(--color-bg-page); }
.cs-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.cs-hero__bg::before, .cs-hero__bg::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); }
.cs-hero__bg::before { width: 640px; height: 640px; top: -240px; right: -140px; background: radial-gradient(circle, rgba(var(--color-brand-primary-rgb),.20), transparent 68%); }
.cs-hero__bg::after { width: 520px; height: 520px; bottom: -280px; left: -180px; background: radial-gradient(circle, rgba(var(--color-brand-secondary-rgb),.10), transparent 70%); }
.cs-hero__grid { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(var(--color-border-default) 1px, transparent 1px), linear-gradient(90deg, var(--color-border-default) 1px, transparent 1px); background-size: 58px 58px; -webkit-mask-image: radial-gradient(ellipse 78% 72% at 62% 32%, #000 0%, transparent 76%); mask-image: radial-gradient(ellipse 78% 72% at 62% 32%, #000 0%, transparent 76%); opacity: .45; }
.cs-hero__inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: 60px; align-items: center; }

.cs-crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--color-text-muted); flex-wrap: wrap; margin-bottom: 22px; }
.cs-crumbs a { text-decoration: none; color: var(--color-text-muted); transition: color var(--dur); }
.cs-crumbs a:hover { color: var(--color-text-brand); }
.cs-crumbs .sep { opacity: .5; }
.cs-crumbs .current { color: var(--color-text-primary); font-weight: var(--fw-semibold); }

.cs-hero__badge { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 16px; border-radius: var(--radius-pill); background: var(--color-brand-tint); color: var(--color-text-brand); font-size: 12.5px; font-weight: var(--fw-bold); letter-spacing: .02em; border: 1px solid var(--color-brand-tint-strong); }
.cs-hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-gradient); box-shadow: 0 0 0 4px rgba(var(--color-brand-primary-rgb),.18); }

.cs-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4.4vw, 39px); line-height: 1.05; letter-spacing: -.025em; margin: 20px 0 0; color: var(--color-text-primary); }
.cs-hero h1 .accent { background: var(--gradient-accent-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.cs-hero__lead { font-size: clamp(16px, 1.55vw, 19px); line-height: 1.6; color: var(--color-text-secondary); max-width: 560px; margin: 22px 0 0; }
.cs-hero__lead b { color: var(--color-text-primary); font-weight: var(--fw-semibold); }

.cs-hero__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 26px 0 0; font-size: 14px; font-weight: var(--fw-semibold); color: var(--color-text-secondary); }
.cs-hero__facts .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--color-border-strong); }

.cs-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cs-hero__scroll { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); font-weight: var(--fw-bold); background: none; border: 0; cursor: pointer; padding: 0; font-family: var(--font-sans); }
.cs-hero__scroll .ln { width: 42px; height: 1.5px; background: var(--color-border-strong); position: relative; overflow: hidden; }
.cs-hero__scroll .ln::after { content: ""; position: absolute; inset: 0; background: var(--color-brand-primary); animation: csScroll 1.9s var(--motion-easing-standard) infinite; }
@keyframes csScroll { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }
.cs-hero__scroll:hover { color: var(--color-text-primary); }
@media (prefers-reduced-motion: reduce) { .cs-hero__scroll .ln::after { animation: none; } }

/* ---- hero ecosystem visual ---- */
.cs-eco { position: relative; z-index: 2; min-height: 480px; display: grid; place-items: center; }
.cs-eco__lines { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.cs-eco__lines path { fill: none; stroke: var(--color-brand-secondary); stroke-width: 1.5; stroke-dasharray: 5 7; opacity: .5; animation: csDash 1.1s linear infinite; }
@keyframes csDash { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) { .cs-eco__lines path { animation: none; } }

.cs-eco__core { position: relative; z-index: 3; width: min(360px, 100%); background: var(--color-bg-page); border: 1px solid var(--color-border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.cs-eco__bar { display: flex; align-items: center; gap: 9px; padding: 12px 15px; border-bottom: 1px solid var(--color-border-default); background: var(--color-bg-surface); }
.cs-eco__bar .dots { display: flex; gap: 6px; }
.cs-eco__bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--color-border-strong); }
.cs-eco__bar .ttl { font-size: 12px; font-weight: var(--fw-bold); color: var(--color-text-muted); margin-left: 4px; }
.cs-eco__bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: var(--fw-bold); color: var(--color-text-brand); }
.cs-eco__bar .live .d { width: 6px; height: 6px; border-radius: 50%; background: var(--color-brand-primary); animation: pulseDot 2s var(--motion-easing-soft) infinite; }
.cs-eco__body { padding: 14px; display: grid; gap: 11px; }

.cs-eco__deal { border: 1px solid var(--color-border-default); border-radius: var(--radius-md); padding: 13px; background: var(--color-bg-page); }
.cs-eco__deal-top { display: flex; align-items: center; gap: 10px; }
.cs-eco__av { width: 34px; height: 34px; border-radius: 50%; background: var(--color-brand-tint); color: var(--color-text-brand); display: grid; place-items: center; font-weight: var(--fw-bold); font-size: 13px; flex: none; }
.cs-eco__deal-n { font-size: 13.5px; font-weight: var(--fw-bold); }
.cs-eco__deal-sub { font-size: 11.5px; color: var(--color-text-muted); display: flex; align-items: center; gap: 6px; }
.cs-eco__src { width: 16px; height: 16px; border-radius: 5px; display: grid; place-items: center; color: #fff; }
.cs-eco__src svg { width: 10px; height: 10px; }
.cs-eco__sla { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: var(--fw-bold); color: var(--color-state-success); background: var(--color-state-success-tint); padding: 4px 9px; border-radius: var(--radius-pill); flex: none; }
.cs-eco__sla svg { width: 12px; height: 12px; }
.cs-eco__stage { display: flex; gap: 4px; margin-top: 12px; }
.cs-eco__stage i { height: 5px; flex: 1; border-radius: 3px; background: var(--color-border-strong); }
.cs-eco__stage i.on { background: var(--color-brand-primary); }
.cs-eco__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--color-border-default); border-radius: var(--radius-md); background: var(--color-bg-surface); }
.cs-eco__row .k { font-size: 11.5px; color: var(--color-text-muted); display: inline-flex; align-items: center; gap: 8px; font-weight: var(--fw-semibold); }
.cs-eco__row .k svg { width: 15px; height: 15px; color: var(--color-text-brand); }
.cs-eco__row .v { font-size: 13px; font-weight: var(--fw-bold); color: var(--color-text-primary); font-family: var(--font-display); }
.cs-eco__row .v.paid { color: var(--color-state-success); }
.cs-eco__row .v.sync { display: inline-flex; align-items: center; gap: 6px; color: var(--color-text-brand); }
.cs-eco__row .v.sync svg { width: 13px; height: 13px; }

/* floating service nodes around core */
.cs-eco__node { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 15px 0 11px; border-radius: var(--radius-pill); background: var(--color-bg-page); border: 1px solid var(--color-border-default); box-shadow: var(--shadow-md); font-size: 12.5px; font-weight: var(--fw-bold); color: var(--color-text-primary); white-space: nowrap; }
.cs-eco__node .ci { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; color: #fff; flex: none; }
.cs-eco__node .ci svg { width: 14px; height: 14px; }
.cs-eco__node.f { animation: floaty 6.5s ease-in-out infinite; }
.cs-eco__node--wa { top: 4%; left: -4%; animation-delay: 0s; }
.cs-eco__node--ig { top: 26%; right: -6%; animation-delay: .7s; }
.cs-eco__node--calc { bottom: 30%; left: -8%; animation-delay: 1.2s; }
.cs-eco__node--stripe { bottom: 6%; right: -2%; animation-delay: 1.7s; }
.cs-eco__node--book { bottom: -2%; left: 14%; animation-delay: 2.2s; }
@media (prefers-reduced-motion: reduce) { .cs-eco__node.f { animation: none; } }

.ci-wa { background: #25D366; } .ci-ig { background: linear-gradient(135deg,#f9ce34,#ee2a7b,#6228d7); } .ci-calc { background: var(--color-ink); } .ci-stripe { background: #635BFF; } .ci-book { background: var(--color-brand-primary); color: var(--color-text-on-brand) !important; } .ci-kpi { background: var(--color-text-primary); }

/* ============================================================
   EXECUTIVE SUMMARY STRIP
   ============================================================ */
.cs-summary { position: relative; z-index: 3; max-width: 1160px; margin: 0 auto; }
.cs-summary__inner { background: var(--color-bg-page); border: 1px solid var(--color-border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: grid; grid-template-columns: repeat(4, 1fr); }
.cs-summary__item { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-left: 1px solid var(--color-border-default); }
.cs-summary__item:first-child { border-left: 0; }
.cs-summary__ic { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--color-brand-tint); color: var(--color-text-brand); display: grid; place-items: center; flex: none; }
.cs-summary__ic svg { width: 20px; height: 20px; }
.cs-summary__k { font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); margin: 0 0 4px; }
.cs-summary__v { font-size: 14.5px; font-weight: var(--fw-bold); color: var(--color-text-primary); line-height: 1.3; }

/* ============================================================
   CLIENT CONTEXT
   ============================================================ */
.cs-context__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cs-context__visual { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3; background: var(--color-ink); box-shadow: var(--shadow-lg); }
.cs-context__visual img { width: 100%; height: 100%; object-fit: cover; }
.cs-context__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,16,32,.42), transparent 55%), linear-gradient(0deg, rgba(11,16,32,.5), transparent 50%); }
.cs-context__tag { position: absolute; z-index: 2; left: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 15px; border-radius: var(--radius-pill); background: rgba(255,255,255,.92); backdrop-filter: blur(6px); font-size: 12.5px; font-weight: var(--fw-bold); color: var(--color-text-primary); }
.cs-context__tag svg { width: 15px; height: 15px; color: var(--color-text-brand); }
.cs-context__body p { font-size: var(--fs-body-lg); line-height: 1.65; color: var(--color-text-secondary); margin: 18px 0 0; }

/* ============================================================
   CHALLENGE CARDS  (restrained — no aggressive red)
   ============================================================ */
.cs-challenges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.cs-challenge { background: var(--color-bg-page); border: 1px solid var(--color-border-default); border-radius: var(--radius-lg); padding: 26px; transition: transform var(--motion-duration-standard) var(--motion-easing-standard), box-shadow var(--motion-duration-standard), border-color var(--motion-duration-standard); }
.cs-challenge:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cs-challenge__ic { width: 46px; height: 46px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--color-state-warning-tint); color: var(--color-state-warning); margin-bottom: 18px; }
.cs-challenge__ic svg { width: 23px; height: 23px; }
.cs-challenge__n { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--color-text-muted); letter-spacing: .06em; }
.cs-challenge h3 { font-size: var(--fs-h5); font-weight: var(--fw-bold); margin: 4px 0 10px; letter-spacing: -.01em; }
.cs-challenge p { margin: 0; font-size: 14px; color: var(--color-text-secondary); line-height: 1.55; }

/* ============================================================
   TRANSFORMATION DIAGRAM
   ============================================================ */
.cs-transform { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; margin-top: 56px; }
.cs-transform__col { display: flex; flex-direction: column; gap: 10px; }
.cs-transform__label { font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.cs-transform__col--before .cs-transform__label { color: var(--color-text-muted); }
.cs-transform__col--after .cs-transform__label { color: var(--color-text-brand); }
.cs-transform__chip { display: flex; align-items: center; gap: 11px; padding: 13px 16px; border-radius: var(--radius-md); font-size: 14px; font-weight: var(--fw-semibold); }
.cs-transform__col--before .cs-transform__chip { background: var(--color-bg-page); border: 1px solid var(--color-border-default); color: var(--color-text-secondary); }
.cs-transform__col--before .cs-transform__chip .d { width: 7px; height: 7px; border-radius: 2px; background: var(--color-border-strong); flex: none; }
.cs-transform__col--after .cs-transform__chip { background: linear-gradient(0deg, var(--color-brand-tint), var(--color-bg-page)); border: 1px solid var(--color-brand-tint-strong); color: var(--color-text-primary); }
.cs-transform__col--after .cs-transform__chip .d { width: 20px; height: 20px; border-radius: 50%; background: var(--color-brand-primary); color: var(--color-text-on-brand); display: grid; place-items: center; flex: none; }
.cs-transform__col--after .cs-transform__chip .d svg { width: 12px; height: 12px; }
.cs-transform__hub { width: 196px; height: 196px; border-radius: 50%; background: var(--color-ink); color: #fff; display: grid; place-items: center; text-align: center; position: relative; box-shadow: var(--shadow-lg); flex: none; }
.cs-transform__hub::before, .cs-transform__hub::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(var(--color-brand-primary-rgb),.4); animation: hubRing 3s var(--motion-easing-soft) infinite; }
.cs-transform__hub::after { animation-delay: 1.5s; }
@media (prefers-reduced-motion: reduce) { .cs-transform__hub::before, .cs-transform__hub::after { animation: none; } }
.cs-transform__hub-in { position: relative; z-index: 2; padding: 18px; }
.cs-transform__hub .bb { display: inline-block; font-size: 10px; font-weight: var(--fw-bold); letter-spacing: .14em; text-transform: uppercase; color: var(--color-brand-primary); }
.cs-transform__hub h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; margin: 8px 0 0; letter-spacing: -.01em; }
.cs-transform__hub p { font-size: 12px; color: var(--color-text-on-dark-muted); margin: 6px 0 0; }

/* ============================================================
   ALTERNATING SOLUTION SECTIONS
   ============================================================ */
.cs-sol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.cs-sol > * { min-width: 0; }
.cs-sol + .cs-sol { margin-top: clamp(64px, 8vw, 104px); }
.cs-sol--rev .cs-sol__text { order: 2; }
.cs-sol__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--color-text-brand); margin: 0 0 16px; }
.cs-sol__eyebrow .num { font-size: 13px; }
.cs-sol__eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--color-brand-mix-line); }
.cs-sol h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(23px, 2.8vw, 31px); line-height: 1.16; letter-spacing: -.02em; margin: 0; }
.cs-sol__lead { font-size: var(--fs-body-lg); line-height: 1.62; color: var(--color-text-secondary); margin: 16px 0 0; }
.cs-sol__points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.cs-sol__points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--color-text-primary); font-weight: var(--fw-medium); }
.cs-sol__points .ic { width: 22px; height: 22px; border-radius: 50%; background: var(--color-brand-tint); color: var(--color-text-brand); display: grid; place-items: center; flex: none; margin-top: 1px; }
.cs-sol__points .ic svg { width: 13px; height: 13px; }

/* solution visual frame (reuses crmwin language) */
.cs-frame { background: var(--color-bg-page); border: 1px solid var(--color-border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.cs-frame__bar { display: flex; align-items: center; gap: 9px; padding: 12px 15px; border-bottom: 1px solid var(--color-border-default); background: var(--color-bg-surface); }
.cs-frame__bar .dots { display: flex; gap: 6px; }
.cs-frame__bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--color-border-strong); }
.cs-frame__bar .ttl { font-size: 12px; font-weight: var(--fw-bold); color: var(--color-text-muted); margin-left: 4px; }
.cs-frame__bar .tag { margin-left: auto; font-size: 10.5px; font-weight: var(--fw-bold); color: var(--color-text-brand); display: inline-flex; align-items: center; gap: 6px; }
.cs-frame__bar .tag .d { width: 6px; height: 6px; border-radius: 50%; background: var(--color-brand-primary); }
.cs-frame__body { padding: 16px; display: grid; gap: 11px; }

/* unified inbox (sec 1) */
.cs-inbox { display: grid; gap: 9px; }
.cs-inbox__msg { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border: 1px solid var(--color-border-default); border-radius: var(--radius-md); background: var(--color-bg-page); }
.cs-inbox__msg.is-sel { border-color: var(--color-brand-tint-strong); box-shadow: 0 0 0 3px rgba(var(--color-brand-primary-rgb),.1); }
.cs-inbox__ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; color: #fff; }
.cs-inbox__ic svg { width: 16px; height: 16px; }
.cs-inbox__b { min-width: 0; flex: 1; }
.cs-inbox__b .n { font-size: 13px; font-weight: var(--fw-bold); color: var(--color-text-primary); display: flex; align-items: center; gap: 7px; }
.cs-inbox__b .src { font-size: 10px; font-weight: var(--fw-bold); letter-spacing: .04em; text-transform: uppercase; color: var(--color-text-muted); }
.cs-inbox__b .t { font-size: 12px; color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-inbox__mgr { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: var(--fw-bold); color: var(--color-text-brand); flex: none; }
.cs-inbox__mgr .av { width: 22px; height: 22px; border-radius: 50%; background: var(--color-brand-tint); display: grid; place-items: center; font-size: 10px; }

/* generic key/value rows + pipeline reused via .cs-eco classes */
.cs-pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cs-pipe__stage { border: 1px solid var(--color-border-default); border-radius: var(--radius-md); background: var(--color-bg-surface); padding: 10px 9px; min-height: 92px; display: flex; flex-direction: column; gap: 8px; }
.cs-pipe__stage h5 { font-size: 10.5px; font-weight: var(--fw-bold); letter-spacing: .03em; color: var(--color-text-muted); margin: 0; display: flex; justify-content: space-between; }
.cs-pipe__stage h5 b { color: var(--color-text-primary); }
.cs-pipe__card { background: var(--color-bg-page); border: 1px solid var(--color-border-default); border-radius: var(--radius-sm); padding: 7px 8px; font-size: 10.5px; font-weight: var(--fw-semibold); color: var(--color-text-secondary); }
.cs-pipe__card.is-active { border-color: var(--color-brand-primary); box-shadow: 0 0 0 2px rgba(var(--color-brand-primary-rgb),.14); color: var(--color-text-primary); }
.cs-pipe__card .src { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.cs-pipe__card .src .b { width: 13px; height: 13px; border-radius: 4px; display: grid; place-items: center; color: #fff; }
.cs-pipe__card .src .b svg { width: 9px; height: 9px; }
.cs-route { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px dashed var(--color-brand-tint-strong); border-radius: var(--radius-md); background: var(--color-brand-tint); font-size: 12px; font-weight: var(--fw-bold); color: var(--color-text-brand); }
.cs-route svg { width: 16px; height: 16px; }

/* calculator (sec 3) */
.cs-calc { display: grid; gap: 10px; }
.cs-calc__param { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border: 1px solid var(--color-border-default); border-radius: var(--radius-md); background: var(--color-bg-page); font-size: 13px; }
.cs-calc__param .k { color: var(--color-text-secondary); font-weight: var(--fw-semibold); display: inline-flex; align-items: center; gap: 9px; }
.cs-calc__param .k svg { width: 16px; height: 16px; color: var(--color-text-brand); }
.cs-calc__param .v { font-weight: var(--fw-bold); color: var(--color-text-primary); font-family: var(--font-display); }
.cs-calc__total { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px; border-radius: var(--radius-md); background: var(--color-ink); color: #fff; }
.cs-calc__total .k { font-size: 12px; color: var(--color-text-on-dark-muted); font-weight: var(--fw-semibold); }
.cs-calc__total .v { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.01em; }
.cs-calc__total .v .accent { color: var(--color-brand-primary); }
.cs-calc__link { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: var(--radius-md); background: var(--color-brand-tint); font-size: 11.5px; font-weight: var(--fw-bold); color: var(--color-text-brand); }
.cs-calc__link svg { width: 15px; height: 15px; }

/* payment timeline (sec 4) */
.cs-pay__status { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--color-border-default); border-radius: var(--radius-md); background: var(--color-bg-page); }
.cs-pay__brand { width: 42px; height: 42px; border-radius: var(--radius-md); background: #635BFF; color: #fff; display: grid; place-items: center; font-weight: var(--fw-extra); font-size: 12px; flex: none; font-family: var(--font-display); }
.cs-pay__amt { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.cs-pay__meta { font-size: 11.5px; color: var(--color-text-muted); }
.cs-pay__badge { margin-left: auto; font-size: 11px; font-weight: var(--fw-bold); color: var(--color-state-success); background: var(--color-state-success-tint); padding: 5px 11px; border-radius: var(--radius-pill); flex: none; }
.cs-tl { display: grid; gap: 0; padding-left: 6px; }
.cs-tl__step { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding-bottom: 14px; position: relative; }
.cs-tl__step:last-child { padding-bottom: 0; }
.cs-tl__step::before { content: ""; position: absolute; left: 12px; top: 22px; bottom: -2px; width: 2px; background: var(--color-border-default); }
.cs-tl__step:last-child::before { display: none; }
.cs-tl__dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--color-border-strong); background: var(--color-bg-page); display: grid; place-items: center; z-index: 1; }
.cs-tl__dot svg { width: 12px; height: 12px; color: var(--color-text-muted); }
.cs-tl__step.done .cs-tl__dot { background: var(--color-brand-primary); border-color: var(--color-brand-primary); color: var(--color-text-on-brand); }
.cs-tl__step.done .cs-tl__dot svg { color: var(--color-text-on-brand); }
.cs-tl__c .h { font-size: 12.5px; font-weight: var(--fw-bold); color: var(--color-text-primary); }
.cs-tl__c .s { font-size: 11px; color: var(--color-text-muted); }

/* SLA / KPI dashboard (sec 5) */
.cs-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cs-kpi__cell { border: 1px solid var(--color-border-default); border-radius: var(--radius-md); padding: 13px; background: var(--color-bg-page); }
.cs-kpi__cell .k { font-size: 10.5px; font-weight: var(--fw-bold); letter-spacing: .05em; text-transform: uppercase; color: var(--color-text-muted); }
.cs-kpi__cell .v { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin-top: 6px; }
.cs-kpi__cell .v small { font-size: 11px; color: var(--color-text-muted); font-family: var(--font-sans); font-weight: 600; }
.cs-kpi__ring { display: flex; align-items: center; gap: 10px; }
.cs-kpi__bars { display: flex; align-items: flex-end; gap: 5px; height: 34px; margin-top: 8px; }
.cs-kpi__bars i { flex: 1; background: var(--color-brand-tint-strong); border-radius: 3px 3px 0 0; }
.cs-kpi__bars i.hi { background: var(--color-brand-primary); }
.cs-kpi__mgr { display: grid; gap: 7px; }
.cs-kpi__mgr-row { display: flex; align-items: center; gap: 9px; font-size: 11.5px; }
.cs-kpi__mgr-row .av { width: 22px; height: 22px; border-radius: 50%; background: var(--color-brand-tint); color: var(--color-text-brand); display: grid; place-items: center; font-size: 9.5px; font-weight: var(--fw-bold); flex: none; }
.cs-kpi__mgr-row .n { font-weight: var(--fw-bold); color: var(--color-text-primary); flex: none; width: 64px; }
.cs-kpi__mgr-row .track { flex: 1; height: 7px; border-radius: var(--radius-pill); background: var(--color-bg-surface-2); overflow: hidden; }
.cs-kpi__mgr-row .track i { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--color-brand-primary); }
.cs-kpi__mgr-row .pct { font-family: var(--font-display); font-size: 11px; color: var(--color-text-muted); font-weight: 600; width: 30px; text-align: right; }

/* sync (sec 6) */
.cs-sync { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.cs-sync__node { border: 1px solid var(--color-border-default); border-radius: var(--radius-md); padding: 14px; background: var(--color-bg-page); text-align: center; }
.cs-sync__node .ic { width: 40px; height: 40px; border-radius: var(--radius-md); display: grid; place-items: center; margin: 0 auto 10px; }
.cs-sync__node .ic svg { width: 20px; height: 20px; }
.cs-sync__node--crm .ic { background: var(--color-ink); color: #fff; }
.cs-sync__node--book .ic { background: var(--color-brand-tint); color: var(--color-text-brand); }
.cs-sync__node .nm { font-size: 12.5px; font-weight: var(--fw-bold); }
.cs-sync__node .st { font-size: 11px; color: var(--color-text-muted); margin-top: 3px; }
.cs-sync__arrows { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--color-text-brand); }
.cs-sync__arrows svg { width: 26px; height: 18px; }
.cs-sync__arrows .lbl { font-size: 9px; font-weight: var(--fw-bold); letter-spacing: .04em; text-transform: uppercase; }
.cs-sync__flow { position: relative; height: 2px; background: var(--color-border-default); border-radius: 2px; overflow: hidden; }
.cs-sync__flow::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--color-brand-primary), transparent); animation: csFlow 2.2s linear infinite; }
@keyframes csFlow { from { transform: translateX(-100%); } to { transform: translateX(280%); } }
@media (prefers-reduced-motion: reduce) { .cs-sync__flow::after { animation: none; } }

/* ============================================================
   BEFORE / AFTER  (reuses .ba pattern, scoped tweaks)
   ============================================================ */
.cs-ba { display: grid; grid-template-columns: 1fr auto 1fr; margin-top: 52px; align-items: stretch; border: 1px solid var(--color-border-default); border-radius: var(--radius-xl); overflow: hidden; background: var(--color-bg-page); }
.cs-ba__col { padding: 36px; }
.cs-ba__col--before { background: var(--color-bg-surface); }
.cs-ba__col--after { background: linear-gradient(180deg, var(--color-brand-tint), var(--color-bg-page)); }
.cs-ba__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; }
.cs-ba__col--before .cs-ba__tag { color: var(--color-text-muted); }
.cs-ba__col--after .cs-ba__tag { color: var(--color-text-brand); }
.cs-ba__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.cs-ba__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.cs-ba__list .ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: 1px; }
.cs-ba__col--before .ic { background: var(--color-bg-surface-2); color: var(--color-text-muted); }
.cs-ba__col--before .ic svg { width: 12px; height: 12px; }
.cs-ba__col--before li { color: var(--color-text-secondary); }
.cs-ba__col--after .ic { background: var(--color-brand-primary); color: var(--color-text-on-brand); }
.cs-ba__col--after .ic svg { width: 13px; height: 13px; }
.cs-ba__col--after li { color: var(--color-text-primary); font-weight: var(--fw-medium); }
.cs-ba__mid { display: grid; place-items: center; padding: 0 8px; background: var(--color-bg-page); }
.cs-ba__arrow { width: 52px; height: 52px; border-radius: 50%; background: var(--color-ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); }
.cs-ba__arrow svg { width: 22px; height: 22px; }

/* ============================================================
   ARCHITECTURE DIAGRAM  (dark premium canvas)
   ============================================================ */
.cs-arch { position: relative; margin-top: 56px; border-radius: var(--radius-xl); background: var(--color-ink-surface); border: 1px solid var(--color-ink-border); padding: clamp(28px, 4vw, 52px); overflow: hidden; }
.cs-arch__glow { position: absolute; width: 480px; height: 480px; top: -180px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(var(--color-brand-primary-rgb),.16), transparent 70%); pointer-events: none; }
.cs-arch__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: clamp(16px, 3vw, 44px); align-items: center; }
.cs-arch__colhead { font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--color-brand-primary); margin: 0 0 16px; text-align: center; }
.cs-arch__stack { display: flex; flex-direction: column; gap: 12px; }
.cs-arch__node { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--color-ink-elevated); border: 1px solid var(--color-ink-border); color: #fff; }
.cs-arch__node .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; color: #fff; }
.cs-arch__node .ic svg { width: 18px; height: 18px; }
.cs-arch__node b { font-size: 14px; font-weight: var(--fw-bold); display: block; }
.cs-arch__node small { font-size: 11.5px; color: var(--color-text-on-dark-muted); }

/* center CRM core */
.cs-arch__core { border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(var(--color-brand-primary-rgb),.1), transparent), var(--color-ink-elevated); border: 1.5px solid rgba(var(--color-brand-primary-rgb),.35); padding: 22px; box-shadow: 0 0 0 6px rgba(var(--color-brand-primary-rgb),.05); }
.cs-arch__core-top { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; border-bottom: 1px solid var(--color-ink-border); }
.cs-arch__core-top .mk { width: 38px; height: 38px; border-radius: 10px; background: var(--color-brand-primary); color: var(--color-text-on-brand); display: grid; place-items: center; flex: none; }
.cs-arch__core-top .mk svg { width: 21px; height: 21px; }
.cs-arch__core-top b { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; }
.cs-arch__core-top small { display: block; font-size: 11px; color: var(--color-text-on-dark-muted); }
.cs-arch__mods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.cs-arch__mod { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: var(--radius-sm); background: rgba(255,255,255,.04); border: 1px solid var(--color-ink-border); font-size: 12px; font-weight: var(--fw-semibold); color: #D7DCD8; }
.cs-arch__mod svg { width: 14px; height: 14px; color: var(--color-brand-primary); flex: none; }
.cs-arch__lines { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.cs-arch__lines path { fill: none; stroke: rgba(var(--color-brand-primary-rgb),.45); stroke-width: 1.5; stroke-dasharray: 5 7; animation: csDash 1.1s linear infinite; }
@media (prefers-reduced-motion: reduce) { .cs-arch__lines path { animation: none; } }
.cs-arch__legend { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--color-ink-border); font-size: 12.5px; color: var(--color-text-on-dark-muted); }
.cs-arch__legend span { display: inline-flex; align-items: center; gap: 8px; }
.cs-arch__legend i { width: 12px; height: 12px; border-radius: 3px; }

/* ============================================================
   BUSINESS IMPACT (outcome cards — metric-ready)
   ============================================================ */
.cs-impact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.cs-outcome { position: relative; overflow: hidden; background: var(--color-bg-page); border: 1px solid var(--color-border-default); border-radius: var(--radius-lg); padding: 26px; transition: transform var(--motion-duration-standard) var(--motion-easing-standard), box-shadow var(--motion-duration-standard), border-color var(--motion-duration-standard); }
.cs-outcome:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cs-outcome__ptn { position: absolute; top: -30px; right: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--color-brand-primary-rgb),.1), transparent 70%); }
.cs-outcome__ic { position: relative; width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--color-brand-tint); color: var(--color-text-brand); display: grid; place-items: center; margin-bottom: 18px; }
.cs-outcome__ic svg { width: 24px; height: 24px; }
.cs-outcome h3 { font-size: var(--fs-h5); font-weight: var(--fw-bold); margin: 0 0 9px; letter-spacing: -.01em; }
.cs-outcome p { font-size: 14px; color: var(--color-text-secondary); margin: 0; line-height: 1.55; }
/* optional metric slot — hidden until populated, no layout rebuild needed */
.cs-outcome__metric { display: none; font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--color-text-primary); margin-bottom: 6px; letter-spacing: -.02em; }
.cs-outcome__metric .accent { color: var(--color-brand-primary); }
.cs-outcome.has-metric .cs-outcome__metric { display: block; }

/* ============================================================
   IMPLEMENTATION TIMELINE
   ============================================================ */
.cs-stages { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.cs-stages::before { content: ""; position: absolute; top: 27px; left: 7%; right: 7%; height: 2px; background: var(--color-border-default); z-index: 0; }
.cs-stages__line { position: absolute; top: 27px; left: 7%; height: 2px; background: var(--color-brand-primary); z-index: 1; width: 0; transition: width 1.5s var(--motion-easing-soft) .2s; }
.cs-stages.is-in .cs-stages__line { width: 86%; }
.cs-stage { position: relative; z-index: 2; }
.cs-stage__n { width: 56px; height: 56px; margin-bottom: 20px; border-radius: 50%; background: var(--color-bg-page); border: 2px solid var(--color-border-strong); color: var(--color-text-primary); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; transition: all var(--motion-duration-standard) var(--motion-easing-standard); }
.cs--tint .cs-stage__n { background: var(--color-bg-surface); }
.cs-stages.is-in .cs-stage:nth-child(2) .cs-stage__n { background: var(--color-brand-primary); border-color: var(--color-brand-primary); color: var(--color-text-on-brand); transition-delay: .35s; }
.cs-stages.is-in .cs-stage:nth-child(3) .cs-stage__n { background: var(--color-brand-primary); border-color: var(--color-brand-primary); color: var(--color-text-on-brand); transition-delay: .6s; }
.cs-stages.is-in .cs-stage:nth-child(4) .cs-stage__n { background: var(--color-brand-primary); border-color: var(--color-brand-primary); color: var(--color-text-on-brand); transition-delay: .85s; }
.cs-stages.is-in .cs-stage:nth-child(5) .cs-stage__n { background: var(--color-brand-primary); border-color: var(--color-brand-primary); color: var(--color-text-on-brand); transition-delay: 1.1s; }
.cs-stage__badge { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 12px; border-radius: var(--radius-pill); background: var(--color-brand-tint); color: var(--color-text-brand); font-size: 12px; font-weight: var(--fw-bold); margin-bottom: 12px; }
.cs-stage__badge svg { width: 13px; height: 13px; }
.cs-stage h4 { font-size: var(--fs-h5); font-weight: var(--fw-bold); margin: 0 0 8px; letter-spacing: -.01em; }
.cs-stage p { font-size: 14px; color: var(--color-text-secondary); margin: 0; line-height: 1.55; }

/* ============================================================
   EXPERTISE CTA (intermediate)
   ============================================================ */
.cs-mid-cta { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--color-brand-tint), var(--color-bg-surface)); border: 1px solid var(--color-brand-tint-strong); padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cs-mid-cta__glow { position: absolute; width: 360px; height: 360px; top: -140px; right: -80px; background: radial-gradient(circle, rgba(var(--color-brand-primary-rgb),.22), transparent 70%); pointer-events: none; }
.cs-mid-cta h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -.02em; margin: 0; position: relative; }
.cs-mid-cta p { font-size: var(--fs-lead); line-height: 1.55; color: var(--color-text-secondary); margin: 16px 0 0; position: relative; }
.cs-mid-cta__cta { display: flex; flex-direction: column; gap: 12px; position: relative; }

/* ============================================================
   RELATED CASES
   ============================================================ */
.cs-related__intro { margin: 18px 0 0; font-size: 15px; line-height: 1.65; color: var(--color-text-secondary); }
.cs-related__intro a { color: var(--color-text-brand); font-weight: var(--fw-semibold); border-bottom: 1px solid transparent; transition: border-color var(--motion-duration-standard) var(--motion-easing-standard); }
.cs-related__intro a:hover { border-bottom-color: currentColor; }
.cs-related__all { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: var(--fw-bold); }
.cs-related__all svg { width: 15px; height: 15px; }
.cs-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.cs-rcard { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-bg-page); border: 1px solid var(--color-border-default); transition: box-shadow var(--motion-duration-standard) var(--motion-easing-standard), transform var(--motion-duration-standard); text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.cs-rcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.cs-rcard__media { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--color-ink); }
.cs-rcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--motion-duration-cinematic) var(--motion-easing-soft); }
.cs-rcard:hover .cs-rcard__media img { transform: scale(1.06); }
.cs-rcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,16,32,.5), transparent 60%); }
.cs-rcard__cat { position: absolute; z-index: 2; top: 16px; left: 16px; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: var(--radius-pill); background: rgba(255,255,255,.92); backdrop-filter: blur(6px); font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .04em; text-transform: uppercase; color: var(--color-text-primary); }
.cs-rcard__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cs-rcard__body h3 { font-size: var(--fs-h5); font-weight: var(--fw-bold); margin: 0; letter-spacing: -.01em; line-height: 1.25; }
.cs-rcard__body p { font-size: 14px; color: var(--color-text-secondary); margin: 0; line-height: 1.55; flex: 1; }
.cs-rcard__link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: var(--fw-bold); color: var(--color-text-brand); margin-top: 4px; }
.cs-rcard__link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--motion-easing-standard); }
.cs-rcard:hover .cs-rcard__link svg { transform: translateX(4px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .cs-hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .cs-eco { max-width: 520px; margin: 0 auto; min-height: 440px; }
  .cs-summary__inner { grid-template-columns: 1fr 1fr; }
  .cs-summary__item:nth-child(3) { border-left: 0; }
  .cs-summary__item:nth-child(n+3) { border-top: 1px solid var(--color-border-default); }
  .cs-context__grid { grid-template-columns: 1fr; gap: 36px; }
  .cs-context__visual { order: -1; }
  .cs-challenges, .cs-impact { grid-template-columns: repeat(2, 1fr); }
  .cs-sol { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .cs-sol--rev .cs-sol__text { order: 0; }
  .cs-sol__visual { order: -1; }
  .cs-stages { grid-template-columns: repeat(2, 1fr); gap: 36px 22px; }
  .cs-stages::before, .cs-stages__line { display: none; }
  .cs-mid-cta { grid-template-columns: 1fr; gap: 28px; }
  .cs-related { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 760px) {
  .cs-transform { grid-template-columns: 1fr; gap: 18px; }
  .cs-transform__hub { order: -1; margin: 0 auto; width: 168px; height: 168px; }
  .cs-arch__grid { grid-template-columns: 1fr; gap: 28px; }
  .cs-arch__lines { display: none; }
  .cs-ba { grid-template-columns: 1fr; }
  .cs-ba__mid { padding: 16px; }
  .cs-ba__arrow { transform: rotate(90deg); }
}

@media (max-width: 560px) {
  .cs-summary__inner { grid-template-columns: 1fr; }
  .cs-summary__item { border-left: 0; border-top: 1px solid var(--color-border-default); }
  .cs-summary__item:first-child { border-top: 0; }
  .cs-challenges, .cs-impact, .cs-stages { grid-template-columns: 1fr; }
  .cs-pipe { grid-template-columns: 1fr 1fr; }
  .cs-hero h1 { font-size: 31px; }
  .cs-eco__node { font-size: 11px; height: 34px; }
  .cs-sync { grid-template-columns: 1fr; }
  .cs-sync__arrows { flex-direction: row; transform: rotate(90deg); }
}

/* ============================================================
   EFFECTS-LAYER INTEGRATION  (uses assets/effects.css/js)
   New brand motion: integration marquee · cinematic request
   journey · structural count-up. Custom cursor + parallax come
   from effects.js automatically.
   ============================================================ */

/* ---- integration marquee band ---- */
.cs-mqband { padding: clamp(30px, 4vw, 50px) 0; overflow: hidden; }
.cs-mqband__cap { text-align: center; font-size: 12.5px; font-weight: var(--fw-bold); letter-spacing: .14em; text-transform: uppercase; color: var(--color-text-on-dark-muted); margin: 0 0 24px; }
.cs--ink .mq-logo { color: var(--color-text-on-dark-muted); }
.cs--ink .mq-logo:hover { color: #fff; }
.cs--ink .mq-logo .mq-logo__ic { background: rgba(var(--color-brand-primary-rgb),.16); color: var(--color-brand-primary); }

/* ---- customer request journey (cinematic, scroll-driven) ---- */
.cs-journey-sec { overflow: hidden; }
.cs-journey { position: relative; margin-top: clamp(40px, 5vw, 66px); }
.cs-journey__glow { position: absolute; z-index: 0; top: -80px; right: -60px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--color-brand-primary-rgb),.18), transparent 70%); pointer-events: none; }
.cs-journey__line { position: absolute; z-index: 1; top: 26px; left: 0; right: 0; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; }
.cs-journey__fill { display: block; width: var(--prog, 0%); height: 100%; background: var(--color-brand-primary); border-radius: 2px; box-shadow: 0 0 12px rgba(var(--color-brand-primary-rgb),.5); }
.cs-journey__track { position: relative; z-index: 2; list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; }
.cs-journey__step { position: relative; padding-top: 66px; opacity: .4; transition: opacity var(--motion-duration-emphasis) var(--motion-easing-standard); }
.cs-journey__step.is-active, .cs-journey__step.is-past { opacity: 1; }
.cs-journey__dot { position: absolute; top: 0; left: 0; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; background: var(--color-ink-elevated); border: 2px solid rgba(255,255,255,.18); color: #fff; transition: background var(--motion-duration-standard) var(--motion-easing-standard), border-color var(--motion-duration-standard), color var(--motion-duration-standard), transform var(--motion-duration-standard) var(--motion-easing-standard); }
.cs-journey__step.is-active .cs-journey__dot { background: var(--color-brand-primary); border-color: var(--color-brand-primary); color: var(--color-text-on-brand); transform: scale(1.08); }
.cs-journey__step.is-past .cs-journey__dot { background: var(--color-brand-primary); border-color: var(--color-brand-primary); color: var(--color-text-on-brand); }
.cs-journey__ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(var(--color-brand-primary-rgb),.14); color: var(--color-brand-primary); display: grid; place-items: center; margin-bottom: 14px; }
.cs-journey__ic svg { width: 21px; height: 21px; }
.cs-journey__card h4 { font-size: 16px; font-weight: var(--fw-bold); margin: 0 0 7px; color: #fff; letter-spacing: -.01em; }
.cs-journey__card p { font-size: 13.5px; line-height: 1.5; color: var(--color-text-on-dark-muted); margin: 0; }

/* ---- structural scope count-up row ---- */
.cs-scope { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--color-ink-border); }
.cs-scope__n { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4vw, 54px); line-height: 1; color: #fff; display: flex; align-items: baseline; }
.cs-scope__n .suf, .cs-scope__n .pre { color: var(--color-brand-primary); }
.cs-scope__l { display: block; margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: var(--color-text-on-dark-muted); max-width: 210px; }

@media (max-width: 860px) {
  .cs-journey__track { grid-auto-flow: row; grid-auto-columns: auto; gap: 0; }
  .cs-journey__line { left: 26px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .cs-journey__fill { width: 100%; height: var(--prog, 0%); }
  .cs-journey__step { padding: 0 0 30px 80px; min-height: 80px; }
  .cs-journey__glow { display: none; }
  .cs-scope { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 460px) { .cs-scope { grid-template-columns: 1fr; } }
