@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/fraunces-400.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-600i.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-600.woff2") format("woff2");
}

:root {
  --cream: #f4efe4;
  --paper: #fffaf3;
  --limestone: #e7dcc8;
  --line: #ddcfb8;
  --ink: #2a241c;
  --muted: #5e564c;
  --oak: #234237;
  --oak-deep: #1a322a;
  --leaf: #3d6b54;
  --clay: #9a4e32;
  --honey: #f3e4cf;
  --deal: #f8efe2;
  --event: #eef3ee;
  --cause: #f6efe6;
  --shadow: 0 1px 0 rgba(42, 36, 28, 0.04), 0 10px 24px rgba(42, 36, 28, 0.05);
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse at 0% -10%, rgba(35, 66, 55, 0.07), transparent 46%),
    radial-gradient(ellipse at 100% 0%, rgba(154, 78, 50, 0.06), transparent 40%);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  overflow-x: clip;
}
img { max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--oak); }
::selection { background: #efd3c4; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--oak);
  color: var(--paper);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 5;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  background: var(--oak);
  color: #f6f1e6;
}
.topbar-inner {
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.brand:focus-visible { outline: 3px solid #e7c7b4; outline-offset: 3px; border-radius: 8px; }
.leaf { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d7e3da;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
}

.intro { padding: 28px 0 8px; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--clay);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 8vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 11em;
}
h1 span {
  display: block;
  font-style: italic;
  font-weight: 600;
  color: var(--oak);
}
.subtitle, .welcome {
  max-width: 38rem;
  margin: 0;
}
.subtitle {
  margin-top: 14px;
  font-size: 1.15rem;
  color: var(--ink);
}
.welcome {
  margin-top: 8px;
  color: var(--muted);
}

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.2;
  margin: 0 0 12px;
}
.who, .narrow { margin-top: 28px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .toggle, .clear, .more, .list-cta {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  min-height: 44px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.chips-who .chip {
  min-height: 52px;
  padding: 10px 16px;
  font-size: 1.05rem;
}
.chip .n, .chip .name { pointer-events: none; }
.chip .n {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
}
.chip.is-on, .toggle.is-on {
  background: var(--oak);
  border-color: var(--oak);
  color: #f6f1e6;
}
.chip.is-on .n { color: #d5e4db; }
.chip:hover, .toggle:hover, .clear:hover, .more:hover { border-color: #c4b49a; }
.chip.is-on:hover, .toggle.is-on:hover { border-color: var(--oak-deep); background: var(--oak-deep); }
.chip:focus-visible, .toggle:focus-visible, .clear:focus-visible, .more:focus-visible, .card a:focus-visible, .list-cta:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
}

.search-field { margin: 4px 0 16px; }
.search-field label, .filter-set legend {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.search-field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 1.05rem;
}
.search-field input:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
}
.filter-set {
  border: 0;
  margin: 0 0 16px;
  padding: 0;
  min-inline-size: 0;
}
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle.is-on::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #f6f1e6 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.2 6.2 11.5 13 4.5' fill='none' stroke='%23234237' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat;
}
.toggle:not(.is-on)::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1.5px solid #b7a88f;
  background: transparent;
}

.confirm {
  margin-top: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--clay);
  border-radius: 14px;
  padding: 14px 16px 16px;
  box-shadow: var(--shadow);
}
.confirm h2 {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 4px;
}
.confirm p { margin: 0; max-width: 42rem; }

.results { margin-top: 26px; padding-bottom: 12px; }
.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 12px;
}
.results-bar h2 { margin: 0; }
.clear { font-weight: 600; color: var(--clay); border-color: #e3c2b4; background: #fff; }
.clear:hover { background: #fbf3ee; }

.list { display: grid; gap: 12px; }
.list > * { min-width: 0; }
.card {
  min-width: 0;
  overflow-wrap: break-word;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.loc { margin: 6px 0 0; color: var(--muted); }
.loc .group { color: var(--oak); font-weight: 600; }
.addr { display: block; margin-top: 2px; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.tags li {
  background: var(--honey);
  color: var(--oak-deep);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.82rem;
  font-weight: 600;
}
.about, .detail { margin-top: 12px; }
.about p, .detail p { margin: 0; }
.detail {
  border-radius: 12px;
  padding: 10px 12px;
}
.detail h4 {
  margin: 0 0 4px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.detail.deal { background: var(--deal); }
.detail.deal h4 { color: var(--clay); }
.detail.events { background: var(--event); }
.detail.events h4 { color: var(--leaf); }
.detail.cause { background: var(--cause); }
.detail.cause h4 { color: var(--oak); }
.clamp {
  line-height: 1.45;
  max-height: calc(1.45em * 4);
  overflow: hidden;
}
.clamp.is-open { max-height: none; }
.more {
  margin-top: 4px;
  min-height: 44px;
  padding: 6px 8px;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--oak);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--oak);
  color: #f6f1e6;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.links a:hover { background: var(--oak-deep); }
.links a.soft {
  background: transparent;
  color: var(--oak);
  border: 1px solid var(--line);
}
.links a.soft:hover { background: var(--honey); }

.empty {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 20px 16px;
}
.empty p { margin: 0 0 12px; }

.status { color: var(--muted); margin: 0; }
.status.error { color: var(--clay); }

.site-footer {
  margin-top: 36px;
  background: var(--oak-deep);
  color: #f4ecdc;
}
.footer-inner { padding: 28px 0 36px; }
.list-cta {
  background: transparent;
  color: #f6f1e6;
  border-color: rgba(246, 241, 230, 0.45);
  font-weight: 600;
  font-size: 1.05rem;
}
.list-cta:hover { background: rgba(246, 241, 230, 0.08); }
.site-footer p {
  margin: 14px 0 0;
  color: #d5e0d8;
  font-size: 0.95rem;
}
.noscript {
  width: min(1080px, calc(100% - 32px));
  margin: 12px auto;
}

@media (min-width: 800px) {
  .intro { padding-top: 40px; }
  .list { grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .card { padding: 18px 18px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.topbar-nav a {
  color: #f6f1e6;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(246, 241, 230, 0.28);
}
.topbar-nav a:hover { background: rgba(246, 241, 230, 0.12); }
.topbar-nav a:focus-visible { outline: 3px solid #e7c7b4; outline-offset: 2px; }

.audiences {
  margin: 10px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.audiences strong {
  color: var(--ink);
  font-weight: 600;
}

.breadcrumbs {
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 0.95rem;
  color: var(--muted);
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 2px;
  font-weight: 600;
  text-underline-offset: 3px;
}
.breadcrumbs a:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; border-radius: 6px; }

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.back-search {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--oak);
  color: #f6f1e6;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}
.back-search:hover { background: var(--oak-deep); }
.back-search.soft {
  background: var(--paper);
  color: var(--oak);
  border: 1px solid var(--line);
}
.back-search.soft:hover { background: var(--honey); }
.back-search:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; }

.browse, .about-guide, .faq {
  margin-top: 32px;
}
.section-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: var(--shadow);
}
.browse-group + .browse-group {
  margin-top: 18px;
}
.browse-group h3 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pill-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--oak);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}
.pill-links a:hover { border-color: #c4b49a; background: var(--honey); }
.pill-links a[aria-current="page"] {
  background: var(--oak);
  border-color: var(--oak);
  color: #f6f1e6;
}
.pill-links a:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; }
.pill-links .n {
  color: var(--muted);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
}
.pill-links a[aria-current="page"] .n { color: #d5e4db; }

.about-guide p {
  margin: 0;
  max-width: 46rem;
}
.about-guide p + p {
  margin-top: 10px;
}

.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 6px 16px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  min-height: 48px;
  padding: 10px 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--sans);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--oak);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; border-radius: 8px; }
.faq-item p {
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 46rem;
}

@media (min-width: 800px) {
  .section-card { padding: 22px 22px; }
}
