:root {
  --bg: #f7f6f2; --text: #1e2a26; --muted: #5c6b64;
  --brand: #14532d; --brand-2: #0d3b2e; --card: #ffffff; --line: #dde3df;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #131715; --text: #e6ebe8; --muted: #9fb0a8;
          --brand: #4ade80; --brand-2: #86efac; --card: #1b211e; --line: #2a332e; }
  .filter-bar button.active { color: #0d3b2e; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
a { color: var(--brand); }
img { max-width: 100%; height: auto; }

header.site { background: #0d3b2e; color: #fff; }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; padding: 10px 16px; gap: 8px; }
header.site .brand { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.2rem; }
header.site .brand span { opacity: .6; font-weight: 400; }
header.site nav { display: flex; flex-wrap: wrap; gap: 4px; }
header.site nav a { color: #d9e8dd; text-decoration: none; padding: 6px 10px; border-radius: 6px; }
header.site nav a.active, header.site nav a:hover { background: rgba(255,255,255,.15); color: #fff; }
header.site noscript a { color: #fff; display: block; padding: 12px 16px; }

.hero { background: linear-gradient(135deg, #0d3b2e, #1c6b45); color: #fff;
  padding: 56px 0; text-align: center; }
.hero h1 { margin: 0 0 8px; font-size: 2rem; }
.hero p { margin: 0; opacity: .9; }

main { padding: 24px 0 48px; }
h2 { margin-top: 2rem; }
.muted { color: var(--muted); }
.badge { display: inline-block; font-size: .75rem; padding: 2px 8px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 0; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px; text-decoration: none; color: var(--text); display: block; }
.tile:hover { border-color: var(--brand); }
.tile b { color: var(--brand); }

.cards { display: grid; gap: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.card h3 { margin: 0 0 4px; }
.card .date { font-size: .85rem; color: var(--muted); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.filter-bar button { background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px; cursor: pointer; color: var(--text); }
.filter-bar button.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.gallery-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery-grid figure { margin: 0; cursor: pointer; }
.gallery-grid figcaption { font-size: .85rem; color: var(--muted); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: none;
  align-items: center; justify-content: center; flex-direction: column; padding: 24px; z-index: 10; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 80vh; }
.lightbox p { color: #fff; }

footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer.site .wrap { padding: 20px 16px; }
