﻿/* ============================================================
   BASE — Reset, variables, typography
   Chorwa Baringo Honey
   ============================================================ */

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

:root {
  /* Brand colors (auto-injected by JS from config.js) */
  --c-primary:       #F5B301;
  --c-primary-dark:  #D99A00;
  --c-secondary:     #1B5E20;
  --c-secondary-dark:#0D3D10;
  --c-accent:        #8B4513;
  --c-bg:            #FFFDF5;
  --c-card:          #FFFFFF;
  --c-text:          #2C2C2C;
  --c-text-muted:    #7A7A7A;
  --c-success:       #2E7D32;
  --c-danger:        #C62828;
  --c-border:        #EFEFEF;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-full: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(0,0,0,0.04);
  --sh-md: 0 2px 8px rgba(0,0,0,0.06);
  --sh-lg: 0 8px 24px rgba(0,0,0,0.10);

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-3xl: 36px;

  /* Layout */
  --container: 1200px;
  --header-h: 64px;

  /* Transitions */
  --tr-fast: 120ms ease;
  --tr-base: 220ms ease;
  --tr-slow: 400ms ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
