/* Carolina Book Beat theme: the selected Edition 01 design (prototype BRAND.md and cbb-styles.css, BookMaestro ffdf35eb).
   Values for the --bb-* tokens read by template/assets/base.css. Fonts are self-hosted (SIL OFL, licences in assets/fonts/).
   Text pairs meet WCAG AA 4.5:1 (tests/theme.test.mjs). Primary buttons are orange with white text (Mark's decision,
   2026-12-02): the prototype's Deep Orange #C75B21 darkened to #B8521D, 4.93:1 with white and 4.77:1 with paper.
   Navy on that orange is 2.95:1 and never used. Carolina Blue carries only navy text or none; Ginkgo Gold is a fill
   with navy text. */
@font-face { font-family: "Fraunces"; src: url(assets/fonts/fraunces.ttf) format("truetype"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(assets/fonts/inter.ttf) format("truetype"); font-style: normal; font-weight: 100 900; font-display: swap; }

:root {
  --bb-ink: #13294b;            /* Navy Ink: text, navigation */
  --bb-muted: #59687f;          /* secondary text, 5.47:1 on paper */
  --bb-paper: #fdfbf7;          /* Warm Paper: canvas */
  --bb-surface: #ffffff;        /* cards */
  --bb-sand: #f7f0e8;           /* cream wash */
  --bb-sky: #eaf3fa;            /* light Carolina Blue wash */
  --bb-line: #4085b8;           /* rules and borders, 3.86:1 */
  --bb-hair: rgba(19, 41, 75, 0.1);
  --bb-blue: #4b9cd3;           /* Carolina Blue: mark, underlines, top borders, button fill (navy text 4.84:1) */
  --bb-on-blue: #13294b;
  --bb-accent: #246694;         /* darker Carolina Blue: links, eyebrows, secondary controls, 5.97:1 */
  --bb-on-accent: #fdfbf7;
  --bb-brand: #13294b;          /* navy fills: footer, asides */
  --bb-brand-2: #2a4670;
  --bb-on-brand: #fdfbf7;
  --bb-on-brand-muted: #d3e2f0;
  --bb-dark: #263f4b;           /* "Follow the voices" band */
  --bb-pine: #006d6a;           /* Piedmont Pine: region labels, filters, 5.98:1 */
  --bb-orange: #b8521d;         /* Deep Orange, darkened: primary button fill, white text only */
  --bb-orange-dark: #9a4418;    /* primary button hover, 6.53:1 with white */
  --bb-on-orange: #ffffff;
  --bb-gold: #d9a21b;           /* Ginkgo Gold: small fills with navy text */
  --bb-focus: #13294b;
  --bb-shadow: rgba(19, 41, 75, 0.1);
  --bb-shadow-strong: rgba(19, 41, 75, 0.18);
  --bb-overlay: rgba(12, 24, 37, 0.74);
  --bb-font-display: "Fraunces", Georgia, serif;
  --bb-font-body: "Inter", Arial, sans-serif;
  --bb-radius: 18px;
  --bb-radius-small: 6px;
  --bb-max: 1264px;
}
