/* ===========================================================================
   KHSHN — design tokens
   Palette derived from the brand's own logo plate (#4B020D ground, champagne
   wordmark) and from the warm, low-contrast interiors of its product imagery.
   =========================================================================== */
:root{
  /* --- colour ------------------------------------------------------------ */
  --oxblood:        #4B020D;   /* the brand mark's ground — verified */
  --oxblood-deep:   #35010A;
  --oxblood-lift:   #6B0F1E;
  --champagne:      #F0E0C2;   /* the wordmark's ink — verified */
  --champagne-dim:  #CDBB9B;

  --ink:            #17100F;   /* warm near-black */
  --ink-soft:       #2A1F1D;
  --ink-mute:       #6A5C58;

  --bone:           #F6F2EA;   /* page ground */
  --bone-2:         #EEE8DC;
  --bone-3:         #E2DACB;
  --stone:          #A3978A;

  --line:           rgba(23,16,15,.13);
  --line-strong:    rgba(23,16,15,.26);
  --line-invert:    rgba(240,224,194,.20);

  --surface:        #FFFDF8;
  --surface-sunk:   #EDE7DB;

  --ok:             #2E6A4F;
  --warn:           #9A6A12;
  --danger:         #8E2419;

  /* --- type -------------------------------------------------------------- */
  --f-display: 'Bodoni Moda', 'Times New Roman', serif;
  --f-sans:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-ar:      'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif;
  --f-body:    var(--f-ar), var(--f-sans);

  --t-hero:    clamp(3.2rem, 12vw, 10rem);
  --t-d1:      clamp(2.4rem, 6.4vw, 5.2rem);
  --t-d2:      clamp(1.9rem, 4.2vw, 3.2rem);
  --t-d3:      clamp(1.35rem, 2.5vw, 1.9rem);
  --t-body:    clamp(.95rem, 1.05vw, 1.0625rem);
  --t-sm:      .875rem;
  --t-xs:      .75rem;
  --t-label:   .6875rem;

  --track-label: .22em;
  --track-mark:  .30em;

  /* --- space / shape ------------------------------------------------------ */
  --gut:       clamp(1.1rem, 4vw, 3.5rem);
  --sec:       clamp(4rem, 9vw, 8.5rem);
  --r-xs: 2px; --r-sm: 3px; --r-md: 4px; --r-pill: 999px;
  /* imagery is softened; UI chrome stays near-square */
  --r-card: 12px; --r-tile: 16px;

  --shadow-sm: 0 1px 2px rgba(23,16,15,.06), 0 4px 14px rgba(23,16,15,.05);
  --shadow-md: 0 8px 40px rgba(23,16,15,.12);
  --shadow-lg: 0 24px 80px rgba(23,16,15,.20);

  /* --- motion ------------------------------------------------------------ */
  --e-out:  cubic-bezier(.22,.61,.36,1);
  --e-soft: cubic-bezier(.4,0,.2,1);
  --e-fash: cubic-bezier(.16,1,.3,1);
  --d-1: .22s; --d-2: .42s; --d-3: .72s;

  --nav-h: 64px;
  --bar-h: 36px;
  --z-bar: 40; --z-nav: 50; --z-drawer: 70; --z-overlay: 80; --z-toast: 90;
}

@media (max-width: 760px){
  :root{ --nav-h: 58px; --bar-h: 32px; }
}

@media (prefers-reduced-motion: reduce){
  html:not(.motion-on){ --d-1: .01ms; --d-2: .01ms; --d-3: .01ms; }
}
