@import url("assets/fonts/fonts.css");

:root {
  /* Warm paper editorial base with palace cinnabar accent */
  --bg: #f4efe6;
  --bg-2: #fffaf0;
  --ink: #211712;
  --muted: #6d6356;
  --muted2: #9c9183;
  --accent: #9b342d;
  --accent-2: #c63c28;
  --accent-deep: #62130f;
  --accent-soft: rgba(155, 52, 45, .12);
  --card: #fffdf9;
  --surf: #fbf6ee;
  --surf-2: #f1e8db;
  --line: rgba(60, 40, 22, .10);
  --line-2: rgba(60, 40, 22, .17);
  --shadow: 0 20px 44px -24px rgba(120, 78, 38, .32);
  --shadow-sm: 0 8px 22px -14px rgba(120, 78, 38, .30);
  --ease: cubic-bezier(.32, .72, 0, 1);
  --font-d: "Sora", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-b: "Plus Jakarta Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  letter-spacing: .004em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  position: relative;
  z-index: 2;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
