/* Shared design tokens: colours, type, motion. Every stylesheet builds on these. */
:root {
  /* 墨 / 紺 / 藍 — night and lacquer */
  --sumi: #16151a;
  --sumi-soft: #24222a;
  --kon: #141b2e;
  --kon-deep: #0d1220;
  --ai: #233253;
  --ai-light: #3b4f7a;

  /* 朱 / 紅 — vermilion accents, seals */
  --shu: #c2382a;
  --shu-bright: #dc4a36;
  --beni: #8f2424;

  /* 金 — gold leaf */
  --kin: #c8a35a;
  --kin-light: #e9d5a3;
  --kin-deep: #96763a;
  --kin-foil: linear-gradient(135deg, #96763a 0%, #e9d5a3 28%, #c8a35a 52%, #f3e4bd 74%, #a98646 100%);

  /* 和紙 — paper */
  --washi: #f4ecdb;
  --washi-deep: #e7dbc0;
  --kinari: #fbf6ea;
  --paper-edge: #d4c4a0;

  /* 桜 / 松 / 藤 */
  --sakura: #f3c6cf;
  --sakura-deep: #e08fa3;
  --matsu: #3f5d4c;
  --fuji: #8b7fb0;

  /* text */
  --ink: #2a2622;
  --ink-soft: #5e554a;
  --ink-faint: #8c8272;
  --on-dark: #efe6d2;
  --on-dark-soft: #b9ae96;

  /* type */
  --font-brush: "Yuji Syuku", "Shippori Mincho B1", "Noto Serif SC", "Songti SC", serif;
  --font-heading: "Shippori Mincho B1", "Shippori Mincho", "Noto Serif SC", "Songti SC", serif;
  --font-body: "Shippori Mincho", "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-latin: "Cormorant Garamond", "Shippori Mincho", Georgia, serif;

  /* motion */
  --ease-brush: cubic-bezier(.22, 1, .36, 1);
  --ease-fold: cubic-bezier(.65, 0, .35, 1);
  --ease-float: cubic-bezier(.45, .05, .55, .95);
  --ease-stamp: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: 180ms;
  --dur-mid: 420ms;
  --dur-slow: 900ms;

  /* layout */
  --sidebar-w: 280px;
  --radius: 3px;
  --shadow-paper: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 10px 30px -12px rgba(20, 16, 8, .45);
  --shadow-lift: 0 22px 44px -18px rgba(20, 16, 8, .55);

  /* stacking */
  --z-ambient: 1;
  --z-content: 10;
  --z-sidebar: 40;
  --z-overlay: 80;
  --z-transition: 100;
  --z-cursor: 120;
}
