/* ============================================================
   CIPTA KRIYA ENGINEERING — SPACING, RADIUS, SHADOW, MOTION
   ============================================================ */

:root {
  /* ---- Spacing (4px base grid) ---- */
  --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:  2.5rem;    /* 40 */
  --space-8:  3rem;      /* 48 */
  --space-9:  4rem;      /* 64 */
  --space-10: 5rem;      /* 80 */
  --space-11: 6.5rem;    /* 104 */
  --space-12: 8rem;      /* 128 */

  /* Section rhythm */
  --section-y:    var(--space-10);
  --container-x:  var(--space-5);
  --container-max: 1280px;

  /* ---- Radius ---- */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-pill: 999px;
  --radius-card: var(--radius-lg);

  /* ---- Borders ---- */
  --border-w:       1px;
  --border-w-thick: 2px;

  /* ---- Shadows (cool steel-tinted, soft) ---- */
  --shadow-xs:  0 1px 2px rgba(18, 43, 63, 0.06);
  --shadow-sm:  0 1px 3px rgba(18, 43, 63, 0.08), 0 1px 2px rgba(18, 43, 63, 0.06);
  --shadow-md:  0 4px 12px rgba(18, 43, 63, 0.10), 0 2px 4px rgba(18, 43, 63, 0.06);
  --shadow-lg:  0 12px 28px rgba(18, 43, 63, 0.12), 0 4px 10px rgba(18, 43, 63, 0.07);
  --shadow-xl:  0 24px 56px rgba(18, 43, 63, 0.16), 0 8px 20px rgba(18, 43, 63, 0.08);
  --shadow-brand: 0 14px 32px rgba(34, 153, 196, 0.30);

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.2, 0, 0.1, 1); /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --dur-fast:   140ms; /* @kind other */
  --dur-base:   220ms; /* @kind other */
  --dur-slow:   400ms; /* @kind other */

  /* ---- Z-index ---- */
  --z-base:    1; /* @kind other */
  --z-sticky:  100; /* @kind other */
  --z-overlay: 1000; /* @kind other */
  --z-modal:   1100; /* @kind other */
  --z-toast:   1200; /* @kind other */
}
