:root {
  --green: #4c7a2a;
  --green-dark: #395d1f;
  --ink: #23261f;
  --ink-soft: #52564a;
  --paper: #faf9f4;
  --paper-shade: #f0efe6;
  --line: #e1ded0;
  --white: #ffffff;
  --radius: 10px;
  --max: 1120px;
  --shadow: 0 10px 30px -12px rgba(35, 38, 31, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Merriweather", Georgia, serif;
  line-height: 1.25;
  margin: 0 0 0.5em;
  font-weight: 700;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--green-dark); }

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--green);
  color: #fff;
  padding: 0.75em 1em;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand svg { flex-shrink: 0; }

.nav-toggle {
  display: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--green-dark);
  border-bottom-color: var(--green);
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  background: none;
  border: none;
  padding: 0.25rem;
}

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

  .main-nav {
    display: none;
    width: 100%;
    border-top: 1px solid var(--line);
  }

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

  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav li:last-child { border-bottom: none; }
  .main-nav a { display: block; padding: 0.75rem 0; }

  .site-header__inner { flex-wrap: wrap; }

  .nav-toggle:checked ~ .main-nav {
    display: block;
  }
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  padding: 5.5rem 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35, 38, 31, 0.55), rgba(35, 38, 31, 0.72));
}

.hero .wrap {
  position: relative;
  text-align: center;
  max-width: 780px;
}

.hero h1 { color: #fff; }
.hero p { color: #f1f1ea; font-size: 1.1rem; }

.hero--plain {
  background: var(--green-dark);
  padding: 3.5rem 0;
}
.hero--plain::before { background: none; }
.hero--plain h1,
.hero--plain p {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75em 1.5em;
  border-radius: var(--radius);
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--green-dark);
  color: #fff;
}

.btn--outline {
  background: transparent;
  border: 2px solid #fff;
}
.btn--outline:hover {
  background: #fff;
  color: var(--green-dark);
}

/* Sections */
section {
  padding: 4rem 0;
}

.section--shade { background: var(--paper-shade); }
.section--dark {
  background: var(--ink);
  color: #f1f1ea;
}
.section--dark h2, .section--dark p { color: #f1f1ea; }

.section-intro {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* Grid of cards */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px -8px rgba(35, 38, 31, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.card__body {
  padding: 1.25rem 1.4rem 1.5rem;
}

.card__body h3 { margin-bottom: 0.4rem; }
.card__body p { margin-bottom: 0; }

/* Split feature (image + text side by side) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

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

.split.reverse .split__media { order: 2; }

@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split__media { order: 0; }
}

/* Photo strip (small captioned thumbnails) */
.photo-strip {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-top: 1.5rem;
}

.photo-strip figure { margin: 0; }

.photo-strip img {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow);
}

.photo-strip.square img { border-radius: var(--radius); aspect-ratio: 4/3; }
.photo-strip.tall img { border-radius: var(--radius); aspect-ratio: 2/3; }

.photo-strip figcaption {
  text-align: center;
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Quote */
.quote {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.quote blockquote {
  margin: 0 0 1rem;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  color: inherit;
}

.quote cite {
  font-style: normal;
  color: inherit;
  opacity: 0.75;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 100%;
  object-fit: cover;
}

.contact-block + .contact-block { margin-top: 1.5rem; }
.contact-block h3 { margin-bottom: 0.3rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--green-dark); font-family: inherit; }
.contact-block p { margin: 0; }

@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #cfd2c4;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

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