/* Spin Haus — Spatial system
   The guidelines emphasise generous clear space built from the logo height ("x").
   We express that as an 8px-based spacing scale plus radius/shadow/layout tokens. */

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

  /* ---- Clear space (logo protection zone = "x") ---- */
  --clearspace: var(--space-6);

  /* ---- Radii — soft, restrained (drum-door roundness) ---- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* ---- Borders ---- */
  --border-hairline: 1px solid var(--line);
  --border-strong: 1.5px solid var(--line-strong);

  /* ---- Shadows — quiet, warm, low elevation ---- */
  --shadow-sm: 0 1px 2px color-mix(in srgb, var(--evergreen) 8%, transparent);
  --shadow-md: 0 6px 20px color-mix(in srgb, var(--evergreen) 10%, transparent);
  --shadow-lg: 0 18px 48px color-mix(in srgb, var(--evergreen) 14%, transparent);

  /* ---- Layout ---- */
  --content-max: 1200px;
  --gutter: var(--space-6);
  --transition: 220ms cubic-bezier(0.2, 0.6, 0.2, 1); /* @kind other */
}
