/* ============================================================
   Nice Eyelash — Design Tokens（支給デザインシステムより忠実移植）
   純白・純黒は使わない。グレージュ＋シャンパンゴールド。
   ※ Webフォントは性能のため index.html の <link> で読み込む。
   ============================================================ */

:root {
  /* --- Base neutrals: warm ivory → greige → espresso --- */
  --ivory:      #FBF8F2; /* page base, warm ivory */
  --cream:      #F5EFE4; /* raised surface, soft cream */
  --greige-50:  #EFE7DA;
  --greige-100: #E4D9C7;
  --greige-200: #D2C3AC;
  --greige-300: #BBA98C;
  --greige-400: #9D8B6F;
  --greige-500: #7E6F57;
  --greige-600: #5E5340;
  --espresso:   #2C2620; /* deep warm near-black, for dark sections */
  --ink:        #3A332A; /* primary text — warm, never #000 */
  --ink-soft:   #6E6453; /* secondary text */
  --white:      #FFFFFF;

  /* --- Champagne gold accent --- */
  --gold-light: #DEC79C;
  --gold:       #BE9E6A; /* signature champagne gold */
  --gold-deep:  #9C7E4E;
  --gold-ink:   #7A6238; /* gold text on light, AA-legible */

  /* --- Semantic status (kept muted, brand-aligned) --- */
  --success:    #6E8B5E;
  --error:      #B05B4E;
  --info:       var(--greige-500);

  /* ============ Semantic aliases ============ */

  /* Surfaces & backgrounds */
  --bg-page:        var(--ivory);
  --bg-surface:     var(--white);
  --bg-raised:      var(--cream);
  --bg-muted:       var(--greige-50);
  --bg-dark:        var(--espresso);
  --bg-overlay:     rgba(44, 38, 32, 0.42);

  /* Text */
  --text-primary:   var(--ink);
  --text-secondary: var(--ink-soft);
  --text-muted:     var(--greige-400);
  --text-on-dark:   var(--ivory);
  --text-on-gold:   #FFFFFF;
  --text-accent:    var(--gold-ink);

  /* Accent */
  --accent:         var(--gold);
  --accent-hover:   var(--gold-deep);
  --accent-soft:    var(--gold-light);

  /* Borders & dividers */
  --border-subtle:  #EAE1D2;
  --border-default: #DDD0BC;
  --border-strong:  var(--greige-300);
  --border-gold:    var(--gold);

  /* Focus ring */
  --ring: rgba(190, 158, 106, 0.45);

  /* ---- Typography ---- */
  --font-display: 'Shippori Mincho', 'Zen Old Mincho', serif;       /* JP headings, elegant mincho */
  --font-serif:   'Cormorant Garamond', 'Shippori Mincho', serif;   /* Latin display, logotype, numerals */
  --font-body:    'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif; /* body, UI */
  --font-mincho:  'Zen Old Mincho', 'Shippori Mincho', serif;       /* long-form JP prose */

  --text-xs:   0.75rem;   /* 12px — captions, legal */
  --text-sm:   0.8125rem; /* 13px — labels, meta */
  --text-base: 0.9375rem; /* 15px — body */
  --text-md:   1.0625rem; /* 17px — lead body */
  --text-lg:   1.375rem;  /* 22px */
  --text-xl:   1.75rem;   /* 28px */
  --text-2xl:  2.25rem;   /* 36px */
  --text-3xl:  3rem;      /* 48px */
  --text-4xl:  clamp(3rem, 5vw, 4.5rem);   /* hero */
  --text-5xl:  clamp(3.75rem, 7vw, 6rem);  /* statement */

  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  --leading-tight:   1.18;
  --leading-snug:    1.35;
  --leading-normal:  1.7;   /* JP body comfort */
  --leading-relaxed: 1.95;

  --tracking-tight:  -0.01em;
  --tracking-normal: 0.02em;
  --tracking-wide:   0.12em;  /* mincho headings */
  --tracking-wider:  0.24em;  /* Latin eyebrow labels, all-caps */
  --tracking-widest: 0.42em;  /* vertical/spaced section marks */

  /* ---- Spacing & layout (4px base) ---- */
  --space-0:   0;
  --space-1:   0.25rem;  /* 4 */
  --space-2:   0.5rem;   /* 8 */
  --space-3:   0.75rem;  /* 12 */
  --space-4:   1rem;     /* 16 */
  --space-5:   1.5rem;   /* 24 */
  --space-6:   2rem;     /* 32 */
  --space-7:   2.5rem;   /* 40 */
  --space-8:   3rem;     /* 48 */
  --space-9:   4rem;     /* 64 */
  --space-10:  5rem;     /* 80 */
  --space-12:  7rem;     /* 112 */
  --space-16:  10rem;    /* 160 — section padding */

  --container:      1200px;  /* standard content width */
  --container-wide: 1400px;
  --container-text: 720px;   /* prose measure */
  --gutter:         clamp(1.25rem, 5vw, 4rem);
  --section-y:      clamp(4.5rem, 9vw, 9rem);

  /* ---- Effects: radii, borders, shadows, motion ---- */
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   14px;
  --radius-xl:   22px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  --shadow-xs:  0 1px 2px rgba(60, 50, 36, 0.05);
  --shadow-sm:  0 2px 8px rgba(60, 50, 36, 0.06);
  --shadow-md:  0 8px 24px rgba(60, 50, 36, 0.08);
  --shadow-lg:  0 18px 48px rgba(60, 50, 36, 0.10);
  --shadow-xl:  0 30px 80px rgba(60, 50, 36, 0.14);
  --shadow-gold: 0 10px 30px rgba(156, 126, 78, 0.22);
  --shadow-inset: inset 0 0 0 1px rgba(255, 255, 255, 0.5);

  --border-hair: 1px solid var(--border-subtle);
  --border-line: 1px solid var(--border-default);

  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft:  cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:   160ms;
  --dur-base:   260ms;
  --dur-slow:   480ms;
  --transition: all var(--dur-base) var(--ease-soft);

  --blur-sm: 6px;
  --blur-md: 14px;
}
