/* =========================================================
   NOCTORA — Design Tokens
   夜の観測所 / Nocturnal Intelligence
   すべての色・タイポ・余白の基準をここで一元管理する。
   ページを増やす際はこのファイルだけを共有すれば統一される。
   ========================================================= */

:root {
  /* --- Color: 夜の階調 --- */
  --ink:        #07090c;   /* 背景・最深部 */
  --ink-1:      #0a0d12;   /* セクション背景 */
  --ink-2:      #0f131a;   /* 面・カード */
  --ink-line:   #1b212b;   /* 罫線・境界 */

  --moon:       #e9edf3;   /* 主要テキスト（月光） */
  --silver:     #9aa7b8;   /* 副次テキスト */
  --silver-dim: #5c6675;   /* 補助・キャプション */

  --amber:      #e0a968;   /* 唯一の暖色アクセント（地平線） */
  --amber-soft: #caa079;

  --wire:       #b3c4d8;   /* ワイヤーフレーム線 */

  /* --- rgba 素材（アニメ/影で使用） --- */
  --rgb-moon:   233,237,243;
  --rgb-wire:   179,196,216;
  --rgb-amber:  224,169,104;

  /* --- Typography --- */
  /* 見出し=Zen Kaku Gothic New（力強く端正な和文ゴシック）
     本文=Noto Sans JP / 欧文=Inter / データラベル=IBM Plex Mono */
  --font-display:  "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;
  --font-jp-serif: "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;
  --font-body:     "Noto Sans JP", system-ui, -apple-system, sans-serif;
  --font-en:       "Inter", "Zen Kaku Gothic New", sans-serif;
  --font-mono:     "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* type scale (clamp: mobile → desktop) */
  --fs-mega:  clamp(2.9rem, 7.5vw, 6.6rem);
  --fs-h1:    clamp(2.1rem, 5vw, 4rem);
  --fs-h2:    clamp(1.7rem, 3.2vw, 2.7rem);
  --fs-h3:    clamp(1.2rem, 1.9vw, 1.5rem);
  --fs-lead:  clamp(1.02rem, 1.4vw, 1.28rem);
  --fs-body:  1rem;
  --fs-sm:    0.9rem;
  --fs-mono:  0.74rem;

  /* 和文の字間（日本語が心地よく読める程度に） */
  --ls-jp:      0.06em;
  --ls-jp-head: 0.04em;

  /* --- Spacing / Layout --- */
  --maxw:       1200px;
  --gutter:     clamp(1.5rem, 5.5vw, 6rem);
  --section-y:  clamp(6rem, 14vw, 12rem);
  --radius:     2px;      /* ほぼ直角。線画基調に合わせる */

  /* --- Motion --- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur:  0.7s;

  --header-h: 74px;
}
