:root {
  --bg: #f7f5f0;
  --bg-alt: #efece4;
  --card: #fffdf8;
  --ink: #23211d;
  --ink-soft: #4a463e;
  --ink-faint: #8a8375;
  --line: #e2ddd2;
  --line-strong: #cdc6b8;
  --accent: #1d5f66;
  --accent-dark: #123f44;
  --accent-light: #7fc2c8;
  --accent-light-hover: #a9dade;
  --dark-bg: #23211d;
  --dark-line: #3a372f;
  --dark-text: #f7f5f0;
  --dark-text-soft: #b8b2a5;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: Karla, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-color: rgba(29, 95, 102, .35);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--accent-dark);
  text-decoration-color: var(--accent-dark);
}

.wrap { max-width: 1080px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 240, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: baseline;
  justify-content: space-between;
}
.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  gap: 22px;
  font-size: 14.5px;
  letter-spacing: .01em;
}
.site-nav a { color: var(--ink-soft); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  background-image:
    linear-gradient(180deg, rgba(247, 245, 240, .82) 0%, rgba(247, 245, 240, .93) 55%, var(--bg) 100%),
    url('../assets/hero-trees.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.hero-inner { max-width: 1080px; margin: 0 auto; padding: 72px 24px 56px; }
.eyebrow {
  margin: 0 0 20px;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0 0 24px;
  max-width: 15ch;
}
.lede {
  margin: 0;
  max-width: 54ch;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-dark); color: var(--bg); }
.btn-outline { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Sections */
section { border-top: 1px solid var(--line); }
#top { border-top: none; }
.section-alt { background: var(--bg-alt); }
.section-inner { max-width: 1080px; margin: 0 auto; padding: 64px 24px; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
}
h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: -.02em;
  margin: 0;
}
.section-sub { margin: 0; font-size: 14px; color: var(--ink-faint); }
.section-lede {
  margin: 0 0 44px;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.section-lede-tight { max-width: 60ch; margin-bottom: 30px; }

/* Events */
.event {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.event:first-child { border-top: none; padding-top: 0; }
.event-date {
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 10px 6px 12px;
  background: var(--card);
}
.event-month { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.event-day { font-family: var(--serif); font-size: 30px; line-height: 1.1; font-weight: 600; }
.event-title { font-family: var(--serif); font-weight: 600; font-size: 21px; margin: 0 0 6px; letter-spacing: -.01em; }
.event-meta { margin: 0 0 10px; font-size: 14.5px; color: var(--ink-faint); }
.event-desc { margin: 0; max-width: 62ch; font-size: 16px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.events-end { border-top: 1px solid var(--line); }

/* Neighborhood gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0; padding: 0; }
.gallery-item { margin: 0; }
.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: #e6e2d8;
}
.gallery-item figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-faint);
}

/* Membership */
.membership-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px; }
.membership-copy p {
  margin: 0 0 18px;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.membership-copy p:last-of-type { margin-bottom: 0; }
.membership-copy .btn { margin-top: 26px; }

.dues-card {
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--card);
  padding: 32px;
}
.dues-label { margin: 0 0 6px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.dues-amount { font-family: var(--serif); font-size: 48px; font-weight: 600; margin: 0 0 4px; letter-spacing: -.02em; }
.dues-period { margin: 0 0 26px; font-size: 15px; color: var(--ink-faint); }
.dues-facts { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.dues-fact { display: flex; justify-content: space-between; gap: 16px; font-size: 15.5px; }
.dues-fact span:first-child { color: var(--ink-soft); }

/* Bylaws */
.bylaws-link-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.doc-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
}
.doc-card:hover { border-color: var(--accent); }
.doc-badge {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .1em;
  padding: 5px 8px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 2px;
}
.doc-meta { display: grid; gap: 2px; }
.doc-name { font-size: 16px; font-weight: 500; }
.doc-sub { font-size: 13.5px; color: var(--ink-faint); }
.bylaws-note {
  margin: 16px 0 0;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: var(--ink-faint);
}

/* Contact */
.section-dark { background: var(--dark-bg); color: var(--dark-text); }
.contact-grid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}
.contact-lede { margin: 0; max-width: 48ch; font-size: 17px; line-height: 1.65; color: var(--dark-text-soft); text-wrap: pretty; }
.contact-role { margin: 0 0 6px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.contact-name { font-family: var(--serif); font-size: 26px; margin: 0 0 10px; font-weight: 600; }
.contact-email { font-size: 17px; color: var(--accent-light); }
.contact-email:hover { color: var(--accent-light-hover); }

/* Footer */
.site-footer { border-top: 1px solid var(--dark-line); background: var(--dark-bg); }
.footer-row {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-faint);
}
