@if(!empty($portfolio['items'])) @php $featured = collect($portfolio['items'])->filter(fn ($item) => ! empty($item['featured']))->take(3); @endphp

{{ $portfolio['frontEyebrow'] ?? '' }}

{{ $portfolio['frontTitle'] ?? '' }}

{{ $portfolio['frontDescription'] ?? '' }}

{{ $portfolio['frontCta'] ?? 'View the full portfolio' }}
@foreach($featured as $index => $item) @php $name = $item['name'] ?? ''; $initials = collect(preg_split('/\s+/', trim($name))) ->filter() ->map(fn ($part) => mb_substr($part, 0, 1)) ->take(2) ->implode(''); @endphp
@if(!empty($item['image'])) {{ $name }} @else @endif {{ $item['sector'] ?? '' }}

{{ $item['year'] ?? '' }}

{{ $name }}

{{ $item['summary'] ?? '' }}

@if(!empty($item['metrics'][0]))

{{ $item['metrics'][0]['value'] ?? '' }} {{ $item['metrics'][0]['label'] ?? '' }}

@endif
@endforeach
@endif