:root {
  --navy: #0f2f5f;
  --blue: #1f5ea8;
  --chi-blue: #41b6e6;
  --chi-red: #d22630;
  --green: #17a673;
  --teal: #0b8f8a;
  --amber: #c78308;
  --crimson: #b33244;
  --ink: #102132;
  --muted: #5e6b78;
  --line: #d9e3ee;
  --bg: #f5f8fc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(10, 25, 47, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

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

.brand {
  text-decoration: none;
  color: var(--navy);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 96px;
  height: auto;
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-top {
  font-size: 11px;
  letter-spacing: 1.1px;
  font-weight: 700;
}

.brand-bottom {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.hero-identity {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(6, 18, 40, 0.18);
}

.hero-identity img {
  width: 88px;
  height: auto;
  display: block;
}

.hero-identity span,
.hero-identity strong {
  display: block;
  color: var(--white);
}

.hero-identity span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.hero-identity strong {
  font-size: 15px;
  letter-spacing: 0.2px;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.header-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.header-nav a:hover { color: var(--green); }

.hero {
  background-image:
    linear-gradient(135deg, rgba(15, 47, 95, 0.62) 0%, rgba(30, 90, 168, 0.52) 100%),
    url('../assets/images/chicago-skyline-front.png');
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.flag-band {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--chi-red);
  font-size: 16px;
  background:
    linear-gradient(to bottom,
      transparent 0,
      transparent 8px,
      rgba(65, 182, 230, 0.92) 8px,
      rgba(65, 182, 230, 0.92) 12px,
      transparent 12px,
      transparent 30px,
      rgba(65, 182, 230, 0.92) 30px,
      rgba(65, 182, 230, 0.92) 34px,
      transparent 34px,
      transparent 100%);
}

.flag-star {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.95;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
}

.hero h1,
.hero .kicker {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
}

.hero-sub {
  font-size: 18px;
  max-width: 700px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.skyline-accent {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(15, 47, 95, 0.52), rgba(15, 47, 95, 0));
  opacity: 1;
  pointer-events: none;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(8, 26, 53, 0.18);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.notice-card {
  background: rgba(11, 33, 66, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  padding: 18px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.notice-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--white);
}

.notice-card ul {
  margin: 0 0 10px 16px;
  padding: 0;
}

.notice-card li { margin-bottom: 6px; }

.stamp {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
}

.city-story-section {
  background:
    linear-gradient(180deg, #f7fbff 0%, #eef5fd 100%),
    url('../assets/skyline-chicago.svg');
  background-size: cover, cover;
  background-position: center, center bottom;
}

.city-story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
}

.story-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 200px;
  border: 1px solid #d6e2f0;
  box-shadow: var(--shadow);
}

.story-card-large {
  grid-row: span 2;
  min-height: 412px;
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(8, 24, 46, 0.78), rgba(8, 24, 46, 0.08));
}

.story-caption h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 17px;
}

.story-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
}

.section {
  padding: 52px 0;
  background: linear-gradient(180deg, #f5f8fd 0%, #eef4fb 100%);
}

.section-alt {
  background: linear-gradient(180deg, #eef4fb 0%, #f9fbff 100%);
}

.section > .container {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(15, 47, 95, 0.08);
  padding: clamp(22px, 3vw, 34px);
}

.section-alt > .container {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.section-head {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dce7f4;
}

.section-head h2 {
  position: relative;
  margin: 0 0 12px;
  padding-left: 16px;
  color: var(--navy);
  font-size: clamp(26px, 3.3vw, 38px);
  font-weight: 800;
}

.section-head h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 5px;
  height: 1.1em;
  border-radius: 999px;
  background: linear-gradient(180deg, #41b6e6, #1f5ea8);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 900px;
  font-size: 16px;
  line-height: 1.6;
}

.quick-path-card,
.action-card,
.focus-card,
.kpi-card,
.method-card,
.ward-card,
.agency-card,
.policy-card,
.asset-card,
.playbook-card,
.benchmark-card,
.roadmap-card,
.fiscal-card,
.story-card,
.pipeline-card,
.engage-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quick-path-card:hover,
.action-card:hover,
.focus-card:hover,
.kpi-card:hover,
.method-card:hover,
.ward-card:hover,
.agency-card:hover,
.policy-card:hover,
.asset-card:hover,
.playbook-card:hover,
.benchmark-card:hover,
.roadmap-card:hover,
.fiscal-card:hover,
.story-card:hover,
.pipeline-card:hover,
.engage-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(15, 47, 95, 0.12);
  border-color: #cddceb;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.kpi-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  background: var(--white);
  border-top: 4px solid #d9e3ee;
}

.kpi-card:nth-child(1) { border-top-color: var(--blue); }
.kpi-card:nth-child(2) { border-top-color: var(--green); }
.kpi-card:nth-child(3) { border-top-color: var(--crimson); }
.kpi-card:nth-child(4) { border-top-color: var(--teal); }
.kpi-card:nth-child(5) { border-top-color: var(--amber); }
.kpi-card:nth-child(6) { border-top-color: #6b5ce7; }

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

.method-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow);
  padding: 14px;
}

.method-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.method-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #124f95;
  background: #e7f2ff;
  border: 1px solid #c9ddf7;
  margin-bottom: 8px;
}

.formula {
  margin: 0 0 8px;
  font-size: 12px;
  color: #244567;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: #f1f6fd;
  border: 1px solid #d6e2f2;
  border-radius: 8px;
  padding: 8px;
}

.method-meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

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

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

.quick-path-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}

.quick-path-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.quick-path-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.action-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 14px;
}

.action-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.action-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.action-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.chip-critical {
  background: #fdecef;
  color: #9a1f35;
}

.chip-watch {
  background: #fff5de;
  color: #955f04;
}

.chip-progress {
  background: #e7f7ef;
  color: #136f4b;
}

.chip-growth {
  background: #e6f2fe;
  color: #1a4b8d;
}

.btn-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  padding: 9px 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-action:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn-danger {
  background: #fbe8ec;
  color: #8c1f32;
  border-color: #f2c3cd;
}

.btn-warning {
  background: #fff5df;
  color: #8a5a04;
  border-color: #f0d9a7;
}

.btn-success {
  background: #e6f7ef;
  color: #0f6947;
  border-color: #bbe7cf;
}

.btn-info {
  background: #e6f3ff;
  color: #1d4f92;
  border-color: #b8d5f7;
}

.kpi-card .label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.kpi-card .value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
}

.kpi-card .meta {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

select, input {
  border: 1px solid #bfcddd;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 14px;
}

.ward-count {
  color: var(--muted);
  margin: 0 0 12px;
}

.ward-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.ward-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
  padding: 14px;
}

.ward-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.ward-title {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
}

.score-pill {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: #e7f7ef;
  color: #126e4a;
}

.score-pill.high {
  background: #dff6ea;
  color: #0e6643;
}

.score-pill.mid {
  background: #fff3dd;
  color: #825204;
}

.score-pill.low {
  background: #fde7eb;
  color: #90223a;
}

.ward-focus {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

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

.mini-stat {
  border: 1px solid #e5edf6;
  border-radius: 9px;
  padding: 8px;
  background: #fbfdff;
}

.mini-stat .k {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.mini-stat .v {
  display: block;
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
}

.mini-stat-wide {
  grid-column: 1 / -1;
}

.mini-stat-wide .v {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.ward-card button {
  margin-top: 10px;
  width: 100%;
  background: linear-gradient(135deg, #0f2f5f, #1f5ea8);
  color: var(--white);
  border: none;
  border-radius: 9px;
  padding: 8px 10px;
  font-weight: 700;
  cursor: pointer;
}

.ward-card button:hover {
  filter: brightness(1.05);
}

.agency-grid,
.policy-grid,
.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.agency-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.agency-data-mode {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.agency-data-updated {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--muted);
}

.agency-summary-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 12px;
}

.agency-summary-card .label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.agency-summary-card .value {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
}

.agency-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.agency-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
}

.agency-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.agency-health {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.agency-health.on-track {
  background: #e8f8ef;
  color: #0f6f49;
}

.agency-health.watch {
  background: #fff3dd;
  color: #8a5b05;
}

.agency-health.at-risk {
  background: #fde9ed;
  color: #92253d;
}

.agency-score-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  margin: 8px 0 10px;
}

.agency-score-wrap {
  height: 8px;
  border-radius: 999px;
  background: #e8eef7;
  overflow: hidden;
}

.agency-score-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f5ea8, #17a673);
}

.agency-score-value {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
}

.agency-subline {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.agency-kpi-list {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

.agency-kpi-row {
  border: 1px solid #e2ebf6;
  border-radius: 9px;
  padding: 8px;
  background: #fbfdff;
}

.agency-kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.agency-kpi-name {
  font-size: 12px;
  font-weight: 700;
  color: #183a62;
}

.agency-kpi-target {
  font-size: 11px;
  color: var(--muted);
}

.agency-kpi-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}

.agency-links-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.agency-links-row a {
  font-size: 12px;
}

.agency-card,
.policy-card,
.benchmark-card,
.asset-card,
.pipeline-card,
.playbook-card,
.roadmap-card,
.fiscal-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow);
  padding: 14px;
}

.asset-links-grid,
.pipeline-grid,
.playbook-grid,
.roadmap-grid,
.agency-grid,
.policy-grid,
.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.pipeline-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.pipeline-stage {
  margin: 0 0 6px;
  font-size: 11px;
  color: var(--chi-red);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 800;
}

.pipeline-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.pipeline-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.agency-card h3,
.policy-card h3,
.benchmark-card h3,
.asset-card h3,
.pipeline-card h3,
.playbook-card h3,
.roadmap-card h3,
.fiscal-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
}
.asset-card h3 {
  font-size: 17px;
}
.asset-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}
.asset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agency-meta,
.policy-card p,
.benchmark-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.ward-validation-note {
  margin: 0 0 12px;
  font-size: 12px;
  color: #7b5206;
  background: #fff4dc;
  border: 1px solid #f1dbab;
  border-radius: 8px;
  padding: 6px 8px;
}

.metric-list {
  margin: 10px 0 0;
  padding-left: 16px;
}

.metric-list li {
  margin-bottom: 6px;
  font-size: 13px;
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: auto;
  background: var(--white);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.fiscal-signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.fiscal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.fiscal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
  padding: 14px;
  border-top: 4px solid var(--chi-blue);
}

.fiscal-card .label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fiscal-card .value {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
}

.fiscal-card .meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.fiscal-table-wrap {
  margin-top: 6px;
}

.fiscal-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.fiscal-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}

.fiscal-panel h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 18px;
}

.panel-sub {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.allocation-list {
  display: grid;
  gap: 8px;
}

.allocation-row {
  border: 1px solid #e1eaf5;
  border-radius: 9px;
  background: #fbfdff;
  padding: 8px;
}

.allocation-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 5px;
}

.allocation-name {
  font-size: 12px;
  font-weight: 700;
  color: #153c67;
}

.allocation-share {
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
}

.allocation-bar-wrap {
  height: 8px;
  border-radius: 999px;
  background: #e7eef8;
  overflow: hidden;
}

.allocation-bar {
  height: 100%;
  background: linear-gradient(90deg, #1f5ea8, #17a673);
}

.allocation-meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.compact-table-wrap table {
  min-width: 0;
}

.burden-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.burden-high {
  background: #fde8ed;
  color: #90253b;
}

.burden-watch {
  background: #fff3dd;
  color: #8a5b05;
}

.burden-stable {
  background: #e8f8ef;
  color: #0f6f49;
}

.fiscal-findings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.finding-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 14px;
}

.finding-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--navy);
}

.finding-card ul {
  margin: 0;
  padding-left: 16px;
}

.finding-card li {
  margin-bottom: 6px;
  color: #27415f;
  font-size: 13px;
}

.finding-works { border-top: 4px solid #17a673; }
.finding-risk { border-top: 4px solid #d22630; }
.finding-invest { border-top: 4px solid #1f5ea8; }

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

.playbook-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 14px;
}

.playbook-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.playbook-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.playbook-card p:last-child {
  margin-bottom: 0;
}

/* Chicago at a Glance - Focus Cards */
.chicago-focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.focus-card {
  border: 1px solid #d9e3ee;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 47, 95, 0.06);
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  transition: all 0.25s ease;
}

.focus-card:hover {
  box-shadow: 0 12px 32px rgba(15, 47, 95, 0.12);
  transform: translateY(-4px);
  border-color: #41b6e6;
}

.focus-icon {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}

.focus-card h3 {
  margin: 0 0 12px;
  color: #0f2f5f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.focus-metric {
  margin: 8px 0 4px;
  color: #5e6b78;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}

.focus-value {
  margin: 0 0 8px;
  color: #1f5ea8;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.focus-meta {
  margin: 0 0 14px;
  color: #5e6b78;
  font-size: 13px;
  line-height: 1.5;
}

.focus-link {
  display: inline-block;
  color: #1f5ea8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.focus-link:hover {
  color: #41b6e6;
}

/* Table Formatting */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 100%;
  font-size: 14px;
}

thead {
  background: linear-gradient(180deg, #0f2f5f 0%, #1f3d5c 100%);
  border: 2px solid #0f2f5f;
  position: sticky;
  top: 0;
  z-index: 10;
}

th {
  text-align: left;
  padding: 16px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

th:last-child {
  border-right: none;
}

td {
  text-align: left;
  padding: 14px 14px;
  border-bottom: 1px solid #e5edf6;
  font-size: 14px;
  line-height: 1.6;
  background: #ffffff;
}

tbody tr {
  transition: all 0.15s ease;
}

tbody tr:hover {
  background: linear-gradient(90deg, #f0f5ff, #ffffff);
  box-shadow: inset 0 0 0 1px #d9e3ee, inset -40px 0 20px -30px rgba(65, 182, 230, 0.08);
}

tbody tr:nth-child(even) {
  background: #f9fbfe;
}

tbody tr:nth-child(even):hover {
  background: linear-gradient(90deg, #eef4fb, #f9fbfe);
}

tbody tr:first-child td {
  border-top: 2px solid #d9e3ee;
}

tbody tr:last-child td {
  border-bottom: 2px solid #d9e3ee;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-on-track {
  background: #d4edda;
  color: #0b5d2b;
  border: 1px solid #a8dcc9;
}

.status-at-risk {
  background: #fff3cd;
  color: #8a5802;
  border: 1px solid #ffc107;
}

.status-planning {
  background: #d1ecf1;
  color: #0a5278;
  border: 1px solid #b8e0e6;
}

.status-accelerating {
  background: #e2d7f0;
  color: #5a2d82;
  border: 1px solid #c9a4d4;
}

.benchmark-bar-wrap {
  margin-top: 10px;
  background: #e7edf6;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.benchmark-bar {
  height: 100%;
  background: linear-gradient(90deg, #1f5ea8, #17a673);
}

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

.roadmap-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow);
  padding: 14px;
}

.roadmap-phase {
  margin: 0 0 6px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 11px;
}

.roadmap-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.roadmap-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.engage-panel {
  border-radius: 14px;
  padding: 20px;
  background: linear-gradient(135deg, #0f2f5f, #184d86 60%, #17886d);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(9, 24, 48, 0.28);
}

.engage-panel h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(24px, 3vw, 34px);
}

.engage-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.engage-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.site-footer {
  padding: 26px 0 44px;
  background: #0d2343;
  color: #d7e6fa;
}

.footer-row p { margin: 0 0 6px; }
.footnote { font-size: 12px; opacity: 0.85; }

.ward-modal {
  width: min(860px, 96vw);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
}

.ward-modal::backdrop {
  background: rgba(5, 16, 33, 0.72);
}

.close-btn {
  margin-left: auto;
  margin-right: 10px;
  margin-top: 8px;
  display: block;
  background: #f2f6fb;
  border: 1px solid #c3d2e3;
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.modal-content {
  padding: 0 18px 18px;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .flag-band {
    font-size: 14px;
    gap: 12px;
  }
  .city-story-grid {
    grid-template-columns: 1fr 1fr;
  }
  .story-card-large {
    grid-column: span 2;
    min-height: 280px;
  }
  .fiscal-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .header-row { align-items: flex-start; flex-direction: column; }
  .header-nav { gap: 8px; }
  .city-story-grid {
    grid-template-columns: 1fr;
  }
  .story-card-large {
    grid-column: auto;
    min-height: 220px;
  }
}
