/* =====================================================================
   Journeycake Flowers — Design Tokens
   Source: Obsidian Vault/.../Journeycake Flowers/Brand & Logo/brand-spec.md
   v1.1 — 2026-05-20 — Direction A "Butcher Paper & Ink" locked
   ===================================================================== */

:root {
  /* ----- Color (Direction A — locked) ----- */
  --bg-base:        #F4EDDF;   /* Kraft cream — primary canvas */
  --bg-surface:     #F9F4E8;   /* Lifted kraft — cards, surfaces */
  --bg-document:    #D5CEBC;   /* Warm linen — section bands, document bg */
  --text-primary:   #1F1A14;   /* Warm ink — never pure black */
  --text-secondary: #6B5D4A;   /* Walnut — eyebrow, caption, meta */
  --text-muted:     #9C8E78;   /* Aged paper — fine print, helper */
  --border:         #E3D9C5;   /* Soft kraft — hairline */
  --accent:         #B47974;   /* Dusty Rose — buttons, links, hover */
  --accent-hover:   #8E5D58;   /* Deep rose — hover darkened */
  --accent-soft:    #ECDADA;   /* Rose wash — tinted accent surfaces */

  /* ----- Type ----- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Fraunces variable axis presets via font-variation-settings */
  --fraunces-soft: 50;
  --fraunces-opsz-display: 144;
  --fraunces-opsz-text: 14;

  /* Fluid type scale: clamp(min, preferred, max) */
  --fs-display-1: clamp(3.5rem,  5.5vw + 1rem, 6.5rem); /* 56 → 104px */
  --fs-display-2: clamp(3rem,    5vw + 1rem, 5.5rem);   /* 48 → 88px */
  --fs-display-3: clamp(2.25rem, 3vw + 1rem, 3.5rem);   /* 36 → 56px */
  --fs-h1:        clamp(1.75rem, 1.5vw + 1rem, 2.5rem);
  --fs-h2:        clamp(1.375rem, 1vw + 0.75rem, 1.75rem);
  --fs-lead:      clamp(1.125rem, 0.4vw + 1rem, 1.375rem);
  --fs-body:      1rem;
  --fs-body-lg:   1.125rem;
  --fs-body-sm:   0.875rem;
  --fs-eyebrow:   0.6875rem;  /* 11px */
  --fs-button:    0.8125rem;  /* 13px */

  --lh-display: 1;
  --lh-heading: 1.15;
  --lh-lead:    1.4;
  --lh-body:    1.6;

  --ls-display: -0.015em;
  --ls-tight:   -0.01em;
  --ls-eyebrow: 0.18em;
  --ls-button:  0.1em;

  /* ----- Spacing (8px base) ----- */
  --space-1: 0.5rem;     /* 8 */
  --space-2: 1rem;       /* 16 */
  --space-3: 1.5rem;     /* 24 */
  --space-4: 2rem;       /* 32 */
  --space-5: 3rem;       /* 48 */
  --space-6: 4rem;       /* 64 */
  --space-7: 6rem;       /* 96 */
  --space-8: 8rem;       /* 128 */
  --space-9: 10rem;      /* 160 */

  /* ----- Layout ----- */
  --container-max:  80rem;   /* 1280 */
  --container-wide: 90rem;   /* 1440 */
  --gutter-mobile:  1.5rem;
  --gutter-tablet:  3rem;
  --gutter-desktop: 4rem;

  /* ----- Motion ----- */
  --ease-out-soft:  cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out:    cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast:  200ms;
  --duration-base:  350ms;
  --duration-slow:  900ms;

  /* ----- Radius & shadow ----- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(31, 26, 20, 0.04), 0 1px 3px rgba(31, 26, 20, 0.06);
  --shadow-md: 0 4px 6px rgba(31, 26, 20, 0.04), 0 10px 20px rgba(31, 26, 20, 0.06);
  --shadow-lg: 0 12px 24px rgba(31, 26, 20, 0.08), 0 24px 48px rgba(31, 26, 20, 0.06);

  /* ----- z-index ----- */
  --z-nav:    50;
  --z-modal:  100;
}
