/* Farm21 design tokens — the ONE place for colours, type and spacing.
   Answers to MOCK-1 questions 1 (palette) and 2 (font) live here.
   Change a value, rebuild, and every page follows. */

/* Type: Jost (sans, same family as ecoresort-wilderness.co.za) for everything.
   Thomas chose Sans over the Fraunces serif variant (MOCK-3). OFL, self-hosted, variable. */
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  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: "Jost";
  src: url("/assets/fonts/jost-latin-ext.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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 (Guidelines 2025) — question 1: default = guidelines */
  --c-teal: #00464f;
  --c-teal-deep: #00363d;
  --c-teal-mid: #005a66;
  --c-orange: #ef8800;          /* CTAs and highlights only, max 3x per screen */
  --c-tan: #90835d;             /* dividers, decorative lines */
  --c-tan-ink: #6b6045;         /* tan for small text (contrast >= 4.5:1 on off-white) */
  --c-error: #a82f26;           /* dark red: form errors only, never decorative */

  /* Surfaces and text */
  --c-bg: #f7f5f0;              /* off-white content background */
  --c-sand: #efeae0;            /* MOCK-3: soft ground for the two forms */
  --c-field-border: rgba(0, 70, 79, 0.16);
  --c-surface: #ffffff;
  --c-text: #111111;
  --c-text-m: #4f4f4f;
  --c-text-l: #6e6e6e;
  --c-border: rgba(0, 70, 79, 0.14);
  --c-border-strong: rgba(0, 70, 79, 0.32);
  --c-on-dark: #ffffff;
  --c-on-dark-m: rgba(255, 255, 255, 0.78);
  --c-border-dk: rgba(255, 255, 255, 0.16);

  /* Type — Jost (MOCK-2 asked for a more elegant face, MOCK-3 chose Sans over serif) */
  --f-sans: "Jost", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --f-display: var(--f-sans);   /* headings, hero */
  --fw-display: 400;
  --ls-display: -0.01em;
  --fw-hero: 300;
  --fs-hero: clamp(36px, 5vw, 66px);
  --fs-h1: clamp(34px, 4vw, 52px);
  --fs-h2: clamp(28px, 3vw, 38px);
  --fs-h3: clamp(20px, 1.8vw, 24px);
  --fs-lead: clamp(18px, 1.5vw, 21px);
  --fs-body: 18px;
  --fs-small: 14px;
  --fs-eyebrow: 13px;
  --lh-body: 1.65;
  --lh-tight: 1.15;

  /* Spacing — 8 px grid */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 48px;
  --s-8: 64px;
  --s-10: 80px;
  --s-12: 96px;
  --section-y: 96px;            /* >= 80 px desktop */
  --gutter: 32px;

  /* Layout */
  --w-layout: 1100px;
  --w-text: 720px;
  --header-h: 112px;            /* MOCK-2: logo and menu sit lower (28 px above, 20 below) */

  /* Shape and motion */
  --radius-s: 4px;
  --radius: 8px;
  --radius-l: 12px;             /* max */
  --t-fast: 160ms ease;
  --t-fade: 600ms ease;
}

@media (max-width: 760px) {
  :root {
    --section-y: 56px;          /* >= 48 px mobile */
    --gutter: 20px;
    --fs-body: 17px;
    --header-h: 68px;
  }
}

