﻿/* Delaware Spending platform — newsroom theme, ported from
   delawarespending.com: navy (#0A1830 family) + gold (#F5C518),
   Newsreader serif headlines, IBM Plex Sans body, IBM Plex Mono data. */

:root {
  --navy-950: #071120;
  --navy-900: #0A1830;
  --navy-800: #0E2350;
  --navy-700: #14315F;
  --ink: #0B1B3B;
  --body-text: #45506A;
  --muted: #5A6478;
  --faint: #97A0B2;

  --gold: #F5C518;
  --gold-bright: #FFD84A;
  --gold-deep: #C99A1E;

  --bg: #F0F2F6;
  --surface: #ffffff;
  --surface-2: #F5F6F9;
  --border: #E7EAF0;
  --hairline: #F1F3F6;

  --row-alt: #F6F8FB;
  --green: #2E9E5B;
  --red: #C6503C;
  --amber: #C99A1E;
  --accent: #14315F;
  --accent-soft: #EDF1F8;
  --gold-soft: #FCF3D3;
  --green-soft: #E4F3EA;
  --mark: #FCEEB5;

  --text: var(--ink);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
  --brand: "Playfair Display", Georgia, serif;

  --header-bg: rgba(23, 24, 28, 0.96);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 27, 59, 0.04);
  --shadow-pop: 0 22px 50px -28px rgba(11, 27, 59, 0.4);
}
/* single light theme — the header and hero band are navy by design */

* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); background: var(--bg);
  color: var(--text); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--gold); color: #0B1B3B; }
mark { background: var(--mark); color: inherit; border-radius: 3px; padding: 0 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; text-wrap: balance; font-family: var(--serif); }
h1 { font-size: 2rem; font-weight: 700; letter-spacing: -.015em; }
h2 { font-size: 1.35rem; font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- header (dark newsroom band) ---------- */
.site-header {
  background: var(--header-bg); border-bottom: 1px solid rgba(255,255,255,.08);
  position: sticky; top: 0; z-index: 40; color: #fff;
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}
.site-header .inner {
  display: flex; align-items: center; gap: 22px;
  max-width: 1280px; margin: 0 auto; padding: 12px 24px;
}
.logo {
  font-family: var(--brand); font-weight: 800; font-size: 1.25rem;
  color: #fff; white-space: nowrap; text-transform: uppercase;
  letter-spacing: .01em; display: inline-flex; align-items: center; gap: 9px;
}
.logo:hover { text-decoration: none; color: #fff; }
.logo span { font-style: italic; text-transform: none; font-weight: 600; color: var(--gold); }
.logo-mark { height: 1.9rem; width: auto; display: block; }
.logo-full { height: 3.4rem; width: auto; display: block; }
.site-header .logo-full { margin-top: -8px; }
.logo-full-foot { height: 3.8rem; }
.header-search { flex: 1; max-width: 520px; position: relative; }
.header-search .search-input {
  padding: 8px 14px; font-size: .92rem; background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16); color: #fff;
}
.header-search .search-input::placeholder { color: rgba(255,255,255,.55); }
.header-search .search-input:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,197,24,.18);
  background: rgba(255,255,255,.13);
}
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a {
  color: rgba(255,255,255,.62); font-size: .95rem; font-weight: 500;
  transition: color .15s; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
}
.site-nav a .ic { width: 15px; height: 15px; color: var(--gold); opacity: .8; flex: none; }
.site-nav a:hover { color: #fff; text-decoration: none; }
.site-nav a:hover .ic { opacity: 1; }
.site-nav .caret { font-size: .62rem; opacity: .55; margin-left: 1px; }

/* dropdown menus */
.nav-item { position: relative; display: inline-flex; }
.nav-item > a { padding: 14px 0; margin: -14px 0; }
.nav-drop {
  display: none; position: absolute; top: calc(100% + 13px); left: 50%;
  transform: translateX(-50%); min-width: 220px; z-index: 60;
  background: rgba(23, 24, 28, .98); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 8px; box-shadow: 0 22px 50px -20px rgba(0,0,0,.6);
}
.nav-drop::before {
  content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { display: block; }
.nav-drop a {
  display: block; padding: 8px 12px; border-radius: 7px;
  color: rgba(255,255,255,.75); font-size: .9rem; white-space: nowrap;
}
.nav-drop a:hover { background: rgba(245,197,24,.12); color: var(--gold); text-decoration: none; }

/* mobile hamburger */
.nav-burger {
  display: none; background: none; border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85); border-radius: 8px; padding: 6px 9px;
  cursor: pointer; margin-left: auto;
}
.nav-burger svg { width: 20px; height: 20px; display: block; }
.nav-burger:hover, .nav-burger[aria-expanded="true"] { color: var(--gold); border-color: var(--gold); }
.mobile-menu {
  display: none; background: rgba(23, 24, 28, .99);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 14px 20px 22px; max-height: calc(100vh - 64px); overflow-y: auto;
}
.mobile-menu.open { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.mm-head {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.mm-sec a {
  display: block; color: rgba(255,255,255,.78); font-size: .92rem;
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.mm-sec a:hover { color: var(--gold); text-decoration: none; }
@media (max-width: 480px) { .mobile-menu.open { grid-template-columns: 1fr; } }
.theme-toggle {
  background: none; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.7);
  border-radius: 8px; padding: 4px 9px; cursor: pointer; font-size: .85rem;
}
.theme-toggle:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- search band (below the nav, like the live site) ---------- */
.search-band {
  background: var(--navy-800); border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 14px 24px;
}
.search-band .inner { max-width: 780px; margin: 0 auto; position: relative; }
.search-band .search-ic {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--faint); font-size: 1.05rem; z-index: 2; display: flex;
}
.search-band .search-input {
  background: #fff; color: var(--ink); border-color: transparent;
  padding: 11px 16px 11px 44px; font-size: .98rem; border-radius: 12px;
}
.search-band .search-input::placeholder { color: var(--faint); }
.search-band .search-input:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,197,24,.25);
}

/* ---------- search inputs ---------- */
.search-box { position: relative; }
.search-input {
  width: 100%; padding: 12px 16px; font-size: 1rem; font-family: var(--sans);
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); color: var(--text); box-shadow: var(--shadow);
  outline: none;
}
.search-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,197,24,.22); }
.ac-panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-pop);
  overflow: hidden; z-index: 50; display: none; color: var(--text);
}
.ac-panel.open { display: block; }
.ac-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 14px; cursor: pointer; font-size: .94rem;
  border-bottom: 1px solid var(--hairline); text-align: left;
}
.ac-item:last-child { border-bottom: none; }
.ac-item:hover, .ac-item.active { background: var(--accent-soft); }
.ac-ic {
  flex: none; width: 32px; height: 32px; border-radius: 8px; padding: 7px;
  background: var(--surface-2); color: var(--navy-700); display: flex;
}
.ac-ic svg { width: 100%; height: 100%; }
.ac-vendor { background: var(--accent-soft); color: var(--navy-700); }
.ac-person { background: var(--surface-2); color: var(--muted); }
.ac-agency { background: var(--green-soft); color: var(--green); }
.ac-document { background: var(--surface-2); color: var(--body-text); }
.ac-bill { background: var(--gold-soft); color: var(--gold-deep); }
.ac-program { background: var(--gold-soft); color: var(--gold-deep); }
.ac-search { background: var(--surface-2); color: var(--muted); }
.ac-name {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; color: var(--ink); font-weight: 500;
}
.ac-item .t {
  flex: none; color: var(--faint); font-family: var(--mono); font-size: .68rem;
  text-transform: uppercase; letter-spacing: .05em; font-variant-numeric: tabular-nums;
}

/* ---------- hero (full-bleed navy band, flush under the header) ---------- */
.hero-wrap { margin: 0; padding: 0; }
.hero-band {
  position: relative; overflow: hidden;
  background:
    linear-gradient(165deg, rgba(14, 35, 80, .78) 0%, rgba(10, 24, 48, .78) 100%),
    #0A1830 url("/static/hero-bg.webp") center / cover no-repeat;
  color: #fff; text-align: center;
  padding: 60px 24px 52px;
}
.hero-band > * { position: relative; }
.hero-eyebrow {
  font-family: var(--mono); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .22em; color: var(--gold);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 14px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; height: 1px; width: 44px; background: rgba(245,197,24,.45);
}
.hero-band h1 {
  font-size: 3rem; font-weight: 700; margin-bottom: .5rem; color: #fff;
  letter-spacing: -.02em;
}
.hero-band h1 em {
  font-style: italic; color: var(--gold); font-weight: 600;
  padding-right: .06em; /* italic overhang */
}
.hero-band p { color: rgba(255,255,255,.72); margin: 0 0 26px; font-size: 1.06rem; }
.hero-band .search-box { max-width: 660px; margin: 0 auto; }
.hero-band .search-input {
  padding: 16px 22px; font-size: 1.05rem; border-radius: 14px;
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff;
}
.hero-band .search-input::placeholder { color: rgba(255,255,255,.55); }
.hero-band .search-input:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,197,24,.2);
  background: rgba(255,255,255,.12);
}
.hero-band .tagline {
  margin-top: 18px; font-family: var(--serif); font-style: italic;
  font-size: .98rem; color: rgba(255,255,255,.62);
}
.hero-band .grid-cats { margin: 34px auto 0; }
.hero-band .cat-card {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12);
  box-shadow: none;
}
.hero-band .cat-card:hover { border-color: var(--gold); box-shadow: 0 18px 40px -24px rgba(0,0,0,.7); }
.hero-band .cat-card .n { color: #fff; }
.hero-band .cat-card .l { color: rgba(255,255,255,.55); }

/* ---------- cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 26px;
}
.card + .card { margin-top: 16px; }
/* grids space cards with gap, not margins */
.home-row1 .card, .home-row2 .card, .digest-grid .card,
.results-layout .card, .two-col .card:first-child { margin-top: 0; }

.grid-cats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px; max-width: 980px; margin: 36px auto 0;
}
.cat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 16px; text-align: center;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  color: var(--text);
}
.cat-card:hover {
  transform: translateY(-4px); border-color: var(--gold);
  box-shadow: var(--shadow-pop); text-decoration: none;
}
.cat-card .n { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--navy-700); }
.cat-card .l { font-family: var(--mono); font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }

.stats-band {
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin: 16px 0 20px; padding: 8px 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 20px 10px; border-left: 1px solid var(--hairline);
}
.stat:first-child { border-left: none; }
.stat .v { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.stat .k { font-family: var(--mono); font-size: .64rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-top: 3px; }
@media (max-width: 1000px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; border-top: 1px solid var(--hairline); }
  .stat:first-child, .stat:nth-child(2) { border-top: none; }
}

/* ---------- hero art + icon chips ---------- */
.ic { width: 1em; height: 1em; flex: none; }
.hero-search { position: relative; }
.hero-search .search-ic {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--faint); font-size: 1.1rem; z-index: 2; display: flex;
}
.hero-band .hero-search .search-input {
  background: #fff; color: var(--ink); border-color: transparent;
  padding-left: 46px;
}
.hero-band .hero-search .search-input::placeholder { color: var(--faint); }
.hero-band .cat-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 18px 14px;
}
.hero-band .cat-card .ic { font-size: 1.6rem; color: var(--gold); }
.hero-band .cat-card .n { white-space: nowrap; }
@media (max-width: 900px) { .hero-art { display: none; } }

/* ---------- homepage module rows ---------- */
.home-row1 {
  display: grid; grid-template-columns: 1fr 1.15fr 1fr;
  gap: 16px; margin-top: 24px;
}
.home-row2 {
  display: grid; grid-template-columns: 1fr 2.15fr;
  gap: 16px; margin-top: 16px;
}
.mod-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.mod-head h3 { border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: 5px; margin: 0; }
.mod-head a { font-family: var(--mono); font-size: .72rem; white-space: nowrap; }
.mod-foot { display: inline-block; margin-top: 10px; font-size: .85rem; font-weight: 600; }
.rownum { font-family: var(--mono); font-size: .74rem; color: var(--faint); width: 16px; flex: none; align-self: center; }
.rowic { color: var(--faint); display: flex; align-self: center; }
.rowic.gold { color: var(--gold-deep); }
.digest-row .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.mover-row {
  display: grid; grid-template-columns: minmax(110px, 38%) 1fr minmax(120px, auto);
  gap: 10px; align-items: center; padding: 6px 0;
  border-bottom: 1px solid var(--hairline); font-size: .88rem;
}
.mover-row:last-of-type { border-bottom: none; }
.mover-row > a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mover-track { background: var(--surface-2); border-radius: 4px; height: 9px; overflow: hidden; }
.mover-fill { height: 100%; border-radius: 4px; }
.mover-fill.up { background: var(--green); }
.mover-fill.down { background: var(--red); }
.mover-val { font-family: var(--mono); font-size: .72rem; text-align: right; white-space: nowrap; }
.mover-val.up { color: var(--green); }
.mover-val.down { color: var(--red); }

.explore-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 1100px) { .explore-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .explore-grid { grid-template-columns: repeat(2, 1fr); } }
.explore-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 3px; padding: 18px 12px 16px; border: 1px solid var(--border);
  border-top: 3px solid var(--xc, var(--navy-700));
  border-radius: var(--radius-sm); color: var(--text);
  background: linear-gradient(180deg, var(--xc-tint, transparent) 0%, transparent 46%);
  transition: transform .14s, box-shadow .14s;
}
.explore-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); text-decoration: none; }
.xc-navy  { --xc: #14315F; --xc-soft: #EDF1F8; --xc-tint: rgba(20,49,95,.05); }
.xc-green { --xc: #2E9E5B; --xc-soft: #E4F3EA; --xc-tint: rgba(46,158,91,.06); }
.xc-gold  { --xc: #C99A1E; --xc-soft: #FCF3D3; --xc-tint: rgba(201,154,30,.07); }
.xc-red   { --xc: #C6503C; --xc-soft: #F9E7E2; --xc-tint: rgba(198,80,60,.06); }
.xc-steel { --xc: #3E6DB5; --xc-soft: #EAF1FB; --xc-tint: rgba(62,109,181,.06); }
.xc-badge {
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 6px;
  background: var(--xc-soft); color: var(--xc);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.xc-name { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; }
.xc-desc { font-size: .76rem; color: var(--muted); line-height: 1.4; min-height: 2.6em; }
.xc-num, .xc-num2 { font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 4px; color: var(--xc); }
.xc-num2 { color: var(--text); }
.xc-sub { font-family: var(--mono); font-size: .6rem; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.xc-link {
  margin-top: 10px; font-size: .8rem; font-weight: 600; color: var(--xc);
  border: 1px solid var(--border); border-radius: 99px; padding: 4px 14px;
  transition: background .12s, color .12s, border-color .12s;
}
.explore-card:hover .xc-link { background: var(--xc); border-color: var(--xc); color: #fff; }

/* stats band icon badges */
.stats-band .stat .ic {
  font-size: 1.35rem; color: var(--navy-700); flex: none;
  width: 46px; height: 46px; padding: 11px; border-radius: 50%;
  background: var(--accent-soft);
}

/* spending desk text links */
.desk-band { margin: 20px 0 0; }
.desk-links {
  columns: 3; column-gap: 34px; font-size: .9rem;
}
.desk-links a {
  display: block; padding: 5px 0; color: var(--body-text);
  border-bottom: 1px solid var(--hairline); break-inside: avoid;
}
.desk-links a:hover { color: var(--navy-700); text-decoration: none; }
@media (max-width: 900px) { .desk-links { columns: 2; } }
@media (max-width: 560px) { .desk-links { columns: 1; } }

/* trust band */
.trust-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px; background: var(--gold-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 30px; margin: 20px auto 30px;
}
.trust { display: flex; gap: 14px; align-items: flex-start; }
.trust .ic { font-size: 1.5rem; color: var(--gold-deep); margin-top: 2px; }
.trust b { font-family: var(--serif); font-size: 1.02rem; }
.trust p { margin: 3px 0 0; font-size: .86rem; color: var(--body-text); line-height: 1.5; }

@media (max-width: 1000px) {
  .home-row1, .home-row2 { grid-template-columns: 1fr; }
}

/* reusable navy CTA hero band */
.cta-hero {
  background: linear-gradient(165deg, #0E2350 0%, #0A1830 100%);
  border-radius: var(--radius); color: #fff;
  padding: 38px 42px; margin: 16px 0;
  box-shadow: 0 30px 70px -40px rgba(11, 27, 59, 0.6);
}
.cta-hero-eyebrow {
  font-family: var(--mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.cta-hero-title {
  font-family: var(--serif); font-size: 2.2rem; font-weight: 700;
  letter-spacing: -.02em; line-height: 1.12; color: #fff; margin: 0 0 10px;
  max-width: 22ch;
}
.cta-hero-title em { font-style: italic; color: var(--gold); }
.cta-hero-text { color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.65; max-width: 58ch; margin: 0 0 18px; }
.cta-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.cta-chip {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .05em;
  text-transform: uppercase; color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.22); border-radius: 99px; padding: 7px 15px;
}
.cta-chip b { color: var(--gold); font-weight: 600; }
.cta-hero .cta-btn {
  display: inline-block; background: var(--gold); color: #0B1B3B;
  font-weight: 700; font-size: .98rem; padding: 13px 26px; border-radius: 10px;
}
.cta-hero .cta-btn:hover { background: var(--gold-bright); text-decoration: none; }
.cta-hero-foot { margin-top: 14px; font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; color: rgba(255,255,255,.4); }
@media (max-width: 640px) {
  .cta-hero { padding: 26px 22px; }
  .cta-hero-title { font-size: 1.6rem; }
}
.cta-hero.has-chart {
  display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center;
}
.cta-chart svg { width: 100%; height: auto; display: block; }
.cta-chart-head {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 8px;
}
.cta-legend { display: flex; gap: 22px; margin-top: 8px; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.6); }
.cta-legend .sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
@media (max-width: 900px) { .cta-hero.has-chart { grid-template-columns: 1fr; } }

/* spending hub */
.spend-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px; margin: 10px 0 60px;
}
.spend-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px 22px; color: var(--text);
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .14s, border-color .14s, box-shadow .14s;
}
.spend-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow-pop); text-decoration: none; }
.spend-rows { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; }
.spend-rows span { font-family: var(--mono); font-size: .62rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.spend-card .xc-link { margin-top: 6px; border: none; padding: 0; }

/* revenue vs spending */
.rv-row {
  display: grid; grid-template-columns: 58px 1fr 110px; gap: 14px;
  align-items: center; padding: 9px 0; border-bottom: 1px solid var(--hairline);
}
.rv-row:last-of-type { border-bottom: none; }
.rv-fy { font-family: var(--mono); font-weight: 700; font-size: .82rem; color: var(--navy-700); }
.rv-line { display: grid; grid-template-columns: 70px 1fr 74px; gap: 8px; align-items: center; padding: 2px 0; }
.rv-label { font-family: var(--mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.rv-rev { background: var(--green); }
.rv-spend { background: var(--navy-700); }
.rv-net { text-align: right; font-family: var(--mono); font-size: .8rem; font-variant-numeric: tabular-nums; }
.rv-net.up { color: var(--green); }
.rv-net.down { color: var(--red); }

/* ---------- digest modules ---------- */
.digest-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px; max-width: 1080px; margin: 44px auto 0; text-align: left;
}
.digest-card h3 { margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); display: inline-block; }
.digest-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 6px 0; border-bottom: 1px solid var(--hairline); font-size: .9rem;
}
.digest-row:last-child { border-bottom: none; }
.digest-row span { color: var(--muted); white-space: nowrap; font-family: var(--mono); font-size: .78rem; font-variant-numeric: tabular-nums; align-self: center; }
.digest-row .up { color: var(--green); }
.digest-row .down { color: var(--red); }

/* ---------- results ---------- */
.results-layout {
  display: grid; grid-template-columns: 230px minmax(0, 1fr) 280px;
  gap: 22px; padding: 26px 0 64px; align-items: start;
}
.results-2col { grid-template-columns: minmax(0, 1fr) 300px; }
.filter-rail { position: sticky; top: 70px; }
.filter-rail h3 { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 16px 0 6px; }
.filter-rail select, .filter-rail input {
  width: 100%; padding: 7px 9px; border: 1px solid var(--border);
  border-radius: 8px; background: var(--surface); color: var(--text); font-size: .88rem;
}
.context-rail { position: sticky; top: 70px; }

.result {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.result .head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.result .title { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; }
.result .snip { color: var(--body-text); font-size: .92rem; line-height: 1.65; margin-top: 6px; }
.result .facts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; font-size: .84rem; color: var(--muted); }
.result .facts b { color: var(--text); }

.chip {
  display: inline-block; font-family: var(--mono); font-size: .66rem;
  font-weight: 600; padding: 3px 10px; border-radius: 99px;
  text-transform: uppercase; letter-spacing: .05em; align-self: center;
}
.chip-document { background: var(--accent-soft); color: var(--accent); }
.chip-vendor { background: var(--green-soft); color: var(--green); }
.chip-bill { background: var(--gold-soft); color: var(--gold-deep); }
.chip-agency { background: var(--surface-2); color: var(--muted); }

.group-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 28px 0 12px;
}
.group-head:first-child { margin-top: 0; }

/* "Try …" example searches under the hero search box */
.try-line {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .02em;
  color: var(--faint); margin-top: 10px; text-align: center;
}
.try-line a { color: var(--gold); font-weight: 600; text-decoration: none; }
.try-line a:hover { color: var(--gold-bright); text-decoration: underline; }

/* homepage "ours first" strip under the hero */
.scoop-band { background: var(--surface); border-bottom: 1px solid var(--border); }
.scoop-inner { display: flex; gap: 14px; align-items: center; justify-content: center; padding: 11px 24px; flex-wrap: wrap; text-decoration: none; }
a.scoop-inner:hover, a.scoop-inner:hover * { text-decoration: none; }
.scoop-band:hover { background: var(--surface-2); }
.scoop-band:hover .scoop-link { text-decoration: underline !important; }

/* "still missing" FY2025 p-card alert strip */
.missing-band {
  background: linear-gradient(90deg, #FDE9F1, #F9CFDF 50%, #FDE9F1);
  border-bottom: 1px solid #F2B8CE;
}
.missing-inner { display: flex; gap: 14px; align-items: center; justify-content: center; padding: 11px 24px; flex-wrap: wrap; text-decoration: none; }
a.missing-inner:hover, a.missing-inner:hover * { text-decoration: none; }
.missing-band:hover { background: linear-gradient(90deg, #FCDFEB, #F7C2D6 50%, #FCDFEB); }
.missing-band:hover .missing-link { text-decoration: underline !important; }
.missing-kicker {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .13em;
  text-transform: uppercase; color: #A81D53;
  border: 1px solid #D9648F; border-radius: 999px; padding: 3px 11px;
  white-space: nowrap;
}
.missing-line { font-family: var(--serif); font-style: italic; color: #7C1B42; font-size: .95rem; }
.missing-link { font-weight: 600; white-space: nowrap; color: #A81D53; }
@media (max-width: 640px) { .missing-line { font-size: .9rem; } }
.scoop-kicker {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--gold-deep);
  border: 1px solid var(--gold); border-radius: 999px; padding: 3px 11px;
  white-space: nowrap;
}
.scoop-line {
  font-family: var(--serif); font-style: italic; color: var(--body-text);
  font-size: .95rem;
}
.scoop-link { font-weight: 600; white-space: nowrap; text-decoration: none; }
.scoop-link:hover { text-decoration: underline; }
@media (max-width: 640px) { .scoop-line { font-size: .9rem; } }

.pager { align-items: center; }
.pager-nums { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; }
.pnum {
  min-width: 30px; padding: 4px 8px; text-align: center; border-radius: 6px;
  font-size: .85rem; font-variant-numeric: tabular-nums; text-decoration: none;
}
a.pnum:hover { background: var(--surface-2); }
.pnum.cur { background: var(--navy-800); color: #fff; font-weight: 600; }
.pdots { color: var(--muted); padding: 0 2px; }
.group-head h2 { border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: 4px; }
.group-head a { font-size: .85rem; }

/* ---------- tables ---------- */
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th {
  text-align: left; font-family: var(--mono); font-size: .68rem;
  text-transform: uppercase; letter-spacing: .07em; color: var(--muted);
  padding: 8px 10px; border-bottom: 1px solid var(--border);
}
table.data td { padding: 9px 10px; border-bottom: 1px solid var(--hairline); }
table.data tr:last-child td { border-bottom: none; }
/* zebra rows + hover highlight, site-wide */
table.data tr:nth-child(even) td { background: var(--row-alt); }
table.data tr:hover td { background: var(--accent-soft); transition: background .1s; }
td.r, th.r { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }

/* ---------- entity pages ---------- */
/* full width everywhere — pages match the header nav (1280px) */
.container-narrow { max-width: 1280px; }
.entity-head { padding: 34px 0 8px; }
.entity-head .kind {
  font-family: var(--mono); font-size: .72rem; text-transform: uppercase;
  letter-spacing: .09em; color: var(--gold-deep); font-weight: 600;
}
.entity-head h1 { margin: 4px 0 6px; font-size: 2.2rem; }
.lead {
  font-family: var(--serif); font-size: 1.14rem; line-height: 1.55;
  color: var(--body-text); max-width: 760px; margin: 4px 0 10px;
}
.bigstats { display: flex; flex-wrap: wrap; gap: 30px; margin: 14px 0 22px; }
.bigstats .stat { text-align: left; min-width: auto; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; padding-bottom: 64px; }

.hero-money {
  display: grid; grid-template-columns: minmax(200px, 1fr) minmax(260px, 380px);
  gap: 24px; align-items: center; margin: 18px 0 14px; padding: 24px 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.big-money {
  font-family: var(--serif); font-size: 3rem; font-weight: 700;
  letter-spacing: -.03em; line-height: 1;
}
.big-money-sub { font-family: var(--mono); color: var(--muted); font-size: .78rem; margin-top: 8px; text-transform: uppercase; letter-spacing: .05em; }
.hero-chart .spark { height: 110px; }

.qf-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px 20px; margin: 16px 0 4px; padding: 18px 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.qf-grid div { display: flex; flex-direction: column; }
.qf-grid b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.qf-grid span { font-family: var(--mono); font-size: .64rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }

.evidence { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.btn {
  display: inline-block; padding: 8px 16px; font-size: .88rem; font-weight: 600;
  border-radius: 10px; border: 1px solid var(--border); color: var(--text);
  background: var(--surface); cursor: pointer; font-family: var(--sans);
}
.btn:hover { background: var(--surface-2); text-decoration: none; border-color: var(--faint); }
.btn-primary { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

.kv { font-size: .9rem; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--hairline); }
.kv div:last-child { border-bottom: none; }
.kv .k { color: var(--muted); }
.kv .v { text-align: right; word-break: break-all; }
.mono { font-family: var(--mono); font-size: .78rem; }

.pdf-frame {
  width: 100%; height: 78vh; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--surface-2);
}
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 8px; padding: 2px 10px; font-size: .8rem; color: var(--body-text);
}

/* ---------- intelligence ---------- */
.intel-card .tagline { color: var(--body-text); font-family: var(--serif); font-size: .98rem; margin: 3px 0 6px; }
.intel-hero { border-top: 3px solid var(--gold); box-shadow: var(--shadow-pop); }
.rank { font-family: var(--mono); font-size: .72rem; color: var(--muted); font-weight: 600; align-self: center; }
.intel-grid { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 18px; align-items: end; }
.facts-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 10px 18px; margin-top: 8px;
}
.facts-grid div { display: flex; flex-direction: column; }
.facts-grid b { font-size: 1rem; font-variant-numeric: tabular-nums; }
.facts-grid span { font-family: var(--mono); font-size: .62rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 1px; }

.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; }
.badge {
  font-family: var(--mono); font-size: .68rem; font-weight: 600;
  padding: 3px 10px; border-radius: 99px;
  border: 1px solid var(--border); color: var(--muted); background: var(--surface-2);
}
.badge.b-green { color: var(--green); background: var(--green-soft); border-color: transparent; }
.badge.b-blue { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.badge.b-amber { color: var(--gold-deep); background: var(--gold-soft); border-color: transparent; }

.spark { display: flex; align-items: flex-end; gap: 5px; height: 74px; padding-top: 4px; }
.spark-col { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; height: 100%; justify-content: flex-end; }
.spark-bar { width: 100%; max-width: 28px; background: var(--navy-700); border-radius: 3px 3px 0 0; min-height: 3px; }
.spark-col:last-child .spark-bar { background: var(--gold); }
.spark-l { font-family: var(--mono); font-size: .62rem; color: var(--faint); }
a.spark-col { text-decoration: none; }
a.spark-col:hover .spark-bar { background: var(--gold-deep); }
.hbar-row a { text-decoration: none; }
.hbar-row a:hover { text-decoration: underline; }
.mini-years a { text-decoration: none; }
.mini-years a:hover { text-decoration: underline; }

.rel-label {
  font-family: var(--mono); font-size: .66rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--gold-deep); font-weight: 600; margin: 14px 0 6px;
}
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  font-size: .82rem; padding: 4px 12px; border-radius: 99px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  transition: border-color .12s, color .12s;
}
.pill:hover { border-color: var(--gold); color: var(--navy-700); text-decoration: none; }
.pills-col { flex-direction: column; align-items: flex-start; }

.rel-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 18px 22px;
}
.rel-col .rel-label { margin-top: 0; }

/* ---------- refine bar ---------- */
.refine {
  margin: 14px 0; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); padding: 0;
}
.refine summary {
  cursor: pointer; padding: 10px 16px; font-family: var(--mono); font-size: .74rem;
  text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
  color: var(--muted); user-select: none;
}
.refine[open] summary { border-bottom: 1px solid var(--border); }
.refine-form { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
.refine-form select, .refine-form input {
  padding: 6px 9px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface); color: var(--text); font-size: .85rem; max-width: 210px;
}

/* ---------- breakdown bars ---------- */
.hbar-row { display: grid; grid-template-columns: minmax(120px, 42%) 1fr 90px; gap: 10px; align-items: center; padding: 5px 0; font-size: .88rem; }
.hbar-track { background: var(--surface-2); border-radius: 5px; height: 12px; overflow: hidden; }
.hbar-fill { background: var(--navy-700); height: 100%; border-radius: 5px; }
.hbar-val { text-align: right; font-family: var(--mono); font-size: .78rem; font-variant-numeric: tabular-nums; color: var(--muted); }

/* ---------- mentions / evidence ---------- */
.mention-expand { margin-top: 10px; }
.mention-expand summary { cursor: pointer; font-size: .84rem; color: var(--accent); user-select: none; font-weight: 600; }
.mention {
  display: flex; align-items: flex-start; gap: 16px;
  border: 1px solid var(--border); border-left: 3px solid var(--gold);
  padding: 12px 16px; margin: 10px 0; background: var(--surface);
  border-radius: 8px;
}
.mention p { margin: 0; flex: 1; font-size: .92rem; line-height: 1.65; color: var(--body-text); }
.mention-meta { font-family: var(--mono); font-size: .72rem; color: var(--muted); margin-bottom: 4px; }
.btn-page {
  flex: none; align-self: center;
  background: var(--navy-800); color: #fff;
  font-family: var(--mono); font-size: .74rem; font-weight: 600;
  padding: 7px 13px; border-radius: 8px; white-space: nowrap;
  transition: background .13s, color .13s;
}
.btn-page:hover { background: var(--gold); color: var(--ink); text-decoration: none; }
@media (max-width: 640px) {
  .mention { flex-direction: column; gap: 10px; }
  .btn-page { align-self: flex-start; }
}

/* money section */
.money-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 240px;
  gap: 28px; align-items: start;
}
.money-side .spark { height: 90px; margin-bottom: 8px; }
.mini-years { font-size: .82rem; }
.mini-years td { padding: 4px 6px; border-bottom: 1px solid var(--hairline); font-variant-numeric: tabular-nums; }
.mini-years tr:last-child td { border-bottom: none; }
@media (max-width: 800px) { .money-grid { grid-template-columns: 1fr; } }

.money-panels { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.panel { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.panel > summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  cursor: pointer; user-select: none; padding: 11px 16px;
  font-weight: 600; font-size: .95rem; color: var(--text);
  list-style: none;
}
.panel > summary::before { content: "▸"; color: var(--gold-deep); margin-right: 8px; }
.panel[open] > summary::before { content: "▾"; }
.panel > summary::-webkit-details-marker { display: none; }
.panel > summary > span:first-child { flex: 1; }
.panel > summary:hover { color: var(--navy-700); }
.panel[open] > summary { border-bottom: 1px solid var(--hairline); }
.panel-hint { font-family: var(--mono); font-size: .72rem; color: var(--gold-deep); white-space: nowrap; }
.panel-link {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 11px 16px; font-weight: 600; font-size: .95rem; color: var(--text);
}
.panel-link:hover { color: var(--navy-700); text-decoration: none; border-color: var(--gold); }
.panel-link > span:first-child::before { content: "▸"; color: var(--gold-deep); margin-right: 8px; }
.panel > *:not(summary) { padding: 4px 16px 12px; }

/* document evidence cards */
.doc-card {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; margin: 14px 0; background: var(--surface);
}
.doc-card-head {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  background: var(--surface-2); border-bottom: 1px solid var(--border);
  padding: 11px 16px;
}
.doc-card-head .title { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.doc-count {
  margin-left: auto; font-family: var(--mono); font-size: .72rem;
  color: var(--gold-deep); font-weight: 600; white-space: nowrap;
}
.doc-card-body { padding: 12px 16px 14px; }
.doc-pages { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.doc-pages .page-link { background: var(--surface); }

.doc-evidence { padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.doc-evidence:last-child { border-bottom: none; }
.facts-inline { color: var(--muted); font-size: .85rem; }
.page-link {
  display: inline-block; min-width: 26px; text-align: center; margin: 0 2px;
  padding: 1px 7px; border: 1px solid var(--border); border-radius: 6px;
  font-family: var(--mono); font-size: .76rem; font-variant-numeric: tabular-nums;
}
.page-link:hover { border-color: var(--gold); background: var(--gold-soft); text-decoration: none; }
.collapse-label { cursor: pointer; color: var(--muted); font-size: .9rem; font-weight: 600; }

.state-quote {
  margin: 16px 0 4px; padding: 14px 18px; border-left: 3px solid var(--gold);
  background: var(--surface-2); border-radius: 0 10px 10px 0;
  font-family: var(--serif); font-size: 1.02rem;
}
.state-quote cite { display: block; margin-top: 8px; font-family: var(--sans); font-size: .82rem; color: var(--muted); font-style: normal; }
.why-list { margin: 4px 0 0; padding-left: 20px; }
.why-list li { margin: 6px 0; line-height: 1.6; }

/* timeline (kept for future use) */
.timeline { position: relative; margin: 6px 0 0; }
.tl-item { display: grid; grid-template-columns: 56px 20px 1fr; gap: 6px; align-items: baseline; position: relative; padding: 7px 0; }
.tl-year { font-family: var(--mono); font-weight: 700; font-size: .8rem; color: var(--gold-deep); text-align: right; }
.tl-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); justify-self: center; align-self: center; }
.tl-item::before { content: ""; position: absolute; left: 65.5px; top: 0; bottom: 0; width: 1px; background: var(--border); }
.tl-item:first-child::before { top: 50%; }
.tl-item:last-child::before { bottom: 50%; }
.tl-text { font-size: .92rem; }

/* ---------- compare ---------- */
.compare-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.cmp-box { position: relative; display: inline-block; width: 300px; max-width: 100%; }
.cmp-box .ac-panel { min-width: 100%; }
.compare-form .vs { font-family: var(--serif); font-style: italic; color: var(--muted); font-weight: 600; }

.cmp-headers {
  display: grid; grid-template-columns: 1fr 54px 1fr; gap: 10px;
  align-items: stretch; margin: 6px 0 16px;
}
.cmp-vcard { display: flex; flex-direction: column; gap: 6px; }
.cmp-vcard h2 { margin: 0; font-size: 1.35rem; }
.cmp-vcard .btn { align-self: flex-start; margin-top: auto; }
.cmp-side-a { border-top: 3px solid var(--navy-700); }
.cmp-side-b { border-top: 3px solid var(--gold); }
.cmp-total { font-family: var(--serif); font-size: 2.1rem; font-weight: 700; letter-spacing: -.02em; }
.cmp-total.gold { color: var(--gold-deep); }
.cmp-vs-mark {
  align-self: center; text-align: center; font-family: var(--serif);
  font-style: italic; font-weight: 700; font-size: 1.3rem; color: var(--muted);
}

.duel {
  display: grid; grid-template-columns: 90px 1fr 170px 1fr 90px;
  gap: 12px; align-items: center; padding: 8px 0;
  border-bottom: 1px solid var(--hairline);
}
.duel:last-child { border-bottom: none; }
.duel-val { font-family: var(--mono); font-size: .82rem; font-variant-numeric: tabular-nums; }
.duel-val:first-child { text-align: right; }
.duel-label { text-align: center; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.duel-bar { background: var(--surface-2); border-radius: 5px; height: 14px; overflow: hidden; }
.duel-bar-a { transform: scaleX(-1); }
.duel-bar-a > div { height: 100%; background: var(--navy-700); border-radius: 5px; }
.duel-bar-b > div { height: 100%; background: var(--gold); border-radius: 5px; }

.cmp-year-row {
  display: grid; grid-template-columns: 52px 1fr; gap: 12px;
  align-items: center; padding: 6px 0; border-bottom: 1px solid var(--hairline);
}
.cmp-year-row:last-of-type { border-bottom: none; }
.cmp-ybar { position: relative; background: var(--surface-2); border-radius: 4px; height: 13px; margin: 2px 0; overflow: hidden; }
.cmp-ybar .fill-a { height: 100%; background: var(--navy-700); border-radius: 4px; }
.cmp-ybar .fill-b { height: 100%; background: var(--gold); border-radius: 4px; }
.cmp-ybar span {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: .64rem; color: var(--muted);
}
.cmp-legend { display: flex; gap: 24px; margin-top: 10px; font-size: .84rem; color: var(--body-text); }
.cmp-legend .sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.sw-a { background: var(--navy-700); }
.sw-b { background: var(--gold); }
@media (max-width: 800px) {
  .cmp-headers { grid-template-columns: 1fr; }
  .cmp-vs-mark { padding: 4px 0; }
  .duel { grid-template-columns: 70px 1fr 110px 1fr 70px; gap: 6px; }
}

/* ---------- blog (articles carried over, styles ported) ---------- */
.blog-content .article-wrap { max-width: 760px; margin: 0 auto; padding: 36px 24px 64px; }
.blog-content .breadcrumb {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .04em;
  color: var(--muted); margin-bottom: 16px;
}
.blog-content .breadcrumb a { color: var(--gold-deep); }
.blog-content .article-meta {
  color: var(--faint); font-family: var(--mono); font-size: .74rem;
  margin: 14px 0 30px; display: flex; gap: 12px; flex-wrap: wrap;
}
.blog-content .article-wrap h1 {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 600;
  color: var(--ink); line-height: 1.08; letter-spacing: -.02em; margin: 0;
}
.blog-content .article-wrap h2 {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 600;
  letter-spacing: -.015em; color: var(--ink); margin: 38px 0 12px;
}
.blog-content .article-wrap h3 { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; color: var(--ink); margin: 24px 0 8px; }
.blog-content .article-wrap p, .blog-content .article-wrap li { font-size: 1.02rem; line-height: 1.75; color: var(--body-text); }
.blog-content .article-wrap p a, .blog-content .article-wrap li a {
  color: var(--gold-deep); font-weight: 600; text-decoration: underline;
  text-decoration-color: rgba(201, 154, 30, .45); text-underline-offset: 3px;
}
.blog-content .article-wrap p a:hover, .blog-content .article-wrap li a:hover { color: var(--navy-700); text-decoration-color: currentColor; }
.blog-content .article-wrap ul, .blog-content .article-wrap ol { padding-left: 22px; }
.blog-content .article-wrap li { margin-bottom: 6px; }
.blog-content .article-wrap table { margin: 14px 0 22px; width: 100%; border-collapse: collapse; font-size: .92rem; }
.blog-content .article-wrap th { text-align: left; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--border); }
.blog-content .article-wrap td { padding: 9px 10px; border-bottom: 1px solid var(--hairline); }
.blog-content .article-wrap img.chart { width: 100%; height: auto; border: 1px solid var(--border); border-radius: 12px; margin: 10px 0 6px; background: #fff; }
.blog-content .chart-embed { border: 1px solid var(--border); border-radius: 12px; margin: 10px 0 6px; background: #fff; padding: 14px; }
.blog-content .chart-embed svg { width: 100%; height: auto; display: block; }
.blog-content .article-hero {
  width: 100%; height: auto; border-radius: 14px; margin: 0 0 30px;
  box-shadow: 0 24px 50px -30px rgba(11, 27, 59, .4); display: block;
}
.blog-content .img-note { color: var(--muted); font-size: .8rem; margin: 6px 0 20px; }
.blog-content .lede { font-size: 1.18rem; line-height: 1.65; color: var(--ink); }
.blog-content .key-facts {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--gold); border-radius: 12px;
  padding: 18px 24px; margin: 26px 0; box-shadow: var(--shadow);
}
.blog-content .key-facts ul { margin: 8px 0 2px; }
.blog-content .key-facts > strong:first-child {
  color: var(--muted); font-family: var(--mono); font-size: .7rem;
  font-weight: 500; text-transform: uppercase; letter-spacing: .1em;
}
.blog-content .cta-band {
  background: linear-gradient(165deg, #0E2350 0%, #0A1830 100%); color: #fff;
  border-radius: 16px; padding: 26px 30px; margin: 34px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; box-shadow: 0 28px 60px -36px rgba(11, 27, 59, .55);
}
.blog-content .cta-band p { margin: 0; color: rgba(255,255,255,.75); font-size: .95rem; flex: 1; min-width: 240px; line-height: 1.6; }
.blog-content .cta-band a.cta-btn {
  background: var(--gold); color: var(--ink); font-weight: 700; font-size: .95rem;
  padding: 13px 24px; border-radius: 10px; white-space: nowrap;
}
.blog-content .cta-band a.cta-btn:hover { background: var(--gold-bright); text-decoration: none; color: var(--ink); }
.blog-content .related { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 22px; }
.blog-content .related h2 { font-size: 1.15rem; margin-top: 0; }
.blog-content .related ul { list-style: none; padding-left: 0; }
.blog-content .related li { margin-bottom: 10px; }
.blog-content .related a { font-weight: 600; }
@media (max-width: 640px) { .blog-content .article-wrap h1 { font-size: 1.9rem; } }

/* blog share buttons (ported) */
.blog-content .share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 18px 0 26px; }
.blog-content .share-label {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-right: 4px;
}
.blog-content .share-row a {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.blog-content .share-row a svg { width: 17px; height: 17px; }
.blog-content .share-row a:hover {
  background: var(--gold); border-color: var(--gold); color: var(--ink);
  transform: translateY(-2px); text-decoration: none;
}
.blog-content .share-row a.copied { background: var(--green); border-color: var(--green); color: #fff; }

/* blog hub lead story */
.lead-story {
  display: grid; grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 30px; align-items: center;
  background: var(--surface); border: 2px solid var(--gold);
  border-radius: var(--radius); box-shadow: var(--shadow-pop);
  padding: 22px; margin: 4px 0 24px; color: var(--text);
  transition: transform .16s ease;
}
.lead-story:hover { transform: translateY(-3px); text-decoration: none; }
.lead-img {
  width: 100%; height: 100%; max-height: 320px; object-fit: cover;
  border-radius: 10px; display: block;
}
.lead-body { display: flex; flex-direction: column; gap: 10px; padding-right: 12px; }
.lead-body .tag {
  color: var(--gold-deep); font-family: var(--mono); font-size: .66rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
}
.lead-body h2 {
  margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 700;
  letter-spacing: -.02em; line-height: 1.12; color: var(--ink);
}
.lead-story:hover h2 { color: var(--navy-700); }
.lead-body p { margin: 0; color: var(--body-text); font-size: 1rem; line-height: 1.6; }
.lead-body .date { font-family: var(--mono); font-size: .72rem; color: var(--faint); }
@media (max-width: 800px) {
  .lead-story { grid-template-columns: 1fr; }
  .lead-img { max-height: 240px; }
  .lead-body h2 { font-size: 1.5rem; }
}

/* blog hub cards */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 10px 0 60px; }
.post-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-pop); }
.post-card .tag {
  color: var(--gold-deep); font-family: var(--mono); font-size: .66rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
}
.post-card h2 { margin: 0; font-family: var(--serif); font-size: 1.32rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.18; }
.post-card h2 a { color: var(--ink); }
.post-card h2 a:hover { color: var(--navy-700); text-decoration: none; }
.post-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; flex: 1; }
.post-card .date { font-family: var(--mono); font-size: .7rem; color: var(--faint); }

/* ---------- footer (navy, from the live site) ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); overflow: hidden; margin-top: 40px; }
.foot-grid {
  max-width: 1280px; margin: 0 auto; padding: 56px 32px 44px;
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 48px;
}
.foot-wordmark {
  display: flex; align-items: center; gap: 10px; font-family: var(--brand);
  font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: .01em;
}
.foot-wordmark em { font-style: italic; font-weight: 600; color: var(--gold); text-transform: none; }
.foot-wordmark .logo-mark { height: 2rem; }
.foot-brand p { font-size: .86rem; line-height: 1.6; color: rgba(255,255,255,.55); margin: 0; max-width: 30em; }
.foot-stats { display: flex; gap: 36px; margin-top: 24px; flex-wrap: wrap; }
.foot-stats .fs b {
  display: block; font-family: var(--serif); font-weight: 600; font-size: 1.5rem;
  letter-spacing: -.01em; color: var(--gold); line-height: 1; margin-bottom: 6px;
}
.foot-stats .fs span {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}
.foot-meta { margin-top: 22px; font-family: var(--mono); font-size: .66rem; letter-spacing: .05em; color: rgba(255,255,255,.4); }
.foot-col .foot-head {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 15px;
}
.foot-col a { display: block; font-size: .86rem; color: rgba(255,255,255,.75); margin-bottom: 10px; }
.foot-col a:hover { color: #fff; text-decoration: none; }
.foot-disclaimer {
  max-width: 1200px; margin: 0 auto; padding: 18px 32px 22px;
  font-size: .78rem; line-height: 1.65; color: rgba(255,255,255,.42);
  border-top: 1px solid rgba(255,255,255,.08);
}
.foot-disclaimer strong { color: rgba(255,255,255,.6); font-weight: 600; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.foot-bottom .inner {
  max-width: 1280px; margin: 0 auto; padding: 18px 32px;
  display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .02em;
  color: rgba(255,255,255,.4);
}
.foot-bottom .inner > div:first-child { font-family: var(--serif); font-style: italic; font-size: .84rem; }
.foot-bottom a { color: rgba(255,255,255,.55); }
.foot-bottom a:hover { color: var(--gold); text-decoration: none; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

.notice {
  background: var(--gold-soft); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 16px; font-size: .9rem;
}

/* ---------- mobile ---------- */
.filters-toggle { display: none; }
@media (max-width: 1000px) {
  .results-layout, .results-2col { grid-template-columns: 1fr; }
  .filter-rail { position: static; display: none; }
  .filter-rail.open { display: block; }
  .filters-toggle { display: inline-block; margin-bottom: 12px; }
  .context-rail { position: static; order: 3; }
  .two-col { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .nav-burger { display: block; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: 2rem; }
  .intel-grid { grid-template-columns: 1fr; }
  .intel-spark { max-width: 300px; }
  .hero-money { grid-template-columns: 1fr; }
  .big-money { font-size: 2.2rem; }
  .entity-head h1 { font-size: 1.7rem; }
}
