@php use App\Support\PageImages; $ps = $publicSettings ?? $themeSettings ?? []; $bookUrl = $ps['cta.primary_url'] ?? '/book'; $bookText = $ps['cta.primary_text'] ?? 'Book Consultation'; $industrySlug = $industry?->slug; $storyImage = PageImages::preferMedia( $caseStudy?->featuredImage, PageImages::forCaseStudy($industrySlug), $page['title'] ?? null ); $processImage = PageImages::process(); $ctaImage = PageImages::preferMedia( $caseStudy?->featuredImage, PageImages::forCaseStudy($industrySlug), $page['title'] ?? null ); $statItems = collect($page['metrics'])->map(fn ($m) => [ 'value' => $m['value'].($m['suffix'] ?? ''), 'label' => $m['label'], ])->all(); @endphp

Case study @if($page['client_name']) ยท {{ $page['client_name'] }} @endif

{{ $bookText }} @if($industry) {{ $industry->name }} industry @endif
{{-- Overview โ€” editorial split like homepage featured case study --}}
{{ $storyImage['alt'] }} @if($storyImage['caption'])
{{ $storyImage['caption'] }}
@endif
@include('pages.home._section-head', [ 'kicker' => 'At a glance', 'title' => 'Challenge, solution, and results', ])

Challenge

{{ $page['challenge'] }}

Solution

{{ $page['solution'] }}

@if($page['results'])

{{ $page['results'] }}

@endif
{{-- Full story --}}
@include('pages.home._section-head', [ 'kicker' => 'The story', 'title' => 'How '.$page['client_name'].' scaled with remote talent', 'centered' => true, ])
{!! $page['content'] !!}
@if(!empty($page['quote']['text']) || ! empty($page['takeaways']))
@if(!empty($page['quote']['text']))

"{{ $page['quote']['text'] }}"

{{ strtoupper(substr($page['quote']['author'], 0, 1)) }}
{{ $page['quote']['author'] }}

{{ $page['quote']['role'] }}, {{ $page['client_name'] }}

@endif @if(! empty($page['takeaways']))

Key takeaways

    @foreach($page['takeaways'] as $takeaway)
  • {{ $takeaway }}
  • @endforeach
@endif
@endif
{{-- Timeline --}}
@include('pages.home._section-head', [ 'kicker' => 'Timeline', 'title' => 'How it unfolded', 'lead' => 'The key phases from first conversation to a working remote team.', 'centered' => true, ])
    @foreach($page['timeline'] as $i => $step)
  1. {{ $i + 1 }}

    {{ $step['phase'] }}

    {{ $step['description'] }}

  2. @endforeach
{{ $processImage['alt'] }} @if($processImage['caption'])
{{ $processImage['caption'] }}
@endif
@if($rolesHired->isNotEmpty())
@include('pages.home._section-head', [ 'kicker' => 'Talent deployed', 'title' => 'Roles '.$page['client_name'].' hired', 'href' => route('hire.index'), 'linkText' => 'Explore roles', ])
@endif @if($related->isNotEmpty())
@include('pages.home._section-head', [ 'kicker' => 'More stories', 'title' => 'Related case studies', 'href' => route('case-studies.index'), 'linkText' => 'All case studies', ])
@endif