/* ============== TOKENS ============== */
:root {
  --cream: #f4eee1;
  --cream-2: #f8f3ea;
  --cream-3: #faf7f0;
  --ink: #1b1b16;
  --olive: #6e6a3a;
  /* logo + nav serif */
  --olive-soft: #8a8450;
  --brown: #8c7044;
  /* warm body text */
  --brown-strong: #6d5530;
  --grey: #9c968a;
  /* small labels */
  --line: #c9b78f;
  /* tan borders */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Poppins', system-ui, -apple-system, sans-serif;
  --inter: 'Inter', system-ui, -apple-system, sans-serif;
  --maxw: 1240px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--inter);
  background: var(--cream-2);
  color: var(--ink);
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 48px;
}

/* ============== NAVBAR ============== */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 48px;
  background: rgba(244, 238, 225, var(--bg-op, .7));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 183, 143, var(--border-op, 0));
  transition: padding .3s ease;
}

.nav2 {
  position: sticky;
  left: 0;
  right: 0;
  top: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 48px;
  background: rgba(244, 238, 225, var(--bg-op, .7));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 183, 143, var(--border-op, 0));
}

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

.brand .emblem {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex: none;
}

.brand .emblem2 {
  width: 140px;
  height: 140px;
  object-fit: contain;
  flex: none;
}

.name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 48px);
  color: var(--olive);
  letter-spacing: .5px;
  line-height: 1;
}

.links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.links>a,
.dropdown-toggle {
  font-family: var(--inter);
  font-size: 17px;
  font-weight: 700;
  color: var(--olive);
  padding: 18px 25px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), background .28s ease, color .28s ease, box-shadow .28s ease;
  white-space: nowrap;
}

.dropdown-toggle {
  display: inline-block;
}

.links>a:hover,
.dropdown-toggle:hover,
.nav-dropdown:focus-within .dropdown-toggle {
  transform: scale(1.09);
  box-shadow: 0 10px 24px -10px rgba(110, 106, 58, .6);
}

.links>a.donate {
  color: var(--cream-2);
  background: var(--brown);
  border-color: rgba(109, 85, 48, .72);
  box-shadow: 0 0 0 3px rgba(201, 183, 143, .28), 0 14px 30px -14px rgba(109, 85, 48, .9);
}

.links>a.donate:hover,
.links>a.donate:focus-visible {
  background: var(--brown-strong);
  box-shadow: 0 0 0 4px rgba(201, 183, 143, .42), 0 0 28px rgba(140, 112, 68, .36), 0 18px 34px -16px rgba(109, 85, 48, .95);
}


.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  appearance: none;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 120;
  display: flex;
  flex-direction: column;
  min-width: 190px;
  padding: 8px;
  background: rgba(244, 238, 225, .96);
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 18px 36px -24px rgba(27, 27, 22, .55);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  gap: 6px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  font-family: var(--inter);
  font-size: 16px;
  font-weight: 700;
  color: var(--olive);
  border-radius: 4px;
  white-space: nowrap;
  transition: background .22s ease, color .22s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: rgba(201, 183, 143, .22);
}

/* hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--olive);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* full-screen mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(244, 238, 225, .92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.menu-close span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--olive);
  border-radius: 2px;
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(300px, 82%);
}

.mobile-menu a {
  font-family: var(--inter);
  font-size: 18px;
  font-weight: 700;
  color: var(--olive);
  text-align: center;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 5px;
  transform: translateY(20px);
  opacity: 0;
  transition: background .25s ease, color .25s ease;
}

.mobile-menu.open a {
  animation: menuIn .45s cubic-bezier(.16, .84, .32, 1) forwards;
}

.mobile-menu.open a:nth-child(1) {
  animation-delay: .05s;
}

.mobile-menu.open a:nth-child(2) {
  animation-delay: .10s;
}

.mobile-menu.open a:nth-child(3) {
  animation-delay: .15s;
}

.mobile-menu.open a:nth-child(4) {
  animation-delay: .20s;
}

.mobile-menu.open a:nth-child(5) {
  animation-delay: .25s;
}

.mobile-menu a:active {
  background: var(--olive);
  color: var(--cream-2);
}

.mobile-menu a[href="#donate"] {
  color: var(--cream-2);
  background: var(--brown);
  border-color: rgba(109, 85, 48, .72);
  box-shadow: 0 0 0 3px rgba(201, 183, 143, .32), 0 14px 30px -16px rgba(109, 85, 48, .9);
}

@keyframes menuIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

body.menu-open {
  overflow: hidden;
}

/* ============== HERO ============== */
.hero {
  position: relative;
  height: 88vh;
  min-height: 620px;
  overflow: hidden;
}

.hero-bg,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vision-title {
  animation: rise-up .9s cubic-bezier(.16, .84, .32, 1) both;
  /* font-family: var(--serif); */
}

.hero-bg {
  background: url('/assets/heroVid-bg.png') center/cover no-repeat;
  animation: kenburns 26s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from {
    transform: scale(1) translate(0, 0);
  }

  to {
    transform: scale(1.12) translate(-1.5%, -1.5%);
  }
}

.hero-video {
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-video.ready {
  opacity: 1;
}

.hero::after {
  /* subtle vignette so white text reads */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .15) 100%);
  pointer-events: none;
}

.hero-title {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: .04em;
  line-height: 1.04;
  font-size: clamp(46px, 9vw, 128px);
  text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
  padding: 0 24px;
}

/* ============== INTRO ============== */
.intro {
  padding: 90px 0 40px;
}

.intro-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--olive);
  text-align: center;
  margin-bottom: 50px;
}

.intro-hero {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 80px;
}

.intro-quote {
  grid-column: span 2;
  font-family: var(--sans);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(0.89rem, 2.2vw, 1.6rem);
  line-height: 1.3;
  color: var(--brown-strong);
}

.intro-quote .mark {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--brown);
}

.intro-photo {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============== STATS + MISSION ============== */
.stats {
  padding: 120px 0 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
  margin-top: 0;
}

.stat .num {
  font-family: var(--inter);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 55px);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.02em;
}

.stat .label {
  margin-top: 14px;
  font-weight: 600;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--grey);
}

.footnote {
  text-align: center;
  margin-top: 34px;
  font-size: 14px;
  color: var(--ink);
}

.mission {
  max-width: 980px;
  margin: 80px auto 0;
  text-align: center;
  font-family: var(--inter);
  font-style: italic;
  font-size: clamp(26px, 3.4vw, 30px);
  line-height: 1.6;
  color: var(--brown);
}

.mission em {
  font-style: italic;
  color: var(--olive);
  font-weight: 500;
}


/* ============== CLIMATE ============== */
.climate {
  padding: 40px 0 60px;
  position: relative;
}

.climate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 90px;
  row-gap: 60px;
  align-items: start;
}

.climate .our-mission {
  display: block;
}

/* desktop placement: tall forest spans the left; polar + para1 stack right; planting + para2 below */
.c-forest {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.c-polar {
  grid-column: 2;
  grid-row: 1;
}

.c-para1 {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
}

.c-plant {
  grid-column: 1;
  grid-row: 3;
}

.c-para2 {
  grid-column: 2;
  grid-row: 3;
  align-self: center;
}

.photo {
  border-radius: 2px;
  overflow: hidden;
}

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

.photo.tall {
  aspect-ratio: 3/3.4;
}

.photo.field {
  aspect-ratio: 4/3.1;
}

/* the icy polar-bear plate sits at the top of the right column */
.polar {
  width: 100%;
  aspect-ratio: 16/11;
  border-radius: 2px;
  margin: 0;
  background:
    linear-gradient(180deg, #cfe0e6 0%, #b9d2dc 40%, #9fc0cd 100%);
  position: relative;
  overflow: hidden;
}

.polar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.body-text {
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.85;
  color: var(--brown);
  font-weight: 400;
}

.body-text strong {
  color: var(--brown-strong);
  font-weight: 700;
}

.body-text .lead {
  font-style: italic;
  font-weight: 700;
  color: var(--brown-strong);
}

/* ============== TESTIMONIAL ============== */
.testimonial {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 48px;
  overflow: hidden;
}

.testimonial-bg {
  position: absolute;
  inset: 0;
  background: url("assets/Picture14.jpg") center/cover no-repeat;
}

.testimonial-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 16, .32);
}

.quote-card {
  position: relative;
  background: var(--cream-2);
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 64px 60px 56px;
  border-radius: 2px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .45);
}

.quote-card .mark {
  font-family: var(--serif);
  font-size: 120px;
  line-height: .5;
  color: var(--olive);
  margin-bottom: 30px;
  display: block;
}

.quote-card p {
  font-family: var(--sans);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.5;
  color: var(--olive);
  font-weight: 500;
}

.quote-card .by {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  justify-content: flex-end;
}

.quote-card .by .rule {
  width: 140px;
  height: 1px;
  background: var(--olive);
}

.quote-card .by span {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--olive);
}

/* ============== SPONSOR + FOOTER ============== */
.sponsor {
  text-align: center;
  font-weight: 500;
  color: var(--grey);
  font-size: clamp(15px, 1.5vw, 20px);
  padding: 70px 24px;
}

.footer {
  padding: 20px 0 5px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 30px;
}

.contact-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 15px;
  color: var(--olive);
  font-size: clamp(16px, 1.7vw, 22px);
  transition: background .25s ease;
}

.contact-grid a:first-child {
  border-right: 1px solid var(--line);
}

.contact-grid a:hover {
  background: rgba(201, 183, 143, .16);
}

.contact-grid svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--olive);
}

.copyright {
  color: var(--grey);
  font-size: 15px;
}

.legal {
  display: flex;
  gap: 34px;
}

.legal a {
  color: var(--olive);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal a:hover {
  color: var(--brown-strong);
}

/* ============== SCROLL REVEAL ============== */
.reveal {
  opacity: 0;
  transition: opacity 1s ease, transform 1s cubic-bezier(.16, .84, .32, 1);
  will-change: transform, opacity;
}

.reveal.left {
  transform: translateX(-70px);
}

.reveal.right {
  transform: translateX(70px);
}

.reveal.up {
  transform: translateY(60px);
}

.reveal.scale {
  transform: scale(.84);
}

.reveal.rotate {
  transform: translateY(50px) rotate(-4deg);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============== ABOUT US ============== */

.our-mission {
  padding: 40px 24px 80px;
  display: flex;
  justify-content: center;
}

.mission-elements {
  max-width: 1200px;
  background: var(--cream-2);
  padding: 0 50px;
}

.our-mission h1 {
  text-align: center;
  font-size: clamp(3.2rem, 6vw, 5.3rem);
  margin-bottom: 60px;
  color: var(--brown-strong);
  font-family: var(--serif);
}

.our-mission h2 {
  font-family: var(--inter);
  font-size: 30px;
  line-height: 1.08;
  color: var(--brown);
  margin: 42px 0 20px;
}

/* .our-mission h3 {
  font-family: var(--inter);
  font-size: 30px;
  line-height: 1.08;
  color: var(--olive);
  margin: 42px 0 20px;
} */

.our-mission h3:first-of-type {
  margin-top: 0;
}

.our-mission p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: left;
  color: var(--brown-strong);
  margin-bottom: 20px;
}

.our-mission strong {
  color: var(--brown);
}

.teamImage {
  align-items: center;
  justify-content: center;
  display: flex;
}

.teamPic {
  height: 350px;
}

.teamDiv {
  display: flex;
  justify-content: space-between;
}

.teamText {
  font-family: var(--inter);
  width: 60%;
}

.teamName {
  font-size: 50px !important;
  color: var(--brown-strong) !important;
  font-style: italic;
}

/* ============== TEAM PAGE ============== */
.team-page {
  padding: 0 0 100px;
}

/* section titles with a line */
.team-section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  color: var(--brown-strong);
  margin: 80px 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.team-section-intro {
  font-family: var(--inter);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--brown);
  margin-bottom: 36px;
  max-width: 860px;
}

.team-section-intro a {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* featured member (founder + advisor) */
.team-featured {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 60px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 20px 50px -30px rgba(27, 27, 22, .3);
}

.team-featured.advisor {
  margin-top: 10px;
}

.team-featured-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream-3);
}

.team-featured-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-featured-info .team-role-tag {
  font-family: var(--inter);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 10px;
}

.team-featured-info h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--brown-strong);
  margin-bottom: 18px;
  line-height: 1.1;
}

.team-featured-info p {
  font-family: var(--inter);
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--brown);
}

/* core team card grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 20px;
}

.team-card {
  display: flex;
  gap: 24px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -26px rgba(27, 27, 22, .35);
}

.team-card-photo {
  width: 130px;
  flex: none;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-3);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-info .team-role-tag {
  font-family: var(--inter);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 6px;
}

.team-card-info h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  color: var(--brown-strong);
  margin-bottom: 10px;
  line-height: 1.1;
}

.team-card-info p {
  font-family: var(--inter);
  font-size: .95rem;
  line-height: 1.7;
  color: var(--brown);
}

/* group photo */
.team-group-photo {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/7;
  background: var(--cream-3);
}

.team-group-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width:900px) {
  .team-featured {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }

  .team-featured-info p {
    font-size: 1rem;
  }

  .team-featured-photo {
    max-width: 240px;
    margin: 0 auto;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    flex-direction: column;
    align-items: center;
  }

  .team-card-photo {
    width: 160px;
  }

  .team-card-info h3 {
    text-align: center;
  }

  .team-card-info .team-role-tag {
    text-align: center;
  }

  .team-section-title {
    margin-top: 50px;
  }

  .team-group-photo {
    aspect-ratio: 16/10;
  }

  .team-section-intro {
    font-size: 1.1rem;
  }
}


/* ============== GALLERY ============== */

.gallery {
  padding: 40px 24px 80px;
  background: var(--cream-2);
}

.gallery-elements {
  max-width: var(--maxw);
  margin: 0 auto;
}

.gallery h1 {
  font-family: var(--serif);
  font-weight: 500;
  text-align: center;
  font-size: clamp(3.2rem, 6vw, 5.3rem);
  line-height: 1;
  margin-bottom: 72px;
  color: var(--brown-strong);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(32px, 5vw, 72px);
}

.gallery-item {
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--cream);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.objTop {
  object-position: top;
}

/* ============== CONTACT US ============== */
.contact-head {
  background: var(--cream-2);
  text-align: center;
  padding: 40px 24px 80px;
}

.contact-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--brown-strong);
  font-size: clamp(3.2rem, 6vw, 5.3rem);
  line-height: 1;
}

.contact {
  padding: 20px 0 90px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: stretch;
  /* photo stretches to match the form height */
}

/* --- form column --- */
.contact-heading {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--brown-strong);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 34px;
}

.contact-heading em {
  font-style: italic;
  color: var(--brown);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start !important;
}

.field label {
  font-family: var(--inter);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field textarea {
  font-family: var(--inter);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 16px;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--grey);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(110, 106, 58, .14);
}

.submit-btn {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--cream-2);
  background: var(--brown);
  border: none;
  border-radius: 3px;
  padding: 14px 24px;
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
  transition: background .25s ease;
}

.submit-btn:hover {
  background: var(--brown-strong);
}

.form-terms {
  font-family: var(--inter);
  font-size: 15px;
  color: var(--brown);
  margin-top: 18px;
}

.form-terms a {
  color: var(--brown-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- photo column --- */
.contact-image {
  border-radius: 2px;
  overflow: hidden;
  min-height: 520px;
  background: linear-gradient(160deg, #9bbf6f 0%, #5f8f3f 100%);
  /* fallback if image missing */
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- email line --- */
.contact-email {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--brown);
  margin-top: 80px;
}

.contact-email a {
  color: var(--brown-strong);
}

.contact-email a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =====================================================================
   SHEET-BACKED FORMS  (volunteer / partnership / donation)
   Link this AFTER style.css:  <link rel="stylesheet" href="/stem-new/forms.css">
   ===================================================================== */

.vol-form-section {
  padding: 10px 0 90px;
}

.vol-form-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* lead banne */
.vol-banner {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 46px;
  aspect-ratio: 16 / 6;
  background: linear-gradient(160deg, #9bbf6f, #5f8f3f);
}

.vol-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vol-form-head {
  text-align: center;
  margin-bottom: 38px;
}

.vol-form-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--brown-strong);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.vol-form-head h2 em {
  font-style: italic;
  color: var(--brown);
}

.vol-form-head p {
  font-family: var(--inter);
  color: var(--brown);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 12px;
}

/* the form as a card */
.vform {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(26px, 4vw, 52px);
  box-shadow: 0 30px 60px -45px rgba(27, 27, 22, .4);
}

.vf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* honeypot */

/* section subheadings split the long form into digestible groups */
.vform-subhead {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--brown-strong);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  margin: 10px 0 20px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.vform-subhead:not(:first-of-type) {
  margin-top: 42px;
}

/* short fields sit two-up; long ones span the row via .full */
.vform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
}

.vf-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.vf-field.full {
  grid-column: 1 / -1;
}

.vf-field label,
.vf-label {
  font-family: var(--inter);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.vform input[type="text"],
.vform input[type="email"],
.vform input[type="tel"],
.vform textarea,
.vform select {
  font-family: var(--inter);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.vform textarea {
  min-height: 110px;
  resize: vertical;
}

.vform input:focus,
.vform textarea:focus,
.vform select:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(110, 106, 58, .14);
}

.vform select {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236e6a3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

/* checkbox / radio groups */
.vf-choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 22px;
  margin-top: 4px;
}

.vf-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--inter);
  font-size: 15px;
  color: var(--brown-strong);
  cursor: pointer;
}

.vf-choice input {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--olive);
  cursor: pointer;
}

/* agreement line gets a tinted box so it reads as a confirmation */
.vf-agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--inter);
  font-size: 15px;
  line-height: 1.6;
  color: var(--brown-strong);
  background: var(--cream-3);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  cursor: pointer;
}

.vf-agree input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--olive);
  cursor: pointer;
}

.vform-submit {
  margin-top: 36px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--cream-2);
  background: var(--brown);
  border: none;
  border-radius: 8px;
  padding: 15px 44px;
  cursor: pointer;
  transition: background .25s ease, opacity .25s ease;
}

.vform-submit:hover {
  background: var(--brown-strong);
}

.vform-submit:disabled {
  opacity: .65;
  cursor: default;
}

/* shared success panel (revealed by forms.js after submit) */
.form-thanks {
  max-width: 640px;
  margin: 0 auto 30px;
  padding: 44px 40px;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.form-thanks h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--brown-strong);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}

.form-thanks p {
  font-family: var(--inter);
  color: var(--brown);
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .vform-grid {
    grid-template-columns: 1fr;
  }

  .vf-choices {
    grid-template-columns: 1fr;
  }

  .vform-submit {
    width: 100%;
  }

  .vol-banner {
    aspect-ratio: 16 / 9;
    margin-bottom: 32px;
  }
}

/* ============== SERVICES PAGE ============== */
.services-intro {
  max-width: 780px;
  margin: 0 auto 70px;
  text-align: center;
  font-family: var(--inter);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.8;
  color: var(--brown);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 110px;
  padding-bottom: 120px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 48px;
}

.service-row.flip .service-photo {
  order: 2;
}

.service-row.flip .service-copy {
  order: 1;
}

.service-photo {
  position: relative;
  aspect-ratio: 5/4;
  overflow: hidden;
  border-radius: 4px;
  background: var(--cream-3);
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* small olive badge tucked at the top-left of every photo */
.service-badge {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brown);
  color: var(--cream-2);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  border-radius: 50%;
  box-shadow: 0 12px 24px -12px rgba(109, 85, 48, 0.6);
  z-index: 2;
}

.service-eyebrow {
  font-family: var(--inter);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 14px;
}

.service-copy h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.05;
  color: var(--brown-strong);
  margin-bottom: 22px;
}

.service-copy p {
  font-family: var(--inter);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--brown);
  margin-bottom: 14px;
}

/* CTA strip at the end */
.services-cta {
  background: var(--cream-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 24px;
  text-align: center;
}

.services-cta h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--brown-strong);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  margin-bottom: 14px;
}

.services-cta p {
  font-family: var(--inter);
  color: var(--brown);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.services-cta-buttons {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.services-cta a {
  display: inline-block;
  font-family: var(--inter);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--brown);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.services-cta a.primary {
  color: var(--cream-2);
  background: var(--brown);
  border-color: var(--brown);
}

.services-cta a:hover {
  transform: translateY(-2px);
  background: var(--brown-strong);
  color: var(--cream-2);
}

.services-cta a.primary:hover {
  background: var(--brown-strong);
  border-color: var(--brown-strong);
}

@media (max-width: 900px) {

  .services-intro {
    padding: 0 24px;
  }

  .services-list {
    gap: 70px;
    padding-bottom: 80px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 22px;
  }

  .service-row.flip .service-photo {
    order: 0;
  }

  .service-row.flip .service-copy {
    order: 0;
  }

  .service-badge {
    width: 54px;
    height: 54px;
    font-size: 1.3rem;
    top: -14px;
    left: -14px;
  }

  .services-cta p {
    font-size: 0.85rem;

  }

  .services-cta a {
    padding: 10px 24px;
  }

}


/* ============== GET INVOLVED ============== */
.involve {
  padding: 0px 0 100px;
}

.involve-intro {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
  font-family: var(--inter);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--brown);
}

.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  align-items: stretch;
  /* all cards equal height */
}

.involve-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--cream-3);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 48px 34px;
  transition: opacity .7s ease,
    transform .4s cubic-bezier(.16, .84, .32, 1),
    box-shadow .35s ease;
}

.involve-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -30px rgba(27, 27, 22, .42);
}

.involve-icon {
  width: 58px;
  height: 58px;
  color: var(--olive);
  margin-bottom: 22px;
}

.involve-card h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  color: var(--brown-strong);
  margin-bottom: 16px;
}

.involve-card p {
  font-family: var(--inter);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--brown);
  margin-bottom: 30px;
}

.involve-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  /* pins buttons to the bottom so they line up */
  font-family: var(--inter);
  font-weight: 600;
  font-size: 15px;
  color: var(--olive);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 13px 22px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.involve-btn:hover {
  background: var(--olive);
  color: var(--cream-2);
  box-shadow: 0 10px 24px -12px rgba(110, 106, 58, .6);
}

.involve-btn .arrow {
  transition: transform .25s ease;
}

.involve-btn:hover .arrow {
  transform: translateX(4px);
}

.volunteer-intro-section {
  padding: 20px 0 55px;
}

.volunteer-intro {
  max-width: 850px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.5;
  color: var(--brown);
}

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

.benefit-card {
  background: var(--cream-3);
  border: 1px solid var(--line);
  padding: 32px;
  text-align: center;
  border-radius: 6px;
}

.benefit-card h3 {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--brown-strong);
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--brown);
  line-height: 1.7;
}


@media(max-width:900px) {

  .benefits-grid {
    grid-template-columns: 1fr;
  }

}

/* =====================================================================
   SHEET-BACKED FORMS  (volunteer / partnership / donation)
   Link this AFTER style.css:  <link rel="stylesheet" href="/stem-new/forms.css">
   ===================================================================== */

.vol-form-section {
  padding: 10px 0 90px;
}

.vol-form-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* lead banner (uses your photo; hides itself if the image is missing) */
.vol-banner {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 46px;
  aspect-ratio: 16 / 6;
  background: linear-gradient(160deg, #9bbf6f, #5f8f3f);
}

.vol-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vol-form-head {
  text-align: center;
  margin-bottom: 38px;
}

.vol-form-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--brown-strong);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.vol-form-head h2 em {
  font-style: italic;
  color: var(--brown);
}

.vol-form-head p {
  font-family: var(--inter);
  color: var(--brown);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 12px;
}

/* the form as a card */
.vform {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(26px, 4vw, 52px);
  box-shadow: 0 30px 60px -45px rgba(27, 27, 22, .4);
}

.vf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* honeypot */

/* section subheadings split the long form into digestible groups */
.vform-subhead {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--brown-strong);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.vform-subhead:not(:first-of-type) {
  margin-top: 42px;
}

/* short fields sit two-up; long ones span the row via .full */
.vform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
}

.vf-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.vf-field.full {
  grid-column: 1 / -1;
}

.vf-field label,
.vf-label {
  font-family: var(--inter);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.vform input[type="text"],
.vform input[type="email"],
.vform input[type="tel"],
.vform textarea,
.vform select {
  font-family: var(--inter);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.vform textarea {
  min-height: 110px;
  resize: vertical;
}

.vform input:focus,
.vform textarea:focus,
.vform select:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(110, 106, 58, .14);
}

.vform select {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236e6a3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

/* checkbox / radio groups */
.vf-choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 22px;
  margin-top: 4px;
}

.vf-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--inter);
  font-size: 15px;
  color: var(--brown-strong);
  cursor: pointer;
}

.vf-choice input {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--olive);
  cursor: pointer;
}

/* agreement line gets a tinted box so it reads as a confirmation */
.vf-agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--inter);
  font-size: 15px;
  line-height: 1.6;
  color: var(--brown-strong);
  background: var(--cream-3);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  cursor: pointer;
}

.vf-agree input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--olive);
  cursor: pointer;
}

.vform-submit {
  margin-top: 36px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--cream-2);
  background: var(--brown);
  border: none;
  border-radius: 8px;
  padding: 15px 44px;
  cursor: pointer;
  transition: background .25s ease, opacity .25s ease;
}

.vform-submit:hover {
  background: var(--brown-strong);
}

.vform-submit:disabled {
  opacity: .65;
  cursor: default;
}

/* shared success panel (revealed by forms.js after submit) */
.form-thanks {
  max-width: 640px;
  margin: 0 auto 30px;
  padding: 44px 40px;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.form-thanks h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--brown-strong);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}

.form-thanks p {
  font-family: var(--inter);
  color: var(--brown);
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .vform-grid {
    grid-template-columns: 1fr;
  }

  .vf-choices {
    grid-template-columns: 1fr;
  }

  .vform-submit {
    width: 100%;
  }

  .vol-banner {
    aspect-ratio: 16 / 9;
    margin-bottom: 32px;
  }
}

/* ---------- conditional sections (shown/hidden by forms.js) ---------- */
.cond-section {
  animation: condIn .45s cubic-bezier(.16, .84, .32, 1) both;
}

.cond-section.is-hidden {
  display: none;
}

.cond-note {
  font-family: var(--inter);
  font-size: 13px;
  color: var(--grey);
  margin: -10px 0 18px;
}

@keyframes condIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ============== PARTNERS PAGE ============== */
.partners-intro {
  max-width: 780px;
  margin: 0 auto 70px;
  padding: 0 24px;
  text-align: center;
  font-family: var(--inter);
  font-size: clamp(0.9rem, 1.6vw, 1.2rem);
  line-height: 1.8;
  color: var(--brown);
}

.partners-section {
  padding: 0 0 100px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 48px;
}

.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px 30px 36px;
  text-align: center;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -28px rgba(27, 27, 22, .38);
}

/* logo placeholder*/
.partner-logo {
  width: 180px;
  height: 150px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-3);
  border: 1px dashed var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 5px;
}

/* once you add a real logo, remove the dashed border: */
.partner-logo.has-logo {
  border: none;
  background: transparent;
}

.partner-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.15;
  color: var(--brown-strong);
  margin-bottom: 8px;
}

.partner-card .partner-type {
  font-family: var(--inter);
  font-size: .80rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 14px;
}

.partner-card p {
  font-family: var(--inter);
  font-size: .9rem;
  line-height: 1.7;
  color: var(--brown);
}

/* featured / wide card for the first partner or a highlight */
.partner-card.wide {
  grid-column: 1 / -1;
  max-width: 680px;
  justify-self: center;
}

/* logo strip */
.partners-logos-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 45px;
  max-width: var(--maxw);
  margin: 80px auto 0;
  padding: 0 48px;
  border-top: 1px solid var(--line);
  padding-top: 60px;
}

.partners-logos-strip img {
  height: 80px;
  width: auto;
  opacity: .7;
  filter: grayscale(30%);
  transition: opacity .3s ease, filter .3s ease;
}

.partners-logos-strip img:hover {
  opacity: 1;
  filter: none;
}

@media(max-width:900px) {
  .partners-grid {
    grid-template-columns: 1fr;
    padding: 0 22px;
    gap: 24px;
  }

  .partner-card.wide {
    max-width: 100%;
  }

  .partners-logos-strip {
    gap: 32px;
    padding: 0 22px;
    padding-top: 40px;
    margin-top: 50px;
  }

  .partners-logos-strip img {
    height: 44px;
  }

  .partner-card p {
    font-size: .8rem;
  }

  .partner-logo {
    width: 180px;
    height: 130px
  }
}



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

.donate-tier {
  position: relative;
  display: block;
  padding: 18px 20px 18px 54px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.donate-tier input {
  position: absolute;
  top: 22px;
  left: 20px;
  width: 20px;
  height: 20px;
  accent-color: var(--olive);
  cursor: pointer;
}

.donate-tier .tier-amt {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--brown-strong);
}

.donate-tier .tier-name {
  font-family: var(--inter);
  font-weight: 700;
  color: var(--olive);
  font-size: 0.95rem;
  margin: 2px 0 4px;
}

.donate-tier .tier-desc {
  font-family: var(--inter);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--brown);
}

.donate-tier:hover {
  border-color: var(--olive);
}

.donate-tier:has(input:checked) {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(140, 112, 68, 0.18);
  background: var(--cream-3);
}

.donate-custom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 20px;
}

.donate-custom input[type="radio"] {
  position: static;
}

.donate-custom .currency {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
}

.donate-custom .currency span {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--brown-strong);
}

.donate-custom .currency input[type="number"] {
  border: none;
  outline: none;
  font-family: var(--inter);
  font-size: 1.05rem;
  width: 100%;
  padding: 6px 0;
}

/* frequency pills */
.donate-freq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.freq-pill {
  position: relative;
  display: block;
  padding: 20px 24px 20px 54px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.freq-pill input {
  position: absolute;
  top: 24px;
  left: 20px;
  width: 20px;
  height: 20px;
  accent-color: var(--olive);
  cursor: pointer;
}

.freq-pill .freq-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--brown-strong);
}

.freq-pill .freq-sub {
  font-family: var(--inter);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--brown);
  margin-top: 4px;
}

.freq-pill:has(input:checked) {
  border-color: var(--brown);
  background: var(--cream-3);
  box-shadow: 0 0 0 3px rgba(140, 112, 68, 0.18);
}

.pay-note {
  font-family: var(--inter);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--brown);
  background: var(--cream-3);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 14px 18px;
}

@media (max-width: 640px) {
  .donate-tiers {
    grid-template-columns: 1fr;
  }

  .donate-freq {
    grid-template-columns: 1fr;
  }
}


/* ============== RESPONSIVE ============== */
@media (max-width:900px) {

  .wrap,
  .nav {
    padding-left: 22px;
    padding-right: 22px;
    max-width: 100%;
    gap: 12px;
  }

  .links {
    display: none;
  }

  .mobile-menu .links {
    display: flex;
  }

  .brand {
    flex: 1 1 auto;
    gap: 12px;
  }

  .hamburger {
    display: flex;
  }

  .brand .emblem {
    width: 60px;
    height: 60px;
  }

  .brand .emblem2 {
    width: 90px;
    height: 90px;
  }

  .brand .name {
    font-size: clamp(22px, 7vw, 26px);
  }

  /* hero: short banner at top, nav bar docks directly beneath it */
  .hero {
    height: 46vh;
    min-height: 300px;
  }

  .hero-title {
    top: 54%;
    left: 0;
    right: 0;
    text-align: left;
    padding: 0 30px;
    font-size: clamp(28px, 9vw, 44px);
  }

  /* stats stay 3-across, just smaller */
  .stats {
    padding: 48px 0 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    align-items: start;
    min-width: 0;
  }

  .stat {
    min-width: 0;
  }

  .stat .num {
    font-size: clamp(24px, 8vw, 40px);
    overflow-wrap: anywhere;
  }

  .stat .label {
    font-size: 12px;
    margin-top: 8px;
  }

  .footnote {
    margin-top: 24px;
  }

  .mission {
    margin-top: 48px;
    font-size: clamp(17px, 4.1vw, 22px);
    line-height: 1.5;
  }

  .mission-elements {
    padding: 30px;
  }

  /* climate: single column, photos full width, text centered, re-ordered to match mobile design */
  .climate {
    padding: 30px 0 40px;
  }

  .climate-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .c-forest,
  .c-polar,
  .c-plant {
    grid-column: auto;
    grid-row: auto;
  }

  .photo.tall {
    aspect-ratio: 1/1.05;
  }

  .photo.field {
    aspect-ratio: 4/3;
  }

  .polar {
    aspect-ratio: 16/10;
  }

  .body-text {
    padding-left: 10px;
  }

  .gallery {
    padding: 64px 22px;
  }

  .gallery h2 {
    margin-bottom: 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 28px;
  }

  .c-polar {
    order: 1;
  }

  .c-para1 {
    order: 2;
  }

  .c-forest {
    order: 3;
  }

  .c-para2 {
    order: 4;
  }

  .c-plant {
    order: 5;
  }

  .testimonial {
    min-height: auto;
    padding: 70px 22px;
  }

  .quote-card {
    padding: 48px 32px 40px;
  }

  /* contact buttons stack vertically */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid a:first-child {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 18px;
  }

  .our-mission h1 {
    text-align: middle;
    margin-bottom: 30px;
  }

  .our-mission h2 {
    font-size: 24px;
    margin: 25px 0 20px;
  }

  .our-mission p {
    font-size: 18px;
  }

  .legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .teamDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .teamText {
    width: 100%;
  }

  .teamName {
    font-size: 30px !important;
  }

  .contact-head {
    padding: 40px 22px 20px;
  }

  .contact-head h1 {
    font-size: clamp(3rem, 9vw, 3rem);
  }

  .contact {
    padding: 30px 0 60px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-image {
    min-height: 320px;
  }

  .contact-email {
    margin-top: 50px;
  }

  .involve {
    padding: 50px 0 60px;
  }

  .involve-intro {
    margin-bottom: 36px;
  }

  .involve-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .intro {
    padding: 50px 0 20px;
  }

  .intro-title {
    font-size: clamp(2.4rem, 9vw, 3rem);
    margin-bottom: 30px;
  }

  .intro-quote {
    text-align: center;
    line-height: 1.1;
  }

  .intro-quote .mark {
    font-size: 2rem;
  }

  .intro-hero {
    grid-template-columns: 1fr;
    margin-bottom: 50px;
  }
}