@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap");

:root {
  --ink: #111;
  --green: #87c82e;
  --blue: #61aae1;
  --btn: #00abe4;
  --soft: #f7f7f7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.55; background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(720px, calc(100% - 36px)); margin: 0 auto; }

.top { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid #eee; }
.top-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.brand-text { font-family: "Space Grotesk", sans-serif; font-weight: 600; text-decoration: none; font-size: 16px; }
nav a { text-decoration: none; margin-left: 18px; font-family: "Space Grotesk", sans-serif; font-size: 15px; }
nav a.active { text-decoration: underline; text-underline-offset: 5px; }
.menu-btn { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; }
.menu-btn span, .menu-btn span:before, .menu-btn span:after { display: block; width: 22px; height: 2px; background: #111; position: relative; }
.menu-btn span:before, .menu-btn span:after { content: ""; position: absolute; left: 0; right: 0; }
.menu-btn span:before { top: -7px; }
.menu-btn span:after { top: 7px; }

.hero-photo { width: 100%; height: 220px; object-fit: cover; object-position: center; }
.hero { text-align: center; padding: 28px 18px 36px; }
.logo-lg { width: min(280px, 70%); height: auto; margin: 8px auto 10px; }
.logo-sm { width: 180px; height: auto; margin: 0 auto 8px; }
h1 { font-family: "Space Grotesk", sans-serif; font-size: 32px; line-height: 1.15; margin: 8px 0 12px; font-weight: 600; }
.lede { max-width: 420px; margin: 0 auto 18px; color: #333; }
.btn { display: inline-block; background: var(--btn); color: #fff; text-decoration: none; border: 0; padding: 12px 28px; font-family: "Space Grotesk", sans-serif; font-size: 15px; cursor: pointer; }
.btn.block { display: block; text-align: center; }

.band { padding: 36px 0 8px; }
.band.green { background: var(--green); }
.band.blue { background: var(--blue); color: #111; }
.band h2 { font-family: "Space Grotesk", sans-serif; font-size: 28px; margin: 0 0 10px; letter-spacing: .02em; }
.mission { font-weight: 700; font-size: 20px; }
.sub { font-style: italic; margin: 0 0 8px; }
.rule { border: 0; border-top: 2px solid #111; margin: 10px 0 18px; }
.svc { margin: 0 0 6px; font-family: "Space Grotesk", sans-serif; font-size: 22px; }
.svc + .sub { margin-bottom: 4px; }
.center { text-align: center; }
.partners { display: grid; gap: 28px; justify-items: center; padding: 10px 0 28px; font-family: "Space Grotesk", sans-serif; }
.p1 { font-size: 28px; font-weight: 700; }
.p1 span { font-size: 22px; }
.p2 { font-size: 32px; font-weight: 800; letter-spacing: 1px; }
.p3 { font-size: 34px; font-weight: 800; font-style: italic; }
.p3 em { font-weight: 500; }
.p4 { border: 2px solid #111; padding: 4px 10px; font-weight: 700; }

form { display: grid; gap: 8px; }
label { font-size: 14px; }
input, textarea { width: 100%; padding: 10px; border: 1px solid #222; font: inherit; background: #fff; }
textarea { min-height: 110px; }
.note { font-size: 13px; color: #444; }

.team { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.person { text-align: center; }
.person img { width: 100%; height: 220px; object-fit: cover; object-position: top; background: #eee; }
.person b { display: block; margin-top: 8px; font-family: "Space Grotesk", sans-serif; }
.person span { font-size: 13px; color: #444; }

.post-list { display: grid; gap: 18px; }
.post-tease { display: grid; grid-template-columns: 140px 1fr; gap: 14px; text-decoration: none; border-bottom: 1px solid #e5e5e5; padding-bottom: 16px; }
.post-tease img { width: 100%; height: 100px; object-fit: cover; }
.post-tease h3 { font-family: "Space Grotesk", sans-serif; margin: 4px 0; }
.meta { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #666; }
.article { max-width: 720px; }
.article .body { white-space: normal; }
.article .body img { max-width: 100%; height: auto; margin: 8px 0; }
.article .body ul, .article .body ol { margin: 8px 0 8px 20px; }
.article .body h2, .article .body h3 { margin: 16px 0 8px; }
.flash { padding: 10px; border: 1px solid #ddd; }
.flash.err { background: #fbeaea; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
button { border: 0; background: var(--btn); color: #fff; padding: 12px 18px; font-family: "Space Grotesk", sans-serif; cursor: pointer; }

footer { background: var(--blue); text-align: center; padding: 28px 16px 36px; }
footer .logo-sm { width: 160px; }
footer a { display: block; text-decoration: none; margin-top: 8px; font-size: 14px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 800px) {
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 58px; background: #fff; border-bottom: 1px solid #eee; padding: 8px 18px 16px; }
  nav.open a { margin: 10px 0 0; }
  .menu-btn { display: block; }
}
@media (min-width: 801px) {
  .hero-photo { height: 360px; }
  .team { grid-template-columns: repeat(3, 1fr); }
}
