@extends('layouts.site') @push('head') @if(!empty($seo['meta_description'])) @endif @if(!empty($seo['og_description'])) @endif @if(!empty($seo['og_image'])) @endif @if(!empty($seo['og_description'])) @endif @if(!empty($seo['og_image'])) @endif @endpush @section('content')
{{-- ── Header row ─────────────────────────────────────── --}}
{{-- Title + subline --}}

{!! $project['headline'] !!}

@if($project['subline'])
{!! $project['subline'] !!}
@endif
{{-- Hero media --}} @if($project['hero'])
@include('pages.partials.project-slot', ['slot' => $project['hero']])
@endif {{-- Client, awarded and description in the original template structure --}} @if($project['hero'] || $project['clientName'] || !empty($project['awarded']) || $project['description'])
@if($project['year'])

{{ trans('fp.YEAR') }}

{{ $project['year'] }}
@endif

{{ trans('fp.CLIENT') }}

@if($project['clientName']) {!! $project['clientName'] !!} @else - @endif
@if(!empty($project['awarded']))

{{ trans('fp.AWARDED') }}

@foreach($project['awarded'] as $award)

{!! $award !!}

@endforeach @endif
@if($project['description']) @php($description = trim($project['description'])) @if(str_contains($description, '<')) {!! $description !!} @else

{!! nl2br(e($description)) !!}

@endif @else

-

@endif
@endif
{{-- ── Content blocks ──────────────────────────────────── --}} @foreach($project['blocks'] as $block) @if(!empty($block['hidden'])) @continue @endif @if($block['type'] === 'FullWidth' && ($block['slot']['type'] ?? '') === 'text') {{-- Text block: centred quote style --}}
{!! $block['slot']['text'] !!}
@elseif($block['type'] === 'FullWidth')
@include('pages.partials.project-slot', ['slot' => $block['slot']])
@elseif($block['type'] === 'TwoColumns')
@include('pages.partials.project-slot', ['slot' => $block['left'], 'squareEmbed' => true])
@include('pages.partials.project-slot', ['slot' => $block['right'], 'squareEmbed' => true])
@endif @endforeach
{{-- ── Next project ─────────────────────────────────────── --}} @if(!empty($nextProject))
@endif
@endsection