/* ============================================================
   YĀTRĀ · Spacing, radius, shadow, motion
   Quiet luxury: generous whitespace, soft radii, barely-there
   shadows. Light filtered through threads — never harsh.
   ============================================================ */

:root {
  /* ---- Spacing scale (4px base, breath at the top) ---- */
  --space-0:  0;
  --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 */
  --space-11: 11rem;    /* 176 — section rhythm */

  /* ---- Radii — soft, honed-stone edges ---- */
  --radius-xs:  3px;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-2xl: 36px;
  --radius-pill:999px;
  --radius-circle:50%;

  /* ---- Shadows — soft daylight, low contrast ---- */
  --shadow-xs:  0 1px 2px rgba(46, 55, 66, 0.05);
  --shadow-sm:  0 2px 8px rgba(46, 55, 66, 0.06);
  --shadow-md:  0 8px 24px rgba(46, 55, 66, 0.08);
  --shadow-lg:  0 18px 48px rgba(46, 55, 66, 0.12);
  --shadow-xl:  0 32px 80px rgba(46, 55, 66, 0.16);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.5);

  /* ---- Layout ---- */
  --container-sm: 640px;
  --container-md: 880px;
  --container-lg: 1140px;
  --container-xl: 1320px;
  --gutter:       clamp(1.25rem, 4vw, 4rem); /* @kind spacing */

  /* ---- Motion — slow, intentional, never bouncy ---- */
  --ease-calm:   cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-soft:   cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --ease-enter:  cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --duration-fast:   160ms; /* @kind other */
  --duration-base:   280ms; /* @kind other */
  --duration-slow:   520ms; /* @kind other */
  --duration-veil:   900ms; /* @kind other */
}
