/* ORAVYS — self-hosted typography (RGPD Art.6: no fonts.googleapis.com leak)
   Place .woff2 files in /static/fonts/ via scripts/download_self_hosted_assets.sh
   Falls back gracefully to system fonts if files are missing. */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/static/fonts/space-grotesk-variable.woff2') format('woff2-variations'),
       url('/static/fonts/space-grotesk-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/static/fonts/inter-variable.woff2') format('woff2-variations'),
       url('/static/fonts/inter-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/bebas-neue.woff2') format('woff2');
}

/* Rajdhani -- v3 design uses it for badges, eyebrows, section numbers (uppercase, wide tracking). */
/* TTF subset (latin) -- Google does not provide a true variable woff2 for Rajdhani via gstatic, so we ship per-weight TTF. */
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/static/fonts/rajdhani-300.ttf') format('truetype');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/rajdhani-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/fonts/rajdhani-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/fonts/rajdhani-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/fonts/rajdhani-700.ttf') format('truetype');
}

/* System-stack fallbacks ensure readability even if .woff2 files are absent. */
:root {
  --or-font-display-fallback: 'Rajdhani', 'Bebas Neue', 'Helvetica Neue Condensed', 'Arial Narrow', sans-serif;
  --or-font-heading-fallback: 'Space Grotesk', 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  --or-font-body-fallback: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --or-font-eyebrow-fallback: 'Rajdhani', 'Space Grotesk', system-ui, sans-serif;
}
