/* Wilderness Experts Design System — bundled from source. Do not edit; regenerate from /Wilderness Experts Design System/ */
/* ============================================================
   Wilderness Experts — Webfonts
   Loaded from Google Fonts CDN. See readme.md "Visual Foundations":
   to self-host, drop the .woff2 files in /fonts and replace the
   @import below with local @font-face rules.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@400;500;600;700&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Space+Mono:wght@400;700&display=swap');
/* ============================================================
   Wilderness Experts — Color tokens
   Field-guide palette: forest greens, blaze orange, warm paper,
   plus a safety-forward semantic layer (danger / caution / water).
   ============================================================ */

:root {
  /* ---- Brand: Forest green ------------------------------- */
  --green-900: #1b2719;
  --green-800: #25331f;
  --green-700: #324429;
  --green-600: #415636;
  --green-500: #54684a;   /* sage — core brand mid */
  --green-400: #76886b;
  --green-300: #9aa991;
  --green-200: #c5cebd;
  --green-100: #e0e6da;
  --green-50:  #eef1ea;

  /* ---- Accent: Blaze / trail orange --------------------- */
  --orange-800: #8a4117;
  --orange-700: #a8521c;
  --orange-600: #c25f22;
  --orange-500: #d96b27;   /* primary accent — trail blaze */
  --orange-400: #e58a4f;
  --orange-300: #efab7e;
  --orange-200: #f6ceb1;
  --orange-100: #fae4d3;
  --orange-50:  #fcf2e9;

  /* ---- Neutral: warm stone / ink ------------------------ */
  --ink-900: #1c1d19;
  --ink-800: #2a2b26;
  --ink-700: #3c3d37;
  --ink-600: #55564e;
  --ink-500: #71726a;
  --ink-400: #969689;
  --ink-300: #bdbdb1;
  --ink-200: #dcdccf;
  --ink-100: #ebe9df;

  /* ---- Paper / surfaces (warm off-white) ---------------- */
  --paper-200: #efece2;
  --paper-100: #f5f2ea;
  --paper-50:  #faf8f2;
  --white:     #ffffff;

  /* ---- Semantic raw hues -------------------------------- */
  --red-600:   #9e3325;
  --red-500:   #b23b2e;   /* danger / warning */
  --red-100:   #f6dfdb;
  --amber-600: #bd8420;
  --amber-500: #d99a2b;   /* caution */
  --amber-100: #f8ecce;
  --blue-700:  #245a73;
  --blue-600:  #2f6d8a;   /* water safety / info */
  --blue-100:  #d8e8ef;
  --leaf-600:  #3f7d4e;   /* success / "go" */
  --leaf-100:  #d9ebdf;

  /* =====================================================
     Semantic aliases — use these in components
     ===================================================== */

  /* Text */
  --text-heading: var(--ink-900);
  --text-body:    var(--ink-700);
  --text-muted:   var(--ink-500);
  --text-faint:   var(--ink-400);
  --text-inverse: var(--paper-50);
  --text-accent:  var(--orange-700);
  --text-link:    var(--green-700);
  --text-link-hover: var(--orange-600);

  /* Surfaces */
  --surface-page:    var(--paper-100);
  --surface-card:    var(--white);
  --surface-sunken:  var(--paper-200);
  --surface-raised:  var(--white);
  --surface-inverse: var(--green-900);
  --surface-brand:   var(--green-800);
  --surface-accent-soft: var(--orange-50);
  --surface-brand-soft:  var(--green-50);

  /* Borders */
  --border-subtle:  var(--ink-100);
  --border-default: var(--ink-200);
  --border-strong:  var(--ink-300);
  --border-brand:   var(--green-300);
  --border-inverse: var(--green-700);

  /* Brand + accent actions */
  --brand:          var(--green-700);
  --brand-hover:    var(--green-800);
  --accent:         var(--orange-500);
  --accent-hover:   var(--orange-600);
  --accent-press:   var(--orange-700);

  /* Ratings (stars) */
  --rating-on:  var(--orange-500);
  --rating-off: var(--ink-200);

  /* Status: danger / caution / info / success */
  --danger:          var(--red-500);
  --danger-surface:  var(--red-100);
  --danger-text:     var(--red-600);
  --caution:         var(--amber-500);
  --caution-surface: var(--amber-100);
  --caution-text:    var(--amber-600);
  --info:            var(--blue-600);
  --info-surface:    var(--blue-100);
  --info-text:       var(--blue-700);
  --success:         var(--leaf-600);
  --success-surface: var(--leaf-100);
  --success-text:    var(--leaf-600);

  /* Focus ring */
  --focus-ring: var(--orange-400);
}
/* ============================================================
   Wilderness Experts — Typography tokens
   Display: Zilla Slab (sturdy slab serif, field-guide headers)
   Body:    Source Sans 3 (humanist sans, high legibility)
   Mono:    Space Mono (coordinates, specs, rating figures)
   ============================================================ */

:root {
  /* Families */
  --font-display: "Zilla Slab", "Roboto Slab", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Type scale (1.25 major-third-ish, tuned) */
  --text-2xs: 0.6875rem;  /* 11px — eyebrows, mono labels */
  --text-xs:  0.75rem;    /* 12px */
  --text-sm:  0.875rem;   /* 14px */
  --text-md:  1rem;       /* 16px — base body */
  --text-lg:  1.125rem;   /* 18px — lead body */
  --text-xl:  1.375rem;   /* 22px */
  --text-2xl: 1.75rem;    /* 28px */
  --text-3xl: 2.25rem;    /* 36px */
  --text-4xl: 3rem;       /* 48px */
  --text-5xl: 3.75rem;    /* 60px */
  --text-6xl: 4.5rem;     /* 72px — hero */

  /* Line heights */
  --leading-tight: 1.08;
  --leading-snug: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* Letter spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-eyebrow: 0.14em;  /* uppercase mono eyebrows */

  /* Semantic roles */
  --font-heading: var(--font-display);
  --font-eyebrow: var(--font-mono);
}
/* ============================================================
   Wilderness Experts — Spacing & layout tokens
   4px base grid.
   ============================================================ */

:root {
  --space-0: 0;
  --space-1: 0.25rem;   /* 4 */
  --space-2: 0.5rem;    /* 8 */
  --space-3: 0.75rem;   /* 12 */
  --space-4: 1rem;      /* 16 */
  --space-5: 1.25rem;   /* 20 */
  --space-6: 1.5rem;    /* 24 */
  --space-8: 2rem;      /* 32 */
  --space-10: 2.5rem;   /* 40 */
  --space-12: 3rem;     /* 48 */
  --space-16: 4rem;     /* 64 */
  --space-20: 5rem;     /* 80 */
  --space-24: 6rem;     /* 96 */
  --space-32: 8rem;     /* 128 */

  /* Layout */
  --container-sm: 40rem;    /* 640 — prose */
  --container-md: 48rem;    /* 768 — article */
  --container-lg: 64rem;    /* 1024 */
  --container-xl: 75rem;    /* 1200 — site max */
  --gutter: var(--space-6);
  --section-y: var(--space-20);
}
/* ============================================================
   Wilderness Experts — Radii, borders, shadows
   Restrained rounding; warm-tinted, low shadows; defined borders.
   ============================================================ */

:root {
  /* Corner radii */
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  /* Border widths */
  --border-hairline: 1px;
  --border-thick: 2px;

  /* Shadows — warm, soft, low. Field-guide prefers borders over float. */
  --shadow-xs: 0 1px 2px rgba(28, 29, 25, 0.06);
  --shadow-sm: 0 1px 2px rgba(28, 29, 25, 0.06), 0 2px 6px rgba(28, 29, 25, 0.06);
  --shadow-md: 0 2px 4px rgba(28, 29, 25, 0.06), 0 6px 16px rgba(28, 29, 25, 0.09);
  --shadow-lg: 0 8px 28px rgba(28, 29, 25, 0.12), 0 2px 6px rgba(28, 29, 25, 0.07);
  --shadow-inset: inset 0 1px 2px rgba(28, 29, 25, 0.08);

  /* Focus ring (paired with --focus-ring color) */
  --ring: 0 0 0 3px rgba(217, 107, 39, 0.35);

  /* Motion */
  --ease-standard: cubic-bezier(0.2, 0.0, 0.2, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --dur-fast: 120ms; /* @kind other */
  --dur-base: 200ms; /* @kind other */
  --dur-slow: 360ms; /* @kind other */
}
/* ============================================================
   Wilderness Experts — Base element styles
   Applies brand defaults to raw HTML so prose & screens inherit
   the system without per-element classes.
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  font-weight: var(--weight-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-heading);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-4);
}

h1 { font-size: var(--text-4xl); line-height: var(--leading-tight); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 {
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--text-muted);
}

p { margin: 0 0 var(--space-4); }

a {
  color: var(--text-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-decoration-color: var(--green-300);
  transition: color var(--dur-fast) var(--ease-standard),
              text-decoration-color var(--dur-fast) var(--ease-standard);
}
a:hover {
  color: var(--text-link-hover);
  text-decoration-color: var(--orange-400);
}

strong, b { font-weight: var(--weight-bold); color: var(--text-heading); }

small { font-size: var(--text-sm); }

code, kbd, samp {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

hr {
  border: 0;
  border-top: var(--border-hairline) solid var(--border-default);
  margin: var(--space-8) 0;
}

::selection {
  background: var(--orange-200);
  color: var(--ink-900);
}

/* Eyebrow utility — uppercase mono kicker used across the brand */
.we-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--text-accent);
}
/* ============================================================
   Wilderness Experts — Component classes
   Backs the React component bundle. Consumers get these by
   linking styles.css, so hover/focus/active states work natively.
   ============================================================ */

/* ---------------- Button ---------------- */
.we-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  line-height: 1;
  white-space: nowrap;
  border: var(--border-hairline) solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-standard),
              border-color var(--dur-fast) var(--ease-standard),
              color var(--dur-fast) var(--ease-standard),
              transform var(--dur-fast) var(--ease-standard);
}
.we-btn:active { transform: translateY(1px); }
.we-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.we-btn[disabled], .we-btn[aria-disabled="true"] {
  opacity: 0.45; cursor: not-allowed; pointer-events: none;
}
.we-btn--sm { height: 34px; padding: 0 14px; font-size: var(--text-sm); }
.we-btn--md { height: 42px; padding: 0 18px; font-size: var(--text-md); }
.we-btn--lg { height: 50px; padding: 0 26px; font-size: var(--text-lg); }
.we-btn--block { width: 100%; }

.we-btn--primary { background: var(--accent); color: #fff; }
.we-btn--primary:hover { background: var(--accent-hover); }
.we-btn--primary:active { background: var(--accent-press); }

.we-btn--secondary { background: var(--brand); color: var(--paper-50); }
.we-btn--secondary:hover { background: var(--brand-hover); }

.we-btn--outline { background: transparent; border-color: var(--border-strong); color: var(--ink-800); }
.we-btn--outline:hover { background: var(--paper-100); border-color: var(--ink-400); }

.we-btn--ghost { background: transparent; color: var(--ink-700); }
.we-btn--ghost:hover { background: var(--paper-200); }

.we-btn--danger { background: var(--danger); color: #fff; }
.we-btn--danger:hover { background: var(--red-600); }

.we-btn__icon { display: inline-flex; width: 1.1em; height: 1.1em; }
.we-btn__icon svg { width: 100%; height: 100%; }

/* ---------------- Icon button ---------------- */
.we-iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  border: var(--border-hairline) solid transparent;
  border-radius: var(--radius-md);
  background: transparent; color: var(--ink-700);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}
.we-iconbtn:hover { background: var(--paper-200); color: var(--ink-900); }
.we-iconbtn:focus-visible { outline: none; box-shadow: var(--ring); }
.we-iconbtn--sm { width: 34px; height: 34px; }
.we-iconbtn--md { width: 42px; height: 42px; }
.we-iconbtn--lg { width: 50px; height: 50px; }
.we-iconbtn--solid { background: var(--brand); color: var(--paper-50); }
.we-iconbtn--solid:hover { background: var(--brand-hover); color: #fff; }
.we-iconbtn svg { width: 1.25em; height: 1.25em; }

/* ---------------- Badge ---------------- */
.we-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  line-height: 1.4;
}
.we-badge--neutral { background: var(--ink-100); color: var(--ink-700); }
.we-badge--brand   { background: var(--green-100); color: var(--green-800); }
.we-badge--accent  { background: var(--orange-100); color: var(--orange-800); }
.we-badge--danger  { background: var(--danger-surface); color: var(--danger-text); }
.we-badge--caution { background: var(--caution-surface); color: var(--caution-text); }
.we-badge--info    { background: var(--info-surface); color: var(--info-text); }
.we-badge--success { background: var(--success-surface); color: var(--success-text); }
.we-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------------- Tag / category chip ---------------- */
.we-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--ink-700);
  background: var(--surface-card);
  border: var(--border-hairline) solid var(--border-default);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-standard);
}
.we-tag:hover { border-color: var(--green-400); color: var(--green-800); }
.we-tag--active { background: var(--green-700); border-color: var(--green-700); color: var(--paper-50); }
.we-tag__dot { width: 7px; height: 7px; border-radius: 50%; }

/* ---------------- Avatar ---------------- */
.we-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--green-100); color: var(--green-800);
  font-family: var(--font-display); font-weight: var(--weight-bold);
  overflow: hidden; flex: none;
  border: var(--border-hairline) solid var(--border-subtle);
}
.we-avatar img { width: 100%; height: 100%; object-fit: cover; }
.we-avatar--sm { width: 28px; height: 28px; font-size: 12px; }
.we-avatar--md { width: 40px; height: 40px; font-size: 15px; }
.we-avatar--lg { width: 56px; height: 56px; font-size: 20px; }

/* ---------------- Card ---------------- */
.we-card {
  background: var(--surface-card);
  border: var(--border-hairline) solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.we-card--pad { padding: var(--space-6); }
.we-card--interactive { transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-standard); }
.we-card--interactive:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--border-strong); }

/* ---------------- Field / Input / Select ---------------- */
.we-field { display: flex; flex-direction: column; gap: var(--space-2); }
.we-field__label {
  font-family: var(--font-body); font-size: var(--text-sm);
  font-weight: var(--weight-semibold); color: var(--text-heading);
}
.we-field__hint { font-size: var(--text-xs); color: var(--text-muted); }
.we-field__error { font-size: var(--text-xs); color: var(--danger-text); font-weight: var(--weight-medium); }
.we-input, .we-select, .we-textarea {
  font-family: var(--font-body); font-size: var(--text-md);
  color: var(--text-body); background: var(--surface-card);
  border: var(--border-hairline) solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0 var(--space-3); height: 44px; width: 100%;
  transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.we-textarea { height: auto; padding: var(--space-3); resize: vertical; line-height: var(--leading-normal); }
.we-input::placeholder, .we-textarea::placeholder { color: var(--text-faint); }
.we-input:focus, .we-select:focus, .we-textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: var(--ring);
}
.we-input[aria-invalid="true"], .we-textarea[aria-invalid="true"] { border-color: var(--danger); }
.we-select-wrap { position: relative; }
.we-select { appearance: none; padding-right: 36px; cursor: pointer; }
.we-select-wrap__chev { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-500); }

/* ---------------- Checkbox ---------------- */
.we-check { display: inline-flex; align-items: flex-start; gap: var(--space-3); cursor: pointer; font-size: var(--text-md); color: var(--text-body); }
.we-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.we-check__box {
  width: 20px; height: 20px; flex: none; margin-top: 1px;
  border: var(--border-thick) solid var(--border-strong);
  border-radius: var(--radius-xs); background: var(--surface-card);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; transition: all var(--dur-fast) var(--ease-standard);
}
.we-check__box svg { width: 14px; height: 14px; opacity: 0; }
.we-check input:checked + .we-check__box { background: var(--accent); border-color: var(--accent); }
.we-check input:checked + .we-check__box svg { opacity: 1; }
.we-check input:focus-visible + .we-check__box { box-shadow: var(--ring); }

/* ---------------- Callout / safety advisory ---------------- */
.we-callout {
  display: flex; gap: var(--space-3);
  border: var(--border-hairline) solid var(--border-default);
  border-left-width: 4px;
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  background: var(--surface-card);
}
.we-callout__icon { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.we-callout__icon svg { width: 100%; height: 100%; }
.we-callout__title {
  font-family: var(--font-mono); font-size: var(--text-2xs);
  font-weight: var(--weight-bold); text-transform: uppercase;
  letter-spacing: var(--tracking-wide); margin: 0 0 4px;
}
.we-callout__body { font-size: var(--text-md); color: var(--text-body); margin: 0; line-height: var(--leading-normal); }
.we-callout--danger  { background: var(--danger-surface);  border-left-color: var(--danger);  }
.we-callout--danger  .we-callout__title, .we-callout--danger .we-callout__icon  { color: var(--danger-text); }
.we-callout--caution { background: var(--caution-surface); border-left-color: var(--caution); }
.we-callout--caution .we-callout__title, .we-callout--caution .we-callout__icon { color: var(--caution-text); }
.we-callout--info    { background: var(--info-surface);    border-left-color: var(--info);    }
.we-callout--info    .we-callout__title, .we-callout--info .we-callout__icon    { color: var(--info-text); }
.we-callout--tip     { background: var(--success-surface); border-left-color: var(--success); }
.we-callout--tip     .we-callout__title, .we-callout--tip .we-callout__icon     { color: var(--success-text); }

/* ---------------- Star rating ---------------- */
.we-stars { display: inline-flex; align-items: center; gap: 2px; line-height: 1; }
.we-stars__star { color: var(--rating-off); }
.we-stars__star--on { color: var(--rating-on); }
.we-stars--interactive .we-stars__star { cursor: pointer; transition: transform var(--dur-fast) var(--ease-standard); }
.we-stars--interactive .we-stars__star:hover { transform: scale(1.15); }
.we-stars { flex-wrap: nowrap; }
.we-stars__value { font-family: var(--font-mono); font-weight: var(--weight-bold); color: var(--text-heading); margin-left: var(--space-2); white-space: nowrap; }
.we-stars__count { font-size: var(--text-sm); color: var(--text-muted); margin-left: var(--space-1); white-space: nowrap; }

/* ---------------- Rating breakdown bars ---------------- */
.we-breakdown { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-2) var(--space-3); align-items: center; }
.we-breakdown__label { font-size: var(--text-sm); color: var(--text-muted); white-space: nowrap; }
.we-breakdown__track { height: 8px; background: var(--ink-100); border-radius: var(--radius-pill); overflow: hidden; }
.we-breakdown__fill { height: 100%; background: var(--accent); border-radius: var(--radius-pill); }
.we-breakdown__val { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-muted); }
