/* ============================================================
   MERIDIAN — Design Tokens
   Rebrand the entire template by editing this file only.
   ============================================================ */

:root {
  /* Brand color — swap these three for a client rebrand */
  --color-accent: oklch(68% 0.19 45);          /* ember orange */
  --color-accent-soft: oklch(72% 0.15 55);
  --color-accent-deep: oklch(45% 0.16 40);

  /* Surfaces */
  --color-bg: oklch(15% 0.005 80);             /* near-black warm */
  --color-bg-raised: oklch(19% 0.008 80);
  --color-bg-card: oklch(22% 0.01 75);
  --color-ivory: oklch(96% 0.01 85);           /* light section bg */
  --color-ivory-dim: oklch(92% 0.012 85);

  /* Text */
  --color-text: oklch(94% 0.012 85);           /* bone */
  --color-text-dim: oklch(72% 0.01 80);
  --color-text-faint: oklch(55% 0.008 80);
  --color-text-onlight: oklch(22% 0.01 75);
  --color-text-onlight-dim: oklch(45% 0.01 75);

  /* Lines */
  --line-soft: oklch(100% 0 0 / 0.09);
  --line-strong: oklch(100% 0 0 / 0.18);
  --line-onlight: oklch(0% 0 0 / 0.12);

  /* Type scale */
  --font-display: "Oswald", "Helvetica Neue", sans-serif;
  --font-body: "Manrope", -apple-system, sans-serif;
  --font-mono: "DM Mono", "SF Mono", monospace;
  --text-hero: clamp(2.75rem, 1.2rem + 6.2vw, 6.75rem);
  --text-h2: clamp(2rem, 1rem + 3.4vw, 4.25rem);
  --text-h3: clamp(1.35rem, 1rem + 1.2vw, 2rem);
  --text-lead: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  --text-small: 0.85rem;
  --text-micro: 0.72rem;

  /* Rhythm */
  --space-section: clamp(5rem, 3rem + 8vw, 11rem);
  --space-block: clamp(2rem, 1.5rem + 2vw, 4rem);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --max-width: 90rem;

  /* Motion */
  --duration-fast: 180ms;
  --duration-normal: 420ms;
  --duration-slow: 900ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.45, 0, 0.15, 1);

  /* Radii */
  --radius-pill: 999px;
  --radius-card: 1.25rem;
  --radius-media: 1.5rem;
}
