/* ============================================================
   Sinopharma · Spacing, radius, shadow, motion, layout
   Generous whitespace · fine lines · soft, low elevation.
   ============================================================ */

:root {
  /* ---- Spacing scale (4px base) ---- */
  --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 */

  /* ---- Layout ---- */
  --container:      1240px; /* @kind spacing */
  --container-text: 720px;  /* @kind spacing */
  --gutter:         clamp(1.25rem, 4vw, 4rem); /* @kind spacing */
  --section-y:      clamp(4rem, 8vw, 8rem);    /* @kind spacing */

  /* ---- Radii (soft, restrained — apothecary precision) ---- */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   28px;
  --radius-pill: 999px;

  /* ---- Borders ---- */
  --bw-hairline: 1px;   /* @kind spacing */
  --bw-medium:   1.5px; /* @kind spacing */

  /* ---- Shadows (very soft, warm-tinted, low) ---- */
  --shadow-xs: 0 1px 2px rgba(45, 53, 42, 0.05);
  --shadow-sm: 0 2px 8px rgba(45, 53, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(45, 53, 42, 0.08);
  --shadow-lg: 0 18px 48px rgba(45, 53, 42, 0.10);
  --shadow-focus: 0 0 0 3px var(--focus-ring);

  /* ---- Motion (calm, precise — no bounce) ---- */
  --ease-out:   cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-in-out:cubic-bezier(0.45, 0, 0.25, 1);    /* @kind other */
  --dur-fast:   140ms; /* @kind other */
  --dur-base:   220ms; /* @kind other */
  --dur-slow:   420ms; /* @kind other */
}
