<!-- Preload critical images for better performance -->
{{- with .Params.image }}
<link rel="preload" as="image" href="{{ . }}">
{{- end }}

{{- if .IsHome }}
<!-- Preload background image (same for all devices) -->
<link rel="preload" as="image" href="images/desktop.webp">
{{- end }}
