/* ==========================================================================
   AARADHYA — Odisha Heritage Craft House
   Design Tokens (Contemporary Indian Craft Luxury)
   ========================================================================== */

:root {
  /* Brand Colour Palette (Exact Specification) */
  --color-primary-yellow: #D99B24;
  --color-forest-green: #243D32;
  --color-warm-ivory: #F7F1E5;
  --color-terracotta: #963F32;
  --color-charcoal-brown: #292720;
  --color-muted-sand: #C9B99A;

  /* Sacred Jagannath Cultural Accents (used sparingly as refined hairline motifs) */
  --color-sacred-black: #191815;
  --color-sacred-white: #FCFBF7;
  --color-sacred-red: #8C2D23;
  --color-sacred-yellow: #D99B24;

  /* Derived Tonal Variations (strictly within palette harmony) */
  --color-yellow-hover: #C08619;
  --color-yellow-soft: rgba(217, 155, 36, 0.14);
  --color-green-deep: #1A2E25;
  --color-green-muted: rgba(36, 61, 50, 0.08);
  --color-ivory-surface: #FBF8F1;
  --color-ivory-deep: #EFE7D7;
  --color-terracotta-hover: #7E3328;
  --color-charcoal-muted: #454138;
  --color-charcoal-subtle: #625C50;
  --color-sand-border: rgba(201, 185, 154, 0.58);
  --color-sand-border-strong: rgba(201, 185, 154, 0.9);
  --color-ivory-on-dark: #F7F1E5;
  --color-ivory-muted-on-dark: rgba(247, 241, 229, 0.88);
  --color-border-on-dark: rgba(201, 185, 154, 0.25);

  /* Typography Families */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-odia: 'Noto Serif Oriya', serif;

  /* Fluid Type Scale (Optically tuned for Cormorant Garamond + Plus Jakarta Sans) */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 0.95rem;    /* 15.2px — ideal x-height for Plus Jakarta Sans */
  --text-md: 1.125rem;     /* 18px */
  --text-lg: 1.45rem;      /* 23px */
  --text-xl: clamp(1.65rem, 2.5vw, 2.25rem);
  --text-2xl: clamp(2.2rem, 3.6vw, 3.2rem);
  --text-hero: clamp(2.9rem, 5.8vw, 4.95rem);

  /* Line Heights & Letter Spacing */
  --leading-tight: 1.06;
  --leading-snug: 1.24;
  --leading-normal: 1.7;
  --leading-relaxed: 1.82;
  --tracking-tight: -0.015em;
  --tracking-normal: 0.005em;
  --tracking-wide: 0.1em;
  --tracking-wider: 0.18em;

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;
  --space-section: clamp(4.25rem, 7.5vw, 7rem);

  /* Layout Containers */
  --container-max: 1320px;
  --container-narrow: 960px;
  --container-gutter: clamp(1.25rem, 4vw, 3rem);

  /* Architectural Borders & Subtle Elevation (no excessive rounding) */
  --radius-none: 0px;
  --radius-subtle: 2px;
  --border-hairline: 1px solid var(--color-sand-border);
  --border-strong: 1px solid var(--color-sand-border-strong);
  --shadow-subtle: 0 4px 20px rgba(41, 39, 32, 0.05);
  --shadow-elevated: 0 16px 42px rgba(41, 39, 32, 0.11);
  --shadow-drawer: -12px 0 40px rgba(41, 39, 32, 0.14);

  /* Refined Transitions */
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 220ms;
  --duration-base: 380ms;
  --duration-slow: 650ms;

  /* Z-Index Layers */
  --z-base: 1;
  --z-header: 100;
  --z-backdrop: 300;
  --z-drawer: 400;
  --z-modal: 500;
  --z-toast: 600;
}
