/* Registered so the angle interpolates; an unregistered custom property jumps
   halfway through the ensō sweep animation. */
@property --sweep{ syntax: '<angle>'; inherits: false; initial-value: 0deg; }

@font-face{
  font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/oswald-700.woff2") format("woff2");
}
@font-face{
  font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/barlow-condensed-500.woff2") format("woff2");
}
@font-face{
  font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face{
  font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/barlow-400.woff2") format("woff2");
}
@font-face{
  font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/barlow-500.woff2") format("woff2");
}

/* Subset to the 9 kanji used on the page. A new kanji needs both a regenerated
   subset (recipe in README) and its codepoint added here. */
@font-face{
  font-family: "Yuji Boku"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/yuji-boku-kanji.woff2") format("woff2");
  unicode-range: U+30FB, U+5408, U+5927, U+5B50, U+5C11, U+5834, U+6240, U+6C17, U+9053;
}

/* Metric overrides measured from the OS/2 and hhea tables, so swapping in Barlow
   after load does not shift the layout. */
@font-face{
  font-family: "Barlow Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 97.6%;
  ascent-override: 102.5%;
  descent-override: 20.5%;
  line-gap-override: 0%;
}
