/* ============================================================
   ArtHAUS — Spacing, radius, shadow, layout, motion
   Architectural restraint: generous whitespace, minimal radii,
   light shadows. Space is a material here.
   ============================================================ */

:root {
  /* ---- Spacing scale (4px base, architectural rhythm) ----- */
  --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 — section gutters */
  --space-11: 12rem;   /* 192 — gallery breathing room */

  /* ---- Radius — nearly square; we build, not bubble ------- */
  --radius-0: 0;
  --radius-xs: 1px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-pill: 999px;   /* only for small tags/avatars */

  /* ---- Borders -------------------------------------------- */
  --border-hair: 1px;   /* @kind spacing */
  --border-beam: 2px; /* @kind spacing */

  /* ---- Shadows — low, warm, diffuse (golden-hour, not UI) - */
  --shadow-xs: 0 1px 2px color-mix(in srgb, var(--ink-950) 6%, transparent);
  --shadow-sm: 0 2px 8px color-mix(in srgb, var(--ink-950) 7%, transparent);
  --shadow-md: 0 10px 30px -12px color-mix(in srgb, var(--ink-950) 18%, transparent);
  --shadow-lg: 0 30px 60px -24px color-mix(in srgb, var(--ink-950) 26%, transparent);
  --shadow-inset-hair: inset 0 0 0 1px var(--line);

  /* ---- Protection gradient (for text over imagery) -------- */
  --scrim-bottom: linear-gradient(to top,
      color-mix(in srgb, var(--ink-950) 78%, transparent) 0%,
      color-mix(in srgb, var(--ink-950) 36%, transparent) 38%,
      transparent 72%);
  --scrim-full: linear-gradient(to top,
      color-mix(in srgb, var(--ink-950) 70%, transparent),
      color-mix(in srgb, var(--ink-950) 24%, transparent));

  /* ---- Layout -------------------------------------------- */
  --measure: 64ch; /* @kind spacing */
  --container: 1240px; /* @kind spacing */
  --container-wide: 1480px; /* @kind spacing */
  --gutter: clamp(1.25rem, 5vw, 5rem); /* @kind spacing */

  /* ---- Motion — slow, cinematic, no bounce --------------- */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0.05, 0.36, 1); /* @kind other */
  --dur-fast: 180ms; /* @kind other */
  --dur-med: 320ms; /* @kind other */
  --dur-slow: 620ms; /* @kind other */
}
