/**
 * Copyright Octaviaflow 2026
 * JetBrains Mono - Monospace typeface for code
 */

$font-prefix: '../fonts' !default;

// JetBrains Mono Thin
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url('#{$font-prefix}/jetbrains-mono/JetBrainsMono-Thin.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 100;
  font-display: swap;
  src: url('#{$font-prefix}/jetbrains-mono/JetBrainsMono-ThinItalic.woff2') format('woff2');
}

// JetBrains Mono Extra Light
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('#{$font-prefix}/jetbrains-mono/JetBrainsMono-ExtraLight.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: url('#{$font-prefix}/jetbrains-mono/JetBrainsMono-ExtraLightItalic.woff2') format('woff2');
}

// JetBrains Mono Light
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('#{$font-prefix}/jetbrains-mono/JetBrainsMono-Light.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('#{$font-prefix}/jetbrains-mono/JetBrainsMono-LightItalic.woff2') format('woff2');
}

// JetBrains Mono Regular
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('#{$font-prefix}/jetbrains-mono/JetBrainsMono-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('#{$font-prefix}/jetbrains-mono/JetBrainsMono-Italic.woff2') format('woff2');
}

// JetBrains Mono Medium
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('#{$font-prefix}/jetbrains-mono/JetBrainsMono-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('#{$font-prefix}/jetbrains-mono/JetBrainsMono-MediumItalic.woff2') format('woff2');
}

// JetBrains Mono Semi Bold
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('#{$font-prefix}/jetbrains-mono/JetBrainsMono-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('#{$font-prefix}/jetbrains-mono/JetBrainsMono-SemiBoldItalic.woff2') format('woff2');
}

// JetBrains Mono Bold
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('#{$font-prefix}/jetbrains-mono/JetBrainsMono-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('#{$font-prefix}/jetbrains-mono/JetBrainsMono-BoldItalic.woff2') format('woff2');
}

// JetBrains Mono Extra Bold
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('#{$font-prefix}/jetbrains-mono/JetBrainsMono-ExtraBold.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url('#{$font-prefix}/jetbrains-mono/JetBrainsMono-ExtraBoldItalic.woff2') format('woff2');
}
