:root {
  color-scheme: light;
  --ink: #182a2a;
  --muted: #536563;
  --paper: #f7f6f1;
  --white: #fff;
  --green: #174e45;
  --green-dark: #123b35;
  --lime: #d8ee87;
  --line: #dfe3da;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

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

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

a {
  color: inherit;
}

a:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 3px solid #9bb44e;
  outline-offset: 4px;
}

.site-header,
main,
.site-footer {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.wordmark img {
  display: block;
  width: 190px;
  height: auto;
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}

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

.site-nav a:hover {
  color: var(--green);
}

main {
  min-height: calc(100vh - 163px);
  padding-block: 86px 100px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

h1 {
  max-width: 460px;
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 78px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.intro {
  max-width: 390px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.email-link {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 19px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 62%);
}

.field {
  display: grid;
  gap: 8px;
}

label {
  font-size: 13px;
  font-weight: 650;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cdd5ca;
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

input {
  min-height: 48px;
  padding: 10px 12px;
}

textarea {
  min-height: 170px;
  padding: 12px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #75817d;
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  gap: 22px;
  padding: 0 20px;
  border: 0;
  border-radius: 3px;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
}

.button span {
  color: var(--lime);
  font-size: 18px;
}

.site-footer {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.footer-name {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 36px, 560px);
  }

  .site-header {
    min-height: 72px;
  }

  .site-nav {
    gap: 16px;
    font-size: 12px;
  }

  main {
    min-height: calc(100vh - 145px);
    padding-block: 62px 70px;
  }

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

  .contact-form {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .wordmark {
    flex: 0 0 auto;
  }

  .wordmark img {
    width: 160px;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
