:root {
  --bg: #f7f2e8;
  --surface: #ffffff;
  --surface-alt: #f2ebdd;
  --text: #2f3d2f;
  --muted: #667463;
  --accent: #4e7a43;
  --accent-dark: #355a31;
  --border: #e7ded0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lato", sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, #fdf9f2 100%);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
  border: 0;
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(250, 247, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

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

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  align-items: start;
  justify-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 1rem 0 2.5rem;
}

.hero-card,
.stat-card,
.card,
.team-card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(31, 49, 33, 0.06);
}

.hero-card {
  padding: 2rem;
}

.eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.15;
  color: var(--accent-dark);
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  background: #cdb48b;
  color: #2f3d2f;
  border: 1px solid #b7a07c;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.button.secondary:hover {
  background: #b99f78;
}

.hero-media {
  width: 100%;
  justify-self: center;
}

.hero-media img {
  width: 100%;
  min-height: 360px;
  border-radius: 24px;
}

.section {
  padding: 1.2rem 0 1.5rem;
}

.section-heading {
  margin-bottom: 1rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.section-heading h2 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
  color: var(--accent-dark);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 920px;
}

.stats-grid,
.cards-grid,
.team-grid,
.wildlife-grid,
.photo-strip {
  display: grid;
  gap: 1.4rem;
  max-width: 920px;
  margin: 0 auto;
}

.wildlife-grid {
  grid-template-columns: 1fr;
  padding: 0;
  box-sizing: border-box;
}

.wildlife-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(31, 49, 33, 0.06);
  overflow: hidden;
  padding: 0;
}

.wildlife-card img {
  width: 100%;
  height: auto;
  display: block;
}

.wildlife-card figcaption {
  padding: 1rem 1rem 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.stat-card {
  padding: 1.1rem 1.2rem;
}

.stat-card strong {
  display: block;
  font-size: 1.45rem;
  color: var(--accent-dark);
  margin-bottom: 0.2rem;
}

.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  padding: 1.25rem;
}

.card-date {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--accent-dark);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.featured-news {
  display: grid;
  gap: 1.5rem;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 2rem;
}

.featured-news-content {
  display: grid;
  gap: 1rem;
}

.featured-news-links {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.featured-news-links a {
  color: var(--accent);
  font-weight: 700;
}

.featured-news-links a:hover {
  text-decoration: underline;
}

.featured-news-media img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.team-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  align-items: center;
}

.team-card img {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  flex-shrink: 0;
}

.team-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  color: var(--accent-dark);
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-card {
  padding: 1.5rem;
  background: linear-gradient(135deg, #f9f4e8 0%, #fff 100%);
}

.contact-card .button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0 1.2rem;
}

.photo-strip {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 1rem;
}

.photo-strip img {
  height: 240px;
  border-radius: 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.gallery-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(31, 49, 33, 0.06);
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 0.85rem 1rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.photo-credit {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  padding: 0 1.25rem 2rem;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero,
  .stats-grid,
  .cards-grid,
  .team-grid,
  .photo-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 0.4rem;
  }

  .site-header {
    flex-direction: column;
    gap: 0.7rem;
  }
}

@media (min-width: 1281px) {
  main {
    max-width: 1440px;
  }

  .hero-card {
    padding: 2.5rem;
  }

  .hero-media img {
    min-height: 420px;
  }

  .cards-grid,
  .team-grid,
  .photo-strip {
    gap: 1.4rem;
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
