:root{font:100%/1.45 system-ui,sans-serif;color:#f9fbf6;background:#03292e;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#0a484b,transparent 70%),#03292e;min-height:100vh}
a{color:#9af4e9}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #ffda70;outline-offset:2px}
.help-nav{display:flex;justify-content:space-between;align-items:center;padding:.45rem max(3vw,.75rem);border-bottom:1px solid #339d9b;background:#03272d}
.help-nav details{position:relative}.help-nav summary{list-style:none;cursor:pointer;font-size:1.5rem;min-width:44px;line-height:44px;text-align:center}
.help-nav summary::-webkit-details-marker{display:none}.help-nav details div{position:absolute;z-index:3;background:#073438;border:1px solid #58a6a5;border-radius:.5rem;width:13rem;padding:.4rem}
.help-nav details a{display:block;padding:.6rem}.help-nav .brand{display:grid;grid-template-columns:auto auto;align-items:center;column-gap:.5rem;color:#fff;text-decoration:none}
.brand::before{content:"";grid-row:span 2;width:2.7rem;height:2.7rem;background:url('/images/public-help/capitol.webp') center/contain no-repeat;mix-blend-mode:lighten}
.brand strong{font-size:1.9rem;line-height:1;letter-spacing:-.05em}.brand span{color:#ffd75d}.brand small{font-size:.67rem;font-weight:650}
.directory-page main{width:min(100%,68rem);margin:0 auto;padding:0 clamp(.6rem,2.4vw,2rem) 2.5rem}
.directory-hero{--photo:min(53%,29rem);position:relative;isolation:isolate;margin:0 -.3rem;padding:clamp(1.2rem,3vw,2.8rem) 0 1.2rem}
.directory-hero::after{content:"";position:absolute;z-index:-1;inset:0 0 0 auto;width:var(--photo);background:url('/images/public-help/neighborhood.webp') center/cover;mask-image:linear-gradient(90deg,transparent,#000 55%)}
.directory-hero h1{margin:0;font-size:clamp(2.05rem,5vw,3.8rem);letter-spacing:-.055em;line-height:1.06;text-shadow:0 2px 6px #002322}
.directory-hero h1::before,.help-shortcuts i,#help-topics h2::before{content:"";display:inline-block;vertical-align:middle;background-image:url('/images/public-help/icons.webp');background-size:1200% 100%;background-position:var(--icon,0%) center;mix-blend-mode:lighten}
.directory-hero h1::before{width:1.25em;height:1.25em;margin-right:.17em}.directory-hero em{color:#ffdb63}
.directory-hero p{max-width:min(66%,42ch);margin:.3rem 0 0;font-size:clamp(.95rem,1.8vw,1.25rem);font-weight:600;text-shadow:0 1px 4px #001e1c}
.directory-search{display:flex;align-items:center;overflow:hidden;border-radius:2rem;background:#fff9e8;box-shadow:0 2px 10px #00171688}
.directory-search:focus-within{outline:3px solid #6be2da}.directory-search input{flex:1;min-width:0;border:0;background:transparent;color:#102e33;font:650 clamp(.92rem,2vw,1.1rem)/1.3 system-ui;padding:.8rem 1rem;color-scheme:light}.directory-search input::placeholder{color:#405252}.directory-search input:focus{outline:0}
.find-help{position:relative;display:grid;place-items:center;min-width:44px;min-height:44px;border:0;color:white}
.find-help::before{content:"";width:.92rem;height:.92rem;border:2.5px solid;border-radius:50%}.find-help::after{content:"";position:absolute;width:.57rem;height:2.5px;background:currentColor;transform:translate(.55rem,.55rem) rotate(47deg)}
.directory-search button{align-self:stretch;width:3.7rem;color:#062b2b;background:linear-gradient(#ffe589,#ffca35);cursor:pointer}
.directory-status:empty{display:none}.help-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:.8rem 0;border:1px solid #55c7c2;border-radius:1rem;background:linear-gradient(140deg,#0b494a,#043033);padding:.4rem}
.help-shortcuts a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.18rem;padding:.15rem .35rem;min-width:0;min-height:64px;text-align:center;color:white;text-decoration:none;font-weight:750;line-height:1.16}
.help-shortcuts a+a::after{content:"";position:absolute;left:0;top:20%;bottom:20%;width:1px;background:#c7b87a}.help-shortcuts i{width:2rem;height:2rem}
.help-shortcuts a:nth-child(1){--icon:9.091%}.help-shortcuts a:nth-child(2){--icon:18.182%}.help-shortcuts a:nth-child(3){--icon:27.273%}.help-shortcuts a:nth-child(4){--icon:36.364%}
.section-ribbon{display:flex;align-items:center;gap:.7rem;text-align:center;margin:1rem 0 .7rem;font:800 italic clamp(1.1rem,2.4vw,1.65rem)/1.2 system-ui;color:#112628}
.section-ribbon::before,.section-ribbon::after{content:"";height:2px;background:linear-gradient(90deg,transparent,#f6ce64);flex:1}.section-ribbon::after{transform:rotate(180deg)}
.section-ribbon span{background:linear-gradient(#fff0ae,#f5c341);padding:.32rem 1.1rem;border-radius:.5rem}
#help-topics{display:grid;gap:.54rem;list-style:none;margin:0;padding:0}
#help-topics li{--photo:clamp(6rem,18vw,12.5rem);--symbol:clamp(2.25rem,4vw,3.4rem);position:relative;isolation:isolate;border:1px solid #4fc7c5;border-radius:.9rem;overflow:hidden;padding:.35rem 2.5rem .35rem calc(var(--photo) + var(--symbol) + .7rem);background:linear-gradient(115deg,#053d3f,#043438 65%,#062f34);box-shadow:inset 0 1px 1px #96ebe855}
#help-topics li[hidden]{display:none}
#help-topics li::before{content:"";position:absolute;inset:0 auto 0 0;width:var(--photo);background:var(--image) center/cover;mask-image:linear-gradient(90deg,#000 80%,transparent);z-index:-1}
#help-topics li:has(details[open])::before{height:6rem;mask-image:linear-gradient(90deg,#000 75%,transparent)}
#help-topics h2{margin:0;font-size:clamp(1.04rem,2.25vw,1.45rem);line-height:1.16}
#help-topics h2::before{width:var(--symbol);height:var(--symbol);position:absolute;left:var(--photo);top:.6rem}
#help-topics h2 a{display:flex;align-items:center;min-height:44px;text-decoration:none;color:#fff}
#help-topics h2 a::after{content:"›" / "";position:absolute;right:.8rem;top:.35rem;color:#ffdb62;font:bold 2.4rem/1.2 system-ui}
#help-topics summary{min-height:44px;align-content:center;cursor:pointer;color:#e3f3ed;font-size:.95rem;line-height:1.3}
#help-topics summary::marker{color:#e9c86b;font-size:.7em}
#help-topics details p{margin:.4rem 0}#help-topics .help-question{display:block;padding:.55rem 0}
.art-support{--image:url('/images/public-help/support.webp');--icon:45.455%}.art-veterans{--image:url('/images/public-help/veterans.webp');--icon:54.545%}.art-renters{--image:url('/images/public-help/renters.webp');--icon:63.636%}.art-shelter{--image:url('/images/public-help/shelter.webp');--icon:72.727%}.art-pride{--image:url('/images/public-help/pride.webp');--icon:81.818%}.art-health{--image:url('/images/public-help/health.webp');--icon:90.909%}.art-immigration{--image:url('/images/public-help/immigration.webp');--icon:100%}
[data-town-return]:not([hidden]){display:inline-block;padding:1rem 0}
@media(max-width:35rem){#help-topics li{--photo:19%;--symbol:1.6rem;padding-right:1.35rem}#help-topics h2 a::after{right:.28rem;font-size:1.6rem;top:.8rem}#help-topics summary{font-size:.86rem}.help-shortcuts a{font-size:.82rem}.directory-hero p{max-width:70%}}
@media(max-width:23rem){.help-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.help-shortcuts a:nth-child(3)::after{display:none}}
@media(max-width:35rem){#help-topics li{--photo:22%}.art-support::before{background-position:60% center!important}}

@media screen and (min-width: 64rem) and (hover: hover) and (pointer: fine) {
  #help-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    align-items: start;
  }

  #help-topics li {
    --photo: 18%;
    --symbol: 2rem;
    padding-block: .55rem;
  }

  #help-topics h2 {
    font-size: 1.25rem;
    line-height: 1.25;
  }

  #help-topics summary {
    font-size: 1rem;
    line-height: 1.4;
  }
}
