:root {
  --forest: #1c332b;
  --sage: #8fa499;
  --night: #0f1e19;
  --dew: #e2ebe6;
  --snow: #f4f7f5;
  --stone: #6b7370;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--snow); color: var(--forest); font: 400 1rem/1.65 var(--sans); }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); }
h1, h2 { font-weight: 400; letter-spacing: -.025em; }
h1 { font-size: clamp(4rem, 7.3vw, 8rem); line-height: .87; }
h2 { font-size: clamp(3rem, 5.2vw, 5.25rem); line-height: .94; }
h3 { font-size: 1.8rem; line-height: 1.05; font-weight: 500; }
h1 em, h2 em { font-weight: 400; }
[id] { scroll-margin-top: 1.5rem; }
.shell { width: min(100% - 7rem, 86rem); margin-inline: auto; }
.section-pad { padding-block: clamp(5rem, 9.5vw, 9rem); }
.skip { position: absolute; z-index: 3; top: .7rem; left: .7rem; background: var(--snow); padding: .5rem 1rem; transform: translateY(-160%); }
.skip:focus { transform: none; }
.masthead { color: var(--snow); background: var(--forest); border-bottom: 1px solid #8fa49955; }
.header-layout { min-height: 5.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; gap: .75rem; align-items: center; text-decoration: none; flex: none; }
.brand-text { display: grid; align-content: center; font: 500 2rem/.8 var(--serif); letter-spacing: -.02em; }
.brand-text span { font: 500 .63rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; margin-top: .5rem; }
.leaf { position: relative; display: block; width: 1.35rem; height: 2.15rem; color: var(--sage); border: 1px solid currentColor; border-radius: 90% 0 90% 0; transform: rotate(12deg); }
.leaf::after { content: ""; width: 1px; height: 100%; background: currentColor; position: absolute; transform: rotate(30deg); left: 47%; top: 0; }
.navigation { display: flex; align-items: center; gap: clamp(1.3rem, 3.2vw, 3.5rem); }
.navigation a { text-decoration: none; font-size: .9rem; }
.navigation a:hover { text-decoration: underline; text-underline-offset: .4rem; }
.button { display: inline-flex; min-height: 3.05rem; align-items: center; justify-content: center; padding: .68rem 1.2rem; text-decoration: none; font: 500 .9rem/1.3 var(--sans); border: 1px solid transparent; transition: background .2s, color .2s; text-align: center; }
.button-outline { border-color: var(--sage); color: var(--snow); }
.button-outline:hover { background: var(--dew); color: var(--night); }
.button-light { background: var(--dew); color: var(--night); }
.button-light:hover { background: var(--sage); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--snow); }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: center 46%; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, #0f1e19ed 0%, #0f1e19b8 37%, #0f1e194a 75%), linear-gradient(0deg, #0f1e19a8, transparent 46%); }
.hero-layout { min-height: clamp(34rem, 76vh, 52rem); position: relative; display: grid; align-items: center; padding-block: 4.7rem 6rem; }
.hero-copy { max-width: 62rem; }
.eyebrow { font-size: .875rem; line-height: 1.3; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; display: flex; align-items: center; gap: .75rem; margin-bottom: 1.6rem; }
.eyebrow span { width: 1.8rem; height: 1px; background: var(--sage); flex-shrink: 0; }
.hero .eyebrow, .fund-copy .eyebrow, .contact .eyebrow { color: var(--dew); }
.hero h1 em, .contact h2 em { color: var(--dew); }
.lead { font-size: clamp(1.16rem, 1.6vw, 1.4rem); line-height: 1.48; font-weight: 400; }
.hero .lead { max-width: 38rem; margin-top: 1.8rem; color: var(--dew); }
.hero .button { margin-top: 1.65rem; }
.fund-overview { background: var(--dew); }
.stats { margin-block: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 2.1rem; }
.stats div { display: flex; flex-direction: column; padding: .2rem clamp(.8rem, 2.7vw, 2.7rem); border-left: 1px solid #8fa49988; }
.stats div:first-child { padding-left: 0; border-left: 0; }
.stats dd { order: -1; margin: 0 0 .45rem; font: 500 clamp(1.95rem, 3.7vw, 3.85rem)/.95 var(--serif); white-space: nowrap; letter-spacing: -.03em; }
.stats dt { font-size: .9rem; }
.approach { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(2rem, 7vw, 8rem); }
.approach-content > .lead { margin-bottom: 1.9rem; }
.principle { padding-block: 1.1rem; border-top: 1px solid var(--sage); }
.principle p { margin-top: .55rem; }
.fund-section { display: grid; grid-template-columns: 1fr 1fr; background: var(--forest); color: var(--snow); }
.fund-photo { min-height: 26rem; background: url(agroforestry.webp) center center / cover no-repeat, url(forest.webp) 62% center / cover no-repeat; }
.fund-copy { width: min(100%, 48rem); padding: clamp(3rem, 7vw, 7rem) clamp(2rem, 6vw, 6rem); }
.fund-copy .lead { margin-top: 1.35rem; }
.fund-copy p + p { margin-top: 1rem; color: var(--dew); }
.fund-roles { margin: 1.55rem 0 0; }
.fund-roles div { display: grid; grid-template-columns: minmax(7rem, .8fr) 1.2fr; gap: .75rem; padding-block: .72rem; border-top: 1px solid #8fa49966; }
.fund-roles dt { font-weight: 600; }
.fund-roles dd { margin: 0; color: var(--dew); }
.fund-copy .button { margin-top: 1.8rem; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 3.4vw, 3.5rem); margin: clamp(2rem, 4.3vw, 4rem) 0 0; padding: 0; list-style: none; }
.team-member img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: center 14%; background: var(--dew); }
.team-member h3 { margin-top: 1rem; font-size: clamp(1.65rem, 2.45vw, 2.7rem); }
.team-member p { max-width: 28rem; }
.team-role { margin: .35rem 0 .65rem; font-size: .9rem; font-weight: 600; }
.contact { background: var(--forest); color: var(--snow); padding-block: 4.7rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, .68fr); align-items: start; gap: clamp(2.25rem, 6vw, 7rem); }
.contact-layout h2 + p { margin-top: 1rem; color: var(--dew); }
.contact-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sage); }
.contact-list li { border-bottom: 1px solid var(--sage); }
.contact-list a { display: grid; gap: .15rem; padding: .8rem 0; text-decoration: none; }
.contact-email { color: var(--dew); text-decoration: underline; text-underline-offset: .22em; overflow-wrap: anywhere; }
.contact-list a:hover .contact-email { color: var(--snow); text-decoration-thickness: 2px; }
footer { background: var(--night); color: var(--dew); }
.footer-layout { display: grid; grid-template-columns: auto minmax(14rem, 31rem) auto; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: 2rem; }
.footer-layout p, .footer-layout small { font-size: .85rem; }
@media (max-width: 1000px) {
  .shell { width: calc(100% - 4.5rem); }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 2.5rem); }
  .header-layout { display: grid; grid-template-columns: 1fr auto; gap: .8rem; padding-block: .9rem .65rem; }
  .header-layout > .button { grid-area: 1 / 2; min-height: 2.65rem; padding-inline: .8rem; }
  .navigation { grid-column: 1 / -1; justify-content: space-between; gap: .5rem; padding-top: .55rem; border-top: 1px solid #8fa49955; }
  .hero-layout { min-height: 34rem; padding-block: 4rem 5rem; }
  h1 { font-size: clamp(3.2rem, 10.1vw, 4.85rem); }
  .hero-image { object-position: 58% center; }
  .hero::after { background: linear-gradient(90deg, #0f1e19e6, #0f1e195c), linear-gradient(0deg, #0f1e19a8, transparent 46%); }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 1rem; }
  .stats div { padding-block: 1rem; }
  .stats div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid #8fa49988; }
  .approach, .fund-section { grid-template-columns: 1fr; }
  .fund-photo { min-height: clamp(16rem, 52vw, 23rem); }
  .fund-copy { padding: 3.5rem 1.25rem 4rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-layout { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .fund-roles div { grid-template-columns: 1fr; gap: .15rem; }
  .team-grid { grid-template-columns: 1fr; gap: 2.15rem; }
  .team-member img { max-width: 28rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
