/* ══════════════════════════════════════════════════════════════
   KILIM — Design-System · Die Bagles
   Konzept: Balkan-Textilkunst im modernen Nacht-Editorial.
   Zinnober · Kurkuma · Oxidiertes Teal · Creme auf Bühnen-Schwarz.
   ══════════════════════════════════════════════════════════════ */

:root {
  /* ── Farben ─────────────────────────────────────────────── */
  --bg-0: #0b0f11;           /* Bühne, fast schwarz mit Teal-Stich */
  --bg-1: #10151a;           /* Sektionsflächen */
  --bg-2: #161d23;           /* Flächen/gefühlte Cards */
  --bg-3: #1c252c;           /* Raised */
  --ink: #eae3d2;            /* Creme · Haupttext */
  --ink-soft: #a7a292;       /* Sekundärtext */
  --ink-faint: #6e6e63;      /* Metadaten */

  --red: #e14b2c;            /* Kilim-Zinnober · Marke */
  --red-hi: #f1653f;         /* Hover/Glow */
  --red-deep: #b8361c;       /* Schatten schwerer */
  --gold: #e9b949;           /* Kurkuma · Akzent */
  --gold-hi: #ffd070;
  --teal: #2fa88f;           /* Oxidiertes Teal · Gegenpol */
  --teal-hi: #4ecdb2;
  --lime: #c9e04f;           /* selten, Mikro-Akzent */
  --cream: #f4ecd9;          /* helle Flächen, Label */

  --hair: rgba(234, 227, 210, 0.14);     /* Haarlinie */
  --hair-strong: rgba(234, 227, 210, 0.3);

  /* ── Typografie ─────────────────────────────────────────── */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Bricolage Grotesque", system-ui, sans-serif;
  --font-italic: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --fs-xs: clamp(0.72rem, 0.7rem + 0.1vw, 0.8rem);
  --fs-sm: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
  --fs-base: clamp(1rem, 0.97rem + 0.18vw, 1.125rem);
  --fs-md: clamp(1.15rem, 1.08rem + 0.4vw, 1.4rem);
  --fs-lg: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --fs-xl: clamp(2.2rem, 1.5rem + 3vw, 4rem);
  --fs-hero: clamp(2.9rem, 1.8rem + 6vw, 6.75rem);

  --lh-tight: 1.02;
  --lh-snug: 1.22;
  --lh-normal: 1.6;
  --track-mono: 0.16em;
  --track-wide: 0.06em;

  /* ── Abstände & Layout ──────────────────────────────────── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4.5rem;
  --space-12: 6rem;
  --space-16: 8rem;
  --rail: clamp(1.25rem, 4vw, 4rem);
  --wrap: 76rem;
  --measure: 46ch;
  --nav-h: 4.5rem;

  /* ── Form ───────────────────────────────────────────────── */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-card: 0 24px 60px -30px rgba(0, 0, 0, 0.65);
  --shadow-pop: 0 40px 90px -40px rgba(0, 0, 0, 0.8);
  --glow-red: 0 0 80px -20px rgba(225, 75, 44, 0.4);
  --glow-gold: 0 0 60px -18px rgba(233, 185, 73, 0.35);

  /* ── Motion ─────────────────────────────────────────────── */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 180ms;
  --dur: 550ms;
  --dur-slow: 1100ms;
  --dur-shader: 26s;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 1ms;
    --dur: 1ms;
    --dur-slow: 1ms;
    --dur-shader: 0ms;
  }
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}