/* ==========================================================================
   Atelier Noir — Design Tokens
   Stark monochrome system: matte black, pristine white, charcoal hairlines.
   ========================================================================== */

:root {
  /* ---- Color: monochrome only, no accent ---- */
  --color-ink:            #0a0a0a;   /* deep matte black */
  --color-ink-soft:       #171717;
  --color-paper:          #f8f7f4;   /* pristine warm white */
  --color-paper-dim:      #efeee8;
  --color-charcoal:       #3a3a37;
  --color-line:           rgba(10, 10, 10, 0.14);
  --color-line-strong:    rgba(10, 10, 10, 0.32);
  --color-line-on-ink:    rgba(248, 247, 244, 0.18);
  --color-line-on-ink-strong: rgba(248, 247, 244, 0.4);
  --color-muted:          #6b6a65;
  --color-muted-on-ink:   #9c9b96;
  --color-error:          #7a1f1f;
  --color-success:        #1f3a1f;

  /* ---- Typography ---- */
  --font-serif: 'Fraunces', 'Iowan Old Style', 'Georgia', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.06em;
  --tracking-wider: 0.14em;
  --tracking-widest: 0.24em;

  /* Fluid type scale */
  --text-display: clamp(2.8rem, 3.2rem + 3.6vw, 7.2rem);
  --text-h1:      clamp(2.2rem, 2.2rem + 2.6vw, 4.6rem);
  --text-h2:      clamp(1.7rem, 1.6rem + 1.6vw, 3rem);
  --text-h3:      clamp(1.25rem, 1.15rem + 0.7vw, 1.75rem);
  --text-lead:    clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  --text-body:    1rem;
  --text-small:   0.8125rem;
  --text-micro:   0.6875rem;

  --leading-tight: 1.05;
  --leading-snug: 1.25;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* ---- Spacing scale ---- */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;
  --space-4xl: 13rem;

  /* ---- Grid / layout ---- */
  --container-max: 1600px;
  --container-pad: clamp(1.25rem, 1rem + 2.5vw, 4rem);
  --grid-columns: 12;
  --grid-gap: clamp(1rem, 0.6rem + 1.4vw, 2rem);

  /* ---- Motion ---- */
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 220ms;
  --duration-med: 480ms;
  --duration-slow: 900ms;

  /* ---- Elevation / misc ---- */
  --border-hair: 1px solid var(--color-line);
  --border-hair-strong: 1px solid var(--color-line-strong);
  --radius-none: 0;
}
