// ---------- Fonts: Computer Modern (CMU) ---------- // CMU ships only two weights, so we map the design's intermediate // weights onto real faces: <=550 → regular, >550 → bold extended. $cmu-faces: ( ('cmunrm', 100 550, normal), ('cmunti', 100 550, italic), ('cmunbx', 551 900, normal), ('cmunbi', 551 900, italic), ); @each $file, $weight, $style in $cmu-faces { @font-face { font-family: 'Computer Modern'; src: url('/fonts/#{$file}.ttf') format('truetype'); font-weight: $weight; font-style: $style; font-display: swap; } }