/* Self-hosted fonts (latin subset, woff2). Paths are relative to this file, so they work over file:// */
@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/lato-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/lato-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Variable font: one file covers weights 300–900 */
@font-face {
  font-family: "Merriweather";
  src: url("../assets/fonts/merriweather-variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* Design tokens — colours sampled from assets/logo/logo.jpg */
:root {
  /* Brand */
  --color-green-900: #082f22;
  --color-green-800: #0b3f2d;
  --color-green-700: #0f4a35;   /* logo wordmark green */
  --color-green-600: #1a5e45;
  --color-green-100: #e6efe9;
  --color-gold-600:  #a9822f;
  --color-gold-500:  #c9a14f;   /* logo gold */
  --color-gold-400:  #d9b96f;
  --color-gold-100:  #f7efdc;

  /* Neutrals */
  --color-white: #ffffff;
  --color-cream: #fbf8f1;
  --color-text: #1f2a25;
  --color-text-muted: #55625b;
  --color-border: #e3ddd0;

  /* Semantic */
  --color-primary: var(--color-green-700);
  --color-accent: var(--color-gold-500);
  --color-bg: var(--color-white);
  --color-bg-alt: var(--color-cream);

  /* Typography */
  --font-heading: "Merriweather", Georgia, "Times New Roman", serif;
  --font-body: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.75rem;
  --text-2xl: clamp(1.75rem, 1.2rem + 2.5vw, 2.75rem);

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: clamp(3rem, 2rem + 4vw, 5rem);

  /* Misc */
  --container: 1140px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 18px rgba(8, 47, 34, 0.12);
  --transition: 200ms ease;
}
