:root {
  color-scheme: light;
  --forest: #183c32;
  --forest-deep: #102c25;
  --paper: #f5f4ed;
  --white: #fffefa;
  --lime: #d7ed71;
  --coral: #e8795b;
  --ink: #1b302a;
  --muted: #68756e;
  --footer-height: 64px;
  --sans: "DM Sans", "Avenir Next", sans-serif;
  --serif: "DM Serif Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--forest);
  color: var(--white);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 44px, 1184px);
  margin: 0 auto;
  padding: 72px 0;
  text-align: center;
  animation: arrive .7s ease-out both;
}

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

.hero h1,
.section-intro h2,
.association h2 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(58px, 8vw, 108px);
  font-weight: 400;
  line-height: .96;
}

.hero h1 em,
.section-intro h2 em,
.association h2 em {
  color: var(--lime);
  font-weight: 400;
}

.hero h1 {
  margin-bottom: 12px;
  font-size: 96px;
  line-height: 1;
}

.hero-tagline {
  margin-bottom: 0;
  color: var(--lime);
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
}

.hero-copy {
  max-width: 480px;
  margin: 70px auto 0;
  color: rgba(255, 254, 250, .88);
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}

.eyebrow {
  margin-bottom: 27px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  padding: 0 19px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease, background-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  background: var(--lime);
  color: var(--forest-deep);
}

.button-light:hover {
  background: #e3f59a;
}

.button span {
  font-size: 17px;
}

.section-wrap {
  width: min(100% - 44px, 1184px);
  margin: 0 auto;
}

.services {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 10vw, 145px);
  padding: clamp(56px, 8svh, 118px) 0;
}

.eyebrow-dark {
  color: #63802e;
}

.section-intro h2,
.association h2 {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.04;
}

.section-intro h2 em {
  color: var(--coral);
}

.section-intro > p:last-child {
  max-width: 350px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.service-list {
  align-self: center;
}

.service-item {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid rgba(24, 60, 50, .18);
}

.service-item:first-child {
  border-top: 1px solid rgba(24, 60, 50, .18);
}

.service-number {
  padding-top: 5px;
  color: #849087;
  font-size: 10px;
  font-weight: 700;
}

.service-item h3 {
  margin-bottom: 7px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.service-item p {
  max-width: 440px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.association {
  min-height: calc(100svh - var(--footer-height) - 1px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--forest);
  color: var(--white);
}

.association-inner {
  position: relative;
  width: min(100% - 44px, 1184px);
  margin: 0 auto;
  padding: 64px 0;
  text-align: center;
}

.association h2 {
  margin-bottom: 30px;
}

.section-next {
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 60, 50, .32);
  border-radius: 50%;
  color: var(--forest);
  font-size: 19px;
  transform: translateX(-50%);
  transition: background-color .2s ease, transform .2s ease;
}

.section-next:hover {
  background: var(--lime);
  transform: translate(-50%, 2px);
}

.hero-next {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-next:hover {
  transform: translate(-50%, -2px);
}

.hero-next:focus-visible,
.section-next:focus-visible,
.footer-top:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

.site-footer {
  min-height: var(--footer-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  background: var(--forest);
}

.footer-top {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 254, 250, .3);
  border-radius: 50%;
  color: var(--white);
}

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

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

@media (max-width: 700px) {
  .hero-content {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-tagline {
    font-size: 22px;
  }

  .hero-copy {
    max-width: 270px;
    margin-top: 52px;
    margin-right: auto;
    margin-left: auto;
    font-size: 14px;
  }

  .services {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: clamp(44px, 7svh, 76px) 0;
  }

  .section-intro h2,
  .association h2 {
    font-size: clamp(42px, 11vw, 58px);
  }

  .section-intro h2 {
    margin-bottom: 14px;
    font-size: clamp(34px, 9.5vw, 58px);
  }

  .section-intro .eyebrow {
    margin-bottom: 16px;
  }

  .section-intro > p:last-child {
    font-size: 13px;
    line-height: 1.65;
  }

  .service-item {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    padding: 14px 0;
  }

  .service-item h3 {
    font-size: 22px;
  }

  .service-item p {
    font-size: 12px;
    line-height: 1.5;
  }

  .section-next {
    bottom: 12px;
  }

  .hero-next {
    bottom: 12px;
  }

  .association h2 {
    margin-bottom: 24px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
