/* ============================================================================
   DIJIN YAZI TİPİ — TEK TÜKETİM EVİ  (ÜRETİLEN DOSYA — ELLE DÜZENLENMEZ)
   Üretim : python3 scripts/fonts/build_dijin_fonts.py --recipe all
   Damga  : 2026-08-20 00:00 UTC (SOURCE_DATE_EPOCH=1787184000) · case 0330
   Lisans : SIL Open Font License 1.1 — her aile klasöründe OFL.txt + NOTICE

   KURAL (V9 tek görev tek yer): repoda BAŞKA `@font-face` evi AÇILMAZ. Web token
   dosyası (Web/app/dijin-tokens.css) BU dosyayı import eder, kendi yüzünü tanımlamaz.
   `--verify` repoyu tarar; ikinci bir ev bulursa raporlar.

   TABULAR RAKAM (EK-2): `tnum` FONT VARSAYILANIDIR (cmap düzeyinde bağlandı).
   Burada `font-variant-numeric: tabular-nums` YAZILMAZ — çift kaynak olmasın.
   Doğrulama: build_dijin_fonts.py --verify → "rakam genişlikleri eşit".

   SERİF SÖZLEŞMESİ (K1 · owner 2026-08-20): `Dijin Serif` YALNIZ `--font-display`
   token'ındadır ve ≥24px başlık/kimlik içindir. Gövde metnine BAĞLANAMAZ;
   `--font-sans`/`--font-body` zincirinde serif geçerse `--verify` KIRMIZI verir.

   CAPTION SÖZLEŞMESİ (owner 2026-08-20): `Dijin Sans Caption` YALNIZ `--font-caption`
   token'ındadır ve 9-11px damga/eyebrow/meta satırları içindir (ölçüm: `·` 9px'te
   Regular'da 0.56 px mürekkep = SINIRDA, Caption'da 2.07 = +%270). Gövde/başlık
   zincirine SIZAMAZ; `--font-sans`/`--font-body`/`--font-display`'de geçerse
   `--verify` KIRMIZI verir. Ayrı AİLE ADI taşır → yanlış ağırlık eşleşmesi imkânsız.

   VF SÖZLEŞMESİ (owner 2026-08-20): bu dosya DEĞİŞKEN (Variable) kesitlere ATIF
   VERMEZ. İmza müdahalesi (nokta motifi · `·` · `…` · yuvarlak uç) `gvar` yüzünden
   VF'ye taşınamıyor; atıf verilseydi "markasız Dijin" ikinci bir gerçek kaynak olurdu.
   VF yalnız native/CI için ÜRETİLİR, commit'e girmez (.gitignore).

   KRİTİK YOL (ilk boyama): 43.4 KB — yalnız iki dilim preload edilir:
  <link rel="preload" href="./DijinSans/DijinSans-Regular.latin.woff2" as="font" type="font/woff2" crossorigin>
  <link rel="preload" href="./DijinMono/DijinMono-Regular.latin.woff2" as="font" type="font/woff2" crossorigin>
   ============================================================================ */

@font-face {
  font-family: 'Dijin Sans';
  src: url('./DijinSans/DijinSans-Regular.latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-017F, U+0192, U+0218-021B, U+0237, U+02BC, U+02C6-02C7, U+02D8-02DD, U+200B, U+2010-2015, U+2018-201E, U+2020-2022, U+2026, U+2030, U+2032-2033, U+2039-203B, U+2044, U+2052, U+205F-2060, U+20A0-20BF, U+2113, U+2116, U+2122, U+2126, U+212E, U+2190-2199, U+21A9-21AA, U+21B5, U+21BA-21BB, U+21D0, U+21D2, U+21D4, U+21E7, U+2202, U+2206, U+220F, U+2211-2212, U+2215, U+2219-221A, U+221E, U+2229, U+222B, U+2248, U+2260-2261, U+2264-2265, U+2298, U+22C5, U+2318, U+2325, U+232B, U+23CE, U+23EA, U+25A0, U+25AA, U+25CB, U+25CF, U+2605-2606, U+2699, U+26A0, U+270E, U+2713, U+2715, U+2717;
}
@font-face {
  font-family: 'Dijin Sans';
  src: url('./DijinSans/DijinSans-Regular.cyrillic.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04D0-04D1, U+04E8-04E9;
}
@font-face {
  font-family: 'Dijin Sans';
  src: url('./DijinSans/DijinSans-Regular.greek.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0384-038A, U+038C, U+038E-03A1, U+03A3-03CE;
}
@font-face {
  font-family: 'Dijin Sans';
  src: url('./DijinSans/DijinSans-Semibold.latin.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-017F, U+0192, U+0218-021B, U+0237, U+02BC, U+02C6-02C7, U+02D8-02DD, U+200B, U+2010-2015, U+2018-201E, U+2020-2022, U+2026, U+2030, U+2032-2033, U+2039-203B, U+2044, U+2052, U+205F-2060, U+20A0-20BF, U+2113, U+2116, U+2122, U+2126, U+212E, U+2190-2199, U+21A9-21AA, U+21B5, U+21BA-21BB, U+21D0, U+21D2, U+21D4, U+21E7, U+2202, U+2206, U+220F, U+2211-2212, U+2215, U+2219-221A, U+221E, U+2229, U+222B, U+2248, U+2260-2261, U+2264-2265, U+2298, U+22C5, U+2318, U+2325, U+232B, U+23CE, U+23EA, U+25A0, U+25AA, U+25CB, U+25CF, U+2605-2606, U+2699, U+26A0, U+270E, U+2713, U+2715, U+2717;
}
@font-face {
  font-family: 'Dijin Sans';
  src: url('./DijinSans/DijinSans-Semibold.cyrillic.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04D0-04D1, U+04E8-04E9;
}
@font-face {
  font-family: 'Dijin Sans';
  src: url('./DijinSans/DijinSans-Semibold.greek.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0384-038A, U+038C, U+038E-03A1, U+03A3-03CE;
}
@font-face {
  font-family: 'Dijin Sans Caption';
  src: url('./DijinSans/DijinSans-Caption.latin.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-017F, U+0192, U+0218-021B, U+0237, U+02BC, U+02C6-02C7, U+02D8-02DD, U+200B, U+2010-2015, U+2018-201E, U+2020-2022, U+2026, U+2030, U+2032-2033, U+2039-203B, U+2044, U+2052, U+205F-2060, U+20A0-20BF, U+2113, U+2116, U+2122, U+2126, U+212E, U+2190-2199, U+21A9-21AA, U+21B5, U+21BA-21BB, U+21D0, U+21D2, U+21D4, U+21E7, U+2202, U+2206, U+220F, U+2211-2212, U+2215, U+2219-221A, U+221E, U+2229, U+222B, U+2248, U+2260-2261, U+2264-2265, U+2298, U+22C5, U+2318, U+2325, U+232B, U+23CE, U+23EA, U+25A0, U+25AA, U+25CB, U+25CF, U+2605-2606, U+2699, U+26A0, U+270E, U+2713, U+2715, U+2717;
}
@font-face {
  font-family: 'Dijin Sans Caption';
  src: url('./DijinSans/DijinSans-Caption.cyrillic.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04D0-04D1, U+04E8-04E9;
}
@font-face {
  font-family: 'Dijin Sans Caption';
  src: url('./DijinSans/DijinSans-Caption.greek.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0384-038A, U+038C, U+038E-03A1, U+03A3-03CE;
}
@font-face {
  font-family: 'Dijin Mono';
  src: url('./DijinMono/DijinMono-Regular.latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-017F, U+0192, U+0218-021B, U+0237, U+02BC, U+02C6-02C7, U+02D8-02DD, U+200B, U+2010-2015, U+2018-201E, U+2020-2022, U+2026, U+2030, U+2032-2033, U+2039-203B, U+2044, U+2052, U+205F-2060, U+20A0-20BF, U+2113, U+2116, U+2122, U+2126, U+212E, U+2190-2199, U+21A9-21AA, U+21B5, U+21BA-21BB, U+21D0, U+21D2, U+21D4, U+21E7, U+2202, U+2206, U+220F, U+2211-2212, U+2215, U+2219-221A, U+221E, U+2229, U+222B, U+2248, U+2260-2261, U+2264-2265, U+2298, U+22C5, U+2318, U+2325, U+232B, U+23CE, U+23EA, U+25A0, U+25AA, U+25CB, U+25CF, U+2605-2606, U+2699, U+26A0, U+270E, U+2713, U+2715, U+2717;
}
@font-face {
  font-family: 'Dijin Mono';
  src: url('./DijinMono/DijinMono-Regular.cyrillic.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04D0-04D1, U+04E8-04E9;
}
@font-face {
  font-family: 'Dijin Mono';
  src: url('./DijinMono/DijinMono-Regular.greek.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0384-038A, U+038C, U+038E-03A1, U+03A3-03CE;
}
@font-face {
  font-family: 'Dijin Serif Display';
  src: url('./DijinSerif/DijinSerif-Display.latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-017F, U+0192, U+0218-021B, U+0237, U+02BC, U+02C6-02C7, U+02D8-02DD, U+200B, U+2010-2015, U+2018-201E, U+2020-2022, U+2026, U+2030, U+2032-2033, U+2039-203B, U+2044, U+2052, U+205F-2060, U+20A0-20BF, U+2113, U+2116, U+2122, U+2126, U+212E, U+2190-2199, U+21A9-21AA, U+21B5, U+21BA-21BB, U+21D0, U+21D2, U+21D4, U+21E7, U+2202, U+2206, U+220F, U+2211-2212, U+2215, U+2219-221A, U+221E, U+2229, U+222B, U+2248, U+2260-2261, U+2264-2265, U+2298, U+22C5, U+2318, U+2325, U+232B, U+23CE, U+23EA, U+25A0, U+25AA, U+25CB, U+25CF, U+2605-2606, U+2699, U+26A0, U+270E, U+2713, U+2715, U+2717;
}
@font-face {
  font-family: 'Dijin Serif Display';
  src: url('./DijinSerif/DijinSerif-Display.cyrillic.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04D0-04D1, U+04E8-04E9;
}
@font-face {
  font-family: 'Dijin Serif Display';
  src: url('./DijinSerif/DijinSerif-Display.greek.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0384-038A, U+038C, U+038E-03A1, U+03A3-03CE;
}
@font-face {
  font-family: 'Dijin Sans Arabic';
  src: url('./DijinSansArabic/DijinSansArabic-Regular.arabic.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200F;
}
@font-face {
  font-family: 'Dijin Sans Arabic';
  src: url('./DijinSansArabic/DijinSansArabic-Regular.latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-017F, U+0192, U+0218-021B, U+0237, U+02BC, U+02C6-02C7, U+02D8-02DD, U+200B, U+2010-2015, U+2018-201E, U+2020-2022, U+2026, U+2030, U+2032-2033, U+2039-203B, U+2044, U+2052, U+205F-2060, U+20A0-20BF;
}

:root {
  /* gövde + arayüz */
  --font-sans: 'Dijin Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  /* kanıt · hash · sayaç · kod */
  --font-mono: 'Dijin Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  /* YALNIZ ≥24px başlık/kimlik (K1: display-only) */
  --font-display: 'Dijin Serif Display', Georgia, 'Times New Roman', serif;
  /* sans başlık isteyen yüzeyler için (serif TAŞIMAZ) */
  --font-display-sans: 'Dijin Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  /* YALNIZ 9-11px damga/eyebrow/meta/kayıt-kimliği satırları (owner kararı 2026-08-20) */
  --font-caption: 'Dijin Sans Caption', 'Dijin Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --line-height-body: 1.5;
  --font-display-min-size: 24px;   /* K1 · bu eşiğin altında --font-display kullanılmaz */
}

:root:lang(ar), [lang="ar"] {
  --font-sans: 'Dijin Sans Arabic', 'Dijin Sans', 'Geeza Pro', Tahoma, sans-serif;
  --line-height-body: 1.6;
  /* RTL yerleşim BU DOSYANIN İŞİ DEĞİL → case 0331 (mantıksal yön kapısı) */
}
:root:lang(ja), [lang="ja"] {
  --font-sans: 'Dijin Sans', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Yu Gothic', 'Noto Sans JP', 'Noto Sans CJK JP', 'Meiryo', 'MS PGothic', sans-serif;
  --line-height-body: 1.75;   /* CJK gövdesi daha uzun */
}
:root:lang(ko), [lang="ko"] {
  --font-sans: 'Dijin Sans', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', 'Noto Sans CJK KR', 'Nanum Gothic', 'Dotum', sans-serif;
  --line-height-body: 1.75;   /* CJK gövdesi daha uzun */
}
:root:lang(zh), [lang="zh"] {
  --font-sans: 'Dijin Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', 'Source Han Sans SC', 'SimHei', sans-serif;
  --line-height-body: 1.75;   /* CJK gövdesi daha uzun */
}
