/* Project case studies (parts/case-study.php). Built on the page's .wrap, .tag, .pill, .eyebrow, .more and .hov. */
.cs-hero{background:#000;color:#fff;padding-bottom:88px}
.cs-hero-text{display:flex;flex-direction:column;gap:22px;padding-top:64px;padding-bottom:48px}
.cs-crumbs{font-size:14px;display:flex;gap:10px;opacity:.7}
.cs-crumbs a{text-decoration:none}
.cs-title{margin:0;font-size:clamp(44px,6vw,80px);line-height:1.02;font-weight:600;letter-spacing:-.01em;max-width:1000px}
.cs-lead{margin:0;font-size:clamp(18px,1.6vw,22px);line-height:1.5;color:rgba(255,255,255,.78);max-width:760px}
.cs-hero-img{aspect-ratio:20/11;border-radius:28px;background:#0e1a14 center/cover no-repeat;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.cs-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:28px;margin:48px 0 0;padding-top:32px;border-top:1px solid rgba(255,255,255,.15)}
.cs-facts div{display:flex;flex-direction:column;gap:6px}
.cs-facts dt{font-size:14px;opacity:.6}
.cs-facts dd{margin:0;font-size:19px;font-weight:600}

.cs-sec{padding:120px 0}
.cs-dark{background:#000;color:#fff}
.cs-light{background:#fff;color:#000}
.cs-pink{background:#fff6f6;color:#000}
.cs-top-line{padding-top:0}
.cs-top-line > .wrap{padding-top:96px;border-top:1px solid rgba(255,255,255,.12)}
.cs-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:72px;align-items:start}
.cs-gap{margin-top:96px}
.cs-h2{margin:0;font-size:clamp(34px,3.6vw,52px);line-height:1.08;font-weight:500}
.cs-h3{margin:0;font-size:24px;line-height:1.2;font-weight:600}
.cs-copy{display:flex;flex-direction:column;gap:20px}
.cs-copy p,.cs-step p,.cs-card p,.cs-next p{margin:0;font-size:18px;line-height:1.6;opacity:.75}
.cs-big{font-size:clamp(20px,1.8vw,26px) !important;line-height:1.45 !important;font-weight:500;opacity:1 !important}
.cs-mb{margin-bottom:24px !important}
.cs-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px}
.cs-list li{padding-inline-start:22px;position:relative;font-size:17px;line-height:1.55}
.cs-list li::before{content:"";position:absolute;inset-inline-start:0;top:.62em;width:8px;height:8px;border-radius:50%;background:#2ce68c}

.cs-gallery{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px;margin-top:28px}
.cs-gallery{row-gap:36px}
.cs-shot{margin:0;grid-column:span 2;display:flex;flex-direction:column;gap:14px}
.cs-shot.cs-wide{grid-column:span 3}
.cs-shot-img{border-radius:22px;overflow:hidden;background:radial-gradient(120% 90% at 50% 35%,#242424 0%,#141414 55%,#0a0a0a 100%);box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.cs-shot img{display:block;width:100%;height:auto;transition:scale .8s cubic-bezier(.2,.7,.2,1)}
.cs-shot:hover img{scale:1.03}
.cs-shot figcaption{font-size:16px;line-height:1.45;color:rgba(255,255,255,.72)}

.cs-step{display:grid;grid-template-columns:72px minmax(0,1fr);gap:20px;padding:28px 0;border-top:1px solid rgba(255,255,255,.15)}
.cs-step > div{display:flex;flex-direction:column;gap:8px}
.cs-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cs-card{display:flex;flex-direction:column;gap:8px;padding:26px;border-radius:20px;background:rgba(0,0,0,.04)}
.cs-pink .cs-card{background:#fff}
.cs-card b{font-size:18px}

.cs-next{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-radius:24px;overflow:hidden;background:#131313;border:1px solid #232323;text-decoration:none;color:#fff}
.cs-next-text{padding:56px;display:flex;flex-direction:column;gap:18px;justify-content:center}
.cs-next-img{position:relative;min-height:360px;overflow:hidden}
.cs-next-img .zoom{position:absolute;inset:0;background:center/cover no-repeat}

@media (max-width:900px){
	.cs-sec{padding:80px 0}
	.cs-top-line > .wrap{padding-top:72px}
	.cs-split{grid-template-columns:minmax(0,1fr);gap:28px}
	.cs-gap{margin-top:64px}
	.cs-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
	.cs-gallery{row-gap:24px}
	.cs-shot,.cs-shot.cs-wide{grid-column:span 1}
	.cs-shot-img{border-radius:16px}
	.cs-shot figcaption{font-size:14px}
	.cs-shot.cs-wide{grid-column:span 2}
	.cs-cards{grid-template-columns:minmax(0,1fr)}
	.cs-next{grid-template-columns:minmax(0,1fr)}
	.cs-next-text{padding:32px 26px}
	.cs-next-img{min-height:260px;order:-1}
	.cs-hero-img{border-radius:18px;aspect-ratio:16/11}
}
@media (max-width:520px){
	.cs-hero{padding-bottom:64px}
	.cs-hero-text{padding-top:40px}
	.cs-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
	.cs-step{grid-template-columns:48px minmax(0,1fr)}
}

/* App projects only (an `app` block in the project). Other case studies do not use these classes. */
.cs-hero-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.cs-app-store{display:flex;flex-wrap:wrap;gap:18px 28px;align-items:center;margin-top:28px}
.cs-app-badge{display:block;height:45px;width:auto}
.cs-app-badge-link{display:inline-flex;line-height:0;border-radius:8px}
.cs-app-badge-link:focus-visible{outline:2px solid #fff;outline-offset:3px}
.cs-app-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.cs-app-chips li{padding:8px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.28);font-size:14px;font-weight:600;letter-spacing:.01em}
.cs-app-chip-free{background:#fff;color:#24145a;border-color:#fff !important}

.cs-app-stats{background:linear-gradient(115deg,#1b0d45 0%,#4c3ad4 46%,#7a62f0 100%);color:#fff;padding:56px 0}
.cs-app-stats dl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 20px;margin:0}
.cs-app-stats div{display:flex;flex-direction:column;gap:6px}
.cs-app-stats dt{font-size:14px;opacity:.72}
.cs-app-stats dd{margin:0;font-size:clamp(26px,3vw,40px);font-weight:600;letter-spacing:-.02em;line-height:1.05}

.cs-app-compare-sec{background:#f6f3ff;color:#140b2e}
.cs-app-compare-sec .cs-big{color:#140b2e}
.cs-app-compare-key{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:16px}
.cs-app-compare-key b{font-weight:600}
.cs-app-compare-arrow::before{content:"→"}
[dir="rtl"] .cs-app-compare-arrow::before{content:"←"}
.cs-app-compare{position:relative;max-width:420px;justify-self:center;border-radius:28px;overflow:hidden;box-shadow:0 24px 60px rgba(36,20,90,.18)}
.cs-app-compare img{display:block;width:100%;height:auto}
.cs-app-compare-before{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;clip-path:inset(0 calc(100% - var(--pos, 58%)) 0 0)}
.cs-app-compare::after{content:"";position:absolute;top:0;bottom:48px;left:var(--pos, 58%);width:2px;background:#fff;box-shadow:0 0 0 1px rgba(36,20,90,.25);pointer-events:none}
.cs-app-compare input[type=range]{position:absolute;left:16px;right:16px;bottom:12px;width:calc(100% - 32px);height:28px;margin:0;accent-color:#5b46e8;cursor:ew-resize}

.cs-app-privacy{background:#0c0718;color:#fff}
.cs-app-privacy-head{display:flex;flex-wrap:wrap;gap:12px 28px;align-items:baseline;justify-content:space-between}
.cs-app-privacy-lead{margin:0;font-size:clamp(40px,5vw,72px);font-weight:600;letter-spacing:-.03em;line-height:.95;color:#c4b8ff}
.cs-app-privacy-copy{max-width:760px;font-size:18px;line-height:1.6;opacity:.78;margin:28px 0 0}
.cs-app-flow{display:flex;flex-wrap:wrap;gap:16px;align-items:stretch;margin:40px 0 0;padding:0;list-style:none}
.cs-app-flow > li:not(.cs-app-flow-arrow){flex:1 1 200px;display:flex;flex-direction:column;gap:8px;padding:26px;border-radius:22px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(196,184,255,.2)}
.cs-app-flow b{font-size:20px}
.cs-app-flow p{margin:0;font-size:16px;line-height:1.55;opacity:.75}
.cs-app-flow-arrow{flex:0 0 28px;align-self:center;width:28px;height:28px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M5 12h14M13 6l6 6-6 6' stroke='%23c4b8ff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/24px no-repeat}
[dir="rtl"] .cs-app-flow-arrow{transform:scaleX(-1)}

.cs-tone-violet.cs-pink{background:#f4f0ff;color:#140b2e}

/* FynxTV: Untitled UI Fuchsia (its app brand) in place of the FynxDocs violet. */
.cs-tone-fuchsia.cs-pink{background:#fdf4ff;color:#2a0a30}
.cs-tone-fuchsia .cs-app-chip-free{color:#47104c}
.cs-app-stats.cs-tone-fuchsia{background:linear-gradient(115deg,#2a0a30 0%,#9f1ab1 46%,#d444f1 100%)}
.cs-app-compare-sec.cs-tone-fuchsia{background:#fdf4ff;color:#2a0a30}
.cs-app-compare-sec.cs-tone-fuchsia .cs-big{color:#2a0a30}
.cs-tone-fuchsia .cs-app-compare{box-shadow:0 24px 60px rgba(71,16,76,.2)}
.cs-tone-fuchsia .cs-app-compare::after{box-shadow:0 0 0 1px rgba(71,16,76,.25)}
.cs-tone-fuchsia .cs-app-compare input[type=range]{accent-color:#ba24d5}
.cs-app-privacy.cs-tone-fuchsia{background:#14051a}
.cs-tone-fuchsia .cs-app-privacy-lead{color:#eeaafd}
.cs-tone-fuchsia .cs-app-flow > li:not(.cs-app-flow-arrow){box-shadow:inset 0 0 0 1px rgba(238,170,253,.2)}
.cs-tone-fuchsia .cs-app-flow-arrow{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M5 12h14M13 6l6 6-6 6' stroke='%23eeaafd' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>")}
.cs-app-faq.cs-tone-fuchsia details{border-color:rgba(42,10,48,.12)}
.cs-app-faq.cs-tone-fuchsia summary::after{color:#ba24d5}
.cs-app-cta.cs-tone-fuchsia{background:linear-gradient(160deg,#47104c 0%,#ba24d5 55%,#e478fa 100%)}
.cs-app-faq details{border-top:1px solid rgba(20,11,46,.12);padding:22px 0}
.cs-app-faq details:last-child{border-bottom:1px solid rgba(20,11,46,.12)}
.cs-app-faq summary{cursor:pointer;font-size:20px;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:18px}
.cs-app-faq summary::-webkit-details-marker{display:none}
.cs-app-faq summary::after{content:"+";color:#5b46e8;font-weight:500}
.cs-app-faq details[open] summary::after{content:"–"}
.cs-app-faq details p{margin:12px 0 0;max-width:720px;font-size:17px;line-height:1.6;opacity:.75}

.cs-app-cta{background:linear-gradient(160deg,#24145a 0%,#5a42e6 55%,#8a74ff 100%);color:#fff;padding:96px 0}
.cs-app-cta .wrap{display:flex;flex-direction:column;gap:22px;align-items:flex-start}
.cs-app-cta p{margin:0;max-width:640px;font-size:20px;line-height:1.5;opacity:.86}
.cs-app-cta-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.cs-app-cta .pill.ghost{color:#fff}

@media (max-width:900px){
	.cs-app-stats dl{grid-template-columns:repeat(2,minmax(0,1fr))}
	.cs-app-stats{padding:40px 0}
	.cs-app-flow-arrow{transform:rotate(90deg)}
	[dir="rtl"] .cs-app-flow-arrow{transform:rotate(90deg)}
	.cs-app-cta{padding:72px 0}
}
@media (max-width:520px){
	.cs-app-stats dl{grid-template-columns:minmax(0,1fr)}
	.cs-app-compare{border-radius:20px}
}
