:root {
  --forest-950: #0c1d16;
  --forest-900: #12291f;
  --forest-800: #1a3a2c;
  --forest-700: #275240;
  --forest-500: #3f745b;
  --leaf: #38a169;
  --leaf-bright: #6fd39a;
  --paper: #f5f3ec;
  --paper-deep: #ebe8de;
  --white: #fdfcf9;
  --ink: #121815;
  --ink-soft: #46524c;
  --mist: #b9c8bf;
  --line: rgba(18, 24, 21, 0.14);
  --line-light: rgba(245, 243, 236, 0.16);
  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  --max: 1200px;
  --header-h: 64px;
  --section-y: clamp(4.5rem, 3rem + 7vw, 9rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 1.45rem + 2.4vw, 3.25rem);
}

h3 {
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

p {
  margin: 0;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--forest-500);
  outline-offset: 3px;
}

.site-header :focus-visible,
.hero :focus-visible,
.process :focus-visible,
.contact :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--leaf-bright);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--leaf-bright);
  color: var(--forest-950);
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

main:focus {
  outline: none;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  background: var(--leaf-bright);
  color: var(--forest-950);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.25s ease, transform 0.25s var(--ease);
}

.button:hover {
  background: #8fe0b1;
  transform: translateY(-1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--forest-500);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.25rem;
}

.text-link svg {
  transition: transform 0.3s var(--ease);
}

.text-link:hover svg {
  transform: translateX(4px);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--paper);
  background: var(--forest-900);
}

.js .site-header {
  position: fixed;
  background: transparent;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.js .site-header.is-solid,
.js .site-header.is-open,
.js .site-header.site-header--solid {
  background: var(--forest-900);
  box-shadow: 0 1px 0 var(--line-light);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  column-gap: 2rem;
}

.brand {
  display: block;
  padding-block: 0.5rem;
}

.brand img {
  width: 116px;
  height: auto;
}

.nav-toggle {
  display: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  padding-bottom: 0.75rem;
}

.site-nav a {
  display: inline-block;
  padding-block: 0.375rem;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--paper);
  opacity: 0.86;
  transition: opacity 0.2s ease;
}

.site-nav a:hover {
  opacity: 1;
}

.js .nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.nav-toggle-bars {
  position: relative;
  transform: translateY(-3.5px);
}

.nav-toggle-bars::before {
  content: "";
  position: absolute;
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(-7px) rotate(-90deg);
}

.js .site-nav {
  display: none;
  width: 100%;
}

.js .site-header.is-open .site-nav {
  display: block;
}

.js .site-nav ul {
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0 1.5rem;
}

.js .site-nav a {
  display: block;
  padding-block: 0.75rem;
  font-size: 1.125rem;
  border-bottom: 1px solid var(--line-light);
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(600px, min(100vh, 960px));
  min-height: max(600px, min(100svh, 960px));
  color: var(--paper);
  background: var(--forest-900) url("../media/hero-poster.jpg") 50% 50% / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 29, 22, 0.6) 0%, rgba(12, 29, 22, 0) 22%),
    linear-gradient(0deg, rgba(12, 29, 22, 0.94) 0%, rgba(12, 29, 22, 0.82) 38%, rgba(12, 29, 22, 0.72) max(68%, 36rem), rgba(12, 29, 22, 0.1) 100%);
}

.hero-content {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(3rem, 2rem + 6vh, 6.5rem);
}

.hero .eyebrow {
  color: var(--leaf-bright);
  margin-bottom: 1.25rem;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.375rem, 1.4rem + 5vw, 5.25rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero-lead {
  max-width: 36rem;
  margin-top: 1.5rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.65;
  color: rgba(245, 243, 236, 0.9);
}

.hero .button {
  margin-top: 2.25rem;
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about h2 {
  margin-bottom: 1.5rem;
}

.about .lead {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.aperture {
  order: -1;
  width: min(62vw, 260px);
  justify-self: center;
}

.aperture svg {
  width: 100%;
  height: auto;
  overflow: visible;
  fill: var(--forest-800);
}

.process {
  background: var(--forest-900);
  color: var(--paper);
}

.section-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
}

.section-head p {
  max-width: 40rem;
  color: var(--mist);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
}

.steps {
  position: relative;
  display: grid;
  gap: 2.75rem;
}

.steps::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 27.5px;
  width: 1px;
  background: var(--line-light);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 1.5rem;
  align-items: start;
  align-content: start;
}

.step:last-child {
  background: var(--forest-900);
}

.step-mark {
  position: relative;
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 64px;
  background: var(--forest-900);
}

.step-mark svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--leaf-bright);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.step-mark span {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--leaf-bright);
}

.step h3 {
  font-size: 1.375rem;
  padding-top: 0.875rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--mist);
  max-width: 22rem;
}

.services-grid {
  display: grid;
  gap: 2.5rem 3rem;
  margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

.services-grid li {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.services-grid h3 {
  margin-bottom: 0.75rem;
}

.services-grid p,
.values-list p,
.faq-list p {
  color: var(--ink-soft);
}

.values {
  background: var(--paper-deep);
}

.values-grid {
  display: grid;
  gap: 2.5rem;
}

.values-list li {
  display: grid;
  gap: 0.75rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}

.values-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.values-list h3 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  color: var(--forest-700);
}

.values-list p {
  max-width: 30rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.75rem 1rem;
  margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

.hex-photo {
  aspect-ratio: 100 / 115.47;
  margin-bottom: 1.25rem;
  background: var(--paper-deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 115.47'%3E%3Cpath d='M50 4.62 96 31.17v53.13L50 110.85 4 84.3V31.17z' stroke='%23000' stroke-width='8' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 115.47'%3E%3Cpath d='M50 4.62 96 31.17v53.13L50 110.85 4 84.3V31.17z' stroke='%23000' stroke-width='8' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hex-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.person:hover .hex-photo img {
  transform: scale(1.03);
}

.person h3 {
  font-size: 1.0625rem;
}

.person p {
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.person-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.625rem;
  padding-block: 0.25rem;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--forest-500);
  text-decoration: none;
}

.person-link:hover {
  color: var(--forest-800);
}

.partners {
  background: var(--white);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 2rem + 3vw, 4rem);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.partners-grid li {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partners-grid img {
  width: auto;
  max-width: min(100%, 168px);
  max-height: 56px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.15);
  opacity: 0.8;
  transition: filter 0.4s ease, opacity 0.4s ease;
}

.partners-grid li:hover img {
  filter: none;
  opacity: 1;
}

.faq-grid {
  display: grid;
  gap: 2.5rem;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: block;
  padding: 1.375rem 2.75rem 1.375rem 0;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 14px;
  height: 1.5px;
  background: var(--forest-500);
  transition: transform 0.3s var(--ease);
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0deg);
}

.faq-list summary:hover {
  color: var(--forest-700);
}

.faq-list details p {
  max-width: 44rem;
  padding: 0 2.75rem 1.75rem 0;
}

.contact {
  background: var(--forest-900);
  color: var(--paper);
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact h2 {
  margin-bottom: 2.5rem;
}

.contact-list {
  display: grid;
  gap: 1.75rem;
  margin: 0;
}

.contact-list dt {
  margin-bottom: 0.375rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf-bright);
}

.contact-list dd {
  margin: 0;
  color: var(--mist);
}

.contact-email {
  font-family: var(--font-head);
  font-size: clamp(1.125rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--line-light);
  transition: border-color 0.25s ease;
}

.contact-email:hover {
  border-color: var(--leaf-bright);
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: var(--paper);
  text-underline-offset: 4px;
  text-decoration-color: var(--line-light);
}

.social-links a:hover {
  text-decoration-color: var(--leaf-bright);
}

.contact-form {
  min-width: 0;
}

.contact-form iframe {
  width: 100%;
  height: 1180px;
  border: 0;
  border-radius: 6px;
  background: var(--white);
}

.form-fallback {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--mist);
  text-underline-offset: 4px;
}

.site-footer {
  background: var(--forest-950);
  color: var(--mist);
  font-size: 0.9375rem;
  padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand img {
  width: 132px;
  height: auto;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  max-width: 26rem;
}

.footer-title {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
}

.footer-list {
  display: grid;
  gap: 0.5rem;
}

.footer-list a,
.footer-bottom a {
  color: var(--mist);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-list a:hover,
.footer-bottom a:hover {
  color: var(--paper);
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.75rem;
  font-size: 0.8125rem;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--line-light);
}

.site-footer--compact {
  padding-top: 0;
}

.site-footer--compact .footer-bottom::before {
  display: none;
}

.legal {
  padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 6rem));
}

.legal-body {
  max-width: 44rem;
}

.legal h1 {
  font-size: clamp(2rem, 1.45rem + 2.4vw, 3.25rem);
  margin-bottom: 1.5rem;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 2.5rem 0 0.75rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.legal ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.legal-note {
  margin-bottom: 2.5rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--leaf);
  background: var(--paper-deep);
  font-size: 0.9375rem;
}

.legal-back {
  margin-top: 3rem;
}

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: calc(var(--i, 0) * 120ms);
  }

  .js [data-reveal]:not(.is-visible) {
    opacity: 0;
    transform: translateY(24px);
  }

  .js .step-mark path {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1.4s var(--ease);
    transition-delay: calc(var(--i, 0) * 120ms + 150ms);
  }

  .js .step:not(.is-visible) .step-mark path {
    stroke-dashoffset: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 600px) {
  :root {
    --gutter: 32px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    gap: 3rem 2rem;
  }

  .partners-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .partners-grid li {
    min-height: 140px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  :root {
    --gutter: 48px;
    --header-h: 80px;
  }

  .brand img {
    width: 136px;
  }

  .js .nav-toggle {
    display: none;
  }

  .site-nav,
  .js .site-nav {
    display: block;
    width: auto;
  }

  .site-nav ul,
  .js .site-nav ul {
    flex-direction: row;
    gap: 2.25rem;
    padding: 0;
  }

  .js .site-nav a {
    padding-block: 0.5rem;
    font-size: 0.875rem;
    border: 0;
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(12, 29, 22, 0.55) 0%, rgba(12, 29, 22, 0) 20%),
      linear-gradient(90deg, rgba(12, 29, 22, 0.9) 0%, rgba(12, 29, 22, 0.72) 38%, rgba(12, 29, 22, 0.2) 70%, rgba(12, 29, 22, 0.05) 100%),
      linear-gradient(0deg, rgba(12, 29, 22, 0.5) 0%, rgba(12, 29, 22, 0) 45%);
  }

  .about-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 4rem;
  }

  .aperture {
    order: 0;
    width: min(100%, 400px);
    justify-self: end;
  }

  .section-head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: end;
    gap: 4rem;
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .steps::before {
    top: 32px;
    bottom: auto;
    left: 28px;
    right: calc((100% - 7.5rem) / 4 - 28px);
    width: auto;
    height: 1px;
  }

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

  .step:last-child {
    background: none;
  }

  .step-mark {
    grid-row: auto;
    margin-bottom: 1.75rem;
    box-shadow: 0 0 0 12px var(--forest-900);
  }

  .step h3 {
    padding-top: 0;
    margin-bottom: 0.75rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3.5rem 3.5rem;
  }

  .values-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4rem;
  }

  .values-list li {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 2rem;
    align-items: baseline;
    padding-block: 2.25rem;
  }

  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .person h3 {
    font-size: 1.1875rem;
  }

  .faq-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4rem;
    align-items: start;
  }

  .faq-grid h2 {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

  .faq-list summary {
    font-size: 1.125rem;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4rem;
    align-items: start;
  }

  .contact-form iframe {
    height: 1120px;
  }

  .contact-info {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.5fr));
    gap: 3rem;
  }

  .footer-brand {
    grid-column: auto;
  }
}
