/* =========================================================
   WAMUKA CREATIVE & SUPPLY — BASE / DESIGN SYSTEM
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&display=swap');

:root {
  /* Brand colours — sampled from the official Wamuka logo/profile */
  --primary-red: #E31D25;
  --primary-red-dark: #B7141B;
  --primary-red-light: #FCE7E7;
  --dark: #141414;
  --dark-soft: #1E1E1E;
  --white: #FFFFFF;
  --light-grey: #F4F4F4;
  --mid-grey: #E4E4E4;
  --text-dark: #1A1A1A;
  --text-body: #454545;
  --text-muted: #767676;
  --border: #E2E2E2;

  /* Type */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1240px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --header-h: 84px;
  --header-h-scrolled: 66px;

  /* Motion */
  --ease: cubic-bezier(.4,0,.2,1);
  --speed: .3s;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
svg { width: 20px; height: 20px; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-main);
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary-red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 3px;
  background: var(--primary-red);
  display: inline-block;
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

.text-white h1, .text-white h2, .text-white h3, .text-white p, .text-white { color: var(--white); }
.text-white .section-head p { color: rgba(255,255,255,.72); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease), color var(--speed) var(--ease), border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--primary-red); color: var(--white); border-color: var(--primary-red); }
.btn-primary:hover { background: var(--primary-red-dark); border-color: var(--primary-red-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(227,29,37,.28); }

.btn-dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: #000; transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--text-dark); border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); transform: translateY(-2px); }

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: var(--white); color: var(--dark); border-color: var(--white); }

.btn-white { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-white:hover { background: var(--primary-red); color: var(--white); border-color: var(--primary-red); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: .82rem; }
.btn-arrow svg { width: 16px; height: 16px; transition: transform var(--speed) var(--ease); }
.btn:hover .btn-arrow svg, .btn:hover svg.arrow { transform: translateX(4px); }

/* Focus states for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--primary-red);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--dark); color: var(--white);
  padding: 12px 20px; z-index: 10000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.tag-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--light-grey);
  color: var(--text-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.badge-number {
  font-family: var(--font-main);
  font-weight: 800;
  color: var(--primary-red);
  font-size: 1rem;
}

hr.divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
