/* ===========================================================================
   SPACING, RADII, SHADOW — Adriano Barboza
   The system is built on the BENTO GRID: modular blocks, border-radius 50px.
   Layouts are gap-driven (the brand grid runs margins 0 / spacing 0 at the
   document edge, but bento blocks sit apart with a consistent gutter).
   =========================================================================== */

: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 */

  /* Bento gutter — the standard gap between modular blocks */
  --bento-gap: 1rem;

  /* ---- Radii ---- */
  /* Brand bento blocks use a generous 50px radius. Scaled aliases below keep
     smaller controls proportional to their size. */
  --radius-bento: 50px;     /* canonical brand block radius */
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;        /* default for cards / inputs in dense UI */
  --radius-sm: 10px;
  --radius-pill: 999px;     /* chips, buttons, tags */

  /* ---- Borders ---- */
  --border-width: 1px;
  --border-width-bold: 2px;

  /* ---- Shadows ----
     The brand is flat and editorial: color and structure create hierarchy,
     not heavy shadows. Use shadows only for true overlays (dialogs, menus). */
  --shadow-none: none;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
  --shadow-overlay: 0 24px 60px -20px rgba(0, 0, 0, 0.45);

  /* ---- Motion ----
     Calm, intentional. Short fades and eased moves; no bounce, no spring. */
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);          /* @kind other */
  --dur-fast: 120ms;  /* @kind other */
  --dur-base: 200ms;  /* @kind other */
  --dur-slow: 320ms;  /* @kind other */

  /* ---- Layout ---- */
  --container-max: 1200px; /* @kind spacing */
  --container-pad: 2rem;   /* @kind spacing */
}
