@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root { color-scheme:light; --org-bg:#f6f8f3; --org-surface:#fff; --org-ink:#254734; --org-muted:#57695d; --org-line:#d8e1d8; --org-soft:#edf2e8; --org-lime:#b5ed58; --org-focus:#254734; }
:root[data-theme="dark"] { color-scheme:dark; --org-bg:#111c16; --org-surface:#1a2a20; --org-ink:#f1f6eb; --org-muted:#bccabb; --org-line:#3b5040; --org-soft:#21372a; --org-focus:#b5ed58; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:28px; }
body.community-landing { margin:0; background:var(--org-bg); color:var(--org-ink); font:400 17px/1.65 'DM Sans',sans-serif; }
a { color:inherit; text-underline-offset:4px; }
button,input,select { font:inherit; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible { outline:3px solid var(--org-focus); outline-offset:4px; }
img { display:block; max-width:100%; }
h1,h2,h3,p,figure { margin:0; }
h1,h2,h3 { font-family:Manrope,sans-serif; line-height:1.2; font-weight:800; }
h2 { font-size:clamp(30px,3.1vw,43px); letter-spacing:-.8px; }
p+p { margin-top:16px; }
.page-width { width:min(1200px,calc(100% - 64px)); margin-inline:auto; }
.skip-link { position:absolute; top:8px; left:16px; z-index:10; padding:10px 20px; background:var(--org-surface); transform:translateY(-160%); }
.skip-link:focus { transform:none; }
.community-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-block:29px; }
.community-brand { flex:0 1 220px; }
.community-brand img { width:220px; height:54px; object-fit:contain; object-position:left center; }
.logo-dark { display:none; }
[data-theme="dark"] .logo-light { display:none; }
[data-theme="dark"] .logo-dark { display:block; }
.community-header nav { display:flex; align-items:center; gap:28px; font-size:14px; font-weight:700; }
.section-link { text-decoration:none; padding-block:12px; }
.section-link:hover,.text-link:hover { text-decoration:underline; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:14px; min-height:50px; padding:12px 23px; border:1px solid transparent; border-radius:14px; text-decoration:none; line-height:1.35; font-size:15px; font-weight:800; text-align:center; }
.button-map { background:var(--org-lime); color:#254734; }
.button:hover { filter:brightness(.96); }
.text-link { display:inline-flex; align-items:center; gap:10px; min-height:44px; font-size:15px; font-weight:700; }
.eyebrow { font-size:12px; line-height:1.5; font-weight:800; text-transform:uppercase; letter-spacing:2px; }
.community-hero { display:grid; grid-template-columns:1.08fr .92fr; align-items:center; gap:52px; padding-block:48px 72px; }
.hero-copy { padding-bottom:25px; min-width:0; }
.hero-copy .eyebrow { margin-bottom:24px; }
h1 { font-size:clamp(42px,5.1vw,66px); letter-spacing:-2.7px; line-height:1.08; }
h1 span { display:block; color:var(--org-ink); }
[data-theme="dark"] h1 span { color:var(--org-lime); }
.hero-description { margin-top:24px; font-size:18px; color:var(--org-muted); max-width:440px; }
.hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap:14px 22px; margin-top:28px; }
.hero-feature { min-width:0; }
.featured-nonprofit { overflow:hidden; border:1px solid var(--org-line); border-radius:26px; background:var(--org-surface); box-shadow:0 16px 35px #15372009; }
.featured-photo { position:relative; }
.featured-photo img { width:100%; height:310px; object-fit:cover; object-position:50% 25%; }
.featured-photo figcaption { position:absolute; right:12px; bottom:12px; padding:3px 8px; color:#fff; background:#13271be0; border-radius:7px; font-size:10px; }
.featured-copy { padding:25px 26px; }
.featured-kicker { margin-bottom:10px; color:var(--org-muted); font-size:11px; letter-spacing:.9px; line-height:1.5; text-transform:uppercase; font-weight:700; }
.featured-nonprofit h2 { font-size:27px; letter-spacing:-.8px; }
.featured-description { margin-top:15px; color:var(--org-muted); font-size:15px; line-height:1.65; }
.featured-copy .giving-links { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin-top:19px; }
.featured-copy .giving-links a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:9px 14px; border:1px solid var(--org-line); border-radius:12px; font-size:13px; line-height:1.5; font-weight:700; text-decoration:none; }
.featured-copy .giving-links a:first-child { background:var(--org-lime); border-color:transparent; color:#254734; }
.featured-legal { margin-top:15px; font-size:10px; line-height:1.6; color:var(--org-muted); }
.community-giving { padding-block:36px 72px; border-top:1px solid var(--org-line); }
.section-intro { display:grid; grid-template-columns:1fr 1fr; gap:68px; align-items:center; margin-bottom:33px; }
.section-intro .eyebrow,.about-copy .eyebrow { margin-bottom:13px; }
.section-intro>div>p:not(.eyebrow) { color:var(--org-muted); }
.section-intro .text-link { margin-top:9px; }
.directory-surface { padding:30px 32px; background:var(--org-surface); border:1px solid var(--org-line); border-radius:26px; }
.shelter-directory h2 { font-size:28px; letter-spacing:-.7px; }
.shelter-intro { margin-top:7px; color:var(--org-muted); font-size:15px; }
.shelter-query-row { display:grid; grid-template-columns:1.5fr 1fr; gap:16px; margin-top:22px; }
.shelter-query-row label { display:flex; flex-direction:column; gap:7px; min-width:0; font-size:14px; font-weight:600; }
.shelter-query-row input,.shelter-query-row select { min-width:0; width:100%; min-height:50px; padding:10px 14px; border:1px solid var(--org-line); border-radius:14px; color:var(--org-ink); background:var(--org-bg); font-size:16px; }
.shelter-query-row input::placeholder { color:var(--org-muted); opacity:1; }
#giving-location-status { margin-top:14px; color:var(--org-muted); font-size:13px; }
.shelter-results { display:grid; gap:10px; margin-top:18px; }
.shelter-state { border:1px solid var(--org-line); border-radius:14px; overflow:clip; }
.shelter-state summary { display:flex; align-items:center; gap:8px; min-height:58px; padding:13px 18px; list-style:none; cursor:pointer; font-weight:700; }
.shelter-state summary::-webkit-details-marker { display:none; }
.shelter-state summary::marker { content:''; }
.shelter-state summary:focus-visible { outline-offset:-4px; }
.shelter-state-count { color:var(--org-muted); font-weight:400; font-size:14px; }
.shelter-state-chevron { display:flex; margin-left:auto; }
.shelter-state-chevron svg { width:20px; height:20px; }
.shelter-state[open] .shelter-state-chevron { transform:rotate(180deg); }
.shelter-state[open] summary { background:var(--org-soft); }
.shelter-state-list { padding-inline:18px; }
.shelter-result { display:flex; align-items:center; justify-content:space-between; gap:18px; padding-block:17px; border-top:1px solid var(--org-line); }
.shelter-result:first-child { border-top:0; }
.shelter-result-info { min-width:0; overflow-wrap:anywhere; }
.shelter-result h3 { font-size:16px; line-height:1.5; }
.shelter-result p,.shelter-result small { margin-top:3px; font-size:13px; line-height:1.5; color:var(--org-muted); }
.shelter-visit { flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:9px 12px; border:1px solid var(--org-line); border-radius:12px; font-size:13px; font-weight:700; text-decoration:none; }
.shelter-visit:hover { background:var(--org-soft); }
.shelter-visit>span[aria-hidden="true"] { display:none; }
#giving-broader-search:empty { display:none; }
#giving-broader-search a { display:inline-flex; align-items:center; min-height:44px; margin-top:14px; font-size:14px; }
.shelter-directory-note,.giving-note { margin-top:19px; color:var(--org-muted); font-size:12px; line-height:1.7; }
.giving-note { margin-top:14px; padding-inline:3px; }
.shelter-retry { display:block; margin-top:12px; padding:10px 18px; min-height:44px; border:1px solid var(--org-line); border-radius:12px; background:var(--org-soft); color:var(--org-ink); cursor:pointer; }
.community-about { display:grid; grid-template-columns:1fr 1fr; gap:72px; padding-block:32px 90px; }
.about-lead { margin-top:25px; font-size:21px; line-height:1.55; }
.about-copy>p:not(.eyebrow):not(.about-lead) { color:var(--org-muted); }
.about-copy .text-link { margin-top:15px; }
.community-story-panel { min-width:0; padding:29px; background:var(--org-soft); border-radius:26px; }
.community-story-panel>h3 { font-size:21px; margin-bottom:23px; }
.community-founder { display:flex; align-items:center; gap:15px; margin-bottom:20px; }
.community-founder img { width:66px; height:66px; object-fit:cover; border-radius:50%; }
.community-founder figcaption { display:flex; flex-direction:column; font-size:14px; line-height:1.6; }
.community-founder figcaption span { color:var(--org-muted); font-size:12px; }
.community-story p { font-size:14px; color:var(--org-muted); }
.community-map-invitation { display:flex; align-items:center; justify-content:space-between; gap:30px; padding:37px 40px; border-radius:26px; background:#254734; color:#f6f8f3; }
.community-map-invitation h2 { font-size:clamp(27px,3.2vw,37px); }
.community-map-invitation .button { flex-shrink:0; }
.community-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px 30px; padding-block:33px; font-size:12px; color:var(--org-muted); }
.community-footer nav { display:flex; flex-wrap:wrap; gap:4px 25px; }
.community-footer a { display:inline-flex; align-items:center; min-height:44px; }
@media (max-width:900px) {
  .community-header nav { gap:18px; }
  .community-hero { gap:30px; }
  h1 { font-size:clamp(38px,5.1vw,53px); letter-spacing:-1.8px; }
  .featured-copy { padding:21px; }
  .featured-nonprofit h2 { font-size:24px; }
  .featured-photo img { height:260px; }
  .section-intro,.community-about { gap:35px; }
}
@media (max-width:620px) {
  .page-width { width:calc(100% - 40px); }
  .community-header { gap:14px; padding-block:23px; }
  .community-brand { flex-basis:164px; }
  .community-brand img { width:164px; height:43px; }
  .community-header .section-link { display:none; }
  .community-header .button { min-height:44px; padding:10px 14px; gap:7px; font-size:13px; }
  .community-hero { grid-template-columns:1fr; gap:35px; padding-block:28px 45px; }
  .hero-copy { padding-bottom:0; }
  .hero-copy .eyebrow { margin-bottom:20px; }
  h1 { font-size:clamp(39px,10.4vw,57px); letter-spacing:-1.8px; }
  .hero-actions { gap:8px 18px; margin-top:23px; }
  .featured-photo img { height:320px; }
  .featured-copy { padding:23px; }
  .featured-nonprofit h2 { font-size:26px; }
  .community-giving { padding-block:34px 43px; }
  .section-intro { grid-template-columns:1fr; gap:18px; margin-bottom:25px; }
  .directory-surface { padding:23px 21px; }
  .shelter-query-row { grid-template-columns:1fr; gap:14px; }
  .shelter-state summary { padding-inline:14px; }
  .shelter-state-list { padding-inline:14px; }
  .shelter-result { gap:12px; }
  .shelter-result h3 { font-size:15px; }
  .shelter-visit { padding-inline:10px; font-size:12px; }
  .community-about { grid-template-columns:1fr; gap:30px; padding-block:22px 45px; }
  .community-story-panel { padding:24px; }
  .community-map-invitation { align-items:flex-start; flex-direction:column; gap:23px; padding:29px 25px; }
  .community-footer { padding-block:22px; gap:5px; }
  .community-footer nav { gap:0 20px; }
}
@media (max-width:359px) {
  .page-width { width:calc(100% - 30px); }
  .community-brand { flex-basis:140px; }
  .community-brand img { width:140px; height:38px; }
  .community-header .button { padding-inline:10px; font-size:12px; }
  .directory-surface { padding-inline:17px; }
  .shelter-result { align-items:flex-start; flex-direction:column; gap:9px; }
  .featured-copy { padding:20px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
