/* ==========================================================================
   Design tokens — WiGH Awards
   Brand base from women-in-green-hydrogen.net (Red Hat Display, forest / mint / coral).
   Text colours are the contrast-checked variants (WCAG AA); the pure brand
   mint and coral are used for decoration and large display elements only.
   ========================================================================== */

@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/red-hat-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/red-hat-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand */
  --color-forest: #174638;
  --color-forest-deep: #0e2f25;
  --color-forest-ink: #0a241c;
  --color-mint: #17ad84;
  --color-mint-light: #5fd3b0;
  --color-teal: #00a79d;
  --color-teal-strong: #00857d;   /* teal text on light, 4.5:1 */
  --color-coral: #ff4d40;
  --color-coral-light: #ff6f64;   /* coral text on dark */
  --color-coral-strong: #d63327;  /* CTA fill with white text, 4.8:1 */
  --color-coral-deep: #c61d1b;    /* CTA hover */
  --color-amber: #c77700;

  /* Neutrals */
  --color-white: #ffffff;
  --color-surface: #f7f8f9;
  --color-mint-tint: #e9f6f1;
  --color-mint-tint-2: #d5efe6;
  --color-line: #dce7e3;
  --color-line-strong: #b9d3cb;
  --color-text: var(--color-forest);
  --color-text-muted: #4a6b61;
  --color-error: #c61d1b;
  --color-error-tint: #fdecea;

  /* Typography */
  --font-sans: 'Red Hat Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --text-xs: 0.8125rem;
  --text-s: 0.9375rem;
  --text-m: 1.0625rem;
  --text-l: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  --text-xl: clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem);
  --title-3: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  --title-2: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --title-1: clamp(2.5rem, 1.5rem + 4.6vw, 5.25rem);
  --leading-tight: 1.08;
  --leading-snug: 1.3;
  --leading-body: 1.6;

  /* Spacing */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --container: 76rem;
  --container-narrow: 52rem;

  /* Shape & depth */
  --radius-s: 0.625rem;
  --radius-m: 1rem;
  --radius-l: 1.5rem;
  --radius-pill: 999px;
  --shadow-s: 0 1px 2px rgb(10 36 28 / 0.06), 0 2px 8px rgb(10 36 28 / 0.05);
  --shadow-m: 0 2px 4px rgb(10 36 28 / 0.05), 0 12px 32px -8px rgb(10 36 28 / 0.16);
  --shadow-l: 0 4px 8px rgb(10 36 28 / 0.06), 0 32px 64px -16px rgb(10 36 28 / 0.28);
  --ring: 0 0 0 3px rgb(23 173 132 / 0.35);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-s: 160ms;
  --duration-m: 320ms;
  --duration-l: 700ms;

  --header-height: 4.25rem;
}
