It sounds like you’re looking for the_post_thumbnail_url():
<header class="intro-header" style="background-image: url('<?php the_post_thumbnail_url(); ?>')">
It sounds like you’re looking for the_post_thumbnail_url():
<header class="intro-header" style="background-image: url('<?php the_post_thumbnail_url(); ?>')">