/*
Tana Touch Design Tokens
Phase 2 — Design System
Version: 0.2.0
*/

:root {
  --color-brand-primary: #0B2C16;
  --color-brand-primary-strong: #071C0E;
  --color-brand-secondary: #2E6C2F;
  --color-brand-accent: #D4A62A;
  --color-brand-accent-soft: #E7C969;
  --color-brand-accent-ink: #8A6500;

  --surface-page: #F8F6F0;
  --surface-raised: #FFFFFF;
  --surface-muted: #F1EEE5;
  --surface-brand: #0B2C16;
  --surface-brand-strong: #071C0E;
  --surface-overlay: rgba(7, 28, 14, 0.84);

  --text-primary: #1A1A1A;
  --text-heading: #0B2C16;
  --text-muted: #5E625C;
  --text-inverse: #FFFFFF;
  --text-accent: #8A6500;

  --border-subtle: #D8D2C1;
  --border-strong: #AFA78F;
  --border-brand: rgba(212, 166, 42, 0.52);

  --state-success: #2E6C2F;
  --state-warning: #9A6C00;
  --surface-warning-soft: #F8EED1;
  --text-warning: #6B5200;
  --state-error: #A33A2B;
  --state-info: #315C6C;
  --focus-ring: #D4A62A;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", Arial, Helvetica, sans-serif;

  --font-display-xl: clamp(3.25rem, 2.25rem + 4vw, 6.25rem);
  --font-h1: clamp(2.75rem, 2rem + 3vw, 5rem);
  --font-h2: clamp(2.25rem, 1.75rem + 2vw, 3.75rem);
  --font-h3: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --font-h4: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --font-body-size: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  --font-small: clamp(0.875rem, 0.84rem + 0.12vw, 0.95rem);
  --font-label: clamp(0.75rem, 0.72rem + 0.1vw, 0.825rem);

  --line-display: 0.94;
  --line-heading: 1.08;
  --line-body: 1.65;
  --tracking-display: -0.035em;
  --tracking-heading: -0.02em;
  --tracking-label: 0.14em;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-10: 5rem;
  --space-12: 6rem;
  --space-14: 7rem;
  --space-16: 8rem;
  --space-18: 9rem;

  --space-section-sm: clamp(4rem, 3.2rem + 2vw, 5rem);
  --space-section-md: clamp(5rem, 4rem + 3vw, 6.5rem);
  --space-section-lg: clamp(6rem, 4.5rem + 5vw, 9rem);

  --content-narrow: 46rem;
  --content-standard: 75rem;
  --content-wide: 90rem;
  --gutter-mobile: 1.25rem;
  --gutter-tablet: 2rem;
  --gutter-desktop: 3rem;

  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-pill: 999px;

  --shadow-card: 0 10px 30px rgba(11, 44, 22, 0.08);
  --shadow-card-hover: 0 18px 42px rgba(11, 44, 22, 0.13);
  --shadow-floating: 0 24px 60px rgba(7, 28, 14, 0.18);
  --shadow-button: 0 8px 20px rgba(212, 166, 42, 0.20);

  --motion-fast: 160ms;
  --motion-medium: 260ms;
  --motion-slow: 380ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-emphasized: cubic-bezier(0.2, 0.8, 0.2, 1);

  --z-base: 1;
  --z-raised: 10;
  --z-header: 100;
  --z-overlay: 500;
  --z-modal: 1000;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-fast: 0ms;
    --motion-medium: 0ms;
    --motion-slow: 0ms;
  }
}
