<?php
/// file: app/Components/section-heading.php

declare(strict_types=1);

/** @var string $label */
/** @var string $title */
/** @var string|null $kicker */
?>
<div class="section-heading mb-12 md:mb-16">
    <?php if (! empty($kicker)): ?>
        <p class="muted-label mb-4"><?= e($kicker) ?></p>
    <?php endif; ?>
    <p class="muted-label mb-3"><?= e($label) ?></p>
    <h2 class="cinematic-heading max-w-4xl"><?= e($title) ?></h2>
</div>
