/* ==========================================================================
   JVR® Design System Tokens — "Morning Peace, Fortress Built"
   Aesthetic: Warm Pastoral Homestead × Heavy-Duty Craft Engineering
   Ready for direct mapping to Shopify settings_data.json / WordPress theme.json
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=JetBrains+Mono:wght@400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* 1. Surface & Background Palette (Warm Linen, Oat & Homestead Pine) */
  --color-bg-canvas: #FAF7F2;        /* Primary sunlit linen background */
  --color-bg-oat: #F2ECE1;           /* Secondary editorial band & soft wells */
  --color-bg-sand: #E6DDD0;          /* Warm sandstone borders, pills & dividers */
  --color-bg-surface: #FFFFFF;       /* Elevated card surface */
  --color-bg-cream-tint: #FDFBF7;    /* Subtle warm card hover surface */

  --color-bg-pine: #1D3124;          /* Deep homestead pine (dark sections & footer) */
  --color-bg-pine-elevated: #274030; /* Elevated cards on dark pine background */
  --color-bg-pine-subtle: #E9F0EB;   /* Soft sage wash for positive badges & highlights */

  /* 2. Typography & Ink Hierarchy (WCAG AA/AAA High Contrast) */
  --color-ink-primary: #1E1B18;      /* Rich espresso charcoal — main headings & copy */
  --color-ink-secondary: #524B43;    /* Warm walnut — body paragraphs & descriptions */
  --color-ink-muted: #787066;        /* Weathered driftwood — captions, labels, meta */
  --color-ink-on-dark: #F7F3EB;      /* Warm cream text on pine/dark surfaces */
  --color-ink-on-dark-muted: #C2D0C6;/* Soft sage mist on pine surfaces */

  /* 3. Brand Accent & Semantic Colors */
  --color-brand-pine: #23422E;       /* Primary brand action button */
  --color-brand-pine-hover: #172E1F; /* Primary action hover */
  --color-brand-amber: #C87A28;      /* Sunrise honey amber — craft & Amazon accent */
  --color-brand-amber-hover: #AD651B;/* Sunrise amber hover */
  --color-brand-amber-soft: #F7E9D7; /* Warm sunrise tint background */
  --color-brand-terracotta: #B65338; /* Barn terracotta — warm callouts & alerts */
  --color-brand-terracotta-soft: #F9E6E0;

  --color-status-success: #2B6CB0;
  --color-status-verified: #265939;
  --color-border-subtle: rgba(30, 27, 24, 0.09);
  --color-border-strong: rgba(30, 27, 24, 0.18);
  --color-border-on-dark: rgba(247, 243, 235, 0.14);

  /* 4. Typography Families */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;

  /* 5. Fluid Type Scale */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 2rem;        /* 32px */
  --text-4xl: clamp(2.15rem, 3.6vw, 3rem);     /* 34px - 48px */
  --text-5xl: clamp(2.6rem, 4.8vw, 4.15rem);   /* 42px - 66px */

  /* 6. Spacing & Layout Grid */
  --container-max: 1260px;
  --container-narrow: 920px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-py: clamp(4.5rem, 8vw, 7.5rem);
  --section-py-sm: clamp(3rem, 5vw, 4.5rem);

  /* 7. Organic Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* 8. Warm Diffused Elevations */
  --shadow-xs: 0 2px 6px rgba(30, 27, 24, 0.04);
  --shadow-sm: 0 8px 24px -6px rgba(30, 27, 24, 0.06);
  --shadow-md: 0 16px 40px -10px rgba(30, 27, 24, 0.09);
  --shadow-lg: 0 24px 56px -12px rgba(30, 27, 24, 0.14);
  --shadow-focus: 0 0 0 3px rgba(35, 66, 46, 0.25);

  /* 9. Motion Curves */
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 180ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-base: 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
