/* ==========================================================================
   İPEK SAVUNMA — Kendi sunucumuzdaki yazı tipleri            (2026-08-29)
   --------------------------------------------------------------------------
   NEDEN: Anasayfadaki CLS'in TAMAMI Google Fonts'tan geliyordu. Kanıt —
   fonts.googleapis.com + fonts.gstatic.com engellenip ölçüldüğünde:

       fontlar normal : CLS 0,2481 / 0,2894 / 0,2894
       fontlar engelli: CLS 0,0000 / 0,0000 / 0,0000

   Mekanizma: `display=swap` ile sayfa önce sistem fontuyla çiziliyor, font
   geç geldiğinde (ölçümde t≈1110–3463 ms) metin metrikleri değişiyor ve hero
   iç kabı (.ipek-hv3-inner) yeniden konumlanıyor. Kayma GÖRÜNÜR olduğu için
   CLS'e sayılıyor.

   ÇÖZÜM İKİ PARÇA:
     1) Dosyalar kendi sunucumuzda. İki ayrı köken (DNS + TLS + iki istek
        zinciri: önce CSS, sonra woff2) kalktı; artık aynı köken, HTTP/2.
     2) `font-display: optional`. `swap`ten farkı: font kısa blok süresinde
        (~100 ms) hazır değilse tarayıcı yedek fontta KALIR ve sonradan
        DEĞİŞTİRMEZ. Değişim olmayınca kayma da olmaz — CLS yapısal olarak 0.
        Preload ile birlikte fontlar bu süreye çoğunlukla yetişiyor.

   TÜRKÇE İÇİN latin-ext ŞART: ğ ş ı İ bu alt kümede (ç ö ü latin'de).
   Her aile için iki dosya var; tarayıcı unicode-range'e bakıp yalnız
   gerekeni indirir.

   Inter DEĞİŞKEN FONT: Google 6 ağırlık için de BAYT BAYT AYNI dosyayı
   veriyordu (md5 doğrulandı). Tek dosya + `font-weight: 100 900` ile
   12 dosya → 2 dosya, 798 KB → 133 KB.

   GERİ ALMA: index.html'de bu satırı silip eski Google Fonts <link>'ini
   geri koymak yeterli; dosyalar assets/fonts/ altında kalır.
   ========================================================================== */

/* ── Bebas Neue — hero başlığı (--ipek-font-display) ───────────────────── */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('/assets/fonts/bebasneue-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('/assets/fonts/bebasneue-400-latin.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;
}

/* ── Saira Condensed — başlıklar (--ipek-font-condensed) ───────────────── */
@font-face {
  font-family: 'Saira Condensed'; font-style: normal; font-weight: 500; font-display: optional;
  src: url('/assets/fonts/sairacondensed-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Saira Condensed'; font-style: normal; font-weight: 500; font-display: optional;
  src: url('/assets/fonts/sairacondensed-500-latin.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: 'Saira Condensed'; font-style: normal; font-weight: 700; font-display: optional;
  src: url('/assets/fonts/sairacondensed-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Saira Condensed'; font-style: normal; font-weight: 700; font-display: optional;
  src: url('/assets/fonts/sairacondensed-700-latin.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: 'Saira Condensed'; font-style: normal; font-weight: 800; font-display: optional;
  src: url('/assets/fonts/sairacondensed-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Saira Condensed'; font-style: normal; font-weight: 800; font-display: optional;
  src: url('/assets/fonts/sairacondensed-800-latin.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: 'Saira Condensed'; font-style: normal; font-weight: 900; font-display: optional;
  src: url('/assets/fonts/sairacondensed-900-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Saira Condensed'; font-style: normal; font-weight: 900; font-display: optional;
  src: url('/assets/fonts/sairacondensed-900-latin.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;
}

/* ── Inter — gövde metni. DEĞİŞKEN font: tek dosya, tüm ağırlıklar ─────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;                 /* değişken eksen — 400..900 hepsi bu dosyadan */
  font-display: optional;
  src: url('/assets/fonts/inter-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url('/assets/fonts/inter-var-latin.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;
}
