:root {
  color-scheme: light;
  --paper: #f7f6ee;
  --white: #fffef8;
  --forest: #182e24;
  --ink: #203329;
  --muted: #56665a;
  --line: #d7ddcf;
  --lime: #d9eea6;
  --green: #2e5941;
  font-family: Inter, Aptos, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button, a, input, select { outline-offset: 4px; }
:focus-visible { outline: 2px solid #759738; }
.wrap { width: min(1120px, 100% - 3.5rem); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: 1rem; padding: .6rem; background: var(--lime); transform: translateY(-150%); z-index: 5; }
.skip:focus { transform: none; }
.masthead { background: var(--forest); color: var(--white); border-bottom: 1px solid #455a4a; }
.masthead-inner { display: flex; justify-content: space-between; align-items: center; min-height: 74px; }
.brand { display: flex; gap: .65rem; align-items: center; text-decoration: none; font-weight: 850; letter-spacing: .11em; font-size: .79rem; line-height: 1.1; }
.brand img { display: block; width: 42px; height: 42px; border-radius: 9px; }
.nav-link { text-decoration: none; font-size: .88rem; font-weight: 650; }
.nav-link span { color: var(--lime); margin-left: .2rem; }
.hero { overflow: hidden; background: var(--forest); color: var(--white); }
.hero-inner { position: relative; isolation: isolate; padding-block: clamp(2.7rem, 6vw, 5.1rem) 4.6rem; }
.eyebrow { margin: 0 0 .7rem; font-size: .72rem; letter-spacing: .15em; font-weight: 800; }
.hero .eyebrow { color: var(--lime); }
.dot { display: inline-block; margin-right: .4rem; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.045em; }
h1 { font-size: clamp(3.25rem, 8vw, 6.5rem); margin-bottom: 1.15rem; line-height: .94; }
h1 em { color: var(--lime); font-weight: 400; }
.hero-copy { color: #e0e9dc; max-width: 38ch; font-size: 1rem; line-height: 1.6; margin-bottom: 0; }
.snake-art { position: absolute; width: min(49%, 495px); right: -.6rem; top: 50%; transform: translateY(-50%); z-index: -1; opacity: .85; }
.snake-art svg { display: block; width: 100%; }
.directory { padding-bottom: 3rem; }
.notice { margin: 1.3rem 0 0; font-size: .79rem; font-weight: 750; color: var(--green); }
.filters { margin-top: 1.3rem; display: grid; grid-template-columns: 1.75fr 1.1fr .9fr 1fr; gap: .85rem 1rem; align-items: end; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem; }
.filters label { display: grid; gap: .45rem; font-size: .79rem; font-weight: 750; min-width: 0; }
.filters input, .filters select { width: 100%; min-width: 0; min-height: 43px; border: 1px solid #b9c5b6; border-radius: 8px; background: #fbfbf5; color: var(--ink); padding: .5rem .7rem; font-size: .88rem; }
.filters input[aria-invalid="true"] { border-color: #a64a36; }
.filter-hint, .filter-feedback, .filter-actions, .location-options { grid-column: 1 / -1; }
.filter-hint, .filter-feedback { margin: 0; font-size: .83rem; line-height: 1.5; color: var(--muted); }
.filter-feedback:empty { position: absolute; }
.filter-feedback:not(:empty) { padding: .55rem .75rem; border-left: 3px solid var(--green); background: #edf2e7; }
.filter-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.search, .reset { min-height: 43px; border: 1px solid var(--line); border-radius: 8px; padding: .5rem .95rem; background: var(--white); color: var(--green); font-size: .84rem; font-weight: 750; }
.search { min-width: 6rem; background: var(--forest); border-color: var(--forest); color: var(--white); }
.search:hover { background: var(--green); }
.custom-dates { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; grid-column: 1 / -1; }
.section-heading { margin: 2.5rem 0 1.15rem; }
.section-heading .eyebrow { color: var(--green); margin-bottom: .35rem; }
h2 { font-size: clamp(2.15rem, 5vw, 3.35rem); line-height: 1; margin-bottom: .5rem; }
#result-count { margin: 0; font-size: .88rem; color: var(--muted); }
#results { display: grid; gap: .7rem; }
.event-card { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr) auto; align-items: center; gap: 1.2rem; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 13px; }
.date-tile { display: grid; place-content: center; gap: .2rem; text-align: center; min-height: 79px; background: #e9eedc; border-radius: 9px; }
.date-tile span { font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.date-tile strong { font-family: Georgia, serif; font-size: 1.35rem; }
.event-body h3 { margin: 0 0 .25rem; font-size: 1.15rem; line-height: 1.25; }
.event-body h3 a { text-decoration-color: #a1b09b; text-underline-offset: .18em; }
.event-body p, .event-actions p { color: var(--muted); font-size: .85rem; margin-bottom: 0; line-height: 1.55; }
.event-body .event-distance { color: var(--green); font-weight: 750; }
.event-actions { text-align: right; }
.source-link { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .75rem; border-radius: 7px; font-size: .85rem; font-weight: 750; text-decoration: none; background: var(--lime); color: var(--forest); }
.source-link:hover, .reset:hover { background: #c7de93; }
.travel-note { color: var(--muted); margin: 1.25rem 0 0; font-size: .87rem; line-height: 1.6; }
.travel-note span { color: var(--green); margin-right: .3rem; }
.empty, #details { padding: clamp(1rem, 4vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: 13px; }
.empty p { margin-bottom: 0; color: var(--muted); }
#details { margin-top: 1.3rem; }
.back-link { display: inline-block; margin-bottom: 1.2rem; font-size: .88rem; }
.detail-place { color: var(--muted); line-height: 1.5; }
.detail-schedule { display: grid; gap: .5rem; padding-left: 1.2rem; }
.status-chip { display: inline-block; background: #e9eedc; color: var(--forest); border-radius: 40px; padding: .25rem .55rem; margin-bottom: .65rem; font-size: .77rem; font-weight: 750; }
.status-chip.alert { background: #ffebda; color: #742c1c; }
.verification { margin: .75rem 0 0; color: var(--muted); font-size: .86rem; }
.footer { border-top: 1px solid var(--line); padding: 1.2rem 0; color: var(--muted); font-size: .8rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; }
.footer strong { color: var(--green); letter-spacing: .12em; }
.footer p { margin: 0; }
@media (max-width: 710px) {
  .wrap { width: min(100% - 1.8rem, 1120px); }
  .snake-art { width: 62%; right: -19%; opacity: .24; }
  .hero-inner { padding-block: 2.8rem 3.3rem; }
  .filters { grid-template-columns: 1fr 1fr; padding: .85rem; gap: .65rem; }
  .place-filter, .date-filter { grid-column: 1 / -1; }
  .event-card { grid-template-columns: 4.7rem minmax(0, 1fr); gap: .7rem; padding: .75rem; }
  .event-actions { grid-column: 2; text-align: left; }
  .date-tile { min-height: 65px; align-self: start; }
  .date-tile strong { font-size: 1.15rem; }
}
