<?php
/**
 * Block snippet: texture
 * Renders a full-width texture / mood image slot.
 */
$style = $block->style()->or('t-rust')->value();
?>
<div class="texture-slot <?= html($style) ?> reveal">
  <?php if ($block->caption()->isNotEmpty()): ?>
  <span class="texture-caption"><?= $block->caption()->html() ?></span>
  <?php endif ?>
</div>
