/* Locally Hosted Fonts - Optimized WOFF2 (84% smaller) */

/* Sarabun Font - Thai text */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/optimized/sarabun-light.woff2') format('woff2');
  unicode-range: U+0020-007E, U+0E00-0E7F;
}

@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/optimized/sarabun-regular.woff2') format('woff2');
  unicode-range: U+0020-007E, U+0E00-0E7F;
}

@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/optimized/sarabun-medium.woff2') format('woff2');
  unicode-range: U+0020-007E, U+0E00-0E7F;
}

@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/optimized/sarabun-semibold.woff2') format('woff2');
  unicode-range: U+0020-007E, U+0E00-0E7F;
}

@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/optimized/sarabun-bold.woff2') format('woff2');
  unicode-range: U+0020-007E, U+0E00-0E7F;
}

@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/optimized/sarabun-bold.woff2') format('woff2');
  unicode-range: U+0020-007E, U+0E00-0E7F;
}

/* Kanit Font - Headings and emphasis */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/optimized/kanit-regular.woff2') format('woff2');
  unicode-range: U+0020-007E, U+0E00-0E7F;
}

@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/optimized/kanit-medium.woff2') format('woff2');
  unicode-range: U+0020-007E, U+0E00-0E7F;
}

/* Noto Sans Thai - Fallback Thai font */
@font-face {
  font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/optimized/noto-sans-thai-regular.woff2') format('woff2');
  unicode-range: U+0020-007E, U+0E00-0E7F;
}

@font-face {
  font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/optimized/noto-sans-thai-medium.woff2') format('woff2');
  unicode-range: U+0020-007E, U+0E00-0E7F;
}
