@font-face {
  font-family: "Noto Sans SC";
  src: url("./fonts/NotoSansSC-VF.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --charcoal: #272727;
  --orange: #ff4400;
  --orange-hover: #ff6b38;
  --on-orange: #fff;
  --obsidian: #181818;
  --dark-section-background: #080808;
  --canvas: #ffffff;
  --soft: #f1f0ed;
  --surface: #fff;
  --ink: var(--charcoal);
  --muted: #595955;
  --quiet: #6e6e69;
  --line: #deddd9;
  --contrast: var(--charcoal);
  --dark: var(--obsidian);
  --dark-text: var(--canvas);
  --content: 1200px;
  --nav: 1400px;
  --wide: 1400px;
  --display: "Space Grotesk", "Alibaba PuHuiTi 3.0", "Noto Sans SC", "PingFang SC", sans-serif;
  --display-compact: var(--display);
  --body: "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2,.75,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--canvas); color: var(--ink); font: 16px/24px var(--body); -webkit-font-smoothing: antialiased; }
button, a { font: inherit; color: inherit; }
a { text-decoration: none; transition: color .6s; }
.site-wrap, .container { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }
.site-wide, .wide { width: min(var(--nav), calc(100% - 40px)); margin-inline: auto; }
.display { font-family: var(--display); font-weight: 700; }

@media (max-width: 640px) {
  .site-wrap, .site-wide, .container, .wide { width: calc(100% - 28px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
