/*
  Design tokens for the Reilly Trees site (Velvet Pearl).
  Every color, size and spacing value used in site.css comes from here.
  See docs/design-system.md for usage rules.
*/
:root {
  /* Color: palette */
  --pearl-50: #FBF9F6;
  --pearl-100: #F5F2EE;
  --pearl-200: #ECE3D8;
  --pearl-300: #DFCCB6;
  --line-200: #DDD5CE;
  --espresso-900: #1E1819;
  --espresso-700: #4A4042;
  --espresso-500: #6B5F5A;
  --bronze-600: #7A5C32;
  --bronze-700: #5E4626;

  /* Color: semantic */
  --color-bg: var(--pearl-100);
  --color-surface: var(--pearl-50);
  --color-surface-warm: var(--pearl-200);
  --color-text: var(--espresso-900);        /* 15.7:1 on bg */
  --color-text-secondary: var(--espresso-700); /* 9.0:1 on bg */
  --color-text-muted: var(--espresso-500);  /* 5.5:1 on bg */
  --color-accent: var(--bronze-600);        /* 5.5:1 on bg, 4.9:1 on surface-warm */
  --color-accent-strong: var(--bronze-700);
  --color-border: var(--line-200);
  --color-primary: var(--espresso-900);
  --color-on-primary: var(--pearl-100);
  --color-focus: var(--bronze-600);

  /* Typography */
  --font-display: "Cormorant Garamond", Garamond, Georgia, serif;
  --font-body: Manrope, "Helvetica Neue", Arial, sans-serif;

  --text-xs: 0.75rem;    /* 12px: labels */
  --text-sm: 0.8125rem;  /* 13px: eyebrows, nav, buttons (uppercase, tracked) */
  --text-base: 1rem;     /* 16px: body */
  --text-md: 1.125rem;   /* 18px: lead */
  --text-lg: 1.5rem;     /* 24px: captions, small display */
  --text-xl: 1.875rem;   /* 30px: service names, callouts */
  --text-2xl: clamp(2.5rem, 5vw, 3.5rem);   /* 40–56px: section titles */
  --text-3xl: clamp(3.25rem, 7.5vw, 6.5rem); /* 52–104px: hero */

  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  --leading-tight: 1;
  --leading-snug: 1.2;
  --leading-body: 1.65;

  --tracking-display: -0.01em;
  --tracking-label: 0.12em;
  --tracking-ui: 0.16em;
  --tracking-eyebrow: 0.24em;
  --tracking-wordmark: 0.2em;

  /* Spacing (4px base) */
  --space-1: 0.25rem;  /* 4 */
  --space-2: 0.5rem;   /* 8 */
  --space-3: 0.75rem;  /* 12 */
  --space-4: 1rem;     /* 16 */
  --space-5: 1.5rem;   /* 24 */
  --space-6: 2rem;     /* 32 */
  --space-7: 3rem;     /* 48 */
  --space-8: 4.5rem;   /* 72 */
  --space-9: 6rem;     /* 96 */
  --space-10: 7.5rem;  /* 120 */

  /* Layout */
  --container: 75rem;  /* 1200px */
  --gutter: max(1rem, 3vw);
  --measure: 42ch;

  /* Shape and depth */
  --radius: 0;         /* Velvet is square-edged throughout */
  --border: 1px;
  --shadow-photo: 0 2.5rem 5rem rgb(70 50 35 / 0.18);

  /* Components */
  --control-height-sm: 2.5rem;   /* 40px compact header button on phones */
  --control-height: 2.75rem;     /* 44px default target */
  --control-height-lg: 3.25rem;  /* 52px primary CTA */
  --focus-ring: 2px solid var(--color-focus);
  --focus-offset: 3px;

  /* Motion */
  --duration-fast: 150ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);

  /* Breakpoints (reference only; CSS custom properties can't be used in media queries)
     sm 40rem / 640px, md 56rem / 896px */
}
