/*
 * THAYTRO.VN typography system for Vietnamese print and digital assets.
 * Primary family: Be Vietnam Pro. Real font files are supplied for 400/600/700.
 * Keep fonts/OFL.txt with the font files when sharing this package.
 * Official logo artwork is vectorized and should be used unchanged.
 */

@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('./fonts/BeVietnamPro-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('./fonts/BeVietnamPro-SemiBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('./fonts/BeVietnamPro-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --thaytro-font: 'Be Vietnam Pro', Arial, sans-serif;
  --thaytro-weight-body: 400;
  --thaytro-weight-emphasis: 600;
  --thaytro-weight-headline: 700;
  --thaytro-leading-body: 1.4;
  --thaytro-leading-headline: 1.16;
}

.thaytro-type {
  font-family: var(--thaytro-font);
  font-synthesis: none;
}

.thaytro-type p,
.thaytro-type li {
  font-weight: var(--thaytro-weight-body);
  line-height: var(--thaytro-leading-body);
}

.thaytro-type strong,
.thaytro-type .type-emphasis {
  font-weight: var(--thaytro-weight-emphasis);
}

.thaytro-type h1,
.thaytro-type h2,
.thaytro-type .type-headline,
.thaytro-type .type-cta {
  font-weight: var(--thaytro-weight-headline);
  line-height: var(--thaytro-leading-headline);
  letter-spacing: -0.01em;
}
