/* GENERATED from frontend/foundations/tokens.css — do not edit this copy. */
/* YWE frontend foundations — canonical, framework-neutral design tokens.
 *
 * This file contains namespaced values only and must not style elements.
 * Separate Cloudflare Pages outputs receive generated copies via
 * scripts/sync-frontend-foundations.mjs.
 */

:root {
  /* Color foundations */
  --ywe-color-parchment: #fdf9f4;
  --ywe-color-parchment-subtle: #f5efe5;
  --ywe-color-paper: #ffffff;
  --ywe-color-ink: #1a1712;
  --ywe-color-ink-muted: #6b6258;
  --ywe-color-ink-faint: #9a9080;
  --ywe-color-border: #e8e2da;
  --ywe-color-border-light: #efe9e1;
  --ywe-color-focus: #1a6b6b;
  --ywe-color-success: #2d6648;
  --ywe-color-danger: #9b3434;
  --ywe-color-danger-action: #b04444;
  --ywe-color-danger-action-hover: #9a3838;
  --ywe-color-warning: #8a5a14;
  --ywe-color-overlay: rgba(26, 23, 18, 0.45);

  /* Typography */
  --ywe-font-ui: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ywe-font-display: 'Cormorant Garamond', Georgia, serif;
  --ywe-font-editorial-ui: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ywe-font-program: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ywe-text-xs: 0.6875rem;
  --ywe-text-sm: 0.8125rem;
  --ywe-text-md: 0.9375rem;
  --ywe-text-lg: 1.0625rem;
  --ywe-text-xl: 1.375rem;
  --ywe-text-2xl: 1.875rem;
  --ywe-text-display: 2.75rem;
  --ywe-leading-tight: 1.15;
  --ywe-leading-body: 1.6;

  /* Spacing — 4px base with intentional larger editorial gaps */
  --ywe-space-1: 0.25rem;
  --ywe-space-2: 0.5rem;
  --ywe-space-3: 0.75rem;
  --ywe-space-4: 1rem;
  --ywe-space-5: 1.25rem;
  --ywe-space-6: 1.5rem;
  --ywe-space-8: 2rem;
  --ywe-space-10: 2.5rem;
  --ywe-space-12: 3rem;
  --ywe-space-16: 4rem;

  /* Shape and depth */
  --ywe-radius-sm: 0.5rem;
  --ywe-radius-md: 0.75rem;
  --ywe-radius-lg: 1.125rem;
  --ywe-radius-xl: 1.5rem;
  --ywe-radius-pill: 999px;
  --ywe-shadow-subtle: 0 1px 2px rgba(26, 23, 18, 0.04);
  --ywe-shadow-card: 0 14px 34px rgba(26, 23, 18, 0.1);
  --ywe-shadow-overlay: 0 24px 60px rgba(26, 23, 18, 0.14);
  --ywe-shadow-selected: 0 1px 1px rgba(26, 23, 18, 0.04), 0 8px 20px rgba(26, 23, 18, 0.08);
  --ywe-shadow-hover: 0 8px 24px rgba(26, 23, 18, 0.08);
  --ywe-shadow-compact: 0 4px 14px rgba(26, 23, 18, 0.08);
  --ywe-shadow-dialog: 0 12px 40px rgba(26, 23, 18, 0.2);

  /* Interaction */
  --ywe-control-height-sm: 2.375rem;
  --ywe-control-height-md: 2.75rem;
  --ywe-control-height-lg: 3rem;
  --ywe-focus-ring: 0 0 0 3px rgba(26, 107, 107, 0.16);
  --ywe-duration-fast: 150ms;
  --ywe-duration-normal: 220ms;
  --ywe-ease-standard: cubic-bezier(0.2, 0, 0, 1);
}
