:root {
  --ink: #211829;
  --muted: #5b6572;
  --navy: #28345f;
  --blue: #3d698e;
  --teal: #5ba7b2;
  --teal-dark: #1f6d79;
  --aqua: #d8eeee;
  --paper: #fbfaf5;
  --sand: #c3b087;
  --orange: #e85d24;
  --red: #d7232a;
  --line: rgba(33, 24, 41, 0.14);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 52px);
  background: rgba(251, 250, 245, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: auto;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  display: block;
  max-width: 260px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 24px);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--orange);
}

.site-nav a[aria-current="page"] {
  color: var(--orange);
}

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(76px, 11vw, 140px) clamp(20px, 6vw, 72px);
  color: white;
  background:
    linear-gradient(rgba(33, 24, 41, 0.22), rgba(33, 24, 41, 0.46)),
    url("assets/images/hero-network.jpg") center / cover no-repeat;
}

.hero__content {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: white;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(3.15rem, 11.2vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(1.4rem, 3.35vw, 3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.18;
}

.hero__subtitle {
  margin-bottom: 22px;
  max-width: 720px;
  font-size: clamp(1rem, 2.45vw, 2.1rem);
  font-weight: 800;
  line-height: 1.05;
}

.hero__text {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  color: white;
  background: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: var(--red);
  border-color: var(--red);
}

.section {
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 64px);
}

.section__inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(34px, 6vw, 64px);
}

.project {
  background: white;
}

.project__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(300px, 1.15fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.project__copy {
  color: #37404a;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
}

.project__copy p {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.principles {
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 22%, rgba(232, 93, 36, 0.16), transparent 22rem),
    var(--paper);
}

.principles__feature {
  display: grid;
  grid-template-columns: minmax(220px, 420px) minmax(280px, 1fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: center;
  margin-bottom: clamp(42px, 8vw, 76px);
}

.principles__feature img {
  width: min(420px, 100%);
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(91, 167, 178, 0.14), 0 0 0 58px rgba(91, 167, 178, 0.08);
}

.principles__feature p {
  max-width: 640px;
  color: #46515e;
  font-size: 1.08rem;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.principle-list article,
.news-card,
.partner-grid article,
.resource-list a {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.principle-list article {
  padding: 18px;
  background: white;
}

.principle-list img {
  width: 100%;
  aspect-ratio: 3.8 / 1;
  object-fit: cover;
  margin-bottom: 18px;
  border-radius: 6px;
}

.principle-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.subpage-hero {
  padding: clamp(76px, 11vw, 132px) clamp(20px, 5vw, 64px);
  color: white;
  background:
    linear-gradient(rgba(31, 109, 121, 0.88), rgba(31, 109, 121, 0.78)),
    url("assets/images/hero-network.jpg") center / cover no-repeat;
}

.subpage-hero h1 {
  max-width: 760px;
}

.subpage-hero .eyebrow,
.subpage-hero h1,
.subpage-hero .hero__subtitle {
  color: white;
}

.subpage-hero__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(220px, 380px);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.subpage-hero__image {
  width: min(360px, 100%);
  justify-self: center;
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.18);
}

.content-band {
  background: white;
}

.content-band--light {
  background: var(--paper);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.76fr) minmax(300px, 1.24fr);
  gap: clamp(30px, 6vw, 74px);
  align-items: start;
}

.rich-text {
  color: #37404a;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.rich-text p {
  margin-bottom: 20px;
}

.principles-detail {
  background: var(--aqua);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.detail-grid article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-grid img {
  width: 100%;
  aspect-ratio: 3.8 / 1;
  object-fit: cover;
  margin-bottom: 18px;
  border-radius: 6px;
}

.detail-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.news {
  color: white;
  background: var(--teal);
}

.news h2,
.news h3,
.news .eyebrow,
.news a {
  color: white;
}

.news__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.text-link {
  font-weight: 800;
  text-underline-offset: 5px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

/* Add new news articles at the top; older items after the fourth stay hidden. */
.news-grid .news-card:nth-of-type(n + 5) {
  display: none;
}

.news-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.16);
}

.news-card--featured {
  background:
    linear-gradient(rgba(31, 109, 121, 0.7), rgba(31, 109, 121, 0.78)),
    url("assets/images/partners-background.png") center / cover no-repeat;
}

.date {
  margin-bottom: 18px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card p:not(.date) {
  color: rgba(255, 255, 255, 0.88);
}

.news-card a {
  margin-top: auto;
  font-weight: 800;
  text-underline-offset: 5px;
}

.partners {
  background:
    linear-gradient(rgba(251, 250, 245, 0.2), rgba(251, 250, 245, 0.92)),
    url("assets/images/partners-background.png") left center / cover no-repeat;
}

.partners__layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(30px, 6vw, 70px);
}

.partners__layout > div:first-child p {
  color: #3d454f;
  font-size: 1.04rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.partner-grid article {
  min-height: 118px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.partner-grid h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.partner-grid a {
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.resources {
  background: white;
}

.resources__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}

.resource-list {
  display: grid;
  gap: 14px;
}

.resource-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  color: var(--navy);
  background: var(--paper);
  text-decoration: none;
}

.resource-list span {
  font-weight: 800;
}

.resource-list strong {
  color: var(--blue);
  font-size: 0.92rem;
}

.site-footer {
  padding: clamp(34px, 5vw, 52px) clamp(20px, 5vw, 64px);
  color: white;
  background: var(--sand);
}

.site-footer__inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}

.brand--footer {
  margin-bottom: 20px;
}

.brand--footer strong,
.brand--footer small {
  color: white;
}

.site-footer p {
  margin: 4px 0;
  font-size: 0.9rem;
}

.footer-contact {
  display: grid;
  gap: 18px;
  justify-items: end;
}

.footer-contact a {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  text-decoration: none;
}

.footer-contact img {
  width: min(265px, 100%);
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .project__grid,
  .principles__feature,
  .subpage-hero__grid,
  .content-grid,
  .news-grid,
  .partners__layout,
  .resources__grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .news__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-contact {
    justify-items: start;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 78svh;
  }

  .brand small {
    max-width: 210px;
  }

  .principle-list,
  .detail-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .resource-list a {
    align-items: flex-start;
    flex-direction: column;
  }
}
