/* Self-hosted Sora (variable, SIL OFL). No third-party font request — faster,
   privacy/GDPR-friendly. Latin + Latin-ext subsets cover all site text;
   the ॐ glyph falls back to a system Devanagari face, as in the design. */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('../fonts/sora-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+2074, U+20AC, U+2122, U+2191,
                 U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('../fonts/sora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Base — set the clay default ground so there is no flash before React mounts. */
html, body { margin: 0; padding: 0; background: oklch(0.60 0.045 45); }
body { font-family: 'Sora', sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* Pre-mount splash: a faint breathing mandala so the first paint isn't a bare ground. */
#root:empty::before {
  content: '\0950';
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-size: 84px; color: oklch(0.81 0.11 82);
  opacity: 0.5; animation: mn-boot 2.4s ease-in-out infinite;
}
@keyframes mn-boot { 0%,100% { opacity: .28; transform: scale(1); } 50% { opacity: .6; transform: scale(1.06); } }

/* No-JS fallback. */
.noscript {
  max-width: 640px; margin: 12vh auto; padding: 0 24px; text-align: center;
  color: oklch(0.20 0.03 40); font-family: 'Sora', sans-serif;
}
.noscript h1 { font-weight: 300; letter-spacing: .04em; }
.noscript a { color: oklch(0.42 0.10 60); }

@media (prefers-reduced-motion: reduce) {
  #root:empty::before { animation: none; }
}
