/* =================================================================
Hero variants — 3 directions for the top of the page.
Selected via Tweaks ("topDirection"): index | reel | vault
================================================================= */
/* shared scroll cue */
function ScrollCue({ label, onClick }) {
if (onClick) {
return (
);
}
return (
{label}
);
}
/* ---- letter-by-letter title ---- */
function SplitTitle({ text, className }) {
return (
{text.split('').map((ch, i) => (
{ch === ' ' ? '\u00A0' : ch}
))}
);
}
/* =========================================================
A · INDEX — quiet, film-credit. Big serif name, numbered index.
========================================================= */
function HeroIndex({ data, lang, onCue }) {
const m = data.meta;
return (