{# brutalist timeline override — square step markers + hard rule. Fields: heading, intro, orientation, marker, steps[] (label, title, text, media). Keeps forloop.counter, marker enum branch, and literal conditional orientation classes. #}
<section class="bru-section bg-background text-foreground{% if class %} {{ class }}{% endif %}">
  <div class="bru-wrap-mid">
    {% if heading %}<h2 class="bru-kicker text-center" style="font-size:clamp(1.75rem,4vw,3rem)">{{ heading }}</h2>{% endif %}
    {% if intro %}<p class="mx-auto mt-4 text-center text-lg text-muted-foreground" style="max-width:44rem">{{ intro }}</p>{% endif %}
    <ol class="mt-12 {% if orientation == "horizontal" %}grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4{% else %}relative space-y-8 before:absolute before:left-[0.6875rem] before:top-2 before:h-[calc(100%-1rem)] before:w-[3px] before:bg-border{% endif %}">
      {% for step in steps %}
      <li class="{% if orientation == "horizontal" %}text-center{% else %}relative pl-14{% endif %}">
        <span class="flex h-9 w-9 items-center justify-center bg-accent text-accent-foreground {% if orientation == "horizontal" %}mx-auto{% else %}absolute left-0 top-0{% endif %}" style="border:3px solid hsl(var(--border))">
          {% if marker == "numbered" %}<span class="bru-index" style="font-size:1rem">{{ forloop.counter }}</span>{% elif marker == "dot" %}<span class="h-2 w-2 bg-accent-foreground"></span>{% else %}<svg width="16" height="16" class="h-4 w-4" aria-hidden="true"><use href="/icons/lucide.svg#flag"></use></svg>{% endif %}
        </span>
        <div class="{% if orientation == "horizontal" %}mt-4{% else %}pt-1{% endif %}">
          {% if step.label %}<p class="bru-meta text-accent">{{ step.label }}</p>{% endif %}
          {% if step.title %}<h3 class="mt-1 bru-kicker" style="font-size:1.15rem;text-transform:none">{{ step.title }}</h3>{% endif %}
          {% if step.text %}<p class="mt-1 text-muted-foreground">{{ step.text }}</p>{% endif %}
          {% if step.media %}<div class="bru-slab bru-shadow-sm mt-3 overflow-hidden">{% img step.media alt=step.title class="w-full h-auto object-cover" %}</div>{% endif %}
        </div>
      </li>
      {% endfor %}
    </ol>
  </div>
</section>
