@import url("https://api.fontshare.com/v2/css?f[]=open-sauce-one@400,500,600,700,800&display=swap");

:root {
  --green: #a5b85d;
  --ink: #101010;
  --muted: #5c5c5c;
  --line: rgba(16, 16, 16, 0.16);
  --max: 1440px;
  --header: 78px;
  font-family: "Open Sauce One", "Open Sauce Sans", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1000;
  width: 0;
  height: 5px;
  background: var(--green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
  padding: 0 clamp(24px, 4vw, 64px);
  background: #fff;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  width: clamp(130px, 15vw, 195px);
  height: var(--header);
  overflow: hidden;
}

.brand-link img {
  width: 100%;
  height: 58px;
  object-fit: cover;
  object-position: center 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 62px);
  font-size: clamp(0.78rem, 1vw, 1rem);
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a:not(.icon-link) {
  padding: 12px 0;
}

.site-nav a:not(.icon-link):hover,
.site-nav a[aria-current="page"] {
  color: var(--green);
}

.icon-link {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-link img {
  display: none;
}

.icon-link::before {
  content: "";
  width: 25px;
  height: 25px;
  background: var(--ink);
  transition: background 160ms ease;
}

.icon-link:hover::before {
  background: var(--green);
}

.icon-link[aria-label="Instagram"]::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.25' cy='6.75' r='1.2' fill='black' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.25' cy='6.75' r='1.2' fill='black' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat;
}

.icon-link[aria-label="Email EnviGO"]::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m3.6 7 8.4 6 8.4-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m3.6 7 8.4 6 8.4-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
}

main {
  min-height: calc(100vh - var(--header));
}

.hero {
  position: relative;
  min-height: clamp(500px, 63vw, 920px);
  overflow: hidden;
  background: #222;
}

.hero.compact {
  min-height: clamp(430px, 52vw, 720px);
}

.hero img,
.split-image img,
.carousel-hero img,
.post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero > img {
  position: absolute;
  inset: 0;
}

.hero::after,
.carousel-hero::after,
.post-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.08) 58%, rgba(0, 0, 0, 0.14));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 96px) clamp(24px, 4vw, 60px);
  color: #fff;
}

.hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(3rem, 7.4vw, 8.2rem);
  line-height: 0.92;
  font-weight: 800;
}

.hero .quote {
  max-width: 900px;
  font-size: clamp(2.45rem, 5.4vw, 6.4rem);
  line-height: 0.95;
}

.hero .credit {
  margin-top: clamp(24px, 3vw, 42px);
  font-size: clamp(1.5rem, 2.4vw, 3.1rem);
  font-weight: 800;
}

.hero .button {
  margin-top: clamp(30px, 4vw, 58px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 13px 28px;
  background: var(--green);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.button:hover,
.carousel-arrow:hover,
.back-top:hover {
  transform: translateY(-2px);
  filter: brightness(0.96);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 8vw, 140px) clamp(24px, 4vw, 70px);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  align-items: center;
  gap: clamp(44px, 7vw, 120px);
}

.split.reverse {
  grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.95fr);
}

.split.center {
  align-items: center;
}

.section h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4vw, 5rem);
  line-height: 0.98;
  font-weight: 500;
}

.section h3 {
  margin: 0 0 22px;
  font-size: clamp(1.55rem, 2.1vw, 2.5rem);
  line-height: 1.05;
  font-weight: 500;
}

.section p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.95rem, 1.05vw, 1.18rem);
  line-height: 1.45;
}

.section .copy {
  max-width: 520px;
}

.copy p + .button,
.copy h2 + p,
.copy h3 + p {
  margin-top: 30px;
}

.copy p + p,
.stack p + h3 {
  margin-top: 52px;
}

.split-image {
  width: 100%;
  min-height: 360px;
  aspect-ratio: 1.55;
  overflow: hidden;
}

.split-image.tall {
  aspect-ratio: 1.06;
}

.home-slider {
  padding-top: 0;
}

.image-strip {
  overflow: hidden;
  width: min(1260px, 100%);
  margin: 0 auto;
}

.image-strip-track {
  display: flex;
  gap: 0;
  transform: translateX(0);
  transition: transform 360ms ease;
}

.image-strip img {
  flex: 0 0 33.333%;
  height: clamp(260px, 27vw, 430px);
  object-fit: cover;
}

.strip-controls {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 26px;
}

.strip-controls button,
.icon-button {
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
}

.initiatives-teaser .copy {
  justify-self: center;
  text-align: center;
}

.initiatives-teaser .copy h2 + .button {
  margin-top: clamp(34px, 4vw, 64px);
}

.about-copy {
  width: 100%;
  max-width: 560px;
  justify-self: center;
}

.division-heading,
.founding-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 46px;
}

.division-heading img,
.founding-heading img {
  width: clamp(52px, 5vw, 82px);
}

.division-panel {
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 30px;
  padding: clamp(26px, 4vw, 56px);
  background: var(--green);
}

.accordion-item {
  border-top: 3px solid rgba(0, 0, 0, 0.75);
}

.accordion-item:last-child {
  border-bottom: 3px solid rgba(0, 0, 0, 0.75);
}

.accordion-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border: 0;
  background: transparent;
  padding: 24px 4px;
  color: var(--ink);
  text-align: left;
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 800;
  cursor: pointer;
}

.accordion-button .chevron {
  font-size: 2.3rem;
  line-height: 1;
}

.accordion-body {
  display: none;
  max-width: 800px;
  padding: 0 0 26px 4px;
}

.accordion-item.open .accordion-body {
  display: block;
}

.join-row {
  display: flex;
  justify-content: center;
  margin-top: clamp(58px, 7vw, 96px);
}

.history-intro {
  grid-template-columns: minmax(180px, 300px) minmax(300px, 860px);
}

.logo-note img {
  width: min(245px, 58vw);
  margin: 0 auto;
}

.logo-note p {
  max-width: 210px;
  margin: 8px auto 0;
  text-align: center;
  font-size: 0.74rem;
  line-height: 1.32;
}

.rule {
  height: 2px;
  max-width: 1260px;
  margin: 0 auto;
  background: var(--green);
}

.history-intro {
  grid-template-columns: minmax(220px, 0.48fr) minmax(520px, 1.52fr);
}

.history-intro .copy {
  max-width: 980px;
}

.history-intro h2 {
  font-size: clamp(2.05rem, 3.15vw, 4.35rem);
  line-height: 1.06;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: clamp(38px, 5vw, 72px) clamp(24px, 5vw, 68px);
  text-align: center;
}

.member-card img {
  width: clamp(120px, 13vw, 190px);
  aspect-ratio: 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
}

.member-card h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 800;
}

.member-card p {
  font-size: 0.98rem;
}

.history-archives {
  max-width: 1260px;
  margin: 0 auto;
}

.archive-item {
  border-top: 2px solid var(--green);
}

.archive-item:last-child {
  border-bottom: 2px solid var(--green);
}

.archive-item .accordion-button {
  justify-content: center;
  position: relative;
  padding: 34px 64px 34px 0;
  font-size: clamp(2.2rem, 4.2vw, 4.9rem);
  font-weight: 400;
}

.archive-item .chevron {
  position: absolute;
  right: 18px;
  color: var(--green);
  font-weight: 800;
}

.archive-body {
  display: none;
  padding: 10px 0 54px;
}

.archive-item.open .archive-body {
  display: block;
}

.team-group + .team-group {
  margin-top: 38px;
}

.team-group h3 {
  padding-left: 4px;
  color: var(--green);
  font-weight: 800;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 16px;
}

.team-person {
  padding: 18px 16px;
  border: 1px solid var(--line);
}

.team-person strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.team-person span {
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-carousel {
  margin-bottom: clamp(84px, 9vw, 140px);
}

.carousel-hero {
  position: relative;
  height: clamp(390px, 48vw, 720px);
  max-height: calc(100vh - var(--header) - 48px);
  overflow: hidden;
  background: #222;
}

.carousel-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 58px);
  color: #fff;
}

.carousel-label {
  position: absolute;
  top: clamp(28px, 4vw, 58px);
  left: clamp(28px, 4vw, 58px);
  font-size: clamp(1.2rem, 2vw, 2.15rem);
  font-weight: 800;
  text-transform: uppercase;
}

.carousel-copy h2 {
  width: min(920px, 78%);
  margin: 0;
  font-size: clamp(2.7rem, 5.8vw, 7rem);
  line-height: 0.98;
  font-weight: 800;
}

.carousel-arrow {
  position: absolute;
  right: clamp(24px, 3vw, 50px);
  top: 50%;
  z-index: 3;
  width: 58px;
  height: 58px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(4rem, 6vw, 7rem);
  line-height: 0.5;
  cursor: pointer;
}

.dots {
  position: absolute;
  right: clamp(30px, 4vw, 64px);
  bottom: clamp(22px, 3.2vw, 44px);
  z-index: 4;
  display: flex;
  gap: 9px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.dot.active {
  background: #fff;
}

.carousel-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.listing-hero {
  padding: clamp(70px, 8vw, 132px) clamp(24px, 4vw, 70px) clamp(32px, 4vw, 64px);
  text-align: center;
}

.listing-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 8rem);
  line-height: 0.95;
  font-weight: 500;
}

.listing-hero .button {
  margin-top: 30px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 34px;
}

.content-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
}

.content-card img {
  aspect-ratio: 1.45;
  width: 100%;
  object-fit: cover;
}

.content-card div {
  padding: 22px 22px 26px;
}

.content-card time {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.content-card h2 {
  margin: 14px 0 12px;
  font-size: clamp(1.35rem, 1.7vw, 2rem);
  line-height: 1.08;
  font-weight: 800;
}

.content-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.post-hero {
  position: relative;
  min-height: clamp(430px, 52vw, 720px);
  overflow: hidden;
}

.post-hero img {
  position: absolute;
  inset: 0;
}

.post-heading {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 82px) clamp(24px, 4vw, 70px);
  color: #fff;
}

.post-heading h1 {
  max-width: 1020px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 6.5rem);
  line-height: 0.98;
  font-weight: 800;
}

.post-heading time {
  margin-bottom: 20px;
  font-weight: 800;
}

.article-body {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(58px, 7vw, 110px) clamp(24px, 4vw, 70px);
  overflow-wrap: anywhere;
}

.article-body p,
.article-body li {
  color: var(--ink);
  font-size: clamp(1rem, 1.05vw, 1.2rem);
  line-height: 1.72;
}

.article-body p + p,
.article-body p + h4,
.article-body img + p,
.article-body ul + p,
.article-body ol + p {
  margin-top: 24px;
}

.article-body h4 {
  margin: 42px 0 12px;
  font-size: clamp(1.35rem, 1.7vw, 2rem);
}

.article-body img {
  width: 100%;
  max-height: 640px;
  margin: 38px 0;
  object-fit: cover;
}

.article-body a {
  color: #637325;
  text-decoration: underline;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 70px) clamp(72px, 8vw, 120px);
}

.article-nav a {
  max-width: 45%;
  color: var(--green);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.back-top {
  position: fixed;
  right: clamp(18px, 3vw, 42px);
  bottom: clamp(68px, 7vw, 112px);
  z-index: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.back-top::before {
  content: "↑";
  font-size: 1.05rem;
  line-height: 1;
  transform: translateY(-1px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 116px;
  padding: 26px clamp(24px, 4vw, 70px);
  background: var(--green);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.site-footer img {
  width: 42px;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}

@media (max-width: 980px) {
  :root {
    --header: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px 28px 28px;
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .site-header.menu-open .site-nav {
    display: grid;
  }

  .icon-link {
    width: 30px;
    height: 30px;
    margin-top: 10px;
  }

  .icon-link::before {
    width: 25px;
    height: 25px;
  }

  .split,
  .split.reverse,
  .history-intro,
  .about-copy {
    grid-template-columns: 1fr;
  }

  .about-copy .stack:last-child,
  .initiatives-teaser .copy {
    text-align: left;
    justify-self: start;
  }

  .members-grid,
  .team-grid,
  .card-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .image-strip img {
    flex-basis: 50%;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 20px;
  }

  .hero,
  .hero.compact,
  .carousel-hero,
  .post-hero {
    min-height: 520px;
  }

  .hero h1,
  .hero .quote,
  .carousel-copy h2,
  .post-heading h1 {
    font-size: clamp(2.6rem, 13vw, 4.8rem);
  }

  .button {
    min-width: 0;
    width: 100%;
  }

  .image-strip img,
  .members-grid,
  .team-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .image-strip img {
    flex-basis: 100%;
  }

  .division-panel {
    border-radius: 22px;
  }

  .archive-item .accordion-button {
    justify-content: flex-start;
    padding-right: 46px;
    font-size: clamp(2rem, 12vw, 3.5rem);
  }

  .article-nav {
    flex-direction: column;
  }

  .article-nav a {
    max-width: none;
  }
}
