:root {
  color-scheme: light;
  --green: #9fb978;
  --green-light: #eaefe3;
  --ink: #292929;
  --muted: #808080;
  --line: #dce6ff;
  --font: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

.page-wrap {
  width: min(100% - 120px, 1320px);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 124px;
  margin: 0;
  padding-inline: max(60px, calc((100% - 1320px) / 2));
  transition: height 220ms ease, background-color 220ms ease, color 220ms ease;
}

.has-hero .site-header {
  color: #fff;
}

.site-header.is-scrolled {
  height: 88px;
  color: #fff;
  background: var(--green);
}

.site-header.is-scrolled .site-logo {
  filter: none;
}

body:not(.has-hero) .site-header:not(.is-scrolled) .site-logo {
  filter: brightness(0);
}

body:not(.has-hero) main {
  padding-top: 124px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  width: 136px;
  min-height: 32px;
  text-decoration: none;
}

.site-logo img {
  width: 136px;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

.site-logo span,
.site-footer__brand span,
.site-intro span {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -1.5px;
}

.site-logo strong,
.site-footer__brand strong,
.site-intro strong {
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.9vw, 56px);
  margin-right: auto;
  margin-left: clamp(90px, 20vw, 290px);
}

.desktop-nav a {
  font-size: 14px;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.desktop-nav a:hover {
  opacity: 0.65;
}

.menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

.home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(56.7vw, 816px);
  overflow: hidden;
  color: #fff;
  background-color: #727d79;
  background-image: var(--hero-image);
  background-position: center 48%;
  background-size: cover;
}

.home-hero__shade,
.contact-banner__shade {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 40%);
}

.home-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: center;
  gap: 48px;
  padding-top: 85px;
}

.home-hero h1 {
  max-width: 950px;
  margin: 60px 0 0;
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -2px;
}

.home-hero__aside {
  max-width: 465px;
  margin-top: 114px;
}

.home-hero__aside p,
.contact-banner__content p {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button--outline:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.home-hero .button--outline {
  border-color: var(--green);
}

.button--dark {
  color: var(--ink);
  border-color: var(--ink);
}

.button--dark:hover {
  color: #fff;
  background: var(--ink);
}

.story-section {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: clamp(72px, 9vw, 150px);
  padding-block: 145px;
}

.story-section--intro {
  min-height: 830px;
  padding-top: 105px;
  padding-bottom: 90px;
}

.story-section--definition {
  grid-template-columns: 0.75fr 1fr;
  min-height: 815px;
  padding-top: 30px;
  padding-bottom: 135px;
}

.story-section__copy {
  max-width: 660px;
}

.section-number,
.eyebrow {
  display: block;
  margin-bottom: 38px;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
}

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

.story-section h2,
.profile-teaser h2,
.method-section h2,
.financing-section h2,
.contact-banner h2,
.legal-page h1,
.pricing-contact h2,
.profile-page__content h1,
.pricing-intro > h1,
.pricing-card h2,
.legal-page h2 {
  margin-bottom: 35px;
  font-size: clamp(38px, 4.8vw, 68px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -1.8px;
}

.story-section h2 strong,
.profile-teaser h2 strong,
.method-section h2 strong,
.financing-section h2 strong,
.contact-banner h2 strong,
.legal-page h1 strong,
.legal-page h2 strong,
.pricing-contact h2 strong,
.profile-page__content h1 strong,
.pricing-intro > h1 strong,
.pricing-card h2 strong {
  font-weight: 700;
}

.home-hero h1 strong {
  font-weight: 700;
}

.story-section__copy > p {
  margin-bottom: 18px;
  line-height: 1.65;
}

.story-section__image {
  width: 100%;
  max-width: 427px;
  height: 592px;
  justify-self: center;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
}

.story-section--definition .story-section__image {
  height: 533px;
}

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

.profile-teaser {
  background: var(--green-light);
}

.profile-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: center;
  gap: 100px;
  min-height: 775px;
  padding-block: 90px;
}

.profile-teaser__copy {
  max-width: 660px;
}

.profile-teaser__copy > p {
  margin-bottom: 26px;
}

.portrait {
  position: relative;
  isolation: isolate;
  width: min(100%, 432px);
  aspect-ratio: 1;
  margin: 0;
}

.portrait::before {
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 50%;
  background: var(--green);
  content: "";
}

.portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.portrait--teaser {
  justify-self: center;
}

.contact-banner {
  position: relative;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background-color: #555;
  background-image: var(--contact-image);
  background-position: center;
  background-size: cover;
  text-align: center;
}

.contact-banner__shade {
  background: rgb(0 0 0 / 50%);
}

.contact-banner__content {
  position: relative;
  width: min(100% - 48px, 730px);
  margin: 10px auto 70px;
}

.contact-banner h2 {
  margin-bottom: 25px;
}

.contact-banner__content p {
  max-width: 650px;
  margin-inline: auto;
}

.contact-banner__content .button {
  margin-top: 10px;
}

.contact-banner__values {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 28px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.method-section {
  padding-block: 110px 145px;
}

.method-section h2 {
  margin-bottom: 74px;
  text-align: center;
}

.method-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.method-grid__row {
  position: relative;
  width: 100%;
}

.method-grid__row::before {
  position: absolute;
  z-index: 0;
  top: 28px;
  right: auto;
  left: 0;
  width: var(--connector-width);
  height: 2px;
  background: repeating-linear-gradient(to right, var(--green) 0 4px, transparent 4px 8px);
  content: "";
}

.method-grid__list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-grid li {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 152px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 18px;
  border: 1px solid var(--green);
  border-radius: 10px;
  background: #fff;
  font-size: 19px;
  font-weight: 700;
}

.method-grid__number {
  position: absolute;
  top: 0;
  left: 18px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--green);
  background: #fff;
  border: 1px solid var(--green);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  font-size: 15px;
}

.financing-section {
  background: var(--green);
}

.financing-section__inner {
  display: flex;
  min-height: 495px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: 72px;
  text-align: center;
}

.financing-section h2 {
  margin-bottom: 18px;
}

.financing-section p {
  max-width: 530px;
  margin-bottom: 30px;
}

.financing-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.financing-pills li {
  padding: 8px 16px;
  border: 1px solid #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.site-footer {
  position: relative;
  display: flex;
  min-height: 510px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px 60px;
  background: var(--green-light);
}

.site-footer__brand {
  display: flex;
  width: min(390px, 60vw);
  min-height: 82px;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  text-decoration: none;
}

.site-footer__brand img {
  width: 100%;
  max-height: 110px;
  object-fit: contain;
}

.site-footer__brand span {
  font-size: clamp(44px, 7vw, 74px);
}

.site-footer__email {
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer__bottom {
  position: absolute;
  right: 4.2%;
  bottom: 42px;
  left: 4.2%;
  display: flex;
  justify-content: space-between;
  color: #929292;
  font-size: 13px;
}

.site-footer__bottom a {
  text-decoration: none;
}

.profile-page {
  display: grid;
  grid-template-columns: minmax(300px, 432px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(70px, 8.6vw, 124px);
  min-height: 1618px;
  padding-top: 66px;
  padding-bottom: 110px;
}

.profile-page__portrait {
  position: sticky;
  top: 35px;
}

.profile-page__content h1 {
  margin: -10px 0 16px;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.rich-text p {
  margin-bottom: 16px;
  line-height: 1.65;
}

.rich-text ul {
  padding-left: 24px;
}

.pricing-intro {
  position: relative;
  isolation: isolate;
  padding-top: 72px;
  padding-bottom: 105px;
}

.pricing-intro::before {
  position: absolute;
  z-index: -1;
  top: 490px;
  right: calc((100vw - min(100vw - 120px, 1320px)) / -2);
  bottom: 0;
  left: calc((100vw - min(100vw - 120px, 1320px)) / -2);
  background: linear-gradient(to bottom, rgb(159 185 120 / 0%), var(--green) 260px);
  content: "";
}

.pricing-intro > h1 {
  margin-bottom: 74px;
  font-size: 72px;
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 36px;
}

.pricing-card {
  min-height: 732px;
  padding: 26px 20px;
  border: 1px solid var(--green);
  border-radius: 20px;
  background: #fff;
  text-align: center;
}

.pricing-card h2 {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.45;
}

.pricing-card__price {
  margin: 14px 0 8px;
  color: var(--green);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.pricing-card__duration {
  margin: 6px -8px 18px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.pricing-card__duration strong {
  color: var(--green);
}

.pricing-card ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
  padding: 0;
  color: #717171;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.8;
  list-style: none;
}

.pricing-contact {
  display: flex;
  min-height: 465px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 65px 24px 80px;
  background: var(--green);
  text-align: center;
}

.pricing-contact h2 {
  margin-bottom: 28px;
}

.legal-page {
  max-width: 900px;
  min-height: 670px;
  margin-inline: auto;
  padding-top: 80px;
  padding-bottom: 110px;
}

.legal-page h1 {
  margin-bottom: 35px;
}

.legal-page h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  font-size: 24px;
}

.legal-page p {
  line-height: 1.75;
}

.legal-page__intro {
  margin-bottom: 35px;
  color: var(--muted);
}

.site-intro {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--green-light);
}

.site-intro img {
  width: min(240px, 55vw);
  max-height: 120px;
  object-fit: contain;
}

.site-intro.is-finished {
  visibility: hidden;
}

body.has-gsap [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

@media (max-width: 900px) {
  .page-wrap,
  .site-header {
    width: min(100% - 64px, 760px);
  }

  .site-header {
    width: 100%;
    padding-inline: 32px;
  }

  .desktop-nav {
    gap: 22px;
    margin-left: 8vw;
  }

  .story-section,
  .story-section--definition {
    gap: 50px;
  }

  .profile-teaser__inner {
    gap: 55px;
  }

  .pricing-cards {
    gap: 16px;
  }

  .pricing-card {
    padding-inline: 12px;
  }

  .pricing-card h2 {
    font-size: 16px;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 82px;
  }

  body {
    font-size: 15px;
  }

  .page-wrap,
  .site-header {
    width: calc(100% - 40px);
  }

  .site-header {
    width: 100%;
    z-index: 45;
    height: 82px;
    padding-inline: 20px;
  }

  .site-header.is-scrolled {
    height: 64px;
  }

  .menu-open .site-header .site-logo {
    opacity: 0;
    pointer-events: none;
  }

  body:not(.has-hero) main {
    padding-top: 82px;
  }

  .site-logo,
  .site-logo img {
    width: 112px;
  }

  .has-hero .site-logo {
    filter: brightness(0) invert(1);
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 42;
    display: flex;
    width: 48px;
    height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
  }

  .has-hero .menu-toggle {
    color: #fff;
  }

  .menu-toggle span {
    display: block;
    width: 19px;
    height: 1px;
    background: currentColor;
    transition: transform 200ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: 40;
    inset: 0;
    display: block;
    visibility: hidden;
    pointer-events: none;
  }

  .mobile-menu.is-open {
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgb(234 239 227 / 87%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
  }

  .mobile-menu__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 34px 52px;
    opacity: 0;
    transform: translateY(18px);
  }

  .mobile-menu__content > p {
    margin: 0 0 20px;
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .mobile-menu__content > a:not(.mobile-menu__legal) {
    display: flex;
    align-items: baseline;
    gap: 17px;
    padding-block: 8px;
    border-bottom: 1px solid rgb(41 41 41 / 14%);
    font-size: clamp(30px, 9vw, 44px);
    font-weight: 600;
    letter-spacing: -1px;
    text-decoration: none;
  }

  .mobile-menu__content > a span {
    color: var(--green);
    font-size: 12px;
    letter-spacing: 0;
  }

  .mobile-menu__legal {
    margin-top: 34px;
    font-size: 13px;
    text-decoration: none;
  }

  .home-hero {
    min-height: 740px;
    min-height: 100svh;
    background-position: 55% center;
  }

  .home-hero__shade {
    background: rgb(0 0 0 / 38%);
  }

  .home-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-top: 102px;
    padding-bottom: 55px;
  }

  .home-hero h1 {
    max-width: 620px;
    margin-top: 170px;
    font-size: clamp(45px, 13vw, 66px);
    line-height: 1.04;
    letter-spacing: -1.7px;
  }

  .home-hero__aside {
    max-width: 460px;
    margin-top: 0;
  }

  .home-hero__aside p {
    font-size: 16px;
  }

  .story-section,
  .story-section--definition {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 76px;
  }

  .story-section--definition .story-section__image {
    order: 2;
  }

  .section-number {
    margin-bottom: 18px;
  }

  .story-section h2,
  .profile-teaser h2,
  .method-section h2,
  .financing-section h2,
  .contact-banner h2,
  .legal-page h1,
  .pricing-contact h2 {
    margin-bottom: 22px;
    font-size: clamp(38px, 10vw, 52px);
    letter-spacing: -1.2px;
  }

  .story-section__image,
  .story-section--definition .story-section__image {
    width: min(100%, 420px);
    height: auto;
    aspect-ratio: 0.82;
    justify-self: start;
  }

  .profile-teaser__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 72px;
  }

  .portrait--teaser {
    width: min(78vw, 360px);
    justify-self: center;
  }

  .contact-banner {
    min-height: 620px;
    padding-top: 52px;
  }

  .contact-banner__content {
    margin-bottom: 62px;
  }

  .contact-banner__values {
    justify-content: center;
    gap: 8px;
    padding-bottom: 10px;
    font-size: 10px;
  }

  .contact-banner__values span {
    padding: 6px 9px;
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: 999px;
  }

  .method-section {
    padding-block: 76px 86px;
  }

  .method-section h2 {
    margin-bottom: 38px;
  }

  .method-grid {
    gap: 12px;
  }

  .method-grid__row {
    width: 100%;
  }

  .method-grid__row::before {
    display: none;
  }

  .method-grid__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .method-grid li {
    min-height: 145px;
    padding: 18px 12px;
    font-size: 15px;
  }

  .method-grid__number {
    left: 12px;
    width: 48px;
    height: 46px;
  }

  .financing-section__inner {
    min-height: 410px;
    padding-block: 64px;
  }

  .financing-pills {
    gap: 8px;
  }

  .financing-pills li {
    padding: 7px 11px;
    font-size: 12px;
  }

  .site-footer {
    min-height: 390px;
    padding: 55px 20px 82px;
  }

  .site-footer__brand {
    width: min(280px, 68vw);
  }

  .site-footer__bottom {
    right: 20px;
    bottom: 24px;
    left: 20px;
    font-size: 11px;
  }

  .profile-page {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
    padding-top: 44px;
    padding-bottom: 80px;
  }

  .profile-page__portrait {
    position: relative;
    top: auto;
  }

  .portrait--large {
    width: min(74vw, 340px);
    margin-inline: auto;
  }

  .profile-page__content h1 {
    margin-top: 0;
    font-size: 48px;
  }

  .pricing-intro {
    width: 100%;
    padding: 42px 20px 0;
  }

  .pricing-intro::before {
    top: 520px;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgb(159 185 120 / 0%), var(--green) 220px);
  }

  .pricing-intro > h1 {
    margin-bottom: 34px;
    font-size: 52px;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pricing-card {
    min-height: 0;
    padding: 23px 18px 30px;
    border-radius: 16px;
  }

  .pricing-card h2 {
    min-height: auto;
    margin-bottom: 12px;
    font-size: 17px;
  }

  .pricing-card__price {
    margin-block: 5px;
    font-size: 58px;
  }

  .pricing-card ul {
    gap: 8px;
  }

  .pricing-contact {
    min-height: 310px;
    padding-block: 58px;
  }

  .legal-page {
    min-height: 520px;
    padding-top: 50px;
    padding-bottom: 80px;
  }
}

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