:root {
  color-scheme: light;
  --ink: #20231f;
  --muted: #73766f;
  --paper: #fbf8f1;
  --white: #fff;
  --line: #e9e5dc;
  --green: #285d49;
  --green-dark: #1e4939;
  --green-pale: #e8f0e9;
  --yellow: #f5c95c;
  --pink: #f5b6a8;
  --lilac: #c9c2eb;
  --blue: #a9d4d4;
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  height: 78px;
  max-width: 1200px;
  padding: 0 32px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -1px;
}

.brand-mark {
  display: inline-grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 11px 11px 11px 3px;
  color: white;
  background: var(--green);
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand-dot { color: var(--green); }
.header-note { color: #5f655c; font-size: 13px; font-weight: 600; }
.city-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #78a184; }

main { max-width: 1200px; padding: 0 32px; margin: 0 auto; }

.hero {
  position: relative;
  min-height: 318px;
  padding: 48px 66px;
  overflow: hidden;
  border-radius: 22px;
  background: #e7eee4;
}
.hero-copy { position: relative; z-index: 1; max-width: 535px; }
.eyebrow {
  margin: 0 0 13px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.9px;
}
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: "Manrope", sans-serif; }
h1 {
  margin-bottom: 13px;
  font-size: clamp(40px, 5vw, 59px);
  line-height: 1.06;
  letter-spacing: -3px;
}
h1 span { color: var(--green); }
.hero-description { max-width: 430px; margin-bottom: 19px; color: #565c54; font-size: 14px; line-height: 1.65; }
.hero-stamp { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 11px; font-weight: 700; }
.hero-stamp span { color: #d28264; font-size: 17px; }
.hero-art { position: absolute; top: 0; right: 0; width: 44%; height: 100%; }
.sun {
  position: absolute;
  top: 39px;
  right: 105px;
  width: 148px;
  height: 148px;
  border: 1px solid rgba(40, 93, 73, .2);
  border-radius: 50%;
  background: #f6d879;
  box-shadow: 0 0 0 17px rgba(245, 201, 92, .13), 0 0 0 35px rgba(245, 201, 92, .09);
}
.art-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 25px rgba(61, 70, 57, .13);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}
.art-card-yellow {
  top: 62px;
  right: 95px;
  width: 118px;
  height: 91px;
  padding: 13px;
  transform: rotate(8deg);
  border-radius: 10px;
  background: var(--yellow);
  font-size: 14px;
}
.art-card-yellow span { align-self: flex-end; color: #b16f37; font-size: 20px; }
.art-card-pink {
  top: 142px;
  right: 229px;
  width: 119px;
  height: 108px;
  padding: 14px;
  transform: rotate(-8deg);
  border-radius: 10px;
  background: var(--pink);
  font-size: 15px;
  line-height: 1.18;
}
.art-card-pink span { align-self: flex-end; font-size: 17px; }
.art-ticket {
  position: absolute;
  top: 210px;
  right: 94px;
  display: flex;
  width: 157px;
  height: 56px;
  align-items: center;
  justify-content: space-around;
  transform: rotate(5deg);
  border: 1px dashed rgba(32, 35, 31, .4);
  border-radius: 7px;
  background: #f6f2e9;
  color: var(--green);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
}
.art-ticket span:nth-child(2) { color: #db8665; font-size: 20px; }
.art-ticket span:nth-child(3) { color: #d3a435; font-size: 18px; }
.art-squiggle { position: absolute; top: 38px; right: 42px; color: var(--green); font-size: 60px; transform: rotate(-25deg); }

.discover { padding: 44px 0 22px; }
.discover-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.discover-heading .eyebrow { margin-bottom: 7px; font-size: 9px; }
.discover h2 { margin: 0; font-size: 25px; letter-spacing: -.9px; }
.trust-note { margin: 0 2px 5px; color: var(--muted); font-size: 11px; }
.trust-note span { display: inline-grid; width: 16px; height: 16px; margin-right: 4px; place-items: center; border-radius: 50%; color: var(--green); background: var(--green-pale); font-weight: 700; }
.filters { display: grid; grid-template-columns: minmax(200px, 1fr) 208px 208px; gap: 10px; }
.search-field, .select-field {
  display: flex;
  height: 50px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}
.search-field:focus-within, .select-field:focus-within { border-color: #92ae9a; box-shadow: 0 0 0 3px rgba(40, 93, 73, .08); }
.search-icon { color: #6d796e; font-size: 25px; line-height: 1; transform: rotate(-20deg); }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.search-field input::placeholder { color: #96988f; }
kbd { display: grid; width: 19px; height: 20px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 4px; color: #888a82; font-size: 10px; }
.select-field { gap: 8px; }
.filter-icon { color: #778579; font-size: 19px; }
.select-field select { width: 100%; min-width: 0; border: 0; outline: 0; color: #4e534d; background: transparent; font-size: 12px; cursor: pointer; }

.explore { padding-top: 21px; }
.tabs-wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 25px; }
.tab-button {
  position: relative;
  display: flex;
  min-height: 49px;
  align-items: center;
  gap: 8px;
  padding: 0 2px;
  border: 0;
  color: #85877f;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.tab-button span { font-size: 16px; }
.tab-button.is-active { color: var(--green); }
.tab-button.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--green); content: ""; }
.tab-button:focus-visible, .category-chip:focus-visible, a:focus-visible { outline: 3px solid rgba(40, 93, 73, .35); outline-offset: 3px; }
.results-count { color: var(--muted); font-size: 11px; }
.data-status { min-height: 0; margin: 7px 0 0; color: var(--muted); font-size: 10px; }
.data-status:empty { display: none; }
.category-shortcuts { display: flex; gap: 8px; padding: 20px 0 18px; overflow-x: auto; scrollbar-width: none; }
.category-shortcuts::-webkit-scrollbar { display: none; }
.category-chip {
  display: inline-flex;
  height: 35px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: #60635d;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.category-chip:hover { border-color: #bccabc; }
.category-chip.is-selected { border-color: var(--green); color: white; background: var(--green); }
.chip-icon { font-size: 13px; }
.chip-theater { color: #d88368; }
.chip-music { color: #8877ba; }
.chip-cinema { color: #ce9c34; }
.chip-play { color: #4e9a8f; }
.chip-museum { color: #6689a6; }
.category-chip.is-selected .chip-icon { color: white; }
.tab-panel { min-height: 250px; padding: 1px 0 60px; }
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.empty-state {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px 18px;
  border: 1px dashed #d8d8cc;
  border-radius: 13px;
  background: rgba(255, 255, 255, .43);
  text-align: center;
}
.empty-icon { display: grid; width: 48px; height: 48px; margin-bottom: 13px; place-items: center; border-radius: 16px; color: var(--green); background: var(--green-pale); font-size: 23px; }
.empty-state h3 { margin: 0 0 8px; font-family: "Manrope", sans-serif; font-size: 17px; letter-spacing: -.4px; }
.empty-state p { max-width: 470px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.empty-state .source-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.source-links a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 20px; color: var(--green); background: white; font-size: 10px; font-weight: 700; text-decoration: none; }
.event-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; }
.event-card-body { padding: 17px; }
.event-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 11px; }
.event-category { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 10px; font-weight: 700; }
.event-age { padding: 5px 8px; border-radius: 12px; color: #626a5f; background: #f1f3ed; font-size: 9px; font-weight: 700; }
.event-card h3 { margin: 0 0 7px; font-family: "Manrope", sans-serif; font-size: 16px; letter-spacing: -.4px; }
.event-description { min-height: 38px; margin: 0 0 13px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.event-details { display: grid; gap: 7px; margin: 0; color: #62665e; font-size: 10px; }
.event-details div { display: flex; gap: 8px; }
.event-details dt { width: 15px; color: var(--green); }
.event-details dd { margin: 0; }
.event-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 17px; border-top: 1px solid #f0eee8; }
.card-sources { display: flex; min-width: 0; flex-wrap: wrap; gap: 5px; }
.card-sources a { color: var(--green); font-size: 9px; font-weight: 700; text-decoration: none; }
.card-sources a:hover { text-decoration: underline; }
.directions-link { color: var(--green); font-size: 10px; font-weight: 700; text-decoration: none; }
.agenda-list { max-width: 750px; margin: 0 auto; }
.agenda-day { display: grid; grid-template-columns: 115px 1fr; gap: 20px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.agenda-day-label { color: var(--green); font-size: 12px; font-weight: 700; }
.agenda-day-events { display: grid; gap: 10px; }
.agenda-entry { padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.agenda-entry h3 { margin: 0 0 5px; font-family: "Manrope", sans-serif; font-size: 14px; }
.agenda-entry h3 a { text-decoration: none; }
.agenda-entry h3 a:hover { color: var(--green); text-decoration: underline; }
.agenda-entry p { margin: 0; color: var(--muted); font-size: 11px; }
.map-panel { padding-top: 25px; }
.map-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.map-heading h2 { margin: 0 0 5px; font-size: 20px; letter-spacing: -.6px; }
.map-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.map-key { color: var(--muted); font-size: 10px; }
.map-key i { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: var(--green); }
#map { z-index: 0; height: 420px; border: 1px solid var(--line); border-radius: 12px; background: #e6ede5; }
.map-status { min-height: 17px; margin: 8px 2px 0; color: var(--muted); font-size: 10px; }
.map-status:empty { display: none; }
.map-pin { display: grid; width: 32px; height: 38px; place-items: start center; filter: drop-shadow(0 2px 3px rgba(0,0,0,.23)); }
.map-pin::before { width: 28px; height: 28px; border: 3px solid white; border-radius: 50% 50% 50% 0; background: var(--pin-color, #285d49); content: ""; transform: rotate(-45deg); }
.map-popup h3 { margin: 0 0 5px; color: var(--ink); font-family: "Manrope", sans-serif; font-size: 13px; }
.map-popup p { margin: 0 0 6px; color: #686c65; font-size: 11px; }
.map-popup a { color: var(--green); font-size: 11px; font-weight: 700; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 30px;
  max-width: 1200px;
  padding: 27px 32px 23px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.footer-brand { gap: 7px; font-size: 15px; }
.footer-brand .brand-mark { width: 25px; height: 25px; border-radius: 9px 9px 9px 3px; font-size: 15px; }
.site-footer > p { align-self: center; margin: 0; color: var(--muted); font-size: 10px; }
.footer-sources { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 13px; padding-top: 8px; }
.footer-sources span, .site-footer small { color: #868980; font-size: 9px; }
.footer-sources a { color: #555d54; font-size: 9px; text-decoration: none; }
.footer-sources a:hover { color: var(--green); text-decoration: underline; }
.site-footer small { grid-column: 1 / -1; }

@media (max-width: 760px) {
  .site-header { height: 64px; padding: 0 20px; }
  main { padding: 0 20px; }
  .hero { min-height: 300px; padding: 40px 32px; }
  .hero-copy { max-width: 64%; }
  .hero-description { max-width: 350px; font-size: 12px; }
  .hero-art { width: 37%; opacity: .9; }
  .sun { top: 62px; right: 22px; width: 115px; height: 115px; }
  .art-card-yellow { top: 83px; right: 22px; width: 90px; height: 72px; padding: 10px; font-size: 11px; }
  .art-card-pink { top: 170px; right: 90px; width: 93px; height: 82px; padding: 10px; font-size: 12px; }
  .art-ticket { top: 239px; right: 8px; width: 118px; height: 42px; }
  .art-squiggle { top: 39px; right: 10px; font-size: 43px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { padding-right: 20px; padding-left: 20px; }
}

@media (max-width: 520px) {
  .header-note { font-size: 11px; }
  .hero { min-height: 350px; padding: 34px 23px; }
  .hero-copy { max-width: 100%; }
  h1 { font-size: 46px; }
  .hero-description { max-width: 290px; }
  .hero-art { top: 177px; right: 0; width: 100%; height: 173px; opacity: .95; }
  .sun { top: 22px; right: 65px; width: 105px; height: 105px; }
  .art-card-yellow { top: 28px; right: 68px; width: 83px; height: 66px; }
  .art-card-pink { top: 64px; right: 183px; width: 80px; height: 72px; font-size: 10px; }
  .art-ticket { top: 108px; right: 41px; width: 103px; height: 37px; }
  .art-squiggle { top: 4px; right: 19px; }
  .discover { padding-top: 34px; }
  .discover-heading { display: block; }
  .discover h2 { font-size: 22px; }
  .trust-note { margin-top: 10px; }
  .filters { grid-template-columns: 1fr; }
  .search-field { grid-column: auto; }
  .tabs { width: 100%; justify-content: space-between; gap: 8px; }
  .tab-button { gap: 5px; font-size: 10px; }
  .tab-button span { font-size: 14px; }
  .results-count { display: none; }
  .category-shortcuts { margin-right: -20px; }
  .event-grid { grid-template-columns: 1fr; }
  .agenda-day { grid-template-columns: 75px 1fr; gap: 10px; }
  .map-heading { align-items: flex-start; flex-direction: column; }
  #map { height: 350px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > p { margin-top: 2px; }
  .footer-sources, .site-footer small { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
