/* NABOR V5 · TYPOGRAPHY PACKS · 12 curated display+body(+mono) pairs, judged for a black/gold coaching page.
   Applied via body[data-fontpack="01".."12"]. Composer must load the matching Google Fonts link (see fontpacks.json). */
/* Fallback chains insert a width-matched condensed system font ('Arial Narrow', widely available on
   Windows/Mac) ahead of the generic sans-serif/Impact fallback. --fd is a highly condensed display face
   in most packs; swapping straight to full-width sans-serif/Impact on first paint changes how many
   characters fit per line, which reflows h1's line count once the webfont swaps in (CLS on .hero .txt).
   A condensed fallback keeps the pre/post-swap line count stable in the common case. */
body[data-fontpack="01"]{--fd:'Bebas Neue','Arial Narrow',Impact,sans-serif;--fs:'Barlow',system-ui,sans-serif}
body[data-fontpack="02"]{--fd:'Bebas Neue','Arial Narrow',Impact,sans-serif;--fs:'Archivo',system-ui,sans-serif}
body[data-fontpack="03"]{--fd:'Barlow Condensed','Arial Narrow','Barlow',sans-serif;--fs:'Barlow',system-ui,sans-serif;--fm:'JetBrains Mono',ui-monospace,monospace}
body[data-fontpack="04"]{--fd:'Oswald','Arial Narrow',sans-serif;--fs:'Barlow',system-ui,sans-serif}
body[data-fontpack="05"]{--fd:'Anton','Arial Narrow',sans-serif;--fs:'Archivo',system-ui,sans-serif}
body[data-fontpack="06"]{--fd:'Big Shoulders Display','Arial Narrow',sans-serif;--fs:'Barlow',system-ui,sans-serif}
body[data-fontpack="07"]{--fd:'Archivo',system-ui,sans-serif;--fs:'Archivo',system-ui,sans-serif;--w-display:700}
body[data-fontpack="08"]{--fd:'Bebas Neue','Arial Narrow',Impact,sans-serif;--fs:'Inter Tight',system-ui,sans-serif}
body[data-fontpack="09"]{--fd:'Fraunces',Georgia,serif;--fs:'Barlow',system-ui,sans-serif;--case-display:none}
body[data-fontpack="10"]{--fd:'Space Grotesk',system-ui,sans-serif;--fs:'Barlow',system-ui,sans-serif;--fm:'JetBrains Mono',ui-monospace,monospace}
body[data-fontpack="11"]{--fd:'Barlow Semi Condensed','Arial Narrow','Barlow',sans-serif;--fs:'Barlow',system-ui,sans-serif;--case-display:uppercase}
body[data-fontpack="12"]{--fd:'Bebas Neue','Arial Narrow',Impact,sans-serif;--fs:'Barlow',system-ui,sans-serif;--fm:'JetBrains Mono',ui-monospace,monospace}

/* GROUP CONTROLS: composer writes to these three vars for "all H2 / all labels / all metrics" sweeps
   without needing per-element overrides. Already read by base.css (h1,h2 use --fd; .lab/.cap use --fs). */
:root{--fg-h2-scale:1;--fg-label-tracking:.18em;--fg-metric-weight:600}
h2{font-size:calc(var(--t-h2)*var(--scale)*var(--fg-h2-scale))}
.lab,.cap{letter-spacing:var(--fg-label-tracking)}
.metric{font-weight:var(--fg-metric-weight)}
