
:root {
  --deep: #052e27;
  --deepest: #031f1a;
  --green: #0d5545;
  --green-mid: #166857;
  --gold: #d6a542;
  --gold-soft: #f1d59d;
  --cream: #fbf6ec;
  --paper: #fffdf8;
  --sand: #f0e4cc;
  --ink: #1e2a31;
  --muted: #596771;
  --white: #ffffff;
  --line: rgba(13, 85, 69, 0.14);
  --line-light: rgba(255,255,255,.16);
  --shadow: 0 24px 70px rgba(3,31,26,.14);
  --soft-shadow: 0 16px 38px rgba(3,31,26,.09);
  --radius-xl: 42px;
  --radius-lg: 32px;
  --radius-md: 24px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.62;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--max), 88vw); margin: 0 auto; }

.eyebrow {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.dark .eyebrow, .section-dark .eyebrow, .page-hero .eyebrow { color: var(--gold-soft); }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -.045em;
  line-height: 1.05;
}
h1 {
  font-size: clamp(45px, 5.3vw, 84px);
  margin-bottom: 22px;
}
h2 {
  font-size: clamp(35px, 3.55vw, 56px);
  margin-bottom: 20px;
  color: var(--deepest);
}
h3 {
  color: var(--deepest);
  font-size: 23px;
  line-height: 1.18;
  margin-bottom: 11px;
}
h4 { font-size: 17px; margin-bottom: 12px; }
.page-hero h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.lead {
  max-width: 860px;
  font-size: 19px;
  color: var(--muted);
}
.page-hero p, .section-dark .lead, .section-dark .copy { color: rgba(255,255,255,.83); }
.copy { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 23px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--deepest);
  background: var(--gold);
  box-shadow: 0 14px 32px rgba(214,165,66,.23);
}
.btn-secondary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 32px rgba(13,85,69,.22);
}
.btn-ghost {
  color: var(--white);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.42);
}
.btn-light {
  color: var(--deepest);
  background: var(--white);
}
.btn-small { padding: 11px 17px; }

.topbar {
  background: var(--deepest);
  color: rgba(255,255,255,.84);
  font-size: 13px;
}
.topbar-inner {
  min-height: 43px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.social-inline {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.96);
  font-weight: 850;
}
.social-inline a:hover { color: var(--gold-soft); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251,246,236,.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.logo img {
  width: 236px;
  max-height: 72px;
  object-fit: contain;
}
.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #34424a;
  font-size: 14px;
  font-weight: 850;
}
.menu .active,
.menu a:not(.btn):hover { color: var(--green); }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: var(--deepest);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 900;
}

.hero {
  min-height: 720px;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3,31,26,.87) 0%, rgba(3,31,26,.76) 42%, rgba(3,31,26,.40) 72%, rgba(3,31,26,.20) 100%),
    url("../images/hero-consultancy.webp") center center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 77% 18%, rgba(214,165,66,.22), transparent 32%),
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.18));
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 82px 0;
}
.hero h1 { color: var(--white); }
.hero p {
  max-width: 790px;
  margin-bottom: 34px;
  font-size: 20px;
  color: rgba(255,255,255,.86);
}
.action-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.page-hero {
  min-height: 420px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3,31,26,.94), rgba(3,31,26,.66)),
    var(--page-bg, url("../images/hero-consultancy.webp")) center / cover no-repeat;
}
.page-hero-inner { padding: 86px 0; }
.page-hero h1 {
  max-width: 1000px;
  font-size: clamp(42px, 4.8vw, 72px);
  margin-bottom: 16px;
}
.page-hero p {
  max-width: 820px;
  font-size: 19px;
}

.section { padding: 72px 0; }
.section-sm { padding: 64px 0; }
.section-paper { background: var(--paper); }
.section-sand { background: var(--sand); }
.section-dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--deep), var(--deepest));
}
.center {
  max-width: 900px;
  text-align: center;
  margin: 0 auto 34px;
}
.center .lead { margin: 0 auto; }

.two-col {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 42px;
  align-items: center;
}
.card {
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}
.card.dark-card {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  box-shadow: none;
}
.mini-grid,
.service-grid,
.team-grid,
.resource-grid,
.profile-gallery,
.detail-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}
.mini-grid { grid-template-columns: repeat(2, 1fr); margin-top: 22px; }
.mini {
  padding: 19px;
  border-radius: var(--radius-md);
  background: var(--cream);
  border: 1px solid var(--line);
}
.mini b {
  display: block;
  margin-bottom: 7px;
  color: var(--green);
  font-size: 16px;
}
.mini p { margin-bottom: 0; color: var(--muted); }

.service-grid { grid-template-columns: repeat(3, 1fr); }
.service-card,
.resource-card,
.detail-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}
.service-card {
  background: var(--cream);
  min-height: 280px;
}
.service-card p,
.resource-card p,
.detail-card p { margin-bottom: 0; color: var(--muted); }
.index-pill {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 19px;
  border-radius: 18px;
  color: var(--gold-soft);
  background: var(--green);
  font-weight: 900;
}
.card-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--green);
  font-weight: 900;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.proof {
  padding: 25px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}
.proof b {
  display: block;
  color: var(--gold-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 32px;
  margin-bottom: 10px;
}
.proof span { color: rgba(255,255,255,.82); }

.team-grid { grid-template-columns: repeat(3, 1fr); }
.person {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}
.person-image {
  height: 340px;
  background-size: cover;
  background-position: center;
}
.person-rogers { background-image: url("../images/rogers-profile.webp"); }
.person-asenath { background-image: url("../images/asenath-profile.webp"); }
.person-karen { background-image: url("../images/karen-headshot.webp"); }
.person-body { padding: 27px; }
.role {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .10em;
}
.person-body p { margin-bottom: 0; color: var(--muted); }

.profile-hero-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}
.profile-photo {
  height: 420px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
}
.profile-photo.rogers { background-image: url("../images/rogers-profile.webp"); }
.profile-gallery { grid-template-columns: repeat(3, 1fr); }
.gallery-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}
.gallery-image {
  height: 260px;
  background-size: cover;
  background-position: center;
}
.g-elders { background-image: url("../images/rogers-elders.webp"); }
.g-elders-group { background-image: url("../images/rogers-elders-group.webp"); }
.g-amref { background-image: url("../images/rogers-amref.webp"); }
.g-haki { background-image: url("../images/rogers-haki.webp"); }
.gallery-body { padding: 22px; }
.gallery-body h3 { font-size: 20px; }
.gallery-body p { color: var(--muted); margin-bottom: 0; }

.image-banner {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  background:
    linear-gradient(90deg, rgba(3,31,26,.89), rgba(3,31,26,.54)),
    url("../images/maasai-women.webp") center / cover no-repeat;
}
.image-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 48px;
  color: var(--white);
}
.image-banner h2 { color: var(--white); }
.image-banner p { color: rgba(255,255,255,.84); font-size: 19px; }

.check-list {
  list-style: none;
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}
.section-dark .check-list li { color: rgba(255,255,255,.82); }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--deepest);
  font-size: 12px;
  font-weight: 900;
}
.detail-grid { grid-template-columns: repeat(2, 1fr); }
.section-dark .detail-card {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  box-shadow: none;
}
.section-dark .detail-card p { color: rgba(255,255,255,.80); }

.tag {
  display: inline-flex;
  padding: 7px 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(13,85,69,.09);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 900;
}
.resource-grid { grid-template-columns: repeat(3, 1fr); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr .86fr;
  gap: 36px;
  align-items: start;
}
.form-card,
.contact-card {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 17px; }
label {
  display: block;
  margin-bottom: 8px;
  color: var(--deepest);
  font-weight: 850;
}
input, select, textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(13,85,69,.22);
  color: var(--ink);
  background: var(--paper);
}
textarea { min-height: 160px; resize: vertical; }
.form-status {
  margin: 16px 0 0;
  color: var(--green);
  font-weight: 850;
}
.contact-list {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}
.contact-item {
  padding: 17px;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.contact-item b {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
}
.social-row {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.social-chip {
  display: inline-flex;
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(13,85,69,.08);
  border: 1px solid var(--line);
  font-weight: 900;
}

.note {
  padding: 21px;
  border-radius: var(--radius-md);
  background: rgba(13,85,69,.08);
  border: 1px solid var(--line);
  color: var(--muted);
}
.section-dark .note {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.82);
}

.site-footer {
  padding: 60px 0 30px;
  color: rgba(255,255,255,.76);
  background: var(--deepest);
}
.footer-grid {
  grid-template-columns: 1.25fr .85fr .9fr .85fr;
  gap: 32px;
}
.footer-logo {
  width: 205px;
  margin-bottom: 17px;
  border-radius: 10px;
}
.footer-copy { max-width: 450px; }
.footer-grid h4 { color: var(--white); }
.footer-grid a {
  display: block;
  margin-bottom: 9px;
}
.footer-grid a:hover { color: var(--gold-soft); }
.copyright {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.56);
  font-size: 13px;
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .menu {
    position: fixed;
    inset: 88px 0 auto 0;
    z-index: 100;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 6vw 26px;
    background: rgba(251,246,236,.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .menu.is-open { display: flex; }
  .menu a { padding: 13px 0; }
  .menu .btn { margin-top: 10px; }
  .two-col,
  .form-grid,
  .profile-hero-card {
    grid-template-columns: 1fr;
  }
  .service-grid,
  .team-grid,
  .resource-grid,
  .profile-gallery,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof-band { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(92vw, var(--max)); }
  .section { padding: 72px 0; }
  .topbar-inner { padding: 10px 0; }
  .nav { min-height: 76px; }
  .logo img { width: 184px; }
  .menu { inset: 76px 0 auto 0; }
  h1 { font-size: clamp(41px, 12vw, 60px); }
  h2 { font-size: clamp(32px, 9vw, 45px); }
  .hero {
    min-height: 730px;
    background-position: 42% center;
  }
  .hero-inner { padding: 74px 0; }
  .hero p, .page-hero p { font-size: 18px; }
  .service-grid,
  .team-grid,
  .resource-grid,
  .profile-gallery,
  .mini-grid,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .card, .form-card, .contact-card, .profile-hero-card { padding: 26px; }
  .person-image { height: 320px; }
  .profile-photo { height: 380px; }
  .gallery-image { height: 230px; }
  .image-banner-inner { padding: 32px; }
}


.whatsapp-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #25D366;
  color: #062417;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.38);
}
.whatsapp-widget:hover {
  transform: translateY(-2px);
}
.whatsapp-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  font-size: 15px;
}
@media (max-width: 720px) {
  .whatsapp-widget {
    right: 16px;
    bottom: 16px;
    padding: 13px 15px;
    font-size: 13px;
  }
  .whatsapp-label {
    display: none;
  }
  .whatsapp-icon {
    width: 30px;
    height: 30px;
    font-size: 17px;
  }
}


.team-support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.support-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}
.support-card h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.support-card p {
  color: var(--muted);
  margin-bottom: 0;
}
.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 255px;
}
.blog-card .card-link {
  margin-top: auto;
  padding-top: 16px;
}
.profile-photo.asenath {
  background-image: url("../images/asenath-election-full.webp");
  background-position: center;
}
.g-asenath-election {
  background-image: url("../images/asenath-election-full.webp");
}
.g-asenath-fida {
  background-image: url("../images/asenath-fida-full.webp");
}
@media (max-width: 1080px) {
  .team-support-grid { grid-template-columns: 1fr; }
}


/* WordPress theme compatibility additions */
.custom-logo-link,
.logo {
  display: inline-flex;
  align-items: center;
}
.custom-logo-link img,
.custom-logo {
  width: 236px;
  max-height: 72px;
  object-fit: contain;
}
.menu-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  margin: 0;
}
.menu-list li {
  margin: 0;
  padding: 0;
}
.menu-list a {
  color: #34424a;
  font-size: 14px;
  font-weight: 850;
}
.menu-list .current-menu-item > a,
.menu-list .current_page_item > a,
.menu-list .current-menu-ancestor > a,
.menu-list a:hover {
  color: var(--green);
}
.plugin-slot {
  margin-top: 28px;
}
.plugin-slot:empty {
  display: none;
}
.entry-content > *:first-child {
  margin-top: 0;
}
.entry-content img {
  max-width: 100%;
  height: auto;
}
.pagination,
.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 34px;
}
.pagination .page-numbers,
.nav-links .page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--green);
  font-weight: 900;
}
.pagination .current,
.nav-links .current {
  background: var(--green);
  color: var(--white);
}
.post-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}
.article-shell {
  max-width: 900px;
  margin: 0 auto;
}
.article-card h2,
.article-card h3 {
  margin-top: 28px;
}
.article-card ul,
.article-card ol {
  color: var(--muted);
}
.article-card blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--gold);
  background: var(--paper);
  color: var(--muted);
}
.generic-content {
  max-width: 980px;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
@media (max-width: 900px) {
  .menu-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .menu-list a {
    display: block;
    padding: 13px 0;
  }
}
@media (max-width: 720px) {
  .custom-logo-link img,
  .custom-logo {
    width: 184px;
  }
}
