:root {
  --paper: #f4efe4;
  --paper-2: #ebe3d2;
  --ink: #1c1914;
  --muted: #5c574c;
  --moss: #24382f;
  --moss-2: #2f4d41;
  --lantern: #c45c26;
  --gold: #e8c37a;
  --mist: #7f9a90;
  --line: rgba(28, 25, 20, 0.12);
  --card: #fffaf1;
  --shadow: 0 10px 30px rgba(36, 56, 47, 0.08);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Figtree", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(232, 195, 122, 0.28), transparent 50%),
    radial-gradient(900px 400px at 100% 0%, rgba(127, 154, 144, 0.22), transparent 45%),
    var(--paper);
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  background: var(--moss);
  color: #f7f1e4;
  padding: 28px 0 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand svg { width: 40px; height: 40px; }
.brand-mark { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.45rem; letter-spacing: 0.01em; }
.brand-sub { display: block; font-size: 0.82rem; color: var(--gold); font-weight: 500; }
.lede {
  margin: 18px 0 0;
  max-width: 40rem;
  color: #efe6d6;
  font-size: 1.02rem;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,250,241,0.1);
  border: 1px solid rgba(232, 195, 122, 0.35);
  color: #f7f1e4;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.85rem;
}
.updated { color: var(--gold); font-weight: 600; }

.filters {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(244, 239, 228, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.filters-inner { display: grid; gap: 10px; }
.search {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 12px 16px;
  outline: none;
}
.search:focus { border-color: var(--moss); box-shadow: 0 0 0 3px rgba(36,56,47,0.12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
}
.chip[aria-pressed="true"], .chip.active {
  background: var(--moss);
  color: #f7f1e4;
  border-color: var(--moss);
}

main { padding: 28px 0 64px; }
.section { margin: 0 0 42px; scroll-margin-top: 96px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
  margin: 0;
  font-weight: 600;
}
.count { color: var(--muted); font-size: 0.9rem; }
.section-tools { display: flex; gap: 8px; align-items: center; }

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 700px) {
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .grid.events, .grid.tips { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
}
.card.past { opacity: 0.72; }
.card-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.card a.name {
  font-weight: 650;
  font-size: 1.08rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.card a.name:hover { border-bottom-color: var(--lantern); color: var(--lantern); }
.when, .area, .price, .note { margin: 0; }
.note { color: var(--ink); }
.area, .price, .when { color: var(--muted); font-size: 0.9rem; }
.badge {
  flex: none;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--paper-2);
  color: var(--moss);
}
.badge.past { background: #efe2d2; color: #7a4a28; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.tag {
  font-size: 0.75rem;
  background: var(--paper-2);
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--moss-2);
}

.empty { color: var(--muted); padding: 8px 0 0; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 36px;
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer p { margin: 0 0 8px; max-width: 46rem; }

.toggle {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
}
.toggle[aria-pressed="true"] { background: var(--moss); color: #f7f1e4; border-color: var(--moss); }
