/* ============================================================
   lulla.net self-hosted fonts (SOTD hardening, 2026-07-17)
   Files live at /wp-content/themes/lulla-theme/fonts/
   ============================================================ */

/* Noto Serif Devanagari variable subset: one request covers the 400–700
   weight range used by the bilingual reading corpus. */
@font-face {
  font-family: 'Noto Serif Devanagari';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('fonts/NotoSerifDeva-400-700-vf1.woff2') format('woff2');
  unicode-range: U+0020-0040, U+005B-0060, U+007B-007E, U+00A0, U+0900-097F, U+1CD0-1CFF, U+200C-200D, U+2013, U+2018-2019, U+201C-201D, U+2026, U+25CC, U+A8E0-A8FF;
}

/* Noto Serif (Latin serif). */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('fonts/NotoSerif-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013, U+2018-2019, U+201C-201D, U+2020-2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2212, U+FEFF;
}
@font-face {
  font-family: 'Noto Serif';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url('fonts/NotoSerif-400italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013, U+2018-2019, U+201C-201D, U+2020-2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2212, U+FEFF;
}
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('fonts/NotoSerif-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013, U+2018-2019, U+201C-201D, U+2020-2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2212, U+FEFF;
}

/* Inter variable subset: one request covers every UI weight in use. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('fonts/Inter-400-700-vf1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013, U+2018-2019, U+201C-201D, U+2020-2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2212, U+FEFF;
}

/* Noto Sans Devanagari (script sans). */
@font-face {
  font-family: 'Noto Sans Devanagari';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('fonts/NotoSansDeva-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans Devanagari';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('fonts/NotoSansDeva-600.woff2') format('woff2');
}

/* Noto Sans Gurmukhi (range-gated). */
@font-face {
  font-family: 'Noto Sans Gurmukhi';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('fonts/NotoSansGurmukhi-400.woff2') format('woff2');
  unicode-range: U+0A00-0A7F, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Noto Sans Gurmukhi';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('fonts/NotoSansGurmukhi-600.woff2') format('woff2');
  unicode-range: U+0A00-0A7F, U+200C-200D, U+25CC;
}

/* Rozha One (bilingual display face). */
@font-face {
  font-family: 'Rozha One';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: local('Rozha One'), local('RozhaOne-Regular'), url('fonts/RozhaOne-400.woff2') format('woff2');
}

/* Metric-tuned local fallbacks for Devanagari prose. */
@font-face {
  font-family: 'Lulla Deva Fallback';
  src: local('Devanagari MT');
  size-adjust: 88%;
  ascent-override: 93%;
  descent-override: 62.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Lulla Deva Fallback B';
  src: local('Devanagari Sangam MN');
  size-adjust: 93%;
  ascent-override: 93%;
  descent-override: 62.5%;
  line-gap-override: 0%;
}

/* Metric-matched fallback for Rozha One. This retains the full original
   character set so the English display fallback remains unchanged. */
@font-face {
  font-family: 'Rozha Fallback';
  src: url('fonts/NotoSerifDeva-400-700-vf1.woff2') format('woff2');
  font-display: optional;
  font-weight: 400;
  font-variation-settings: 'wght' 700;
  unicode-range: U+0900-097F, U+1CD0-1CFF, U+200C-200D, U+25CC, U+A8E0-A8FF;
  size-adjust: 106.1%;
  ascent-override: 99.8%;
  descent-override: 42.2%;
  line-gap-override: 0%;
}
