/* Fonts: Poppins (headings), Open Sans (body) — self-hosted, latin subsets */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/opensans-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #0d884f;
  --green-dark: #0a6b3e;
  --green-bright: #56c02b;
  --navy: #181729;
  --blue: #086abd;
  --coral: #eb5a3e;
  --ink: #333333;
  --muted: #656565;
  --paper: #ffffff;
  --bg-alt: #f4f7f5;
  --border: #e2e8e2;
  --font-heading: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 6px 24px rgba(24, 23, 41, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  line-height: 1.7;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--green);
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 10;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo img {
  width: 65px;
  height: auto;
  border-radius: 50%;
}

.menu {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.menu-item a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  border-radius: 4px;
}

.menu-item a:hover {
  background: var(--green);
  color: #fff;
  text-decoration: none;
}

.menu-item a[aria-current="page"] {
  color: #fff;
  background: var(--green);
}

/* Hero — dark overlay over image, like the original video hero */
.hero {
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 8rem 0;
  text-align: center;
}

.hero-inner {
  max-width: 52rem;
}

.hero-divider {
  display: block;
  width: 8%;
  min-width: 56px;
  height: 4px;
  background: var(--green-bright);
  margin: 0 auto 1.5rem;
}

.hero-title {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0;
}

.hero-lockup {
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
  color: #cfd4e4;
}

.hero-acronym {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--green-bright);
  letter-spacing: 0.06em;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  font-size: 1.7rem;
  margin: 0 0 0.75rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--green-bright);
  margin: 0.6rem auto 0;
}

.section-lead {
  max-width: 46rem;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--muted);
}

/* About section */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.img-about {
  margin: 0;
}

.img-about img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-text h2 {
  font-size: 1.7rem;
  margin: 0 0 0.75rem;
}

.about-text h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--green-bright);
  margin-top: 0.6rem;
}

.about-text h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
}

.about-text blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--green-bright);
  background: var(--bg-alt);
  color: var(--ink);
  font-style: italic;
}

/* Program cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.program-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.program-media {
  margin: 0;
  background: var(--bg-alt);
}

.program-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.program-card:hover .program-media img {
  transform: scale(1.05);
}

.program-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.program-name {
  font-size: 1.1rem;
  margin: 0 0 0.6rem;
  color: var(--green);
}

.program-text {
  font-size: 0.92rem;
  margin: 0;
}

.badge {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.2rem 0.75rem;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  border-radius: 999px;
}

/* 2030 goal band */
.goal-band {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #eaf6ee;
  padding: 3.25rem 0;
  text-align: center;
}

.goal-band .container {
  max-width: 52rem;
}

.goal-title {
  color: #fff;
  font-size: 1.7rem;
  margin: 0 0 0.75rem;
}

.goal-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: #fff;
  margin: 0.6rem auto 0;
}

.goal-band p {
  font-size: 1.05rem;
  margin: 0;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1/1;
  height: auto;
  display: block;
  object-fit: cover;
}

.team-card figcaption {
  padding: 0.9rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
}

.team-name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
}

.team-role {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Partners */
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
}

.partner-strip img {
  height: 90px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem;
}

/* Networks */
.network-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.network-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.network-card img {
  height: 110px;
  width: auto;
  object-fit: contain;
}

.network-name {
  font-size: 1.05rem;
  margin: 0.75rem 0 0.5rem;
}

.network-card p {
  font-size: 0.92rem;
  margin: 0;
}

/* Posts */
.post-list {
  list-style: none;
  margin: 20px;
  padding: 0;
  display: grid;
  /* grid-template-columns: repeat(3, 1fr); */
  gap: 1.5rem;
  justify-content: center;
}

.post-list-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  margin: 0;
  box-shadow: var(--shadow);
}

.post-list-title {
  margin: 0;
  font-size: 1.05rem;
}

.post-list-title a {
  color: var(--navy);
}

.post-list-title a:hover {
  color: var(--green);
  text-decoration: none;
}

.post-list-description {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.home-posts-more {
  text-align: center;
  margin-top: 1.5rem;
}

.home-posts-more a {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: 4px;
}

.home-posts-more a:hover {
  background: var(--green-dark);
  text-decoration: none;
}

/* Single pages and lists */
.page-header {
  margin: 2.5rem auto 0;
}

.page-header h1::after,
.post-header h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--green-bright);
  margin-top: 0.6rem;
}

.page-header,
.post,
.notfound {
  margin-top: 2.5rem;
}

.page-description {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0.25rem 0 1.5rem;
}

.post-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.post-description {
  font-size: 1.1rem;
  color: var(--muted);
}

.post-content {
  margin-top: 1rem;
  max-width: 44rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
}

.post-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--green-bright);
  background: var(--bg-alt);
}

.post-content code {
  background: var(--bg-alt);
  padding: 0.1em 0.35em;
  border-radius: 3px;
  font-size: 0.9em;
}

.empty-state {
  color: var(--muted);
  font-style: italic;
}

/* Pagination */
.pagination-list {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.pagination-item a,
.pagination-item span {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
}

.pagination-current span {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* Not found */
.notfound {
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #cfd4e4;
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-heading {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}

.footer-col p {
  font-size: 0.92rem;
  margin: 0 0 0.5rem;
}

.site-footer a {
  color: #9fd4ab;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  margin: 0;
  font-size: 0.88rem;
}

/* Responsive */
@media (max-width: 56rem) {
  .card-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  html {
    font-size: 17px;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: center;
  }

  .hero {
    padding: 5rem 0;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .about-grid,
  .card-grid,
  .team-grid,
  .network-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
