/* Local Help: community-wall flyers. Deliberately not Blue Dots (no navy, dots, or their fonts). */
:root {
  --ink: #151515;
  --ink-2: #3b3b3b;
  --wall: #f4f1ea;
  --paper: #ffffff;
  --line: #151515;
  --soft-line: rgb(21 21 21 / 18%);
  --pink: #ff5ca8;
  --highlight: #ffe14d;
  /* Flyer papers, rotated across cards */
  --mint: #c4efd8;
  --yellow: #ffe17a;
  --rose: #ffd0e4;
  --sky: #cde7fb;
  --shadow: 5px 5px 0 var(--ink);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font: 400 19px/1.55 Archivo, system-ui, sans-serif;
}
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
h1, h2, h3 { font-family: "Archivo Black", Archivo, sans-serif; font-weight: 400; letter-spacing: -0.02em; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: #fff; padding: 8px 12px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top { background: #fff; border-bottom: 3px solid var(--line); }
.brand {
  display: block;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px;
  text-decoration: none;
  font: 400 28px/1 "Archivo Black", sans-serif;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.brand-hl { background: var(--pink); padding: 0 6px; }

/* Hero */
.hero-inner { max-width: 1120px; margin: 0 auto; padding: 40px 16px 8px; }
.hero h1 {
  margin: 0 0 26px;
  max-width: 20ch;
  text-wrap: balance;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.02;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 640px;
  background: #fff;
  border: 3px solid var(--line);
  padding: 0 16px;
  box-shadow: var(--shadow);
}
.search svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 15px 0; font-size: 20px; background: transparent; }
.search input::placeholder { color: #6a6a6a; }

/* Disclaimer note: a flyer folded shut until opened */
.note {
  position: relative;
  max-width: 820px;
  margin: 30px 0 0;
  background: #fff;
  border: 3px solid var(--line);
  box-shadow: var(--shadow);
}
.note summary {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  min-height: 56px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 800;
}
.note summary::-webkit-details-marker { display: none; }
.note summary:hover .note-toggle { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.note-label {
  padding: 2px 9px;
  background: var(--ink);
  color: #fff;
  font: 400 15px/1.5 "Archivo Black", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.note-toggle { margin-left: auto; font-size: 17px; white-space: nowrap; }
.note-toggle::after { content: "Read more ▾"; }
.note[open] .note-toggle::after { content: "Close ▴"; }
.note-body { padding: 0 18px 18px; }
.note-body p { margin: 0; }
.note mark { background: var(--highlight); color: inherit; padding: 0 2px; }
.note .note-ask { margin-top: 12px; padding-top: 12px; border-top: 2px dashed var(--soft-line); font-weight: 600; }

/* Filters: three labeled dropdowns in one row */
.filters { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 14px; padding: 26px 0 0; max-width: 900px; }
.pick { display: grid; gap: 6px; min-width: 0; }
.pick > span { font: 400 16px "Archivo Black", sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }
.pick select {
  appearance: none;
  width: 100%;
  min-height: 56px;
  padding: 10px 44px 10px 18px;
  border: 2.5px solid var(--line);
  border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23151515' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 20px;
  font: 800 20px Archivo, sans-serif;
  color: var(--ink);
  text-overflow: ellipsis;
  cursor: pointer;
}
.pick select:hover { background-color: var(--highlight); }
.pick.on select {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color: #fff;
}

/* Tabs */
.tabs { display: flex; gap: 4px; margin-top: 26px; border-bottom: 3px solid var(--line); overflow-x: auto; }
.tabs button {
  flex: none;
  border: 0;
  background: none;
  padding: 14px 16px;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink-2);
  border-bottom: 6px solid transparent;
  margin-bottom: -3px;
}
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--pink); }
.count {
  display: inline-block;
  min-width: 30px;
  margin-left: 6px;
  padding: 0 9px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 19px;
  text-align: center;
}

.toolbar { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0 4px; }
#status { margin: 0; color: var(--ink-2); font-size: 18px; font-weight: 600; }
.link-btn { border: 0; background: none; padding: 4px; font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Groups + cards */
.group-title { display: flex; align-items: center; gap: 10px; margin: 30px 0 14px; font-size: 26px; }
.group-title .count { font-family: Archivo, sans-serif; font-weight: 800; }
.group-note { margin: -8px 0 16px; color: var(--ink-2); font-size: 17px; font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.card {
  --paper: var(--mint);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  background: var(--paper);
  border: 2px solid var(--line);
  padding: 20px 20px 0;
  box-shadow: 4px 4px 0 rgb(21 21 21 / 22%);
}
.card:nth-child(4n+2) { --paper: var(--yellow); }
.card:nth-child(4n+3) { --paper: var(--rose); }
.card:nth-child(4n+4) { --paper: var(--sky); }
.card h3 { margin: 0; font-size: 24px; line-height: 1.12; overflow-wrap: anywhere; }
.kind {
  align-self: flex-start;
  padding: 2px 8px;
  border: 2px solid var(--line);
  background: rgb(255 255 255 / 55%);
  font: 400 14px/1.4 "Archivo Black", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.kind.pro { background: var(--ink); color: #fff; }
.area { display: flex; gap: 6px; margin: 0; font-size: 17px; font-weight: 800; }
.area svg { width: 16px; height: 16px; flex: none; margin-top: 3px; fill: var(--ink); }
.summary { margin: 0; color: var(--ink); font-size: 18px; }
.summary.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more { align-self: flex-start; border: 0; background: none; padding: 0; font-size: 17px; font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.topics { margin: 0; font-size: 16px; font-weight: 700; color: var(--ink-2); }
.topics span + span::before { content: " · "; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }

/* Contact: a plain white strip at the foot of the flyer, one clear row per way to reach them */
.contact { display: grid; margin: auto -20px 0; padding: 4px 20px; background: #fff; border-top: 2px dashed var(--line); }
.card > .contact:first-child { margin-top: 0; }
.contact a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 0; border-bottom: 1px solid var(--soft-line); font-weight: 800; text-decoration: none; }
.contact a:last-child { border-bottom: 0; }
.contact a:hover .val { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.contact .ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--paper); font-size: 17px; }
.contact .val { min-width: 0; font-size: 20px; overflow-wrap: anywhere; }
.contact .go { margin-left: auto; padding-left: 8px; font-size: 17px; }
.contact a[href^="tel:"] .go { padding: 3px 12px; background: var(--ink); color: #fff; border-radius: 999px; }
.card:not(:has(.contact)) { padding-bottom: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 9px 16px;
  border: 2.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}
.btn.primary { background: var(--ink); color: #fff; }
.btn:hover { background: var(--highlight); color: var(--ink); }

/* Answers */
.answers { display: grid; gap: 12px; }
.answer { background: #fff; border: 2px solid var(--line); box-shadow: 4px 4px 0 rgb(21 21 21 / 22%); }
.answer summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-weight: 800;
  font-size: 20px;
  cursor: pointer;
}
.answer summary::-webkit-details-marker { display: none; }
.answer summary::after { content: "+"; flex: none; font: 400 26px/1 "Archivo Black", sans-serif; }
.answer[open] summary::after { content: "–"; }
.answer .body { padding: 0 18px 16px; }
.answer .body p { margin: 0 0 10px; }
.answer .src { font-size: 16px; font-weight: 700; }

.empty { margin: 24px 0; padding: 36px 20px; text-align: center; background: #fff; border: 2.5px dashed var(--line); }
.empty h2 { margin: 0 0 8px; font-size: 26px; }
.empty p { margin: 0 0 14px; }

.notice { margin: 12px 0 0; padding: 10px 14px; border: 2px solid var(--line); background: var(--highlight); font-size: 17px; font-weight: 600; }

/* Footer */
.foot { margin-top: 64px; background: var(--ink); color: #e6e6e6; font-size: 17px; }
.foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 640px); gap: 32px; padding-top: 32px; padding-bottom: 40px; }
.foot-brand { margin: 0 0 8px; font: 400 21px "Archivo Black", sans-serif; color: #fff; text-transform: uppercase; }

@media (max-width: 700px) {
  .hero-inner { padding: 28px 16px 4px; }
  .hero h1 { margin-bottom: 20px; }
  .grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pick.need { grid-column: 1 / -1; }
  .pick select { min-height: 52px; font-size: 18px; padding-left: 14px; padding-right: 38px; background-position: right 12px center; }
  .tabs button { flex: 1; padding: 12px 4px; font-size: 20px; }
  .note summary { padding: 10px 14px; }
  .note-body { padding: 0 14px 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
