/* =========================================================
   WellMed Design Tokens
   Palette: White / Cream / Golden Apricot / Olive / Tea Green
   ========================================================= */

:root {
  /* Brand colors */
  --color-white: #fefefe;
  --color-cream: #fffdd0;
  --color-cream-soft: #fffceb;
  --color-apricot: #d38d3d;
  --color-apricot-deep: #b8762d;
  --color-apricot-soft: #ecc28a;
  --color-olive: #808000;
  --color-olive-deep: #5e5e00;
  --color-olive-soft: #a3a341;
  --color-tea: #cddf9d;
  --color-tea-soft: #e6efce;

  /* Semantic neutrals (warm-toned) */
  --color-ink: #2a2a1f;
  --color-ink-soft: #5a5a4a;
  --color-muted: #8a8a7a;
  --color-line: #e8e5d0;
  --color-line-soft: #f1eedc;
  --color-bg: #fbf8ee;
  --color-bg-warm: #faf6e6;
  --color-surface: #ffffff;

  /* Status */
  --color-success: #6b8e23;
  --color-warn: #c98415;
  --color-danger: #b54839;

  /* Typography */
  --font-serif: "Cormorant Garamond", "Playfair Display", "Source Serif Pro", Georgia, serif;
  --font-sans: "Inter", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-script: "Caveat", "Dancing Script", cursive;

  /* Type scale (modular, organic) */
  --fs-xxxl: clamp(2.75rem, 1.8rem + 4vw, 5rem);
  --fs-xxl:  clamp(2rem, 1.4rem + 2.5vw, 3.5rem);
  --fs-xl:   clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --fs-lg:   clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
  --fs-md:   1.0625rem;
  --fs-sm:   0.9375rem;
  --fs-xs:   0.8125rem;

  /* Line heights */
  --lh-tight: 1.15;
  --lh-snug:  1.3;
  --lh-base:  1.65;
  --lh-loose: 1.85;

  /* Spacing — generous & organic */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Radii — soft, organic */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 999px;
  --radius-organic: 32% 68% 70% 30% / 30% 30% 70% 70%;

  /* Shadows — soft & warm */
  --shadow-xs: 0 1px 2px rgba(60, 50, 20, 0.04);
  --shadow-sm: 0 4px 12px rgba(60, 50, 20, 0.06);
  --shadow-md: 0 12px 28px rgba(60, 50, 20, 0.08), 0 2px 6px rgba(60, 50, 20, 0.04);
  --shadow-lg: 0 24px 48px rgba(60, 50, 20, 0.10), 0 4px 12px rgba(60, 50, 20, 0.05);
  --shadow-glow: 0 0 0 6px rgba(128, 128, 0, 0.08);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-slow: 560ms;

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7rem);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
