:root {
  --ink: #4b4c4b;
  --heading: #2d2d2d;
  --dark: #2a2a2a;
  --green: #6c812a;
  --muted: #edeff0;
  --card: #bdbdbd;
  --max: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--dark);
  color: var(--ink);
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
}

a { color: #3d5a12; }

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: var(--dark);
  color: #fff;
}

.site-header .container {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  width: 210px;
  height: auto;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  padding: 8px 12px;
  font: inherit;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: block;
  padding: 6px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav a:hover,
.nav a.active { color: #fff; }

.banner {
  position: relative;
  text-align: center;
  color: #fff;
  background: #6c812a url("../img/banner.jpg") center / cover no-repeat;
  padding: 110px 0 90px;
}

.banner h1 {
  margin: 0 0 12px;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.banner p {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 26px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.button {
  display: inline-block;
  padding: 12px 36px;
  border: 2px solid #fff;
  border-radius: 4px;
  color: #fff;
  background: transparent;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
}

.button:hover { background: rgba(255, 255, 255, 0.12); }

.button.dark {
  border-color: rgba(0, 0, 0, 0.55);
  color: #222;
}

.button.dark:hover {
  background: #222;
  color: #fff;
}

.panel {
  background: #fff;
  text-align: center;
  padding: 90px 0 70px;
}

.panel h2,
.page h1 {
  margin: 0 0 8px;
  color: var(--heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel .byline {
  margin: 0 0 36px;
  font-size: 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.card .box {
  margin-top: -2px;
  padding: 22px 20px 26px;
  background: var(--card);
  border-radius: 0 0 8px 8px;
}

.card p {
  margin: 0 0 16px;
  min-height: 52px;
}

.card .more {
  color: #222;
  font-weight: 700;
  text-decoration: none;
}

.card .more:hover { text-decoration: underline; }

.split {
  background: var(--muted);
  padding: 80px 0 70px;
  text-align: center;
}

.split h2 { margin-bottom: 6px; }

.split .byline { margin-bottom: 28px; }

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  text-align: left;
}

.columns p { margin: 0; }

.split .actions { margin-top: 28px; }

.page {
  background: #fff;
  padding: 64px 0 80px;
}

.page .content {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

.page h1 { text-align: left; font-size: 34px; }

.page h2,
.page h3 {
  margin: 28px 0 8px;
  color: var(--heading);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.video {
  position: relative;
  padding-top: 56.25%;
  margin-top: 12px;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.news-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
  text-align: left;
}

.news-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.news-item h2 {
  margin: 0 0 6px;
  font-size: 26px;
  text-transform: none;
  letter-spacing: 0;
}

.news-item h2 a { color: var(--heading); text-decoration: none; }
.news-item h2 a:hover { text-decoration: underline; }

.date {
  color: #777;
  font-size: 14px;
  margin-bottom: 8px;
}

.article-image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  margin: 8px 0 16px;
}

.back { margin-top: 28px; }

form.contact {
  display: grid;
  gap: 16px;
  max-width: 640px;
}

form.contact label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--heading);
}

form.contact input,
form.contact textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
  color: #222;
  background: #fff;
}

form.contact textarea { min-height: 140px; resize: vertical; }

.notice {
  padding: 12px 14px;
  background: #eef6e4;
  border: 1px solid #b7d48a;
  border-radius: 4px;
  margin-bottom: 18px;
}

.notice.error {
  background: #fdecec;
  border-color: #e7b4b4;
}

.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 70px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.site-footer p { margin: 0 0 12px; }

.site-footer a { color: #fff; }

.footer-logo { width: 150px; margin-bottom: 10px; }

.social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.social img { width: 42px; height: 42px; }

.footer-buttons { display: grid; gap: 10px; max-width: 280px; }

.credit {
  margin-top: 40px;
  text-align: right;
  font-size: 14px;
}

.credit a { color: #fff; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 110px;
    background: #1f1f1f;
    z-index: 5;
    padding: 8px 0 16px;
  }

  .site-header { position: relative; }
  .nav.open { display: block; }

  .nav ul { flex-direction: column; }

  .banner { padding: 64px 0 56px; }
  .banner h1 { font-size: 40px; }
  .banner p { font-size: 20px; }

  .cards,
  .columns,
  .footer-grid,
  .news-item { grid-template-columns: 1fr; }

  .credit { text-align: left; }
}
