/* ============================================================
   UNO — Università a Oristano · Spacing, radius, shadow, motion
   ------------------------------------------------------------
   8px base grid. Radii are friendly (echo the rounded "onda"
   loops); buttons default to a pill. Shadows are navy-tinted
   and soft — this is an editorial, institutional surface, not
   a neon SaaS one.
   ============================================================ */

:root {
  /* ---- Spacing (8px 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 */

  /* ---- Radius ---- */
  --radius-none: 0;
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;   /* default button shape */
  --radius-card: 14px;

  /* ---- Shadows (navy-tinted, warm-surface friendly) ---- */
  --shadow-xs: 0 1px 2px rgba(19, 26, 46, 0.06);
  --shadow-sm: 0 2px 8px rgba(19, 26, 46, 0.08);
  --shadow-md: 0 8px 22px rgba(19, 26, 46, 0.10);
  --shadow-lg: 0 18px 44px rgba(19, 26, 46, 0.14);
  --shadow-xl: 0 30px 70px rgba(19, 26, 46, 0.18);
  --shadow-focus: 0 0 0 3px var(--focus-ring);

  /* ---- Motion ---- */
  --duration-fast: 120ms; /* @kind other */
  --duration-base: 200ms; /* @kind other */
  --duration-slow: 360ms; /* @kind other */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 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 */

  /* ---- Layout ---- */
  --container-max:    1200px; /* @kind other */
  --container-wide:   1320px; /* @kind other */
  --container-narrow: 760px;  /* @kind other */
  --gutter:           clamp(1.25rem, 4vw, 4rem); /* @kind spacing */

  /* ---- Z-index ---- */
  --z-base:     0;   /* @kind other */
  --z-dropdown: 100; /* @kind other */
  --z-sticky:   200; /* @kind other */
  --z-overlay:  300; /* @kind other */
  --z-modal:    400; /* @kind other */
  --z-toast:    500; /* @kind other */
}
