PageSourceSearch

https://wyecliff.ai/assets/case-studies_._slug-Ddlw8gh5.js

js wyecliff.ai collected 2026-10-04 07:39:19 UTC 19,418 bytes, 1 lines download raw bytes

1import{j as e,F as N,L as c,o as v,A as k,r as W,E as L,p as I,a1 as z,az as P,s as R,l as q,ah as $,bn as F,bo as E,bp as M,bq as T,u as A,b as _}from"./index-e6vuDWmB.js";import{S as w,L as H}from"./SimilarCaseStudiesSection-DrrPr5PK.js";import{a as B,s as D,c as h,b as y,S as O}from"./StoryMetaPills-RKK12Fot.js";import{A as S}from"./arrow-left-uVPLveLE.js";import{C as U}from"./calendar-BqWXbCuQ.js";import{C as V}from"./clock-jrFFCDWh.js";const p=D,o=B;function K(t){return t&&t.charAt(0).toUpperCase()+t.slice(1)}const G=c,f=/\[([^\]]+)\]\(([^)]+)\)/g,g="font-medium text-purple-600 underline decoration-purple-300 underline-offset-2 transition hover:text-purple-700";function m(t){if(!t.includes("]("))return t;const s=[];let l=0,n=0,a;for(f.lastIndex=0;(a=f.exec(t))!==null;){const[i,d,r]=a;a.index>l&&s.push(t.slice(l,a.index)),r.startsWith("/")?s.push(e.jsx(G,{to:r,className:g,children:d},n++)):s.push(e.jsx("a",{href:r,className:g,target:"_blank",rel:"noreferrer",children:d},n++)),l=a.index+i.length}return l<t.length&&s.push(t.slice(l)),s}function Q(t){const s=t.toLowerCase();return s.includes("insurance")||s.includes("financial")?"/industries/insurance":s.includes("construction")||s.includes("electrical")?"/industries/construction":s.includes("manufacturing")?"/industries/manufacturing":s.includes("distribution")||s.includes("logistics")?"/industries/distribution":s.includes("accounting")?"/industries/accounting":s.includes("legal")?"/industries/legal":s.includes("pe")||s.includes("vc")||s.includes("m&a")?"/industries/pe-vc":null}function j(t){const s=t.toLowerCase();for(const l of Object.values(z))if(s.includes(l.slug)||s.includes(l.label.toLowerCase()))return l.path;return null}function J({story:t,similar:s=[]}){return e.jsxs("div",{children:[e.jsx(X,{story:t}),e.jsx(te,{story:t}),s.length>0?e.jsx(w,{caseStudies:s}):null,e.jsx(N,{})]})}function X({story:t}){return e.jsx("section",{className:"section-editorial-hero relative overflow-hidden border-t border-white/[0.06]",children:e.jsx("div",{className:"relative mx-auto max-w-[920px] px-6 pb-14 pt-12 lg:pb-20 lg:pt-14",children:e.jsxs("div",{className:"mx-auto w-full max-w-[780px]",children:[e.jsxs(c,{to:"/case-studies",className:"mb-4 inline-flex items-center gap-1.5 rounded-full border border-white/[0.10] bg-white/[0.04] px-3 py-1.5 text-xs font-medium text-foreground/75 transition hover:border-purple-300/35 hover:bg-white/[0.06] hover:text-foreground sm:mb-5",children:[e.jsx(S,{className:"h-3.5 w-3.5","aria-hidden":!0}),"Case Studies"]}),e.jsx("h1",{className:"font-display leading-[1.02] tracking-[-0.035em] text-foreground",style:{fontSize:"clamp(2.5rem, 5.8vw, 4.75rem)",fontWeight:400},children:t.title}),e.jsx(ee,{story:t}),e.jsx("div",{className:"mt-10 overflow-hidden rounded-2xl border border-white/[0.08] bg-black/40 sm:mt-12 sm:rounded-3xl",children:e.jsx("img",{src:t.image,alt:`${t.company} case study cover`,className:"aspect-[16/9] w-full object-cover",loading:"eager",fetchPriority:"high"})})]})})})}function x({circle:t,children:s,to:l,ariaLabel:n}){const a=e.jsx(O,{children:t}),i=e.jsx(y,{children:s});return l?e.jsxs(c,{to:l,"aria-label":n,className:`${p}
1 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-purple-400/40`,children:[a,i]}):e.jsxs("span",{className:p,children:[a,i]})}function Y(t){const s=t.toLowerCase();return s.includes("train")?e.jsx(P,{className:o,strokeWidth:2,"aria-hidden":!0}):s.includes("build")?e.jsx(R,{className:o,strokeWidth:2,"aria-hidden":!0}):s.includes("deploy")?e.jsx(q,{className:o,strokeWidth:2,"aria-hidden":!0}):e.jsx($,{className:o,strokeWidth:2,"aria-hidden":!0})}function Z({services:t}){return t.length===0?null:e.jsxs("span",{className:p,children:[e.jsx("span",{className:"flex -space-x-1.5",children:t.map((s,l)=>{const n=j(s),a=Y(s);return n?e.jsx(c,{to:n,"aria-label":s,style:{zIndex:t.length-l},className:`${h} transition hover:bg-purple-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-purple-300/50`,children:a},s):e.jsx("span",{style:{zIndex:t.length-l},className:h,children:a},s)})}),e.jsx(y,{children:t.map((s,l)=>{const n=j(s);return e.jsxs(W.Fragment,{children:[n?e.jsx(c,{to:n,className:"transition hover:text-purple-300 focus-visible:outline-none focus-visible:underline",children:s}):s,l<t.length-1?e.jsxs("span",{className:"text-foreground/45","aria-hidden":!0,children:[" ","/"," "]}):null]},s)})})]})}function ee({story:t}){return e.jsxs("div",{className:"mt-6 flex flex-wrap items-center gap-2 sm:mt-7",children:[e.jsx(x,{to:"/case-studies",ariaLabel:"Browse case studies",circle:t.companyLogo?e.jsx("img",{src:t.companyLogo,alt:`${t.company} logo`,className:"h-full w-full object-contain p-0.5"}):e.jsx("span",{className:"text-xs font-medium text-[#7f57da]","aria-hidden":!0,children:t.company.slice(0,1)}),children:t.company}),t.industry?e.jsx(x,{to:Q(t.industry)??void 0,ariaLabel:`${t.industry} industry`,circle:e.jsx(H,{className:o,strokeWidth:2,"aria-hidden":!0}),children:t.industry}):null,e.jsx(Z,{services:t.services}),t.date?e.jsx(x,{circle:e.jsx(U,{className:o,strokeWidth:2,"aria-hidden":!0}),children:t.date}):null,t.readTime?e.jsx(x,{circle:e.jsx(V,{className:o,strokeWidth:2,"aria-hidden":!0}),children:t.readTime}):null]})}function te({story:t}){return e.jsx("section",{className:"section-paper border-t border-black/[0.06]",children:e.jsxs("div",{className:"mx-auto max-w-[760px] px-6 py-20 lg:py-24",children:[t.headline?e.jsx("h2",{className:"font-display leading-[1.08] tracking-[-0.035em] text-ink",style:{fontSize:"clamp(2.125rem, 4vw, 3.125rem)"},children:t.headline}):null,t.intro?e.jsx("p",{className:`font-sans text-pretty text-[20px] font-light leading-[1.65] text-ink/80 ${t.headline?"mt-6":""}`,children:m(t.intro)}):null,e.jsx(b,{section:t.background}),e.jsx(b,{section:t.whatWeDid}),e.jsx(le,{story:t}),e.jsx("div",{className:"mt-16",children:e.jsxs("button",{type:"button",onClick:v,className:"group inline-flex items-center gap-2 rounded-full bg-ink px-6 py-3 text-sm font-medium text-paper transition hover:bg-purple-600 hover:text-white",children:["Talk to our team",e.jsx(k,{className:"h-3.5 w-3.5 transition-transform group-hover:translate-x-0.5"})]})})]})})}function C({children:t}){return e.jsx("h3",{className:"font-display leading-none tracking-[-0.025em] text-ink",style:{fontSize:"clamp(2.5rem, 4vw, 2.875rem)"},children:t})}function se({stat:t,patternKey:s}){return e.jsxs("div",{className:"relative overflow-hidden rounded-3xl border border-black/[0.06] px-5 py-5 sm:px-6 sm:py-6",children:[e.jsx("div",{className:"absolute inset-0 bg-[#ede4f9]","aria-hidden":!0}),e.jsx(L,{squares:I(s),gridClassName:"fill-purple-500/[0.10] stroke-purple-500/[0.22] mix-blend-normal"}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"font-display text-[32px] leading-none tracking-[-0.025em] text-ink",children:t.value}),t.label?e.jsx("p",{className:"mt-3 text-[13px] leading-relaxed text-ink-muted",children:K(t.label)}):null]})]})}function b({section:t}){return!t.body&&!t.bullets?.length?null:e.jsxs("div",{className:"mt-14",children:[e.jsx(C,{children:t.heading}),t.body?e.jsx("div",{className:"mt-5 font-sans text-pretty text-[18px] font-light leading-[1.7] text-ink/80",children:t.body.split(/\n\n+/).map((s,l)=>e.jsx("p",{className:"mt-5 first:mt-0",children:m(s)},l))}):null,t.bullets&&t.bullets.length>0?e.jsx("ul",{className:"mt-5 space-y-3",children:t.bullets.map(s=>e.jsxs("li",{className:"flex items-start gap-2.5 font-sans text-[17px] font-light leading-relaxed text-ink/85",children:[e.jsx("span",{className:"mt-0.5 shrink-0 text-xs font-semibold text-purple-600","aria-hidden":!0,
1children:"—"}),m(s)]},s))}):null]})}function le({story:t}){const s=t.results;return!s.body&&!s.bullets?.length&&t.stats.length===0?null:e.jsxs("div",{className:"mt-14",children:[e.jsx(C,{children:s.heading}),s.body?e.jsx("div",{className:"mt-5 font-sans text-pretty text-[18px] font-light leading-[1.7] text-ink/80",children:s.body.split(/\n\n+/).map((l,n)=>e.jsx("p",{className:"mt-5 first:mt-0",children:m(l)},n))}):null,s.bullets&&s.bullets.length>0?e.jsx("ul",{className:"mt-5 space-y-3",children:s.bullets.map(l=>e.jsxs("li",{className:"flex items-start gap-2.5 font-sans text-[17px] font-light leading-relaxed text-ink/85",children:[e.jsx("span",{className:"mt-0.5 shrink-0 text-xs font-semibold text-purple-600","aria-hidden":!0,children:"—"}),m(l)]},l))}):null,t.stats.length>0?e.jsx("div",{className:"mt-10 grid gap-4 sm:grid-cols-2",children:t.stats.slice(0,4).map((l,n)=>e.jsx(se,{stat:l,patternKey:l.label||`stat-${n}`},n))}):null,t.quote?.text?.trim()?e.jsx(ne,{story:t,className:"mt-10"}):null,t.software?e.jsxs("p",{className:"mt-8 font-sans text-[15px] font-light leading-relaxed text-ink-muted",children:[e.jsx("span",{className:"font-medium text-ink",children:"Software:"})," ",t.software]}):null]})}function ne({story:t,className:s}){const l=t.quote,n=l?.logo??t.companyLogo,a=l?.text?.trim()||"Client quote goes here. Replace with a short quote from the client team.",i=l?.author?.trim()||(l?.text?.trim()?"":"Client name"),d=l?.role?.trim()||"",r=!l?.text?.trim();return e.jsx("figure",{className:`overflow-hidden rounded-3xl border border-black/[0.08] bg-white ${s??""}`,children:e.jsxs("div",{className:"grid grid-cols-[minmax(5.5rem,36%)_minmax(0,1fr)] items-stretch",children:[e.jsx("div",{className:"flex items-center justify-center border-r border-black/[0.06] bg-white px-4 py-6 sm:px-6 sm:py-8",children:l?.headshot?e.jsx("img",{src:l.headshot,alt:i,className:"size-16 rounded-full object-cover sm:size-24 lg:size-28"}):n?e.jsx("img",{src:n,alt:`${t.company} logo`,className:"max-h-12 w-full object-contain sm:max-h-20 lg:max-h-24"}):e.jsx("span",{className:"font-display text-2xl font-medium text-ink sm:text-3xl","aria-hidden":!0,children:t.company.slice(0,1)})}),e.jsxs("div",{className:"flex min-w-0 flex-col justify-center px-4 py-6 sm:px-8 sm:py-10 lg:px-10 lg:py-12",children:[e.jsxs("blockquote",{className:`font-display text-pretty leading-[1.45] tracking-[-0.01em] ${r?"text-ink-muted":"text-ink/90"}`,style:{fontSize:"clamp(1.15rem, 1.85vw, 1.4rem)"},children:[r?null:e.jsx("span",{className:"select-none not-italic text-purple-400/70",children:"“"}),a.replace(/^"|"$/g,""),r?null:e.jsx("span",{className:"select-none not-italic text-purple-400/70",children:"”"})]}),e.jsxs("figcaption",{className:"mt-6 font-sans text-[15px] leading-relaxed",children:[e.jsx("span",{className:`block font-medium ${r?"text-ink-muted":"text-ink"}`,children:i}),d?e.jsx("span",{className:"mt-0.5 block text-ink-muted",children:d}):null]})]})]})})}function ge(){const{story:t,detail:s,similar:l}=F.useLoaderData();if(t)return e.jsx(J,{story:t,similar:l});if(!s)throw E();const n=M(s.slug,s.annualRoi);return e.jsxs("div",{children:[e.jsx(ae,{detail:s}),e.jsx(re,{detail:s}),s.overview||s.challenge||s.solution?e.jsx(ie,{detail:s}):null,s.softwareStack.length>0?e.jsx(oe,{detail:s}):null,s.testimonial?e.jsx(ce,{testimonial:s.testimonial}):null,n?e.jsx(de,{service:n}):null,l.length>0?e.jsx(w,{caseStudies:l}):null,e.jsx(N,{})]})}
1function ae({detail:t}){return e.jsxs("section",{className:"section-editorial-hero relative overflow-hidden border-t border-white/[0.06]",children:[e.jsx("div",{className:"pointer-events-none absolute inset-0 opacity-[0.5]",style:{backgroundImage:"linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px)",backgroundSize:"44px 44px",maskImage:"radial-gradient(80% 60% at 50% 0%, black 0%, transparent 100%)",WebkitMaskImage:"radial-gradient(80% 60% at 50% 0%, black 0%, transparent 100%)"},"aria-hidden":!0}),e.jsx("div",{className:"pointer-events-none absolute -top-[15%] left-1/2 h-[600px] w-[1100px] -translate-x-1/2 rounded-full",style:{background:"rgba(147,51,234,0.12)",filter:"blur(180px)"},"aria-hidden":!0}),e.jsxs("div",{className:"relative mx-auto max-w-[1400px] px-6 pb-20 pt-28 lg:pb-24 lg:pt-32",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsxs(c,{to:"/case-studies",className:"font-mono-label inline-flex items-center gap-1 text-purple-400 hover:text-purple-300 transition",children:[e.jsx(S,{className:"h-3 w-3"}),"Case Studies"]}),t.industry?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"font-mono-label text-foreground/30",children:"/"}),e.jsx("span",{className:"font-mono-label text-foreground/80",children:t.industry})]}):null]}),e.jsxs("div",{className:"mt-10 grid gap-12 lg:grid-cols-[1.4fr_1fr] lg:gap-16",children:[e.jsxs("div",{children:[t.company?e.jsx("div",{className:"font-mono-label text-purple-300",children:t.company}):null,t.title?e.jsx("h1",{className:"font-display mt-5 leading-[0.98] tracking-[-0.035em] text-foreground",style:{fontSize:"clamp(2.5rem, 5.5vw, 5rem)",fontWeight:500},children:t.title}):null,t.description?e.jsx("p",{className:"mt-7 max-w-[64ch] text-pretty text-[18px] leading-relaxed text-foreground/70",children:t.description}):null,e.jsxs("div",{className:"mt-9 flex flex-wrap items-center gap-4",children:[e.jsxs("button",{type:"button",onClick:v,className:"group inline-flex items-center gap-2 rounded-full bg-foreground px-6 py-3 text-sm font-medium text-background transition hover:bg-purple-500 hover:text-white",children:["Talk to our team",e.jsx(k,{className:"h-3.5 w-3.5 transition-transform group-hover:translate-x-0.5"})]}),t.timeline?e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-white/[0.1] bg-white/[0.02] px-4 py-2 text-xs font-medium text-foreground/80",children:[e.jsx("span",{className:"font-mono-label text-purple-300",children:"Timeline"}),t.timeline]}):null]})]}),e.jsx("div",{className:"relative overflow-hidden rounded-3xl border border-white/[0.08] bg-black/40 lg:self-end",children:t.featuredVideoUrl?e.jsx("video",{className:"aspect-[16/10] w-full object-cover",src:t.featuredVideoUrl,muted:!0,playsInline:!0,loop:!0,autoPlay:!0,preload:"metadata"}):e.jsx(T,{caseStudy:t,priority:!0,className:"aspect-[16/10] w-full object-cover"})})]})]})]})}function re({detail:t}){const s=t.impactCards.length>0?t.impactCards.slice(0,4):t.results.slice(0,4).map(l=>({title:l,detail:""}));return s.length===0?null:e.jsx("section",{className:"section-paper border-t border-black/[0.06]",children:e.jsxs("div",{className:"mx-auto max-w-[1400px] px-6 py-16 lg:py-20",children:[e.jsxs("div",{className:"grid gap-8 lg:grid-cols-[1fr_1.4fr] lg:items-end",children:[e.jsxs("div",{children:[e.jsx("div",{className:"font-mono-label text-purple-600",children:"Outcome"}),e.jsx("h2",{className:"font-display mt-4 leading-[1.0] tracking-[-0.025em] text-ink",style:{fontSize:"clamp(2rem, 4vw, 3rem)",fontWeight:500},children:t.outcomeHeading??"What changed"})]}),t.annualRoi?e.jsxs("p",{className:"max-w-[480px] text-[15px] leading-relaxed text-ink-muted",children:[e.jsx("span",{className:"font-medium text-ink",children:"Annual ROI:"})," ",t.annualRoi,t.paybackPeriod?e.jsxs(e.Fragment,{children:[" · Payback: ",t.paybackPeriod]}):null]}):null]}),e.jsx("div",{className:"mt-10 grid gap-px overflow-hidden rounded-2xl border border-black/[0.07] bg-black/[0.07] sm:grid-cols-2 lg:grid-cols-4",children:s.map((l,n)=>e.jsxs("div",{className:"bg-paper p-7",children:[e.jsx("div",{className:"font-display text-purple-600",style:{fontSize:"clamp(1.5rem, 2.6vw, 2rem)",fontWeight:500,lineHeight:1.1},children:l.title}),l.detail?e.jsx("p",{className:"mt-3 text-[13.5px] leading-relaxed text-ink-muted",children:l.detail}):null]},n))})]})})}
1function ie({detail:t}){return e.jsx("section",{className:"section-paper border-t border-black/[0.06]",children:e.jsxs("div",{className:"mx-auto max-w-[900px] px-6 pb-20",children:[t.overview?e.jsx(u,{heading:t.problemHeading??"Overview",body:t.overview}):null,t.challenge?e.jsx(u,{heading:t.problemHeading??"The challenge",body:t.challenge}):null,t.solution?e.jsx(u,{heading:t.solutionHeading??"What we built",body:t.solution}):null]})})}function u({heading:t,body:s}){return e.jsxs("article",{className:"mt-14 first:mt-0",children:[e.jsx("div",{className:"font-mono-label text-purple-600",children:t}),e.jsx("div",{className:"mt-4 text-pretty text-[17px] leading-[1.65] text-ink",children:s.split(/\n\n+/).map((l,n)=>e.jsx("p",{className:"mt-5 first:mt-0",children:l},n))})]})}function oe({detail:t}){return e.jsx("section",{className:"section-chapter-dark relative overflow-hidden border-t border-white/[0.06]",children:e.jsxs("div",{className:"relative mx-auto max-w-[1400px] px-6 py-20",children:[e.jsxs("div",{className:"grid gap-8 lg:grid-cols-[1fr_1.4fr] lg:items-end",children:[e.jsxs("div",{children:[e.jsx("div",{className:"font-mono-label text-purple-300",children:"Stack"}),e.jsx("h2",{className:"font-display mt-4 leading-[1.0] tracking-[-0.025em] text-foreground",style:{fontSize:"clamp(1.85rem, 3.4vw, 2.75rem)",fontWeight:500},children:"What we shipped on"})]}),t.softwareContext?e.jsx("p",{className:"max-w-[480px] text-[15px] leading-relaxed text-foreground/65",children:t.softwareContext}):null]}),e.jsx("div",{className:"mt-10 flex flex-wrap gap-3",children:t.softwareStack.map((s,l)=>e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-white/[0.10] bg-white/[0.04] px-4 py-2 text-sm text-foreground/85",children:[e.jsx(A,{className:"h-3.5 w-3.5 text-purple-300",strokeWidth:2.5}),s.name]},l))})]})})}function ce({testimonial:t}){return e.jsx("section",{className:"section-paper border-t border-black/[0.06]",children:e.jsxs("div",{className:"mx-auto max-w-[1100px] px-6 py-24 lg:py-28",children:[e.jsx("div",{className:"font-mono-label mb-10 text-purple-600",children:"From the team"}),e.jsxs("blockquote",{className:"font-display text-balance leading-[1.1] tracking-[-0.025em] text-ink",style:{fontSize:"clamp(1.85rem, 3.4vw, 3rem)",fontWeight:500},children:[e.jsx("span",{className:"select-none text-purple-300/60",children:"“"}),t.quote.replace(/^"|"$/g,""),e.jsx("span",{className:"select-none text-purple-300/60",children:"”"})]}),e.jsxs("footer",{className:"mt-10 flex flex-wrap items-center gap-3 border-t border-black/[0.07] pt-6",children:[e.jsx("span",{className:"text-sm font-medium text-ink",children:t.author}),t.role?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"text-sm text-ink-muted",children:"·"}),e.jsx("span",{className:"text-sm text-ink-muted",children:t.role})]}):null]})]})})}function de({service:t}){return e.jsx("section",{className:"section-chapter-dark relative overflow-hidden border-t border-white/[0.06]",children:e.jsx("div",{className:"relative mx-auto max-w-[1400px] px-6 py-16 lg:py-20",children:e.jsxs("div",{className:"grid gap-8 lg:grid-cols-[1fr_1.4fr] lg:items-end",children:[e.jsxs("div",{children:[e.jsx("div",{className:"font-mono-label text-purple-300",children:"Capability demonstrated"}),e.jsxs("h2",{className:"font-display mt-4 leading-[1.0] tracking-[-0.025em] text-foreground",style:{fontSize:"clamp(1.85rem, 3.4vw, 2.75rem)",fontWeight:500},children:[t.tagline,"."]})]}),e.jsxs(c,{to:t.path,className:"group inline-flex items-center gap-1.5 self-end justify-self-start text-sm font-medium text-purple-300 hover:text-purple-200 lg:justify-self-end",children:["Explore ",t.label,e.jsx(_,{className:"h-3.5 w-3.5 transition-transform group-hover:-translate-y-0.5 group-hover:translate-x-0.5"})]})]})})})}export{ge as component};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.