/* Canonical typography from operium-nexus.pen (UI / Onest adaptation, v0.1).
   Run frontend/scripts/sync-operium-typography.mjs to verify service copies.
   Operium UI is a modified Onest font; distribute OFL.txt with the assets. */
@font-face { font-family: 'Operium UI'; src: url('./OperiumUI-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Operium UI'; src: url('./OperiumUI-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Operium UI'; src: url('./OperiumUI-Semibold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Operium UI'; src: url('./OperiumUI-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Operium UI'; src: url('./OperiumUI-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Operium UI'; src: url('./OperiumUI-SemiboldItalic.woff2') format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Operium Sans'; src: url('./OperiumSans-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Operium Sans'; src: url('./OperiumSans-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Operium Sans'; src: url('./OperiumSans-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Operium Dot'; src: url('./OperiumDot-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Operium Square'; src: url('./OperiumSquare-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --font-ui: 'Operium UI', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-reading: var(--font-ui);
  --font-brand: 'Operium Sans', var(--font-ui);
  --font-accent-dot: 'Operium Dot', var(--font-ui);
  --font-accent-square: 'Operium Square', var(--font-ui);
}

/* Family only: preserve component sizes, monospace and authored document fonts. */
body { font-family: var(--font-ui); font-synthesis: none; }
button, input, select, textarea { font-family: inherit; }
