/* Burin brand tokens (BRAND.md v0.1, proposed direction): one source for the landing page and the app.
   Fonts are self-hosted, SIL Open Font License (licences beside them). Notation glyphs never use these. */
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('/brand/fonts/source-sans-3-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Source Sans 3'; font-style: italic; font-weight: 200 900; font-display: swap; src: url('/brand/fonts/source-sans-3-latin-wght-italic.woff2') format('woff2-variations'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 400; font-display: swap; src: url('/brand/fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 400; font-style: italic; font-display: swap; src: url('/brand/fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-display: swap; src: url('/brand/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-display: swap; src: url('/brand/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-style: italic; font-display: swap; src: url('/brand/fonts/cormorant-garamond-latin-600-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 700; font-display: swap; src: url('/brand/fonts/cormorant-garamond-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-display: swap; src: url('/brand/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-display: swap; src: url('/brand/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  /* Palette */
  --burin-ink: #202B39;        /* Engraver's Ink: text on paper; dark chrome */
  --burin-paper: #F5F1E8;      /* Plate Paper: marketing canvas */
  --burin-steel: #A2B6C4;      /* Steel Blue: muted secondary accents */
  --burin-copper: #B17C4C;     /* Burnished Copper: highlights, large text, graphics (3.6:1 on white, 3.2:1 on paper: not small text) */
  --burin-white: #FFFFFF;      /* score pages, notation surface */
  --burin-border: #D9D5CD;     /* light-mode boundaries */
  /* Accessible variants (WCAG AA for normal text):
     copper-deep: white text on it 5.8:1, as text on paper 5.2:1; copper-bright: on ink 6.1:1, ink text on it 6.1:1. */
  --burin-copper-deep: #8C5A2E;
  --burin-copper-bright: #D2A06F;
  /* Dark chrome, built from ink */
  --burin-ink-0: #151C26;
  --burin-ink-1: #202B39;
  --burin-ink-2: #2A3747;
  --burin-ink-line: #37475B;
  --burin-ink-text: #E8ECF1;
  --burin-ink-muted: #9FAEC0;
  /* Type */
  --burin-font-display: 'Cormorant Garamond', Georgia, serif;
  --burin-font-ui: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --burin-font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  /* Shape and space (4px scale) */
  --burin-radius-button: 6px;
  --burin-radius-card: 10px;
  --burin-space-1: 4px; --burin-space-2: 8px; --burin-space-3: 12px; --burin-space-4: 16px; --burin-space-6: 24px; --burin-space-8: 32px;
}

/* Period type for the engraving styles (titles and text in the score). SIL Open Font License. */
@font-face { font-family: 'Libre Bodoni'; font-weight: 400; font-display: swap; src: url('/brand/fonts/libre-bodoni-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Libre Bodoni'; font-weight: 400; font-style: italic; font-display: swap; src: url('/brand/fonts/libre-bodoni-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Libre Bodoni'; font-weight: 700; font-display: swap; src: url('/brand/fonts/libre-bodoni-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'IM Fell English'; font-weight: 400; font-display: swap; src: url('/brand/fonts/im-fell-english-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IM Fell English'; font-weight: 400; font-style: italic; font-display: swap; src: url('/brand/fonts/im-fell-english-latin-400-italic.woff2') format('woff2'); }
