/* ==========================================================================
   Clay by Jana: tokens

   Her packaging is the palette: sage, beige and kraft. Beige is the page,
   kraft carries prices and lines, and sage is kept for the things you press
   and one band of the home page, never the whole background.
   ========================================================================== */

:root {
  --linen: #EEE7DB;        /* the page */
  --unbleached: #F8F4ED;   /* raised surfaces */
  --sand: #E3D8C6;         /* placeholders, wells */
  --kraft: #B08A62;        /* tags, prices, hairlines */
  --kraft-deep: #8A6744;
  --bark: #4A3B2E;         /* text */
  --bark-soft: #6F604F;
  --sage: #A7B48F;
  --sage-deep: #66765A;    /* buttons: 4.9:1 against white text */
  --sage-mist: #DCE2D0;
  --sage-grey: #A9AE98;    /* her reference wall #8C927B, lifted so brown text reads on it */
  --danger: #A0452E;
  --line: color-mix(in srgb, var(--kraft) 35%, transparent);

  --font-display: "Marcellus", "Iowan Old Style", Georgia, serif;
  --font-body: "Mulish", "Segoe UI", system-ui, sans-serif;

  /* a 1.25 scale off 17px */
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-md: 1.25rem;
  --t-lg: clamp(1.5rem, 1.2rem + 1vw, 1.95rem);
  --t-xl: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  --t-xxl: clamp(2.4rem, 1.5rem + 3.6vw, 4.2rem);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;

  --shell: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.3, .7, .2, 1);

  /* hand-pinched, never quite round */
  --pebble-a: 46% 54% 42% 58% / 38% 36% 64% 62%;
  --pebble-b: 56% 44% 54% 46% / 42% 46% 54% 58%;
  --pebble-c: 42% 58% 50% 50% / 36% 44% 56% 64%;
}

:root[lang="ar"] {
  --font-display: "Amiri", "Noto Naskh Arabic", serif;
  --font-body: "Noto Naskh Arabic", "Mulish", sans-serif;
}
