/* =========================================================================
   Design Tokens — 宇朔室內設計
   Theme: Athereal Zen · Fluid luxury · Tactile minimalism
   ========================================================================= */

:root {
  /* ---------- Palette ---------- */
  --color-surface:            #fcf9f8;   /* rice white — main canvas */
  --color-surface-warm:       #f6f1ea;   /* warm ivory wash */
  --color-surface-2:          #efe9df;   /* deeper paper tone */
  --color-surface-stone:      #dcd7d1;   /* warm grey — concrete */
  --color-surface-3:          #cfc5bb;   /* outline variant */
  --color-wood:               #8C7E6D;   /* wood tone — accent */
  --color-wood-soft:          #b0a390;
  --color-wood-deep:          #665a4a;   /* primary */
  --color-ink:                #1A1A1A;   /* deep charcoal — text */
  --color-ink-soft:           #4c463e;   /* body text */
  --color-ink-muted:          #7e766d;   /* muted / captions */

  /* Warm-tone footer (replaces cold noir) */
  --color-mocha:              #3b2e25;   /* deep mocha */
  --color-mocha-deep:         #2a1f18;   /* darkest warm */
  --color-mocha-light:        #54433a;   /* warm accent tone */
  --color-gold:               #c2a472;   /* soft brass */
  --color-gold-soft:          #e5d3ae;

  /* Brand accent from logo */
  --color-brand-navy:         #223347;
  --color-brand-bronze:       #a67c3e;

  /* ---------- Typography ---------- */
  --font-display:  "Noto Serif TC", "Noto Serif", "Songti TC", serif;
  --font-body:     "Noto Sans TC", "Inter", system-ui, -apple-system, sans-serif;
  --font-latin:    "Manrope", "Inter", system-ui, sans-serif;
  --font-script:   "Ma Shan Zheng", "Noto Serif TC", serif;

  --text-hero:      clamp(2.5rem, 1.5rem + 3.2vw, 4.75rem);
  --text-hero-script: clamp(4rem, 2rem + 8vw, 10rem);  /* oversized vertical watermark */
  --text-display:   clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  --text-h2:        clamp(1.75rem, 1.1rem + 2vw, 2.75rem);
  --text-h3:        clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  --text-body:      clamp(0.95rem, 0.9rem + 0.25vw, 1.0625rem);
  --text-body-lg:   clamp(1rem, 0.94rem + 0.35vw, 1.15rem);
  --text-label:     0.72rem;   /* caps labels */
  --text-tiny:      0.72rem;

  /* ---------- Spacing ---------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-section: clamp(6rem, 4rem + 8vw, 10rem);
  --gutter-safe: clamp(1.5rem, 5vw, 6rem);

  /* ---------- Radius ---------- */
  --radius-sm: 0.125rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.75rem;
  --radius-organic: 42% 58% 46% 54% / 52% 44% 56% 48%;

  /* ---------- Motion ---------- */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:  540ms;
  --dur-med:   900ms;
  --dur-slow:  1500ms;
  --dur-cinematic: 2100ms;

  /* ---------- Atmospheric shadows ---------- */
  --shadow-ambient:   0 30px 80px -20px rgba(140, 126, 109, 0.18);
  --shadow-lift:      0 18px 48px -16px rgba(26, 26, 26, 0.18);
  --shadow-deep:      0 40px 120px -30px rgba(26, 26, 26, 0.28);

  /* ---------- Layering ---------- */
  --z-nav: 80;
  --z-overlay: 90;
  --z-toast: 100;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-med: 0ms;
    --dur-slow: 0ms;
    --dur-cinematic: 0ms;
  }
}
