1import{r as i,j as e,N as x,S as o,C as c,H as m,b as g,L as u,d as p,I as h,e as f,g as v}from"./index-DjJZH9qg.js";import{f as b}from"./caseStudyApi-DSUZkpBH.js";function j(a){var l,r;const t=((l=a.metrics)==null?void 0:l.find(s=>s.before&&s.after))??((r=a.metrics)==null?void 0:r[0]);return t?t.single?{label:t.label,value:t.single}:{label:t.label,value:`${t.before} â ${t.after}`}:null}const d=[{num:"01",title:"Stabilization",lead:"Stop the bleeding. See what's real."},{num:"02",title:"Foundation",lead:"Build the system. Standardize execution."},{num:"03",title:"Repeatability",lead:"Drive consistency. Prove it performs."},{num:"04",title:"Scalability",lead:"Grow without breaking. Scale with control."}];function N(){return e.jsx("div",{className:"hidden lg:block w-full max-w-[340px]",children:e.jsx("ul",{children:d.map((a,t)=>e.jsxs("li",{className:"flex gap-4",children:[e.jsxs("div",{className:"flex flex-col items-center",children:[e.jsx("span",{className:"flex-shrink-0 w-9 h-9 rounded-full border border-[var(--color-signal)]/40 flex items-center justify-center font-sans text-[11px] font-bold tracking-[0.1em] text-[var(--color-signal)]",children:a.num}),t<d.length-1&&e.jsx("span",{className:"w-px flex-1 my-1 bg-[var(--color-signal)]/25","aria-hidden":!0})]}),e.jsxs("div",{className:"pb-8",children:[e.jsx("p",{className:"font-display text-lg font-semibold text-white",children:a.title}),e.jsx("p",{className:"text-sm text-[var(--color-cloud)]/60 mt-0.5",children:a.lead})]})]},a.num))})})}function S(){const[a,t]=i.useState(null),[l,r]=i.useState(null);return i.useEffect(()=>{document.title="Case studies â Revenue Reimagined",b().then(t).catch(s=>r(s.message))},[]),e.jsxs("div",{className:"bg-[var(--color-navy)] text-white overflow-x-hidden antialiased min-h-screen flex flex-col",children:[e.jsx(x,{}),e.jsxs(o,{surface:"dark",padding:"xl",className:"relative overflow-hidden pt-36 lg:pt-44 !pb-12 lg:!pb-16",children:[e.jsx("div",{className:"absolute inset-0 grid-pattern opacity-60 pointer-events-none"}),e.jsxs(c,{width:"wide",className:"relative z-10 flex flex-col lg:flex-row lg:items-start gap-12 lg:gap-8",children:[e.jsxs("div",{className:"lg:flex-1",children:[e.jsx("p",{className:"text-sm md:text-base font-black uppercase tracking-[0.2em] text-[var(--color-signal)] mb-4",children:"Case studies"}),e.jsxs(m,{tone:"inverse",className:"lg:whitespace-nowrap",children:["The ",e.jsx("span",{className:"text-[var(--color-signal)]",children:"GTM Gap®"})," named and closed."]}),e.jsx(g,{width:"8rem",className:"mt-6 h-1"}),e.jsx(u,{tone:"muted-inverse",className:"mt-8 max-w-xl",children:"Custom diagnostic. Proven operating system. Different companies. Every one of them found the GTM Gap® costing them revenue, and closed it. Here's what that looked like, in their own numbers."})]}),e.jsx(N,{})]})]}),e.jsx(o,{surface:"light",padding:"lg",className:"border-y border-[var(--color-gray-soft)] flex-1 !py-8 lg:!py-12",children:e.jsxs(c,{children:[l&&e.jsx("p",{className:"text-[var(--color-negative)]",children:l}),!l&&a===null&&e.jsx("p",{className:"text-[var(--color-slate)]",children:"Loading case studiesâ¦"}),!l&&(a==null?void 0:a.length)===0&&e.jsx("p",{className:"text-[var(--color-slate)]",children:"Case studies are on the way. Check back soon."}),a&&a.length>0&&e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:a.map(s=>{const n=j(s);return e.jsxs(p,{to:`/case-studies/${s.slug}`,className:"group flex flex-col justify-between rounded-2xl border border-[var(--color-gray-soft)] border-t-4 border-t-[var(--color-signal)] bg-white p-8 transition-shadow duration-200 hover:shadow-[0_8px_24px_rgba(4,49,89,0.08)]",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[s.client_logo_url?e.jsx("img",{src:s.client_logo_url,alt:`${s.client_name} logo`,className:"h-12 w-auto max-w-[180px] object-contain",loading:"lazy"}):e.jsx("span",{className:"font-display text-lg font-semibold text-[var(--color-navy)]",children:s.client_name}),s.stage&&e.jsx("span",{className:"text-[10px] font-bold uppercase tracking-[0.15em] text-[var(--color-slate)] border border-[var(--color-gray-soft)] rounded-full px-2 py-0.5",children:s.stage})]}),e.jsx("p",{className:"font-display text-xl font-semibold leading-snug text-[var(--color-navy)]",children:s.outcome_headline})]}),e.jsxs("div",{className:"mt-6 flex items-end justify-between gap-4",children:[n&&e.jsxs("div",{className:"rounded-xl bg-[var(--color-signal)]
1/10 px-4 py-3",children:[e.jsx("p",{className:"font-display text-[32px] font-bold leading-none text-[var(--color-navy)] tabular-nums",children:n.value}),e.jsx("p",{className:"text-[11px] font-bold uppercase tracking-[0.15em] text-[var(--color-slate)] mt-1.5",children:n.label})]}),e.jsxs("span",{className:"flex items-center gap-1 text-sm font-bold text-[var(--color-slate)] group-hover:text-[var(--color-navy)] transition-colors",children:["Read ",e.jsx(h,{name:"arrow_forward",size:18})]})]})]},s.slug)})})]})}),e.jsx(f,{placement:"case_studies",surface:"light-alt"}),e.jsx(v,{})]})}export{S as default};
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.