@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/public-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/public-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --paper: #f4f6f8;
  --surface: #ffffff;
  --ink: #16202a;
  --muted: #56616d;
  --rule: #d6dce2;
  --link: #1d4b78;
  --company: #6a4c9c;
  --school: #2b7a68;
  --government: #2c5c8f;
  --religious: #8a5a1f;
  --grave: #9a2b2b;
  --resolved: #2e6a40;
  --focus: #c47a00;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12181f;
    --surface: #18212a;
    --ink: #e4e9ee;
    --muted: #9aa6b2;
    --rule: #2c3743;
    --link: #8db8e4;
    --company: #a48ad6;
    --school: #5cbfa6;
    --government: #79a7d9;
    --religious: #d6a464;
    --grave: #e48a8a;
    --resolved: #84c79a;
    --focus: #f0b54a;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 "Public Sans", system-ui, sans-serif;
}
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: .5rem .75rem; z-index: 10; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.site-head, .site-foot, main { max-width: 64rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.site-head {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline; justify-content: space-between;
  padding-top: 1.25rem; padding-bottom: 1.25rem;
}
.brand { font-weight: 800; font-size: 1.05rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.site-head nav { display: flex; gap: 1.25rem; font-size: .95rem; }
.site-head nav a { color: var(--muted); text-decoration: none; }
.site-head nav a:hover { color: var(--ink); text-decoration: underline; }

/* Intro */
.intro { padding: 2.5rem 0 1.5rem; }
.intro h1 {
  font-weight: 800; font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.04;
  letter-spacing: -0.03em; margin: 0 0 1rem; max-width: 20ch;
}
.intro.narrow h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); max-width: 24ch; }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 60ch; margin: 0 0 1.75rem; }
.crumb { margin: 0 0 .5rem; font-size: .95rem; }

.filters { display: grid; gap: .9rem; }
.search input {
  width: 100%; font: inherit; font-size: 1.05rem; padding: .8rem 1rem;
  border: 1px solid var(--rule); border-radius: 6px; background: var(--surface); color: var(--ink);
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font: inherit; font-size: .95rem; padding: .4rem .85rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rule); background: transparent; color: var(--ink);
}
.chip span { color: var(--muted); margin-left: .25rem; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[aria-pressed="true"] span { color: inherit; opacity: .75; }
.status-filter { display: flex; gap: .6rem; align-items: center; color: var(--muted); font-size: .95rem; }
.status-filter select {
  font: inherit; padding: .35rem .6rem; border-radius: 6px; border: 1px solid var(--rule);
  background: var(--surface); color: var(--ink);
}
.count { color: var(--muted); font-size: .9rem; margin: 1rem 0 0; min-height: 1.4em; }

/* Ledger */
.month h2 {
  position: sticky; top: 0; z-index: 1; margin: 0; padding: .75rem 0 .5rem;
  background: var(--paper); font-size: 1rem; font-weight: 700; color: var(--muted);
  border-bottom: 2px solid var(--ink);
}
.entries { list-style: none; margin: 0 0 2.5rem; padding: 0; }
.entry {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.25rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--rule);
}
.entry time { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; padding-top: .2rem; }
.entry .body { border-left: 3px solid var(--rule); padding-left: 1rem; }
.cat-company .body { border-left-color: var(--company); }
.cat-school .body { border-left-color: var(--school); }
.cat-government .body { border-left-color: var(--government); }
.cat-religious .body { border-left-color: var(--religious); }
.entry h3 { margin: 0 0 .35rem; font-size: 1.12rem; line-height: 1.35; font-weight: 700; }
.entry h3 a { color: var(--ink); text-decoration: none; }
.entry h3 a:hover { color: var(--link); text-decoration: underline; }
.summary { margin: 0 0 .55rem; max-width: 68ch; }
.meta { margin: 0; display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .88rem; color: var(--muted); align-items: baseline; }
.status { font-weight: 700; color: var(--ink); }
.s-conviction, .s-verdict, .s-charges { color: var(--grave); }
.s-settlement, .s-legislation, .s-policy { color: var(--resolved); }
.inst { font-weight: 500; }
.empty { color: var(--muted); padding: 2rem 0; }

/* Institutions directory */
.dirs { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); padding-bottom: 3rem; }
.dir h2 { font-size: 1rem; margin: 0 0 .5rem; padding-bottom: .4rem; border-bottom: 3px solid var(--rule); }
.dir.cat-company h2 { border-color: var(--company); }
.dir.cat-school h2 { border-color: var(--school); }
.dir.cat-government h2 { border-color: var(--government); }
.dir.cat-religious h2 { border-color: var(--religious); }
.dir ul { list-style: none; margin: 0; padding: 0; }
.dir li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--rule); }
.dir li span { color: var(--muted); font-variant-numeric: tabular-nums; }

/* About */
.prose { max-width: 40rem; padding-bottom: 3rem; }
.prose h2 { font-size: 1.25rem; margin: 2rem 0 .5rem; letter-spacing: -0.01em; }
.prose li { margin-bottom: .4rem; }

.site-foot {
  border-top: 1px solid var(--rule); padding-top: 1.5rem; padding-bottom: 2.5rem;
  color: var(--muted); font-size: .9rem;
}
.site-foot p { max-width: 62ch; margin: 0 0 .6rem; }

@media (max-width: 40rem) {
  .entry { grid-template-columns: 1fr; gap: .35rem; }
  .entry .body { padding-left: .85rem; }
}

/* Major cases */
.case { font-weight: 500; }
.cases { list-style: none; margin: 0; padding: 0 0 3rem; display: grid; gap: 0; }
.cases li { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); max-width: 46rem; }
.cases li a { font-weight: 700; font-size: 1.15rem; }
.cases li p { margin: .3rem 0; }
.cases li span { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }

/* Report invite + form */
.report-band {
  max-width: 64rem; margin: 0 auto 0; padding: .9rem 1rem; display: flex; flex-wrap: wrap;
  gap: .75rem 1.5rem; align-items: center; justify-content: space-between;
  background: var(--ink); color: var(--paper); border-radius: 8px;
}
.report-band p { margin: 0; max-width: 60ch; }
.report-btn {
  display: inline-block; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  padding: .6rem 1.1rem; border-radius: 6px; border: 0;
  background: var(--paper); color: var(--ink);
}
.report-btn:hover { text-decoration: underline; }
.report-btn.big { background: var(--ink); color: var(--paper); font-size: 1.05rem; padding: .8rem 1.4rem; }
.report-btn[disabled] { opacity: .6; cursor: wait; }
@media (min-width: 64rem) { .report-band { margin-top: 0; } }
@media (max-width: 64rem) { .report-band { margin-left: 1rem; margin-right: 1rem; } }

.report-layout { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); padding-bottom: 3rem; }
@media (min-width: 52rem) { .report-layout { grid-template-columns: 20rem minmax(0, 1fr); } }
.note { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 1rem 1.15rem; margin-bottom: 1rem; }
.note h2 { font-size: 1rem; margin: 0 0 .4rem; }
.note p, .note ul { margin: 0 0 .5rem; font-size: .95rem; }
.note ul { padding-left: 1.1rem; }
.note.urgent { border-color: var(--grave); border-width: 2px; }
.note.sent { border-color: var(--resolved); border-width: 2px; }
.report-form { display: grid; gap: 1.25rem; max-width: 40rem; }
.report-form .row { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.field { display: grid; gap: .35rem; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 700; }
.field .req { font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: .4rem; }
.hint { margin: 0; color: var(--muted); font-size: .9rem; }
.report-form input[type=text], .report-form textarea, .report-form select {
  font: inherit; padding: .65rem .8rem; border: 1px solid var(--rule); border-radius: 6px;
  background: var(--surface); color: var(--ink); width: 100%;
}
.report-form textarea { resize: vertical; line-height: 1.5; }
.choice { display: flex; gap: .55rem; align-items: baseline; font-weight: 400 !important; }
.contact { margin-top: .5rem; }
.consent { font-size: .95rem; }
.hp { position: absolute; left: -9999px; }
.status-msg { margin: 0; min-height: 1.4em; }
.status-msg.error { color: var(--grave); font-weight: 500; }

.contact[hidden], .note[hidden], form[hidden] { display: none; }

/* Featured ongoing case */
.featured { border: 2px solid var(--ink); border-radius: 8px; padding: 1.1rem 1.25rem; margin: 0 0 2rem; background: var(--surface); }
.featured .flag { margin: 0 0 .25rem; font-weight: 700; color: var(--grave); font-size: .9rem; }
.featured h2 { margin: 0 0 .35rem; font-size: 1.5rem; letter-spacing: -0.02em; }
.featured h2 a { color: var(--ink); text-decoration: none; }
.featured > p { margin: 0 0 .75rem; color: var(--muted); max-width: 70ch; }
.featured ul { list-style: none; margin: 0 0 .75rem; padding: 0; }
.featured li { padding: .35rem 0; border-top: 1px solid var(--rule); display: flex; gap: 1rem; }
.featured li time { color: var(--muted); font-size: .9rem; min-width: 6.5rem; font-variant-numeric: tabular-nums; }
.featured li a { color: var(--ink); font-weight: 500; }
.featured .more { font-weight: 700; }

/* Logo wall */
.with-wall { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.wall h2 { font-size: 1.05rem; margin: 0 0 .3rem; letter-spacing: -0.01em; }
.wall p { margin: 0 0 .9rem; color: var(--muted); font-size: .9rem; }
.wall .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.wall .logo {
  display: grid; place-items: center; aspect-ratio: 1; background: #fff; border-radius: 10px;
  border: 1px solid var(--rule); padding: .45rem;
}
.wall .logo img { width: 100%; height: 100%; object-fit: contain; }
.wall .logo:hover, .wall .logo:focus-visible { border-color: var(--ink); transform: scale(1.06); }
@media (prefers-reduced-motion: no-preference) { .wall .logo { transition: transform .12s ease; } }
.wall .all { display: inline-block; margin-top: .9rem; font-weight: 700; }
@media (max-width: 71.99rem) {
  .with-wall { display: flex; flex-direction: column; }
  .wall .tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 4.2rem; overflow-x: auto; padding-bottom: .5rem; }
}
@media (min-width: 72rem) {
  .site-head, .site-foot, main, .report-band { max-width: 80rem; }
  .with-wall { grid-template-columns: 15rem minmax(0, 1fr); }
  .wall { position: sticky; top: 1rem; align-self: start; max-height: calc(100vh - 2rem); overflow-y: auto; padding-right: .25rem; }
}

/* Guides */
.guide { max-width: 44rem; padding: 2.5rem 0 3rem; }
.guide h1 { font-weight: 800; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 .5rem; }
.guide .updated { color: var(--muted); font-size: .9rem; margin: 0 0 1.5rem; }
.guide h2 { font-size: 1.35rem; margin: 2.25rem 0 .6rem; letter-spacing: -0.01em; }
.guide .answer { font-size: 1.15rem; line-height: 1.6; background: var(--surface); border-left: 4px solid var(--ink); padding: 1rem 1.25rem; border-radius: 0 8px 8px 0; }
.guide .disclaimer { color: var(--muted); font-size: .95rem; }
.guide li { margin-bottom: .55rem; }
.guide .steps { padding-left: 1.25rem; }
.guide .note { margin: 1.5rem 0; }
.faqs details { border-bottom: 1px solid var(--rule); padding: .75rem 0; }
.faqs summary { font-weight: 700; cursor: pointer; }
.faqs details p { margin: .5rem 0 0; }
