/* ============================================================
   tokens.css — LUXNOIR LP
   デザイントークン（カラー / グラデーション / イージング / スペーシング）
   タイポグラフィ基盤 / モダンリセット / 共通ユーティリティ
   ============================================================ */

/* ---------- モダンリセット ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* ---------- デザイントークン ---------- */
:root{
  --bg-0:#07070A; --bg-1:#0D0D13; --bg-2:#14131C;
  --gold-deep:#8A6B1F; --gold:#C9A227; --gold-lt:#E8C87A; --gold-hi:#FFF3C4;
  --grad-gold:linear-gradient(135deg,#8A6B1F 0%,#C9A227 30%,#FFF3C4 52%,#E8C87A 74%,#8A6B1F 100%);
  --neon-pur:#A855F7; --neon-cyn:#22D3EE; --neon-mag:#F0509B;
  --tx:#F5F3EF; --tx-mid:#B8B3AA; --tx-dim:#6F6B64;
  --line:rgba(201,162,39,.22);
  --e-out:cubic-bezier(.16,1,.3,1); --e-io:cubic-bezier(.65,0,.35,1);
  --wrap:1200px;
  --sp-sec:clamp(80px,12vw,160px);

  /* フォント役割 */
  --f-num: 'Bebas Neue', 'Noto Sans JP', sans-serif;
  --f-jp-head: 'Shippori Mincho B1', serif;
  --f-jp: 'Noto Sans JP', sans-serif;
}

/* ---------- 基本設定 ---------- */
html{
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body{
  background-color: var(--bg-0);
  color: var(--tx);
  font-family: var(--f-jp);
  font-weight: 400;
}

/* ---------- タイポスケール ---------- */
h1{
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: clamp(1.85rem,6.4vw,5.6rem);
  line-height: 1.25;
  letter-spacing: .02em;
}

h2{
  font-family: var(--f-jp-head);
  font-weight: 700;
  font-size: clamp(1.8rem,4vw,3.2rem);
  line-height: 1.25;
  letter-spacing: .02em;
}

h3{
  font-family: var(--f-jp-head);
  font-weight: 600;
}

body, p, li, dd, dt{
  font-size: clamp(.9rem,1.6vw,1rem);
}

/* ---------- ユーティリティ ---------- */

/* スクリーンリーダー専用（視覚的に隠す） */
.u-sr{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.u-sr:focus{
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 20px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--bg-2);
  color: var(--gold-lt);
  border: 1px solid var(--line);
  border-radius: 8px;
  z-index: 999;
}

/* 中央寄せラッパー */
.u-wrap{
  max-width: var(--wrap);
  padding-inline: clamp(20px,5vw,40px);
  margin-inline: auto;
}

/* セクションラベル（英字・Bebas Neue） */
.u-label{
  display: inline-block;
  font-family: var(--f-num);
  font-size: clamp(.8rem,1.4vw,.95rem);
  letter-spacing: .3em;
  color: var(--gold);
  text-transform: uppercase;
}

/* 全面ノイズオーバーレイ（SVG feTurbulence を data URI 化） */
.u-noise{
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: .08;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}
