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

:root {
  --color-bg: #f7f5f0;
  --color-surface: #ffffff;
  --color-text: #1a2e1a;
  --color-muted: #5a6b5a;
  --color-accent: #2d6a3e;
  --color-accent-hover: #245a34;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max-width: 720px;
  --max-width-wide: 960px;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2rem, var(--max-width-wide));
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e2dfd6;
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
}

.site-header nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.site-header nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.9375rem;
}

.site-header nav a:hover {
  color: var(--color-accent);
}

/* Hero */

.hero {
  min-height: 70vh;
  min-height: 70dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(to bottom, rgba(26, 46, 26, 0.55), rgba(26, 46, 26, 0.7)),
    url("images/hero/view_from_rounds_hill.jpeg") center center / cover no-repeat;
}

.hero-overlay {
  width: 100%;
  padding: 5rem 0 4rem;
  text-align: center;
  color: #fff;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 42ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.lead a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, 0.6);
  transition: text-decoration-color 0.15s ease;
}

.lead a:hover {
  text-decoration-color: #fff;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--color-accent-hover);
}

.btn-large {
  padding: 0.875rem 2rem;
  font-size: 1.0625rem;
}

/* Sections */

.section {
  padding: 3rem 0;
  scroll-margin-top: 5rem;
}

.section-alt {
  background: var(--color-surface);
  border-block: 1px solid #e2dfd6;
}

.section-cta {
  background: var(--color-surface);
  border-top: 1px solid #e2dfd6;
  text-align: center;
}

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.section p {
  color: var(--color-muted);
}

.section p + p {
  margin-top: 1rem;
}

.section ul {
  margin: 1rem 0 0 1.25rem;
  color: var(--color-muted);
}

.section ul + p {
  margin-top: 1rem;
}

.section li + li {
  margin-top: 0.5rem;
}

.section-cta p {
  max-width: 40ch;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.petition-qr {
  margin-top: 2rem;
}

.petition-qr img {
  display: block;
  width: min(200px, 60vw);
  height: auto;
  margin-inline: auto;
  border-radius: 8px;
  border: 1px solid #e2dfd6;
}

.petition-qr figcaption {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* Gallery */

.gallery {
  margin-top: 2.5rem;
}

.gallery-item img,
.plan-map img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #e2dfd6;
}

.gallery-item figcaption,
.plan-map figcaption {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  text-align: center;
}

.plan-map {
  margin-top: 1.5rem;
}

.banner {
  margin-top: 1.5rem;
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #e2dfd6;
}

.banner figcaption {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  text-align: center;
}

.plan-map figcaption a {
  color: var(--color-accent);
}

/* Contact / social */

.contact-heading {
  margin-top: 2rem;
  font-size: 1.125rem;
}

.section p a {
  color: var(--color-accent);
  text-underline-offset: 2px;
}

.section p a:hover {
  text-decoration: none;
}

.social-links {
  list-style: none;
  margin: 1rem 0 0;
}

.social-links li + li {
  margin-top: 0.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.social-links a:hover {
  text-decoration: underline;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
  flex-shrink: 0;
}

/* Footer */

.site-footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin-bottom: 0.75rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Mobile */

@media (max-width: 480px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header nav ul {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 60vh;
    min-height: 60dvh;
  }
}
