---
/**
* The slanted page banner — ported from daemon-sec.xyz's SlantTitle. A slab
* skewed skewX(-11deg) in the section's accent, the title counter-skewed so
* the letterforms stay upright, and a misregistered ink edge nudged up-left so
* the pair reads as two printing plates rather than one bordered box.
*
* The accent is a theme-aware Rosé Pine semantic token, so the slab keeps its
* role in both Dawn and Night. The title decodes on view via app.ts's
* initUnscramble() (data-unscramble), and the edge registers in with a CSS
* settle that collapses to nothing under prefers-reduced-motion.
*/
type Tone = 'love' | 'iris' | 'pine' | 'foam' | 'gold' | 'rose';
interface Props {
eyebrow: string;
title: string;
intro?: string;
tone?: Tone;
}
const { eyebrow, title, intro, tone = 'pine' } = Astro.props;
const SKEW = -11;
---
{eyebrow}
{title}
{intro && {intro}
}
{(Astro.slots.has('meta')) &&
}