:root {
  color-scheme: light;
  --dark: #08271b;
  --dark-deep: #041a12;
  --dark-soft: #173b29;
  --light: #fafaf7;
  --white: #fff;
  --ink: #062219;
  --muted: #476057;
  --green: #68ed32;
  --green-dark: #238f1d;
  --line: #cce4c8;
  --radius: 28px;
  --gutter: clamp(24px, 5.2vw, 82px);
  --content: 1400px;
  font-family: Outfit, "Arial", sans-serif;
  font-synthesis: none;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dark);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}

section[id],
header[id] {
  scroll-margin-top: 20px;
}

.wrap {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--green);
  color: var(--dark-deep);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 126px;
  gap: 32px;
  background: var(--dark);
  color: var(--white);
}

.brand {
  flex: none;
  display: inline-flex;
  align-items: center;
  width: 236px;
  min-height: 82px;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.6vw, 42px);
}

.site-nav > a:not(.button),
.site-footer nav a {
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav > a:not(.button):hover,
.site-footer nav a:hover {
  color: var(--green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  gap: 16px;
  padding: 14px 30px;
  border: 2px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: var(--dark-deep);
  font:
    700 18px/1.2 Outfit,
    Arial,
    sans-serif;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  border-color: #8dff5b;
  background: #8dff5b;
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button--small {
  min-height: 54px;
  padding: 12px 24px;
  font-size: 16px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 15px;
  border: 2px solid var(--green);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font:
    600 16px/1 Outfit,
    Arial,
    sans-serif;
  cursor: pointer;
}

.menu-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.masthead,
.section-dark {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 38% 45%,
    #0e3724 0%,
    var(--dark) 55%,
    var(--dark-deep) 100%
  );
  color: var(--white);
}

.masthead::before,
.journey::before,
.donate::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 420px;
  border-radius: 8% 95% 8% 95%;
  background: #2e6a33;
  opacity: 0.16;
  transform: rotate(-28deg);
  pointer-events: none;
}

.masthead::before {
  left: -220px;
  bottom: -120px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 47% 53%;
  width: 100%;
  max-width: none;
  min-height: 640px;
  padding-left: max(
    var(--gutter),
    calc((100vw - var(--content)) / 2 + var(--gutter))
  );
  padding-right: 0;
}

.hero__copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 740px;
  padding: 38px 0 88px;
}

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

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h1,
h2 {
  font-weight: 800;
  text-wrap: balance;
}

h1 span,
h2 span {
  display: block;
  color: var(--green);
}

h1 {
  max-width: 690px;
  margin-bottom: 26px;
  font-size: clamp(56px, 4.9vw, 78px);
}

.hero__copy > p {
  max-width: 580px;
  margin-bottom: 26px;
  color: #f1f6ef;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.48;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.text-link {
  display: inline-block;
  min-height: 44px;
  padding: 10px 0 6px;
  border-bottom: 2px solid var(--green);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.text-link:hover {
  color: var(--green);
}

.text-link--light {
  color: var(--white);
}

.visual-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #25402d;
}

.visual-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-photo figcaption {
  position: absolute;
  right: 16px;
  bottom: 12px;
  padding: 5px 8px;
  border-radius: 4px;
  background: rgb(6 20 13 / 75%);
  color: var(--white);
  font-size: 12px;
  font-style: italic;
  line-height: 1.2;
}

.hero__media {
  min-height: 640px;
  clip-path: polygon(7% 8%, 100% 0, 100% 100%, 0 100%);
}

.hero__media img {
  object-position: 54% center;
}

.section-curve {
  position: relative;
  z-index: 2;
  height: 58px;
  margin-top: -30px;
  border-radius: 50% 50% 0 0 / 44px 44px 0 0;
}

.section-curve--light,
.section-light {
  background: var(--light);
}

.section-light {
  color: var(--ink);
}

.section-light h2 span {
  color: var(--green-dark);
}

.purpose {
  padding: 58px 0 86px;
}

.purpose__intro {
  display: grid;
  grid-template-columns: 49% 51%;
  align-items: center;
  gap: 32px;
}

.purpose h2,
.journey h2,
.market h2,
.donate h2 {
  margin-bottom: 28px;
  font-size: clamp(43px, 4.3vw, 70px);
}

.purpose__copy {
  padding-right: 30px;
}

.purpose__copy > p,
.section-intro,
.donate__copy > p {
  max-width: 660px;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.55;
}

.purpose__media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
}

.purpose__media img {
  object-position: 52% center;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 86px;
}

.principle {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.principle + .principle {
  padding-left: 30px;
  border-left: 1px solid #b7d8b4;
}

.principle__number {
  color: var(--green-dark);
  font-size: clamp(38px, 3.5vw, 55px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

.principle p {
  margin: 0;
  line-height: 1.2;
}

.principle strong,
.principle p span {
  display: block;
}

.principle strong {
  margin-bottom: 5px;
  font-size: 22px;
  line-height: 1.1;
}

.principle p span {
  color: var(--muted);
  font-size: 16px;
}

.journey {
  padding: 112px 0 110px;
}

.journey::before {
  left: -210px;
  top: 35%;
}

.journey__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: clamp(50px, 6vw, 105px);
  align-items: center;
}

.journey h2 {
  max-width: 800px;
}

.journey .section-intro {
  margin-bottom: 35px;
  color: #ecf4eb;
}

.journey__steps,
.market__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey__steps {
  position: relative;
  display: grid;
  gap: 26px;
}

.journey__steps::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 20px;
  left: 26px;
  width: 2px;
  background: var(--green);
}

.journey__steps li {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.journey__number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--dark-deep);
  font-size: 20px;
  font-weight: 800;
}

.journey__steps h3,
.market__steps h3 {
  margin-bottom: 5px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.journey__steps p,
.market__steps p {
  max-width: 570px;
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.journey__steps p {
  color: #deebe0;
}

.journey__visual {
  position: relative;
  align-self: stretch;
  min-height: 675px;
}

.journey__media {
  height: 100%;
  border-radius: 150px 28px 28px 28px;
}

.journey__media img {
  object-position: 50% center;
}

.journey__callout {
  position: absolute;
  right: -18px;
  bottom: 48px;
  max-width: 180px;
  margin: 0;
  padding: 18px;
  border-left: 3px solid var(--green);
  background: rgb(4 26 18 / 91%);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
}

.journey__callout strong {
  display: block;
  color: var(--green);
  font-size: 66px;
  line-height: 0.9;
}

.market {
  padding: 112px 0 118px;
}

.market__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(42px, 5vw, 90px);
  align-items: center;
}

.market .section-intro {
  margin-bottom: 38px;
}

.market__steps {
  display: grid;
  gap: 26px;
}

.market__steps li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.market__steps li > span {
  padding-top: 2px;
  border-right: 2px solid var(--green-dark);
  color: var(--green-dark);
  font-size: 43px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
}

.market__steps p {
  color: #2e493e;
}

.market__media {
  align-self: start;
  aspect-ratio: 1.22;
  border-radius: var(--radius);
}

.market__media img {
  object-position: center;
}

.donate {
  padding: 116px 0 105px;
}

.donate::before {
  right: -220px;
  top: -110px;
  transform: rotate(18deg);
}

.donate__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(50px, 8vw, 140px);
  align-items: center;
}

.donate__copy > p {
  max-width: 640px;
  margin-bottom: 20px;
  color: #e8f1e8;
}

.pix-panel {
  padding: 34px 38px 26px;
  border-radius: 25px;
  background: var(--light);
  color: var(--ink);
  text-align: center;
}

.pix-panel__art {
  position: relative;
  width: min(100%, 270px);
  margin: 0 auto 16px;
  color: #c6c9c1;
}

.pix-panel__art svg {
  width: 100%;
  height: auto;
}

.pix-panel__art span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82%;
  padding: 10px 4px;
  border-radius: 12px;
  background: var(--light);
  color: var(--dark);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  transform: translate(-50%, -50%);
}

.pix-panel > p {
  max-width: 450px;
  margin: 0 auto;
  color: #52635a;
  font-size: 15px;
}

.site-footer {
  border-top: 1px solid #345744;
  background: var(--dark);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-height: 154px;
}

.brand--footer {
  width: 195px;
  min-height: 62px;
}

.site-footer p {
  margin: 0;
  color: #e6eee7;
  font-size: 16px;
}

.site-footer nav {
  gap: 24px;
}

.site-footer nav a {
  white-space: nowrap;
}

@media (max-width: 1060px) {
  .site-nav {
    gap: 20px;
  }

  .brand {
    width: 195px;
  }

  .site-nav > a:not(.button) {
    font-size: 15px;
  }

  .site-nav .button {
    padding-inline: 17px;
  }

  .hero {
    min-height: 600px;
  }

  .hero__media {
    min-height: 600px;
  }

  h1 {
    font-size: clamp(52px, 5.5vw, 68px);
  }

  .purpose__copy {
    padding-right: 0;
  }

  .principles {
    gap: 15px;
  }

  .principle {
    gap: 12px;
  }

  .principle + .principle {
    padding-left: 17px;
  }
}

@media (max-width: 850px) {
  :root {
    --gutter: clamp(20px, 5.5vw, 42px);
  }

  .site-header {
    min-height: 98px;
  }

  .brand {
    width: 185px;
    min-height: 62px;
  }

  .js .menu-toggle {
    display: inline-flex;
  }

  html:not(.js) .site-header {
    flex-wrap: wrap;
    padding-bottom: 16px;
  }

  html:not(.js) .site-nav {
    flex-wrap: wrap;
  }

  .js .site-nav {
    position: absolute;
    top: calc(100% - 7px);
    right: var(--gutter);
    left: var(--gutter);
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid #396347;
    border-radius: 18px;
    background: var(--dark-deep);
    box-shadow: 0 16px 30px rgb(0 0 0 / 28%);
  }

  .js .site-nav[data-open="true"] {
    display: flex;
    flex-direction: column;
  }

  .site-nav > a:not(.button) {
    padding: 12px 14px;
    font-size: 17px;
  }

  .site-nav .button {
    justify-content: space-between;
    margin-top: 8px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
  }

  .hero__copy {
    align-self: stretch;
    max-width: none;
    padding: 60px var(--gutter) 50px;
  }

  h1 {
    max-width: 730px;
    margin-bottom: 22px;
    font-size: clamp(46px, 7.2vw, 70px);
  }

  .hero__copy > p {
    max-width: 660px;
  }

  .hero__media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1.55;
    clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 100%);
  }

  .section-curve {
    height: 38px;
    margin-top: -20px;
  }

  .purpose,
  .journey,
  .market,
  .donate {
    padding-block: 86px;
  }

  .purpose__intro,
  .journey__grid,
  .market__grid,
  .donate__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .purpose h2,
  .journey h2,
  .market h2,
  .donate h2 {
    max-width: 730px;
    font-size: clamp(43px, 6.4vw, 64px);
  }

  .purpose__media {
    max-height: 540px;
  }

  .principles {
    margin-top: 54px;
  }

  .journey__visual {
    min-height: 0;
    max-height: 580px;
  }

  .journey__media {
    aspect-ratio: 1.45;
    border-radius: 80px 28px 28px 28px;
  }

  .market__media {
    aspect-ratio: 1.5;
  }

  .pix-panel {
    max-width: 540px;
  }

  .site-footer__inner {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 18px 40px;
    padding-block: 30px;
  }

  .site-footer nav {
    width: 100%;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 86px;
  }

  .brand {
    width: 158px;
    min-height: 54px;
  }

  .menu-toggle {
    padding-inline: 12px;
    font-size: 15px;
  }

  .hero__copy {
    padding-top: 42px;
    padding-bottom: 35px;
  }

  h1 {
    font-size: clamp(37px, 9.7vw, 50px);
  }

  .hero__copy > p,
  .purpose__copy > p,
  .section-intro,
  .donate__copy > p {
    font-size: 17px;
    line-height: 1.5;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero__actions .button {
    width: min(100%, 350px);
  }

  .hero__media {
    aspect-ratio: 1.55;
  }

  .hero__media img {
    object-position: 57% center;
  }

  .purpose,
  .journey,
  .market,
  .donate {
    padding-block: 68px;
  }

  .purpose h2,
  .journey h2,
  .market h2,
  .donate h2 {
    margin-bottom: 20px;
    font-size: clamp(38px, 9.9vw, 52px);
  }

  .purpose__media {
    aspect-ratio: 1.22;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 46px;
  }

  .principle,
  .principle + .principle {
    min-height: 89px;
    padding: 15px 0;
    border-left: 0;
    border-top: 1px solid #b7d8b4;
  }

  .principle__number {
    width: 58px;
    font-size: 44px;
  }

  .principle strong {
    font-size: 21px;
  }

  .journey__grid,
  .market__grid,
  .donate__grid {
    gap: 30px;
  }

  .journey__steps {
    gap: 22px;
  }

  .journey__steps li {
    gap: 16px;
  }

  .journey__steps h3,
  .market__steps h3 {
    font-size: 20px;
  }

  .journey__steps p,
  .market__steps p {
    font-size: 16px;
  }

  .journey__visual {
    max-height: none;
  }

  .journey__media {
    aspect-ratio: 1.1;
    border-radius: 66px 24px 24px 24px;
  }

  .journey__callout {
    right: 0;
    bottom: 35px;
    max-width: 145px;
    padding: 13px;
    font-size: 21px;
  }

  .journey__callout strong {
    font-size: 48px;
  }

  .market__steps {
    gap: 25px;
  }

  .market__steps li {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 15px;
  }

  .market__steps li > span {
    font-size: 33px;
  }

  .market__media {
    aspect-ratio: 1.06;
  }

  .pix-panel {
    padding: 30px 20px 24px;
  }

  .pix-panel__art span {
    font-size: 20px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 12px 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
