/* =============================================================
   Asaxiy brand typeface — CocoSharp (self-hosted)
   Files live in /font (base "CocoSharp-*" optical family).
   One family, exposed as "AsaxiyBrand"; hierarchy comes from
   weight/size only. Weight ranges tile 1–1000 so Tailwind's
   font-medium (500) / font-semibold (600) resolve to a real
   file instead of a synthesised (faux) weight.

       200  -> ExtraLight        600      -> Bold
       300  -> Light             700      -> Bold
       400 / 500 -> Regular      800      -> Extrabold
                                 900      -> Heavy
   ============================================================= */

/* ---------- upright ---------- */
@font-face {
  font-family: "AsaxiyBrand";
  src: url("../font/CocoSharp-ExtraLight.otf") format("opentype");
  font-weight: 1 249;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AsaxiyBrand";
  src: url("../font/CocoSharp-Light.otf") format("opentype");
  font-weight: 250 349;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AsaxiyBrand";
  src: url("../font/CocoSharp-Regular.otf") format("opentype");
  font-weight: 350 549;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AsaxiyBrand";
  src: url("../font/CocoSharp-Bold.otf") format("opentype");
  font-weight: 550 749;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AsaxiyBrand";
  src: url("../font/CocoSharp-Extrabold.otf") format("opentype");
  font-weight: 750 849;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AsaxiyBrand";
  src: url("../font/CocoSharp-Heavy.otf") format("opentype");
  font-weight: 850 1000;
  font-style: normal;
  font-display: swap;
}

/* ---------- italic ---------- */
@font-face {
  font-family: "AsaxiyBrand";
  src: url("../font/CocoSharp-ExtraLightItalic.otf") format("opentype");
  font-weight: 1 249;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "AsaxiyBrand";
  src: url("../font/CocoSharp-LightItalic.otf") format("opentype");
  font-weight: 250 349;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "AsaxiyBrand";
  src: url("../font/CocoSharp-Italic.otf") format("opentype");
  font-weight: 350 549;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "AsaxiyBrand";
  src: url("../font/CocoSharp-BoldItalic.otf") format("opentype");
  font-weight: 550 749;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "AsaxiyBrand";
  src: url("../font/CocoSharp-ExtraboldItalic.otf") format("opentype");
  font-weight: 750 849;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "AsaxiyBrand";
  src: url("../font/CocoSharp-HeavyItalic.otf") format("opentype");
  font-weight: 850 1000;
  font-style: italic;
  font-display: swap;
}

/* ---------- site-wide default (fallback if the Tailwind config
   hasn't applied yet; Tailwind's font-sans is set to the same
   stack in tailwind.config) ---------- */
:root {
  --font-brand: "AsaxiyBrand", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
html,
body {
  font-family: var(--font-brand);
}
