/* Purpose: Single source of truth for design tokens. No selectors but :root. */

:root {
  /* COLORS — drawn from the Saarthi logo (clay-gold line art on cream) */
  --color-primary:       #A6804E;  /* logo clay-gold */
  --color-primary-dark:  #8A6638;  /* deep bronze */
  --color-primary-soft:  #C9A877;  /* light gold */
  --color-secondary:     #6E2433;  /* maroon accent (founder palette) */
  --color-accent:        #B8946A;

  --color-bg:            #F7F1E8;  /* warm cream */
  --color-bg-alt:        #F0E7D9;  /* deeper cream */
  --color-surface:       #FBF7F1;  /* near-white warm */
  --color-ink:           #1C1714;  /* near-black ink (dark sections) */
  --color-ink-soft:      #2A2320;

  --color-text:          #2B2520;
  --color-text-muted:    #6F665B;
  --color-text-invert:   #F4ECE0;
  --color-text-invert-muted: #C7B7A2;
  --color-border:        #E3D7C4;
  --color-border-dark:   rgba(244,236,224,0.14);

  --color-success:       #5C8A5A;
  --color-warning:       #C99A3F;
  --color-error:         #B5524B;

  /* TYPOGRAPHY */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.3125rem;
  --text-xl:   1.625rem;
  --text-2xl:  2.125rem;
  --text-3xl:  2.75rem;
  --text-4xl:  3.75rem;
  --text-5xl:  5rem;
  --text-6xl:  6.5rem;

  --leading-tight:  1.05;
  --leading-snug:   1.25;
  --leading-normal: 1.65;
  --leading-loose:  1.85;

  --tracking-tightest: -0.04em;
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide:  0.12em;
  --tracking-widest: 0.28em;

  --weight-light:   300;
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semibold:600;
  --weight-bold:    700;

  /* SPACING */
  --space-1:  0.25rem;  --space-2:  0.5rem;
  --space-3:  0.75rem;  --space-4:  1rem;
  --space-5:  1.25rem;  --space-6:  1.5rem;
  --space-8:  2rem;     --space-10: 2.5rem;
  --space-12: 3rem;     --space-16: 4rem;
  --space-20: 5rem;     --space-24: 6rem;
  --space-32: 8rem;     --space-40: 10rem;

  /* LAYOUT */
  --container-sm:  640px;
  --container-md:  768px;
  --container-lg:  1024px;
  --container-xl:  1200px;
  --container-2xl: 1320px;
  --container-max: 1440px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);

  /* BORDERS */
  --radius-sm: 4px;  --radius-md: 10px;
  --radius-lg: 18px; --radius-xl: 28px; --radius-full: 9999px;
  --border-thin:   1px solid var(--color-border);

  /* SHADOWS — soft, warm-tinted */
  --shadow-sm: 0 2px 8px rgba(60,42,20,0.06);
  --shadow-md: 0 10px 30px rgba(60,42,20,0.08);
  --shadow-lg: 0 24px 60px rgba(60,42,20,0.12);
  --shadow-xl: 0 40px 90px rgba(60,42,20,0.16);

  /* TRANSITIONS */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout:  cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:   180ms;
  --duration-base:   320ms;
  --duration-slow:   560ms;
  --duration-slower: 900ms;

  /* Z-INDEX */
  --z-base: 0;      --z-raised: 10;
  --z-header: 200;  --z-float: 250;
  --z-overlay: 300; --z-modal: 400; --z-toast: 500;
}
