/* ==========================================================================
   New Genesis — Stylesheet
   ========================================================================== */

:root {
  --navy: #12304A;
  --navy-dark: #0B2438;
  --teal: #237A72;
  --green: #4E8B72;
  --gold: #D39A35;
  --off-white: #F7F8F6;
  --white: #FFFFFF;
  --light-grey: #EEF1F0;
  --text: #18232B;
  --muted: #66727A;

  --font-head: "Montserrat", sans-serif;
  --font-body: "Montserrat", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}
/* ==========================================================================
   NEW GENESIS — HEADER STYLES (self-contained)
   Every selector is scoped under .site-header, so this cannot leak into
   or clash with the rest of your page's CSS. Safe to include as its own
   <link> tag alongside your existing stylesheet.
   ========================================================================== */

:root {
  --ng-navy: #12304A;
  --ng-navy-dark: #0B2438;
  --ng-teal: #237A72;
  --ng-gold: #D39A35;
  --ng-off-white: #F7F8F6;
  --ng-white: #FFFFFF;
  --ng-text: #18232B;
  --ng-font-head: "Montserrat", sans-serif;
  --ng-font-body: "Montserrat", sans-serif;
  --ng-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; margin: 0; padding: 0; }

.container {
  
  padding: 0 var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: #a45e4d;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0; }

/* focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover { background: #c08a2b; transform: translateY(-1px); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-text {
  padding: 0;
  border: none;
  background: none;
  color: var(--teal);
  font-weight: 700;
  gap: 6px;
}
.btn-text span { transition: transform 0.25s var(--ease); }
.btn-text:hover span { transform: translateX(4px); }

/* ---- reveal animations ---- */
.reveal, .reveal-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible, .reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header,
.site-header * ,
.site-header *::before,
.site-header *::after {
  box-sizing: border-box;
}

.site-header ul { list-style: none; margin: 0; padding: 0; }
.site-header a { text-decoration: none; color: inherit; }
.site-header button { font-family: inherit; }

/* ---- header shell ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ng-ease), border-color 0.35s var(--ng-ease), padding 0.35s var(--ng-ease);
  padding: 22px 0;
  font-family: var(--ng-font-body);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom-color: #EEF1F0;
  padding: 14px 0;
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ---- logo ---- */
.site-header .logo { display: inline-flex; }
.site-header .logo img {
  display: block;
  width: 50%;
  
  filter: brightness(0) invert(1); /* renders the mark white against a dark/photo hero */
  transition: filter 0.35s var(--ng-ease);
}
.site-header.scrolled .logo img { filter: none; } /* assumes the source file is dark/navy for use on a white header */

/* ---- nav links ---- */
.site-header .main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  margin-right: 34px;
}
.site-header .main-nav > a,
.site-header .nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  position: relative;
  padding: 4px 0;
  transition: color 0.35s var(--ng-ease);
  white-space: nowrap;
  text-transform: uppercase;
}
.site-header .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.site-header.scrolled .main-nav > a,
.site-header.scrolled .nav-link { color: var(--ng-text); }

.site-header .main-nav > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ng-ease);
}
.site-header .main-nav > a:hover::after { width: 100%; }

/* ---- dropdown nav items ---- */
.site-header .nav-item { position: relative; }

.site-header .nav-caret {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.25s var(--ng-ease);
}
.site-header .nav-item.open .nav-caret,
.site-header .nav-item:hover .nav-caret { transform: rotate(-135deg); margin-top: 2px; }

.site-header .nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 200px;
  padding: 22px;
  background: var(--ng-white);
  border-top: 2px solid var(--ng-gold);
  box-shadow: 0 18px 40px rgba(11,36,56,0.16);
  display: grid;
  gap: 4px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ng-ease), transform 0.25s var(--ng-ease), visibility 0.25s;
  z-index: 10;
}
/* invisible bridge so the cursor can travel from the link down to the panel without losing hover */
.site-header .nav-item::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 460px;
  height: 18px;
  transform: translateX(-50%);
}
.site-header .nav-item:hover .nav-dropdown,
.site-header .nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.site-header .nav-dropdown a {
  display: block;
  padding: 10px 10px;
  font-size: 0.86rem;
  font-weight: 500;
  font-family: var(--ng-font-body);
  color: var(--ng-text);
  border-radius: 2px;
  transition: background 0.2s var(--ng-ease), color 0.2s var(--ng-ease);
}
.site-header .nav-dropdown a:hover {
  background: var(--ng-off-white);
  color: var(--ng-teal);
}

/* ---- optional CTA button (add class="btn-primary" to an <a> in the nav if you want one) ---- */
.site-header .btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--ng-gold);
  color: var(--ng-navy-dark) !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 11px 22px;
  border-radius: 3px;
  transition: background 0.25s var(--ng-ease), transform 0.25s var(--ng-ease);
}
.site-header .btn-primary:hover { background: #c08a2b; transform: translateY(-1px); }

/* ---- hamburger toggle ---- */
.site-header .nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.site-header .nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ng-white);
  transition: background 0.3s var(--ng-ease);
}
.site-header.scrolled .nav-toggle span { background: var(--ng-navy-dark); }

/* ==========================================================================
   RESPONSIVE — mobile slide-out panel with accordion dropdowns
   ========================================================================== */
@media (max-width: 860px) {
  .site-header .main-nav { display: none; }
  .site-header .nav-toggle { display: flex; }

  .site-header .main-nav.open {
    display: flex;
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--ng-navy-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 22px;
    margin: 0;
    overflow-y: auto;
    z-index: 999;
  }
  .site-header .main-nav.open > a,
  .site-header .main-nav.open .nav-link {
    color: var(--ng-white);
    font-size: 1.05rem;
    padding: 0;
  }
  .site-header .main-nav.open .nav-item { width: 100%; }

  .site-header .main-nav.open .nav-dropdown {
    position: static;
    transform: none;
    width: 100%;
    max-height: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 0;
    margin-top: 0;
    border-top: none;
    box-shadow: none;
    background: transparent;
    display: block;
    grid-template-columns: 1fr;
    overflow: hidden;
    transition: max-height 0.35s var(--ng-ease), margin-top 0.35s var(--ng-ease);
  }
  .site-header .main-nav.open .nav-item.open .nav-dropdown {
    max-height: 600px;
    margin-top: 14px;
  }
  .site-header .main-nav.open .nav-dropdown a {
    color: rgba(255,255,255,0.78);
    font-size: 0.94rem;
    padding: 10px 0;
  }
  .site-header .main-nav.open .nav-dropdown a:hover { background: none; color: var(--ng-gold); }
  .site-header .main-nav.open .nav-item::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--navy-dark);
  overflow: hidden;
}
/* Subtle blueprint-style grid, evoking planning/implementation — layered under every slide */
.hero-media::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 64px);
  animation: gridDrift 40s linear infinite;
}
@keyframes gridDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(64px, 64px); }
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.4s var(--ease);
}
.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
}
.hero-slide.is-active::after {
  animation: heroGlowPan 7s linear forwards;
}
@keyframes heroGlowPan {
  from { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
  to   { transform: scale(1)    translate3d(1.5%, 1%, 0); }
}
.hero-slide--1::after { background-image: url("../images/banner1.jpeg"); }
.hero-slide--2::after { background-image: url("../images/banner2.jpeg"); }
.hero-slide--3::after { background-image: url("../images/banner3.jpeg"); }
.hero-slide--4::after { background-image: url("../images/banner4.jpeg"); }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(100deg, rgb(11 36 56) 0%, rgb(11 36 56 / 67%) 0%, rgb(11 36 56 / 28%) 62%, rgb(11 36 56 / 22%) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  max-width: 860px;
}

/* ---- hero text crossfade ---- */
.hero-text-slide {
  display: none;
}
.hero-text-slide.is-active {
  display: block;
  animation: heroTextIn 0.9s var(--ease);
}
@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-text-slide .eyebrow { margin-bottom: 22px; }
.hero-text-slide .hero-heading { margin-bottom: 24px; }
.hero-text-slide .hero-sub { margin-bottom: 40px; }

/* ---- hero progress / slide controls ---- */
.hero-progress {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.hero-progress-btn {
  width: 46px;
  height: 3px;
  padding: 0;
  border: none;
  background: rgba(255,255,255,0.28);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.hero-progress-btn span {
  position: absolute;
  inset: 0;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--gold);
}
.hero-progress-btn.is-active span {
  animation: heroProgressFill 7s linear forwards;
}
@keyframes heroProgressFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hero-progress-btn.is-complete span {
  transform: scaleX(1);
  animation: none;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero-heading {
  font-size: clamp(2.2rem, 4.6vw, 3.85rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.86);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-indicator span {
  display: block;
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,0.5);
  position: relative;
  overflow: hidden;
}
.scroll-indicator span::after {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--gold);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust {
  background: var(--off-white);
  padding: 44px 0;
  border-bottom: 1px solid var(--light-grey);
}
.trust-heading {
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.trust-row span {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--navy);
  padding: 6px 20px;
  border-right: 1px solid #D8DED9;
}
.trust-row span:last-child { border-right: none; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { padding: 130px 0 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-bottom: 70px;
}
.editorial-heading {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.18;
}
.about-body p {
  color: var(--text);
  font-size: 1.02rem;
  margin-bottom: 20px;
}
.highlight-statement {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 30px 0 32px;
  line-height: 1.5;
}
.about-visual-wrap { padding-bottom: 130px; }
.about-visual {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}
.about-visual img {
  width: 100%;
  aspect-ratio: 16/8.5;
  object-fit: cover;
  background: var(--light-grey);
}
.stat-card {
  position: absolute;
  left: 40px;
  bottom: -30px;
  background: var(--navy-dark);
  color: var(--white);
  padding: 22px 30px;
  max-width: 300px;
  border-left: 3px solid var(--gold);
}
.stat-card-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.4;
}

/* ==========================================================================
   SECTION HEAD (shared)
   ========================================================================== */
.section-head {
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  margin-bottom: 16px;
}
.section-head p {
  color: #000;
  font-size: 1.02rem;
}
.section-head-light h2 { color: var(--white); }
.section-head-light p { color: rgba(255,255,255,0.72); }

/* ==========================================================================
   EXPERTISE
   ========================================================================== */
.expertise { padding: 130px 0; background: var(--off-white); }
.expertise-grid {
  display: grid;
  background:#fff;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #DBE1DD;
  border-left: 1px solid #DBE1DD;
}
.expertise-card {
  border-right: 1px solid #DBE1DD;
  border-bottom: 1px solid #DBE1DD;
  padding: 40px 32px;
  position: relative;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.expertise-card:hover { background: var(--white); }
.card-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 22px;
}
.expertise-card h3 {
  font-size: 1.12rem;
  margin-bottom: 12px;
  transition: color 0.3s var(--ease);
}
.expertise-card:hover h3 { color: var(--teal); }
.expertise-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 22px;
}
.card-arrow {
  font-size: 1.1rem;
  color: var(--navy);
  transition: transform 0.3s var(--ease);
  display: inline-block;
}
.expertise-card:hover .card-arrow { transform: translateX(6px); color: var(--gold); }

/* ==========================================================================
   GOVERNMENT IMPLEMENTATION
   ========================================================================== */
.gov-implementation {
  background: var(--navy-dark);
  padding: 130px 0;
}
.process-line {
  display: flex;
  position: relative;
  margin-top: 20px;
}
.process-line::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.18);
}
.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 0;
}
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--navy-dark);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.process-step h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
}

/* ==========================================================================
   APPROACH
   ========================================================================== */
.approach { padding: 130px 0; }
.approach-list {
  max-width: 880px;
  margin: 0 auto;
}
.approach-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-top: 1px solid var(--light-grey);
}
.approach-item:last-child { border-bottom: 1px solid var(--light-grey); }
.approach-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--gold);
}
.approach-item h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.approach-item p { color: var(--muted); font-size: 0.98rem; }

/* ==========================================================================
   IMPACT
   ========================================================================== */
.impact {
  background: #a55f4e;
  padding: 130px 0 90px;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 56px;
}
.impact-stat { text-align: center; }
.impact-number {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 14px;
}
.impact-number .plus { color: var(--gold); }
.impact-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.68);
  letter-spacing: 0.02em;
}
.impact-note {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  max-width: 520px;
  margin: 0 auto;
}
.impact-note span { font-size: 0.8rem; opacity: 0.7; }

/* ==========================================================================
   THEMES
   ========================================================================== */
.themes { padding: 130px 0; }
.themes-layout {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 180px);
  gap: 18px;
}
.theme-block {
  position: relative;
  background: var(--off-white);
  border: 1px solid var(--light-grey);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 22px;
}
.theme-block img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--light-grey);
}
.theme-block::after {
  content: "";
  position: absolute;
  inset: 0;
}
.theme-block img ~ .theme-label::before {
  content: "";
}
.theme-block:has(img)::after {
  background: linear-gradient(to top, rgba(11,36,56,0.78), rgba(11,36,56,0));
}
.theme-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-dark);
}
.theme-block:has(img) .theme-label { color: var(--white); }

.theme-large { grid-column: span 3; grid-row: span 2; }
.theme-tall { grid-column: span 2; grid-row: span 2; }
.themes-layout > div:nth-child(2) { grid-column: span 3; }
.themes-layout > div:nth-child(3) { grid-column: span 1; }
.themes-layout > div:nth-child(5) { grid-column: span 2; }
.themes-layout > div:nth-child(6) { grid-column: span 2; }
.themes-layout > div:nth-child(7) { grid-column: span 1; }
.themes-layout > div:nth-child(8) { grid-column: span 1; }

/* ==========================================================================
   PARTNERS
   ========================================================================== */
.partners { padding: 130px 0; background: var(--off-white); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.partner-box {
  aspect-ratio: 3/1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed #C6CFC9;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 12px;
  background: var(--white);
}
.partners-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 30px;
  font-style: italic;
}

/* ==========================================================================
   WHY NEW GENESIS
   ========================================================================== */
.why { padding: 130px 0; }
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.why-visual img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--light-grey);
}
.why-copy .editorial-heading { margin-bottom: 40px; }
.why-item {
  padding: 22px 0;
  border-top: 1px solid var(--light-grey);
}
.why-item:last-child { border-bottom: 1px solid var(--light-grey); }
.why-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  
}
.why-item p { color: var(--muted); font-size: 0.94rem; }

/* ==========================================================================
   PHILOSOPHY
   ========================================================================== */
.philosophy {
  padding: 150px 0;
  background: var(--off-white);
  text-align: center;
}
.philosophy-quote {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  color: var(--navy-dark);
  max-width: 900px;
  margin: 0 auto 30px;
  line-height: 1.4;
}
.philosophy-attr {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  background: var(--navy-dark);
  padding: 130px 0;
}
.cta-inner { max-width: 680px; }
.cta h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 22px;
}
.cta p {
  color: rgba(255,255,255,0.72);
  font-size: 1.02rem;
  margin-bottom: 40px;
}
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding: 130px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
}
.contact-form-wrap h2 { margin-bottom: 40px; font-size: clamp(1.8rem, 2.8vw, 2.3rem); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-field { margin-bottom: 22px; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 13px 14px;
  border: 1px solid #D5DAD5;
  background: var(--off-white);
  color: var(--text);
  border-radius: 2px;
  transition: border-color 0.25s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  outline: none;
}
.contact-info {
  background: var(--navy-dark);
  color: var(--white);
  padding: 46px 38px;
  height: fit-content;
}
.contact-info h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.contact-tagline {
  color: var(--gold);
  font-size: 0.88rem;
  margin-bottom: 32px;
}
.contact-info ul li {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}
.contact-info ul li span {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #a45f4e; color: rgba(255,255,255,0.75); padding-top: 80px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-col p { font-size: 0.92rem; line-height: 1.6; max-width: 360px;color:#fff; }
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 12px; font-size: 0.9rem; font-weight:500;color:#fff; }
.footer-col ul li a { transition: color 0.25s var(--ease); }
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 24px 0; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-legal a { margin-left: 20px; }
.footer-legal a:hover { color: var(--gold); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual img { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .themes-layout { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 160px); }
  .theme-large { grid-column: span 3; grid-row: span 1; }
  .theme-tall { grid-column: span 3; grid-row: span 1; }
  .themes-layout > div:nth-child(2),
  .themes-layout > div:nth-child(5),
  .themes-layout > div:nth-child(6) { grid-column: span 1; }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--navy-dark);
    flex-direction: column;
    padding: 100px 40px;
    gap: 26px;
    z-index: 99;
  }
  .main-nav.open a { color: var(--white); font-size: 1.05rem; }

  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .process-line { flex-wrap: wrap; row-gap: 40px; }
  .process-line::before { display: none; }
  .process-step { flex: 0 0 33.33%; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .about { padding-top: 90px; }
  .expertise, .gov-implementation, .approach, .impact, .themes, .partners, .why, .cta, .contact, .philosophy {
    padding-top: 80px; padding-bottom: 80px;
  }
  .expertise-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; padding-bottom: 40px; }
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .process-step { flex: 0 0 50%; }
  .themes-layout { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 160px); }
  .theme-large, .theme-tall,
  .themes-layout > div:nth-child(2),
  .themes-layout > div:nth-child(5),
  .themes-layout > div:nth-child(6) { grid-column: span 2; grid-row: span 1; }
  .stat-card { left: 20px; right: 20px; max-width: none; }
  .approach-item { grid-template-columns: 1fr; gap: 10px; }
  .hero-content { padding-top: 70px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}