@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500&family=Space+Mono:wght@400;700&display=swap');

:root {
  --moss: #2D4A2D;
  --moss-light: #3D6B3D;
  --sage: #7A9E7E;
  --sage-light: #A8C5AB;
  --cream: #F5F0E8;
  --warm-white: #FAFAF7;
  --earth: #8B6F47;
  --terracotta: #C4704A;
  --sky: #4A7A8A;
  --leaf: #5C8A4A;
  --char: #1A1F1A;
  --char-soft: #2A332A;
  --mist: #E8EDE8;
  --gold: #C4A35A;
  --accent: #4A8A6A;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --nav-h: 72px;
  --radius: 4px;
  --radius-lg: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--char);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(29, 35, 29, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 1000;
  border-bottom: 1px solid rgba(122, 158, 126, 0.2);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
}

.nav-logo .wordmark {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--sage-light);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.nav-logo .tagline {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(168, 197, 171, 0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(168, 197, 171, 0.7);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-links a:hover { color: var(--sage-light); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--sage-light); }

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 0.45rem 1rem !important;
  border-radius: 2px !important;
  letter-spacing: 0.08em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--moss-light) !important; }
.nav-cta::after { display: none !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--sage-light);
  transition: all 0.3s;
}

/* ── PAGE WRAPPER ── */
.page-wrap {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  background: var(--char);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(45,74,45,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(74,122,138,0.2) 0%, transparent 60%),
    linear-gradient(160deg, #0F1A0F 0%, #1A2A1A 50%, #0A1520 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(122,158,126,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,158,126,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s ease forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.0;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s ease forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--sage-light);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(245,240,232,0.55);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s ease forwards;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s ease forwards;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--sage-light);
  display: block;
  line-height: 1;
}

.hero-stat .label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(168,197,171,0.5);
  display: block;
  margin-top: 0.3rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s ease forwards;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 1.3s ease forwards;
  color: rgba(168,197,171,0.4);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(122,158,126,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  min-height: 44px;
}

.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: var(--moss-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--sage-light);
  border: 1px solid rgba(122,158,126,0.4);
}
.btn-outline:hover {
  border-color: var(--sage);
  background: rgba(122,158,126,0.08);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--char-soft);
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-dark:hover { background: #333a33; }

.btn-lg { padding: 1rem 2.5rem; font-size: 0.75rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.65rem; min-height: 44px; }

/* ── SECTIONS ── */
section { padding: 5rem 2.5rem; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--char);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.section-title em { font-style: italic; color: var(--moss-light); }

.section-body {
  font-size: 1.05rem;
  color: #4A5A4A;
  max-width: 65ch;
  line-height: 1.8;
}

.section-dark {
  background: var(--char);
  color: var(--cream);
}

.section-dark .section-title { color: var(--cream); }
.section-dark .section-body { color: rgba(245,240,232,0.65); }
.section-dark .section-label { color: var(--sage); }

.section-mist {
  background: var(--mist);
}

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
}

/* ── GRID LAYOUTS ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }

/* ── TWO-COLUMN RESPONSIVE LAYOUT ── */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

/* ── FORM ROW (two-column form fields) ── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

/* ── CARDS ── */
.card {
  background: white;
  border: 1px solid rgba(45,74,45,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(45,74,45,0.08); }

.card-dark {
  background: var(--char-soft);
  border-color: rgba(122,158,126,0.15);
}

/* ── ISSUE CARD ── */
.issue-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border: 1px solid rgba(196,112,74,0.15);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin-bottom: 1rem;
}

.issue-icon {
  width: 40px;
  height: 40px;
  background: rgba(196,112,74,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.issue-text h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--char);
  margin-bottom: 0.25rem;
}

.issue-text p {
  font-size: 0.82rem;
  color: #6A7A6A;
  line-height: 1.5;
}

/* ── VISION CARD ── */
.vision-card {
  background: linear-gradient(135deg, rgba(45,74,45,0.04), rgba(74,122,138,0.04));
  border: 1px solid rgba(45,74,45,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.vision-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--moss);
  margin-bottom: 0.75rem;
}

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--mist);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,31,26,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-text {
  color: white;
}

.gallery-overlay-text .tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-light);
  background: rgba(45,74,45,0.6);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 0.4rem;
  display: inline-block;
}

.gallery-overlay-text p {
  font-size: 0.85rem;
  line-height: 1.4;
}

.gallery-meta {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.2rem;
}

/* ── FILTER TABS ── */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-tab {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  border: 1px solid rgba(45,74,45,0.2);
  background: transparent;
  color: #6A7A6A;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 44px;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--moss);
  color: white;
  border-color: var(--moss);
}

/* ── FORMS ── */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(45,74,45,0.2);
  border-radius: var(--radius);
  background: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--char);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74,138,106,0.1);
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* ── UPLOAD ZONE ── */
.upload-zone {
  border: 2px dashed rgba(45,74,45,0.25);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: rgba(45,74,45,0.02);
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--accent);
  background: rgba(74,138,106,0.04);
}

.upload-zone .upload-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

.upload-zone p {
  color: #6A7A6A;
  font-size: 0.9rem;
}

.upload-zone strong { color: var(--accent); }

.upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.preview-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
}

.preview-thumb img { width: 100%; height: 100%; object-fit: cover; }

.preview-remove {
  position: absolute;
  top: 4px; right: 4px;
  width: 24px; height: 24px;
  background: rgba(196,112,74,0.9);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── COMMENT CARDS ── */
.comment-card {
  background: white;
  border: 1px solid rgba(45,74,45,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--moss);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-light);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.comment-meta { flex: 1; }

.comment-name {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--char);
}

.comment-date {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: #8A9A8A;
}

.comment-body {
  font-size: 0.92rem;
  color: #4A5A4A;
  line-height: 1.7;
}

.comment-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-top: 0.75rem;
}

.tag-footpath { background: rgba(196,112,74,0.12); color: var(--terracotta); }
.tag-canopy   { background: rgba(92,138,74,0.12);  color: var(--leaf); }
.tag-parking  { background: rgba(74,122,138,0.12); color: var(--sky); }
.tag-general  { background: rgba(45,74,45,0.12);   color: var(--moss-light); }
.tag-vision   { background: rgba(196,163,90,0.12); color: var(--gold); }

/* ── PETITION ── */
.petition-counter {
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, var(--char), var(--char-soft));
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.petition-counter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(45,74,45,0.3), transparent);
}

.petition-count {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--sage-light);
  display: block;
  position: relative;
  line-height: 1;
}

.petition-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(168,197,171,0.6);
  display: block;
  margin-top: 0.5rem;
  position: relative;
}

.petition-bar-wrap {
  margin-top: 1.5rem;
  position: relative;
}

.petition-bar-bg {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.petition-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--sage));
  border-radius: 2px;
  transition: width 1s ease;
}

.petition-target {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(168,197,171,0.4);
  text-align: right;
  margin-top: 0.4rem;
  letter-spacing: 0.1em;
}

/* ── MAP ── */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(45,74,45,0.15);
  position: relative;
}

#street-map {
  width: 100%;
  height: 500px;
}

.map-legend {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(245,240,232,0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  border: 1px solid rgba(45,74,45,0.15);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--char);
  margin-bottom: 0.4rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ── TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -2.35rem;
  top: 0.3rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.timeline-body {
  font-size: 0.88rem;
  color: #5A6A5A;
  line-height: 1.6;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--char);
  padding: 5rem 2.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(45,74,45,0.4), transparent),
    linear-gradient(160deg, #0F1A0F, #1A2A1A);
}

.page-hero .container { position: relative; }

.page-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-hero-title em { font-style: italic; color: var(--sage-light); }

.page-hero-desc {
  font-size: 1.05rem;
  color: rgba(245,240,232,0.6);
  max-width: 60ch;
  line-height: 1.75;
}

/* ── FOOTER ── */
footer {
  background: var(--char);
  color: rgba(168,197,171,0.5);
  padding: 3rem 2.5rem;
  border-top: 1px solid rgba(122,158,126,0.12);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 35ch;
  margin-top: 0.75rem;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col ul li a {
  color: rgba(168,197,171,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--sage-light); }

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(122,158,126,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

/* ── ALERT / TOAST ── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--char-soft);
  color: var(--cream);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
  font-size: 0.9rem;
  z-index: 9000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s ease;
  max-width: 320px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ── ADMIN BAR ── */
.admin-bar {
  display: none;
  background: rgba(196,112,74,0.95);
  color: white;
  padding: 0.4rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-bar.hidden { display: none; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,31,26,0.85);
  backdrop-filter: blur(4px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.3s;
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(45,74,45,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.modal-close {
  width: 44px; height: 44px;
  border: none;
  background: var(--mist);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--char);
  transition: background 0.2s;
}

.modal-close:hover { background: rgba(196,112,74,0.15); }

.modal-body { padding: 1.5rem; }

/* ── COUNCIL PAGE ── */
.council-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(45,74,45,0.08);
  border: 1px solid rgba(45,74,45,0.2);
  border-radius: 2px;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 1.5rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.stat-box {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--mist);
  border-radius: var(--radius-lg);
}

.stat-box .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--moss);
  display: block;
  line-height: 1;
}

.stat-box .label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6A7A6A;
  display: block;
  margin-top: 0.35rem;
}

/* ── RESPONSIVE: TABLET ── */
@media (max-width: 768px) {
  /* NAV */
  nav { padding: 0 1.25rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(29,35,29,0.98);
    padding: 0.5rem 0;
    gap: 0;
    border-bottom: 1px solid rgba(122,158,126,0.2);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(122,158,126,0.08);
    font-size: 0.75rem;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-hamburger { display: flex; }

  /* PAGE */
  section { padding: 3.5rem 1.25rem; }
  .page-hero { padding: 3.5rem 1.25rem 2.5rem; }

  /* HERO */
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-stat .num { font-size: 1.6rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  /* TWO-COL GRIDS — collapse to single column */
  .two-col-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* FORM ROW */
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* GALLERY */
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  /* GRIDS */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* UPLOAD ZONE */
  .upload-zone { padding: 2rem 1rem; }

  /* FOOTER */
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  /* TOAST */
  .toast { right: 1rem; left: 1rem; max-width: none; }
}

/* ── RESPONSIVE: MOBILE ── */
@media (max-width: 480px) {
  /* GALLERY — single column on small phones */
  .gallery-grid { grid-template-columns: 1fr; }

  /* HERO */
  .hero-stats { gap: 1rem; }
  .hero-stat .num { font-size: 1.4rem; }

  /* PAGE HERO */
  .page-hero { padding: 3rem 1rem 2rem; }
  section { padding: 2.5rem 1rem; }

  /* STAT GRID */
  .stat-grid { grid-template-columns: 1fr 1fr; }

  /* PETITION COUNTER */
  .petition-count { font-size: 3.5rem; }
}
