:root {
  color-scheme: light;
  --bg: #f0eee8;
  --surface: #fffdf8;
  --surface-soft: #eceff1;
  --ink: #10151b;
  --muted: #626b73;
  --line: rgba(16, 21, 27, 0.14);
  --line-strong: rgba(16, 21, 27, 0.58);
  --navy: #132338;
  --steel: #66798a;
  --red: #8f1d2b;
  --red-dark: #651421;
  --red-hot: #b1283a;
  --status-bg: #a9b8c6;
  --blue: #224d7a;
  --green: #26744d;
  --gold: #7a6a56;
  --warning: #875c12;
  --shadow: 0 22px 64px rgba(16, 21, 27, 0.16);
  --shadow-soft: 0 10px 26px rgba(16, 21, 27, 0.1);
  --shadow-lift: 0 26px 70px rgba(16, 21, 27, 0.18);
  --display: Georgia, "Times New Roman", Times, serif;
  --sans: "Inter", "Helvetica Neue", Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background:
    linear-gradient(90deg, rgba(16, 21, 27, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 21, 27, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px;
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.72), transparent 420px),
    linear-gradient(180deg, rgba(255, 253, 248, 0.76), rgba(240, 238, 232, 0.92));
  overflow-x: hidden;
}

a {
  color: inherit;
}

input,
select,
textarea,
button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 13px clamp(16px, 4vw, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(13, 20, 28, 0.94);
  color: #fffdf8;
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 12px 36px rgba(16, 21, 27, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fffdf8;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 253, 248, 0.54);
  border-radius: 6px;
  background: linear-gradient(145deg, #1d3046, var(--red-dark));
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 24px rgba(0, 0, 0, 0.18);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.brand-mark svg circle {
  fill: currentColor;
  stroke: none;
}

.brand-word {
  color: #fffdf8;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.07);
  padding: 0;
  box-shadow: inset 0 1px 0 rgba(255, 250, 241, 0.12);
}

.button,
.provider,
.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
  padding: 11px 15px;
  text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button.wide {
  width: 100%;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  min-width: 0;
  border: 0;
  border-left: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.1;
  padding: 10px 15px;
  text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.site-nav a:first-child {
  border-left: 0;
}

.site-nav a::before {
  color: #c7d0da;
  font-size: 0.72rem;
  font-weight: 850;
}

.site-nav a:nth-child(1)::before {
  content: "01";
}

.site-nav a:nth-child(2)::before {
  content: "02";
}

.site-nav a:nth-child(3)::before {
  content: "03";
}

.site-nav a:hover,
.site-nav a.active {
  color: #fffdf8;
}

.site-nav a:hover {
  background: rgba(255, 253, 248, 0.11);
  box-shadow: inset 0 -3px 0 rgba(169, 184, 198, 0.54);
  transform: translateY(-1px);
}

.site-nav a.active {
  background: rgba(255, 253, 248, 0.16);
  color: #ffffff;
  box-shadow: inset 0 -3px 0 var(--red-hot);
}

.site-nav a:focus-visible,
.button:focus-visible,
.provider:focus-visible,
.tab-button:focus-visible,
.record-link:focus-visible {
  border-radius: 5px;
  outline: 3px solid rgba(169, 184, 198, 0.42);
  outline-offset: 4px;
}

.provider.active,
.tab-button.active {
  border-color: rgba(165, 31, 44, 0.45);
  background: #fff3f1;
  color: var(--red-dark);
  box-shadow: inset 0 -3px 0 var(--red);
}

.button.primary {
  border-color: var(--ink);
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(143, 29, 43, 0.22);
}

.button.secondary {
  border-color: rgba(16, 21, 27, 0.32);
  background: rgba(255, 253, 248, 0.86);
}

.button.ghost {
  background: transparent;
}

.button:hover,
.provider:hover,
.tab-button:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.button.primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.hero-band,
.content-band,
.manager-shell {
  padding: clamp(32px, 6vw, 76px) clamp(18px, 4vw, 52px);
}

.home-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(300px, 38svh, 430px);
  overflow: hidden;
  padding: clamp(36px, 5vw, 66px) clamp(18px, 4vw, 52px) clamp(34px, 4.4vw, 58px);
  border-bottom: 1px solid rgba(16, 21, 27, 0.18);
  background: #0d141c;
  color: #fffdf8;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(13, 20, 28, 0.92) 0%, rgba(13, 20, 28, 0.78) 48%, rgba(13, 20, 28, 0.54) 100%),
    linear-gradient(0deg, rgba(13, 20, 28, 0.86), rgba(13, 20, 28, 0.18) 48%),
    url("./images/department-of-justice-public-domain.jpg") center 42% / cover no-repeat;
  filter: grayscale(0.72) contrast(1.08) saturate(0.78);
  content: "";
}

.home-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 253, 248, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
  pointer-events: none;
  content: "";
}

.home-hero-inner {
  display: grid;
  align-content: center;
  gap: clamp(18px, 3vw, 28px);
  min-height: 0;
}

.home-title {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.home-title h1 {
  color: #fffdf8;
  font-family: var(--display);
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.94;
  overflow-wrap: normal;
  text-transform: none;
}

.home-title h1 span {
  display: inline-block;
  white-space: nowrap;
}

.home-title .lead {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(1.02rem, 1.32vw, 1.2rem);
  line-height: 1.48;
}

.home-hero .eyebrow {
  color: #c7d0da;
}

.home-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.home-menu .button.secondary {
  border-color: rgba(255, 253, 248, 0.32);
  background: rgba(255, 253, 248, 0.08);
  color: #fffdf8;
  backdrop-filter: blur(12px);
}

.featured-carousel-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(30px, 4vw, 56px) clamp(18px, 4vw, 52px) clamp(44px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(16, 21, 27, 0.96) 0%, rgba(16, 21, 27, 0.82) 48%, rgba(16, 21, 27, 0.54) 100%),
    linear-gradient(180deg, rgba(16, 21, 27, 0.1), rgba(240, 238, 232, 0.96) 94%),
    url("./images/department-of-justice-public-domain.jpg") center 38% / cover no-repeat;
  color: #fffdf8;
}

.featured-shell {
  display: grid;
  gap: clamp(16px, 2.2vw, 24px);
}

.carousel-heading {
  grid-template-columns: minmax(320px, 0.62fr) minmax(280px, 0.38fr);
  column-gap: clamp(28px, 6vw, 76px);
  row-gap: 8px;
  align-items: end;
  margin-bottom: 0;
}

.section-head.carousel-heading {
  margin-bottom: 0;
}

.carousel-heading .eyebrow {
  grid-column: 1 / -1;
}

.carousel-heading h2 {
  color: #fffdf8;
}

.carousel-heading p:not(.eyebrow) {
  color: rgba(255, 253, 248, 0.76);
}

.splash-carousel {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.carousel-stage {
  min-width: 0;
}

.carousel-case-card,
.case-tile {
  border: 1px solid rgba(16, 21, 27, 0.16);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.carousel-case-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
  min-height: clamp(560px, 64svh, 680px);
  height: auto;
  min-height: 0;
  overflow: hidden;
  border-color: rgba(255, 253, 248, 0.34);
  background: #10151b;
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.36);
}

.carousel-case-copy {
  position: relative;
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
  overflow: hidden;
  padding: clamp(30px, 4vw, 58px);
  border-left: 1px solid rgba(16, 21, 27, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(246, 244, 238, 0.98)),
    linear-gradient(90deg, rgba(143, 29, 43, 0.05), rgba(34, 77, 122, 0.07));
  color: var(--ink);
}

.carousel-case-copy h2 {
  position: relative;
  z-index: 1;
  max-width: 780px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.15rem, 3.35vw, 4.05rem);
  font-weight: 700;
  line-height: 1.02;
  overflow-wrap: normal;
  text-transform: none;
}

.carousel-case-copy .lead,
.carousel-case-copy .subject-line {
  margin: 0;
}

.carousel-case-copy .lead {
  position: relative;
  z-index: 1;
  max-width: 640px;
  color: #3d4650;
  font-size: clamp(1rem, 1.18vw, 1.13rem);
  font-weight: 850;
}

.carousel-case-copy .card-topline,
.carousel-case-copy .card-topline span {
  position: relative;
  z-index: 1;
}

.carousel-case-copy .card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.carousel-case-copy .card-topline span {
  border-left: 3px solid var(--red);
  background: rgba(16, 21, 27, 0.06);
  color: rgba(16, 21, 27, 0.72);
  padding: 8px 10px;
}

.carousel-case-copy .lead-actions {
  position: relative;
  z-index: 1;
}

.case-screen-index {
  position: absolute;
  right: clamp(18px, 3vw, 36px);
  top: clamp(16px, 3vw, 30px);
  color: rgba(16, 21, 27, 0.16);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
  text-transform: uppercase;
}

.case-mini-ledger {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.case-mini-ledger span {
  display: grid;
  gap: 5px;
  min-width: 0;
  border-top: 1px solid rgba(16, 21, 27, 0.18);
  color: #2d3640;
  font-size: 0.95rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  padding-top: 10px;
}

.case-mini-ledger strong {
  color: var(--red-dark);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.carousel-case-media,
.case-tile-media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #15191e;
}

.carousel-case-media {
  z-index: 1;
  align-self: stretch;
  justify-self: stretch;
  min-height: 100%;
  border-right: 1px solid rgba(255, 253, 248, 0.24);
  background:
    linear-gradient(180deg, rgba(16, 21, 27, 0.08), rgba(16, 21, 27, 0.84)),
    url("./images/department-of-justice-public-domain.jpg") center 38% / cover no-repeat;
}

.carousel-case-media img,
.case-tile-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
}

.carousel-case-media img {
  min-height: 0;
  filter: grayscale(0.04) contrast(1.05) saturate(0.96);
  object-position: center 7%;
}

.carousel-case-media figcaption,
.case-tile-media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 4px;
  background: linear-gradient(0deg, rgba(13, 20, 28, 0.92), rgba(13, 20, 28, 0.18) 74%, transparent);
  color: #ffffff;
  padding: 42px 14px 12px;
}

.carousel-case-media figcaption strong,
.case-tile-media figcaption strong {
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.1;
}

.carousel-case-media figcaption a,
.carousel-case-media figcaption span,
.case-tile-media figcaption a,
.case-tile-media figcaption span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.22;
  text-decoration: none;
  text-transform: uppercase;
}

.carousel-controls {
  display: block;
}

.splash-carousel.single-slide .carousel-controls {
  display: none;
}

.carousel-button {
  width: 42px;
  min-height: 42px;
  padding: 0;
}

.carousel-dots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.carousel-dots button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  min-height: 68px;
  width: 100%;
  border: 1px solid rgba(16, 21, 27, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--ink);
  cursor: pointer;
  padding: 12px;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.selector-index {
  display: block;
  color: var(--red-dark);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
}

.selector-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.selector-copy strong,
.selector-copy em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.selector-copy strong {
  font-size: 0.76rem;
  font-style: normal;
  text-transform: uppercase;
}

.selector-copy em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.2;
}

.carousel-dots button:hover,
.carousel-dots button.active {
  border-color: rgba(19, 35, 56, 0.42);
  background: var(--navy);
  color: #ffffff;
  transform: translateY(-1px);
}

.carousel-dots button:hover .selector-index,
.carousel-dots button.active .selector-index,
.carousel-dots button:hover .selector-copy em,
.carousel-dots button.active .selector-copy em {
  color: rgba(255, 253, 248, 0.78);
}

.case-index-band {
  background: #fffdf8;
}

.case-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: 18px;
}

.case-tile {
  display: grid;
  align-content: start;
  min-width: 0;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.case-tile:hover {
  border-color: rgba(19, 35, 56, 0.34);
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.case-tile-media {
  aspect-ratio: 16 / 10;
}

.case-tile-body {
  display: grid;
  gap: 13px;
  min-width: 0;
  padding: 18px;
  background: var(--surface);
}

.case-tile h3 {
  font-family: var(--display);
  font-size: clamp(1.48rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.02;
  text-transform: none;
}

.case-tile h3 a {
  text-decoration: none;
}

.case-tile h3 a:hover {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.case-tile .subject-line,
.case-tile .card-summary,
.case-tile .case-card-actions {
  margin: 0;
}

.case-first,
.content-band {
  scroll-margin-top: 92px;
}

.case-first {
  position: relative;
  isolation: isolate;
  min-height: min(760px, calc(100svh - 118px));
  display: flex;
  align-items: center;
  padding: clamp(22px, 4vw, 40px) clamp(18px, 4vw, 52px) clamp(28px, 4vw, 46px);
  border-bottom: 3px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(8, 8, 8, 0.06) 0 1px, transparent 1px 100%),
    var(--bg);
  background-size: 34px 34px;
}

.case-first::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(165, 31, 44, 0.16), rgba(165, 31, 44, 0) 42%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(8, 8, 8, 0.05) 18px 19px, transparent 19px 38px);
  content: "";
}

.case-first-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: stretch;
  width: min(900px, 100%);
  margin: 0 auto;
}

.lead-dossier,
.justice-panel {
  min-width: 0;
  border: 2px solid var(--line-strong);
  border-radius: 0;
  background: rgba(255, 250, 241, 0.94);
  box-shadow: var(--shadow);
}

.lead-dossier {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(22px, 3.2vw, 34px);
}

.dossier-topline,
.lead-actions,
.case-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.dossier-topline {
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.case-number,
.case-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.case-number {
  color: var(--muted);
}

.case-status {
  border: 1px solid rgba(19, 35, 56, 0.28);
  background: var(--status-bg);
  color: var(--navy);
  padding: 4px 10px;
}

.lead-case-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin: 0;
}

.lead-case-meta div {
  min-width: 0;
  border-left: 5px solid var(--red);
  background: var(--surface-soft);
  padding: 10px;
}

.lead-case-meta dt,
.source-ledger span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-case-meta dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.32;
}

.lead-progress {
  display: grid;
  gap: 9px;
}

.record-link {
  color: var(--red-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.record-link::after {
  content: " ->";
}

.record-link.muted {
  color: var(--muted);
}

.record-link.strong {
  color: var(--red-dark);
}

.wide-link {
  display: inline-block;
  width: 100%;
  text-align: center;
}

.compact-row .record-link,
.share-panel .record-link,
.case-detail-photo figcaption a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
}

.share-panel .record-link {
  justify-content: center;
}

.justice-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: hidden;
  padding: clamp(20px, 3vw, 28px);
  background:
    linear-gradient(180deg, rgba(18, 20, 22, 0.04), transparent 46%),
    #ffffff;
}

.case-portrait,
.campaign-card-media,
.case-detail-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 20, 22, 0.18);
  border-radius: 7px;
  background: #15191e;
}

.case-portrait img,
.campaign-card-media img,
.case-detail-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-portrait {
  min-height: 270px;
  box-shadow: var(--shadow-soft);
}

.case-portrait img {
  aspect-ratio: 4 / 5;
  object-position: center 18%;
}

.case-portrait figcaption,
.campaign-card-media figcaption,
.case-detail-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 4px;
  background: linear-gradient(0deg, rgba(18, 20, 22, 0.94), rgba(18, 20, 22, 0.24) 74%, transparent);
  color: #ffffff;
  padding: 42px 14px 12px;
}

.case-portrait figcaption strong,
.campaign-card-media figcaption strong,
.case-detail-photo figcaption strong {
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.1;
}

.case-portrait figcaption a,
.case-portrait figcaption span,
.campaign-card-media figcaption a,
.campaign-card-media figcaption span,
.case-detail-photo figcaption a,
.case-detail-photo figcaption span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.22;
  text-decoration: none;
  text-transform: uppercase;
}

.case-portrait figcaption strong {
  font-size: 1.22rem;
  line-height: 1.05;
}

.justice-panel h2 {
  font-size: clamp(1.62rem, 2.4vw, 2.05rem);
}

.source-ledger {
  display: grid;
  gap: 6px;
  border-block: 1px solid var(--line);
  padding: 12px 0;
}

.lead-offenses span {
  padding-block: 5px;
}

.justice-panel .tracker-step {
  min-height: 72px;
  padding: 8px;
}

.source-ledger strong {
  color: var(--ink);
  line-height: 1.35;
}

.case-access-band {
  padding: 22px clamp(18px, 4vw, 52px) 0;
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.compact-status .stat-tile {
  min-height: 100%;
}

.public-hero {
  position: relative;
  isolation: isolate;
  min-height: 78svh;
  display: flex;
  align-items: center;
  border-bottom: 3px solid var(--ink);
  background-image:
    linear-gradient(90deg, rgba(255, 250, 241, 0.97) 0%, rgba(255, 250, 241, 0.86) 52%, rgba(255, 250, 241, 0.52) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(8, 8, 8, 0.08) 0 1px, transparent 1px 100%);
  background-size: auto, 34px 34px, 34px 34px;
}

.public-hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(0deg, rgba(244, 246, 248, 0.9), rgba(244, 246, 248, 0));
  content: "";
}

.hero-inner,
.band-inner,
.manager-inner {
  width: min(1180px, 100%);
  min-width: 0;
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.hero-copy {
  width: 100%;
  max-width: 780px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 100%;
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 7.2rem);
  font-weight: 700;
  text-transform: none;
}

.lead-dossier h1 {
  max-width: 920px;
  font-size: clamp(2.65rem, 4.6vw, 4.9rem);
}

h2 {
  max-width: 820px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.2vw, 4.8rem);
  font-weight: 700;
  text-transform: none;
}

h3 {
  font-size: 1.12rem;
}

p {
  color: var(--muted);
  line-height: 1.58;
}

.lead {
  max-width: 100%;
  font-size: 1.16rem;
}

.lead-dossier .lead {
  max-width: 820px;
  margin: 0;
  color: #343a40;
  font-size: 1.19rem;
}

.hero-actions,
.action-row,
.provider-row,
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-actions {
  margin-top: 26px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(23, 38, 61, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 850;
  padding: 6px 12px;
}

.metrics-band {
  padding: 24px clamp(18px, 4vw, 52px) 0;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.compact-head {
  margin-bottom: 12px;
}

.section-head p {
  max-width: 760px;
  margin: 0;
}

.muted-band {
  background:
    repeating-linear-gradient(90deg, rgba(8, 8, 8, 0.04) 0 1px, transparent 1px 24px),
    #e5eef1;
  border-block: 2px solid var(--ink);
}

.compliance-band {
  padding-block: 38px;
  border-block: 2px solid var(--ink);
  background: var(--navy);
}

.compliance-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.compliance-layout h2,
.compliance-layout p {
  color: #ffffff;
}

.compliance-layout .eyebrow {
  color: #f5c2c7;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.stat-tile,
.auth-surface,
.campaign-card,
.payment-option,
.manager-panel,
.schema-tile,
.pledge-panel,
.campaign-detail-panel,
.compact-row,
.update-item {
  border: 2px solid var(--line-strong);
  border-radius: 0;
  background: var(--surface);
}

.stat-tile {
  min-height: 122px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.stat-tile span,
.compact-row span,
.fine-print,
.card-topline,
small {
  color: var(--muted);
  font-size: 0.88rem;
}

.stat-tile strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.14;
}

.auth-surface,
.pledge-panel,
.campaign-detail-panel {
  padding: 24px;
  box-shadow: var(--shadow);
}

.public-hero .auth-surface {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.auth-state,
.auth-form {
  display: grid;
  gap: 16px;
}

.social-auth h3,
.auth-state h3 {
  margin-bottom: 4px;
}

.social-login-stack,
.auth-dev-form,
.provider-readiness {
  display: grid;
  gap: 10px;
}

.social-provider {
  justify-content: flex-start;
  min-height: 62px;
  width: 100%;
  padding: 11px 12px;
  text-align: left;
  text-transform: none;
  white-space: normal;
}

.provider-mark {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(16, 21, 27, 0.18);
  border-radius: 50%;
  background: #ffffff;
  color: #111820;
  font-weight: 950;
  line-height: 1;
}

.apple-mark {
  background: #111820;
  color: #ffffff;
}

.provider-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.provider-copy strong {
  color: var(--ink);
  line-height: 1.1;
}

.provider-copy small {
  line-height: 1.28;
  white-space: normal;
}

.provider-readiness span {
  display: grid;
  gap: 2px;
  border-left: 3px solid var(--warning);
  background: rgba(255, 246, 221, 0.72);
  color: #5d3f0d;
  font-size: 0.82rem;
  padding: 8px 10px;
}

.provider-readiness span.ready {
  border-left-color: var(--green);
  background: rgba(237, 247, 242, 0.82);
  color: #174d35;
}

.session-badge {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(16, 21, 27, 0.18);
  background: rgba(236, 239, 241, 0.72);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 5px 7px;
  text-transform: uppercase;
}

.auth-notice {
  margin: 0;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #fffdf6;
  color: var(--ink);
  padding: 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(47, 94, 119, 0.18);
  outline: none;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.campaign-grid,
.payment-grid,
.schema-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
  margin-top: 22px;
}

.campaign-card,
.payment-option,
.schema-tile,
.manager-panel {
  padding: 22px;
}

.campaign-card {
  display: grid;
  align-content: start;
  gap: 0;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.campaign-card:hover {
  box-shadow: 8px 8px 0 var(--red);
  transform: translate(-3px, -3px);
}

.campaign-card > * {
  min-width: 0;
}

.campaign-card-media {
  aspect-ratio: 16 / 10;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.campaign-card-media img {
  object-position: center 16%;
}

.case-detail-photo {
  aspect-ratio: 16 / 9;
  margin: -8px -8px 22px;
}

.case-detail-photo img {
  object-position: center 18%;
}

.case-detail-photo figcaption strong {
  font-size: 1.08rem;
}

.campaign-card h3 {
  margin: 0 18px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.02;
  overflow-wrap: anywhere;
  text-transform: none;
}

.subject-line {
  margin: 0 18px;
  overflow-wrap: anywhere;
}

.subject-line strong {
  color: var(--ink);
}

.card-summary {
  margin: 0 18px;
  color: #343a40;
  line-height: 1.48;
}

.case-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.case-points li {
  color: var(--ink);
  line-height: 1.4;
}

.campaign-card .case-points {
  margin: 0 18px;
}

.offense-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.offense-chip-row span {
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(47, 94, 119, 0.25);
  border-radius: 999px;
  background: #eef6f8;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 850;
  overflow-wrap: anywhere;
  padding: 6px 10px;
}

.card-topline,
.money-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.campaign-card .card-topline {
  margin: 16px 18px 12px;
}

.campaign-card .case-card-actions {
  margin-top: 18px;
  padding: 0 18px 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(19, 35, 56, 0.28);
  border-radius: 999px;
  background: var(--status-bg);
  color: var(--navy);
  padding: 4px 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.progress-wrap {
  height: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #e8edf2;
}

.progress-wrap span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--steel));
}

.tracker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.campaign-card .tracker-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tracker-step {
  min-width: 0;
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 10px;
  background: var(--surface-soft);
}

.tracker-step span,
.tracker-step strong,
.tracker-step small {
  display: block;
  overflow-wrap: anywhere;
}

.tracker-step strong {
  margin: 5px 0;
  color: var(--navy);
}

.tracker-step.complete {
  border-color: rgba(40, 114, 79, 0.42);
  background: #edf7f2;
}

.tracker-step.working {
  border-color: rgba(47, 94, 119, 0.42);
  background: #eef6f8;
}

.tracker-step.blocked {
  border-color: rgba(180, 35, 47, 0.42);
  background: #fff4f5;
}

.payment-option {
  display: grid;
  gap: 14px;
  background: var(--surface-soft);
}

.payment-option dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.payment-option dt {
  color: var(--ink);
  font-weight: 900;
}

.payment-option dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.payment-option a {
  color: var(--red-dark);
  font-weight: 850;
}

.source-panel {
  display: grid;
  gap: 12px;
  margin: 24px 0 18px;
  border-block: 1px solid var(--line);
  padding: 20px 0;
}

.source-panel[hidden] {
  display: none;
}

.source-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.source-list a {
  color: var(--red-dark);
  font-weight: 850;
}

.detail-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.share-panel {
  display: grid;
  gap: 14px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: #fff7f0;
  padding: 24px;
  box-shadow: var(--shadow);
}

.share-panel h2 {
  font-size: 2rem;
}

.plain-band {
  border-block: 3px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.06) 1px, transparent 1px),
    var(--surface);
  background-size: 28px 28px;
}

.narrow-copy {
  max-width: 820px;
}

.start-band {
  background: var(--ink);
}

.start-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.start-layout h2,
.start-layout p {
  color: #ffffff;
}

.start-layout .eyebrow {
  color: #f2b3ba;
}

.legal-note {
  border-top: 1px solid var(--line);
  margin: 0;
  padding-top: 12px;
  color: #343a40;
  font-weight: 760;
}

.case-media-hero {
  margin: 22px 0;
}

.case-media-hero[hidden] {
  display: none;
}

.case-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
  border-block: 1px solid var(--line);
  padding: 16px 0;
}

.case-meta-grid span,
.media-card .eyebrow {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.case-meta-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 1.05rem;
}

.offense-panel,
.story-panel,
.media-panel {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.offense-panel[hidden],
.story-panel[hidden],
.media-panel[hidden] {
  display: none;
}

.offense-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.offense-list li {
  color: var(--ink);
  line-height: 1.5;
}

.story-stack,
.media-grid {
  display: grid;
  gap: 14px;
}

.story-section {
  border-left: 4px solid var(--red);
  padding-left: 14px;
}

.story-section p {
  margin-bottom: 0;
}

.media-card {
  display: grid;
  grid-template-columns: minmax(140px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  border-block: 1px solid var(--line);
  padding: 14px 0;
}

.media-card.featured {
  border: 2px solid var(--line-strong);
  border-radius: 0;
  background: var(--surface-soft);
  padding: 14px;
}

.media-card img,
.media-card video,
.media-placeholder {
  width: 100%;
  min-height: 150px;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background: #dfe7ee;
  object-fit: cover;
}

.media-placeholder {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

.media-placeholder.video {
  background:
    linear-gradient(135deg, rgba(18, 20, 22, 0.94), rgba(80, 88, 96, 0.9)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 10px);
  color: #ffffff;
}

.media-placeholder.image {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(216, 214, 207, 0.9)),
    linear-gradient(90deg, rgba(18, 20, 22, 0.12) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(18, 20, 22, 0.12) 0 1px, transparent 1px 100%);
  background-size: auto, 22px 22px, 22px 22px;
}

.manager-inner {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.manager-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
}

.manager-main {
  min-width: 0;
}

.hero-inner > *,
.detail-grid > *,
.manager-inner > *,
.panel-grid > * {
  min-width: 0;
}

.manager-panel[hidden] {
  display: none;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.compact-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.compact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
}

.compact-row div {
  display: grid;
  gap: 4px;
}

.update-item {
  padding: 16px;
  background: var(--surface-soft);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.campaign-detail-panel h1,
.manager-panel h1 {
  font-size: 3.2rem;
}

.milestone-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.milestone-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.milestone-list em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.notice {
  border: 1px solid rgba(40, 114, 79, 0.4);
  border-radius: 0;
  background: #edf7f2;
  color: #174d35;
  padding: 12px;
}

.notice.warn {
  border-color: rgba(138, 93, 18, 0.45);
  background: #fff6dd;
  color: #5d3f0d;
}

.notice[hidden] {
  display: none;
}

.page-footer {
  border-top: 3px solid var(--red);
  padding: 22px clamp(18px, 4vw, 52px);
  background: var(--ink);
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .carousel-case-card,
  .case-first-inner,
  .access-grid,
  .hero-inner,
  .detail-grid,
  .manager-inner,
  .panel-grid,
  .compliance-layout {
    grid-template-columns: 1fr;
  }

  .case-first {
    min-height: auto;
  }

  .carousel-case-card {
    height: auto;
    min-height: auto;
  }

  .carousel-case-media {
    order: -1;
  }

  .carousel-case-media img {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .carousel-dots {
    grid-template-columns: 1fr;
  }

  .justice-panel {
    grid-template-columns: minmax(190px, 0.45fr) minmax(0, 1fr);
  }

  .case-portrait {
    grid-row: span 3;
    min-height: 230px;
  }

  .justice-panel .tracker-grid,
  .justice-panel .lead-offenses,
  .justice-panel .source-ledger {
    grid-column: 1 / -1;
  }

  .public-hero {
    min-height: auto;
    background-image:
      linear-gradient(180deg, rgba(255, 253, 248, 0.97), rgba(255, 253, 248, 0.76)),
      linear-gradient(90deg, rgba(16, 21, 27, 0.08) 0 1px, transparent 1px 100%),
      linear-gradient(0deg, rgba(16, 21, 27, 0.08) 0 1px, transparent 1px 100%);
    background-size: auto, 34px 34px, 34px 34px;
  }

  .public-hero .auth-surface {
    max-width: 520px;
  }

  h1 {
    font-size: 3.45rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .status-grid,
  .campaign-grid,
  .payment-grid,
  .schema-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand,
  .site-nav,
  .hero-inner,
  .band-inner,
  .manager-inner {
    max-width: calc(100vw - 36px);
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    justify-content: flex-start;
    gap: 0;
  }

  .site-nav a {
    min-width: 0;
    padding-inline: 8px;
    font-size: 0.74rem;
    text-align: center;
    white-space: normal;
  }

  .hero-band,
  .home-hero,
  .featured-carousel-band,
  .case-first,
  .content-band,
  .manager-shell {
    padding: 32px 18px;
  }

  .home-hero {
    min-height: auto;
    padding-block: 34px 32px;
  }

  .featured-carousel-band {
    padding-block: 30px 36px;
  }

  .carousel-case-card,
  .case-tile,
  .campaign-card,
  .lead-dossier,
  .justice-panel,
  .auth-surface,
  .pledge-panel,
  .campaign-detail-panel,
  .manager-panel {
    box-shadow: var(--shadow-soft);
  }

  h1,
  .campaign-detail-panel h1,
  .manager-panel h1 {
    font-size: 2.8rem;
    overflow-wrap: break-word;
  }

  .home-title h1 {
    font-size: clamp(2.72rem, 11.7vw, 3.15rem);
    line-height: 0.98;
    overflow-wrap: normal;
  }

  .home-title h1 span {
    display: block;
    white-space: nowrap;
  }

  h2 {
    font-size: 2.2rem;
  }

  .status-grid,
  .campaign-grid,
  .case-tile-grid,
  .payment-grid,
  .schema-grid,
  .lead-case-meta,
  .tracker-grid,
  .form-grid,
  .case-meta-grid,
  .media-card {
    grid-template-columns: 1fr;
  }

  .carousel-heading,
  .case-mini-ledger {
    grid-template-columns: 1fr;
  }

  .carousel-heading {
    gap: 8px;
  }

  .start-layout {
    align-items: stretch;
    flex-direction: column;
  }

  .justice-panel {
    grid-template-columns: 1fr;
  }

  .case-portrait {
    grid-row: auto;
    min-height: auto;
  }

  .case-portrait img {
    aspect-ratio: 16 / 11;
    object-position: center 12%;
  }

  .compact-row,
  .milestone-list li {
    grid-template-columns: 1fr;
  }

  .compact-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .provider,
  .tab-button {
    white-space: normal;
  }

  .blog-editor-actions {
    justify-content: stretch;
  }

  .blog-editor-actions .button {
    flex: 1 1 100%;
  }

  .home-menu .button {
    width: 100%;
  }

  .carousel-case-copy {
    border-left: 0;
    border-top: 1px solid rgba(16, 21, 27, 0.12);
    padding: 26px;
  }
}

/* Campaign marketplace visual reset. */
:root {
  --market-ink: #111820;
  --market-ink-soft: #26313b;
  --market-paper: #f7f2e8;
  --market-paper-strong: #fffaf0;
  --market-fog: #dfe6e8;
  --market-blue: #24566f;
  --market-red: #a8323b;
  --market-red-dark: #741d28;
  --market-rule: rgba(17, 24, 32, 0.18);
  --market-rule-strong: rgba(17, 24, 32, 0.68);
  --market-shadow: 0 28px 90px rgba(17, 24, 32, 0.18);
}

html {
  background: var(--market-fog);
}

body {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(17, 24, 32, 0.96) 0 432px, rgba(223, 230, 232, 0) 432px),
    linear-gradient(135deg, rgba(223, 230, 232, 0.9) 0%, rgba(246, 240, 231, 0.9) 48%, rgba(215, 227, 223, 0.9) 100%);
  color: var(--market-ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(247, 242, 232, 0.86), rgba(223, 230, 232, 0.91)),
    url("./images/department-of-justice-public-domain.jpg") center top / cover no-repeat;
  content: "";
}

.site-header {
  min-height: 70px;
  border-bottom: 1px solid rgba(17, 24, 32, 0.16);
  background: rgba(255, 250, 240, 0.92);
  color: var(--market-ink);
  box-shadow: 0 10px 34px rgba(17, 24, 32, 0.08);
}

.site-header::after {
  position: absolute;
  right: clamp(18px, 4vw, 52px);
  bottom: -1px;
  left: clamp(18px, 4vw, 52px);
  height: 1px;
  background: linear-gradient(90deg, var(--market-red), var(--market-blue), transparent);
  content: "";
}

.brand {
  min-width: 0;
  color: var(--market-ink);
}

.brand-mark {
  position: relative;
  width: 56px;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: var(--market-ink);
  color: var(--market-paper-strong);
  box-shadow: none;
}

.brand-mark::after {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 250, 240, 0.46);
  content: "";
}

.brand-monogram {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-word {
  color: var(--market-ink);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
  text-transform: none;
}

.brand-subline {
  color: var(--market-blue);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav {
  gap: clamp(16px, 3vw, 30px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-nav a {
  position: relative;
  min-height: 38px;
  border: 0;
  border-radius: 0;
  color: rgba(17, 24, 32, 0.72);
  font-size: 0.78rem;
  line-height: 1;
  padding: 12px 0 10px;
}

.site-nav a::before,
.site-nav a:nth-child(1)::before,
.site-nav a:nth-child(2)::before,
.site-nav a:nth-child(3)::before {
  content: none;
  display: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: transparent;
  content: "";
  transition: background 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: transparent;
  color: var(--market-ink);
  box-shadow: none;
}

.site-nav a:hover {
  transform: none;
}

.site-nav a:hover::after {
  background: rgba(36, 86, 111, 0.42);
}

.site-nav a.active::after {
  background: var(--market-red);
}

.button,
.provider,
.tab-button {
  min-height: 44px;
  border-radius: 2px;
  border-color: var(--market-rule-strong);
  background: var(--market-paper-strong);
  color: var(--market-ink);
  box-shadow: none;
  text-transform: uppercase;
}

.button.primary {
  border-color: var(--market-red-dark);
  background: var(--market-red);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(116, 29, 40, 0.22);
}

.button.primary:hover {
  border-color: var(--market-ink);
  background: var(--market-red-dark);
}

.button.secondary {
  border-color: rgba(17, 24, 32, 0.34);
  background: rgba(255, 250, 240, 0.88);
}

.button:hover,
.provider:hover,
.tab-button:hover {
  border-color: var(--market-ink);
  transform: translateY(-1px);
}

.record-link {
  color: var(--market-red-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.record-link::after {
  content: none;
}

.home-hero {
  min-height: 0;
  padding: 42px clamp(18px, 4vw, 52px) 36px;
  border-bottom: 0;
  background: var(--market-ink);
  color: var(--market-paper-strong);
}

.home-hero::before {
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.94) 0%, rgba(17, 24, 32, 0.72) 54%, rgba(17, 24, 32, 0.38) 100%),
    linear-gradient(180deg, rgba(17, 24, 32, 0.34), rgba(17, 24, 32, 0.92)),
    url("./images/department-of-justice-public-domain.jpg") center 38% / cover no-repeat;
  filter: grayscale(0.18) contrast(1.16) saturate(0.84);
}

.home-hero::after {
  background:
    repeating-linear-gradient(90deg, rgba(255, 250, 240, 0.08) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(255, 250, 240, 0.06) 0 1px, transparent 1px 42px),
    linear-gradient(90deg, rgba(168, 50, 59, 0.5), transparent 34%, rgba(36, 86, 111, 0.34));
  background-size: auto;
  mask-image: none;
  opacity: 0.78;
}

.home-hero-inner {
  gap: 22px;
}

.home-title {
  max-width: 920px;
}

.home-title .eyebrow,
.home-hero .eyebrow {
  color: #b9c9cf;
}

.home-title h1 {
  max-width: 920px;
  color: var(--market-paper-strong);
  font-family: var(--display);
  font-size: 4.22rem;
  font-weight: 700;
  line-height: 0.95;
}

.home-title h1 span {
  display: block;
  white-space: normal;
}

.home-title .lead {
  max-width: 690px;
  color: rgba(255, 250, 240, 0.82);
  font-size: 1.18rem;
  line-height: 1.5;
}

.home-menu {
  gap: 12px;
}

.home-menu .button {
  min-height: 46px;
  padding-inline: 18px;
}

.home-menu .button.secondary {
  border-color: rgba(255, 250, 240, 0.46);
  background: rgba(255, 250, 240, 0.11);
  color: var(--market-paper-strong);
}

.featured-carousel-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(34px, 4.6vw, 58px) clamp(18px, 4vw, 52px) clamp(54px, 6vw, 86px);
  border-top: 0;
  background: #101821;
  color: var(--market-paper-strong);
}

.featured-carousel-band::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 24, 33, 0.96) 0%, rgba(16, 24, 33, 0.84) 42%, rgba(16, 24, 33, 0.58) 100%),
    radial-gradient(circle at 78% 22%, rgba(168, 50, 59, 0.26), transparent 31%),
    linear-gradient(180deg, rgba(16, 24, 33, 0.58) 0%, rgba(16, 24, 33, 0.54) 46%, rgba(247, 242, 232, 0.9) 100%),
    url("./images/department-of-justice-public-domain.jpg") center 35% / cover no-repeat;
  filter: grayscale(0.06) contrast(1.2) saturate(0.86);
  transform: scale(1.02);
  content: "";
}

.featured-carousel-band::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 230px;
  background:
    linear-gradient(180deg, rgba(247, 242, 232, 0), rgba(247, 242, 232, 0.97) 76%),
    repeating-linear-gradient(90deg, rgba(17, 24, 32, 0.055) 0 1px, transparent 1px 36px);
  pointer-events: none;
  content: "";
}

.featured-shell {
  position: relative;
  z-index: 1;
  gap: 16px;
}

.carousel-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.62fr);
  column-gap: 44px;
  row-gap: 6px;
  align-items: end;
}

.carousel-heading .eyebrow {
  grid-column: 1 / -1;
}

.carousel-heading h2 {
  color: var(--market-paper-strong);
  font-size: 3.35rem;
}

.carousel-heading p:not(.eyebrow) {
  color: rgba(255, 250, 240, 0.74);
  font-size: 1rem;
}

.splash-carousel {
  gap: 16px;
}

.carousel-dots {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.carousel-dots button {
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  min-height: 112px;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 6px;
  background: rgba(255, 250, 240, 0.9);
  color: var(--market-ink);
  padding: 10px;
  transform: none;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

.selector-thumb {
  display: block;
  grid-row: 1 / span 2;
  width: 96px;
  height: 90px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 32, 0.2);
  border-radius: 4px;
  background: var(--market-ink);
}

.selector-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

.selector-index {
  grid-column: 2;
  color: var(--market-red-dark);
  font-family: var(--display);
  font-size: 1.16rem;
  align-self: end;
}

.selector-copy {
  grid-column: 2;
}

.selector-copy strong {
  color: var(--market-ink);
  font-size: 0.73rem;
}

.selector-copy em {
  color: rgba(17, 24, 32, 0.68);
  font-size: 0.86rem;
}

.carousel-dots button:hover,
.carousel-dots button.active {
  border-color: transparent;
  background: var(--market-paper-strong);
  color: var(--market-ink);
  box-shadow: inset 0 -5px 0 var(--market-red), 0 20px 48px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

.carousel-dots button:hover .selector-index,
.carousel-dots button.active .selector-index,
.carousel-dots button:hover .selector-copy strong,
.carousel-dots button.active .selector-copy strong,
.carousel-dots button:hover .selector-copy em,
.carousel-dots button.active .selector-copy em {
  color: var(--market-ink);
}

.carousel-case-card,
.case-tile {
  border: 1px solid var(--market-rule-strong);
  border-radius: 0;
  background: var(--market-paper-strong);
}

.carousel-case-card {
  grid-template-columns: minmax(460px, 0.96fr) minmax(0, 1.04fr);
  min-height: 660px;
  height: auto;
  overflow: hidden;
  border-color: rgba(255, 250, 240, 0.32);
  border-radius: 8px;
  background: #101821;
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.32);
}

.carousel-image-panel {
  position: relative;
  display: grid;
  isolation: isolate;
  min-width: 0;
  min-height: 660px;
  overflow: hidden;
  padding: clamp(22px, 2.8vw, 38px);
  background:
    linear-gradient(180deg, rgba(17, 24, 32, 0.08), rgba(17, 24, 32, 0.9)),
    linear-gradient(90deg, rgba(17, 24, 32, 0.18), rgba(17, 24, 32, 0.62)),
    url("./images/department-of-justice-public-domain.jpg") center 35% / cover no-repeat,
    var(--market-ink);
}

.carousel-image-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 44% 38%, rgba(255, 250, 240, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(17, 24, 32, 0.08), rgba(17, 24, 32, 0.78)),
    repeating-linear-gradient(90deg, rgba(255, 250, 240, 0.08) 0 1px, transparent 1px 34px);
  pointer-events: none;
  content: "";
}

.carousel-image-panel::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 32%;
  background: linear-gradient(180deg, transparent, rgba(10, 15, 21, 0.88));
  pointer-events: none;
  content: "";
}

.carousel-case-copy {
  align-content: center;
  gap: 16px;
  border-left: 1px solid rgba(17, 24, 32, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.99), rgba(245, 238, 225, 0.99)),
    repeating-linear-gradient(90deg, rgba(17, 24, 32, 0.045) 0 1px, transparent 1px 28px);
  padding: clamp(32px, 3.7vw, 52px);
}

.carousel-case-copy h2 {
  color: var(--market-ink);
  font-size: clamp(2.5rem, 3.5vw, 4rem);
  line-height: 1;
}

.carousel-case-copy .lead {
  max-width: 680px;
  color: rgba(17, 24, 32, 0.72);
  font-size: 1.02rem;
  line-height: 1.5;
}

.case-screen-index {
  color: rgba(17, 24, 32, 0.14);
  font-family: var(--display);
  font-size: clamp(3.4rem, 5vw, 5.6rem);
}

.featured-case-ribbon {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-grid;
  gap: 3px;
  min-width: 132px;
  border: 1px solid rgba(255, 250, 240, 0.54);
  background: rgba(17, 24, 32, 0.78);
  color: var(--market-paper-strong);
  padding: 10px 12px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.featured-case-ribbon span {
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1;
}

.featured-case-ribbon strong {
  font-family: var(--display);
  font-size: 1.32rem;
  line-height: 1;
}

.campaign-ask-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--market-rule);
  background: var(--market-rule);
}

.campaign-ask-panel span {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  background: rgba(255, 250, 240, 0.88);
  color: var(--market-ink-soft);
  font-size: 0.82rem;
  line-height: 1.22;
  overflow-wrap: anywhere;
  padding: 10px;
}

.campaign-ask-panel strong,
.case-mini-ledger strong {
  color: var(--market-red-dark);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.funding-strip {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(17, 24, 32, 0.16);
  background: rgba(255, 250, 240, 0.72);
  padding: 12px;
}

.funding-strip.compact {
  padding: 10px;
}

.funding-strip .money-row {
  gap: 10px;
  color: rgba(17, 24, 32, 0.68);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.2;
}

.funding-strip .money-row span {
  min-width: 0;
}

.funding-strip .money-row strong {
  color: var(--market-ink);
  font-size: 1.08rem;
}

.funding-strip .progress-wrap {
  height: 11px;
  border-color: rgba(17, 24, 32, 0.2);
  background: rgba(17, 24, 32, 0.1);
}

.funding-strip .progress-wrap span {
  background: linear-gradient(90deg, var(--market-red-dark), var(--market-blue));
}

.campaign-card .funding-strip {
  margin: 2px 18px 0;
}

.donation-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  min-width: 0;
  border: 1px solid rgba(17, 24, 32, 0.14);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.99), rgba(247, 242, 232, 0.99)),
    linear-gradient(90deg, rgba(168, 50, 59, 0.07), rgba(36, 86, 111, 0.08));
  padding: 20px;
  box-shadow: 0 14px 28px rgba(17, 24, 32, 0.08);
}

.donation-panel-top,
.donation-panel-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}

.donation-panel-top div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.donation-panel-top span,
.donation-panel-bottom span {
  color: rgba(17, 24, 32, 0.64);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.donation-panel-top strong {
  color: var(--market-ink);
  font-family: var(--display);
  font-size: clamp(1.9rem, 2.7vw, 2.62rem);
  font-weight: 700;
  line-height: 0.95;
}

.donation-progress {
  position: relative;
  height: 12px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.12), rgba(17, 24, 32, 0.08)),
    rgba(17, 24, 32, 0.08);
  box-shadow: inset 0 1px 2px rgba(17, 24, 32, 0.14);
}

.donation-progress span {
  display: block;
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--market-red-dark), var(--market-red) 58%, var(--market-blue));
  box-shadow: 0 0 0 1px rgba(255, 250, 240, 0.24) inset;
}

.donation-panel-bottom span:first-child {
  color: var(--market-red-dark);
  font-weight: 950;
  white-space: nowrap;
}

.case-mini-ledger {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-mini-ledger span {
  border-top-color: var(--market-rule);
  color: rgba(17, 24, 32, 0.76);
}

.carousel-case-media,
.case-tile-media {
  background: var(--market-ink);
}

.carousel-case-media {
  z-index: 1;
  align-self: end;
  justify-self: center;
  width: min(76%, 390px);
  height: min(78%, 520px);
  min-height: 440px;
  border: 1px solid rgba(255, 250, 240, 0.44);
  border-radius: 8px;
  background: rgba(17, 24, 32, 0.64);
  box-shadow: 0 34px 82px rgba(0, 0, 0, 0.48);
  transform: rotate(-1.1deg);
}

.carousel-case-media img {
  width: 100%;
  height: 100%;
  filter: grayscale(0.03) contrast(1.06) saturate(0.96);
  object-position: center 7%;
  transform: none;
}

.carousel-case-media figcaption,
.case-tile-media figcaption,
.campaign-card-media figcaption,
.case-portrait figcaption,
.case-detail-photo figcaption {
  background: linear-gradient(0deg, rgba(17, 24, 32, 0.9), rgba(17, 24, 32, 0.32) 70%, transparent);
}

.case-index-band {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(235, 241, 241, 0.96)),
    repeating-linear-gradient(90deg, rgba(17, 24, 32, 0.045) 0 1px, transparent 1px 36px);
}

.case-tile-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.case-tile {
  box-shadow: 0 18px 42px rgba(17, 24, 32, 0.1);
}

.case-tile:hover {
  border-color: var(--market-ink);
  box-shadow: 0 24px 58px rgba(17, 24, 32, 0.16);
  transform: translateY(-2px);
}

.case-tile-body {
  gap: 11px;
  background: var(--market-paper-strong);
  padding: 18px;
}

.case-tile h3 {
  font-size: 1.72rem;
}

.source-line {
  margin: 0;
  color: rgba(17, 24, 32, 0.66);
}

.source-line strong {
  color: var(--market-ink);
}

.blog-preview-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-block: 1px solid rgba(17, 24, 32, 0.18);
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.92), rgba(17, 24, 32, 0.72)),
    url("./images/department-of-justice-public-domain.jpg") center 28% / cover no-repeat;
  color: var(--market-paper-strong);
}

.blog-preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}

.blog-preview-band h2,
.blog-preview-band p {
  color: var(--market-paper-strong);
}

.blog-preview-band .section-head p:not(.eyebrow) {
  color: rgba(255, 250, 240, 0.76);
}

.blog-feature-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.28);
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.blog-feature-image {
  min-width: 0;
  min-height: 100%;
  background: var(--market-ink);
}

.blog-feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.blog-feature-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
}

.blog-feature-copy h3 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1;
}

.blog-feature-copy h3 a {
  color: var(--market-ink);
  text-decoration: none;
}

.blog-feature-copy h3 a:hover {
  color: var(--market-red-dark);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.blog-feature-copy p:not(.eyebrow) {
  color: rgba(17, 24, 32, 0.7);
}

.blog-preview-list {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.blog-preview-item {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 250, 240, 0.28);
  background: rgba(255, 250, 240, 0.94);
  color: var(--market-ink);
  padding: clamp(18px, 2.4vw, 24px);
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.blog-preview-item:hover {
  border-color: rgba(255, 250, 240, 0.64);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.blog-preview-item span {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1;
}

.blog-preview-item small {
  color: rgba(17, 24, 32, 0.66);
  font-size: 0.88rem;
  font-weight: 750;
  text-transform: uppercase;
}

.blog-index-hero {
  padding: clamp(50px, 8vw, 94px) clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--market-rule-strong);
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.92), rgba(17, 24, 32, 0.54)),
    url("./images/department-of-justice-public-domain.jpg") center 32% / cover no-repeat;
  color: var(--market-paper-strong);
}

.blog-index-hero-inner {
  display: grid;
  gap: 12px;
}

.blog-index-hero h1 {
  color: var(--market-paper-strong);
  font-size: clamp(4rem, 10vw, 9rem);
}

.blog-index-band {
  background: rgba(247, 242, 232, 0.94);
}

.blog-index-grid {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.blog-entry-card {
  display: grid;
  grid-template-columns: minmax(210px, 0.36fr) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--market-rule-strong);
  background: var(--market-paper-strong);
  box-shadow: 0 18px 42px rgba(17, 24, 32, 0.1);
}

.blog-entry-image {
  min-width: 0;
  min-height: 100%;
  background: var(--market-ink);
}

.blog-entry-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.blog-entry-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
  padding: clamp(22px, 4vw, 44px);
}

.blog-entry-copy h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.blog-entry-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: rgba(17, 24, 32, 0.72);
  font-size: 1.04rem;
}

.blog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(52px, 8vw, 104px) clamp(18px, 4vw, 52px);
  background: var(--market-ink);
  color: var(--market-paper-strong);
}

.blog-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.94), rgba(17, 24, 32, 0.68) 58%, rgba(17, 24, 32, 0.28)),
    url("./images/department-of-justice-public-domain.jpg") center 32% / cover no-repeat;
  filter: contrast(1.1) saturate(0.78);
  content: "";
}

.blog-hero-inner {
  display: grid;
  gap: 16px;
  max-width: 860px;
  margin-left: max(0px, calc((100% - 1180px) / 2));
}

.blog-hero h1 {
  color: var(--market-paper-strong);
  font-size: clamp(3rem, 6vw, 6.2rem);
}

.blog-hero .lead {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 250, 240, 0.82);
}

.blog-body-band {
  background: rgba(247, 242, 232, 0.94);
}

.blog-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(300px, 0.36fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.blog-body {
  display: grid;
  gap: 18px;
  min-width: 0;
  max-width: 760px;
}

.blog-body p {
  margin: 0;
  color: rgba(17, 24, 32, 0.78);
  font-size: 1.08rem;
}

.blog-body h2 {
  margin-top: 20px;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
}

.blog-aside {
  display: grid;
  gap: 14px;
  min-width: 0;
  position: sticky;
  top: 96px;
}

.blog-aside-image {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--market-rule-strong);
  background: var(--market-ink);
  box-shadow: 0 18px 42px rgba(17, 24, 32, 0.14);
}

.blog-aside-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 14%;
}

.blog-aside-image figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 4px;
  background: linear-gradient(0deg, rgba(17, 24, 32, 0.92), rgba(17, 24, 32, 0.12));
  color: #ffffff;
  padding: 42px 14px 12px;
}

.blog-aside-image figcaption span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-source-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--market-rule-strong);
  background: var(--market-paper-strong);
  padding: 18px;
}

.blog-studio-panel {
  display: grid;
  gap: 18px;
}

.blog-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.62fr);
  gap: 18px;
  align-items: start;
}

.blog-editor-form {
  align-items: end;
}

.editorial-textarea {
  min-height: 360px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  line-height: 1.55;
}

.blog-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.blog-preview-card {
  display: grid;
  gap: 12px;
  border-left: 4px solid var(--market-red);
  background: rgba(255, 250, 240, 0.76);
  padding: 18px;
}

.blog-preview-article {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.blog-preview-article h3 {
  margin: 0;
  color: var(--market-ink);
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.blog-preview-excerpt,
.blog-preview-body p,
.blog-card-body p {
  margin: 0;
  color: rgba(17, 24, 32, 0.76);
  line-height: 1.55;
}

.blog-preview-body {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(17, 24, 32, 0.14);
  padding-top: 12px;
}

.blog-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 0;
}

.blog-tag-row:empty {
  display: none;
}

.blog-tag-row span {
  border: 1px solid rgba(17, 24, 32, 0.16);
  background: #eef2f4;
  color: var(--market-ink);
  font-size: 0.76rem;
  font-weight: 850;
  padding: 4px 7px;
  text-transform: uppercase;
}

.blog-post-list {
  margin-top: 0;
}

.blog-post-row small {
  overflow-wrap: anywhere;
}

.blog-card-body {
  display: grid;
  gap: 8px;
}

.campaign-card {
  border-color: var(--market-rule-strong);
  border-radius: 0;
  box-shadow: 0 18px 42px rgba(17, 24, 32, 0.1);
}

.campaign-card:hover {
  box-shadow: 0 24px 58px rgba(17, 24, 32, 0.16);
  transform: translateY(-2px);
}

.card-topline {
  color: rgba(17, 24, 32, 0.66);
  font-weight: 900;
  text-transform: uppercase;
}

.pill,
.case-status {
  border-color: rgba(36, 86, 111, 0.34);
  background: #d9e5e6;
  color: #153b4f;
  border-radius: 2px;
}

.page-footer {
  border-top: 0;
  background: var(--market-ink);
  color: rgba(255, 250, 240, 0.72);
}

.featured-carousel-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(30px, 4vw, 54px) clamp(18px, 4vw, 52px) clamp(48px, 6vw, 82px);
  border-top: 0;
  background: #101821;
  color: var(--market-paper-strong);
}

.featured-carousel-band::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 24, 33, 0.97) 0%, rgba(16, 24, 33, 0.84) 42%, rgba(16, 24, 33, 0.48) 100%),
    linear-gradient(180deg, rgba(16, 24, 33, 0.22) 0%, rgba(247, 242, 232, 0.94) 100%),
    url("./images/department-of-justice-public-domain.jpg") center 36% / cover no-repeat;
  filter: grayscale(0.06) contrast(1.14) saturate(0.88);
  transform: scale(1.02);
  content: "";
}

.featured-carousel-band::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 210px;
  background:
    linear-gradient(180deg, rgba(247, 242, 232, 0), rgba(247, 242, 232, 0.96) 78%),
    repeating-linear-gradient(90deg, rgba(17, 24, 32, 0.05) 0 1px, transparent 1px 36px);
  pointer-events: none;
  content: "";
}

.carousel-heading {
  display: grid;
  grid-template-columns: minmax(320px, 0.62fr) minmax(280px, 0.38fr);
  align-items: end;
  gap: 8px clamp(28px, 6vw, 72px);
}

.carousel-heading .eyebrow {
  grid-column: 1 / -1;
  color: #d8dee1;
}

.carousel-heading h2 {
  color: var(--market-paper-strong);
  font-size: clamp(2.72rem, 4.2vw, 5rem);
  line-height: 0.95;
}

.carousel-heading p:not(.eyebrow) {
  color: rgba(255, 250, 240, 0.76);
  font-size: 1.03rem;
}

.carousel-case-card {
  display: grid;
  grid-template-columns: minmax(430px, 0.88fr) minmax(0, 1.12fr);
  min-height: clamp(590px, 66svh, 710px);
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.34);
  border-radius: 8px;
  background: #101821;
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.36);
}

.carousel-image-panel {
  position: relative;
  display: grid;
  isolation: isolate;
  min-height: 100%;
  padding: clamp(22px, 2.8vw, 38px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17, 24, 32, 0.1), rgba(17, 24, 32, 0.88)),
    linear-gradient(90deg, rgba(17, 24, 32, 0.16), rgba(17, 24, 32, 0.62)),
    url("./images/department-of-justice-public-domain.jpg") center 35% / cover no-repeat,
    var(--market-ink);
}

.carousel-image-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 44% 38%, rgba(255, 250, 240, 0.18), transparent 34%),
    repeating-linear-gradient(90deg, rgba(255, 250, 240, 0.08) 0 1px, transparent 1px 34px);
  pointer-events: none;
  content: "";
}

.carousel-case-media {
  z-index: 1;
  align-self: end;
  justify-self: center;
  width: min(76%, 410px);
  height: min(78%, 540px);
  min-height: 450px;
  border: 1px solid rgba(255, 250, 240, 0.46);
  border-radius: 8px;
  background: rgba(17, 24, 32, 0.64);
  box-shadow: 0 34px 82px rgba(0, 0, 0, 0.48);
  transform: rotate(-1deg);
}

.carousel-case-media img {
  width: 100%;
  height: 100%;
  filter: grayscale(0.03) contrast(1.06) saturate(0.96);
  object-fit: cover;
  object-position: center 7%;
}

.carousel-case-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
  border-left: 1px solid rgba(17, 24, 32, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.99), rgba(245, 238, 225, 0.99)),
    linear-gradient(90deg, rgba(168, 50, 59, 0.06), rgba(36, 86, 111, 0.08));
  padding: clamp(34px, 4.1vw, 62px);
}

.carousel-case-copy .card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.carousel-case-copy .card-topline span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-left: 3px solid var(--market-red);
  background: rgba(17, 24, 32, 0.06);
  color: rgba(17, 24, 32, 0.72);
  padding: 7px 10px;
}

.carousel-case-copy h2 {
  color: var(--market-ink);
  font-size: clamp(2.55rem, 3.7vw, 4.35rem);
  line-height: 0.98;
}

.carousel-case-copy .lead {
  max-width: 680px;
  color: rgba(17, 24, 32, 0.74);
  font-size: clamp(1.02rem, 1.25vw, 1.2rem);
  font-weight: 850;
  line-height: 1.42;
}

.donation-panel {
  gap: 16px;
  border: 1px solid rgba(17, 24, 32, 0.16);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.99), rgba(247, 242, 232, 0.99)),
    linear-gradient(90deg, rgba(168, 50, 59, 0.07), rgba(36, 86, 111, 0.08));
  padding: 20px;
  box-shadow: 0 14px 28px rgba(17, 24, 32, 0.08);
}

.donation-progress {
  height: 14px;
  border-radius: 999px;
  background: rgba(17, 24, 32, 0.1);
}

.donation-progress span {
  background: linear-gradient(90deg, var(--market-red-dark), var(--market-red) 58%, var(--market-blue));
}

@media (max-width: 980px) {
  body {
    background:
      linear-gradient(180deg, rgba(17, 24, 32, 0.96) 0 420px, rgba(223, 230, 232, 0) 420px),
      repeating-linear-gradient(90deg, rgba(17, 24, 32, 0.04) 0 1px, transparent 1px 32px),
      linear-gradient(135deg, #dfe6e8 0%, #f6f0e7 52%, #d7e3df 100%);
  }

  .home-title h1 {
    font-size: 3.62rem;
  }

  .carousel-heading {
    grid-template-columns: 1fr;
  }

  .carousel-case-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .carousel-image-panel,
  .carousel-case-media {
    min-height: 430px;
  }

  .carousel-case-media img {
    height: 100%;
    aspect-ratio: auto;
    object-position: center 8%;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    gap: 14px;
    min-height: 0;
    padding: 14px 18px 12px;
  }

  .brand {
    width: 100%;
  }

  .brand-mark {
    width: 50px;
    height: 38px;
  }

  .brand-word {
    font-size: 0.96rem;
  }

  .brand-subline {
    font-size: 0.6rem;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    border-top: 1px solid rgba(17, 24, 32, 0.14);
    padding-top: 8px;
  }

  .site-nav a {
    justify-content: center;
    min-height: 36px;
    padding: 9px 6px 8px;
    text-align: center;
    white-space: normal;
  }

  .home-hero {
    padding: 28px 18px 28px;
  }

  .home-title h1 {
    font-size: 2.46rem;
    line-height: 0.98;
  }

  .home-title .lead {
    font-size: 1.04rem;
  }

  .home-menu .button {
    width: 100%;
  }

  .featured-carousel-band {
    padding: 28px 18px 44px;
  }

  .carousel-heading h2 {
    font-size: 2.42rem;
  }

  .carousel-dots {
    grid-template-columns: 1fr;
  }

  .carousel-dots button {
    grid-template-columns: 82px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    min-height: 92px;
  }

  .selector-thumb {
    width: 82px;
    height: 72px;
  }

  .carousel-image-panel,
  .carousel-case-media {
    min-height: 360px;
  }

  .carousel-case-copy {
    border-left: 0;
    border-top: 1px solid var(--market-rule);
    padding: 24px;
  }

  .carousel-case-copy h2 {
    font-size: 2.14rem;
  }

  .case-screen-index {
    font-size: 2.4rem;
  }

  .campaign-ask-panel,
  .donation-panel-top,
  .donation-panel-bottom,
  .case-mini-ledger {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .case-tile-grid {
    grid-template-columns: 1fr;
  }

  .blog-preview-layout,
  .blog-feature-card,
  .blog-entry-card,
  .blog-body-grid,
  .blog-studio-grid {
    grid-template-columns: 1fr;
  }

  .blog-feature-image img,
  .blog-entry-image img {
    min-height: 220px;
  }

  .blog-aside {
    position: static;
  }
}

.featured-carousel-band {
  padding: clamp(20px, 3vw, 38px) clamp(18px, 4vw, 52px) clamp(44px, 5vw, 72px);
}

.featured-shell,
.splash-carousel {
  gap: 12px;
}

.carousel-dots {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.carousel-dots button {
  display: block;
  min-height: 78px;
  overflow: hidden;
  border-color: rgba(255, 250, 240, 0.28);
  border-radius: 4px;
  background: rgba(17, 24, 32, 0.38);
  padding: 0;
  box-shadow: none;
}

.selector-thumb {
  width: 100%;
  height: 78px;
  border: 0;
  border-radius: 0;
}

.selector-thumb img {
  object-position: center 12%;
}

.carousel-dots button:hover,
.carousel-dots button.active {
  border-color: var(--market-paper-strong);
  background: rgba(17, 24, 32, 0.72);
  box-shadow: inset 0 -4px 0 var(--market-red);
}

.carousel-case-media figcaption,
.case-tile-media figcaption {
  display: none;
}

.carousel-case-copy {
  gap: 20px;
}

.donation-panel-bottom {
  justify-content: flex-start;
}

@media (max-width: 680px) {
  .featured-carousel-band {
    padding: 18px 14px 36px;
  }

  .carousel-dots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .carousel-dots button {
    min-height: 58px;
  }

  .selector-thumb {
    height: 58px;
  }
}

/* Minimal front-page polish. */
:root {
  --bg: #eef2f4;
  --surface: #ffffff;
  --surface-soft: #f3f6f8;
  --market-paper: #f4f7f8;
  --market-paper-strong: #ffffff;
  --market-fog: #eef2f4;
  --market-ink: #101820;
  --market-ink-soft: #303a44;
  --market-blue: #24556a;
  --market-red: #9f2533;
  --market-red-dark: #711927;
  --market-rule: rgba(16, 24, 32, 0.12);
  --market-rule-strong: rgba(16, 24, 32, 0.22);
  --market-shadow: 0 18px 46px rgba(16, 24, 32, 0.12);
}

html {
  background: #eef2f4;
}

body {
  background: #eef2f4;
}

body::before {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.featured-carousel-band {
  padding-bottom: clamp(34px, 5vw, 64px);
  background:
    radial-gradient(circle at 82% 14%, rgba(159, 37, 51, 0.2), transparent 32%),
    linear-gradient(135deg, #0f1720 0%, #162331 54%, #1c303b 100%);
}

.featured-carousel-band::before {
  background:
    linear-gradient(90deg, rgba(15, 23, 32, 0.98) 0%, rgba(15, 23, 32, 0.88) 48%, rgba(15, 23, 32, 0.72) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 42px);
  filter: none;
  transform: none;
}

.featured-carousel-band::after {
  height: 140px;
  background: linear-gradient(180deg, rgba(244, 247, 248, 0), #eef2f4 82%);
}

.carousel-case-copy {
  border-left-color: rgba(16, 24, 32, 0.12);
  background: #ffffff;
}

.carousel-case-copy h2 {
  font-family: var(--sans);
  font-size: clamp(2.12rem, 3.25vw, 3.85rem);
  font-weight: 900;
  line-height: 1.02;
}

.carousel-case-copy .lead {
  color: #4a5560;
  font-size: 1rem;
}

.carousel-case-card {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
}

.carousel-image-panel {
  min-height: clamp(520px, 64svh, 720px);
  padding: 0;
  background: #0f1720;
}

.carousel-image-panel::before {
  display: none;
}

.carousel-image-panel::after {
  display: none;
}

.carousel-case-media {
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: #0f1720;
  box-shadow: none;
  transform: none;
}

.carousel-case-media img {
  object-position: center 8%;
}

.carousel-share-button {
  position: absolute;
  top: clamp(14px, 2vw, 22px);
  right: clamp(14px, 2vw, 22px);
  z-index: 4;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(16, 24, 32, 0.72);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.28);
  backdrop-filter: blur(10px);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.carousel-share-button svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.carousel-share-button:hover,
.carousel-share-button:focus-visible,
.carousel-share-button.is-copied {
  border-color: #ffffff;
  background: #ffffff;
  color: #101820;
  transform: translateY(-1px);
}

.donation-panel,
.funding-strip {
  border-color: rgba(16, 24, 32, 0.1);
  background: #f7f9fa;
  box-shadow: none;
}

.donation-progress span,
.funding-strip .progress-wrap span {
  background: #9f2533;
}

.case-index-band {
  padding-top: clamp(22px, 3.5vw, 42px);
  background: #eef2f4;
}

.case-index-header {
  margin: 0 0 clamp(16px, 2vw, 24px);
}

.case-index-header h1 {
  margin: 0;
  color: #101820;
  font-family: var(--sans);
  font-size: clamp(1.85rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.carousel-controls,
.carousel-dots {
  display: none;
}

.campaign-grid,
.case-tile-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: 0;
}

@media (max-width: 1180px) {
  .campaign-grid,
  .case-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .carousel-case-card {
    grid-template-columns: 1fr;
  }

  .carousel-image-panel {
    min-height: 430px;
  }
}

.case-tile {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 32, 0.11);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(16, 24, 32, 0.08);
}

.case-tile:hover {
  border-color: rgba(16, 24, 32, 0.2);
  box-shadow: 0 20px 44px rgba(16, 24, 32, 0.13);
  transform: translateY(-2px);
}

.case-tile-media {
  aspect-ratio: 16 / 11;
  border: 0;
  border-radius: 0;
}

.case-tile-media img {
  object-position: center 12%;
}

.case-tile-body {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  padding: 16px;
  background: #ffffff;
}

.case-tile-header {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.case-tile-number {
  width: fit-content;
  color: #66717b;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.case-tile h3 {
  margin: 0;
  color: #101820;
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 900;
  line-height: 1.16;
}

.case-tile h3 a {
  color: inherit;
  text-decoration: none;
}

.case-tile h3 a:hover {
  color: #711927;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.case-tile .funding-strip.compact {
  align-self: start;
  border-radius: 6px;
  padding: 11px;
}

.funding-strip .money-row {
  font-size: 0.76rem;
}

.funding-strip .money-row strong {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 900;
}

.funding-strip .progress-wrap {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #dfe6ea;
}

.timeline-strip {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.timeline-strip.compact {
  gap: 6px;
}

.timeline-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  color: #66717b;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.timeline-row strong {
  color: #101820;
  font-size: 0.82rem;
}

.timeline-row span {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.timeline-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe6ea;
}

.timeline-progress span {
  display: block;
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, #f0b429, #1d7898);
}

.funding-strip .timeline-strip {
  border-top: 1px solid rgba(16, 24, 32, 0.08);
  padding-top: 9px;
}

.donation-panel .timeline-strip {
  border-top: 1px solid rgba(17, 24, 32, 0.1);
  padding-top: 2px;
}

.case-card-actions {
  align-self: end;
  gap: 8px;
}

.case-card-actions .button,
.case-card-actions .record-link {
  min-height: 38px;
}

.case-card-actions .button {
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 0.78rem;
}

.case-card-actions .record-link {
  display: inline-flex;
  align-items: center;
  color: #303a44;
  font-size: 0.78rem;
  text-decoration-thickness: 1px;
}

@media (max-width: 680px) {
  .carousel-image-panel {
    min-height: 360px;
  }

  .case-index-band {
    padding: 18px 14px 34px;
  }

  .campaign-grid,
  .case-tile-grid {
    grid-template-columns: 1fr;
  }

  .case-tile-body {
    padding: 15px;
  }
}

/* Real civic photo background system. */
:root {
  --photo-doj: url("./images/department-of-justice-public-domain.jpg");
  --photo-wisconsin-aerial: url("./images/wisconsin-capitol-aerial-public-domain.jpg");
  --photo-wisconsin-exterior: url("./images/wisconsin-capitol-exterior-public-domain.jpg");
  --photo-wisconsin-staircase: url("./images/wisconsin-capitol-staircase-public-domain.jpg");
  --photo-texas-capitol: url("./images/texas-capitol-public-domain.jpg");
}

body {
  background: #eef2f4;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: none;
  content: "";
  pointer-events: none;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
}

.featured-carousel-band {
  background: #101820;
}

.featured-carousel-band::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  filter: none;
  opacity: 0.22;
  transform: none;
}

.featured-carousel-band::after {
  display: none;
}

.carousel-image-panel {
  background: #101820;
}

.carousel-case-media img,
.case-tile-media img {
  filter: none;
}

.carousel-case-media figcaption,
.case-tile-media figcaption {
  right: auto;
  bottom: 12px;
  left: 12px;
  width: calc(100% - 24px);
  max-width: 360px;
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(16, 24, 32, 0.72);
  padding: 9px 11px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.carousel-case-media figcaption strong,
.case-tile-media figcaption strong {
  font-size: 0.86rem;
}

.carousel-case-media figcaption a,
.carousel-case-media figcaption span,
.case-tile-media figcaption a,
.case-tile-media figcaption span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
}

.case-index-band,
.blog-index-band,
.blog-body-band {
  background: #eef2f4;
}

.content-band {
  background: #eef2f4;
}

.manager-shell {
  min-height: calc(100svh - 70px);
  background:
    linear-gradient(90deg, rgba(238, 242, 244, 0.95), rgba(238, 242, 244, 0.78)),
    linear-gradient(180deg, rgba(238, 242, 244, 0.76), rgba(238, 242, 244, 0.96)),
    var(--photo-texas-capitol) center 38% / cover no-repeat;
}

.blog-index-hero {
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.92), rgba(17, 24, 32, 0.56)),
    var(--photo-texas-capitol) center 36% / cover no-repeat;
}

.blog-hero::before {
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.95), rgba(17, 24, 32, 0.72) 58%, rgba(17, 24, 32, 0.34)),
    var(--photo-wisconsin-staircase) center 45% / cover no-repeat;
  filter: contrast(1.08) saturate(0.84);
}

.blog-preview-band {
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.92), rgba(17, 24, 32, 0.7)),
    var(--photo-wisconsin-staircase) center 44% / cover no-repeat;
}

.page-footer {
  display: grid;
  gap: 6px;
}

.footer-credit {
  color: rgba(255, 250, 240, 0.58);
  font-size: 0.78rem;
  line-height: 1.35;
}

@media (max-width: 680px) {
  body::before {
    background-position: center top;
  }

  .carousel-image-panel {
    background-position: center 42%;
  }
}

/* Matte civic background and elevation correction. */
:root {
  --bg: #e4e9ec;
  --surface: #ffffff;
  --surface-soft: #f2f5f6;
  --shadow: none;
  --shadow-soft: none;
  --shadow-lift: none;
  --market-shadow: none;
}

html {
  background: #dfe6ea;
}

body {
  background:
    linear-gradient(180deg, rgba(243, 247, 248, 0.9), rgba(228, 233, 236, 0.98) 56%, rgba(228, 233, 236, 1)),
    linear-gradient(90deg, rgba(228, 233, 236, 0.96) 0%, rgba(228, 233, 236, 0.88) 58%, rgba(228, 233, 236, 0.72) 100%),
    var(--photo-wisconsin-exterior) center 18% / cover fixed no-repeat;
}

body::before {
  display: none;
}

.site-header {
  border-bottom: 1px solid rgba(16, 24, 32, 0.14);
  background: rgba(248, 250, 250, 0.94);
  box-shadow: none;
}

.brand-mark,
.button.primary,
.carousel-case-card,
.carousel-case-media,
.carousel-share-button,
.case-tile,
.case-first-inner,
.campaign-card,
.blog-card,
.blog-card.featured,
.auth-surface,
.case-portrait,
.case-detail-photo,
.media-card {
  box-shadow: none;
}

.button:focus-visible,
.provider:focus-visible,
.tab-button:focus-visible,
.record-link:focus-visible,
.carousel-share-button:focus-visible {
  outline: 2px solid rgba(36, 85, 106, 0.8);
  outline-offset: 3px;
  box-shadow: none;
}

.featured-carousel-band {
  background:
    linear-gradient(90deg, rgba(10, 16, 23, 0.96) 0%, rgba(10, 16, 23, 0.9) 45%, rgba(10, 16, 23, 0.62) 100%),
    linear-gradient(180deg, rgba(10, 16, 23, 0.18), rgba(10, 16, 23, 0.82)),
    var(--photo-doj) center 34% / cover no-repeat;
  border-bottom: 1px solid rgba(16, 24, 32, 0.18);
}

.featured-carousel-band::before,
.featured-carousel-band::after,
.carousel-image-panel::before,
.carousel-image-panel::after {
  display: none;
}

.carousel-case-card {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(10, 16, 23, 0.82);
}

.carousel-image-panel {
  background:
    linear-gradient(90deg, rgba(10, 16, 23, 0.1), rgba(10, 16, 23, 0.28)),
    var(--photo-doj) center 34% / cover no-repeat;
}

.carousel-case-media {
  border-color: rgba(255, 255, 255, 0.34);
  background: #0f1720;
  transform: none;
}

.carousel-case-copy {
  border-left-color: rgba(16, 24, 32, 0.14);
  background: rgba(255, 255, 255, 0.97);
}

.carousel-share-button {
  background: rgba(10, 16, 23, 0.68);
}

.carousel-share-button:hover,
.carousel-share-button:focus-visible,
.carousel-share-button.is-copied {
  transform: none;
}

.carousel-case-media figcaption,
.case-tile-media figcaption {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(10, 16, 23, 0.76);
  box-shadow: none;
}

.content-band {
  background:
    linear-gradient(180deg, rgba(228, 233, 236, 0.92), rgba(228, 233, 236, 0.98)),
    var(--photo-wisconsin-exterior) center 28% / cover no-repeat;
}

.case-index-band {
  background:
    linear-gradient(180deg, rgba(228, 233, 236, 0.9), rgba(228, 233, 236, 0.98)),
    var(--photo-wisconsin-aerial) center 22% / cover no-repeat;
}

.case-tile {
  border-color: rgba(16, 24, 32, 0.14);
  background: #ffffff;
  transform: none;
}

.case-tile:hover {
  border-color: rgba(113, 25, 39, 0.46);
  background: #ffffff;
  box-shadow: none;
  transform: none;
}

.case-tile-body {
  background: rgba(255, 255, 255, 0.98);
}

.donation-panel,
.funding-strip {
  background: #f5f7f8;
}

@media (max-width: 680px) {
  body {
    background:
      linear-gradient(180deg, rgba(243, 247, 248, 0.94), rgba(228, 233, 236, 1)),
      var(--photo-wisconsin-exterior) center top / auto 360px no-repeat,
      #e4e9ec;
  }

  .featured-carousel-band {
    background:
      linear-gradient(180deg, rgba(10, 16, 23, 0.92), rgba(10, 16, 23, 0.78)),
      var(--photo-doj) center top / auto 520px no-repeat,
      #0a1017;
  }
}

/* Background composition refresh. */
:root {
  --bg: #e6ebe8;
  --surface-soft: #f4f6f4;
  --market-paper: #f5f2e8;
  --market-fog: #e6ebe8;
  --market-rule: rgba(12, 20, 28, 0.14);
  --market-rule-strong: rgba(12, 20, 28, 0.24);
}

html {
  background: #d9e2dd;
}

body {
  position: relative;
  background:
    linear-gradient(115deg, rgba(219, 228, 223, 0.94) 0%, rgba(247, 244, 235, 0.88) 46%, rgba(218, 230, 226, 0.96) 100%),
    repeating-linear-gradient(90deg, rgba(12, 20, 28, 0.035) 0 1px, transparent 1px 56px),
    #e2e9e5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  background:
    linear-gradient(90deg, rgba(226, 233, 229, 0.1) 0%, rgba(226, 233, 229, 0.72) 32%, rgba(246, 248, 245, 0.92) 64%, rgba(226, 233, 229, 0.8) 100%),
    linear-gradient(180deg, rgba(12, 20, 28, 0.62) 0 280px, rgba(12, 20, 28, 0) 620px),
    var(--photo-wisconsin-exterior) left 72px / min(64vw, 980px) auto no-repeat,
    var(--photo-texas-capitol) right bottom / min(44vw, 720px) auto no-repeat;
  content: "";
  opacity: 0.78;
  pointer-events: none;
}

.site-header,
main,
.page-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  z-index: 20;
  border-bottom-color: rgba(12, 20, 28, 0.18);
  background: rgba(247, 249, 247, 0.9);
  backdrop-filter: blur(20px) saturate(1.08);
}

.featured-carousel-band {
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(7, 13, 20, 0.98) 0%, rgba(7, 13, 20, 0.88) 44%, rgba(7, 13, 20, 0.38) 100%),
    linear-gradient(180deg, rgba(7, 13, 20, 0.1), rgba(7, 13, 20, 0.9)),
    var(--photo-doj) right 32% / min(72vw, 1120px) auto no-repeat,
    linear-gradient(135deg, #071019 0%, #15303d 66%, #47242b 100%);
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.featured-carousel-band::before {
  position: absolute;
  inset: clamp(18px, 3vw, 34px) clamp(18px, 4vw, 52px) auto auto;
  z-index: 0;
  display: block;
  width: min(38vw, 520px);
  height: min(62%, 520px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(7, 13, 20, 0.72), rgba(7, 13, 20, 0.18)),
    var(--photo-wisconsin-staircase) center 42% / cover no-repeat;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  content: "";
  opacity: 0.34;
  pointer-events: none;
}

.featured-carousel-band::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  display: block;
  height: 120px;
  background:
    linear-gradient(180deg, rgba(230, 235, 232, 0), #e6ebe8 86%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 44px);
  content: "";
  pointer-events: none;
}

.featured-shell {
  position: relative;
  z-index: 1;
}

.carousel-case-card {
  border-color: rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(90deg, rgba(7, 13, 20, 0.88), rgba(7, 13, 20, 0.72)),
    rgba(7, 13, 20, 0.82);
  outline: 1px solid rgba(255, 255, 255, 0.08);
  outline-offset: -8px;
}

.carousel-image-panel {
  background:
    linear-gradient(90deg, rgba(7, 13, 20, 0.12), rgba(7, 13, 20, 0.42)),
    var(--photo-doj) center 34% / cover no-repeat,
    #0f1720;
}

.carousel-case-media {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-case-media img,
.case-tile-media img {
  filter: contrast(1.04) saturate(1.03);
}

.carousel-case-copy {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 247, 0.96)),
    repeating-linear-gradient(90deg, rgba(12, 20, 28, 0.035) 0 1px, transparent 1px 34px);
}

.donation-panel,
.funding-strip {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 246, 244, 0.9)),
    rgba(255, 255, 255, 0.86);
}

.content-band,
.case-index-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
}

.case-index-band::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(235, 241, 238, 0.94) 0%, rgba(235, 241, 238, 0.76) 48%, rgba(230, 235, 232, 0.98) 100%),
    linear-gradient(90deg, rgba(247, 249, 247, 0.96) 0%, rgba(247, 249, 247, 0.72) 50%, rgba(247, 249, 247, 0.88) 100%),
    var(--photo-wisconsin-aerial) center 24% / cover no-repeat;
  content: "";
}

.case-index-band::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(113, 25, 39, 0.22) 0 6px, transparent 6px calc(100% - 6px), rgba(36, 85, 106, 0.18) calc(100% - 6px) 100%),
    repeating-linear-gradient(90deg, rgba(12, 20, 28, 0.055) 0 1px, transparent 1px 72px);
  content: "";
  opacity: 0.72;
  pointer-events: none;
}

.case-index-header {
  display: flex;
  align-items: end;
  min-height: 86px;
  border-left: 6px solid #9f2533;
  padding-left: clamp(14px, 2vw, 22px);
}

.case-index-header h1 {
  letter-spacing: 0;
}

.case-tile {
  border-color: rgba(12, 20, 28, 0.16);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px) saturate(1.08);
}

.case-tile:hover {
  border-color: rgba(113, 25, 39, 0.5);
  background: rgba(255, 255, 255, 0.96);
}

.case-tile-body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 248, 0.96)),
    repeating-linear-gradient(90deg, rgba(12, 20, 28, 0.028) 0 1px, transparent 1px 28px);
}

.case-tile-media {
  background: #111923;
}

.page-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(9, 15, 22, 0.94), rgba(9, 15, 22, 0.82)),
    var(--photo-wisconsin-staircase) center 52% / cover no-repeat;
}

@media (max-width: 980px) {
  body::before {
    background:
      linear-gradient(180deg, rgba(226, 233, 229, 0.38) 0%, rgba(226, 233, 229, 0.9) 360px, rgba(226, 233, 229, 0.98) 100%),
      var(--photo-wisconsin-exterior) center 72px / auto 440px no-repeat;
    opacity: 0.66;
  }

  .featured-carousel-band::before {
    width: min(58vw, 420px);
    height: 360px;
    opacity: 0.22;
  }
}

@media (max-width: 680px) {
  body {
    background:
      linear-gradient(180deg, rgba(226, 233, 229, 0.96), rgba(246, 244, 237, 0.98) 46%, rgba(226, 233, 229, 1)),
      #e2e9e5;
  }

  body::before {
    background:
      linear-gradient(180deg, rgba(226, 233, 229, 0.38), rgba(226, 233, 229, 0.94) 320px),
      var(--photo-wisconsin-exterior) center 62px / auto 340px no-repeat;
    opacity: 0.52;
  }

  .featured-carousel-band {
    background:
      linear-gradient(180deg, rgba(7, 13, 20, 0.96) 0%, rgba(7, 13, 20, 0.84) 62%, rgba(7, 13, 20, 0.68) 100%),
      var(--photo-doj) center top / auto 500px no-repeat,
      #071019;
  }

  .featured-carousel-band::before {
    display: none;
  }

  .case-index-header {
    min-height: 64px;
  }
}

/* Progressive dispatch reader: public blog. */
.blog-dispatch-hero {
  min-height: 310px;
  display: flex;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 13, 20, 0.96) 0%, rgba(7, 13, 20, 0.78) 50%, rgba(7, 13, 20, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 13, 20, 0.08), rgba(7, 13, 20, 0.72)),
    var(--photo-doj) right 28% / min(82%, 1120px) auto no-repeat,
    #071019;
}

.blog-dispatch-hero .lead {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: 1.04rem;
  line-height: 1.5;
}

.blog-dispatch-hero h1 {
  color: #fffdf8;
  font-family: var(--sans);
  font-size: 4.25rem;
  font-weight: 950;
  line-height: 0.94;
}

.blog-reader-band {
  overflow: visible;
  padding-top: 34px;
  padding-bottom: 52px;
  background:
    linear-gradient(180deg, rgba(251, 250, 246, 0.98), rgba(241, 242, 239, 0.96)),
    repeating-linear-gradient(90deg, rgba(12, 20, 28, 0.018) 0 1px, transparent 1px 96px);
}

.blog-reader-layout {
  display: block;
  max-width: 1040px;
}

.blog-dispatch-list {
  display: grid;
  gap: 0;
  min-width: 0;
  border-top: 1px solid rgba(12, 20, 28, 0.14);
}

.blog-dispatch {
  min-width: 0;
  border: 0;
  border-bottom: 1px solid rgba(12, 20, 28, 0.14);
  border-radius: 0;
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink);
  overflow: hidden;
  scroll-margin-top: 96px;
}

.blog-dispatch[open] {
  background: rgba(255, 253, 248, 0.96);
}

.blog-dispatch summary {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  min-width: 0;
  padding: 16px 0;
  list-style: none;
  cursor: pointer;
}

.blog-dispatch summary::-webkit-details-marker {
  display: none;
}

.blog-dispatch summary:focus-visible {
  outline: 3px solid rgba(177, 40, 58, 0.48);
  outline-offset: -3px;
}

.blog-dispatch summary:hover .blog-dispatch-action {
  color: var(--red-dark);
}

.blog-dispatch summary:hover .blog-dispatch-title {
  color: var(--red-dark);
}

.blog-dispatch-media {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(12, 20, 28, 0.16);
  border-radius: 4px;
  background: #10151b;
  overflow: hidden;
  text-decoration: none;
}

.blog-dispatch-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: contrast(1.03) saturate(1.02);
  transition: transform 180ms ease, filter 180ms ease;
}

.blog-dispatch-media:hover img {
  filter: contrast(1.06) saturate(1.04);
  transform: scale(1.025);
}

.blog-dispatch-summary {
  display: grid;
  grid-template-rows: auto auto auto auto auto;
  align-content: start;
  gap: 7px;
  min-width: 0;
  min-height: 0;
  padding: 1px 0 0;
}

.blog-dispatch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: rgba(17, 24, 32, 0.58);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.blog-dispatch-meta span {
  width: fit-content;
}

.blog-dispatch-meta span:not(:last-child)::after {
  margin-left: 8px;
  color: rgba(177, 40, 58, 0.78);
  content: "/";
}

.blog-dispatch-title {
  display: -webkit-box;
  max-width: none;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: normal;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 160ms ease;
}

.blog-dispatch-title:hover {
  color: var(--red-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.blog-dispatch-deck {
  display: -webkit-box;
  max-width: 74ch;
  overflow: hidden;
  color: rgba(17, 24, 32, 0.76);
  font-size: 0.96rem;
  line-height: 1.43;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-dispatch-peek {
  display: block;
  max-width: 72ch;
  color: rgba(17, 24, 32, 0.62);
  font-family: var(--display);
  font-size: 0.98rem;
  line-height: 1.5;
}

.blog-dispatch-peek-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.blog-dispatch[open] .blog-dispatch-peek {
  display: none;
}

.blog-dispatch-footer {
  display: block;
  margin-top: 2px;
  padding: 0;
  border: 0;
}

.blog-dispatch-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-bottom: 1px solid rgba(101, 20, 33, 0.34);
  border-radius: 0;
  background: transparent;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  padding: 0 0 2px;
  text-transform: none;
  transition: border-color 160ms ease, color 160ms ease;
}

.blog-dispatch-action-label-open {
  display: none;
}

.blog-dispatch[open] .blog-dispatch-action {
  border-color: rgba(17, 24, 32, 0.28);
  color: rgba(17, 24, 32, 0.62);
}

.blog-dispatch[open] .blog-dispatch-action-label-closed {
  display: none;
}

.blog-dispatch[open] .blog-dispatch-action-label-open {
  display: inline;
}

.blog-dispatch-action-icon {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 160ms ease;
}

.blog-dispatch[open] .blog-dispatch-action-icon {
  transform: rotate(-135deg) translateY(1px);
}

.blog-dispatch-body {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-left: 154px;
  padding: 0 0 28px;
  border-top: 0;
}

.blog-dispatch-body p,
.blog-dispatch-body h2,
.blog-dispatch-body h3 {
  max-width: 720px;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.blog-dispatch-body p {
  margin: 0;
  color: rgba(17, 24, 32, 0.78);
  font-size: 1.02rem;
  line-height: 1.68;
}

.blog-dispatch-body h2,
.blog-dispatch-body h3 {
  margin: 8px 0 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.15;
}

.article-page .blog-body {
  gap: 19px;
}

.article-page .blog-body h2 {
  font-family: var(--sans);
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
  font-weight: 950;
  line-height: 1.08;
}

.article-aside-image img {
  object-position: 50% 50%;
}

.related-articles {
  gap: 10px;
}

.related-article-link {
  display: grid;
  gap: 4px;
  border-top: 1px solid rgba(17, 24, 32, 0.13);
  color: var(--market-ink);
  padding-top: 12px;
  text-decoration: none;
}

.related-article-link:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.related-article-link span {
  font-weight: 900;
  line-height: 1.15;
}

.related-article-link small {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(17, 24, 32, 0.62);
  font-size: 0.82rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-article-link:hover span {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-comments {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  border-top: 1px solid rgba(17, 24, 32, 0.16);
  padding-top: 22px;
}

.article-comments-inline {
  max-width: 720px;
  margin-top: 8px;
  padding-top: 18px;
}

.comment-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.comment-head h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.22rem;
  font-weight: 950;
}

.comment-head > span {
  color: rgba(17, 24, 32, 0.58);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.comment-list {
  display: grid;
  gap: 10px;
}

.comment-card {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(17, 24, 32, 0.13);
  background: rgba(255, 253, 248, 0.74);
  padding: 13px 14px;
}

.comment-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.comment-card header strong {
  font-size: 0.92rem;
  font-weight: 900;
}

.comment-card header span {
  color: rgba(17, 24, 32, 0.56);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.comment-card p,
.comment-empty,
.comment-signin p {
  margin: 0;
  color: rgba(17, 24, 32, 0.72);
  font-size: 0.94rem;
  line-height: 1.5;
}

.comment-form,
.comment-login-form {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.comment-form textarea,
.comment-login-form input {
  width: 100%;
  margin-top: 7px;
}

.comment-form textarea {
  resize: vertical;
}

.comment-signin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(17, 24, 32, 0.13);
  background: rgba(255, 253, 248, 0.64);
  padding: 14px;
}

.comment-signin strong {
  display: block;
  margin-bottom: 3px;
}

.article-loading,
.article-missing {
  min-height: 48vh;
}

.article-missing h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
}

@media (max-width: 920px) {
  .blog-dispatch-hero {
    min-height: 290px;
  }

  .blog-dispatch-hero h1 {
    font-size: 3.65rem;
  }

  .blog-dispatch summary {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 20px;
  }

  .blog-dispatch-title {
    font-size: 1.28rem;
  }

  .blog-dispatch-body {
    max-width: none;
    margin-left: 152px;
  }
}

@media (max-width: 680px) {
  .blog-reader-band {
    padding-top: 24px;
    padding-bottom: 38px;
  }

  .blog-dispatch-hero {
    min-height: 260px;
    background:
      linear-gradient(180deg, rgba(7, 13, 20, 0.96) 0%, rgba(7, 13, 20, 0.78) 60%, rgba(7, 13, 20, 0.5) 100%),
      var(--photo-doj) center top / auto 360px no-repeat,
      #071019;
  }

  .blog-dispatch-hero h1 {
    font-size: 3rem;
  }

  .blog-dispatch-hero .lead {
    font-size: 0.98rem;
  }

  .blog-dispatch summary {
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 0;
  }

  .blog-dispatch-media {
    aspect-ratio: 1 / 1;
  }

  .blog-dispatch-summary {
    gap: 6px;
  }

  .blog-dispatch-title {
    max-width: none;
    font-size: 1.12rem;
    -webkit-line-clamp: 3;
  }

  .blog-dispatch-deck {
    font-size: 0.9rem;
    line-height: 1.38;
  }

  .blog-dispatch-peek {
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .blog-dispatch-peek-text {
    -webkit-line-clamp: 1;
  }

  .blog-dispatch-action {
    font-size: 0.74rem;
  }

  .blog-dispatch-body {
    max-width: none;
    margin-left: 0;
    padding: 0 0 22px;
  }

  .blog-dispatch-body p {
    font-size: 0.98rem;
  }

  .comment-head,
  .comment-card header,
  .comment-signin {
    align-items: start;
    flex-direction: column;
  }

  .comment-signin .button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .blog-dispatch summary {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }
}

/* Final editorial polish: civic photo plates without lifted shadows. */
body::before {
  background:
    linear-gradient(90deg, rgba(226, 233, 229, 0.12) 0%, rgba(226, 233, 229, 0.68) 34%, rgba(246, 248, 245, 0.92) 66%, rgba(226, 233, 229, 0.74) 100%),
    linear-gradient(180deg, rgba(12, 20, 28, 0.58) 0 260px, rgba(12, 20, 28, 0) 610px),
    var(--photo-wisconsin-exterior) left 72px / min(58vw, 920px) auto no-repeat,
    var(--photo-texas-capitol) right 18% / min(40vw, 680px) auto no-repeat;
  filter: contrast(1.04) saturate(0.98);
  opacity: 0.74;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(159, 37, 51, 0.12) 0 5px, transparent 5px calc(100% - 5px), rgba(36, 85, 106, 0.1) calc(100% - 5px) 100%),
    repeating-linear-gradient(90deg, rgba(12, 20, 28, 0.035) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, rgba(12, 20, 28, 0.026) 0 1px, transparent 1px 84px);
  content: "";
  pointer-events: none;
}

.site-header {
  z-index: 20;
}

main,
.page-footer {
  z-index: 1;
}

.campaign-card,
.campaign-card:hover,
.case-tile,
.case-tile:hover,
.blog-feature-card,
.blog-preview-item,
.blog-preview-item:hover,
.blog-entry-card,
.blog-aside-image,
.blog-dispatch,
.manager-panel,
.auth-surface,
.blog-preview-card,
.compact-row,
.share-panel,
.donation-panel,
.funding-strip {
  box-shadow: none;
}

.case-tile,
.case-tile:hover {
  background: #ffffff;
  backdrop-filter: none;
}

.campaign-card:hover,
.blog-preview-item:hover {
  transform: none;
}

.blog-reader-band {
  background:
    linear-gradient(180deg, rgba(248, 247, 242, 0.98), rgba(236, 239, 241, 0.94)),
    repeating-linear-gradient(90deg, rgba(12, 20, 28, 0.035) 0 1px, transparent 1px 80px);
}

@media (max-width: 680px) {
  body::before {
    background:
      linear-gradient(180deg, rgba(226, 233, 229, 0.34), rgba(226, 233, 229, 0.94) 320px),
      var(--photo-wisconsin-exterior) center 62px / auto 330px no-repeat;
    opacity: 0.52;
  }

  body::after {
    opacity: 0.5;
  }

  .blog-reader-band {
    background:
      linear-gradient(180deg, rgba(248, 247, 242, 0.98), rgba(236, 239, 241, 0.94));
  }
}

/* Member profile and donations flow. */
.site-nav a.nav-donations {
  border: 1px solid rgba(113, 25, 39, 0.32);
  border-radius: 999px;
  background: rgba(159, 37, 51, 0.08);
  color: #711927;
  padding-inline: 12px;
}

.site-nav a.nav-donations:hover,
.site-nav a.nav-donations.active {
  border-color: #711927;
  background: #711927;
  color: #ffffff;
}

.site-nav a.nav-donations::after {
  display: none;
}

.session-badge-row,
.auth-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.auth-action-row .button {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 0.78rem;
}

.checkbox-label {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  color: #303a44;
  font-weight: 760;
  line-height: 1.38;
}

.checkbox-label input {
  width: auto;
  margin-top: 3px;
}

.account-donation-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 8px;
  background: #f5f7f8;
  padding: 12px;
}

.account-donation-status div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.account-donation-status strong {
  color: #101820;
  line-height: 1.2;
}

.account-donation-status span {
  color: #66717b;
  font-size: 0.84rem;
  line-height: 1.32;
}

.account-donation-status .button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 9px 12px;
  font-size: 0.78rem;
}

.account-shell {
  min-height: calc(100svh - 70px);
}

.account-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(36px, 6vw, 78px) clamp(18px, 4vw, 52px);
  background:
    linear-gradient(90deg, rgba(7, 13, 20, 0.96) 0%, rgba(7, 13, 20, 0.78) 54%, rgba(7, 13, 20, 0.34) 100%),
    var(--photo-wisconsin-staircase) center 42% / cover no-repeat,
    #071019;
  color: #fffdf8;
}

.donations-hero {
  background:
    linear-gradient(90deg, rgba(7, 13, 20, 0.96) 0%, rgba(7, 13, 20, 0.76) 48%, rgba(7, 13, 20, 0.28) 100%),
    var(--photo-doj) center 34% / cover no-repeat,
    #071019;
}

.account-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(22px, 5vw, 60px);
  align-items: center;
}

.account-hero h1,
.account-hero .lead {
  color: #fffdf8;
}

.account-hero h1 {
  font-family: var(--sans);
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 950;
  line-height: 0.95;
}

.account-hero .lead {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255, 253, 248, 0.8);
}

.account-auth-card {
  border-color: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
}

.account-content-band {
  padding-top: clamp(26px, 4vw, 48px);
  background:
    linear-gradient(180deg, rgba(248, 247, 242, 0.98), rgba(236, 239, 241, 0.94)),
    repeating-linear-gradient(90deg, rgba(12, 20, 28, 0.035) 0 1px, transparent 1px 80px);
}

.account-layout {
  display: grid;
  gap: 18px;
}

.account-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.account-panel,
.account-empty,
.donation-row,
.donations-toolbar {
  border: 1px solid rgba(16, 24, 32, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: clamp(18px, 3vw, 28px);
}

.account-panel {
  display: grid;
  align-content: start;
  gap: 16px;
}

.profile-card,
.donation-summary-card {
  min-height: 100%;
}

.payment-profile-card {
  border-left: 5px solid #24556a;
}

.donation-summary-card {
  border-left: 5px solid #9f2533;
}

.account-panel h2,
.account-empty h2,
.donation-row h2 {
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 950;
  line-height: 1;
}

.account-definition-list {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(16, 24, 32, 0.12);
}

.account-definition-list div {
  display: grid;
  grid-template-columns: minmax(130px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid rgba(16, 24, 32, 0.12);
  padding: 12px 0;
}

.account-definition-list dt {
  color: #66717b;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.account-definition-list dd {
  min-width: 0;
  margin: 0;
  color: #101820;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.provider-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.provider-pill-grid span {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(16, 24, 32, 0.14);
  border-radius: 8px;
  background: #f5f7f8;
  color: #66717b;
  padding: 12px;
}

.provider-pill-grid span.connected {
  border-color: rgba(38, 116, 77, 0.32);
  background: #edf7f2;
  color: #174d35;
}

.provider-pill-grid strong {
  color: #101820;
}

.donations-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, auto);
  gap: 18px;
  align-items: center;
}

.donations-owner {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.donations-owner span {
  color: #66717b;
  overflow-wrap: anywhere;
}

.donations-owner .button {
  width: fit-content;
  margin-top: 8px;
}

.donation-ledger {
  display: grid;
  gap: 12px;
}

.donation-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, auto);
  gap: 18px;
  align-items: center;
}

.donation-row-main {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.donation-row h2 {
  color: #711927;
  font-size: clamp(2rem, 3vw, 3rem);
}

.donation-row h3 {
  color: #101820;
  font-size: 1.18rem;
  line-height: 1.22;
}

.donation-row p {
  margin: 0;
}

.donation-row-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.account-empty {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

@media (max-width: 980px) {
  .account-hero-inner,
  .account-main-grid,
  .donations-toolbar,
  .donation-row {
    grid-template-columns: 1fr;
  }

  .donation-row-actions {
    justify-items: start;
  }
}

@media (max-width: 680px) {
  .site-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav a.nav-donations {
    grid-column: span 2;
  }

  .account-hero {
    padding: 28px 18px;
  }

  .account-donation-status {
    align-items: stretch;
    flex-direction: column;
  }

  .account-donation-status .button,
  .donations-owner .button,
  .donation-row-actions .button,
  .donation-row-actions .record-link {
    width: 100%;
    justify-content: center;
  }

  .account-definition-list div,
  .provider-pill-grid {
    grid-template-columns: 1fr;
  }

  .account-content-band {
    padding-inline: 14px;
  }
}
