:root {
  --navy: #2F3B51;
  --navy-deep: #1A2233;
  --navy-mid: #3D4A63;
  --gold: #F0E860;
  --gold-soft: #F7F1B8;
  --gold-deep: #C4B43A;
  --rust: #A03028;
  --rust-soft: #F3E4E2;
  --cream: #F6F5F2;
  --paper: #FFFFFF;
  --ink: #151515;
  --muted: #5C6570;
  --line: #E6E2D9;
  --line-strong: #D0CBBE;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(26,34,51,.04), 0 8px 24px rgba(26,34,51,.06);
  --shadow-lg: 0 12px 40px rgba(26,34,51,.1);
  --max: 1120px;
  --sans: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --space: 8px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--cream);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rust); }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  background: var(--navy-deep); color: #fff;
  border-bottom: 3px solid var(--gold);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; padding: 0.7rem 0; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 0.85rem; color: inherit; text-decoration: none; }
.brand img.mascot { height: 54px; width: 54px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--display); font-size: 1.15rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.brand-text strong .gold { color: var(--gold); }
.brand-text > span {
  font-size: 0.65rem; color: rgba(240,232,96,.85); text-transform: uppercase;
  letter-spacing: 0.12em; margin-top: 0.2rem; font-weight: 500;
}
.nav { display: flex; gap: 0.15rem 1rem; flex-wrap: wrap; align-items: center; }
.nav a {
  color: rgba(255,255,255,.88); text-decoration: none; font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.02em; padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

/* Hero — compact + JBC lead */
.hero {
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 70%);
  color: #fff; padding: 2.75rem 0 0; border-bottom: none; position: relative;
}
.hero-top {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: start;
  padding-bottom: 2rem;
}
@media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; } }
.eyebrow {
  display: inline-block; color: var(--gold); font-size: 0.7rem;
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin-bottom: 0.65rem;
}
.hero h1 {
  font-family: var(--display); font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.02; margin: 0 0 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.hero h1 .gold { color: var(--gold); }
.tagline-pdf {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,.7); margin: 0 0 1rem; font-weight: 500;
}
.tagline-pdf .rust { color: #E8A09A; font-weight: 700; }
.hero p.lede {
  font-size: 1.05rem; color: rgba(255,255,255,.88); margin: 0 0 1.35rem;
  max-width: 34rem; line-height: 1.5;
}
.hero-actions { display: flex; gap: 0.65rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-banner {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(240,232,96,.25); box-shadow: var(--shadow-lg);
  background: #fff; max-width: 420px;
}
.signup-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(240,232,96,.28);
  border-radius: var(--radius); padding: 1.25rem;
}
.signup-card h2 { font-family: var(--serif); font-size: 1.15rem; margin: 0 0 0.4rem; font-weight: 600; }
.signup-card p { margin: 0 0 0.9rem; color: rgba(255,255,255,.75); font-size: 0.88rem; }
.signup-form { display: grid; gap: 0.5rem; }
.signup-form label { font-size: 0.7rem; color: var(--gold); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.signup-form input {
  width: 100%; padding: 0.7rem 0.85rem; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.25); color: #fff; font: inherit;
}
.note-muted { font-size: 0.7rem; color: rgba(255,255,255,.5); margin-top: 0.4rem; }

/* JBC dashboard strip under hero */
.jbc-dash {
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow-lg);
  margin-top: 0.5rem; overflow: hidden;
  border: 1px solid var(--line); border-bottom: none;
}
.jbc-dash-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; flex-wrap: wrap;
  padding: 1.35rem 1.5rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #FFFEF5 0%, var(--paper) 100%);
}
.jbc-dash-head h2 {
  font-family: var(--display); font-size: 1.35rem; margin: 0;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--navy); font-weight: 600;
}
.jbc-dash-head .jbc-explainer {
  margin: 0.35rem 0 0; font-size: 0.92rem; color: var(--muted); font-style: italic; max-width: 36rem;
}
.phase-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--navy); color: var(--gold); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.45rem 0.75rem;
  border-radius: 999px; white-space: nowrap;
}
.phase-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5CDA8A; box-shadow: 0 0 0 3px rgba(92,218,138,.25); }
.jbc-dash-body {
  display: grid; grid-template-columns: 1.15fr 0.95fr 0.9fr; gap: 0;
}
@media (max-width: 960px) { .jbc-dash-body { grid-template-columns: 1fr; } }
.jbc-col { padding: 1.25rem 1.5rem; border-right: 1px solid var(--line); }
.jbc-col:last-child { border-right: none; }
@media (max-width: 960px) {
  .jbc-col { border-right: none; border-bottom: 1px solid var(--line); }
  .jbc-col:last-child { border-bottom: none; }
}
.jbc-col h3 {
  font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--rust); margin: 0 0 0.85rem; font-weight: 600;
}
.metric {
  margin-bottom: 1rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--line);
}
.metric:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.metric .val {
  font-family: var(--display); font-size: 1.55rem; color: var(--navy);
  letter-spacing: 0.02em; line-height: 1.1; font-weight: 600;
}
.metric .label { font-size: 0.84rem; color: var(--muted); margin-top: 0.2rem; }
.metric .cite { font-size: 0.72rem; color: var(--muted); margin-top: 0.25rem; }
.metric .cite a { color: var(--navy-mid); }
.member-list { list-style: none; margin: 0; padding: 0; }
.member-list li {
  display: flex; justify-content: space-between; gap: 0.5rem;
  padding: 0.4rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem;
}
.member-list li:last-child { border-bottom: none; }
.member-list .role { color: var(--muted); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.upcoming { list-style: none; margin: 0; padding: 0; }
.upcoming li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.upcoming li:last-child { border-bottom: none; }
.upcoming .when { font-weight: 700; color: var(--navy); display: block; font-size: 0.8rem; letter-spacing: 0.03em; }
.upcoming .what { color: var(--muted); }
.jbc-dash-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 1.5rem; background: var(--cream); border-top: 1px solid var(--line);
}
.bb-excerpt { font-size: 0.9rem; color: var(--muted); max-width: 48rem; margin: 0; }
.bb-excerpt strong { color: var(--navy); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  padding: 0.65rem 1.1rem; border-radius: 6px; border: none; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 0.88rem; text-decoration: none; transition: .15s ease;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #fff6a8; color: var(--navy-deep); }
.btn-rust { background: var(--rust); color: #fff; }
.btn-rust:hover { background: #b83c34; color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 0.5rem 0.85rem; font-size: 0.8rem; }

/* Sections */
.section { padding: 3rem 0; }
.section-alt { background: var(--paper); }
.section-tight { padding: 2.25rem 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 1rem;
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.section-head h2, .page-title-bar h1 {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 600;
}
.section-head h2 { font-size: 1.45rem; margin: 0; color: var(--navy); }
.section-head p { margin: 0.3rem 0 0; color: var(--muted); max-width: 40rem; font-size: 0.95rem; }
.section-kicker {
  color: var(--rust); font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700; margin: 0 0 0.35rem;
}
.jbc-explainer { font-size: 0.92rem; color: var(--muted); margin: 0.3rem 0 0; font-style: italic; }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.card-body { padding: 1.25rem 1.35rem; }
.card-meta { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.45rem; letter-spacing: 0.02em; }
.card h3 { font-family: var(--serif); margin: 0 0 0.45rem; font-size: 1.15rem; color: var(--navy); font-weight: 600; }
.card p { margin: 0 0 0.7rem; color: var(--muted); font-size: 0.94rem; }
.card .tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.7rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 820px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.18rem 0.5rem; border-radius: 999px; background: var(--gold-soft); color: var(--navy);
}
.tag-outline { background: transparent; border: 1px solid var(--line-strong); color: var(--muted); }

/* Elegant presented-by */
.presented-by {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.75rem;
  min-height: 100%;
}
.presented-by .kicker {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: var(--muted); margin: 0;
}
.presented-by .slot {
  flex: 1; display: grid; place-items: center; text-align: center;
  border: 1px solid var(--line); border-radius: 6px; background: var(--cream);
  padding: 2rem 1rem; color: var(--muted); font-size: 0.9rem;
}
.presented-by .slot strong { display: block; color: var(--navy); font-family: var(--serif); margin-bottom: 0.25rem; font-size: 1rem; }

.source-cite {
  font-size: 0.78rem; color: var(--muted); border-left: 2px solid var(--gold-deep);
  padding-left: 0.75rem; margin: 1rem 0 0; line-height: 1.45;
}
.source-cite a { color: var(--navy-mid); }

.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin: 1rem 0; }
.stat-box { background: var(--rust); color: #fff; border-radius: 6px; padding: 0.7rem 0.9rem; text-align: center; }
.stat-box strong { display: block; font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.04em; }
.stat-box span { font-size: 0.72rem; opacity: 0.9; }

/* Issue pages */
.issue-hero {
  background: var(--navy); color: #fff; padding: 2.25rem 0 1.75rem;
  border-bottom: 3px solid var(--gold);
}
.issue-hero h1 {
  font-family: var(--display); margin: 0.3rem 0 0.45rem;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 600;
}
.issue-section {
  margin: 1.5rem 0; padding: 1.5rem; background: var(--paper);
  border-radius: var(--radius); border: 1px solid var(--line); border-top: 3px solid var(--rust);
}
.issue-section.budget { border-top-color: var(--gold-deep); }
.issue-section h2 {
  font-family: var(--display); color: var(--navy); margin: 0; font-size: 1.25rem;
  letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600;
}
.issue-section .subtitle { color: var(--rust); font-style: italic; margin: 0.35rem 0 1rem; font-family: var(--serif); }
.issue-section p { margin: 0 0 0.9rem; }
.issue-section p:last-child { margin-bottom: 0; }
.attr { margin-top: 1.5rem; padding: 1rem 1.15rem; background: var(--gold-soft); border-radius: var(--radius); font-size: 0.88rem; }

/* Laws */
.filters {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end;
  padding: 1rem 1.15rem; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 1.15rem;
}
.filters .field { display: flex; flex-direction: column; gap: 0.25rem; min-width: 150px; }
.filters label { font-size: 0.68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.filters select { padding: 0.5rem 0.65rem; border-radius: 6px; border: 1px solid var(--line); font: inherit; background: var(--cream); }
.law-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
table.laws { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.laws th, table.laws td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.laws th { background: var(--navy); color: #fff; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
table.laws tr:hover td { background: #FFFEF5; }
table.laws .bill { font-weight: 700; color: var(--navy); white-space: nowrap; }
.empty-state { padding: 2rem; text-align: center; color: var(--muted); }

/* Timeline / glossary */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 1.25rem 1.35rem; border-left: 2px solid var(--gold-deep); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -5px; top: 0.35rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold); border: 2px solid var(--navy);
}
.timeline strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 0.98rem; }
.timeline span { color: var(--muted); font-size: 0.88rem; }
.bb-update {
  background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--rust);
  border-radius: var(--radius); padding: 1rem 1.15rem; margin-bottom: 0.75rem;
}
.bb-update .meta {
  font-size: 0.72rem; color: var(--muted); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.35rem;
}
.glossary { display: grid; gap: 0.75rem; }
.glossary dt {
  font-family: var(--display); font-size: 0.85rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--navy); font-weight: 600; margin: 0;
}
.glossary dd { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.92rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.glossary dd:last-child { border-bottom: none; }

.archive-list { display: grid; gap: 0.65rem; }
.archive-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
  padding: 0.95rem 1.1rem; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: inherit; transition: .15s ease;
}
.archive-item:hover { border-color: var(--gold-deep); box-shadow: var(--shadow); }
.archive-num {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: grid; place-items: center; font-weight: 600; font-family: var(--display); font-size: 0.9rem;
}
.archive-item h3 { margin: 0; font-size: 1rem; font-family: var(--serif); color: var(--navy); font-weight: 600; }
.archive-item p { margin: 0.15rem 0 0; font-size: 0.82rem; color: var(--muted); }
.archive-link { font-size: 0.8rem; font-weight: 700; color: var(--rust); white-space: nowrap; }

.price-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.price-table th, .price-table td { padding: 0.9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { background: var(--navy); color: #fff; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.price-table .price { font-weight: 800; color: var(--rust); font-size: 1.05rem; white-space: nowrap; }
.price-table .note { font-size: 0.78rem; color: var(--muted); }
.intro-badge {
  display: inline-block; background: var(--gold); color: var(--navy-deep);
  font-size: 0.68rem; font-weight: 800; padding: 0.2rem 0.55rem; border-radius: 999px;
  letter-spacing: 0.05em; text-transform: uppercase;
}

.page-title-bar { background: var(--navy); color: #fff; padding: 2.25rem 0; border-bottom: 3px solid var(--gold); }
.page-title-bar h1 { margin: 0.25rem 0 0.4rem; font-size: clamp(1.55rem, 3vw, 2.1rem); }
.page-title-bar p { margin: 0; color: rgba(255,255,255,.85); max-width: 44rem; font-size: 0.98rem; }
.prose { max-width: 52rem; }
.prose h2 {
  font-family: var(--display); color: var(--navy); margin-top: 2.25rem;
  text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.25rem; font-weight: 600;
}
.prose h3 { font-family: var(--serif); color: var(--navy-mid); font-size: 1.05rem; }

.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,.88);
  padding: 2.5rem 0 1.35rem; margin-top: 0; border-top: 3px solid var(--gold);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 1.75rem; margin-bottom: 1.75rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 {
  font-family: var(--display); color: var(--gold); margin: 0 0 0.7rem;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}
.site-footer a { color: var(--gold); }
.site-footer p, .site-footer li { font-size: 0.86rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.28rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.74rem; color: rgba(255,255,255,.5);
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; }
.footer-brand img { width: 42px; height: 42px; opacity: 0.95; }
.editor-line { margin: 0.3rem 0; }

.placeholder {
  border: 1px dashed var(--line-strong); background: var(--cream);
  border-radius: var(--radius); padding: 1.25rem; text-align: center;
}
.placeholder strong { display: block; color: var(--navy); font-family: var(--serif); margin-bottom: 0.3rem; }
.placeholder span { color: var(--muted); font-size: 0.9rem; }
