:root {
  --green-900: #173c1a;
  --green-800: #22551f;
  --green-700: #2f722b;
  --green-500: #58a448;
  --leaf: #d7e6cf;
  --mint: #ecf6ea;
  --paper: #ffffff;
  --ink: #233029;
  --muted: #657267;
  --line: #dbe5d9;
  --accent: #caa14a;
  --shadow: 0 24px 70px rgba(16, 45, 19, 0.24);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: Avenir, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  background:
    linear-gradient(rgba(19, 73, 22, 0.44), rgba(27, 90, 28, 0.54)),
    url("../images/leaf-background.svg") center / cover fixed,
    #2f722b;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  min-height: 56px;
  padding: 12px 20px;
  background: rgba(18, 54, 20, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-size: 1.25rem;
  text-decoration: none;
}

.page-shell {
  width: min(760px, calc(100% - 32px));
  margin: 12vh auto 0;
}

.intro {
  padding: clamp(28px, 6vw, 58px);
  text-align: center;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.logo-panel {
  display: grid;
  place-items: center;
  aspect-ratio: 1.52;
  margin: 0 auto 32px;
  background: #e7e9e5;
  border: 1px solid #d9ded6;
}

.logo-panel img {
  width: min(78%, 510px);
  height: auto;
}

h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  font-weight: 600;
  color: var(--green-800);
}

.lead {
  max-width: 650px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.form-call {
  margin: 20px 0 14px;
  color: var(--green-700);
  font-weight: 600;
}

.contact-form {
  padding: clamp(18px, 4vw, 30px);
  text-align: left;
  background: var(--leaf);
  border: 1px solid #c7dac2;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
}

label {
  display: grid;
  gap: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

label span {
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  font: 1rem Avenir, "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  border: 1px solid #b8c7b3;
  border-radius: 0;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(202, 161, 74, 0.38);
  border-color: var(--green-700);
}

.wide {
  grid-column: 1 / -1;
}

.message {
  grid-column: 2;
  grid-row: span 2;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.button {
  min-width: 88px;
  min-height: 42px;
  padding: 10px 18px;
  font: 700 1rem Georgia, "Times New Roman", serif;
  cursor: pointer;
  border: 2px solid transparent;
}

.button.primary {
  color: var(--paper);
  background: var(--green-700);
  border-color: #85b879;
}

.button.primary:hover {
  background: var(--green-800);
}

.button.secondary {
  color: var(--muted);
  background: #ececec;
  border-color: #c9c9c9;
}

.articles-home,
.contact-section,
.content-page {
  margin-top: 28px;
  padding: clamp(24px, 5vw, 42px);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.articles-home h2,
.contact-section h2,
.content-page h1 {
  margin: 0;
  color: var(--green-800);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.article-card {
  padding: 22px;
  text-align: left;
  background: var(--mint);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-card time,
.article-body time {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-card h2,
.article-card h3 {
  margin: 7px 0 8px;
  color: var(--green-800);
  font-size: 1.15rem;
  line-height: 1.3;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--green-800);
  font-weight: 700;
}

.article-body {
  text-align: left;
}

.article-body h1 {
  margin-bottom: 8px;
  line-height: 1.15;
}

.article-body h2 {
  margin: 34px 0 10px;
  color: var(--green-800);
  font-size: 1.35rem;
}

.article-body p,
.article-body li {
  color: var(--ink);
  font-size: 1.02rem;
}

.article-body ul,
.article-body ol {
  padding-left: 1.25rem;
}

.article-body a {
  color: var(--green-700);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 48px;
  margin-top: 64px;
  padding: clamp(42px, 7vw, 78px) max(24px, 12vw);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(45, 112, 39, 0.86);
  border-top: 4px solid rgba(255, 255, 255, 0.72);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
  align-content: start;
}

.site-footer nav::before {
  content: "";
  width: 26px;
  height: 2px;
  flex-basis: 100%;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.84);
}

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

.site-footer a:hover {
  text-decoration: underline;
}

.footer-contact h2 {
  margin: 0 0 12px;
  color: #9ed28c;
  font-size: 1.15rem;
  font-weight: 500;
}

.footer-contact p {
  margin: 8px 0;
}

.copyright {
  grid-column: 1 / -1;
  margin: 42px 0 0;
  color: #9ed28c;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 760px);
    margin-top: 36px;
  }

  .intro {
    padding: 22px;
  }

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

  .message {
    grid-column: 1;
  }

  .form-actions {
    justify-content: stretch;
  }

  .button {
    flex: 1;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 24px;
  }
}
