:root {
  --ink: #0d2745;
  --muted: #4f6174;
  --paper: #fffdf9;
  --surface: #ffffff;
  --soft: #f8f3ee;
  --line: #ebe1d7;
  --coral: #f45a3f;
  --coral-dark: #df452c;
  --blue-soft: #eef3f8;
  --shadow: 0 24px 80px rgba(13, 39, 69, 0.08);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --navy: var(--ink);
  --slate: var(--muted);
  --white: var(--surface);
}

.expenditure-shell {
  padding: 44px 6vw 70px;
}

.expenditure-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 34px;
  align-items: stretch;
  padding: 34px 0 24px;
}

.expenditure-hero h1 {
  max-width: 960px;
  margin: 22px 0 18px;
  font-family: var(--serif);
  font-size: clamp(54px, 7vw, 108px);
  line-height: 0.92;
  color: var(--navy);
  letter-spacing: 0;
}

.expenditure-hero h1 span {
  color: var(--coral);
}

.expenditure-hero .summary {
  max-width: 810px;
  color: var(--slate);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.45;
}

.expenditure-hero-card,
.expenditure-chart-card,
.expenditure-sidebar,
.expenditure-results,
.expenditure-transactions-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(13, 38, 67, 0.06);
}

.expenditure-hero-card {
  padding: 28px;
  align-self: end;
}

.expenditure-hero-card h2 {
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: 0;
}

.expenditure-hero-card p:last-child {
  color: var(--slate);
  line-height: 1.55;
}

.expenditure-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 16px;
  margin: 10px 0 24px;
}

.expenditure-stats article {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.expenditure-stats strong {
  display: block;
  color: var(--navy);
  font-size: clamp(24px, 2.45vw, 38px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.expenditure-stats span {
  display: block;
  margin-top: 8px;
  color: var(--slate);
  font-weight: 800;
}

.expenditure-charts {
  display: grid;
  grid-template-columns: minmax(360px, 1.2fr) minmax(300px, 0.9fr) minmax(320px, 0.9fr);
  gap: 18px;
  margin-bottom: 22px;
}

.expenditure-chart-card {
  padding: 20px;
  min-height: 0;
}

.expenditure-chart-card .directory-head {
  align-items: start;
  gap: 12px;
}

.expenditure-chart-card .directory-head h2 {
  font-size: clamp(23px, 1.8vw, 30px);
  line-height: 1.08;
}

.expenditure-chart-card .directory-head > span {
  flex: 0 0 auto;
  white-space: nowrap;
}

.expenditure-bars {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.expenditure-bar-row {
  display: grid;
  gap: 8px;
}

.expenditure-bar-label {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
}

.expenditure-bar-label strong {
  color: var(--navy);
}

.expenditure-bar-label span {
  color: var(--slate);
  font-size: 14px;
  font-weight: 800;
  text-align: right;
}

.expenditure-bar-track {
  height: 12px;
  background: #f1ece5;
  border-radius: 999px;
  overflow: hidden;
}

.expenditure-bar-track i {
  display: block;
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
}

.donut-wrap {
  display: grid;
  gap: 16px;
  justify-items: center;
  margin-top: 16px;
}

.donut-chart {
  width: min(180px, 58vw);
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 0 0 1px var(--line);
}

.donut-chart::after {
  content: "";
  position: absolute;
  inset: 23%;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
}

.donut-legend {
  display: grid;
  gap: 8px;
  width: 100%;
  max-height: 156px;
  overflow: auto;
}

.donut-legend div {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 10px;
  align-items: center;
  color: var(--slate);
  font-weight: 800;
  font-size: 14px;
}

.donut-legend i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.donut-legend strong {
  color: var(--navy);
}

.period-chart {
  display: grid;
  gap: 14px;
  min-height: 0;
  margin-top: 18px;
}

.period-column {
  display: grid;
  grid-template-columns: 72px minmax(96px, 1fr) minmax(96px, auto);
  gap: 8px;
  align-items: center;
  color: var(--slate);
  font-weight: 800;
  font-size: 12px;
}

.period-column-bar {
  height: 14px;
  display: block;
  background: #f7f2ec;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.period-column-bar i {
  display: block;
  height: 100%;
  min-width: 5px;
  border-radius: inherit;
}

.period-column strong {
  color: var(--navy);
  white-space: nowrap;
}

.period-column span {
  text-align: right;
  white-space: nowrap;
}

.expenditure-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(4, minmax(170px, 0.7fr));
  gap: 14px;
  align-items: end;
  margin: 18px 0;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.expenditure-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.62fr) minmax(0, 1.38fr);
  gap: 20px;
  align-items: start;
}

.expenditure-sidebar,
.expenditure-results,
.expenditure-transactions-panel {
  padding: 24px;
}

.expenditure-sidebar {
  position: sticky;
  top: 92px;
}

.vendor-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.vendor-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.vendor-card:hover,
.vendor-card.selected {
  transform: translateY(-2px);
  border-color: rgba(243, 90, 66, 0.65);
  box-shadow: 0 18px 42px rgba(13, 38, 67, 0.08);
}

.vendor-card-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.vendor-symbol {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #f8eee9;
  color: var(--coral);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.vendor-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: 0;
}

.vendor-card p {
  margin: 8px 0 0;
  color: var(--slate);
  font-weight: 800;
}

.vendor-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.vendor-card-metrics span,
.vendor-profile-metrics article {
  padding: 12px;
  background: #fbf8f4;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 800;
}

.vendor-card-metrics strong,
.vendor-profile-metrics strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0;
}

.vendor-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vendor-chip-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--slate);
  background: #fbf8f4;
  font-size: 13px;
  font-weight: 800;
}

.vendor-profile h2 {
  margin: 8px 0 14px;
  font-family: var(--serif);
  color: var(--navy);
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: 0;
}

.vendor-profile > p {
  color: var(--slate);
  line-height: 1.55;
}

.vendor-context-badge,
.vendor-context-note {
  margin-top: 14px;
  border: 1px solid rgba(243, 90, 66, 0.28);
  border-radius: 8px;
  background: #fff4ef;
  color: var(--coral-dark);
  font-weight: 900;
}

.vendor-context-badge {
  display: inline-flex;
  padding: 7px 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vendor-context-note {
  display: grid;
  gap: 6px;
  padding: 12px;
}

.vendor-context-note span {
  color: var(--slate);
  font-weight: 750;
  line-height: 1.45;
}

.vendor-profile-metrics {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.vendor-profile-section {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.vendor-profile-section h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 18px;
}

.vendor-mini-bars {
  display: grid;
  gap: 12px;
}

.vendor-mini-bars span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--slate);
  font-size: 13px;
}

.vendor-mini-bars strong {
  color: var(--navy);
}

.vendor-mini-bars em {
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.vendor-mini-bars i {
  display: block;
  height: 9px;
  margin-top: 6px;
  background: #f1ece5;
  border-radius: 999px;
  overflow: hidden;
}

.vendor-mini-bars b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--coral);
}

.vendor-table-wrap {
  overflow: auto;
  margin-top: 18px;
}

.table-note {
  margin: 10px 0 0;
  color: var(--slate);
  font-size: 14px;
  font-weight: 750;
}

.vendor-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.vendor-table th,
.vendor-table td {
  padding: 14px 12px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.vendor-table th {
  color: var(--slate);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vendor-table td {
  color: var(--navy);
  font-weight: 800;
}

.vendor-table td div {
  margin-top: 4px;
  color: var(--slate);
  font-weight: 700;
}

.table-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.table-link:hover {
  color: var(--coral);
}

.expenditure-transactions-panel {
  margin-top: 24px;
}

.vendor-detail-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--coral);
  font-size: 14px;
  font-weight: 900;
}

.vendor-detail-link:hover {
  color: var(--coral-dark);
}

.vendor-profile-button {
  width: 100%;
  margin-top: 22px;
}

.vendor-detail-shell {
  padding: 44px 6vw 70px;
}

.vendor-detail-hero {
  padding: 34px 0 24px;
}

.vendor-detail-hero h1 {
  max-width: 980px;
  margin: 18px 0;
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.95;
  color: var(--navy);
  letter-spacing: 0;
}

.vendor-detail-hero h1 span {
  color: var(--coral);
}

.vendor-detail-hero > p:not(.eyebrow) {
  max-width: 860px;
  color: var(--slate);
  font-size: 22px;
  line-height: 1.45;
}

.vendor-detail-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.65fr) minmax(170px, 0.35fr) minmax(170px, 0.35fr);
  gap: 14px;
  align-items: end;
  margin: 18px 0;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.staff-shell,
.staff-profile-shell,
.lobbyist-shell,
.lobbyist-profile-shell {
  padding: 44px 6vw 70px;
}

.staff-toolbar,
.lobbyist-toolbar {
  grid-template-columns: minmax(280px, 1.15fr) repeat(3, minmax(180px, 0.55fr));
}

.staff-grid,
.lobbyist-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.staff-card,
.lobbyist-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(13, 38, 67, 0.04);
}

.lobbyist-card {
  border-color: rgba(244, 90, 63, 0.24);
}

.staff-card-main {
  min-width: 0;
}

.staff-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.staff-meta-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbf8f4;
  color: var(--slate);
  font-size: 12px;
  font-weight: 850;
}

.staff-profile-hero .witness-profile-avatar {
  background: var(--navy);
  color: var(--white);
}

.staff-role-list {
  display: grid;
  gap: 14px;
}

.staff-role-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.staff-role-list span {
  color: var(--coral);
  font-weight: 900;
}

.staff-role-list h3 {
  margin: 8px 0;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.1;
}

.staff-role-list p {
  margin: 0;
  color: var(--slate);
  font-weight: 800;
}

.staff-role-list small {
  display: block;
  margin-top: 8px;
  color: var(--slate);
  font-weight: 750;
}

.lobbyist-avatar {
  background: #fff5ef;
  color: var(--coral);
}

.lobbyist-avatar img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.lobbyist-profile-hero .lobbyist-avatar {
  background: #fff5ef;
}

.lobbyist-profile-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lobbyist-profile-columns article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.lobbyist-profile-columns h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 24px;
}

.lobbyist-profile-columns p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-weight: 800;
}

.lobbyist-profile-columns strong {
  color: var(--navy);
}

.lobbyist-filing-list {
  display: grid;
  gap: 12px;
}

.lobbyist-filing-list a {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.lobbyist-filing-list a:hover {
  border-color: rgba(244, 90, 63, 0.5);
  box-shadow: 0 14px 34px rgba(13, 38, 67, 0.08);
  transform: translateY(-1px);
}

.lobbyist-filing-list strong {
  color: var(--coral);
}

.lobbyist-filing-list span {
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}

.lobbyist-filing-list small {
  color: var(--slate);
  font-weight: 750;
}

@media (max-width: 1180px) {
  .expenditure-hero,
  .expenditure-layout,
  .vendor-detail-tools,
  .staff-toolbar,
  .lobbyist-toolbar,
  .lobbyist-profile-columns {
    grid-template-columns: 1fr;
  }

  .expenditure-sidebar {
    position: static;
  }

  .expenditure-charts {
    grid-template-columns: 1fr 1fr;
  }

  .expenditure-chart-card.feature-chart {
    grid-column: 1 / -1;
  }

  .expenditure-toolbar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .expenditure-shell {
    padding: 30px 18px 54px;
  }

  .expenditure-hero,
  .expenditure-charts,
  .expenditure-toolbar,
  .expenditure-stats,
  .vendor-card-metrics {
    grid-template-columns: 1fr;
  }

  .expenditure-hero h1 {
    font-size: 48px;
  }

  .expenditure-bar-label,
  .vendor-mini-bars span {
    display: grid;
  }

  .expenditure-bar-label span {
    text-align: left;
  }

  .period-column {
    grid-template-columns: 72px 1fr;
  }

  .period-column span {
    grid-column: 2;
    text-align: left;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(235, 225, 215, 0.72);
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1210px, calc(100% - 64px));
  min-height: 88px;
  margin: 0 auto;
}

.brand {
  display: block;
  width: 158px;
  line-height: 0;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links,
.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 34px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  opacity: 0.92;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--coral);
}

.nav-links a.active {
  color: var(--coral);
}

.nav-actions,
.hero-actions {
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--coral);
  border-radius: 5px;
  background: var(--coral);
  color: var(--surface);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(244, 90, 63, 0.18);
}

.button:hover {
  border-color: var(--coral-dark);
  background: var(--coral-dark);
}

.button.secondary {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--blue-soft);
}

.button.navy {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 10px 22px rgba(13, 39, 69, 0.18);
}

.button.large {
  min-height: 52px;
  padding: 0 24px;
}

main {
  width: min(1210px, calc(100% - 64px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(430px, 0.88fr) minmax(420px, 1fr);
  gap: 52px;
  align-items: center;
  min-height: 680px;
  padding: 42px 0 28px;
}

.hero-copy {
  padding-left: 32px;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  font-family: var(--serif);
  font-size: 82px;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--coral);
}

.hero-copy p {
  max-width: 500px;
  margin: 34px 0 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 42px;
}

.hero-art {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background:
    radial-gradient(circle at 40% 43%, transparent 0 45%, rgba(13, 39, 69, 0.13) 45.2% 45.45%, transparent 45.65%),
    linear-gradient(138deg, transparent 0 39%, rgba(248, 243, 238, 0.94) 39.1% 100%);
}

.arc {
  position: absolute;
  top: 40px;
  left: 24px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(13, 39, 69, 0.14);
  border-radius: 50%;
}

.building {
  position: absolute;
  bottom: 72px;
  border: 1px solid #ded5cb;
  background: linear-gradient(90deg, #f8f4ed, #ede6de);
}

.building-main {
  right: 34px;
  width: 330px;
  height: 430px;
  border-bottom: 0;
}

.building-left {
  right: 318px;
  width: 84px;
  height: 210px;
  border-bottom: 0;
}

.building-right {
  right: -6px;
  width: 84px;
  height: 520px;
  transform: skewY(-31deg);
  transform-origin: bottom left;
}

.data-bars {
  position: absolute;
  right: 72px;
  bottom: 126px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 280px;
}

.data-bars i {
  display: block;
  width: 2px;
  background: var(--coral);
}

.data-bars i:nth-child(2n) {
  background: #263e58;
}

.data-bars i:nth-child(1) { height: 96px; }
.data-bars i:nth-child(2) { height: 126px; }
.data-bars i:nth-child(3) { height: 186px; }
.data-bars i:nth-child(4) { height: 156px; }
.data-bars i:nth-child(5) { height: 240px; }
.data-bars i:nth-child(6) { height: 172px; }
.data-bars i:nth-child(7) { height: 212px; }
.data-bars i:nth-child(8) { height: 142px; }
.data-bars i:nth-child(9) { height: 198px; }
.data-bars i:nth-child(10) { height: 164px; }
.data-bars i:nth-child(11) { height: 252px; }
.data-bars i:nth-child(12) { height: 136px; }
.data-bars i:nth-child(13) { height: 214px; }
.data-bars i:nth-child(14) { height: 176px; }
.data-bars i:nth-child(15) { height: 234px; }
.data-bars i:nth-child(16) { height: 196px; }

.steps {
  position: absolute;
  right: 118px;
  bottom: 72px;
  width: 420px;
  height: 132px;
  transform: skewX(-38deg);
  background: repeating-linear-gradient(to bottom, #eee8df 0 7px, #d8cec2 7px 9px);
  box-shadow: 0 26px 45px rgba(13, 39, 69, 0.14);
}

.product-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 32px 48px 32px;
  background: linear-gradient(to bottom, rgba(248, 243, 238, 0.38), rgba(255, 253, 249, 0));
}

.product-card {
  min-height: 490px;
  padding: 40px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.product-icon {
  position: relative;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 26px;
  background: var(--soft);
}

.product-icon span {
  width: 36px;
  height: 36px;
  border: 3px solid currentColor;
  border-radius: 7px;
}

.product-icon span::before,
.product-icon span::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.product-icon.coral {
  color: var(--coral);
}

.product-icon.navy {
  color: var(--ink);
}

.product-icon.coral span::before {
  width: 12px;
  height: 12px;
  margin: 10px 0 0 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: transparent;
}

.product-icon.coral span::after {
  width: 4px;
  height: 24px;
  margin: 6px 0 0 24px;
}

.product-icon.navy span {
  border-radius: 50%;
}

.product-icon.navy span::before {
  width: 36px;
  height: 2px;
  margin-top: 17px;
}

.product-icon.navy span::after {
  width: 2px;
  height: 36px;
  margin-left: 17px;
}

.product-card h2,
.capability h3,
.about-band h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

.product-card h2 {
  font-size: 42px;
}

.rule {
  width: 44px;
  height: 2px;
  margin-top: 20px;
}

.rule.coral {
  background: var(--coral);
}

.rule.navy {
  background: var(--ink);
}

.product-card p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.product-card ul {
  display: grid;
  gap: 14px;
  margin: 30px 0 34px;
  padding: 0;
  color: var(--ink);
  list-style: none;
}

.product-card li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-card li::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid var(--coral);
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 0 45%, var(--coral) 45% 55%, transparent 55%) center / 8px 8px no-repeat;
}

.product-card .navy-list li::before {
  border-color: var(--ink);
  background:
    linear-gradient(135deg, transparent 0 45%, var(--ink) 45% 55%, transparent 55%) center / 8px 8px no-repeat;
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 56px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(13, 39, 69, 0.06);
}

.capability {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 156px;
  padding: 28px 34px;
}

.capability + .capability {
  border-left: 1px solid var(--line);
}

.capability-icon {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--soft);
}

.capability-icon.search::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 28px;
  height: 28px;
  border: 3px solid var(--coral);
  border-radius: 50%;
}

.capability-icon.search::after {
  content: "";
  position: absolute;
  top: 47px;
  left: 45px;
  width: 20px;
  height: 3px;
  background: var(--coral);
  transform: rotate(45deg);
  transform-origin: left center;
}

.capability-icon.ask::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 19px;
  width: 34px;
  height: 26px;
  border: 3px solid var(--ink);
  border-radius: 5px;
}

.capability-icon.ask::after {
  content: "";
  position: absolute;
  top: 43px;
  left: 31px;
  width: 13px;
  height: 13px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(45deg);
  background: var(--soft);
}

.capability-icon.connect::before,
.capability-icon.connect::after {
  content: "";
  position: absolute;
  background: var(--coral);
}

.capability-icon.connect::before {
  top: 34px;
  left: 21px;
  width: 32px;
  height: 3px;
}

.capability-icon.connect::after {
  top: 21px;
  left: 35px;
  width: 3px;
  height: 34px;
}

.capability h3 {
  font-size: 28px;
}

.capability p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 14px;
}

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 48px;
  padding: 64px 48px 84px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-band h2 {
  max-width: 520px;
  font-size: 46px;
  line-height: 1.05;
}

.about-band > p {
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 56px;
  align-items: end;
  padding: 86px 48px 46px;
}

.page-hero h1 {
  max-width: 740px;
  margin: 0;
  font-family: var(--serif);
  font-size: 76px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero h1 span {
  color: var(--coral);
}

.page-hero > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.team-hero {
  position: relative;
}

.team-hero::after,
.about-hero::after {
  content: "";
  position: absolute;
  right: 80px;
  bottom: -4px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(13, 39, 69, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.about-hero {
  position: relative;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 24px 48px 56px;
}

.people-subhead {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.people-subhead h2 {
  max-width: 720px;
}

.team-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px 28px;
  align-items: start;
  min-height: 310px;
  padding: 30px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.team-card.featured {
  grid-column: 1 / -1;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 360px;
  padding: 42px;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  background: var(--soft);
  box-shadow: 0 18px 46px rgba(13, 39, 69, 0.12);
}

.team-card .role {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.team-card p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.team-card.featured h2 {
  font-size: 54px;
}

.team-card.featured p:last-child {
  max-width: 720px;
  font-size: 19px;
}

.team-short-bio {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.team-card.featured .team-short-bio {
  max-width: 720px;
  font-size: 19px;
}

.team-bio {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.team-bio summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  color: var(--coral);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.team-bio summary::-webkit-details-marker {
  display: none;
}

.team-bio summary::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.25s ease;
  margin-top: -2px;
}

.team-bio[open] summary::after {
  transform: rotate(45deg);
  margin-top: 0;
}

.team-bio summary:hover {
  color: var(--coral-dark);
}

.team-bio p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  animation: bio-reveal 0.3s ease;
}

.team-card.featured .team-bio p {
  max-width: 720px;
  font-size: 19px;
}

@keyframes bio-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 48px;
  margin: 0 0 72px;
  padding: 48px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--surface), var(--soft));
}

.team-band h2 {
  max-width: 460px;
  margin: 0;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.team-principles {
  display: grid;
  gap: 18px;
}

.team-principles article {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.team-principles article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.team-principles h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.team-principles p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.board-section {
  padding: 4px 48px 88px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.board-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 56px rgba(13, 39, 69, 0.06);
}

.board-initials {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--coral);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.board-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.board-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.board-photo {
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--soft);
  box-shadow: 0 8px 20px rgba(13, 39, 69, 0.10);
  transition: filter 0.4s ease;
}

.board-photo.bw {
  filter: grayscale(100%);
}

.board-card-photo:hover .board-photo.bw {
  filter: grayscale(0%);
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 28px;
  padding: 24px 48px 58px;
}

.story-card {
  min-height: 430px;
  padding: 42px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.story-card.dark {
  background: var(--ink);
  color: var(--surface);
}

.story-card h2,
.principles-grid h3,
.relationship-band h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

.story-card h2 {
  max-width: 520px;
  font-size: 48px;
  line-height: 1.04;
}

.story-card p:last-child {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.story-card.dark p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.principles-section {
  padding: 8px 48px 62px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.principles-grid article {
  min-height: 280px;
  padding: 24px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 8px;
  background: var(--surface);
}

.principles-grid span {
  display: block;
  margin-bottom: 26px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.principles-grid h3 {
  font-size: 28px;
  line-height: 1.08;
}

.principles-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.relationship-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 48px;
  margin: 0 0 82px;
  padding: 48px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 30%, rgba(244, 90, 63, 0.12), transparent 28%),
    linear-gradient(135deg, var(--surface), var(--soft));
}

.relationship-band h2 {
  max-width: 520px;
  font-size: 44px;
  line-height: 1.05;
}

.relationship-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.relationship-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}

.relationship-copy a {
  color: var(--coral);
  font-weight: 800;
  transition: color 0.2s ease;
}

.relationship-copy a:hover {
  color: var(--coral-dark);
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 24px;
  padding: 24px 48px 92px;
}

.news-card {
  min-height: 260px;
  padding: 32px;
  border: 1px solid rgba(235, 225, 215, 0.92);
  border-left: 4px solid var(--coral);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 56px rgba(13, 39, 69, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(13, 39, 69, 0.1);
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.news-card-meta .eyebrow {
  margin: 0;
}

.news-card .pub-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.news-card .pub-icon span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.news-card .pub-icon img {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.news-card:hover .pub-icon img {
  filter: grayscale(0%);
  opacity: 1;
}

.news-card.featured {
  grid-row: span 2;
  min-height: 544px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.88), rgba(255, 253, 249, 0.96)),
    radial-gradient(circle at 82% 22%, rgba(244, 90, 63, 0.16), transparent 28%),
    var(--surface);
}

.news-card h2,
.contact-panel h2,
.legal-page h1,
.legal-page h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

.news-card h2 {
  max-width: 560px;
  font-size: 38px;
  line-height: 1.08;
}

.news-card.featured h2 {
  font-size: 56px;
  line-height: 1.02;
}

.news-card p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.news-card.featured p:not(.eyebrow) {
  max-width: 620px;
  font-size: 20px;
}

.news-card > span,
.news-card > a {
  display: inline-flex;
  margin-top: 28px;
  color: var(--coral);
  font-size: 14px;
  font-weight: 850;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1fr);
  gap: 28px;
  padding: 24px 48px 92px;
}

.contact-panel {
  min-height: 420px;
  padding: 38px;
  border: 1px solid rgba(235, 225, 215, 0.92);
  border-radius: 8px;
  background:
    radial-gradient(circle at 85% 18%, rgba(244, 90, 63, 0.13), transparent 25%),
    var(--surface);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  font-size: 52px;
  line-height: 1.02;
}

.contact-panel p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.contact-panel .button {
  margin-top: 34px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-grid article {
  min-height: 200px;
  padding: 28px;
  border: 1px solid rgba(235, 225, 215, 0.92);
  border-radius: 8px;
  background: var(--surface);
}

.contact-grid h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0;
}

.contact-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.56;
}

.legal-page {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 82px 0 98px;
}

.legal-page h1 {
  font-size: 64px;
  line-height: 1;
}

.legal-page h1 span {
  color: var(--coral);
}

.legal-updated {
  margin: 18px 0 44px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.legal-page article {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-page article:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-page h2 {
  font-size: 30px;
  line-height: 1.12;
}

.legal-page p:not(.eyebrow):not(.legal-updated) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.66;
}

.legal-page a {
  color: var(--coral);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1210px, calc(100% - 64px));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: block;
  width: 126px;
  line-height: 0;
}

.footer-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.footer-links a:hover {
  color: var(--coral);
}

.explore-hero {
  position: relative;
}

.explore-hero::after {
  content: "";
  position: absolute;
  right: 64px;
  bottom: -12px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(13, 39, 69, 0.11);
  border-radius: 50%;
  pointer-events: none;
}

.experiment-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 48px 28px;
}

.experiment-strip article {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  min-height: 96px;
  padding: 24px;
  border: 1px solid rgba(235, 225, 215, 0.92);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 44px rgba(13, 39, 69, 0.05);
}

.experiment-strip strong {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
}

.experiment-strip span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-align: right;
}

.experiment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 0 48px 68px;
}

.experiment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 330px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(235, 225, 215, 0.92);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 56px rgba(13, 39, 69, 0.06);
}

.experiment-card.featured {
  grid-column: span 2;
  min-height: 420px;
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.94), rgba(248, 243, 238, 0.9)),
    radial-gradient(circle at 88% 20%, rgba(244, 90, 63, 0.16), transparent 28%);
}

.experiment-card.featured::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -86px;
  width: 340px;
  height: 210px;
  border: 1px solid rgba(244, 90, 63, 0.28);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.experiment-kicker {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.experiment-card h2,
.explore-note h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

.experiment-card h2 {
  font-size: 34px;
  line-height: 1.06;
}

.experiment-card.featured h2 {
  max-width: 650px;
  font-size: 60px;
  line-height: 1;
}

.experiment-card p:not(.experiment-kicker) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.experiment-card.featured p:not(.experiment-kicker) {
  max-width: 650px;
  font-size: 19px;
}

.experiment-card span {
  display: inline-flex;
  width: fit-content;
  margin-top: 24px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.experiment-card .button {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-top: 30px;
}

/* Make the plain "Open …" links into prominent styled buttons */
.experiment-card > a:not(.button) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 24px;
  padding: 10px 20px;
  border: 2px solid var(--coral);
  border-radius: 999px;
  background: transparent;
  color: var(--coral);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.experiment-card > a:not(.button)::after {
  content: "→";
  font-size: 16px;
  transition: transform 0.2s ease;
}

.experiment-card > a:not(.button):hover {
  background: var(--coral);
  color: #fff;
  transform: translateY(-1px);
}

.experiment-card > a:not(.button):hover::after {
  transform: translateX(3px);
}

.experiment-icon {
  position: relative;
  width: 58px;
  height: 58px;
  margin-bottom: 30px;
  border-radius: 18px;
  background: var(--soft);
}

.experiment-icon::before,
.experiment-icon::after {
  content: "";
  position: absolute;
}

.experiment-icon.bills::before {
  inset: 14px 17px;
  border: 2px solid var(--coral);
  border-radius: 4px;
  box-shadow: 7px 7px 0 rgba(244, 90, 63, 0.18);
}

.experiment-icon.bills::after {
  top: 24px;
  left: 22px;
  width: 14px;
  height: 2px;
  background: var(--coral);
  box-shadow: 0 7px 0 var(--coral);
}

.experiment-icon.committees::before {
  left: 16px;
  top: 14px;
  width: 26px;
  height: 26px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.experiment-icon.committees::after {
  left: 12px;
  bottom: 13px;
  width: 34px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 999px 999px 0 0;
  border-bottom: 0;
}

.experiment-icon.staff::before {
  left: 14px;
  top: 13px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--coral);
  border-radius: 50%;
  box-shadow: 17px 0 0 -2px var(--soft), 17px 0 0 0 var(--ink);
}

.experiment-icon.staff::after {
  left: 11px;
  bottom: 13px;
  width: 36px;
  height: 16px;
  border: 2px solid var(--ink);
  border-radius: 999px 999px 0 0;
  border-bottom: 0;
}

.experiment-icon.lobbyists::before {
  left: 13px;
  top: 16px;
  width: 32px;
  height: 24px;
  border: 2px solid var(--coral);
  border-radius: 5px;
}

.experiment-icon.lobbyists::after {
  left: 20px;
  top: 23px;
  width: 18px;
  height: 10px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 10px 0 -4px var(--ink);
}

.experiment-icon.witnesses::before {
  left: 15px;
  top: 14px;
  width: 28px;
  height: 20px;
  border: 2px solid var(--coral);
  border-radius: 5px;
}

.experiment-icon.witnesses::after {
  left: 22px;
  bottom: 14px;
  width: 14px;
  height: 12px;
  border-left: 2px solid var(--coral);
  border-bottom: 2px solid var(--coral);
  transform: skewX(-18deg);
}

.experiment-icon.expenditures::before {
  left: 15px;
  top: 18px;
  width: 28px;
  height: 24px;
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.experiment-icon.expenditures::after {
  left: 21px;
  bottom: 17px;
  width: 4px;
  height: 12px;
  background: var(--coral);
  box-shadow: 8px -7px 0 var(--coral), 16px -2px 0 var(--coral);
}

.experiment-icon.rules::before {
  left: 16px;
  top: 12px;
  width: 25px;
  height: 32px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  transform: rotate(-6deg);
}

.experiment-icon.rules::after {
  left: 23px;
  top: 23px;
  width: 12px;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 7px 0 var(--ink);
}

.experiment-icon.ledger::before {
  left: 15px;
  top: 13px;
  width: 28px;
  height: 34px;
  border: 2px solid var(--coral);
  border-radius: 4px;
}

.experiment-icon.ledger::after {
  left: 22px;
  top: 22px;
  width: 14px;
  height: 2px;
  background: var(--coral);
  box-shadow: 0 7px 0 var(--coral), 0 14px 0 var(--coral);
}

.experiment-icon.reports::before {
  left: 16px;
  top: 13px;
  width: 26px;
  height: 32px;
  border: 2px solid var(--coral);
  border-radius: 4px;
  box-shadow: 6px 6px 0 rgba(13, 39, 69, 0.12);
}

.experiment-icon.reports::after {
  left: 22px;
  top: 23px;
  width: 14px;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 7px 0 var(--ink), 0 14px 0 var(--ink);
}

.explore-note {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 48px;
  margin: 0 0 86px;
  padding: 48px;
  border: 1px solid rgba(235, 225, 215, 0.92);
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
}

.explore-note h2 {
  max-width: 560px;
  font-size: 44px;
  line-height: 1.05;
}

.explore-note > p {
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
  line-height: 1.62;
}

.directory-shell {
  position: relative;
  overflow: hidden;
  padding: 34px 0 72px;
}

.witness-shell {
  padding: 34px 0 82px;
}

.witness-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.42fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 24px;
  padding: 40px;
  overflow: hidden;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 14%, rgba(244, 90, 63, 0.13), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 243, 238, 0.9));
  box-shadow: var(--shadow);
}

.witness-hero h1 {
  max-width: 820px;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: 70px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.witness-hero h1 span {
  color: var(--coral);
}

.witness-hero .summary {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.58;
}

.witness-hero-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 18px;
  background: var(--surface);
}

.witness-hero-card h2 {
  max-width: 280px;
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
}

.witness-hero-card p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.witness-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.witness-stats article {
  min-height: 112px;
  padding: 22px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 44px rgba(13, 39, 69, 0.05);
}

.witness-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.witness-stats span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.witness-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.34fr) minmax(190px, 0.28fr) minmax(160px, 0.22fr);
  gap: 16px;
  align-items: end;
  margin-bottom: 20px;
  padding: 22px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.witness-search-wrap {
  min-width: 0;
}

.witness-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.witness-sidebar {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

.sidebar-block,
.committee-list {
  padding: 22px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.sidebar-block p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.committee-list {
  display: grid;
  gap: 8px;
}

.committee-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.committee-list button:hover span {
  color: var(--coral);
}

.committee-list button span {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.committee-list button strong {
  color: var(--muted);
  font-size: 12px;
}

.witness-results {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.witness-results .directory-head {
  margin-bottom: 18px;
}

.witness-results .directory-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0;
}

.witness-results .directory-head > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.witness-grid {
  display: grid;
  gap: 14px;
}

.witness-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 18px;
  background: var(--surface);
}

.witness-avatar {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 72% 20%, rgba(244, 90, 63, 0.9) 0 8%, transparent 9%),
    linear-gradient(135deg, var(--ink), #28425f);
  color: var(--surface);
  font-size: 14px;
  font-weight: 850;
}

.witness-avatar.has-photo {
  background: var(--soft);
  box-shadow: 0 10px 26px rgba(13, 39, 69, 0.12);
}

.witness-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.witness-card-main {
  min-width: 0;
}

.witness-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.witness-status {
  margin: 0 0 6px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.witness-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.witness-card h3 a {
  color: var(--ink);
}

.witness-card h3 a:hover {
  color: var(--coral);
}

.witness-card-head p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.witness-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  flex: 0 0 auto;
}

.witness-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.witness-badges .coral {
  border-color: rgba(244, 90, 63, 0.22);
  background: #ffe9e3;
  color: #9d321e;
}

.lobbyist-badge img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.witness-org,
.witness-bio {
  max-width: 850px;
  color: var(--muted);
  line-height: 1.58;
}

.witness-org {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 750;
}

.witness-bio {
  margin: 12px 0 0;
  font-size: 15px;
}

.witness-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.witness-link-row a {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(248, 243, 238, 0.82);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.witness-link-row a:hover {
  border-color: rgba(244, 90, 63, 0.45);
  color: var(--coral);
}

.witness-profile-shell {
  padding: 34px 0 82px;
}

.witness-profile-hero,
.witness-profile-overview,
.witness-profile-section {
  width: min(1440px, calc(100% - 96px));
  margin: 0 auto 26px;
}

.witness-profile-hero {
  padding: 32px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(244, 90, 63, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(13, 39, 69, 0.08);
}

.witness-profile-hero-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 24px;
}

.witness-profile-identity {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.witness-profile-avatar {
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 74% 18%, rgba(244, 90, 63, 0.9) 0 8%, transparent 9%),
    linear-gradient(135deg, var(--ink), #28425f);
  color: white;
  font-size: 26px;
  font-weight: 950;
}

.witness-profile-avatar.has-photo {
  background: var(--soft);
  box-shadow: 0 18px 44px rgba(13, 39, 69, 0.16);
}

.witness-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.witness-profile-identity h1 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 400;
  line-height: 0.98;
}

.witness-profile-identity h1 span {
  color: var(--coral);
}

.witness-profile-identity p,
.witness-profile-identity strong {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.witness-profile-identity strong {
  margin-top: 8px;
  color: var(--ink);
  font-weight: 850;
}

.witness-profile-badges {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 10px;
  max-width: 420px;
}

.witness-profile-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.witness-profile-badges .coral {
  border-color: rgba(244, 90, 63, 0.22);
  background: #ffe9e3;
  color: #9d321e;
}

.witness-profile-badges img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.witness-profile-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.6fr);
  gap: 18px;
}

.witness-profile-overview article,
.witness-profile-overview aside,
.witness-profile-section {
  padding: 24px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 56px rgba(13, 39, 69, 0.06);
}

.witness-profile-overview h2,
.witness-profile-section h2 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.06;
}

.witness-profile-overview p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.witness-profile-appearance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.witness-profile-appearance:first-of-type {
  border-top: 0;
}

.witness-profile-appearance span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.witness-profile-appearance h3 {
  margin: 6px 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.3;
}

.witness-profile-appearance h3 a {
  color: inherit;
}

.witness-profile-appearance h3 a:hover {
  color: var(--coral);
}

.witness-profile-appearance p,
.witness-profile-appearance small {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.witness-profile-actions,
.witness-profile-links,
.witness-profile-disclosures,
.witness-profile-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}

.witness-profile-docs {
  grid-column: 1 / -1;
}

.witness-profile-docs a,
.witness-profile-links a,
.witness-profile-disclosures a {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(248, 243, 238, 0.72);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.witness-profile-docs a span,
.witness-profile-disclosures strong {
  color: var(--coral);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.witness-profile-disclosures a span,
.witness-profile-disclosures small {
  color: var(--muted);
}

.lobbying-disclosures {
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(244, 90, 63, 0.22);
  border-radius: 14px;
  background: #fff5f1;
}

.lobbying-disclosures summary {
  color: #9d321e;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.lobbying-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.lobbying-list a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(244, 90, 63, 0.18);
  border-radius: 10px;
  background: var(--surface);
  text-decoration: none;
}

.lobbying-list a:hover {
  border-color: rgba(244, 90, 63, 0.5);
}

.lobbying-list strong {
  color: var(--coral);
  font-size: 12px;
}

.lobbying-list span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.lobbying-list small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.witness-appearances {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.witness-appearances summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.witness-appearance {
  display: grid;
  gap: 3px;
  padding: 12px 0;
  border-top: 1px solid rgba(235, 225, 215, 0.72);
}

.witness-appearance:first-of-type {
  margin-top: 10px;
}

.witness-appearance strong {
  color: var(--coral);
  font-size: 12px;
}

.witness-appearance span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.witness-appearance small {
  color: var(--muted);
  font-size: 12px;
}

.committee-shell,
.committee-detail-shell {
  padding: 34px 0 82px;
}

.committee-hero {
  position: relative;
}

.committee-hero::after {
  content: "";
  position: absolute;
  right: 74px;
  bottom: -18px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(13, 39, 69, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.committee-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 48px 24px;
}

.committee-stats article {
  min-height: 110px;
  padding: 22px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 44px rgba(13, 39, 69, 0.05);
}

.committee-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.committee-stats span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.committee-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 48px 20px;
}

.committee-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 26px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 56px rgba(13, 39, 69, 0.06);
}

.committee-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.committee-mini-icon {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--soft);
}

.committee-mini-icon::before,
.committee-mini-icon::after {
  content: "";
  position: absolute;
  left: 13px;
  width: 28px;
  height: 22px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.committee-mini-icon::before {
  top: 12px;
}

.committee-mini-icon::after {
  bottom: 11px;
  border-top-color: transparent;
}

.committee-card-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.committee-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.committee-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.committee-card-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 20px;
  padding-top: 26px;
}

.committee-card-metrics span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.committee-detail-hero {
  padding: 68px 48px 36px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.back-link:hover {
  color: var(--coral);
}

.committee-detail-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.committee-detail-hero h1 span {
  color: var(--coral);
}

.committee-detail-hero > p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.58;
}

.committee-detail-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 22px;
  padding: 0 48px;
}

.subcommittee-panel,
.committee-events-panel {
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.subcommittee-panel {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 12px;
  align-self: start;
  padding: 24px;
}

.subcommittee-panel article {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.subcommittee-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
}

.subcommittee-panel p,
.subcommittee-panel span,
.committee-empty {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.committee-events-panel {
  min-width: 0;
  padding: 24px;
}

.committee-events-panel .directory-head {
  margin-bottom: 18px;
}

.committee-events-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0;
}

.committee-event-list {
  display: grid;
  gap: 12px;
}

.committee-event {
  padding: 18px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 16px;
  background: var(--surface);
}

.committee-event > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.committee-event > div:first-child strong {
  color: var(--coral);
  font-size: 12px;
}

.event-type {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.event-type.hearing {
  border-color: rgba(13, 39, 69, 0.12);
  background: var(--blue-soft);
  color: var(--ink);
}

.event-type.markup {
  border-color: rgba(244, 90, 63, 0.22);
  background: #ffe9e3;
  color: #9d321e;
}

.committee-event h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
}

.committee-event h3[data-event-href] {
  cursor: pointer;
}

.committee-event h3[data-event-href]:hover,
.committee-event h3[data-event-href]:focus-visible {
  color: var(--coral);
  outline: none;
}

.committee-event h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.committee-event h3 a:hover {
  color: var(--coral);
}

.committee-event p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.committee-event-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.committee-event-links a,
.committee-event-links span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(248, 243, 238, 0.82);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.committee-event-links a:hover {
  border-color: rgba(244, 90, 63, 0.45);
  color: var(--coral);
}

/* ── Subcommittee filter buttons ────────────────────────────────────── */

.subcommittee-filters {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.subcommittee-filters .eyebrow {
  margin-bottom: 12px;
}

.subcmte-filter-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  line-height: 1.35;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.subcmte-filter-btn:first-of-type {
  border-top: 1px solid var(--line);
}

.subcmte-filter-btn:hover {
  background: rgba(244, 90, 63, 0.06);
  color: var(--coral);
}

.subcmte-filter-btn.active {
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  border-color: transparent;
  margin-bottom: 2px;
}

.filter-count {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0,0,0,0.08);
  font-size: 11px;
  font-weight: 700;
}

.subcmte-filter-btn.active .filter-count {
  background: rgba(255,255,255,0.2);
}

.filter-result-note {
  margin: 0 0 16px;
  padding: 8px 14px;
  background: rgba(244, 90, 63, 0.06);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

/* ── Bills referenced panel ─────────────────────────────────────────── */

.committee-bills-panel {
  padding: 0 48px 80px;
}

.committee-bills-panel .directory-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 16px;
}

.committee-bills-panel .directory-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.5px;
}

.committee-bills-panel .directory-head h2 span {
  color: var(--coral);
}

.committee-bills-panel .directory-head > span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.bills-note {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.committee-bill-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}

.committee-bill {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.committee-bill:hover {
  border-color: var(--coral);
  background: rgba(244, 90, 63, 0.04);
}

.committee-bill strong {
  flex-shrink: 0;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.committee-bill span {
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-shell {
  padding: 34px 0 82px;
}

.event-hero {
  padding: 68px 48px 32px;
}

.event-hero h1 {
  max-width: 1030px;
  margin: 0;
  font-family: var(--serif);
  font-size: 70px;
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: 0;
}

.event-hero h1 span {
  color: var(--coral);
}

.event-hero > p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.58;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 48px 24px;
}

.event-facts article,
.event-side-panel article {
  padding: 20px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 44px rgba(13, 39, 69, 0.05);
}

.event-facts span,
.event-side-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.event-facts strong,
.event-side-panel strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
}

.event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  padding: 0 48px 22px;
}

.event-main-panel,
.event-side-panel,
.event-section {
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.event-main-panel,
.event-section {
  padding: 24px;
}

.event-side-panel {
  display: grid;
  gap: 12px;
  align-self: start;
  padding: 24px;
}

.event-info-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.event-info-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.event-info-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.event-info-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.event-future-note {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(244, 90, 63, 0.18);
  border-radius: 18px;
  background: rgba(255, 242, 237, 0.72);
}

.event-future-note p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.event-section {
  display: grid;
  gap: 14px;
  margin: 0 48px 22px;
}

.event-witness-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 18px;
  background: var(--surface);
}

.event-witness-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.event-witness-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-witness-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.event-witness-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.05;
}

.event-witness-head h3 a {
  color: var(--ink);
}

.event-witness-head h3 a:hover {
  color: var(--coral);
}

.event-witness-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.event-witness-head span:not(.event-badge) {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.event-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.event-badge.coral {
  border-color: rgba(244, 90, 63, 0.22);
  background: #ffe9e3;
  color: #9d321e;
}

.event-witness-bio {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.event-witness-docs,
.event-doc-links,
.event-doc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.event-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-witness-docs a,
.event-doc-links a,
.event-doc-grid a {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(248, 243, 238, 0.82);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.event-witness-docs a span,
.event-doc-links a span,
.event-doc-grid a span {
  color: var(--coral);
  font-size: 11px;
  text-transform: uppercase;
}

.event-witness-docs a:hover,
.event-doc-links a:hover,
.event-doc-grid a:hover {
  border-color: rgba(244, 90, 63, 0.45);
  color: var(--coral);
}

.witness-appearance-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.witness-appearance-docs a {
  padding: 3px 10px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 99px;
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.witness-appearance-docs a:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.orbit {
  position: absolute;
  top: -132px;
  right: -150px;
  width: 760px;
  height: 400px;
  border: 1.5px solid rgba(244, 90, 63, 0.24);
  border-radius: 50%;
  transform: rotate(-12deg);
  pointer-events: none;
}

.orbit::before {
  content: "";
  position: absolute;
  inset: 44px 84px;
  border: 1px solid rgba(13, 39, 69, 0.08);
  border-radius: 50%;
}

.orbit::after {
  content: "";
  position: absolute;
  top: 68px;
  right: 160px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 8px rgba(244, 90, 63, 0.12);
}

.directory-hero,
.filter-card,
.directory-panel,
.member-card,
.bill-card,
.insight-card {
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.directory-hero {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-bottom: 28px;
  padding: 40px;
}

.directory-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--coral), rgba(244, 90, 63, 0));
}

.directory-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: end;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 11px;
  background: #ffe9e3;
  color: #9d321e;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tag.navy {
  background: rgba(13, 39, 69, 0.08);
  color: var(--ink);
}

.tag.error {
  background: #fff4d8;
  color: #7a5200;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.directory-hero h1 {
  max-width: 820px;
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.directory-hero h1 span {
  color: var(--coral);
}

.summary {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(248, 243, 238, 0.64);
}

.stat strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.member-directory-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
}

.quick-filter-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(240px, 0.9fr);
  gap: 16px;
  align-items: end;
  margin: 0 0 28px;
  padding: 18px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 56px rgba(13, 39, 69, 0.06);
}

.quick-label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.segmented {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
}

.segment {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.segment.active {
  background: var(--ink);
  color: var(--surface);
  box-shadow: 0 8px 18px rgba(13, 39, 69, 0.12);
}

.filter-card {
  position: sticky;
  top: 112px;
  height: fit-content;
  padding: 22px;
}

.filter-card h2,
.directory-panel h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 18px;
}

.filter-group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.filter-group:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.search-input,
select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
}

.search-input:focus,
select:focus {
  border-color: rgba(244, 90, 63, 0.7);
  box-shadow: 0 0 0 3px rgba(244, 90, 63, 0.12);
}

.filter-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.api-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.api-note code {
  color: var(--ink);
}

.directory-panel {
  margin-bottom: 28px;
  padding: 24px;
}

.directory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.directory-title h2 {
  margin-bottom: 5px;
}

.directory-title p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.view-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.view-toggle {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.view-toggle.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.empty-state {
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  text-align: center;
}

.empty-state h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.empty-state p {
  margin: 8px 0 0;
  color: var(--muted);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.legislation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.member-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 20px;
  box-shadow: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.member-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: rgba(13, 39, 69, 0.22);
}

.member-card.party-d-card::before {
  background: #2f6fb3;
}

.member-card.party-r-card::before {
  background: var(--coral);
}

.member-card.party-i-card::before {
  background: #687386;
}

.member-card:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 90, 63, 0.38);
  box-shadow: 0 16px 32px rgba(13, 39, 69, 0.1);
}

.bill-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  overflow: hidden;
  padding: 22px;
  border-radius: 20px;
  box-shadow: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.bill-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--coral);
}

.bill-card:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 90, 63, 0.38);
  box-shadow: 0 16px 32px rgba(13, 39, 69, 0.1);
}

.bill-card-top,
.bill-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bill-number {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-size: 13px;
  font-weight: 900;
}

a.bill-number:hover {
  background: var(--coral);
  color: var(--surface);
}

.bill-ref {
  color: var(--coral);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(244, 90, 63, 0.32);
  text-underline-offset: 3px;
}

.bill-ref:hover {
  color: var(--ink);
  text-decoration-color: rgba(13, 39, 69, 0.34);
}

.bill-date {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.bill-card h3 {
  margin: 22px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.08;
}

.bill-sponsor {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.bill-status,
.bill-committees {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.bill-card .member-focus {
  margin: 16px 0 0;
}

.bill-card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.bill-detail-shell {
  padding: 34px 0 82px;
}

.bill-context-section {
  gap: 12px;
}

.bill-context-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.bill-context-card span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 850;
}

.bill-context-card h3 {
  margin: 7px 0;
  color: var(--ink);
  font-size: 16px;
}

.bill-context-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.bill-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.7fr) minmax(260px, 0.7fr);
  gap: 18px;
  width: min(1440px, calc(100% - 96px));
  margin: 0 auto 26px;
}

.bill-detail-panel,
.bill-chat-panel {
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 56px rgba(13, 39, 69, 0.06);
}

.bill-detail-panel {
  padding: 24px;
}

.bill-detail-panel h2 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.06;
}

.bill-detail-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.bill-meta-list {
  display: grid;
  gap: 16px;
  margin: 10px 0 0;
}

.bill-meta-list div {
  display: grid;
  gap: 5px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.bill-meta-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.bill-meta-list dt {
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bill-meta-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
  line-height: 1.45;
}

.bill-meta-list a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(244, 90, 63, 0.45);
  text-underline-offset: 3px;
}

.bill-chat-section {
  width: min(1440px, calc(100% - 96px));
  margin: 0 auto 26px;
}

.bill-chat-panel {
  overflow: hidden;
}

.bill-chat-messages {
  min-height: 260px;
  max-height: 430px;
}

.bill-related-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.bill-related-summary span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.journal-plain-language {
  position: relative;
  z-index: 2;
  margin: 0 0 28px;
  padding: 26px;
  border: 1px solid rgba(244, 90, 63, 0.18);
  border-radius: 24px;
  background: rgba(255, 242, 237, 0.78);
  box-shadow: 0 18px 56px rgba(13, 39, 69, 0.06);
}

.journal-plain-language h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0;
}

.journal-plain-language p:last-child {
  max-width: 920px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.journal-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
}

.journal-grid {
  display: grid;
  gap: 14px;
}

.journal-card {
  padding: 20px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(13, 39, 69, 0.05);
}

.journal-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.journal-card-top > span:last-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.journal-type {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.journal-type.vote {
  border-color: rgba(244, 90, 63, 0.22);
  background: #ffe9e3;
  color: #9d321e;
}

.journal-type.bill {
  background: var(--blue-soft);
}

.journal-type.procedure {
  background: rgba(13, 39, 69, 0.08);
}

.journal-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.08;
}

.journal-raw {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.journal-explanation {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(235, 225, 215, 0.88);
  border-radius: 16px;
  background: rgba(248, 243, 238, 0.72);
}

.journal-explanation p:last-child {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

.journal-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.journal-card-footer span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.journal-timeline {
  display: grid;
  gap: 0;
}

.journal-timeline-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
}

.journal-timeline-item > div {
  position: relative;
  display: flex;
  justify-content: center;
}

.journal-timeline-item > div::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.journal-timeline-item > div span {
  position: relative;
  z-index: 1;
  display: block;
  width: 13px;
  height: 13px;
  margin-top: 18px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 7px rgba(244, 90, 63, 0.12);
}

.journal-timeline-item section {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.journal-timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.journal-timeline-item p:first-child {
  color: var(--coral);
  font-size: 12px;
  font-weight: 850;
}

.journal-timeline-item h3 {
  margin: 7px 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
}

.member-top {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 14px;
}

.member-top > div:not(.avatar) {
  min-width: 0;
  flex: 1;
}

.party-marker {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.party-marker.party-d {
  border-color: rgba(47, 111, 179, 0.18);
  background: #eaf2fb;
  color: #245b97;
}

.party-marker.party-r {
  border-color: rgba(244, 90, 63, 0.22);
  background: #ffe9e3;
  color: #9d321e;
}

.party-marker.party-i {
  border-color: rgba(13, 39, 69, 0.14);
  background: rgba(13, 39, 69, 0.08);
  color: #37465a;
}

.avatar {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), #2c456b);
  color: var(--surface);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.avatar.image {
  object-fit: cover;
}

.avatar::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: -18px;
  width: 88px;
  height: 38px;
  border: 1px solid rgba(244, 90, 63, 0.56);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.avatar.republican {
  background: linear-gradient(135deg, #8f2c22, #d35540);
}

.avatar.independent {
  background: linear-gradient(135deg, #596170, #1f2f4a);
}

.member-name {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.member-district {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.member-meta,
.member-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.member-meta {
  margin-bottom: 14px;
}

.member-focus {
  margin-bottom: 16px;
}

.pill,
.focus-chip {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.pill {
  padding: 6px 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.pill.party-d {
  border-color: rgba(13, 39, 69, 0.1);
  background: var(--blue-soft);
}

.pill.party-r {
  border-color: rgba(244, 90, 63, 0.2);
  background: #ffe9e3;
  color: #9d321e;
}

.pill.party-i {
  background: rgba(13, 39, 69, 0.08);
}

.focus-chip {
  padding: 6px 9px;
  border: 1px solid var(--line);
  background: rgba(248, 243, 238, 0.9);
  color: var(--muted);
}

.member-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.signal {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 28px;
}

.signal i {
  display: block;
  width: 4px;
  border-radius: 999px 999px 0 0;
  background: var(--ink);
}

.signal i:nth-child(even) {
  background: var(--coral);
}

.signal i:nth-child(3n) {
  background: #d9d3c9;
}

.link-button {
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
}

.link-button.muted {
  color: var(--muted);
}

.list-table {
  display: none;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.list-table th {
  padding: 0 12px 4px;
  color: var(--muted);
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.list-table td {
  padding: 14px 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 243, 238, 0.62);
  color: var(--muted);
  font-size: 14px;
  vertical-align: middle;
}

.list-table td:first-child {
  border-left: 1px solid var(--line);
  border-radius: 14px 0 0 14px;
  color: var(--ink);
  font-weight: 850;
}

.list-table td:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 14px 14px 0;
}

.list-table td span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.insight-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.insight-card {
  padding: 20px;
  box-shadow: none;
}

.insight-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
}

.insight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.reports-shell {
  padding-bottom: 88px;
}

.reports-grid {
  display: grid;
  gap: 16px;
}

.report-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(235, 225, 215, 0.92);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 14px 44px rgba(13, 39, 69, 0.05);
}

.report-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--coral);
}

.report-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 20px;
  align-items: start;
}

.report-agency {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.report-card h3 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.report-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: 280px;
}

.report-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.report-status-badge.received,
.report-status-badge.on-time {
  border-color: rgba(13, 39, 69, 0.18);
  background: var(--blue-soft);
  color: var(--ink);
}

.report-status-badge.late {
  border-color: rgba(244, 90, 63, 0.26);
  background: rgba(244, 90, 63, 0.1);
  color: var(--coral-dark);
}

.report-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
}

.report-facts div {
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(248, 243, 238, 0.58);
}

.report-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.report-facts dd {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.authority-block {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(244, 90, 63, 0.22);
  border-radius: 16px;
  background: rgba(244, 90, 63, 0.06);
}

.authority-block span {
  display: block;
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.authority-block p,
.report-nature {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.committee-chip-row,
.subject-row,
.report-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.committee-chip,
.subject-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(13, 39, 69, 0.12);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.committee-chip.muted {
  color: var(--muted);
  background: var(--soft);
}

.report-nature {
  margin-top: 16px;
}

.subject-row span {
  border-color: var(--line);
  background: var(--soft);
  color: var(--muted);
}

.report-links {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.report-links a {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.result-limit-note {
  margin: 2px 0 0;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.rules-shell {
  position: relative;
  overflow: hidden;
  padding: 34px 0 88px;
}

.rules-shell::before {
  content: "";
  position: absolute;
  top: 128px;
  right: -150px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(13, 39, 69, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.rules-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 24px;
  padding: 40px;
  overflow: hidden;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 24px;
  background:
    radial-gradient(circle at 84% 18%, rgba(244, 90, 63, 0.13), transparent 25%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 243, 238, 0.92));
  box-shadow: var(--shadow);
}

.rules-hero h1 {
  max-width: 820px;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.rules-hero h1 span {
  color: var(--coral);
}

.rules-hero .summary {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.58;
}

.rules-hero-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 18px;
  background: var(--surface);
}

.rules-hero-card span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rules-hero-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.rules-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}

.rules-chat-panel,
.rules-side-card {
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 56px rgba(13, 39, 69, 0.06);
}

.rules-chat-panel {
  display: flex;
  flex-direction: column;
  min-height: 760px;
  overflow: hidden;
}

.rules-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.rules-chat-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.06;
}

.rules-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(13, 39, 69, 0.14);
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.rules-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.rules-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 243, 238, 0.56);
}

.rules-suggestions button {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.rules-suggestions button:hover {
  border-color: rgba(244, 90, 63, 0.36);
  color: var(--coral);
}

.rules-messages {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 18px;
  max-height: 530px;
  padding: 24px;
  overflow-y: auto;
}

.rules-message {
  display: flex;
  gap: 14px;
}

.rules-message.user {
  justify-content: flex-end;
}

.rules-message.user div {
  max-width: min(640px, 88%);
  padding: 16px 18px;
  border-radius: 18px 18px 4px 18px;
  background: var(--ink);
  color: var(--surface);
  font-size: 15px;
  line-height: 1.55;
}

.rules-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
}

.rules-answer {
  max-width: min(780px, calc(100% - 56px));
  padding: 18px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 18px 18px 18px 4px;
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.rules-answer p {
  margin: 0 0 12px;
}

.rules-answer p:last-child {
  margin-bottom: 0;
}

.rules-answer strong {
  color: var(--ink);
}

.rules-answer ul {
  margin: 0 0 12px 18px;
  padding: 0;
}

.rules-answer li + li {
  margin-top: 6px;
}

.rules-cache-note {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.rules-citations {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.rules-citations > strong {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rules-citations a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(248, 243, 238, 0.58);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.rules-citations a span {
  color: var(--ink);
  font-weight: 900;
}

.rules-input-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  border-top: 1px solid var(--line);
  background: rgba(248, 243, 238, 0.72);
}

.rules-input-form textarea {
  width: 100%;
  min-height: 54px;
  max-height: 140px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  resize: vertical;
  color: var(--ink);
  font: inherit;
}

.rules-input-form textarea:focus {
  border-color: rgba(244, 90, 63, 0.7);
  box-shadow: 0 0 0 3px rgba(244, 90, 63, 0.12);
}

.rules-input-form .button {
  min-width: 92px;
  min-height: 54px;
}

.rules-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
}

.rules-side-card {
  padding: 22px;
}

.rules-side-card h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.08;
}

.rules-side-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.rules-side-card li + li {
  margin-top: 9px;
}

.rules-side-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.rules-side-card dl div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.rules-side-card dt {
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rules-side-card dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.source-card a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--coral);
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 1060px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 18px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 18px;
  }

  .hero,
  .product-section,
  .about-band,
  .page-hero,
  .team-band,
  .section-heading,
  .about-story,
  .relationship-band,
  .experiment-strip,
  .experiment-grid,
  .explore-note,
  .witness-hero,
  .witness-toolbar,
  .witness-layout,
  .witness-profile-hero-grid,
  .witness-profile-identity,
  .witness-profile-overview,
  .rules-hero,
  .rules-layout,
  .bill-detail-grid,
  .committee-index-grid,
  .committee-detail-layout,
  .event-facts,
  .event-layout,
  .event-doc-grid,
  .news-grid,
  .contact-layout,
  .directory-hero-grid,
  .member-directory-grid,
  .legislation-grid,
  .journal-layout,
  .quick-filter-bar {
    grid-template-columns: 1fr;
  }

  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experiment-card.featured {
    grid-column: auto;
  }

  .filter-card {
    position: static;
  }

  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-row {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-left: 0;
  }

  .rules-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav,
  main {
    width: min(100% - 32px, 1210px);
  }

  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .directory-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    min-width: 142px;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-copy p {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-art {
    min-height: 420px;
  }

  .product-section,
  .about-band,
  .page-hero,
  .team-grid,
  .team-band,
  .board-section,
  .about-story,
  .principles-section,
  .relationship-band {
    padding-right: 0;
    padding-left: 0;
  }

  .journal-plain-language {
    margin-right: 0;
    margin-left: 0;
  }

  .experiment-strip,
  .experiment-grid,
  .explore-note,
  .witness-hero,
  .witness-profile-hero,
  .witness-profile-overview,
  .witness-profile-section,
  .rules-hero,
  .committee-detail-hero,
  .committee-index-grid,
  .committee-detail-layout,
  .event-hero,
  .event-layout,
  .event-section,
  .bill-detail-grid,
  .bill-chat-section {
    padding-right: 0;
    padding-left: 0;
  }

  .committee-stats,
  .event-facts,
  .bill-detail-grid,
  .bill-chat-section {
    margin-right: 0;
    margin-left: 0;
  }

  .witness-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .witness-profile-hero,
  .witness-profile-overview,
  .witness-profile-section {
    width: 100%;
  }

  .witness-profile-hero-grid,
  .witness-profile-badges,
  .witness-profile-appearance {
    align-items: flex-start;
    flex-direction: column;
  }

  .witness-profile-appearance {
    grid-template-columns: 1fr;
  }

  .witness-sidebar {
    position: static;
  }

  .rules-chat-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .subcommittee-panel {
    position: static;
  }

  .experiment-strip {
    grid-template-columns: 1fr;
  }

  .experiment-card.featured {
    min-height: 380px;
    padding: 30px;
  }

  .news-grid,
  .contact-layout {
    padding-right: 0;
    padding-left: 0;
  }

  .news-card.featured {
    min-height: 420px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    padding: 26px;
  }

  .product-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .capability-strip {
    grid-template-columns: 1fr;
  }

  .capability + .capability {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-band h2 {
    font-size: 38px;
  }

  .page-hero h1 {
    font-size: 48px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card,
  .team-card.featured {
    grid-column: auto;
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .team-card img,
  .team-card.featured img {
    width: 170px;
  }

  .team-card h2,
  .team-card.featured h2 {
    font-size: 38px;
  }

  .section-heading h2 {
    font-size: 36px;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    min-height: auto;
    padding: 28px;
  }

  .story-card h2,
  .relationship-band h2,
  .experiment-card.featured h2,
  .explore-note h2,
  .witness-hero h1,
  .rules-hero h1,
  .committee-detail-hero h1,
  .news-card.featured h2,
  .contact-panel h2 {
    font-size: 36px;
  }

  .news-card h2,
  .experiment-card h2,
  .committee-card h2,
  .committee-events-panel h2,
  .witness-card h3,
  .witness-hero-card h2,
  .rules-chat-head h2,
  .rules-side-card h3,
  .contact-grid h3,
  .legal-page h2 {
    font-size: 28px;
  }

  .legal-page {
    padding: 58px 0 72px;
  }

  .legal-page h1 {
    font-size: 48px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 32px, 1210px);
  }

  .footer-links {
    justify-content: flex-start;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .directory-hero,
  .directory-panel {
    padding: 22px;
  }

  .stats-grid,
  .member-grid,
  .legislation-grid,
  .witness-stats,
  .committee-stats {
    grid-template-columns: 1fr;
  }

  .witness-card,
  .witness-card-head,
  .rules-input-form,
  .event-witness-card,
  .event-witness-head,
  .event-info-list div,
  .report-card-top,
  .report-facts {
    grid-template-columns: 1fr;
  }

  .witness-card-head,
  .event-witness-head,
  .report-card-top {
    display: grid;
  }

  .witness-badges {
    justify-content: flex-start;
  }

  .report-badges {
    justify-content: flex-start;
  }

  .rules-answer {
    max-width: calc(100% - 56px);
  }
}

@media (max-width: 520px) {
  .brand {
    width: 138px;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero-art {
    min-height: 340px;
  }

  .building-main {
    width: 250px;
    height: 320px;
  }

  .building-left {
    right: 236px;
  }

  .data-bars {
    right: 34px;
    gap: 8px;
  }

  .steps {
    right: 56px;
    width: 310px;
  }

  .capability {
    grid-template-columns: 1fr;
  }
}
