/* ============================================================
   ARID AID KENYA — brand stylesheet
   Palette derived from the AAK seal:
   green (ring/wordmark), gold (wheat), black (dots/type), cream (paper)
   ============================================================ */

:root{
  --green-deep:    #0F5B32;
  --green:         #1B7A3D;
  --green-bright:  #2FA354;
  --gold:          #C9A227;
  --gold-light:    #E9D48B;
  --gold-pale:     #F6EFD9;
  --black:         #17140F;
  --ink:           #23201A;
  --cream:         #FBF7EE;
  --cream-deep:    #F1E9D6;
  --white:         #FFFFFF;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1160px;
  --radius: 4px;
  --shadow-soft: 0 10px 30px -12px rgba(23,20,15,0.25);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--black);
}
p{ margin:0 0 1em; }
ul{ margin:0; padding:0; list-style:none; }
.container{
  width:100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-body);
  font-weight:700;
  font-size: 0.78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.eyebrow::before{
  content:"";
  width: 22px; height: 2px;
  background: var(--gold);
  display:inline-block;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 14px 28px;
  border-radius: 2px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-gold{ background: var(--gold); color: var(--black); }
.btn-gold:hover{ background: var(--gold-light); }
.btn-outline{ border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover{ background: var(--white); color: var(--green-deep); }
.btn-outline-dark{ border-color: var(--green-deep); color: var(--green-deep); background: transparent; }
.btn-outline-dark:hover{ background: var(--green-deep); color: var(--white); }

/* ---------- Skip link / focus ---------- */
.skip-link{
  position:absolute; left:-999px; top:auto;
  background: var(--gold); color:var(--black); padding: 10px 16px; z-index:999;
}
.skip-link:focus{ left: 16px; top: 16px; }
a:focus-visible, button:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Topbar ---------- */
.topbar{
  background: var(--black);
  color: var(--cream);
  font-size: .82rem;
}
.topbar .container{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:8px; padding-bottom:8px;
  gap: 12px; flex-wrap: wrap;
}
.topbar a{ color: var(--gold-light); }
.topbar-contact{ display:flex; gap:18px; flex-wrap:wrap; }
.topbar-contact span{ display:inline-flex; align-items:center; gap:6px; }
.topbar-tag{ opacity:.85; font-style: italic; }

/* ---------- Header / nav ---------- */
.site-header{
  background: var(--cream);
  border-bottom: 1px solid var(--cream-deep);
  position: sticky; top:0; z-index: 500;
}
.nav-wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 0;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height: 54px; width:54px; border-radius:50%; object-fit:cover; }
.brand-text{ line-height:1.15; }
.brand-text .name{
  font-family: var(--font-display); font-weight:700; font-size:1.05rem; color: var(--green-deep);
  letter-spacing:.01em;
}
.brand-text .tag{ font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; color: var(--gold); font-weight:700; }

.nav-links{ display:flex; gap: 6px; align-items:center; }
.nav-links a{
  padding: 10px 16px; font-weight:600; font-size:.92rem; color: var(--ink); border-radius:2px;
  position:relative;
}
.nav-links a::after{
  content:""; position:absolute; left:16px; right:16px; bottom:5px; height:2px; background: var(--gold);
  transform: scaleX(0); transform-origin:left; transition: transform .2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ transform: scaleX(1); }
.nav-links a.active{ color: var(--green-deep); }
.nav-cta{ margin-left:6px; }

.nav-toggle{
  display:none; background:none; border:2px solid var(--green-deep); border-radius:3px;
  width:44px; height:40px; cursor:pointer; position:relative;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after{
  content:""; position:absolute; left:9px; right:9px; height:2px; background: var(--green-deep);
}
.nav-toggle span{ top:19px; }
.nav-toggle::before{ top:12px; }
.nav-toggle::after{ top:26px; }

/* ---------- Hero slider ---------- */
.hero{
  position:relative; height: 78vh; min-height: 480px; max-height: 720px;
  overflow:hidden; background: var(--black);
}
.hero-slide{
  position:absolute; inset:0; opacity:0; transition: opacity 1.1s ease;
}
.hero-slide.is-active{ opacity:1; }
.hero-slide img{ width:100%; height:100%; object-fit:cover; }
.hero-slide::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(15,20,10,.35) 0%, rgba(15,20,10,.35) 40%, rgba(11,26,15,.88) 100%);
}
.hero-content{
  position:relative; z-index:5; height:100%;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding-bottom: 76px;
}
.hero-content .eyebrow{ color: var(--gold-light); }
.hero-content .eyebrow::before{ background: var(--gold-light); }
.hero-content h1{
  color: var(--white); font-size: clamp(2.1rem, 5vw, 3.6rem);
  max-width: 780px; margin-top:.3em;
}
.hero-content p{ color: var(--cream); max-width: 560px; font-size:1.08rem; }
.hero-actions{ display:flex; gap:14px; margin-top:8px; flex-wrap:wrap; }

.hero-dots{
  position:absolute; z-index:6; bottom:26px; left:50%; transform:translateX(-50%);
  display:flex; gap:10px;
}
.hero-dots button{
  width:10px; height:10px; border-radius:50%; border:2px solid var(--white);
  background: transparent; padding:0; cursor:pointer;
}
.hero-dots button.is-active{ background: var(--gold); border-color: var(--gold); }

/* ---------- Section scaffolding ---------- */
section{ padding: 84px 0; }
.section-tight{ padding: 56px 0; }
.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head h2{ font-size: clamp(1.7rem, 3vw, 2.4rem); }
.on-dark{ background: var(--green-deep); color: var(--cream); }
.on-dark h2, .on-dark h3{ color: var(--white); }
.on-black{ background: var(--black); color: var(--cream); }
.on-black h2, .on-black h3{ color: var(--white); }
.on-gold{ background: var(--gold-pale); }

/* ---------- Strip / stats ---------- */
.strip{
  background: var(--green-deep);
  color: var(--cream);
}
.strip .container{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 28px;
  padding-top: 40px; padding-bottom:40px;
}
.strip .stat b{
  display:block; font-family: var(--font-display); font-size: 2rem; color: var(--gold-light);
}
.strip .stat span{ font-size:.86rem; opacity:.9; }

/* ---------- Mission / vision cards ---------- */
.mv-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card{
  background: var(--white); border: 1px solid var(--cream-deep); border-top: 4px solid var(--gold);
  padding: 34px; border-radius: var(--radius);
}
.mv-card h3{ color: var(--green-deep); font-size:1.3rem; }

/* ---------- About / two-col ---------- */
.two-col{ display:grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items:center; }
.two-col.reverse .col-media{ order:2; }
.col-media img{ border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.col-media{ position:relative; }
.col-media .seal{
  position:absolute; bottom:-24px; left:-24px; width:120px; height:120px;
  background: var(--gold); border-radius:50%;
  display:flex; align-items:center; justify-content:center; text-align:center;
  box-shadow: var(--shadow-soft);
}
.col-media .seal span{
  font-family: var(--font-display); font-weight:700; font-size:.72rem; line-height:1.2; color: var(--black);
  padding: 0 12px;
}

/* ---------- Thematic grid ---------- */
.theme-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.theme-card{
  background: var(--white); border-radius: var(--radius); overflow:hidden;
  border: 1px solid var(--cream-deep);
  transition: transform .2s ease, box-shadow .2s ease;
  display:flex; flex-direction:column;
}
.theme-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.theme-card .thumb{ height:190px; overflow:hidden; }
.theme-card .thumb img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.theme-card:hover .thumb img{ transform: scale(1.06); }
.theme-card .body{ padding: 22px 24px 26px; flex:1; display:flex; flex-direction:column; }
.theme-num{ font-family: var(--font-display); color: var(--gold); font-size:.85rem; font-weight:700; }
.theme-card h3{ font-size:1.15rem; margin-top:.2em; color: var(--green-deep); }
.theme-card p{ font-size:.94rem; color:#4b463c; margin-bottom:0; }

/* ---------- Counties band ---------- */
.counties{
  background: var(--gold-pale);
  border-top: 1px solid var(--cream-deep);
  border-bottom: 1px solid var(--cream-deep);
}
.counties .container{ display:flex; align-items:center; gap:40px; flex-wrap:wrap; justify-content:space-between; padding: 30px 24px; }
.counties h4{ margin:0; font-size:.86rem; text-transform:uppercase; letter-spacing:.12em; color: var(--green-deep); }
.county-list{ display:flex; gap: 34px; flex-wrap:wrap; }
.county-list li{ font-family: var(--font-display); font-weight:600; font-size:1.15rem; color: var(--black); }
.county-list li span{ display:block; font-family: var(--font-body); font-weight:500; font-size:.72rem; color:#6b6455; text-transform:uppercase; letter-spacing:.08em; }

/* ---------- Values list ---------- */
.values-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-pill{
  background: var(--white); border:1px solid var(--cream-deep); border-left:4px solid var(--green);
  padding: 18px 20px; border-radius: var(--radius); font-weight:600; font-size:.95rem;
}

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--black);
  color: var(--white);
  text-align:center;
}
.cta-band h2{ color:var(--white); }
.cta-band p{ color: var(--cream-deep); max-width:560px; margin-left:auto; margin-right:auto; }
.cta-actions{ display:flex; justify-content:center; gap:14px; flex-wrap:wrap; margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--green-deep); color: var(--cream); padding-top: 60px; }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-brand{ display:flex; gap:12px; align-items:flex-start; }
.footer-brand img{ height:46px; width:46px; border-radius:50%; }
.footer-brand h4{ color:var(--white); font-size:1rem; margin-bottom:.2em; }
.footer-brand p{ font-size:.85rem; color: var(--cream-deep); }
.site-footer h5{ color: var(--gold-light); text-transform:uppercase; letter-spacing:.1em; font-size:.76rem; margin-bottom:14px; }
.site-footer ul li{ margin-bottom:9px; font-size:.92rem; }
.site-footer a:hover{ color: var(--gold-light); }
.footer-bottom{ padding: 22px 0; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:.8rem; color: var(--cream-deep); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  position:relative; padding: 92px 0 64px; overflow:hidden;
  background-color: var(--green-deep); background-size:cover; background-position:center;
  color: var(--white);
}
.page-hero .container{ position:relative; }
.page-hero .eyebrow{ color: var(--gold-light); }
.page-hero .eyebrow::before{ background: var(--gold-light); }
.page-hero h1{ color:var(--white); font-size: clamp(2rem,4vw,3rem); max-width: 720px; }
.page-hero p{ max-width: 620px; color: var(--cream-deep); font-size:1.05rem; }
.crumb{ font-size:.82rem; color: var(--gold-light); margin-bottom: 14px; display:block; }
.crumb a{ color: var(--cream); }

/* ---------- Approach steps ---------- */
.steps{ display:grid; grid-template-columns: repeat(4,1fr); gap:22px; }
.step{ background:var(--white); border:1px solid var(--cream-deep); padding:26px 22px; border-radius:var(--radius); }
.step .n{ font-family: var(--font-display); color: var(--gold); font-size:1.6rem; font-weight:700; }
.step h4{ margin:.3em 0 .3em; font-size:1.02rem; color: var(--green-deep); }
.step p{ font-size:.88rem; color:#4b463c; margin:0; }

/* ---------- Beneficiaries ---------- */
.chip-row{ display:flex; flex-wrap:wrap; gap:12px; }
.chip{
  background: var(--white); border:1px solid var(--cream-deep); padding:10px 18px; border-radius:30px;
  font-size:.88rem; font-weight:600; color: var(--green-deep);
}
.chip::before{ content:"● "; color: var(--gold); }

/* ---------- Thematic detail rows ---------- */
.theme-row{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items:center; padding: 46px 0; border-bottom:1px solid var(--cream-deep); }
.theme-row:last-child{ border-bottom:none; }
.theme-row.reverse .row-media{ order:2; }
.theme-row .row-media img{ border-radius: var(--radius); box-shadow: var(--shadow-soft); height: 300px; width:100%; object-fit:cover; }
.theme-row .tnum{ font-family: var(--font-display); color: var(--gold); font-weight:700; }
.theme-row h3{ font-size: 1.5rem; color: var(--green-deep); margin-top:.15em; }

/* ---------- Contact page ---------- */
.contact-grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.contact-card{ background: var(--white); border:1px solid var(--cream-deep); border-radius: var(--radius); padding: 30px; margin-bottom:18px; }
.contact-card h4{ color: var(--green-deep); font-size:.98rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:12px; }
.contact-card a, .contact-card p{ font-size:1.02rem; }
.form-field{ margin-bottom:18px; }
.form-field label{ display:block; font-weight:600; font-size:.86rem; margin-bottom:6px; color: var(--ink); }
.form-field input, .form-field textarea, .form-field select{
  width:100%; padding:13px 14px; border:1px solid var(--cream-deep); border-radius:3px;
  font-family: var(--font-body); font-size:.96rem; background: var(--white);
}
.form-field input:focus, .form-field textarea:focus{ outline: 2px solid var(--green); border-color: var(--green); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.map-embed{ border-radius: var(--radius); overflow:hidden; border:1px solid var(--cream-deep); height: 280px; }
.map-embed iframe{ width:100%; height:100%; border:0; }

/* ---------- Utility ---------- */
.mt-0{ margin-top:0; }
.center{ text-align:center; }
.badge-arid{
  display:inline-block; background: var(--green-deep); color:var(--gold-light);
  font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; font-weight:700;
  padding: 6px 12px; border-radius: 20px; margin-bottom: 14px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 980px){
  .two-col, .theme-row, .contact-grid{ grid-template-columns: 1fr; }
  .two-col.reverse .col-media, .theme-row.reverse .row-media{ order:0; }
  .theme-grid{ grid-template-columns: repeat(2,1fr); }
  .strip .container{ grid-template-columns: repeat(2,1fr); }
  .values-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .steps{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px){
  .topbar-tag{ display:none; }
  .nav-links{
    position:absolute; top:100%; left:0; right:0; background: var(--cream);
    flex-direction:column; align-items:stretch; padding: 8px 20px 18px;
    border-bottom: 1px solid var(--cream-deep);
    display:none;
  }
  .nav-links.is-open{ display:flex; }
  .nav-links a{ padding: 12px 4px; border-bottom:1px solid var(--cream-deep); }
  .nav-links a::after{ display:none; }
  .nav-cta{ margin-left:0; margin-top:8px; }
  .nav-toggle{ display:block; }
  .hero{ height: 92vh; min-height:560px; }
  .hero-content{ padding-bottom: 56px; }
  .mv-grid, .theme-grid, .values-grid, .footer-grid, .steps{ grid-template-columns: 1fr; }
  section{ padding: 56px 0; }
  .form-row{ grid-template-columns:1fr; }
  .counties .container{ flex-direction:column; align-items:flex-start; gap:18px; }
}
