:root {
  --bg: #fbe9dd; --surface: #fff5ee; --ink: #1d1a19; --muted: #6e625c; --line: #ecd3c3;
  --chip: #f5dccb; --accent: #0b3d91; --on-accent: #ffffff; --green: #138808;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #1a1514; --surface: #231d1b; --ink: #f3e9e2; --muted: #a8968c; --line: #3a2f2b;
  --chip: #2b2321; --accent: #8fb0ff; --on-accent: #1a1514; --green: #4cc35a;
}}
:root[data-theme="dark"] {
  --bg: #1a1514; --surface: #231d1b; --ink: #f3e9e2; --muted: #a8968c; --line: #3a2f2b;
  --chip: #2b2321; --accent: #8fb0ff; --on-accent: #1a1514; --green: #4cc35a;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 "Instrument Sans", system-ui, sans-serif; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 12px; }
.wordmark { font: 500 14px "JetBrains Mono", monospace; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.flag { flex: none; display: block; box-shadow: 0 0 0 1px var(--line); border-radius: 1px; }
.top-right { display: flex; align-items: center; gap: 16px; }
.top-right a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.top-right a:hover, .top-right a[aria-current] { color: var(--accent); }
.wordmark { text-decoration: none; }
.icon-btn { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 8px; width: 38px; height: 38px; cursor: pointer; font-size: 16px; }
.btn { display: inline-block; font: 600 15px "Instrument Sans"; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; white-space: nowrap; }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.hero { padding: 40px 0 0; }
h1 { font: 400 clamp(38px, 7vw, 76px)/1.02 "Newsreader", serif; letter-spacing: -.02em; margin: 16px 0; max-width: 15ch; }
h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: 19px; color: var(--muted); max-width: 56ch; margin: 0 0 14px; }
.lede + .btns { margin-top: 24px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.seg button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--ink); font: 600 15px "Instrument Sans"; padding: 0 14px; height: 42px; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button:hover { background: var(--chip); color: var(--accent); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 8px; font-size: 14px; max-width: calc(100% - 32px); z-index: 50; }
.hero-img { margin-top: 36px; border-radius: 14px; overflow: hidden; aspect-ratio: 21/9; background: var(--chip); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stats { display: flex; gap: 40px; padding: 24px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.stat b { display: block; font: 600 34px/1.1 "Newsreader", serif; }
.stat span { font-size: 14px; color: var(--muted); }

h2 { font: 400 clamp(28px, 4vw, 36px)/1.1 "Newsreader", serif; margin: 0 0 20px; }
.sub { color: var(--muted); margin: -14px 0 20px; }
.asks { list-style: none; counter-reset: ask; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.asks li { counter-increment: ask; display: grid; grid-template-columns: 36px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.5; max-width: 860px; }
.asks li::before { content: counter(ask); color: var(--accent); font: 500 15px/1.9 "JetBrains Mono", monospace; }
section { padding: 48px 0; }
.finder { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
#map { height: 560px; border: 1px solid var(--line); border-radius: 12px; z-index: 0; }
.list { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); display: flex; flex-direction: column; height: 560px; overflow: hidden; }
.list-head { padding: 12px; border-bottom: 1px solid var(--line); background: var(--chip); }
.search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; color: var(--muted); }
.search input { border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); padding: 9px 0; width: 100%; }
.list ul { list-style: none; margin: 0; padding: 0; overflow: auto; flex: 1; }
.list li { padding: 14px 16px; border-bottom: 1px solid var(--line); cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.list li:hover, .list li.on { background: var(--chip); }
.list .city { font-weight: 600; }
.list .venue { color: var(--muted); font-size: 14px; }
.list .time { font: 500 13px "JetBrains Mono", monospace; text-align: right; }
.list .host { color: var(--muted); font-size: 13px; text-align: right; }
.empty { padding: 20px 16px; color: var(--muted); }

.masonry { columns: 3; column-gap: 16px; }
.masonry figure { margin: 0 0 20px; break-inside: avoid; }
.masonry img { width: 100%; display: block; border-radius: 4px; }
.cap { font: italic 400 15px/1.4 "Newsreader", serif; color: var(--muted); margin-top: 8px; }

.orgs ol { columns: 3; column-gap: 32px; margin: 0; padding: 20px 0 0 1.6em; border-top: 1px solid var(--line); }
.orgs li { padding: 4px 0; break-inside: avoid; }
.orgs li::marker { color: var(--muted); font: 500 12px "JetBrains Mono", monospace; }

.cta { background: var(--ink); color: var(--bg); border-radius: 16px; padding: 40px 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: var(--bg); margin: 0; }
.cta .btn { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 13px; display: grid; gap: 8px; }

.pin { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--accent); }
.pin.big { width: 20px; height: 20px; background: var(--green); box-shadow: 0 0 0 1px var(--green), 0 0 0 8px color-mix(in srgb, var(--green) 25%, transparent); }
.maplibregl-popup-content { color: #1f1b16; border-radius: 10px; font: 14px "Instrument Sans", sans-serif; }

@media (max-width: 860px) {
  .finder { grid-template-columns: 1fr; }
  #map { height: 340px; }
  .list { height: auto; max-height: 480px; }
  .hero-img { aspect-ratio: 4/3; }
  .stats { gap: 24px; }
  .masonry { columns: 2; column-gap: 10px; }
  .orgs ol { columns: 2; }
  .cta { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .wordmark { font-size: 12px; gap: 6px; }
  .top-right { gap: 10px; }
  .top-right a { font-size: 14px; }
  .orgs ol { columns: 1; }
  .stat b { font-size: 28px; }
}

/* Why we march */
.article { max-width: 68ch; padding: 40px 0 56px; }
.article h1 { max-width: none; margin-bottom: 28px; }
.article p { font-size: 18px; line-height: 1.65; margin: 0 0 20px; }
.article strong { font-weight: 600; }
.article .rally { font: 400 clamp(22px, 2.6vw, 28px)/1.35 "Newsreader", serif; margin: 28px 0; }
.article .rally p { font: inherit; margin: 0 0 10px; }
.article ul { margin: 0 0 24px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.article ul li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: 18px; line-height: 1.55; }
.article ul li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.article .btns { margin-top: 32px; }
