/* =========================================================
   VYAKTI NIRMAN — DESIGN TOKENS
   Single source of truth. Never hard-code a colour, size or
   spacing value in style.css — always use a token from here.
   ========================================================= */

:root {
  /* ---------- 1. COLOUR SCALES (primitive) ---------- */

  /* Colours taken from the Vyakti Nirman logo:
     sun orange #F08418, sun gold #F4B40F, figure charcoal #3C3C46 */

  /* Brand — Sun Orange. 500 = logo orange */
  --brand-50:  #FFF6EB;
  --brand-100: #FFE8CC;
  --brand-200: #FFD099;
  --brand-300: #FBB45C;
  --brand-400: #F69A2E;
  --brand-500: #F08418;
  --brand-600: #D46E0E;
  --brand-700: #B3530B;
  --brand-800: #8C410E;
  --brand-900: #6E3410;

  /* Accent — Sun Gold. 500 = logo gold. For highlights & main CTAs */
  --gold-50:  #FFFAEB;
  --gold-100: #FDF0C7;
  --gold-200: #FBE08A;
  --gold-300: #F8CC55;
  --gold-400: #F6BE2C;
  --gold-500: #F4B40F;
  --gold-600: #D49A06;
  --gold-700: #A87905;
  --gold-800: #7D5A06;
  --gold-900: #5C4307;

  /* Ink — Logo Charcoal. Dark sections, headings on light */
  --ink-50:  #F6F6F8;
  --ink-100: #E9E9EE;
  --ink-200: #D3D3DA;
  --ink-300: #ABABB4;
  --ink-400: #808089;
  --ink-500: #606068;
  --ink-600: #4A4A52;
  --ink-700: #3C3C46;
  --ink-800: #2C2C34;
  --ink-900: #1E1E24;

  /* Neutral — ONE warm grey scale. No other greys allowed. */
  --neutral-0:   #FFFFFF;
  --neutral-50:  #FAF8F5;
  --neutral-100: #F2EFEA;
  --neutral-200: #E4DFD7;
  --neutral-300: #CCC5BA;
  --neutral-400: #A39B8F;
  --neutral-500: #7A7367;
  --neutral-600: #5C564C;
  --neutral-700: #45403A;
  --neutral-800: #2E2A26;
  --neutral-900: #1C1A17;

  --whatsapp: #1F9D55;

  /* ---------- 2. SEMANTIC COLOURS (use these in components) ---------- */
  --color-bg:            var(--neutral-50);
  --color-surface:       var(--neutral-0);
  --color-surface-alt:   var(--neutral-100);
  --color-surface-brand: var(--brand-50);
  --color-surface-dark:  var(--ink-900);

  --color-text:          var(--neutral-900);
  --color-text-muted:    var(--neutral-600);
  --color-text-inverse:  var(--neutral-0);
  --color-text-brand:    var(--brand-700);
  --color-text-accent:   var(--brand-700);

  --color-border:        var(--neutral-200);
  --color-border-strong: var(--neutral-300);

  --color-primary:       var(--brand-700);
  --color-primary-hover: var(--brand-800);
  --color-accent:        var(--gold-400);
  --color-accent-hover:  var(--gold-300);
  --color-focus:         var(--brand-500);

  /* ---------- 3. TYPOGRAPHY — only 2 fonts ---------- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Mukta", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale (1.25 ratio, fluid at the top end) */
  --text-xs:  0.8125rem;  /* 13 */
  --text-sm:  0.9375rem;  /* 15 */
  --text-md:  1.0625rem;  /* 17 — body */
  --text-lg:  1.25rem;    /* 20 */
  --text-xl:  1.5rem;     /* 24 */
  --text-2xl: clamp(1.75rem, 1.4rem + 1.5vw, 2.25rem);
  --text-3xl: clamp(2.125rem, 1.6rem + 2.4vw, 3.25rem);
  --text-4xl: clamp(2.5rem, 1.8rem + 3.4vw, 4.25rem);

  --weight-regular: 400;
  --weight-medium:  500;
  --weight-bold:    700;

  --leading-tight: 1.15;
  --leading-snug:  1.35;
  --leading-body:  1.65;

  /* ---------- 4. SPACING — 4px base. Only these values. ---------- */
  --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:  3rem;     /* 48 */
  --space-8:  4rem;     /* 64 */
  --space-9:  6rem;     /* 96 */
  --space-10: 8rem;     /* 128 */

  --section-y: clamp(var(--space-7), 5.5vw, 5rem);
  --gutter: clamp(var(--space-4), 4vw, var(--space-6));
  --container: 72rem;

  /* ---------- 5. RADIUS, SHADOW, MOTION ---------- */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgb(28 26 23 / 0.06), 0 1px 3px rgb(28 26 23 / 0.08);
  --shadow-md: 0 4px 12px rgb(28 26 23 / 0.08), 0 12px 32px rgb(28 26 23 / 0.08);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 220ms;
}
