:root {
  --bg: #0b0d12;
  --bg-alt: #0f1218;
  --panel: #141821;
  --panel-2: #1b212c;
  --line: #263040;
  --text: #eef1f5;
  --muted: #9aa4b2;
  --faint: #6b7585;
  --red: #ef6b6b;
  --amber: #f2b544;
  --green: #3fcf8e;
  --blue: #5b9cff;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin-top: 0; }
h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 12px; }
h4 { font-size: 15px; font-weight: 650; margin: 0 0 6px; }
p { color: var(--muted); }

.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 13, 18, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 800; letter-spacing: 0.1em; font-size: 12px; }
.brand span { color: var(--amber); }
nav { display: none; position: absolute; top: 58px; right: 0; z-index: 80; flex-direction: column; gap: 0; min-width: 220px; padding: 8px; font-size: 13px; color: var(--muted); background: rgba(12,15,22,.98); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.3); }
nav.open { display: flex; }
nav a { transition: color .15s; }
nav a:hover { color: var(--text); }
.menu { display: block; background: none; border: 0; color: var(--text); font-size: 22px; cursor: pointer; }
.site-header .nav { position: relative; }
.site-header nav a { padding: 11px 14px; border-radius: 8px; }
.site-header nav a:hover { background: var(--panel-2); color: var(--text); }

/* HERO */
.hero { padding: 110px 0 100px; border-bottom: 1px solid var(--line); }
.eyebrow, .section-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--amber);
}
h1 {
  font-size: clamp(40px, 6.5vw, 76px);
  line-height: 1.02; letter-spacing: -0.05em;
  margin: 22px 0 20px; font-weight: 750;
}
h1 em, h2 span { font-style: normal; color: var(--faint); }
.lead { color: var(--muted); font-size: 15px; }
.hero-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 60px; flex-wrap: wrap; }
.hero-copy { font-size: 19px; max-width: 440px; line-height: 1.45; color: var(--text); }
.program-warning { max-width: 760px; margin: 22px 0 30px; padding: 14px 18px; border-left: 3px solid var(--amber); border-radius: 0 10px 10px 0; background: rgba(242,181,68,.09); color: var(--muted); }
.program-warning strong { display: block; margin-bottom: 5px; color: var(--amber); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.program-warning p { margin: 0; font-size: 13px; line-height: 1.55; }
.program-warning em { color: var(--text); }
.hero-score { display: flex; align-items: flex-end; gap: 16px; }
.hero-score strong { font-size: 84px; letter-spacing: -0.07em; color: var(--red); line-height: 0.85; font-weight: 750; }
.hero-score span { font-size: 13px; color: var(--muted); line-height: 1.3; padding-bottom: 4px; }
.button {
  display: inline-flex; gap: 14px; align-items: center;
  margin-top: 40px; padding: 14px 20px; border-radius: 10px;
  background: var(--panel-2); border: 1px solid var(--line);
  font-weight: 650; font-size: 14px; transition: border-color .15s;
}
.button:hover { border-color: var(--muted); }

/* SECTIONS */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); }
h2 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04; letter-spacing: -0.05em;
  margin: 18px 0 48px; font-weight: 700;
}
.intro { margin-bottom: 28px; font-size: 13px; }
.muted { color: var(--muted); font-size: 14px; }
.note { font-size: 12px; color: var(--faint); margin: 14px 0 0; line-height: 1.55; }
.source { font-size: 12px; color: var(--faint); margin-top: 28px; }

/* CARDS & STATS */
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
}
.card-title { font-size: 15px; font-weight: 650; color: var(--text); margin-bottom: 22px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat {
  background: var(--panel); border: 1px solid var(--line);
  border-top: 3px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.stat small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.stat strong { display: block; font-size: 48px; letter-spacing: -0.06em; line-height: 1; font-weight: 700; }
.stat em { display: block; font-style: normal; font-size: 12px; color: var(--faint); margin-top: 10px; }
.stat-red { border-top-color: var(--red); }
.stat-red strong { color: var(--red); }
.stat-amber { border-top-color: var(--amber); }
.stat-amber strong { color: var(--amber); }
.stat-green { border-top-color: var(--green); }
.stat-green strong { color: var(--green); }

/* BALANCE */
.balance-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.block-grid {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; margin-bottom: 26px;
}
.block-grid i { display: block; aspect-ratio: 1; border-radius: 7px; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 13px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend b { margin-left: auto; color: var(--text); font-weight: 600; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.red, .red-bg { background: var(--red); }
.dot.amber { background: var(--amber); }
.dot.green { background: var(--green); }
.block-grid i.red { background: var(--red); }
.block-grid i.amber { background: var(--amber); }

.donut-card { display: grid; place-items: center; text-align: center; }
.donut {
  width: 220px; height: 220px; border-radius: 50%;
  background: conic-gradient(var(--red) 0 100%);
  display: grid; place-items: center;
}
.donut-inner {
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--panel); display: grid; place-items: center; align-content: center;
}
.donut-inner strong { display: block; font-size: 48px; letter-spacing: -0.05em; line-height: 1; }
.donut-inner small { color: var(--muted); font-size: 13px; }
.ring-caption { font-size: 13px; color: var(--muted); margin: 22px 0 0; }
.ring-caption b { color: var(--green); font-size: 18px; }

/* MATRIX */
.matrix { display: grid; gap: 12px; }
.matrix details {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.matrix summary {
  list-style: none; cursor: pointer; padding: 20px 26px;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 650; font-size: 16px;
}
.matrix summary::-webkit-details-marker { display: none; }
.matrix summary::after {
  content: "+"; margin-left: 16px; color: var(--muted); font-size: 20px; font-weight: 400;
}
.matrix details[open] summary::after { content: "−"; }
.matrix summary em { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 500; margin-left: auto; margin-right: 16px; }
.matrix summary:hover { background: var(--panel-2); }
.items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.item {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 16px; align-items: start;
  padding: 22px 26px; border-bottom: 1px solid var(--line);
}
.item:last-child { border-bottom: 0; }
.item p { font-size: 14px; margin-bottom: 8px; }
.item small { font-size: 12px; color: var(--faint); }
.item .icon {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; margin-top: 1px;
}
.item.red .icon { background: rgba(239, 107, 107, 0.14); color: var(--red); }
.item.amber .icon { background: rgba(242, 181, 68, 0.14); color: var(--amber); }
.item.green .icon { background: rgba(63, 207, 142, 0.14); color: var(--green); }
.item .tag { white-space: nowrap; }
.group-note { padding: 0 26px 22px; margin: 0; font-size: 14px; border-top: 1px solid var(--line); padding-top: 18px; }

/* TAGS & PILLS & BADGES */
.tag, .pill, .badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 10px; border-radius: 999px; white-space: nowrap;
}
.tag { color: var(--muted); background: var(--panel-2); border: 1px solid var(--line); }
.item.red .tag { color: var(--red); border-color: rgba(239,107,107,.35); }
.item.amber .tag { color: var(--amber); border-color: rgba(242,181,68,.35); }
.pill { margin: 0 6px 6px 0; border: 1px solid transparent; font-size: 12px; }
.pill-red { color: var(--red); background: rgba(239,107,107,.12); border-color: rgba(239,107,107,.3); }
.pill-amber { color: var(--amber); background: rgba(242,181,68,.12); border-color: rgba(242,181,68,.3); }
.pill-green { color: var(--green); background: rgba(63,207,142,.12); border-color: rgba(63,207,142,.3); }
.badge { margin-bottom: 18px; }
.badge-red { color: var(--red); background: rgba(239,107,107,.12); }
.badge-amber { color: var(--amber); background: rgba(242,181,68,.12); }

/* TAX */
.tax-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tax-grid .card { display: flex; flex-direction: column; }
.compare { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 6px; }
.compare div { display: grid; gap: 6px; }
.compare small { color: var(--muted); font-size: 12px; }
.compare strong { font-size: 26px; letter-spacing: -0.03em; }
.arrow { font-size: 26px; color: var(--faint); }
.big-change { color: var(--red); font-size: 44px; font-weight: 750; letter-spacing: -0.05em; margin: 14px 0 22px; }

.bar-chart {
  display: grid; grid-template-columns: 44px 1fr; gap: 12px;
  height: 230px; margin: 8px 0 6px;
}
.y-axis {
  display: flex; flex-direction: column; justify-content: space-between;
  font-size: 11px; color: var(--faint); text-align: right; padding-bottom: 28px;
}
.bars {
  display: flex; align-items: flex-end; justify-content: space-around;
  border-bottom: 1px solid var(--line);
}
.bar-col {
  height: 100%; width: 40%; max-width: 110px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px;
}
.bar-col b { font-size: 12px; font-weight: 650; color: var(--text); }
.bar-col i {
  display: block; width: 100%; height: var(--h);
  background: var(--amber); border-radius: 6px 6px 0 0; transition: height .4s ease;
}
.bar-col i.bar-red { background: var(--red); }
.bar-col small { font-size: 11px; color: var(--muted); white-space: nowrap; }

.mini-title { font-size: 13px; color: var(--text); margin: 24px 0 12px; font-weight: 650; }
.bonus { list-style: none; padding: 0; margin: 0; }
.bonus li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.bonus li b { color: var(--text); font-weight: 650; }

.wide { margin-top: 16px; }
.wide h3 { margin-bottom: 8px; }
.wide-head { display: block; }

.sub-title { font-size: 18px; margin: 56px 0 18px; letter-spacing: -0.02em; }

/* TABLES */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); font-weight: 700; background: var(--panel-2); }
td { color: var(--muted); }
td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

/* TRANSPARENCY */
.trans-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 16px; }
.progress-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.progress-head strong { font-size: 60px; letter-spacing: -0.06em; color: var(--green); line-height: 0.9; font-weight: 700; }
.progress-head span { color: var(--muted); font-size: 13px; }
.cells {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(16px, 1fr)); gap: 5px; margin-bottom: 22px;
}
.cells i { display: block; aspect-ratio: 1; border-radius: 4px; background: var(--red); opacity: .85; }
.cells i.ok { background: var(--green); opacity: 1; }
.trans-side { display: grid; }
.stat-big { display: flex; flex-direction: column; justify-content: center; }
.stat-big strong { color: var(--text); font-size: 64px; }

.municipal-web-review { margin-bottom: 16px; border-top: 3px solid #4f8cff; }
.municipal-web-review p { max-width: 980px; }
.municipal-web-review h4 { margin: 30px 0 12px; font-size: 18px; }
.review-kicker { color: #6ea1ff; font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.municipal-web-stat { display: grid; grid-template-columns: auto auto 1fr auto; gap: 10px 18px; align-items: baseline; margin: 24px 0; padding: 20px 22px; border: 1px solid rgba(79,140,255,.45); border-radius: 14px; background: linear-gradient(100deg, rgba(79,140,255,.13), rgba(79,140,255,.03)); }
.municipal-web-stat strong { grid-column: 1 / -1; color: #9fbeff; font-size: 11px; letter-spacing: .1em; }
.municipal-web-stat b { color: #6ea1ff; font-size: 42px; letter-spacing: -.05em; line-height: 1; }
.municipal-web-stat span { color: var(--muted); font-size: 14px; }
.municipal-web-stat a { font-size: 12px; white-space: nowrap; }

.decl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 6px; }
.decl { border-radius: 12px; padding: 18px; border: 1px solid var(--line); background: var(--panel-2); }
.decl small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.decl strong { display: block; font-size: 18px; margin-bottom: 6px; }
.decl span { font-size: 12px; color: var(--faint); }
.decl.ok { border-top: 3px solid var(--green); }
.decl.ok strong { color: var(--green); }
.decl.no { border-top: 3px solid var(--red); }
.decl.no strong { color: var(--red); }

/* EXTRA PROPOSALS */
.extra-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.extra {
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--amber);
  border-radius: var(--radius); padding: 26px;
}
.extra .tag { margin-bottom: 16px; color: var(--amber); border-color: rgba(242,181,68,.35); }
.extra.red { border-left-color: var(--red); }
.extra.red .tag { color: var(--red); border-color: rgba(239,107,107,.35); }
.extra h3 { font-size: 17px; margin-bottom: 8px; }
.extra p { font-size: 14px; margin: 0; }

/* TIMELINE */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 123px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 28px; padding: 0 0 26px; position: relative; }
.timeline time { font-size: 13px; color: var(--faint); padding-top: 2px; font-variant-numeric: tabular-nums; }
.timeline li > div { position: relative; padding-left: 26px; }
.timeline li > div::before {
  content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--bg-alt);
}
.timeline li.t-red > div::before { background: var(--red); }
.timeline li.t-amber > div::before { background: var(--amber); }
.timeline h3 { font-size: 16px; margin-bottom: 4px; }
.timeline p { font-size: 14px; margin: 0; }

/* METHOD */
.criteria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.criterion { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.criterion .tag { margin-bottom: 14px; }
.criterion p { font-size: 14px; margin: 0; }
.criterion.green .tag { color: var(--green); border-color: rgba(63,207,142,.35); }
.criterion.amber .tag { color: var(--amber); border-color: rgba(242,181,68,.35); }
.criterion.red .tag { color: var(--red); border-color: rgba(239,107,107,.35); }
.method-callout { max-width: 920px; margin: 30px auto 28px; padding: 26px 30px; border: 1px solid rgba(62,169,255,.34); border-left: 4px solid var(--blue); border-radius: 16px; background: linear-gradient(135deg, rgba(62,169,255,.09), rgba(18,23,34,.72)); box-shadow: 0 16px 34px rgba(0,0,0,.12); }
.method-callout-label { margin-bottom: 12px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.method-callout p { max-width: 78ch; margin: 0 0 12px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.method-callout p:last-child { margin-bottom: 0; }
.method-callout strong { color: var(--text); font-weight: 750; }
.method-callout-final { padding-top: 14px; border-top: 1px solid var(--line); }
.hidden-breach { background: linear-gradient(180deg, rgba(239,107,107,.09), transparent 45%); }
.hidden-breach-head { display: flex; justify-content: space-between; gap: 28px; align-items: end; padding: 22px 0 30px; }
.hidden-breach-head h2 { margin: 12px 0 0; }
.hidden-breach-head h2 span { color: var(--red); }
.hidden-breach-number { display: flex; align-items: baseline; gap: 12px; color: var(--muted); text-align: right; }
.hidden-breach-number strong { color: var(--red); font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -.05em; line-height: 1; white-space: nowrap; }
.hidden-breach-number span { font-size: 13px; line-height: 1.2; }
.hidden-breach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hidden-breach-card { min-height: 220px; padding: 28px; border: 1px solid rgba(239,107,107,.28); border-radius: 16px; background: var(--panel); }
.hidden-breach-card--dark { background: #17141b; border-color: rgba(239,107,107,.5); }
.hidden-breach-card small { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hidden-breach-card blockquote { margin: 24px 0 12px; color: var(--text); font-size: clamp(20px, 2.3vw, 28px); line-height: 1.25; }
.hidden-breach-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.hidden-breach-compare { display: flex; align-items: center; gap: 18px; margin: 36px 0 22px; font-size: clamp(26px, 3.5vw, 46px); font-weight: 750; letter-spacing: -.05em; }
.hidden-breach-compare span { color: var(--faint); font-size: 24px; }
.red-text { color: var(--red); }
.hidden-breach-note { margin-top: 18px; padding: 18px 22px; border-left: 3px solid var(--red); border-radius: 0 12px 12px 0; background: rgba(239,107,107,.09); color: var(--muted); line-height: 1.65; }
.hidden-breach-note strong { color: var(--text); }
.hidden-breach-evidence { margin: 24px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.hidden-breach-evidence img { display: block; width: 100%; max-height: 430px; object-fit: cover; object-position: center; }
.hidden-breach-evidence figcaption { padding: 12px 16px 14px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.sports-breach { background: linear-gradient(180deg, rgba(242,181,68,.08), transparent 42%); }
.sports-breach h2 span { color: var(--amber); }
.sports-alert { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; margin: 28px 0; padding: 26px 30px; border: 1px solid rgba(239,107,107,.45); border-left: 4px solid var(--red); border-radius: 16px; background: var(--panel); }
.sports-alert-number { color: var(--red); font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.05em; white-space: nowrap; }
.sports-alert strong { color: var(--text); font-size: 19px; }
.sports-alert p { margin: 7px 0 0; color: var(--muted); line-height: 1.65; }
.sports-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.sports-card h3 { margin: 16px 0 10px; }
.sports-card .source { margin-top: 20px; }
.sports-investment { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; margin-top: 16px; padding: 28px; border: 1px solid rgba(63,207,142,.28); border-radius: 16px; background: rgba(63,207,142,.06); }
.sports-investment h3 { margin: 15px 0 8px; }
.sports-investment p, .sports-questions { color: var(--muted); line-height: 1.65; }
.sports-questions { padding-left: 20px; border-left: 1px solid var(--line); }
.sports-questions strong { color: var(--text); }
.sports-questions ul { margin: 12px 0 0; padding-left: 18px; }
.sports-conclusion { margin-top: 18px; padding: 18px 22px; border-left: 3px solid var(--amber); border-radius: 0 12px 12px 0; background: rgba(242,181,68,.09); color: var(--muted); line-height: 1.65; }
.sports-conclusion strong { color: var(--text); }
.sports-reviews { margin-top: 18px; padding: 22px 26px; border: 1px solid rgba(242,181,68,.32); border-radius: 16px; background: rgba(242,181,68,.06); }
.sports-reviews-title { margin-bottom: 12px; color: var(--amber); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sports-reviews ul { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.7; }
.sports-reviews li { padding-left: 4px; }
.sports-reviews strong { color: var(--text); }
.sports-reviews .source { margin: 16px 0 0; }
.sources { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.sources li { padding: 14px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.sources b { color: var(--text); font-weight: 650; }

.site-footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--bg-alt); }
.site-footer p { font-size: 12px; color: var(--faint); margin: 0 0 6px; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* VISUAL LAYER */
.visual-intro { padding: 28px 0 0; background: var(--bg); }
.visual-intro-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 22px; align-items: stretch; }
.visual-photo { margin: 0; position: relative; overflow: hidden; border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line); background: var(--panel); min-height: 150px; }
.visual-photo img { width: 100%; height: 100%; min-height: 150px; display: block; object-fit: cover; filter: saturate(.82) contrast(1.04); transition: transform .5s ease, filter .5s ease; }
.visual-photo:hover img { transform: scale(1.04); filter: saturate(1) contrast(1.04); }
.visual-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 46%, rgba(5,8,13,.72)); pointer-events: none; }
.visual-photo figcaption { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; color: #fff; font-size: 12px; letter-spacing: .02em; }
.visual-photo-main { min-height: 360px; }
.visual-photo-main img { min-height: 360px; }
.visual-copy { padding: 22px 4px 0 8px; }
.visual-copy h2 { font-size: clamp(28px, 3vw, 44px); margin: 12px 0 14px; max-width: 520px; }
.visual-copy h2 span { color: var(--blue); }
.visual-copy > p { max-width: 540px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.visual-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.visual-mini-grid .visual-photo { min-height: 150px; }

body::before { content: ""; position: fixed; top: 0; left: 0; width: var(--scroll-progress, 0%); height: 3px; z-index: 100; background: linear-gradient(90deg, var(--red), var(--amber), var(--blue)); }
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(62,169,255,.18), transparent 35%), linear-gradient(110deg, transparent 45%, rgba(239,107,107,.08)); pointer-events: none; }
.hero > .container { position: relative; }
.card, .stat, .criterion, .extra { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card:hover, .criterion:hover, .extra:hover { transform: translateY(-3px); border-color: rgba(62,169,255,.38); box-shadow: 0 18px 40px rgba(0,0,0,.14); }
@media (max-width: 800px) { .visual-intro-grid { grid-template-columns: 1fr; } .visual-copy { padding-left: 0; } .visual-photo-main, .visual-photo-main img { min-height: 260px; } }
@media (max-width: 800px) { .hidden-breach-head { display: block; } .hidden-breach-number { margin-top: 24px; text-align: left; } .hidden-breach-grid { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .sports-alert, .sports-grid, .sports-investment { grid-template-columns: 1fr; } .sports-alert { padding: 22px; } .sports-questions { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); } }
@media (prefers-reduced-motion: reduce) { .visual-photo img, .card, .criterion, .extra { transition: none; } }

/* CITA IBI */
.source-link { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.text-strong { color: var(--text); font-weight: 650; }
.small-label { font-size: 12px; margin: 14px 0 8px; }
.quote {
  margin: 0 0 10px; padding: 14px 18px; border-left: 3px solid var(--red);
  background: var(--panel-2); border-radius: 0 10px 10px 0;
  color: var(--text); font-size: 14px; line-height: 1.55;
}

/* DESCARGO */
.disclaimer { border-left: 3px solid var(--line); }
.disclaimer p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.disclaimer p:last-child { margin-bottom: 0; }
.disclaimer-final { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text) !important; font-size: clamp(22px, 4vw, 42px) !important; line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; text-align: center; }

/* GASTO */
.cm-card { margin-top: 16px; }
.pending { color: var(--faint); font-style: italic; }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
.gasto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gasto-grid .card { display: flex; flex-direction: column; }
.badge-green { color: var(--green); background: rgba(63,207,142,.12); }
.big-stat { margin: 18px 0 16px; }
.big-stat strong { display: block; font-size: 38px; letter-spacing: -0.05em; color: var(--text); line-height: 1.1; margin-bottom: 6px; }
.big-stat span { font-size: 13px; color: var(--muted); }
.hbar-list { display: grid; gap: 4px; }
.hbar-list .hbar-row { grid-template-columns: 1fr 110px 130px; margin-bottom: 8px; font-size: 13px; }
.hbar-list .hbar-val { white-space: nowrap; }
.hbar-list .hbar-track { background: var(--panel-2); }
.hbar-list .hbar-track i { background: var(--amber); }
.hbar-list .hbar-val { font-size: 13px; }

/* PARO */
.paro-table td.num, .paro-table th:nth-child(n+3) { text-align: right; font-variant-numeric: tabular-nums; }
.paro-table td:first-child { color: var(--faint); font-weight: 600; }
.paro-table td:nth-child(2) { color: var(--text); font-weight: 600; white-space: normal; }
.paro-val { display: inline-block; min-width: 64px; color: var(--text); margin-right: 14px; }
.paro-track { display: inline-block; vertical-align: middle; width: 140px; height: 8px; background: var(--panel-2); border-radius: 999px; overflow: hidden; }
.paro-track i { display: block; height: 100%; width: var(--w); background: var(--muted); border-radius: 999px; }
.paro-table tr:first-child td:nth-child(3) .paro-track i { background: var(--red); }
.paro-table tr.is-smv td { background: rgba(239, 107, 107, 0.09); }
.paro-table tr.is-smv td:nth-child(2) { color: var(--red); }
.paro-table tr.is-smv td:first-child { color: var(--red); }
.paro-table tr.is-smv .paro-val { color: var(--red); font-weight: 700; }

/* AUDIT */
.item.green .tag { color: var(--green); border-color: rgba(63,207,142,.35); }
.audit-summary { margin-bottom: 24px; }
.stat-row--3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 28px; }
.hbar-row { display: grid; grid-template-columns: 240px 1fr 80px; gap: 16px; align-items: center; font-size: 14px; margin-bottom: 14px; }
.hbar-label { color: var(--text); font-weight: 600; }
.hbar-track { height: 12px; background: var(--panel-2); border-radius: 999px; overflow: hidden; }
.hbar-track i { display: block; height: 100%; background: var(--red); border-radius: 999px; }
.hbar-val { text-align: right; color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .decl-grid { grid-template-columns: repeat(2, 1fr); }
  .criteria { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .hero { padding: 72px 0; }
  .hero-grid, .balance-layout, .tax-grid, .trans-grid, .extra-grid { grid-template-columns: 1fr; display: grid; }
  .hero-score { margin-top: 20px; }
  .hero-score strong { font-size: 64px; }
  .section { padding: 72px 0; }
  h2 { margin-bottom: 32px; }
  .item { grid-template-columns: 28px 1fr; }
  .item .tag { grid-column: 2; justify-self: start; }
  .block-grid { grid-template-columns: repeat(6, 1fr); }
  .container { width: min(100% - 32px, 1120px); }
  .municipal-web-stat { grid-template-columns: 1fr; gap: 8px; }
  .municipal-web-stat strong, .municipal-web-stat b { grid-column: auto; }
}
@media (max-width: 520px) {
  .stat-row, .stat-row--3, .decl-grid, .gasto-grid { grid-template-columns: 1fr; }
  .hbar-list .hbar-row { grid-template-columns: 1fr; }
  .hbar-row { grid-template-columns: 1fr; gap: 6px; }
  .timeline::before { left: 21px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 22px; }
  .timeline time { padding-top: 0; }
  .timeline li > div { padding-left: 14px; }
  .timeline li > div::before { left: -17px; }
  .bar-chart { height: 200px; }
  .method-callout { padding: 22px 20px; margin-top: 24px; }
}
