@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --forest: #173f35;
  --forest-deep: #103129;
  --leaf: #b9d86b;
  --leaf-strong: #82bd57;
  --leaf-light: #e8f2cf;
  --cream: #fbfaf4;
  --paper: #f3f5e9;
  --ink: #1b2925;
  --muted: #63716b;
  --line: #dce4d5;
  --white: #fff;
  --shadow: 0 18px 48px rgba(16, 49, 41, .11);
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
font: 16px/1.7 "Public Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--leaf-strong);
  outline-offset: 4px;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* Hero */
.page-hero {
  position: relative;
  min-height: 486px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 18% 45%, rgba(48, 86, 66, .65), transparent 38%),
    linear-gradient(112deg, #253c36 0%, #41404a 52%, #3b353d 100%);
}

.hero-image {
  position: absolute;
  inset: 0;
  background: url("../images/about/about-banner.jpg") center 42% / cover no-repeat, linear-gradient(120deg, #315c48, #263d36);
  transform: scale(1.02);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 35, 29, .55), rgba(28, 29, 39, .78));
}

.scroll-cue {
    position: absolute;
    bottom: 22px;
    left: 50%;
    z-index: 2;
    width: 25px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 20px;
    transform: translateX(-50%)
}

.scroll-cue span {
    position: absolute;
    top: 8px;
    left: 10px;
    width: 2px;
    height: 8px;
    border-radius: 2px;
    background: var(--leaf);
    animation: scroll 1.5s infinite
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translateY(0)
    }

    35% {
        opacity: 1
    }

    100% {
        opacity: 0;
        transform: translateY(12px)
    }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  padding: 130px 0 62px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  font: 800 clamp(2.4rem, 4.6vw, 3.2rem)/1.1 "Manrope", sans-serif;
  letter-spacing: -.045em;
}

.hero-description {
  max-width: 620px;
  margin: 26px auto 0;
  color: rgba(255, 255, 255, .9);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Intro and partner cards */
.partners-section {
  padding: 72px 0 96px;
  background: var(--cream);
}

.intro-copy {
  max-width: 1180px;
  margin: 0 auto 68px;
}

.intro-copy h2 {
  margin: 0 0 14px;
  color: var(--forest);
  font: 700 clamp(1.4rem, 2.3vw, 1.9rem)/1.35 "Manrope", sans-serif;
}

.intro-copy p {
  color: var(--muted);
  margin: 0 0 18px;
}

.intro-copy .lead {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #668a43;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--forest);
  font: 800 clamp(1.8rem, 3.3vw, 2.5rem)/1.2 "Manrope", sans-serif;
  letter-spacing: -.035em;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
}

.heading-rule {
  display: block;
  width: 58px;
  height: 4px;
  margin: 20px auto 0;
  border-radius: 8px;
  background: var(--leaf-strong);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.partner-card {
  display: grid;
  place-items: center;
  min-height: 182px;
  /* padding: 18px; */
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 49, 41, .045);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  border-color: #b8cf9c;
  box-shadow: var(--shadow);
}

.partner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}


@media (max-width: 1050px) {
  .partners-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {

  .page-hero {
    min-height: 450px;
  }

  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .partner-card {
    min-height: 160px;
    padding: 14px;
  }

  .partner-card img {
    height: 120px;
  }

}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 32px);
  }


  .page-hero {
    min-height: 420px;
  }

  .hero-content {
    padding-top: 128px;
  }

  .hero-description {
    font-size: .96rem;
  }

  .partners-section {
    padding: 52px 0 64px;
  }

  .intro-copy {
    margin-bottom: 48px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .partner-card {
    min-height: 138px;
    padding: 10px;
    border-radius: 10px;
  }

  .partner-card img {
    height: 105px;
  }

}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}