/* Finish the existing presence page, retaining its filters, grid and embeds. */
html.grunge-site .page-presence .filters-wrap {
  background: var(--gr-texture), #20241ef5; border-block: 2px solid #080a08;
  box-shadow: 4px 5px #050605; backdrop-filter: none;
}
html.grunge-site .page-presence .filter {
  color: var(--gr-ink); background: var(--gr-paper-light); border: 2px solid var(--gr-ink); border-radius: 0;
  font-family: var(--gr-mono); box-shadow: 2px 3px #050605;
}
html.grunge-site .page-presence .filter:is(:hover,:focus-visible,.is-active) { color: var(--gr-paper-light); background: var(--gr-red); border-color: var(--gr-ink); }
html.grunge-site .page-presence .filter-submenu { color: var(--gr-ink); background: var(--gr-paper-texture); border: 2px solid var(--gr-ink); border-radius: 0; box-shadow: 6px 7px #050605; backdrop-filter: none; }
html.grunge-site .page-presence .filter-submenu .filter { color: var(--gr-ink); background: var(--gr-paper-light); }
html.grunge-site .page-presence .filter-submenu .filter:is(:hover,:focus-visible,.is-active) { color: var(--gr-paper-light); background: var(--gr-green); }
/* Visibility follows the accessible JS state; hover still opens through pointer events. */
html.grunge-site .page-presence .filter-group:not(.is-open) .filter-submenu { opacity: 0; visibility: hidden; pointer-events: none; }
html.grunge-site .page-presence .section-head .eyebrow {
  color: var(--gr-ink); background: var(--gr-paper-texture); border: 2px solid var(--gr-ink); border-bottom: 4px solid var(--gr-red);
  border-radius: 0; box-shadow: 4px 5px #050605; font-family: var(--gr-condensed); font-weight: 900;
}
html.grunge-site .page-presence .section-count { color: var(--gr-ink); background: var(--gr-paper-light); border: 2px solid var(--gr-ink); border-radius: 0; font-family: var(--gr-mono); }
html.grunge-site .page-presence .presence-embed { border: 2px solid var(--gr-ink); border-radius: 0; box-shadow: 3px 4px #050605; }
html.grunge-site .page-presence .project-card :is(.mini-code,.embed-caption) { color: #464b40; }
html.grunge-site .page-presence .footer { color: #d4c6af; border-top: 3px solid var(--gr-red); }
html.grunge-site .page-presence :is(.filter,.filter-submenu) { text-wrap: balance; }
@media (prefers-reduced-motion: reduce) {
  html.grunge-site .page-presence :is(.filter,.filter-caret,.filter-submenu) { transition: none; }
}
