/* Font tự host trong theme (assets/fonts), tải cùng tên miền với trang: không thêm kết nối, không cần CORS.
   - Tiêu đề: Helvetica Neue (bản quyền Linotype: cần giấy phép webfont trước khi đưa lên site thật).
     Đặt tên riêng "DT Helvetica Neue" để mọi máy dùng đúng file này thay vì font cài sẵn của máy.
   - Nội dung: Be Vietnam Pro (SIL Open Font License, xem assets/fonts/BeVietnamPro-OFL.txt), bộ chữ Latin + tiếng Việt. */

/* ---------- Helvetica Neue (tiêu đề) ----------
   Gán độ đậm giống style.css cũ (200 = UltraLight, 100 = Thin) để tiêu đề trông y như trước.
   Không dùng Bold: Medium phủ cả 500–700, nên không còn file Bold nào được tải. */
@font-face { font-family: 'DT Helvetica Neue'; font-style: normal; font-weight: 100; font-display: swap; src: url('../fonts/HelveticaNeue-Thin-13.woff2') format('woff2'); }
@font-face { font-family: 'DT Helvetica Neue'; font-style: italic; font-weight: 100; font-display: swap; src: url('../fonts/HelveticaNeue-ThinItalic-14.woff2') format('woff2'); }
@font-face { font-family: 'DT Helvetica Neue'; font-style: normal; font-weight: 200; font-display: swap; src: url('../fonts/HelveticaNeue-UltraLight-06.woff2') format('woff2'); }
@font-face { font-family: 'DT Helvetica Neue'; font-style: italic; font-weight: 200; font-display: swap; src: url('../fonts/HelveticaNeue-UltraLightItalic-07.woff2') format('woff2'); }
@font-face { font-family: 'DT Helvetica Neue'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/HelveticaNeue-Light-08.woff2') format('woff2'); }
@font-face { font-family: 'DT Helvetica Neue'; font-style: italic; font-weight: 300; font-display: swap; src: url('../fonts/HelveticaNeue-LightItalic-09.woff2') format('woff2'); }
@font-face { font-family: 'DT Helvetica Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/HelveticaNeue-01.woff2') format('woff2'); }
@font-face { font-family: 'DT Helvetica Neue'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/HelveticaNeue-Italic-03.woff2') format('woff2'); }
@font-face { font-family: 'DT Helvetica Neue'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('../fonts/HelveticaNeue-Medium-11.woff2') format('woff2'); }
@font-face { font-family: 'DT Helvetica Neue'; font-style: italic; font-weight: 500 700; font-display: swap; src: url('../fonts/HelveticaNeue-MediumItalic-12.woff2') format('woff2'); }

/* ---------- Be Vietnam Pro (nội dung): mỗi độ đậm tách bộ Latin và bộ tiếng Việt, trình duyệt chỉ tải bộ cần.
   Chỉ 2 độ đậm cho nhẹ: file 300 dùng cho 300–400, file 500 dùng cho 500–700 (4 file thay vì 8). ---------- */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 300 400; font-display: swap; src: url('../fonts/be-vietnam-pro-vietnamese-300-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 300 400; font-display: swap; src: url('../fonts/be-vietnam-pro-latin-300-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('../fonts/be-vietnam-pro-vietnamese-500-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('../fonts/be-vietnam-pro-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Gán font ---------- */
/* Biến --dt2-font / --dt2-font-display khai báo trong home-motion.css. */
/* Nội dung mảnh hơn một bậc (300 thay vì 400); các chỗ đặt độ đậm riêng giữ nguyên. */
.dt2, .dt2-header, .dt2-menu, .dt2-footer { font-weight: 300; }
.dt2 strong, .dt2 b { font-weight: 500; }

/* Tiêu đề, số lớn và chữ trang trí dùng Helvetica Neue. */
.dt2 h1, .dt2 h2, .dt2 h3, .dt2 h4,
.dt2-display, .dt2-title, .dt2-display em, .dt2-title em,
.dt2-menu nav a, .dt2-brand, .dt2-footer__lead, .dt2-outline span,
.dt2-badge text,
.dt2-area__num, .dt2-area__title, .dt2-project__num, .dt2-project__title, .dt2-stat dt,
.dt2-member strong, .dt2-post strong, .dt2-cta__btn,
.dt2-prow__title, .dt2-value__name, .dt2-tile__name, .dt2-leader__num, .dt2-leader__name, .dt2-timeline__year,
.dt2-card__title, .dt2-job__title, .dt2-contact__big, .dt2-mailband__text, .dt2-next__title, .dt2-perk h3, .dt2-apply h2, .dt2-contact__form h2 {
    font-family: var(--dt2-font-display) !important;
}

/* Nhãn nhỏ (kể cả khi là thẻ h1 như ở trang chủ) và nút chữ giữ font nội dung. */
.dt2 .dt2-kicker, .dt2 .dt2-kicker * { font-family: var(--dt2-font) !important; }

/* Dòng chữ viền chạy ngang: chừa chỗ cho chân chữ (g, p, dấu nặng) để không bị khung cắt đáy. */
.dt2-outline span { line-height: 1.25; padding-bottom: .08em; }
