:root {
  --forest: #2f5d46;
  --forest-dark: #234735;
  --moss: #e6efe6;
  --sand: #f7f3ea;
  --clay: #c9764a;
  --ink: #24302a;
  --muted: #66736b;
  --radius: 16px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
}
h1, h2, h3, .wordmark { font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif; letter-spacing: -.01em; }
a { color: inherit; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

header.top { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.logo { display: block; text-decoration: none; }
.wordmark { font-size: 1.6rem; font-weight: 800; color: var(--forest); }
.wordmark span { color: var(--clay); }
.logo img { display: block; height: 44px; width: auto; }
nav a { margin-left: 18px; text-decoration: none; color: var(--muted); font-weight: 600; white-space: nowrap; }
nav a:hover { color: var(--forest); }

.hero-img { display: block; width: 100%; height: auto; border-radius: 24px; }
.hero {
  background: linear-gradient(135deg, var(--forest), #3f7a5b);
  color: #fff;
  border-radius: 24px;
  padding: 64px 28px;
  text-align: center;
}
.hero.has-img { background: none; color: inherit; padding: 32px 8px 0; }
.hero h1 { font-size: clamp(1.8rem, 6vw, 3.2rem); line-height: 1.12; margin: 0 0 14px; }
.hero p { max-width: 560px; margin: 0 auto 26px; opacity: .9; font-size: 1.1rem; }
.hero.has-img p { color: var(--muted); opacity: 1; }
.btn {
  display: inline-block; background: var(--clay); color: #fff; text-decoration: none;
  padding: 13px 28px; border-radius: 999px; font-weight: 700; transition: background .2s;
}
.btn:hover { background: #b0623a; }

section { padding: 56px 0 8px; }
section h2 { font-size: 2rem; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 24px; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.about .photo {
  aspect-ratio: 1; border-radius: 50%; background: var(--moss);
  max-width: 340px; width: 100%; justify-self: center; overflow: hidden;
  display: grid; place-items: center; font-size: 5rem;
}
.about .photo img { width: 100%; height: 100%; object-fit: cover; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  border: 1px solid #d5ddd2; background: #fff; padding: 7px 16px; border-radius: 999px;
  cursor: pointer; font: inherit; color: var(--muted);
}
.chip.on, .chip:hover { background: var(--forest); border-color: var(--forest); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none;
  box-shadow: 0 2px 12px rgba(30, 60, 45, .08); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(30, 60, 45, .16); }
.media { aspect-ratio: 4/3; background: var(--moss); display: grid; place-items: center; font-size: 3.6rem; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.body h3 { margin: 6px 0; font-size: 1.1rem; }
.body p { margin: 0 0 12px; color: var(--muted); font-size: .93rem; flex: 1; }
.tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--clay); font-weight: 700; }
.cta { color: var(--forest); font-weight: 700; font-size: .92rem; }

footer { margin-top: 64px; padding: 32px 0 40px; background: var(--forest-dark); color: #c9d6cd; font-size: .85rem; text-align: center; }
footer p { margin: 6px auto; max-width: 700px; }
footer strong { color: #fff; }

@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  header.top { padding: 10px 0; }
  .wordmark { font-size: 1.35rem; }
  .logo img { height: 36px; }
  nav a { margin-left: 12px; font-size: .88rem; }

  .hero-img { width: calc(100% + 32px); max-width: none; margin: 0 -16px; border-radius: 0; }
  .hero { padding: 44px 20px; border-radius: 18px; }
  .hero.has-img { padding: 22px 0 0; }
  .hero p { font-size: 1rem; margin-bottom: 18px; }

  section { padding: 36px 0 4px; }
  section h2 { font-size: 1.6rem; }
  .sub { margin-bottom: 16px; }

  .about { grid-template-columns: 1fr; gap: 20px; }
  .about .photo { order: -1; max-width: 200px; font-size: 4rem; }

  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 16px; padding: 0 16px 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; flex: none; padding: 6px 14px; font-size: .9rem; }

  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { border-radius: 14px; }
  .media { aspect-ratio: 1; font-size: 2.6rem; }
  .body { padding: 10px 12px 12px; }
  .body h3 { font-size: .98rem; line-height: 1.25; margin: 4px 0; }
  .body p { font-size: .82rem; line-height: 1.4; margin-bottom: 8px; }
  .tag { font-size: .65rem; }
  .cta { font-size: .85rem; }

  footer { margin-top: 40px; }
}
