IF order.shipping_method.title does not recognise a valid string on order fulfilment emails

Im trying to use an IF statement with order.shipping_method.title to display different email content based on the shipping method title, but I cant get the IF statement to recognise the valid string

I can insert the order.shipping_method.title into the email content fine with no problem, and it correctly pulls the correct string, however when it is used in an IF statement, the content never shows. Ive seen 4-5 other discussions on the boards here with people all experiencing the same thing. All advice is to make sure using order.shipping_method.title however, I cant get it to work,

Heres the code I’m using, any advice greatly appreciated. I also tried using shipping_method.title with no luck

{% if order.shipping_method.title == ‘Click Collect’ %} 

{% capture email_title %}Hi {{ customer.first_name }}, your order is ready to pickup!{% endcapture %}
{% capture email_body %}
  

    

Your item is ready to pickup. Our warehouse is open 9am - 4:30pm

  

{% endcapture %}

  {% endif %}