:root {
  --green: #007f32;
  --green-dark: #00752f;
  --ink: #000;
  --muted: #666;
  --focus: #0b5fa5;
  --soft: #f3f3f3;
  --white: #fff;
  --content-max: 1140px;
  --sidebar-width: 300px;
  font-family: "Roboto", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.15;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Titillium Web", sans-serif;
}

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

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

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -999px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--green);
  color: var(--white);
}

.skip-link:focus {
  left: 0;
}

/* Site shell */
.site-shell {
  min-height: 100vh;
}

.sidebar-nav {
  display: none;
}

.site-main {
  min-width: 0;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  min-height: 100px;
  padding: 12px 16px;
  background: var(--white);
}

.brand {
  display: block;
  width: 150px;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle-icon {
  display: grid;
  gap: 5px;
  width: 23px;
}

.menu-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: none;
  flex: 1 0 100%;
  padding: 10px 0 4px;
  border-top: 1px solid #e8e8e8;
}

.site-nav.is-open {
  display: grid;
}

.site-nav-item > a,
.site-submenu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 4px;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--green);
  text-decoration: none;
}

.site-submenu {
  padding: 0 0 6px 14px;
}

.site-submenu a {
  font-weight: 400;
  text-transform: none;
}

/* Homepage hero */
.hero {
  overflow: hidden;
  background: var(--soft);
}

.hero-inner {
  display: grid;
  max-width: 1960px;
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 32px 20px 20px;
}

.hero-copy p {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 18px;
}

.hero-copy .eyebrow {
  width: auto;
  margin: 0 0 8px;
  color: var(--green);
  font-family: "Titillium Web", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.hero-media {
  display: grid;
  min-height: 218px;
  padding: 0 20px 24px;
  place-items: center;
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: contain;
}

/* Homepage sections */
.feature-banner {
  padding: 10px;
  background: var(--white);
}

.feature-banner a {
  display: block;
  max-width: 1024px;
  margin: 0 auto;
}

.feature-banner img {
  width: 100%;
}

.home-section {
  margin: 0 auto;
  background: var(--white);
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--green);
  font-size: 32px;
  font-weight: 600;
  line-height: 32px;
}

.resources {
  margin-block: 50px;
  padding: 10px;
  text-align: center;
}

.resources .section-heading {
  margin-bottom: 40px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 750px;
  margin: 0 auto;
}

.resource-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  height: 205.6px;
  color: var(--green);
  font-family: "Titillium Web", sans-serif;
  text-align: center;
}

.resource-card:nth-child(1),
.resource-card:nth-child(3),
.resource-card:nth-child(6) {
  height: 227.2px;
}

.resource-card:hover {
  text-decoration: none;
}

.resource-icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 120px;
  margin-inline: 20px;
}

.resource-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.resource-title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 21.6px;
}

.resource-card strong {
  min-width: 3ch;
  color: var(--ink);
  font-size: 21px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 21px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 3px;
  background: var(--green);
  color: var(--white);
  font-family: "Titillium Web", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 15px;
}

.button:hover {
  background: var(--green-dark);
  text-decoration: none;
}

.resources .button {
  margin-top: 0;
}

.eric-kicker {
  max-width: var(--content-max);
  margin: 80px auto 30px;
  padding: 0 10px 46px;
  text-align: center;
}

.eric-kicker h2 {
  margin: 0;
  color: var(--green);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
}

.split-section {
  width: 100%;
  padding: 10px;
  background: var(--white);
}

.split-inner {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
}

.about-image {
  overflow: hidden;
  min-height: 300px;
  border-top: 5px solid var(--green);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center left;
}

.about-copy {
  min-width: 0;
  min-height: 626.7px;
  padding: 20px 20px 16px;
  border-top: 5px solid var(--green);
  background: var(--soft);
  color: var(--ink);
  font-family: "Titillium Web", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.about-copy h2 {
  margin: 0 0 20px;
  color: var(--green);
  font-size: 17px;
  font-weight: 600;
  line-height: 17px;
}

.about-copy p {
  margin: 0 0 16px;
}

.about-copy ul {
  margin: 0 0 0 1.2em;
  padding: 0;
}

.about-spacer {
  height: 17.8px;
}

.projects {
  margin-block: 60px 0;
}

.projects .section-heading {
  margin-bottom: 100px;
  padding-inline: 10px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 20px 10px;
}

.project-card {
  min-width: 0;
  padding: 10px 10px 20px;
  text-align: center;
}

.project-image {
  display: block;
  margin: 10px 10px 0;
}

.project-card-link {
  display: block;
  color: var(--green);
}

.project-image img {
  width: 100%;
  height: auto;
}

.project-card h3 {
  margin: 20px 0 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 19px;
}

.project-card-link:hover {
  text-decoration: none;
}

.news-preview {
  margin-top: 0;
  padding: 50px 15px;
}

.news-preview .section-heading {
  margin-bottom: 40px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px 30px;
  max-width: 1120px;
  margin: 0 auto;
}

.news-card {
  min-width: 0;
  color: var(--muted);
}

.news-card > img {
  width: 100%;
  aspect-ratio: 2 / 1;
  margin-bottom: 20px;
  object-fit: cover;
}

.news-card h3 {
  max-width: 280px;
  margin: 0;
  color: #54595f;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 21.6px;
}

.news-card h3 a {
  color: inherit;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 13px;
  color: var(--muted);
  font-family: "Roboto Slab", serif;
  font-size: 14px;
  line-height: 1.4;
}

.post-meta time {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.news-card div > p:not(.post-meta) {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  line-height: 21px;
}

.news-card:nth-child(4) div > p:not(.post-meta) {
  min-height: 105px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green);
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 13.8px;
}

.consortium {
  margin-bottom: 20px;
  padding: 10px 20px 20px;
}

.consortium .section-heading {
  max-width: 1100px;
  margin: 0 auto 20px;
}

.consortium .section-heading h2 {
  margin-bottom: 50px;
}

.consortium .section-heading p {
  min-height: 96.6px;
  margin: 0;
  color: var(--ink);
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
  line-height: 16.1px;
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.partner-card {
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.partner-card:hover {
  text-decoration: none;
}

.partner-image {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.partner-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.partner-card h3 {
  margin: 20px 30px 25px;
  color: var(--green);
  font-size: 17px;
  font-weight: 500;
  line-height: 20.4px;
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  min-height: 442px;
  padding: 40px 20px;
  background: var(--green);
  color: var(--white);
}

.footer-logo {
  width: 213px;
}

.site-footer h2 {
  margin: 0 0 19px;
  color: var(--white);
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
}

.site-footer a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  line-height: 26px;
}

.site-footer > div:nth-child(4) h2 {
  display: none;
}

.site-footer > div:nth-child(4) a {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  min-height: 0;
  border-radius: 50%;
  background: var(--white);
}

.social-icon {
  width: 25px;
  height: 25px;
  fill: var(--green);
}

@media (min-width: 600px) {
  .site-header {
    min-height: 131.64px;
    padding-inline: 30px;
  }

  .brand {
    width: 210px;
  }

  .hero {
    container-type: inline-size;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    height: clamp(204px, 34.1837cqw, 670px);
  }

  .hero-copy {
    align-self: center;
    padding: 0 7% 0 10.2%;
  }

  .hero-copy p {
    font-size: 12px;
    line-height: 16px;
  }

  .hero-copy .eyebrow {
    margin-bottom: clamp(5px, 0.663cqw, 13px);
    font-size: 24px;
    line-height: 30px;
  }

  .hero-media {
    min-height: 0;
    padding: clamp(16px, 2.55cqw, 50px) 8% clamp(16px, 2.55cqw, 50px) 2%;
  }

  .hero-media img {
    max-height: 100%;
  }

  .eric-kicker {
    padding-bottom: 18px;
  }

  .eric-kicker h2 {
    font-size: 28px;
  }

  .news-preview .section-heading {
    margin-bottom: 50px;
  }

  .news-card h3 {
    max-width: 100%;
  }

  .resource-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .resource-card {
    height: 227px;
    min-height: 227px;
  }

  .resource-title {
    min-height: 43.2px;
  }

  .site-footer {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    min-height: 300px;
    padding: 71px 20px 0;
  }

  .consortium .section-heading p {
    min-height: 48.3px;
  }
}

@media (min-width: 768px) {
  .eric-kicker h2 {
    font-size: 30px;
  }

  .split-inner {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    min-height: 1000px;
  }

  .about-image,
  .about-copy {
    min-height: 0;
  }

  .news-preview {
    padding: 100px 25px;
  }

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

  .news-card > img {
    aspect-ratio: 1 / 0.66;
  }

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

  .partner-image {
    aspect-ratio: 1 / 0.66;
  }
}

@media (min-width: 1440px) {
  .eric-kicker h2 {
    font-size: 32px;
  }

  .sidebar-nav {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    display: block;
    width: var(--sidebar-width);
    min-height: 100vh;
    padding: 10px;
    background: var(--white);
    text-align: center;
  }

  .sidebar-brand {
    display: block;
    width: 168px;
    margin: 0 auto 56px;
  }

  .side-menu {
    display: grid;
    text-align: left;
  }

  .side-menu a,
  .side-submenu a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 0;
    color: var(--ink);
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 15px;
    text-transform: uppercase;
  }

  .side-menu a:hover,
  .side-menu a.is-active,
  .side-submenu a:hover,
  .side-submenu a.is-active {
    color: var(--green);
    text-decoration: none;
  }

  .side-menu a.has-children::after {
    position: absolute;
    top: 5px;
    right: 0;
    color: #7e7e7e;
    content: "+";
    font-size: 13px;
    font-weight: 400;
  }

  .side-submenu {
    display: none;
    padding: 2px 0 8px 16px;
  }

  .side-menu-item:hover .side-submenu,
  .side-menu-item:focus-within .side-submenu {
    display: block;
  }

  .side-submenu a {
    font-weight: 400;
    text-transform: none;
  }

  .site-main {
    padding-left: var(--sidebar-width);
  }

  .site-header {
    display: none;
  }

  .split-inner {
    grid-template-columns: 53.332% 46.668%;
    grid-template-rows: 1fr;
    min-height: 488.734px;
  }

  .about-image,
  .about-copy {
    min-height: 488.734px;
  }

  .about-copy {
    padding-right: 0;
    font-size: 12px;
    line-height: 13.8px;
  }

  .news-preview {
    padding: 100px 0 110px;
  }

  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-card h3 {
    max-width: 280px;
  }

  .post-meta {
    font-size: 12px;
    line-height: 15.6px;
  }

  .read-more {
    font-size: 12px;
  }

  .consortium {
    padding-inline: max(20px, calc((100% - 1140px) / 2 + 20px));
  }

  .consortium .section-heading p {
    min-height: 0;
  }

  .partner-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 71px 0 0;
  }

  .footer-logo {
    margin-left: 71px;
  }
}

@media (min-width: 3000px) {
  .site-footer {
    min-height: 400px;
  }
}
