:root {
  --cream: #FAF0DC;
  --cream-deep: #F5E6C8;
  --sand: #EBD3A3;
  --sand-soft: #F3E2BE;
  --sage: #7FB49A;
  --sage-soft: #DCEBDF;
  --teal: #2F6F6A;
  --teal-dark: #24524E;
  --sun: #F4C542;
  --sun-soft: #FBEAB0;
  --coral: #E85A4F;
  --coral-soft: #F9D7CF;
  --ink: #2B3A38;
  --muted: #5C6B66;
  --card: #FFFAF0;
  --radius: 22px;
  --shadow: 0 6px 18px rgba(47, 111, 106, 0.12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* Header: warm sky fading into sage hills */
.hero {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0.5rem;
  padding: 1.75rem 1.25rem 3.25rem;
  background: radial-gradient(circle at 82% 18%, rgba(244, 197, 66, 0.35) 0, rgba(244, 197, 66, 0) 38%), linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  overflow: hidden;
}
.hero::after {
  /* soft rolling hills along the bottom edge */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -60px; height: 110px;
  background: var(--sage); border-radius: 50% 50% 0 0 / 100% 100% 0 0; opacity: 0.55;
}
.hero::before {
  content: ""; position: absolute; left: 30%; right: -20%; bottom: -70px; height: 120px;
  background: var(--teal); border-radius: 50% 50% 0 0 / 100% 100% 0 0; opacity: 0.25;
}
.hero-art { width: 150px; height: 150px; position: relative; z-index: 1; filter: drop-shadow(0 6px 12px rgba(47,111,106,0.18)); }
.hero-text { position: relative; z-index: 1; max-width: 40rem; }
h1 { margin: 0.25rem 0 0.25rem; font-size: 2rem; line-height: 1.15; color: var(--teal-dark); letter-spacing: -0.01em; }
.tagline { margin: 0; color: var(--muted); font-size: 1.02rem; }

main { max-width: 1160px; margin: 0 auto; padding: 0 1rem 2rem; }

/* Filters */
.filters {
  position: relative; z-index: 2;
  margin: -1.5rem auto 1.25rem; padding: 0.85rem 0.9rem 0.6rem;
  background: rgba(255, 250, 240, 0.96); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--sand-soft);
}
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-bottom: 0.45rem; }
.filter-label { font-weight: 700; font-size: 0.85rem; color: var(--teal-dark); min-width: 2.6rem; }
.filters button {
  font: inherit; font-size: 0.92rem; font-weight: 600;
  padding: 0.4rem 0.95rem; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--sage); background: var(--card); color: var(--teal-dark);
  min-height: 40px;
}
.filters button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.filters button:hover { border-color: var(--teal); }
.filter-note { margin: 0.1rem 0 0; font-size: 0.78rem; color: var(--muted); }

/* Weeks */
.week { margin-top: 1.6rem; }
.week-title { display: flex; flex-direction: column; margin: 0 0 0.75rem; padding-left: 0.85rem; border-left: 6px solid var(--sun); }
.week-when { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--coral); font-weight: 800; }
.week-range { font-size: 1.2rem; color: var(--teal-dark); }
.week-ongoing .week-title { border-left-color: var(--sage); }

.grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); } h1 { font-size: 2.4rem; } .hero-art { width: 180px; height: 180px; } }
@media (min-width: 1060px) { .grid { grid-template-columns: repeat(3, 1fr); } }

/* Cards */
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--sand-soft);
  display: flex; flex-direction: column;
}
.card[hidden], .week[hidden] { display: none; }
.card-img { aspect-ratio: 16 / 9; background: var(--sand-soft); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 0.9rem 1rem 0.6rem; display: flex; flex-direction: column; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.45rem; }
.tag { font-size: 0.74rem; font-weight: 700; padding: 0.18rem 0.6rem; border-radius: 999px; background: var(--sage-soft); color: var(--teal-dark); }
.tag-hills { background: #D3E8DC; }
.tag-daytrip { background: var(--sun-soft); color: #6A5310; }
.tag-cost-free { background: var(--teal); color: #fff; }
.tag-cost-paid { background: var(--coral); color: #fff; }
.tag-cost-notstated { background: var(--sand-soft); color: var(--muted); }
.tag-kind { background: transparent; border: 1px solid var(--sand); color: var(--muted); font-weight: 600; }
.card-title { margin: 0 0 0.2rem; font-size: 1.12rem; line-height: 1.3; color: var(--ink); }
.card-meta { margin: 0; font-weight: 700; color: var(--teal); font-size: 0.95rem; }
.meta-sep { color: var(--sand); }
.card-cost { margin: 0.2rem 0 0.4rem; color: var(--muted); font-size: 0.9rem; }

/* Tap-to-open details */
.more { margin-top: auto; border-top: 1px dashed var(--sand); }
.more summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0 0.5rem; font-weight: 700; color: var(--coral); min-height: 44px;
}
.more summary::-webkit-details-marker { display: none; }
.chevron {
  width: 32px; height: 32px; border-radius: 50%; background: var(--coral-soft); position: relative; flex: none;
  transition: transform 0.2s ease;
}
.chevron::before {
  content: ""; position: absolute; left: 50%; top: 45%; width: 9px; height: 9px;
  border-right: 3px solid var(--coral); border-bottom: 3px solid var(--coral);
  transform: translate(-50%, -50%) rotate(45deg);
}
.more[open] .chevron { transform: rotate(180deg); }
.more-inner { padding-bottom: 0.6rem; }
.desc { margin: 0.1rem 0 0.6rem; }
.facts { margin: 0; display: grid; grid-template-columns: 7.2rem 1fr; gap: 0.35rem 0.6rem; font-size: 0.92rem; }
.facts dt { font-weight: 700; color: var(--teal-dark); }
.facts dd { margin: 0; }
.go { margin: 0.9rem 0 0.4rem; display: flex; flex-direction: column; gap: 0.3rem; }
.btn-link {
  align-self: flex-start; display: inline-block; text-decoration: none; font-weight: 700;
  background: var(--sun); color: var(--ink); padding: 0.55rem 1.1rem; border-radius: 999px;
  box-shadow: 0 3px 0 #D9A92A;
}
.btn-link:hover { background: #F7D063; }
.go-label { font-size: 0.8rem; color: var(--muted); }
.credit { font-size: 0.75rem; color: var(--muted); margin: 0.5rem 0 0; }
.credit a { color: var(--muted); }

.empty { text-align: center; color: var(--muted); padding: 2rem 1rem; }

.site-footer {
  margin-top: 2rem; padding: 2rem 1.25rem 2.5rem; text-align: center;
  background: var(--teal); color: #F3F7F2;
  border-radius: 40px 40px 0 0;
}
.site-footer p { max-width: 44rem; margin: 0 auto 0.5rem; }
.site-footer .small { font-size: 0.8rem; opacity: 0.85; }

@media (max-width: 480px) {
  .filters button { padding: 0.35rem 0.75rem; font-size: 0.88rem; min-height: 38px; }
  .filter-group { gap: 0.3rem; }
  .filter-label { min-width: 2.4rem; font-size: 0.8rem; }
}
@media (max-width: 380px) { .facts { grid-template-columns: 1fr; } .facts dt { margin-top: 0.3rem; } }
@media (prefers-reduced-motion: reduce) { .chevron { transition: none; } }
