/* =========================================================================
   Your First Season design tokens (Trail Patch kit, approved 25 Nov 2026).

   Type: Zilla Slab Bold (display, all caps) and Source Sans 3
   (body / UI, 400 / 600 / 700, italic 400). Both are SIL Open Font License.
   Self-host the woff2 files in fonts/ and link fonts/fonts.css from <head>.
   Do not @import Google Fonts (or any CDN) at runtime.

   Contrast rules (WCAG 2.2 AA, checked 25 Nov 2026):
   - Forest (#28402F) on cream is 9.32:1 — any text size.
   - Bark (#5A4531) on cream is 7.45:1 — any text size (body/meta).
   - Cream on forest is 9.32:1 — any text size.
   - Mustard (#DDA73F) on forest is 5.19:1 — any text size.
   - Rust (#B8532A) on cream is 4.03:1 — AA large text only.
     Use rust as text only at 24px or larger (this kit's rule). Do not use
     rust for body copy, captions, or links.
   - Mustard on cream is 1.80:1 — never use mustard as text on cream.
     Mustard may be a fill or an icon, with forest text or a forest icon
     next to it (cream-on-mustard also fails contrast).
   - Sage (#8FA98A) on forest is 4.40:1 — AA-large only. For small type
     on forest, use --yfs-sage-text (#B3C8AF, 6.33:1) instead.
   - Links are forest, with an underline. Do not use rust or mustard for
     link text.

   No handles, URLs, or prices belong in imagery. No people, no kids,
   no fish-in-hand, no kill imagery. Hunting is a feather.
   ========================================================================= */

:root {
  /* Palette */
  --yfs-forest: #28402F;     /* ink, dark fields, primary type, links */
  --yfs-cream: #F2E9D3;      /* paper, default field */
  --yfs-rust: #B8532A;       /* accent on cream; large type only (24px+) */
  --yfs-mustard: #DDA73F;    /* accent on forest; never text on cream */
  --yfs-bark: #5A4531;       /* body and meta on cream */
  --yfs-sage: #8FA98A;       /* hills, fills; not small type on forest */
  --yfs-moss: #3E5C46;       /* water, boating patch, fills */
  --yfs-sage-text: #B3C8AF;  /* secondary type on forest (6.33:1) */
  --yfs-line: #D8CFB8;       /* hairlines on cream */

  /* Semantic aliases — default (cream page) */
  --yfs-bg: var(--yfs-cream);
  --yfs-fg: var(--yfs-forest);
  --yfs-fg-muted: var(--yfs-bark);
  --yfs-border: var(--yfs-line);
  --yfs-accent: var(--yfs-rust);
  --yfs-accent-on-dark: var(--yfs-mustard);

  /* Type */
  --yfs-font-display: "Zilla Slab", "Palatino Linotype", Palatino, Georgia, serif;
  --yfs-font-body: "Source Sans 3", "Source Sans Pro", ui-sans-serif, system-ui, sans-serif;
  --yfs-display-weight: 700;
  --yfs-display-tracking: 0.04em;
  --yfs-display-leading: 1.05;
  --yfs-body-weight: 400;
  --yfs-body-leading: 1.55;

  /* Short aliases for the site kit */
  --bg: var(--yfs-cream);
  --text: var(--yfs-forest);
  --text-muted: var(--yfs-bark);
  --accent: var(--yfs-rust);
  --border: var(--yfs-line);
}

/* Forest field (banners, header on dark, footer) */
.yfs-on-forest {
  --yfs-bg: var(--yfs-forest);
  --yfs-fg: var(--yfs-cream);
  --yfs-fg-muted: var(--yfs-sage-text);
  --yfs-border: #3E5C46;
  --yfs-accent: var(--yfs-mustard);
  --bg: var(--yfs-forest);
  --text: var(--yfs-cream);
  --text-muted: var(--yfs-sage-text);
  --accent: var(--yfs-mustard);
  --border: #3E5C46;
  background: var(--yfs-forest);
  color: var(--yfs-cream);
}

/* Display: Zilla Slab Bold, all caps. Rust is allowed here (>= 24px). */
.yfs-display {
  font-family: var(--yfs-font-display);
  font-weight: var(--yfs-display-weight);
  letter-spacing: var(--yfs-display-tracking);
  line-height: var(--yfs-display-leading);
  text-transform: uppercase;
}

/* Links: forest, with an underline. Never rust or mustard. */
a,
.yfs-link {
  color: var(--yfs-forest);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.yfs-on-forest a,
.yfs-on-forest .yfs-link {
  color: var(--yfs-cream);
}
