:root {
  color-scheme: light;
  --ink: #13211d;
  --muted: #5d6d67;
  --paper: #fffdf8;
  --soft: #f1f4ed;
  --line: #d9dfd5;
  --accent: #176b52;
  --accent-dark: #0d4937;
  --warm: #d8f06a;
  --closed: #8a4b42;
  --shadow: 0 18px 55px rgba(26, 48, 39, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
button, input, select { font: inherit; }
.wrap { width: min(1160px, calc(100% - 32px)); margin: auto; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 8px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--warm);
}
.nav-links { display: flex; gap: 16px; overflow: auto; }
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(circle at 85% 15%, rgba(216, 240, 106, .45), transparent 25%),
    linear-gradient(180deg, #f5f7ef 0%, var(--paper) 100%);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 850px; margin: 0; font-size: clamp(38px, 7vw, 76px); }
.hero-copy { max-width: 740px; margin: 22px 0 0; color: var(--muted); font-size: 19px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 26px 0;
}
.hub-link {
  min-height: 108px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(26, 48, 39, .04);
}
.hub-link:hover { border-color: var(--accent); transform: translateY(-1px); }
.hub-link b { display: block; margin-bottom: 8px; }
.hub-link span { color: var(--muted); font-size: 13px; }
.catalog { padding: 26px 0 72px; }
.catalog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.catalog-head h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); }
.catalog-head p { margin: 8px 0 0; color: var(--muted); }
.result-count { color: var(--muted); font-weight: 800; white-space: nowrap; }
.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 210px 180px;
  gap: 10px;
  margin-bottom: 20px;
}
.filters label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.filters input, .filters select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.filters input:focus, .filters select:focus, a:focus-visible {
  outline: 3px solid rgba(23, 107, 82, .22);
  outline-offset: 2px;
}
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.program-card {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(26, 48, 39, .05);
}
.program-card[hidden] { display: none; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tag {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.status-open { background: #e2f2dc; color: #285a2e; }
.status-closed { background: #f4e4df; color: var(--closed); }
.status-watch { background: #f6efcf; color: #705c18; }
.program-card h2 { margin: 18px 0 8px; font-size: 22px; }
.program-card h2 a { color: var(--ink); text-decoration: none; }
.program-card h2 a:hover { color: var(--accent); }
.company { margin: 0 0 12px; color: var(--accent); font-weight: 800; }
.summary-copy { margin: 0; color: var(--muted); font-size: 14px; }
.card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: auto 0 0;
  padding-top: 18px;
}
.card-meta div { min-width: 0; }
.card-meta dt { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.card-meta dd { margin: 2px 0 0; overflow: hidden; font-size: 13px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.empty {
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}
.breadcrumb { padding: 24px 0 0; color: var(--muted); font-size: 14px; }
.breadcrumb a { color: var(--muted); }
.detail { padding: 38px 0 80px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 30px; }
.detail h1 { max-width: 880px; font-size: clamp(34px, 6vw, 64px); }
.detail-lead { max-width: 780px; color: var(--muted); font-size: 19px; }
.detail-section { margin-top: 34px; }
.detail-section h2 { margin-bottom: 12px; font-size: 24px; }
.detail-section p { color: var(--muted); }
.facts {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.facts dd { margin: 4px 0 0; font-weight: 750; overflow-wrap: anywhere; }
.source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}
.source-link:hover { background: var(--accent-dark); color: #fff; }
.site-footer { padding: 30px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; }
.site-footer a { color: var(--muted); }
@media (max-width: 980px) {
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .wrap { width: min(100% - 22px, 1160px); }
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .nav-links { width: 100%; padding-bottom: 2px; }
  .hero { padding: 46px 0 34px; }
  .hero-copy { font-size: 17px; }
  .hub-grid, .program-grid, .filters { grid-template-columns: 1fr; }
  .catalog-head, .footer-row { align-items: flex-start; flex-direction: column; }
  .program-card { min-height: 0; }
}
