/*
 * Design tokens. Colour option B ("Earth, Foliage, Sky · Satin"), weighted heavily to green,
 * with blue for information and brown used sparingly.
 * The palette may still change: edit the raw colours here and theme.json, nothing else.
 */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-var.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-var.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  /* Foliage: the brand */
  --wo-green-50: #EAF0EC;
  --wo-green-100: #C5D6CE;
  --wo-green-300: #9DB3AB;
  --wo-green-500: #76908A;
  --wo-green-700: #3B564E;
  --wo-green-800: #2E453E;
  --wo-green-900: #22342F;
  /* Sky: information */
  --wo-blue-100: #CFDDE6;
  --wo-blue-500: #7E9BAE;
  --wo-blue-700: #34526A;
  /* Earth: used sparingly */
  --wo-earth-100: #E6DCCB;
  --wo-earth-500: #A68A6D;
  --wo-earth-700: #6B4F3A;
  /* Neutrals */
  --wo-ink: #22272B;
  --wo-graphite: #4C5258;
  --wo-stone: #8B9196;
  --wo-line: #D5D8D0;
  --wo-ground: #F0F0E8;
  --wo-white: #FFFFFF;

  /* Roles: components use these, never the raw colours above */
  --color-bg: var(--wo-ground);
  --color-surface: var(--wo-white);
  --color-text: var(--wo-ink);
  --color-muted: var(--wo-graphite);
  --color-border: var(--wo-line);
  --color-primary: var(--wo-green-700);
  --color-primary-hover: var(--wo-green-800);
  --color-on-primary: var(--wo-white);
  --color-brand: var(--wo-green-500);
  --color-brand-soft: var(--wo-green-100);
  --color-brand-wash: var(--wo-green-50);
  --color-deep: var(--wo-green-900);
  --color-on-deep: #E8EFEA;
  --color-info: var(--wo-blue-700);
  --color-info-soft: var(--wo-blue-100);
  --color-warm: var(--wo-earth-700);
  --color-warm-soft: var(--wo-earth-100);
  --color-placeholder: #DDE2DC;
  --color-placeholder-line: #C3CBC4;
  --gradient-satin: linear-gradient(120deg, var(--wo-green-100), var(--wo-green-500) 55%, var(--wo-graphite));

  /* Type */
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-journal: Georgia, "Times New Roman", serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  --text-3xl: clamp(2.25rem, 1.3rem + 3.6vw, 4rem);

  /* Space and shape */
  --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: 4.5rem; --space-9: 6.5rem;
  --radius-sm: 4px; --radius-md: 8px; --radius-pill: 999px;
  --container: 80rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --bar-h: 3.5rem;      /* height of the floating header bar */
  --bar-top: 0.75rem;   /* gap between the bar and the top of the window */
  --header-h: 5.5rem;   /* space content leaves for the bar */
  --ease: 200ms cubic-bezier(.2, .7, .3, 1);
  --ease-out: cubic-bezier(.16, .8, .24, 1);   /* slow, settling movement: reveals and hovers */
}
