/* FPNA Demo — design system */

:root {
  --color-bg: #FAF7F2;
  --color-bg-alt: #F2EDE3;
  --color-text: #1A2B1F;
  --color-text-muted: #4A5650;
  --color-accent: #2D5A3D;
  --color-accent-hover: #1F4029;
  --color-accent-soft: rgba(45, 90, 61, 0.08);
  --color-border: #E2D9C7;
  --color-border-strong: #C9BEA8;
  --color-card: #FFFFFF;

  --font-display: 'Fraunces', 'Iowan Old Style', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1100px;
  --container-padding: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--color-accent); text-decoration: none; transition: color 0.15s; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* Anniversary banner */
.banner-50 {
  background: var(--color-accent);
  color: #FAF7F2;
  text-align: center;
  padding: 12px 16px;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.banner-50 strong { font-weight: 600; }
.banner-50 a { color: #FAF7F2; text-decoration: underline; margin-left: 8px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(250, 247, 242, 0.92);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  color: var(--color-text);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  line-height: 1.15;
  max-width: 22ch;
}
.brand-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}
nav.main-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 15px;
}
nav.main-nav a:hover { color: var(--color-accent); text-decoration: none; }
nav.main-nav a.active { color: var(--color-accent); }
.nav-cta {
  background: var(--color-accent);
  color: #FAF7F2 !important;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
}
.nav-cta:hover { background: var(--color-accent-hover); text-decoration: none; }

@media (max-width: 820px) {
  .header-inner { flex-wrap: wrap; }
  nav.main-nav ul { gap: 18px; flex-wrap: wrap; }
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
section { padding: 80px 0; }
.section-tight { padding: 56px 0; }

/* Hero */
.hero {
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: 28px;
  max-width: 18ch;
}
.hero-sub {
  font-size: 20px;
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 56ch;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Decorative SVG backdrop */
.hero-decoration {
  position: absolute;
  right: -80px;
  top: 40px;
  width: 480px;
  opacity: 0.12;
  pointer-events: none;
}
@media (max-width: 900px) { .hero-decoration { display: none; } }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--color-accent); color: #FAF7F2; }
.btn-primary:hover { background: var(--color-accent-hover); color: #FAF7F2; text-decoration: none; }
.btn-secondary { background: transparent; color: var(--color-text); border-color: var(--color-border-strong); }
.btn-secondary:hover { border-color: var(--color-accent); color: var(--color-accent); text-decoration: none; }

/* Sections */
.section-eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 22ch;
}
.section-sub {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-bottom: 48px;
}

/* Next meeting card */
.next-meeting {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: 10px;
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
}
@media (max-width: 720px) {
  .next-meeting { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
}
.next-meeting-date {
  text-align: center;
  border-right: 1px solid var(--color-border);
  padding-right: 36px;
}
@media (max-width: 720px) {
  .next-meeting-date { border-right: none; border-bottom: 1px solid var(--color-border); padding: 0 0 20px; }
}
.next-meeting-day {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-accent);
}
.next-meeting-month {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 8px;
  font-weight: 500;
}
.next-meeting-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.next-meeting-body p {
  color: var(--color-text-muted);
  font-size: 15px;
}
.next-meeting-body p strong { color: var(--color-text); font-weight: 500; }

/* News cards */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }
.news-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}
.news-card:hover { border-color: var(--color-accent); text-decoration: none; transform: translateY(-2px); }
.news-meta {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 12px;
}
.news-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--color-text);
}
.news-excerpt { color: var(--color-text-muted); font-size: 15px; margin-bottom: 20px; flex: 1; }
.news-read { font-size: 14px; color: var(--color-accent); font-weight: 500; }

/* Map + address checker */
.boundary-block {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 820px) { .boundary-block { grid-template-columns: 1fr; } }

.map-placeholder {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.map-placeholder svg.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -100%);
  width: 24px;
  height: 24px;
  background: var(--color-accent);
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.map-pin::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: var(--color-bg);
  border-radius: 50%;
}
.map-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(250, 247, 242, 0.95);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--color-text);
}

.checker-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 28px;
}
.checker-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.checker-card p { color: var(--color-text-muted); font-size: 15px; margin-bottom: 20px; }
.checker-form { display: flex; gap: 8px; }
.checker-form input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  background: var(--color-bg);
}
.checker-form input:focus { outline: none; border-color: var(--color-accent); }
.checker-form button {
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  background: var(--color-accent);
  color: #FAF7F2;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.checker-form button:hover { background: var(--color-accent-hover); }
.checker-note { font-size: 13px; color: var(--color-text-muted); margin-top: 12px; }

/* CTA band */
.cta-band {
  background: var(--color-accent);
  color: #FAF7F2;
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-band p { font-size: 18px; opacity: 0.92; max-width: 50ch; margin: 0 auto 28px; }
.cta-band .btn-primary {
  background: #FAF7F2;
  color: var(--color-accent);
}
.cta-band .btn-primary:hover { background: #FFFFFF; color: var(--color-accent-hover); }

/* Footer */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 64px 0 28px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--color-text);
}
.footer-blurb { color: var(--color-text-muted); font-size: 15px; max-width: 32ch; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--color-text);
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--color-text-muted); font-size: 14px; }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--color-text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* Page header */
.page-header {
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--color-border);
}

/* Prose */
.prose { max-width: 70ch; }
.prose p { margin-bottom: 18px; color: var(--color-text); }
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.015em;
  margin: 48px 0 14px;
}
.prose h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 32px 0 10px;
}
.prose ul { margin: 14px 0 22px 22px; }
.prose li { margin-bottom: 6px; }

/* Board members */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.board-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 24px;
}
.board-card .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.board-card .role {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
  font-weight: 500;
}
.board-card .since { font-size: 14px; color: var(--color-text-muted); }

/* Timeline (history) */
.timeline {
  border-left: 2px solid var(--color-border);
  padding-left: 28px;
  margin-left: 6px;
  max-width: 60ch;
}
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 2px solid var(--color-bg);
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--color-accent);
  margin-bottom: 4px;
}
.timeline-title { font-weight: 500; margin-bottom: 4px; }
.timeline-desc { color: var(--color-text-muted); font-size: 15px; }

/* Meeting list */
.meeting-list { list-style: none; }
.meeting-list li {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
}
@media (max-width: 600px) {
  .meeting-list li { grid-template-columns: 1fr; gap: 6px; }
}
.meeting-date {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-accent);
}
.meeting-topic { font-weight: 500; }
.meeting-link { font-size: 14px; }

/* Forms (general) */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  background: var(--color-bg);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--color-accent); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* Resource list */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .resource-grid { grid-template-columns: 1fr; } }
.resource-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.resource-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.resource-card p { color: var(--color-text-muted); font-size: 15px; margin-bottom: 16px; flex: 1; }
.resource-card a { font-size: 14px; font-weight: 500; }

/* Utilities */
.text-center { text-align: center; }
.muted { color: var(--color-text-muted); }
.divider {
  height: 1px;
  background: var(--color-border);
  margin: 48px 0;
}
