{{-- Homepage hero (SOW 1.5). Cinematic but restrained: eyebrow, statement, supporting line, two CTAs, over full-bleed project photography or muted video. Falls back to an editorial treatment on the blueprint texture when no slide has been published, so the page never opens on an empty stage. --}} @php($hasSlides = $slides->isNotEmpty())
count() > 1) x-data="{ index: 0, total: {{ $slides->count() }}, timer: null, start() { if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) this.timer = setInterval(() => this.next(), 8000) }, stop() { clearInterval(this.timer) }, next() { this.index = (this.index + 1) % this.total }, go(i) { this.index = i; this.stop(); this.start() }, }" x-init="start()" @mouseenter="stop()" @mouseleave="start()" @else x-data="{ index: 0 }" @endif aria-roledescription="{{ $hasSlides && $slides->count() > 1 ? __('carousel') : '' }}"> @forelse ($slides as $i => $slide)
0) x-cloak @endif x-transition:enter="transition duration-700 ease-out" x-transition:enter-start="opacity-0" x-transition:enter-end="opacity-100" role="group" aria-roledescription="{{ __('slide') }}" aria-label="{{ __('Slide :n of :total', ['n' => $i + 1, 'total' => $slides->count()]) }}">
@if ($slide->media_type === 'video_file' && $slide->video_path) @elseif ($slide->media_type === 'video_embed' && $slide->embed_url) @else {{-- LCP image: eager, high priority, slow cinematic drift. --}} @endif
@if ($slide->subtitle)

{{ $slide->subtitle }}

@endif @if ($slide->title)

{{ $slide->title }}

@endif @if ($slide->description)

{{ $slide->description }}

@endif @if ($slide->cta_label || $slide->secondary_cta_label)
@if ($slide->cta_label) {{ $slide->cta_label }} @endif @if ($slide->secondary_cta_label) {{ $slide->secondary_cta_label }} @endif
@endif @if (filled($slide->badges))
    @foreach ($slide->badges as $badge)
  • {{ $badge }}
  • @endforeach
@endif
@empty

{{ __('Engineering') }} · {{ __('Infrastructure') }} · {{ __('Development') }}

{{ setting('site_tagline', __('Engineering solutions for a better tomorrow.')) }}

{{ setting('site_description') }}

{{ __('Explore Our Projects') }} {{ __('Our Services') }}
@endforelse @if ($hasSlides && $slides->count() > 1)
@foreach ($slides as $i => $slide) @endforeach
@endif