/* ============================================================
   Cucu's Nest — Spacing, radii, shadows, layout, motion
   ============================================================ */

: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:   2.5rem;   /* 40 */
  --space-8:   3rem;     /* 48 */
  --space-9:   4rem;     /* 64 */
  --space-10:  6rem;     /* 96 */
  --space-11:  8rem;     /* 128 */

  /* Radii — soft, hand-finished, never sharp */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   28px;
  --radius-2xl:  40px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* Borders */
  --border-width: 1px;
  --border-width-strong: 1.5px;

  /* Shadows — warm-tinted, soft like afternoon light */
  --shadow-xs:  0 1px 2px rgba(39, 30, 22, 0.06);
  --shadow-sm:  0 2px 8px rgba(39, 30, 22, 0.07);
  --shadow-md:  0 6px 20px rgba(39, 30, 22, 0.09);
  --shadow-lg:  0 14px 40px rgba(39, 30, 22, 0.13);
  --shadow-xl:  0 28px 64px rgba(39, 30, 22, 0.18);
  --shadow-inset: inset 0 1px 0 rgba(255, 253, 249, 0.6);

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --container-narrow: 720px;
  --gutter: var(--space-5);
  --section-y: var(--space-10);

  /* Motion — calm, gentle, never bouncy */
  --ease-out:   cubic-bezier(0.22, 0.61, 0.36, 1);  /* @kind other */
  --ease-in-out: cubic-bezier(0.45, 0, 0.2, 1);     /* @kind other */
  --dur-fast:   140ms;  /* @kind other */
  --dur-base:   240ms;  /* @kind other */
  --dur-slow:   420ms;  /* @kind other */
  --dur-photo:  700ms;  /* @kind other */  /* image reveals / parallax */

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