:root {
  --ink: #000000;
  --muted: #194851;
  --paper: #f3f4eb;
  --surface: #f3f4eb;
  --green: #194851;
  --green-dark: #400365;
  --mint: #f3f4eb;
  --gold: #3b797e;
  --line: #3b797e;
  --shadow: 0 10px 0 #194851;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 1rem; line-height: 1.6; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 10; background: #f3f4eb; border: 3px solid #000000; padding: .75rem 1rem; color: #000000; font-weight: 800; }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 170px; display: flex; align-items: center; gap: 1rem; padding: 2.5rem max(5vw, 1.25rem); color: #f3f4eb; background: #400365; }
.submit-link { margin-left: auto; display: inline-flex; align-items: center; min-height: 48px; padding: .65rem 1rem; border: 3px solid #f3f4eb; border-radius: 10px; color: #f3f4eb; font-weight: 800; text-decoration: underline; text-underline-offset: .18em; }
.submit-link:hover { color: #000000; background: #f3f4eb; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font: 700 clamp(1.65rem, 4vw, 2.5rem)/1.2 Verdana, Tahoma, Arial, sans-serif; }
h2 { margin-bottom: .35rem; font: 700 clamp(1.45rem, 3vw, 2rem)/1.3 Verdana, Tahoma, Arial, sans-serif; }
h3 { margin-bottom: .45rem; font: 700 1.2rem/1.4 Verdana, Tahoma, Arial, sans-serif; }
.eyebrow { margin-bottom: .35rem; font-size: .875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: inherit; }
main { width: min(1160px, calc(100% - 2rem)); margin: -2rem auto 3rem; }
.search-panel { position: relative; padding: clamp(1.4rem, 4vw, 2.2rem); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.search-intro p { margin-bottom: 1.2rem; color: var(--muted); }
.step-label { color: #400365 !important; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.search-box { display: flex; align-items: center; gap: .75rem; min-height: 58px; padding: 0 1rem; border: 3px solid var(--green); border-radius: 12px; background: #f3f4eb; }
.search-box:focus-within { outline: 4px solid #400365; outline-offset: 3px; }
.search-box svg { width: 23px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; }
.search-box input { width: 100%; border: 0; outline: 0; font: inherit; font-size: 1.06rem; color: var(--ink); }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; margin-top: 1rem; }
.filters label { display: grid; gap: .3rem; font-size: .875rem; font-weight: 800; }
.filters label span, .word-search > span:first-child { font-size: 1rem; }
.word-search { display: grid; gap: .4rem; margin-top: 1rem; font-weight: 800; }
.word-search small { font-size: .875rem; font-weight: 400; }
select { width: 100%; min-height: 48px; padding: .65rem .8rem; border: 2px solid var(--line); border-radius: 10px; background: #f3f4eb; color: var(--ink); font: inherit; }
button { min-height: 48px; border-radius: 10px; font: inherit; font-weight: 800; cursor: pointer; }
button:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 4px solid #000000; outline-offset: 3px; }
.quiet-button { margin-top: 1rem; padding: .65rem 1rem; border: 2px solid var(--line); color: var(--green-dark); background: var(--mint); }
.results-section { padding: 2.5rem .25rem; }
.results-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1rem; }
.results-heading h2 { margin: 0; }
.results-heading .eyebrow { color: var(--green); }
.refresh-button { padding: .65rem 1rem; border: 1px solid var(--green); color: var(--green); background: transparent; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card { position: relative; display: grid; align-content: start; min-height: 280px; padding: 1.35rem; border: 2px solid var(--line); border-radius: 15px; background: var(--surface); }
.organization { margin-bottom: .65rem; color: var(--green); font-weight: 800; }
.description { color: var(--muted); }
.facts { display: grid; gap: .35rem; margin-top: .2rem; font-size: .92rem; }
.facts strong { color: var(--ink); }
.services { display: block; margin-top: .75rem; }
.actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.actions a { display: inline-flex; align-items: center; min-height: 48px; padding: .55rem .8rem; border-radius: 9px; color: #f3f4eb; background: var(--green); font-weight: 800; text-decoration: none; }
.actions a.secondary { color: var(--green); background: transparent; border: 1px solid var(--green); }
.actions a.feedback-link { color: #400365; background: transparent; border: 2px solid #400365; }
.more-button { display: block; width: min(100%, 360px); margin: 1.5rem auto 0; padding: .7rem 1rem; border: 2px solid #194851; color: #f3f4eb; background: #194851; }
.verified { margin: 1rem 0 0; padding-top: .75rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
details { margin-top: 1.15rem; }
summary { color: var(--green-dark); cursor: pointer; font-weight: 800; }
.all-details { display: grid; gap: .7rem; margin: .85rem 0 0; }
.all-details div { display: grid; gap: .15rem; }
.all-details dt { color: var(--muted); font-size: .8rem; font-weight: 800; }
.all-details dd { margin: 0; overflow-wrap: anywhere; }
.empty { padding: 3rem 1rem; text-align: center; border: 2px dashed #3b797e; border-radius: 15px; }
footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem max(5vw, 1.25rem); border-top: 6px solid #400365; color: #000000; background: #f3f4eb; font-size: 1rem; }
footer div { display: grid; gap: .45rem; max-width: 780px; }
footer p { margin: 0; }
footer a { color: #400365; font-weight: 800; text-decoration: underline; text-underline-offset: .18em; }
footer a:hover { color: #194851; }
.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; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (forced-colors: active) { * { forced-color-adjust: auto; } }
@media (max-width: 720px) {
  .site-header { min-height: 150px; padding-bottom: 3rem; }
  main { width: min(100% - 1rem, 1160px); }
  .search-panel { border-radius: 14px; }
  .filters { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .results-heading, footer { align-items: flex-start; flex-direction: column; }
  .refresh-button { width: 100%; }
  .submit-link { margin-left: 0; }
}
