:root {
  --bg: #f4f1ea;
  --fg: #1d1f1a;
  --muted: #6b6a62;
  --card: #fffdf8;
  --line: #ddd8cc;
  --accent: #2f5d3a; /* Forest Park green */
  --accent-2: #c2541c; /* trail-mud orange */
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151713;
    --fg: #e8e5dc;
    --muted: #9a988e;
    --card: #1e211c;
    --line: #33362f;
    --accent: #7fb58b;
    --accent-2: #e88a55;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}

header, main, footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem;
}

header { padding-top: 3rem; padding-bottom: 1.5rem; }

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 9vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
h1 a { color: inherit; text-decoration: none; }
h1 span { color: var(--accent); }

.tagline { margin: 0.5rem 0 0; font-size: 1.15rem; }
.creed {
  margin: 0.25rem 0 0;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 2rem 0 1rem;
}

.events { display: grid; gap: 1rem; }

.event {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
}

.banner {
  grid-column: 1 / -1;
  width: calc(100% + 2rem);
  margin: -1rem -1rem 0;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid var(--line);
}

.when {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--line);
  padding-right: 1rem;
  line-height: 1.1;
}
.month { text-transform: uppercase; font-weight: 700; font-size: 0.8rem; color: var(--accent-2); }
.day { font-size: 2rem; font-weight: 800; }
.dow { font-size: 0.8rem; color: var(--muted); }

.what h3 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.what h3 a { color: inherit; text-decoration: none; }
.what h3 a:hover { color: var(--accent); text-decoration: underline; }
.what p { margin: 0.75rem 0 0; white-space: pre-line; }

.facts { margin: 0; display: grid; gap: 0.15rem; }
.facts div { display: flex; gap: 0.5rem; }
.facts dt { width: 5rem; flex-shrink: 0; color: var(--muted); font-size: 0.9rem; }
.facts dd { margin: 0; }

.map {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.map:hover { text-decoration: underline; }

#past .event { opacity: 0.6; }

details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary h2 { display: inline; }
details summary h2::after { content: " +"; }
details[open] summary h2::after { content: " \2212"; }

.back { margin: 0 0 1rem; }
.back a { color: var(--accent); font-weight: 600; text-decoration: none; }
.back a:hover { text-decoration: underline; }

.notice {
  margin: 0 0 1rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-2);
  border-radius: 6px;
  background: var(--card);
}

.empty { color: var(--muted); font-style: italic; }

.about p { max-width: 38rem; }

footer {
  margin-top: 3rem;
  padding-bottom: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 30rem) {
  .event { grid-template-columns: 3.5rem 1fr; gap: 0.75rem; }
  .when { padding-right: 0.75rem; }
  .facts div { flex-direction: column; gap: 0; }
}
