/* The site's design controls. Edit here, then run npm run build.
   Font files are registered in styles.css; family tokens select their use.
   Keep text/surface combinations at accessible contrast when changing colours. */
:root {
  color-scheme: light;

  /* Colours: every UI colour comes from this palette. */
  --color-background: #fffef9;
  --color-text: #153d2d;
  --color-text-secondary: #365e49;
  --color-brand: #176544;
  --color-brand-hover: #082f22;
  --color-link-hover: #8d3f1d;
  --color-action-hover-background: #f5e8d7;
  --color-brand-band-hover: #8d3f1d;
  --color-on-brand: #ffffff;
  --color-border: #bbd3c3;
  --color-surface: #e9f2e9;
  --color-focus: #176544;
  --color-selection-background: #176544;
  --color-selection-text: #ffffff;
  --color-error: #8d3f1d;
  --color-disabled-background: #e9f2e9;
  --color-disabled-text: #365e49;

  /* Font families can be independently replaced with another local or system font. */
  --font-body: "Manrope", Arial, sans-serif;
  --font-heading: "Manrope", Arial, sans-serif;
  --font-brand: "Manrope", Arial, sans-serif;
  --weight-body: 400;
  --weight-heading: 500;
  --weight-subheading: 600;
  --weight-brand: 700;
  --weight-link: 600;

  --text-base: 1rem;
  --text-small: 0.875rem;
  --text-meta: 0.8125rem;
  --text-lead: 1.0625rem;
  --text-service-heading: 1.125rem;
  --text-section-heading: 1.625rem;
  --text-product-heading: clamp(1.625rem, 3.1vw, 2rem);
  --text-hero: clamp(2.25rem, 4.8vw, 3.5rem);
  --text-brand: 2.75rem;
  --text-email: clamp(1.25rem, 3vw, 1.625rem);
  --text-document-heading: clamp(2rem, 5vw, 3.5rem);
  --leading-body: 1.75;
  --leading-heading: 1.12;
  --leading-hero: 1.06;
  --leading-brand: 1;
  --tracking-body: 0;
  --tracking-heading: -0.035em;
  --tracking-hero: -0.05em;
  --tracking-brand: -0.065em;

  /* Layout and rhythm. Breakpoints are kept with their layout rules. */
  --width-page: 70rem;
  --width-reading: 42rem;
  --gutter: clamp(1.375rem, 5vw, 3.5rem);
  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.5rem;
  --space-lg: 2.25rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --border-width: 1px;
  --border-emphasis: 2px;
  --focus-width: 2px;
  --focus-offset: 5px;
  --target-min: 2.75rem;
  --brand-band-height: 0.25rem;
  --brand-band-gap: 0.4rem;
  --radius-feature: 1.5rem;
  --radius-input: 0.375rem;

  /* Interaction: applied only when reduced motion is not requested. */
  --motion-fast: 160ms;
  --motion-gentle: 240ms;
  --motion-easing: cubic-bezier(0.2, 0, 0.2, 1);
}
