/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS — Akshit's Question
   Anthropic-inspired warm editorial palette + glassmorphism
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ── Core Palette ── */
  --bg-dark:          #191919;
  --bg-light:         #F4F3ED;
  --surface-accent:   #E7E3D8;

  /* ── Extended Palette ── */
  --accent-terracotta: #D97757;
  --accent-emerald:    #2E7D32;
  --accent-crimson:    #B71C1C;
  --accent-gold:       #C49B5A;

  /* ── Tints & Shades ── */
  --bg-light-dim:     #EBE9E1;
  --bg-dark-soft:     #2A2A2A;
  --text-primary:     #191919;
  --text-secondary:   #5A5A52;
  --text-tertiary:    #8C8C80;
  --text-on-dark:     #F4F3ED;

  /* ── Glass Tokens ── */
  --glass-bg:         rgba(244, 243, 237, 0.55);
  --glass-bg-heavy:   rgba(244, 243, 237, 0.78);
  --glass-border:     rgba(25, 25, 25, 0.07);
  --glass-border-lit: rgba(255, 255, 255, 0.35);
  --glass-blur:       18px;
  --glass-blur-heavy: 28px;
  --glass-shadow:     0 8px 32px rgba(25, 25, 25, 0.08),
                      0 2px 8px rgba(25, 25, 25, 0.04);
  --glass-shadow-lg:  0 16px 48px rgba(25, 25, 25, 0.12),
                      0 4px 16px rgba(25, 25, 25, 0.06);

  /* ── Typography Scale (fluid) ── */
  --font-display:    'Newsreader', 'Georgia', serif;
  --font-body:       'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-mono:       'JetBrains Mono', monospace;

  --fs-hero:         clamp(1.8rem, 4.5vw, 3.2rem);
  --fs-title:        clamp(1.3rem, 2.8vw, 2rem);
  --fs-body:         clamp(0.95rem, 1.5vw, 1.1rem);
  --fs-small:        clamp(0.78rem, 1.2vw, 0.88rem);
  --fs-micro:        clamp(0.65rem, 1vw, 0.75rem);

  --fw-normal:       400;
  --fw-medium:       500;
  --fw-semibold:     600;
  --fw-bold:         700;

  --lh-tight:        1.2;
  --lh-normal:       1.55;
  --lh-relaxed:      1.75;

  /* ── Spacing Scale ── */
  --space-2xs:  0.25rem;
  --space-xs:   0.5rem;
  --space-sm:   0.75rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;

  /* ── Border Radius ── */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --radius-pill:  999px;

  /* ── Transitions ── */
  --ease-out-expo:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart:   cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:      cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast:    180ms;
  --duration-normal:  320ms;
  --duration-slow:    550ms;
  --duration-glacial: 900ms;
}
