:root {
  --forest: #1d4b32;
  --leaf: #6f9a43;
  --moss: #9db96b;
  --ink: #1f2a24;
  --muted: #607066;
  --paper: #fbfbf6;
  --soft: #eef3e6;
  --line: #dfe8d8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(31, 42, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(251, 251, 246, 0.94);
  border-bottom: 1px solid rgba(111, 154, 67, 0.18);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 164px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

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

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--leaf);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--white);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--forest);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 82px);
  place-items: center;
  overflow: hidden;
  padding: clamp(70px, 9vw, 140px) 24px;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 47, 32, 0.82), rgba(18, 47, 32, 0.46) 54%, rgba(18, 47, 32, 0.16));
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--leaf);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d7ef9b;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.1;
}

h1 {
  max-width: 760px;
  font-size: clamp(58px, 11vw, 138px);
  font-weight: 800;
}

h2 {
  font-size: clamp(34px, 5vw, 62px);
}

h3 {
  font-size: 24px;
}

.hero-lead {
  max-width: 520px;
  margin: 22px 0 0;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  background: var(--leaf);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.section {
  padding: clamp(76px, 9vw, 132px) clamp(20px, 5vw, 72px);
}

.split,
.contact,
.profile {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.copy p,
.profile p,
.section-heading p {
  color: var(--muted);
}

.muted {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

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

.feature-card,
.two-cards article {
  min-height: 220px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 36px rgba(31, 42, 36, 0.07);
}

.feature-card p,
.two-cards p {
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.gallery img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.gallery img:nth-child(2) {
  margin-top: 54px;
}

.gallery img:nth-child(3) {
  height: 330px;
}

.program-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.program-list a {
  padding: 12px 16px;
  background: var(--forest);
  border-radius: 4px;
  color: var(--white);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.two-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.profile-image img {
  width: min(410px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.team-note {
  display: grid;
  width: fit-content;
  min-width: 220px;
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--soft);
  border-left: 4px solid var(--leaf);
}

.team-note strong {
  font-family: Montserrat, Arial, sans-serif;
}

.team-note span {
  color: var(--muted);
}

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

.contact .section-kicker,
.contact a {
  color: #d7ef9b;
}

.contact p {
  margin: 8px 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 38px);
  background: var(--white);
  border-radius: 6px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px);
  background: #18271e;
  color: var(--white);
}

.site-footer img {
  width: 140px;
  margin-bottom: 8px;
}

.site-footer p {
  margin: 0;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.social-links a {
  color: #d7ef9b;
}

.message-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: var(--soft);
}

.message-box {
  width: min(620px, 100%);
  padding: clamp(28px, 6vw, 56px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  text-align: center;
}

.message-box img {
  width: 170px;
  margin: 0 auto 28px;
}

.message-box h1 {
  margin-bottom: 14px;
  font-size: clamp(32px, 6vw, 52px);
}

.message-box .button {
  margin-top: 18px;
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .split,
  .contact,
  .profile {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .gallery,
  .two-cards {
    grid-template-columns: 1fr;
  }

  .gallery img,
  .gallery img:nth-child(2),
  .gallery img:nth-child(3) {
    height: 300px;
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

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

  .brand img {
    width: 132px;
  }

  .hero {
    min-height: calc(100vh - 74px);
    align-items: end;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(18, 47, 32, 0.24), rgba(18, 47, 32, 0.88));
  }

  .button {
    width: 100%;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
