/* Delaware Spending — newsroom theme
   Navy (#0A1830 family) + gold (#F5C518), Newsreader serif headlines,
   IBM Plex Sans body, IBM Plex Mono data labels. */

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

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

  --bg: #F0F2F6;
  --card: #ffffff;
  --border: #E7EAF0;
  --border-soft: #EDEFF3;
  --hairline: #F1F3F6;

  --green: #2E9E5B;
  --green-bright: #6FCF97;
  --red: #C6503C;
  --red-soft: #E58A76;

  --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;
  --display: "Instrument Serif", Georgia, serif;
  --brand: "Playfair Display", Georgia, serif;

  --grad-navy: linear-gradient(165deg, #0E2350 0%, #0A1830 100%);
  --shadow: 0 1px 2px rgba(11, 27, 59, 0.04);
  --shadow-pop: 0 22px 50px -28px rgba(11, 27, 59, 0.4);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; }
::selection { background: var(--gold); color: var(--ink); }

h1, h2, h3 { text-wrap: balance; }

/* ---------- header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23, 24, 28, 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 32px;
  color: #fff;
}
.topbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.wordmark {
  font-family: var(--brand);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.005em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.wordmark { text-transform: uppercase; letter-spacing: 0.01em; }
.wordmark em { text-transform: none; }
.wordmark:hover { text-decoration: none; color: #fff; }
.wordmark .dollar { color: var(--gold); font-family: var(--display); font-weight: 400; }
.wordmark em { font-style: italic; font-weight: 600; color: var(--gold); }
.logo-mark { height: 2.2rem; width: auto; display: block; flex: none; }

/* primary nav — The Desk · Stories · State Checkbook · Dashboard */
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
}
.main-nav a {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.main-nav a .ic { width: 15px; height: 15px; opacity: 0.75; }
.main-nav a.active .ic, .main-nav a:hover .ic { opacity: 1; color: var(--gold); }
.main-nav a:hover { color: #fff; text-decoration: none; }
.main-nav a.active { color: #fff; font-weight: 600; }

/* secondary data nav — the detailed sections, shown on data pages */
.sub-nav-band {
  background: #0E2350;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sub-nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sub-nav::-webkit-scrollbar { display: none; }
.sub-nav a, .sub-nav button {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 16px 24px;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.15s, border-color 0.15s;
}
.sub-nav a + a::before, .sub-nav button + button::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  border-left: 2px dotted rgba(245, 197, 24, 0.45);
}
.sub-nav a:hover, .sub-nav button:hover { color: var(--gold); text-decoration: none; }
.sub-nav a.active, .sub-nav button.active {
  color: #fff;
  font-weight: 600;
  border-bottom-color: var(--gold);
}

/* live stats ticker */
.ticker {
  overflow: hidden;
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 2px solid var(--gold);
  margin: 0 -32px;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 60s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; }
.ticker-item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}
.ticker-item b { color: #fff; font-weight: 600; }
.ticker-item .t-up { color: var(--green-bright); }
.ticker-item .t-down { color: var(--red-soft); }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- layout ---------- */
main { padding: 0; }
.tab { display: none; max-width: 1280px; margin: 0 auto; padding: 28px 32px 56px; }
.tab.active { display: block; }

.tab-head { display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.tab-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.tab-head p { margin: 6px 0 0; color: var(--secondary); font-size: 0.9rem; flex: 1; min-width: 260px; }

/* ---------- KPI cards ---------- */
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpi {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px 16px;
  box-shadow: var(--shadow);
}
.kpi .label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.kpi .value {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 8px;
  line-height: 1;
}
.kpi .delta { font-size: 0.78rem; margin-top: 7px; color: var(--secondary); }
.kpi .delta.up { color: var(--green); font-weight: 600; }
.kpi .delta.down { color: var(--red); font-weight: 600; }

/* ---------- chart cards: always a clean 2-up on desktop ---------- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 920px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px 26px 24px;
  min-height: 340px;
  box-shadow: var(--shadow);
}
.card.wide { grid-column: 1 / -1; min-height: 0; }
.page-wrap .card { min-height: 0; }

/* standalone cards that follow the About panel (e.g. "Also paid by …") need their own gap */
.about-panel + .card { margin-top: 20px; }
.about-panel ~ .card + .card { margin-top: 20px; }

/* entity-profile "About" narrative panel */
.about-panel {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 34px;
  margin-top: 20px;
  box-shadow: var(--shadow);
}
.about-panel .k {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 16px;
}
.about-panel .k .ic { width: 14px; height: 14px; }
.about-panel .about-text {
  font-size: 1.04rem;
  line-height: 1.75;
  color: #35405C;
  margin: 0 0 20px;
  max-width: 62em;
}
.about-panel .about-src {
  border-top: 1px solid var(--hairline);
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.about-panel .about-src .ic { width: 14px; height: 14px; color: var(--gold-deep); }
.about-panel .about-src a { color: var(--navy-700); font-weight: 500; }
.card h3 {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.card h3 a { color: inherit; }
.card h3 .yr { color: var(--faint); font-weight: 500; text-transform: none; letter-spacing: 0.04em; }
.card canvas { max-height: 560px; }

/* ---------- selects ---------- */
.yr-slot select, select.year {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.yr-slot select:focus { outline: 2px solid var(--gold); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); }
th {
  color: var(--muted);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: none;
  border-bottom: 1px solid var(--border);
}
tbody tr:hover td { background: #F7F9FC; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td.num { font-family: var(--mono); font-size: 0.82rem; }
td.rank { color: var(--faint); font-family: var(--mono); font-size: 0.8rem; width: 2.5em; }
.bar-cell { position: relative; }
.bar-fill {
  position: absolute;
  right: 0;
  top: 6px;
  bottom: 6px;
  background: rgba(20, 49, 95, 0.09);
  border-right: 2px solid var(--navy-700);
  border-radius: 3px;
  z-index: 0;
}
.bar-cell span { position: relative; z-index: 1; font-weight: 600; color: var(--ink); }

/* ---------- alerts ---------- */
.alert {
  background: #FDF7E1;
  border: 1px solid #EFDD9A;
  border-left: 3px solid var(--gold);
  color: #6B5614;
  font-size: 0.85rem;
  padding: 11px 16px;
  border-radius: 10px;
  margin-bottom: 18px;
}
.alert code { background: rgba(0, 0, 0, 0.06); padding: 1px 5px; border-radius: 4px; }

/* ---------- footer ---------- */
footer.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}
.foot-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px 48px;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  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;
}
.foot-wordmark { text-transform: uppercase; letter-spacing: 0.01em; }
.foot-wordmark em { text-transform: none; }
.foot-wordmark .dollar { color: var(--gold); font-family: var(--display); font-weight: 400; }
.foot-wordmark em { font-style: italic; font-weight: 600; color: var(--gold); }
.foot-wordmark .logo-mark { height: 2rem; }
.foot-brand p { font-size: 0.86rem; line-height: 1.6; color: rgba(255, 255, 255, 0.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: -0.01em;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.foot-stats .fs span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.foot-meta {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
}
.foot-col .foot-head {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 15px;
}
.foot-col a, .foot-col span { display: block; font-size: 0.86rem; color: rgba(255, 255, 255, 0.75); margin-bottom: 10px; }
.foot-col span { color: rgba(255, 255, 255, 0.55); }
.foot-col a:hover { color: #fff; text-decoration: none; }
.foot-disclaimer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px 22px;
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.foot-disclaimer strong { color: rgba(255, 255, 255, 0.6); font-weight: 600; }
.foot-disclaimer a { color: rgba(245, 197, 24, 0.65); text-decoration: underline; text-decoration-color: rgba(245, 197, 24, 0.3); }
.foot-disclaimer a:hover { color: #F5C518; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.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: 0.68rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.4);
}
.foot-bottom a { color: rgba(255, 255, 255, 0.55); }
.foot-bottom a:hover { color: var(--gold); text-decoration: none; }

.no-data { color: var(--muted); font-size: 0.9rem; }

/* dashboard tables: pagination, clickable rows, numbers modal */
.tbl-pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-family: var(--mono, "IBM Plex Mono", monospace); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--muted); }
.tbl-pager button { font-family: inherit; font-size: 0.72rem; letter-spacing: 0.05em; border: 1px solid var(--line, #DCE1EA); background: #fff; color: var(--navy-700, #14315F); padding: 5px 14px; border-radius: 999px; cursor: pointer; }
.tbl-pager button:hover:not(:disabled) { border-color: var(--gold-deep, #C99A1E); color: var(--gold-deep, #C99A1E); }
.tbl-pager button:disabled { opacity: 0.35; cursor: default; }
tr.t-click { cursor: pointer; }
tr.t-click:hover td { background: rgba(201, 154, 30, 0.08); }
.nm-back { position: fixed; inset: 0; z-index: 999; display: flex; align-items: flex-start; justify-content: center; padding: 6vh 4vw; background: rgba(7, 17, 32, 0.55); backdrop-filter: blur(5px); overflow: auto; }
.nm-back[hidden] { display: none; }
.nm-card { background: #fff; border-radius: 16px; max-width: 620px; width: 100%; padding: 24px 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
.nm-kicker { font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep, #C99A1E); margin-bottom: 6px; }
.nm-title { font-family: "Playfair Display", Georgia, serif; font-weight: 800; font-size: 1.35rem; color: var(--navy-700, #14315F); margin-bottom: 14px; line-height: 1.25; }
.nm-card table { width: 100%; }
.nm-card tr.nm-peak td { background: rgba(201, 154, 30, 0.1); font-weight: 600; }
.nm-card tr.nm-total td { border-top: 2px solid var(--navy-700, #14315F); font-weight: 700; }
.nm-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.nm-link { background: var(--gold-deep, #C99A1E); color: #fff; font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; text-decoration: none; }
.nm-link:hover { background: #B07E10; color: #fff; }
.nm-close { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: 0.06em; border: 1px solid var(--line, #DCE1EA); background: #fff; color: var(--muted, #5A6478); padding: 8px 16px; border-radius: 999px; cursor: pointer; }

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  main, header.site-header { padding-left: 16px; padding-right: 16px; }
  .ticker { margin: 0 -16px; }
  .grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px 24px; }
  .foot-bottom .inner { padding: 14px 20px; }
}

/* ---------- news-desk hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-navy);
  border-radius: 20px;
  box-shadow: 0 30px 70px -40px rgba(11, 27, 59, 0.6);
  color: #fff;
  padding: 46px 48px 44px;
  margin-bottom: 20px;
}
.hero::after {
  content: "$";
  position: absolute;
  right: -30px;
  top: -105px;
  font-family: var(--display);
  font-size: 430px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
  user-select: none;
}
.hero-cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; position: relative; }
.hero-eyebrow {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.hero-number {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 5.2rem);
  font-weight: 600;
  line-height: 0.95;
  margin: 16px 0 14px;
  letter-spacing: -0.03em;
}
.hero-number .hero-unit { color: var(--gold); }
.hero-sub { color: rgba(255, 255, 255, 0.72); font-size: 1.02rem; line-height: 1.6; max-width: 34em; }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-delta {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.76rem;
  background: rgba(110, 207, 151, 0.16);
  color: var(--green-bright);
}
.hero-delta.down { background: rgba(229, 138, 118, 0.16); color: var(--red-soft); }
.hero-rail {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-rail-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}
.hero-rail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}
.hero-rail-row:last-child { border-bottom: none; }
.hero-rail-row b { color: #fff; font-weight: 600; }
@media (max-width: 900px) {
  .hero { padding: 30px 26px; }
  .hero-cols { grid-template-columns: 1fr; gap: 28px; }
  .hero-rail { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 22px; }
}

/* section kickers */
.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 10px;
}

.stories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}
.story-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.story-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-pop);
}
.story-eyebrow {
  color: var(--gold-deep);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.story-headline {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.5;
  flex: 1;
}
.story-headline strong { color: var(--navy-700); }
.story-link { color: var(--navy-700); font-size: 0.82rem; font-weight: 600; }

/* Your Dollar bar */
.dollar-bar {
  display: flex;
  height: 26px;
  border-radius: 8px;
  overflow: hidden;
}
.dollar-seg { height: 100%; transition: filter 0.12s; }
.dollar-seg:hover { filter: brightness(1.12); }
.dollar-legend { margin-top: 18px; display: flex; flex-direction: column; gap: 0; }
.dl-row { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; padding: 7px 0; border-bottom: 1px solid var(--hairline); }
.dl-row:last-child { border-bottom: none; }
.dl-dot { flex: none; width: 10px; height: 10px; border-radius: 3px; }
.dl-name { flex: 1; color: var(--body-text); }
a.dl-name:hover { color: var(--navy-700); }
.cf-name a { color: inherit; }
.cf-name a:hover { color: var(--navy-700); }
.dl-cents { font-family: var(--mono); font-size: 0.8rem; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Climbers & Fallers */
.cf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cf-title {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}
.cf-row { display: flex; align-items: baseline; gap: 8px; padding: 9px 2px; border-bottom: 1px solid var(--hairline); }
.cf-row:last-child { border-bottom: none; }
.cf-arrow { flex: none; font-weight: 700; width: 1.1em; text-align: center; font-size: 0.8rem; }
.cf-arrow.up { color: var(--green); }
.cf-arrow.down { color: var(--red); }
.cf-name { flex: 1; font-size: 0.86rem; color: var(--body-text); }
.cf-amt { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 0.8rem; font-weight: 500; }
.cf-amt.up { color: var(--green); }
.cf-amt.down { color: var(--red); }
.cf-pct { color: var(--faint); font-family: var(--mono); font-size: 0.72rem; min-width: 4.5em; text-align: right; }

/* Fact strip */
.fact-strip {
  display: flex;
  align-items: baseline;
  gap: 14px;
  background: var(--navy-900);
  border-radius: 12px;
  border-left: 3px solid var(--gold);
  padding: 14px 20px;
  margin: 20px 0;
  color: #fff;
}
.fact-label {
  flex: none;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.fact-text { color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; transition: opacity 0.25s ease; }

/* Dig deeper */
.dig-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.dig-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s, box-shadow 0.16s ease;
  background: var(--card);
}
.dig-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 18px 40px -26px rgba(11, 27, 59, 0.4); }
.dig-card strong { color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; }
.dig-card p { margin: 5px 0 0; color: var(--secondary); font-size: 0.8rem; }

@media (max-width: 700px) {
  .cf-cols { grid-template-columns: 1fr; }
}

/* ---------- blog / articles ---------- */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 36px 24px 64px; }
.article-wrap .breadcrumb, .page-wrap .breadcrumb {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 16px;
}
.article-wrap .breadcrumb a, .page-wrap .breadcrumb a { color: var(--gold-deep); }
.article-meta {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.74rem;
  margin: 14px 0 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.article-wrap h1 {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
.article-wrap h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 38px 0 12px;
}
.article-wrap h3 { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; color: var(--ink); margin: 24px 0 8px; }
.article-wrap p, .article-wrap li { font-size: 1.02rem; line-height: 1.75; color: #35405C; }
.article-wrap p a, .article-wrap li a {
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(201, 154, 30, 0.45);
  text-underline-offset: 3px;
}
.article-wrap p a:hover, .article-wrap li a:hover { color: var(--navy-700); text-decoration-color: currentColor; }
.article-wrap ul, .article-wrap ol { padding-left: 22px; }
.article-wrap li { margin-bottom: 6px; }
.article-wrap table { margin: 14px 0 22px; }
.article-wrap img.chart { width: 100%; height: auto; border: 1px solid var(--border); border-radius: 12px; margin: 10px 0 6px; background: #fff; }
.chart-embed {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 10px 0 6px;
  background: #fff;
  padding: 14px;
}
.chart-embed svg { width: 100%; height: auto; display: block; }
.chart-embed a text { fill: var(--navy-700); }
.chart-embed a:hover text { text-decoration: underline; fill: var(--ink); }

.article-hero {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 0 0 30px;
  box-shadow: 0 24px 50px -30px rgba(11, 27, 59, 0.4);
  display: block;
}
.article-wrap .img-note, .img-note { color: var(--muted); font-size: 0.8rem; margin: 6px 0 20px; }
.lede { font-size: 1.18rem; line-height: 1.65; color: var(--ink); font-weight: 400; }
.key-facts {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 18px 24px;
  margin: 26px 0;
  box-shadow: var(--shadow);
}
.key-facts ul { margin: 8px 0 2px; }
.key-facts > strong:first-child {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.cta-band {
  background: var(--grad-navy);
  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, 0.55);
}
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; flex: 1; min-width: 240px; line-height: 1.6; }
.cta-band a.cta-btn {
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 10px;
  white-space: nowrap;
}
.cta-band a.cta-btn:hover { background: var(--gold-bright); text-decoration: none; color: var(--ink); }
.related { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 22px; }
.related h2 { font-size: 1.15rem; margin-top: 0; }
.related ul { list-style: none; padding-left: 0; }
.related li { margin-bottom: 10px; }
.related a { font-weight: 600; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 24px; }
.post-card {
  background: var(--card);
  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 0.18s ease, box-shadow 0.18s ease, border-color 0.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: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.post-card h2 { margin: 0; font-family: var(--serif); font-size: 1.32rem; font-weight: 600; letter-spacing: -0.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(--secondary); font-size: 0.88rem; line-height: 1.55; flex: 1; }
.post-card .date { font-family: var(--mono); font-size: 0.7rem; color: var(--faint); }

/* ---------- SSR pages ---------- */
.page-wrap { max-width: 1240px; margin: 0 auto; padding: 32px 32px 64px; }
.page-wrap .grid { margin-bottom: 0; }
.page-wrap .grid + .grid { margin-top: 20px; }
.lead-text { margin-bottom: 22px; }
.lead-text h1, .lead-text h2 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.lead-text h1 { font-size: 2.5rem; }
.lead-text h2 { font-size: 1.7rem; }
.lead-text p { color: var(--body-text); line-height: 1.7; font-size: 1rem; max-width: 52em; }
.fy-chips { margin: 0 0 22px; color: var(--muted); font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.04em; }
.fy-chips a {
  color: var(--navy-700);
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
}
.fy-chips a:hover { border-color: var(--gold); text-decoration: none; }
.fy-chips strong { background: var(--ink); color: #fff; padding: 4px 12px; border-radius: 999px; font-weight: 500; }
.chart-svg { width: 100%; height: auto; display: block; }

/* ---------- site search band ---------- */
.search-band {
  background: var(--grad-navy);
  padding: 18px 32px 20px;
}
.search-inner { max-width: 880px; margin: 0 auto; }
.search-wrap { position: relative; }
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 20px;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.15s, border-color 0.15s;
}
.search-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.35), 0 10px 30px -12px rgba(0, 0, 0, 0.4);
}
.search-box svg { flex: none; color: var(--faint); }
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.98rem;
  font-family: var(--sans);
  color: var(--ink);
  background: transparent;
}
.search-box input::placeholder { color: var(--faint); }
.search-hint {
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  margin-top: 9px;
}
.search-hint span { color: var(--gold); font-weight: 500; }

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(11, 27, 59, 0.35);
  max-height: 480px;
  overflow-y: auto;
  z-index: 50;
  padding: 8px;
}
.sr-group {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 10px 12px 4px;
}
.sr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--ink);
}
.sr-item:hover, .sr-item.sr-active { background: var(--bg); text-decoration: none; }
.sr-badge {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: #fff;
}
.sr-badge-vendor { background: var(--navy-700); }
.sr-badge-department { background: var(--navy-900); }
.sr-badge-merchant { background: var(--gold-deep); }
.sr-badge-article { background: var(--green); }
.sr-badge-page { background: #64748b; }
.sr-name { font-weight: 600; font-size: 0.94rem; flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.sr-name mark { background: rgba(245, 197, 24, 0.45); border-radius: 3px; padding: 0 1px; }
.sr-blurb {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.74rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sr-empty { padding: 18px 14px; color: var(--muted); font-size: 0.9rem; text-align: center; }

@media (max-width: 700px) {
  .search-band { padding: 14px 16px 16px; }
  .sr-blurb { display: none; }
  .article-wrap h1 { font-size: 1.9rem; }
  .lead-text h1 { font-size: 1.8rem; }
}

/* ---------- homepage spending-desk cards ---------- */
.dig-card .tag {
  display: block;
  color: var(--gold-deep);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.dig-card a { text-decoration: none; }
.dig-card a:hover strong { color: var(--navy-700); }
a.dig-card { display: block; text-decoration: none; }
a.dig-card:hover { text-decoration: none; }
a.dig-card:hover strong { color: var(--navy-700); }
.dig-card.dig-more { background: transparent; border-style: dashed; box-shadow: none; }

/* ---------- topbar right + burger mobile menu ---------- */
.topbar-right { display: flex; align-items: center; gap: 12px; }
header .tab-interactive {
  color: #fff;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 6px 16px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
header .tab-interactive:hover { background: var(--gold); color: var(--ink); text-decoration: none; }
.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  border-radius: 8px;
  font-size: 1.05rem;
  line-height: 1;
  padding: 6px 11px;
  cursor: pointer;
}
.nav-burger:hover { border-color: var(--gold); color: var(--gold); }

/* data links live in the mobile drawer only; hidden in the desktop row */
.nav-extra { display: none; }
.nav-extra-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  padding: 12px 14px 6px;
}

@media (max-width: 1020px) {
  .nav-burger { display: block; }
  .ticker { display: none; }
  .topbar { flex-wrap: wrap; }
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    order: 3;
    flex-basis: 100%;
    padding: 4px 0 14px;
  }
  header.site-header.nav-open .main-nav { display: flex; }
  .main-nav a {
    border-left: 2px solid transparent;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 0.95rem;
  }
  .main-nav a.active {
    border-left-color: var(--gold);
    background: rgba(255, 255, 255, 0.07);
  }
  .main-nav .nav-extra {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 10px;
  }
  .main-nav .nav-extra a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.62); }
  .main-nav .nav-extra a.active { color: #fff; }
  .sub-nav { padding: 0 16px; justify-content: flex-start; }
}
@media (max-width: 540px) {
  .wordmark { font-size: 1.2rem; gap: 8px; }
  .logo-mark { height: 1.9rem; }
  header .tab-interactive { display: none; }
  .topbar { gap: 16px; }
}

/* ================= newsroom layouts (from the Claude Design export) ================= */

/* ---------- full-bleed page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-navy);
  color: #fff;
}
.page-hero::after {
  content: "$";
  position: absolute;
  right: -50px;
  top: -110px;
  font-family: var(--display);
  font-size: 620px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
  user-select: none;
}
.ph-inner { max-width: 1240px; margin: 0 auto; padding: 52px 40px 44px; position: relative; z-index: 1; }
.ph-crumb {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}
.ph-crumb a { color: var(--gold); }
.ph-crumb a:hover { color: var(--gold-bright); text-decoration: none; }
.ph-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}
.ph-kicker .dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); vertical-align: middle; margin: 0 8px 2px; }
.ph-kicker .dim { color: rgba(255, 255, 255, 0.5); }
.ph-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: #fff;
  max-width: 17em;
}
.ph-title em { font-style: italic; font-weight: 500; color: var(--gold); }
.ph-dek {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 40em;
  margin: 0 0 32px;
}
.ph-dek strong, .ph-dek b { color: #fff; font-weight: 600; }
.ph-dek a { color: var(--gold); }
.page-hero .ph-inner > :last-child { margin-bottom: 0; }

/* hero stat strip — one row; auto-flow column keeps N stats side by side */
.ph-stats {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.ph-stat:first-child { padding-right: 40px; }
.ph-stat { padding: 28px 30px 28px 0; }
.ph-stat + .ph-stat { padding-left: 30px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.ph-stat .l {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}
.ph-stat .v {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}
.ph-stat:first-child .v { font-size: 3.4rem; }
.ph-stat .v .u { color: var(--gold); }
.ph-stat .s { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); margin-top: 8px; }

/* hero buttons + byline */
.ph-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 0; }
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--gold);
  color: var(--ink) !important;
  border: none;
  padding: 14px 26px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-gold:hover { background: var(--gold-bright); text-decoration: none; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  padding: 13px 22px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff !important;
  transition: border-color 0.15s;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: #fff !important;
  border: none;
  padding: 14px 26px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-navy:hover { background: var(--navy-700); text-decoration: none; }
.ph-byline { margin-top: 30px; font-family: var(--mono); font-size: 0.72rem; color: rgba(255, 255, 255, 0.45); letter-spacing: 0.02em; }

/* home hero: two columns with figure rail */
.ph-cols { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.ph-rail {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
}
.ph-rail-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.ph-rail-fig {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.6rem, 7.5vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #fff;
  white-space: nowrap;
}
.ph-rail-fig .u { color: var(--gold); }
.ph-rail-rows { display: flex; flex-direction: column; gap: 10px; font-family: var(--mono); font-size: 0.76rem; color: rgba(255, 255, 255, 0.65); }
.ph-rail-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}
.ph-rail-rows > div:last-child { border-bottom: none; padding-bottom: 0; }
.ph-rail-rows b { color: #fff; font-weight: 600; }

/* ---------- numbered section heads ---------- */
.section { max-width: 1240px; margin: 0 auto; padding: 64px 40px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}
.section-head.no-rule { border-top: none; padding-top: 0; }
.sec-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 12px;
}
.sec-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.sec-link { font-size: 0.92rem; font-weight: 600; color: var(--navy-700); white-space: nowrap; }
.sec-note { font-family: var(--mono); font-size: 0.72rem; color: var(--faint); white-space: nowrap; }

/* ---------- story cards ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
a.scard, a.lead-story { text-decoration: none; }
.scard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); border-color: var(--gold); }
.scard-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scard-cat {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}
.scard-fig { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: #C6CCD8; white-space: nowrap; }
.scard-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.scard-dek { font-size: 0.89rem; line-height: 1.55; color: var(--secondary); margin: 0; flex: 1; }
.scard-meta { font-family: var(--mono); font-size: 0.7rem; color: var(--faint); padding-top: 6px; }

.lead-story {
  grid-column: 1 / -1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}
.lead-story:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -30px rgba(11, 27, 59, 0.45); border-color: var(--gold); }
.lead-story .ls-body { display: flex; flex-direction: column; gap: 16px; }
.lead-story .scard-title { font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.1; letter-spacing: -0.015em; }
.lead-story .scard-dek { font-size: 1.02rem; line-height: 1.6; max-width: 36em; flex: none; }
.ls-fig {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.4rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #E3E8F1;
  text-align: right;
  white-space: nowrap;
}

/* lead story with article art: image left, story right */
.lead-story.has-img {
  grid-template-columns: 0.52fr 1fr;
  padding: 20px;
  gap: 40px;
}
.lead-story.has-img .ls-body { padding-right: 24px; }
.ls-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.lead-story.has-img .scard-cat { display: flex; align-items: center; gap: 6px; }
@media (max-width: 700px) {
  .lead-story.has-img { grid-template-columns: 1fr; padding: 16px; gap: 20px; }
  .lead-story.has-img .ls-body { padding: 8px 8px 12px; }
  .ls-img { min-height: 0; height: auto; }
}

/* ---------- dark discoveries band ---------- */
.dark-band { background: var(--grad-navy); margin-top: 56px; }
.band-inner { max-width: 1240px; margin: 0 auto; padding: 72px 40px; }
.dark-band .section-head { border-top: none; padding-top: 0; }
.dark-band .sec-title { color: #fff; }
.dark-band .sec-kicker { color: var(--gold); }
.disc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.disc-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.disc-card .k {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.disc-fig {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}
.disc-card p { font-size: 0.89rem; line-height: 1.5; color: rgba(255, 255, 255, 0.7); margin: 0; }

/* ---------- trending vendors + spotlight duo ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.duo .section-head { border-top: none; padding-top: 0; margin-bottom: 28px; }
.duo .sec-title { font-size: 1.7rem; }
.vendor-list { background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; }
.vrow {
  display: grid;
  grid-template-columns: 26px 1fr 64px 84px 70px;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
}
.vrow:hover { background: #F7F9FC; text-decoration: none; }
.vrow .rank { font-family: var(--mono); font-size: 0.78rem; color: #B4BBC8; }
.vrow .name { font-size: 0.93rem; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vrow .track { height: 5px; background: #EFF1F5; border-radius: 999px; overflow: hidden; }
.vrow .track i { display: block; height: 100%; background: var(--navy-700); border-radius: 999px; }
.vrow .amt { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--ink); text-align: right; }
.vrow .chg { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; text-align: right; }
.vrow .chg.up { color: var(--green); }
.vrow .chg.down { color: var(--red); }
.vendor-list .vl-more {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  padding: 15px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-700);
  font-weight: 500;
}
.vendor-list .vl-more:hover { background: #F7F9FC; text-decoration: none; }

.spot-card {
  background: linear-gradient(180deg, #0E2350 0%, #0A1830 100%);
  border-radius: 18px;
  padding: 36px;
  color: #fff;
  box-shadow: 0 28px 60px -34px rgba(11, 27, 59, 0.55);
}
.spot-fig-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; flex-wrap: wrap; }
.spot-fig { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 4.5vw, 4rem); line-height: 1; letter-spacing: -0.02em; }
.spot-fig .u { color: var(--gold); }
.spot-yoy { font-family: var(--mono); font-size: 0.74rem; }
.spot-yoy.up { color: var(--green-bright); }
.spot-yoy.down { color: var(--red-soft); }
.spot-sub {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
}
.spot-track { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; margin-bottom: 24px; }
.spot-track i { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.spot-card p { font-size: 0.93rem; line-height: 1.6; color: rgba(255, 255, 255, 0.78); margin: 0 0 24px; }
.spot-card .spot-link { font-size: 0.9rem; font-weight: 600; color: var(--gold); }
.spot-card .spot-link:hover { color: var(--gold-bright); text-decoration: none; }

/* ---------- dark CTA panel ---------- */
.cta-panel {
  background: var(--navy-900);
  border-radius: 22px;
  padding: 56px 60px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  color: #fff;
}
.cta-panel .sec-kicker { color: var(--gold); margin-bottom: 16px; }
.cta-panel h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #fff;
}
.cta-panel p { font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.75); margin: 0; max-width: 34em; }
.cta-panel .cta-side { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta-panel .cta-note { font-family: var(--mono); font-size: 0.7rem; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.03em; }

/* ---------- department bar rows ---------- */
.dept-rows { display: flex; flex-direction: column; }
.drow {
  display: grid;
  grid-template-columns: 240px 1fr 120px;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  text-decoration: none;
}
.drow:hover { text-decoration: none; }
.drow:hover .dr-name { color: var(--navy-700); }
.dr-name { font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.dr-track { height: 12px; background: #EFF1F5; border-radius: 999px; overflow: hidden; }
.dr-track i { display: block; height: 100%; background: #9DAAC4; border-radius: 999px; }
.dr-track i.top { background: var(--navy-700); }
.dr-val { text-align: right; }
.dr-val b { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.dr-val span { font-family: var(--mono); font-size: 0.68rem; color: var(--faint); display: block; }

/* ---------- dark callout (biggest payment) ---------- */
.callout-dark {
  background: linear-gradient(180deg, #0E2350 0%, #0A1830 100%);
  border-radius: 18px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  color: #fff;
  box-shadow: 0 28px 60px -36px rgba(11, 27, 59, 0.55);
}
.callout-dark .k {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.callout-dark h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: #fff;
}
.callout-dark p { font-size: 0.95rem; line-height: 1.6; color: rgba(255, 255, 255, 0.72); margin: 0; }
.callout-fig {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.2rem, 7vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.callout-fig .u { color: var(--gold); }

/* ---------- explore tiles ---------- */
.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
a.explore-tile { text-decoration: none; }
.explore-tile {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 22px;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  display: block;
}
.explore-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(11, 27, 59, 0.4); border-color: var(--gold); }
.explore-tile .idx { font-family: var(--mono); font-size: 0.7rem; color: #C6CCD8; margin-bottom: 14px; }
.explore-tile .t { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 6px; }
.explore-tile .s { font-size: 0.8rem; color: #7A8496; }

/* ---------- category chips (blog hub) ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------- homepage FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow);
}
.faq-item h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--ink);
}
.faq-item p { font-size: 0.95rem; line-height: 1.65; color: var(--body-text); margin: 0; }
@media (max-width: 800px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- FOIA call-to-action bubble ---------- */
.foia-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: #F3EAD8;
  border: 1px solid #E2D3B4;
  border-radius: 14px;
  padding: 20px 24px;
  margin: 28px 0;
}
.foia-cta .fc-ic {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.foia-cta .fc-ic .ic { width: 22px; height: 22px; }
.foia-cta .fc-body { flex: 1; min-width: 240px; font-size: 1rem; line-height: 1.55; color: #4A3B22; }
.foia-cta .fc-body strong { color: var(--ink); }
.foia-cta .fc-btn {
  background: var(--ink);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 22px;
  border-radius: 10px;
  white-space: nowrap;
}
.foia-cta .fc-btn:hover { background: var(--navy-700); text-decoration: none; }
.foia-wrap { padding-top: 0 !important; padding-bottom: 40px !important; }

/* ---------- bottom source row ---------- */
.source-row {
  border-top: 1px solid var(--border);
  padding-top: 36px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.source-row p { font-size: 0.92rem; line-height: 1.6; color: var(--secondary); margin: 0; max-width: 44em; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .ph-cols { grid-template-columns: 1fr; gap: 40px; }
  .ph-rail { border-left: none; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 28px; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .disc-grid { grid-template-columns: 1fr 1fr; }
  .duo { grid-template-columns: 1fr; gap: 48px; }
  .explore-grid { grid-template-columns: 1fr 1fr; }
  .cta-panel { grid-template-columns: 1fr; padding: 40px 36px; }
  .ph-stats { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .ph-stat:first-child { grid-column: 1 / -1; border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding-right: 0; }
}
@media (max-width: 700px) {
  .ph-inner { padding: 44px 20px 40px; }
  .section { padding: 44px 20px 0; }
  .band-inner { padding: 48px 20px; }
  .story-grid { grid-template-columns: 1fr; }
  .disc-grid { grid-template-columns: 1fr; }
  .lead-story { grid-template-columns: 1fr; padding: 28px 24px; }
  .ls-fig { text-align: left; font-size: 2.6rem; }
  .ph-stats { grid-auto-flow: row; grid-template-columns: 1fr; }
  .ph-stat { padding: 20px 0; }
  .ph-stat + .ph-stat { padding-left: 0; border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .drow { grid-template-columns: 1fr 90px; }
  .drow .dr-track { display: none; }
  .callout-dark { grid-template-columns: 1fr; padding: 30px 26px; }
  .callout-fig { font-size: 2.8rem; }
  .vrow { grid-template-columns: 26px 1fr 84px; }
  .vrow .track, .vrow .chg { display: none; }
  .page-wrap { padding: 24px 16px 48px; }
}

/* ---------- icons (Lucide, lucide.dev — ISC license) ---------- */
.ic { width: 1em; height: 1em; vertical-align: -0.15em; flex: none; }
.sec-kicker { display: flex; align-items: center; gap: 7px; }
.sec-kicker .ic { width: 14px; height: 14px; }
.scard-cat { display: inline-flex; align-items: center; gap: 6px; }
.scard-cat .ic { width: 13px; height: 13px; }
.disc-card .k { display: inline-flex; align-items: center; gap: 7px; }
.disc-card .k .ic { width: 14px; height: 14px; }
.foot-head { display: flex; align-items: center; gap: 7px; }
.foot-head .ic { width: 13px; height: 13px; }
.tile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tile-top .idx { margin-bottom: 0; }
.tile-ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(245, 197, 24, 0.16);
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, color 0.16s;
}
.tile-ic .ic { width: 19px; height: 19px; }
.explore-tile:hover .tile-ic { background: var(--gold); color: var(--ink); }
.source-row .src-ic .ic { width: 15px; height: 15px; margin-right: 9px; vertical-align: -0.2em; color: var(--gold-deep); }
.fact-label { display: inline-flex; align-items: center; gap: 7px; }
.fact-label .ic { width: 14px; height: 14px; }
.post-card .tag { display: inline-flex; align-items: center; gap: 6px; }
.post-card .tag .ic { width: 13px; height: 13px; }

/* ---------- large-monitor scaling (1440p+ / 4K) ---------- */
@media (min-width: 1800px) {
  html { font-size: 17.5px; }
  .topbar, .sub-nav, .foot-grid, .foot-bottom .inner, .tab { max-width: 1560px; }
  .ph-inner, .section, .band-inner, .page-wrap { max-width: 1520px; }
  .search-inner { max-width: 1000px; }
  .article-wrap { max-width: 880px; }
  .page-hero::after { font-size: 760px; }
}
@media (min-width: 2400px) {
  html { font-size: 19px; }
  .topbar, .sub-nav, .foot-grid, .foot-bottom .inner, .tab { max-width: 1800px; }
  .ph-inner, .section, .band-inner, .page-wrap { max-width: 1760px; }
  .search-inner { max-width: 1120px; }
  .article-wrap { max-width: 980px; }
}

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

/* curated "Who they are" panel on top-vendor pages */
.who-panel { border-left-color: var(--navy-700); }
.who-panel .k { color: var(--navy-700); }
.about-panel + .about-panel { margin-top: 20px; }
