---
import { BRAND_ARM_PATH, BRAND_ACCENTS, BRAND_SPECTRUM } from '../lib/brand-mark';
import '../styles/hero-brand.css';
---
<!-- Cloned into each responsive hero shape; the template itself stays inert. -->
<template data-hero-brand-template>
<div class="hero-brand">
<svg class="hero-brand__emblem" viewBox="-1320 -1320 2640 2640" aria-hidden="true" focusable="false">
<circle class="hero-brand__orbit" r="1150" pathLength="100" stroke-dasharray="12 4.6667" transform="rotate(-30)" />
{BRAND_ACCENTS.map((accent, i) => (
<g style={`color: var(--hero-${accent})`}>
<path class:list={['hero-brand__arm', { 'hero-brand__arm--outline': i % 2 === 1 }]}
d={BRAND_ARM_PATH} fill="currentColor" stroke="currentColor" transform={`translate(-320 554.256) rotate(${i * 60} 320 -554.256)`} />
<path class="hero-brand__tick" d="M0-1220V-1270" stroke="currentColor" transform={`rotate(${i * 60})`} />
</g>
))}
</svg>
<div class="hero-brand__type">
<div class="hero-brand__caption">Field notes / Reference</div>
<div class="hero-brand__rail" aria-hidden="true">
{BRAND_SPECTRUM.map((accent, i) => <i style={`background: var(--hero-${accent}); flex: ${[1.45, .8, .75, 1.15, .7, 1.1][i]}`} />)}
</div>
</div>
</div>
</template>