:root {
  --forest: #1f5135;
  --forest-dark: #133624;
  --leaf: #8cc63f;
  --earth: #b5835a;
  --cream: #f7f5ee;
  --ink: #1d2a22;
  --muted: #5b6b61;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 54, 36, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: "Inter", system-ui, sans-serif; color: var(--ink); line-height: 1.65; background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--forest); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.2; color: var(--forest-dark); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: .5rem; }
p + p { margin-top: 1rem; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.center { text-align: center; }
.narrow { max-width: 620px; margin: 0 auto; color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--leaf); margin-bottom: .75rem; }
.eyebrow.dark { color: var(--earth); }

/* Buttons */
.btn { display: inline-block; background: var(--leaf); color: var(--forest-dark); font-weight: 600; padding: .85rem 1.6rem; border-radius: 999px; text-decoration: none; border: 2px solid var(--leaf); cursor: pointer; font: inherit; font-weight: 600; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); background: #9fd655; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-light { background: #fff; border-color: #fff; color: var(--forest); }
.btn-small { padding: .5rem 1.1rem; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(19, 54, 36, .96); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; }
.brand-logo { height: 62px; flex-shrink: 0; background: #fff; border-radius: 10px; padding: 3px 6px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.brand-logo img { height: 100%; width: auto; }
.brand-text strong { display: block; font-family: "Fraunces", serif; font-size: 1.15rem; }
.brand-text small { font-size: .72rem; opacity: .85; }
.main-nav { display: flex; align-items: center; gap: 1.8rem; }
.main-nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:not(.btn):hover { color: var(--leaf); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.main-nav a[hidden] { display: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: #fff; overflow: hidden;
  background: radial-gradient(ellipse at 70% 20%, #3d7a4e 0%, var(--forest) 45%, var(--forest-dark) 100%); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; filter: contrast(1.05) saturate(1.1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,30,18,.85) 0%, rgba(10,30,18,.45) 70%, rgba(10,30,18,.25)); }
.hero-content { position: relative; z-index: 1; padding: 120px 0 80px; max-width: 760px; margin-left: max(4%, calc((100% - 1140px) / 2)); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.5vw, 4rem); margin-bottom: 1.25rem; }
.hero .lead { font-size: 1.15rem; opacity: .92; max-width: 600px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* Stats */
.stats { background: var(--forest-dark); color: #fff; padding: 2rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 1rem; }
.stats strong { display: block; font-family: "Fraunces", serif; font-size: 2rem; color: var(--leaf); }
.stats span { font-size: .9rem; opacity: .85; }

/* Sections */
.section { padding: 6rem 0; }
.section.alt { background: var(--cream); }

.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; }
.about-grid > div > p { color: var(--muted); }
.about-logo { width: 100%; max-width: 360px; margin-bottom: 1.75rem; }
.vm-cards { display: grid; gap: 1rem; }
.vm-card { background: var(--cream); border-left: 5px solid var(--leaf); padding: 1.4rem 1.6rem; border-radius: var(--radius); }
.vm-card p { color: var(--muted); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.work-card { background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s; }
.work-card:hover { transform: translateY(-6px); }
.work-card .icon { font-size: 2rem; width: 60px; height: 60px; display: grid; place-items: center; background: #eef6e3; border-radius: 50%; margin-bottom: 1rem; }
.work-card p { color: var(--muted); font-size: .95rem; }

.beats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.beat { padding: 2rem; border-radius: var(--radius); color: #fff; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(160deg, #3d7a4e, var(--forest-dark)); position: relative; overflow: hidden; }
.beat::before { content: "🌲"; position: absolute; top: 1rem; right: 1.2rem; font-size: 2.5rem; opacity: .35; }
.beat h3 { color: #fff; }
.beat p { opacity: .85; font-size: .95rem; }

/* Values */
.values-section { background: var(--forest-dark); }
.values-section h2 { color: #fff; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 2.5rem; }
.value { border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 1.5rem; background: rgba(255,255,255,.04); }
.value h3 { color: var(--leaf); font-size: 1.1rem; }
.value p { color: rgba(255,255,255,.8); font-size: .93rem; }

/* CBO list */
.cbo-grid { list-style: none; counter-reset: cbo; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.cbo-grid li { counter-increment: cbo; display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; background: var(--cream); border-radius: var(--radius); font-weight: 500; }
.cbo-grid li::before { content: counter(cbo); width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: #fff; font-size: .85rem; font-weight: 600; }

/* Officials */
.officials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.official { background: #fff; border-radius: var(--radius); padding: 1.5rem 1rem; text-align: center; box-shadow: var(--shadow); }
.official img, .official-ph { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 4px solid #eef6e3; }
.official-ph { display: grid; place-items: center; background: var(--forest); color: #fff; font-family: "Fraunces", serif; font-size: 2.4rem; }
.official h3 { margin-bottom: .2rem; }
.official p { color: var(--earth); font-weight: 600; font-size: .9rem; }

/* Stories */
.stories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.story-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .25s; }
.story-card:hover { transform: translateY(-6px); }
.story-card img, .story-ph { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.story-ph { display: grid; place-items: center; font-size: 3rem; background: linear-gradient(150deg, #4d8a5c, var(--forest-dark)); }
.story-body { padding: 1.4rem; display: grid; gap: .4rem; }
.story-body time { color: var(--earth); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.story-body p { color: var(--muted); font-size: .93rem; }
.read-more { color: var(--forest); font-weight: 600; font-size: .9rem; margin-top: .3rem; }

/* Gallery */
.filters { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.filter { background: #fff; border: 1px solid #d8dfd5; padding: .5rem 1.1rem; border-radius: 999px; cursor: pointer; font: inherit; font-size: .9rem; color: var(--ink); }
.filter.active, .filter:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.g-item { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 0; padding: 0; text-align: left;
  background: linear-gradient(150deg, #4d8a5c, var(--forest-dark)); font: inherit; }
.g-item img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; filter: contrast(1.06) saturate(1.1); }
.g-item:hover img { transform: scale(1.06); }
.g-item .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.5rem; opacity: .35; }
.g-item figcaption { position: absolute; inset: auto 0 0; padding: 2.5rem 1rem .9rem; color: #fff; font-size: .88rem; line-height: 1.4;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.g-item.hide { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(5,15,10,.92); z-index: 100; display: grid; place-items: center; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: 1000px; }
.lightbox img { max-height: 78vh; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 1rem; }
.lb-close { position: absolute; top: 1rem; right: 1.5rem; background: none; border: 0; color: #fff; font-size: 2.5rem; cursor: pointer; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--forest), #3d7a4e); color: #fff; padding: 4rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .4rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-list { list-style: none; margin-top: 1.5rem; display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list li > span { font-size: 1.3rem; width: 46px; height: 46px; display: grid; place-items: center; background: #eef6e3; border-radius: 50%; flex-shrink: 0; }
.contact-list strong { display: block; color: var(--forest-dark); }
.contact-list div { color: var(--muted); }
.contact-form { background: var(--cream); padding: 2rem; border-radius: var(--radius); display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: .35rem; font-weight: 500; font-size: .92rem; }
.contact-form input, .contact-form textarea { font: inherit; padding: .8rem 1rem; border: 1px solid #d8dfd5; border-radius: 10px; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--leaf); border-color: transparent; }
.contact-form .btn { justify-self: start; }
.form-note { font-size: .8rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--forest-dark); color: rgba(255,255,255,.8); padding: 2rem 0; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { height: 64px; background: #fff; border-radius: 8px; padding: 4px; }
.site-footer strong { color: #fff; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .work-grid, .beats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--forest-dark);
    max-height: 0; overflow: hidden; transition: max-height .35s; }
  .main-nav.open { max-height: 400px; }
  .main-nav a { padding: 1rem; width: 100%; text-align: center; }
  .main-nav .btn { border-radius: 0; }
  .site-header:has(.main-nav.open) { background: var(--forest-dark); }
  .work-grid, .beats-grid { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .section { padding: 4rem 0; }
}

/* Story page */
.story-page .section { padding-top: 8rem; }
.story-article { max-width: 760px; }
.story-article h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .5rem; }
.story-article time { display: block; color: var(--earth); font-weight: 600; margin-bottom: 1.5rem; }
.story-article .story-cover { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; }
.story-article > p:not(.eyebrow) { font-size: 1.08rem; color: #33443a; white-space: pre-line; }
.story-article .btn { margin-top: 2rem; }
.story-nav { display: flex !important; position: static !important; max-height: none !important; background: none !important; }

/* Mid-size screens: tighter nav so all links fit */
@media (min-width: 761px) and (max-width: 1100px) {
  .main-nav { gap: 1rem; }
  .main-nav a { font-size: .88rem; }
  .brand-text small { display: none; }
}
