/* Community Voice
   Layout: one readable column on a mist ground, phone first. The flyer's solid
   teal blocks carry the facts people came for; everything else stays quiet. */

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/lexend-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/lexend-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --teal: #015b63;        /* the flyer's block color */
  --teal-deep: #053f45;   /* headings and body ink */
  --teal-soft: #3d7a80;   /* secondary text */
  --mist: #def3f8;        /* the flyer's sky */
  --mist-pale: #f1fafc;   /* page ground */
  --paper: #ffffff;
  --line: #b5d3d9;
  --fern: #2f6b3c;        /* confirmation */
  --lehua: #a8261c;       /* errors and closing notices */

  --font: "Lexend", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(2.1rem, 6.5vw, 3.4rem);
  --step-4: clamp(2.6rem, 10vw, 5.2rem);

  --column: 44rem;
  --wide: 68rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--mist-pale);
  color: var(--teal-deep);
  font-family: var(--font);
  font-size: var(--step-0);
  font-weight: 350;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

h1, h2, h3 { color: var(--teal-deep); line-height: 1.15; margin: 0; text-wrap: balance; }
h2 { font-size: var(--step-2); font-weight: 650; letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.column { max-width: var(--column); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2.25rem; }

.skip { position: absolute; left: -999rem; }
.skip:focus { left: var(--gutter); top: 0.5rem; background: var(--paper); padding: 0.5rem 0.75rem; z-index: 10; }

/* Site header */
.site-header { background: var(--mist); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 0.9rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--teal-deep); text-decoration: none; }
.wordmark svg { width: 1.6rem; height: 1.6rem; flex: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: var(--step--1); font-weight: 450; }
.site-nav a { padding-block: 0.4rem; }

/* Hero: mirrors the flyer's stacked bold / light title */
.hero { background: linear-gradient(var(--mist), var(--mist-pale)); padding-block: clamp(1.75rem, 6vw, 3.5rem) clamp(2rem, 6vw, 3.5rem); }
.hero .wrap { display: flex; flex-direction: column; gap: 1.5rem; }
.status { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.85rem; font-size: var(--step--1); font-weight: 500; }
.status::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--fern); }
.status.is-closed::before { background: var(--lehua); }
.hero h1 { display: flex; flex-direction: column; gap: 0.1em; color: var(--teal); }
.hero h1 .place { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.hero h1 .what { font-size: var(--step-3); font-weight: 250; letter-spacing: -0.015em; line-height: 1.08; }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 38rem; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.facts li { background: var(--teal); color: var(--paper); padding: 1.1rem 1.25rem 1.2rem; display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.facts .label { font-size: var(--step--1); font-weight: 400; opacity: 0.85; }
.facts .value { font-size: var(--step-1); font-weight: 650; line-height: 1.25; }
.facts .detail { font-size: var(--step--1); line-height: 1.45; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.7rem 1.5rem; border: 2px solid var(--teal); background: var(--teal); color: var(--paper); font: inherit; font-weight: 600; font-size: var(--step-0); text-decoration: none; cursor: pointer; border-radius: 0; }
.button:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--paper); }
.button.quiet { background: transparent; color: var(--teal); }
.button.quiet:hover { background: var(--paper); color: var(--teal-deep); }

/* Sections */
.section { padding-block: clamp(2rem, 6vw, 3.25rem); }
.section + .section { border-top: 1px solid var(--line); }
.plain-list { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.3rem; }

.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; align-items: start; }
figure { margin: 0; display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
figcaption { font-size: var(--step--1); color: var(--teal-soft); line-height: 1.45; }

/* Timeline: a real sequence, so it is an ordered list */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: grid; grid-template-columns: 13.5rem 1fr; gap: 0.25rem 1.25rem; padding-block: 0.85rem; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .when { font-weight: 650; }
.timeline li.goal .when, .timeline li.goal .what { color: var(--teal); font-weight: 650; }
@media (max-width: 34rem) { .timeline li { grid-template-columns: 1fr; } }
.note { font-size: var(--step--1); color: var(--teal-soft); }

.flyer { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.flyer img { border: 1px solid var(--line); }
@media (max-width: 34rem) { .flyer { grid-template-columns: 1fr; } .flyer img { max-width: 18rem; } }

/* Comment form */
.comment { background: var(--paper); border-top: 6px solid var(--teal); padding: clamp(1.25rem, 5vw, 2.25rem); display: flex; flex-direction: column; gap: 1.5rem; }
.comment form { display: flex; flex-direction: column; gap: 1.35rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.35rem 1rem; }
label, legend { font-weight: 600; }
.optional { font-weight: 350; color: var(--teal-soft); }
.hint { font-size: var(--step--1); color: var(--teal-soft); line-height: 1.45; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; min-height: 3.1rem; padding: 0.7rem 0.85rem; font: inherit; font-size: 1.0625rem; color: var(--teal-deep);
  background: var(--paper); border: 1.5px solid var(--teal-soft); border-radius: 0; appearance: none;
}
textarea { min-height: 11rem; resize: vertical; line-height: 1.55; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
form.was-validated input:invalid, form.was-validated textarea:invalid { border-color: var(--lehua); border-width: 2px; }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
legend { padding: 0; margin-bottom: 0.4rem; }
.choice { display: flex; align-items: flex-start; gap: 0.7rem; padding-block: 0.4rem; font-weight: 350; cursor: pointer; }
.choice input { flex: none; width: 1.35rem; height: 1.35rem; margin: 0.15rem 0 0; accent-color: var(--teal); }
.counter { align-self: flex-end; font-size: var(--step--1); color: var(--teal-soft); font-variant-numeric: tabular-nums; }
.privacy { background: var(--mist-pale); border-left: 4px solid var(--teal); padding: 0.9rem 1rem; font-size: var(--step--1); line-height: 1.55; }
.form-error { color: var(--lehua); font-weight: 500; }
.closed-notice { border-left: 4px solid var(--lehua); background: var(--mist-pale); padding: 1rem 1.1rem; }

/* Home page project list */
.projects { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.project { background: var(--paper); border-top: 6px solid var(--teal); padding: clamp(1.25rem, 4vw, 1.75rem); display: flex; flex-direction: column; gap: 0.75rem; }
.project h3 { font-size: var(--step-2); }
.project h3 a { text-decoration: none; }
.project h3 a:hover { text-decoration: underline; }
.project dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0.2rem 1rem; font-size: var(--step--1); }
.project dt { color: var(--teal-soft); }
.project dd { margin: 0; font-weight: 500; }
.page-title { font-size: var(--step-3); font-weight: 750; letter-spacing: -0.02em; color: var(--teal); }

/* Footer */
.site-footer { background: var(--teal); color: var(--paper); margin-top: clamp(2rem, 6vw, 3.5rem); font-size: var(--step--1); }
.site-footer .wrap { padding-block: 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer a { color: var(--paper); }
.site-footer .select { user-select: all; }
