/* Fidelity Endeavor — space & motion.
   Generous negative space is the premium signal. Hairline rules instead of
   boxes and cards. Motion slow and physical — custom easing only. */

:root {
  /* --- Spacing scale (px) --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --space-11: 192px;   /* section rhythm on large surfaces */

  /* --- Measure --- */
  --measure: 66ch;         /* body column */
  --measure-narrow: 46ch;

  /* --- Corners: the house barely rounds anything --- */
  --radius-0: 0px;
  --radius-hair: 2px;      /* marks, chips */
  --radius-s: 4px;

  /* --- Borders --- */
  --border-hairline: 1px;

  /* --- Motion: physical easing, transform + opacity only --- */
  --ease-physical: cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */ /* settle */
  --ease-entrance: cubic-bezier(0.16, 1, 0.3, 1);     /* @kind other */ /* long slow arrival */
  --ease-exit: cubic-bezier(0.7, 0, 0.84, 0);         /* @kind other */
  --dur-fast: 220ms;  /* @kind other */
  --dur-base: 420ms;  /* @kind other */
  --dur-slow: 720ms;  /* @kind other */
}

@media (prefers-reduced-motion: reduce) {
  :root {
    /* Reduced alternative: keep opacity fades, drop travel and duration */
    --dur-fast: 120ms;  /* @kind other */
    --dur-base: 160ms;  /* @kind other */
    --dur-slow: 200ms;  /* @kind other */
  }
}
