:root {
  --bg: #ffffff;
  --surface: #f3f5f8;
  --surface-strong: #e8ecf1;
  --text: #000000;
  --muted: #565f68;
  --border: #e2e4e7;
  --border-strong: #82878b;
  --red: #d80032;
  --blue: #005998;
  --green: #1f7a4f;
  --amber: #9a6200;
  --page-gutter: clamp(14px, 2.7778vw, 64px);
  --content-width: calc(100vw - (var(--page-gutter) * 2));
  --header-brand-width: 295.29px;
  --header-side-width: 320px;
  --ticker-control-width: 160px;
  --ticker-label-width: 159.6px;
  --header-top-height: 60px;
  --header-row-height: 40px;
  --r: 4px;
  --font-body: Arial, "Helvetica Neue", sans-serif;
  --font-display: Arial, "Helvetica Neue", sans-serif;
  --candidate-ink: var(--text);
  --candidate-paper: var(--bg);
  --candidate-soft: var(--surface);
  --candidate-accent: var(--red);
}



* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
p,
dd,
small,
strong {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header,
.site-footer,
.hero-panel,
.section-band,
.split-section,
.page-title,
.stats-strip,
.appeals-layout,
.detail-hero,
.detail-layout,
.people-grid {
  width: var(--content-width);
  margin-inline: auto;
}

.site-header {
  border: 1px solid var(--border);
  margin-top: 0;
  background: #fff;
  overflow: hidden;
}

.topbar {
  height: 60px;
  min-height: 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: var(--header-brand-width);
  height: 60px;
  min-height: 0;
  flex: 0 0 var(--header-brand-width);
  padding: 6px 20px;
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.brand img {
  width: 60px;
  height: 35px;
  flex: 0 0 60px;
  object-fit: contain;
}

.brand span {
  min-width: 0;
}

.brand strong,
h1,
h2,
h3 {
  font-family: "Inter Tight", Arial, sans-serif;
}

.brand strong {
  display: block;
  font-size: 10px;
  line-height: 1.05;
  font-weight: 500;
}

.brand small {
  display: block;
  color: var(--text);
  font-size: 7.2px;
  line-height: 1.04;
  margin-top: 1px;
  overflow-wrap: anywhere;
}

.header-meta {
  flex: 1 1 auto;
  min-width: 0;
  height: 60px;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--header-side-width);
}

.city-badge {
  height: 60px;
  min-height: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 24px;
  font-weight: 500;
}

.city-badge--empty {
  gap: 0;
}

.map-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-date {
  height: 60px;
  min-height: 0;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
}

.main-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) var(--header-side-width);
}

.main-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 0 18px 0 26px;
  border-right: 1px solid var(--border);
  color: var(--text);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.header-arrow {
  width: 19.2px;
  height: 16px;
  display: block;
  flex: 0 0 19.2px;
  color: var(--text);
}

.main-nav a:last-child {
  border-right: 0;
}

.main-nav a.nav-strong {
  background: var(--text);
  color: #fff;
}

.main-nav a.nav-strong .header-arrow {
  color: #fff;
}

.city-ticker {
  height: 40px;
  min-height: 0;
  display: grid;
  grid-template-columns: var(--ticker-control-width) minmax(0, 1fr);
  border-top: 1px solid var(--border);
}

.ticker-all,
.ticker-label,
.ticker-item {
  font-size: 12px;
  line-height: 1;
}

.ticker-all {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  padding-left: 14px;
  border-right: 1px solid var(--border);
  background: var(--muted);
  color: #fff;
  font-family: "Inter Tight", Arial, sans-serif;
  font-weight: 500;
  text-decoration: none;
}

.ticker-all .header-arrow {
  color: #fff;
}

.ticker-all span {
  min-width: 0;
  white-space: nowrap;
}

.ticker-frame {
  min-width: 0;
  display: grid;
  grid-template-columns: var(--ticker-label-width) minmax(0, 1fr);
}

.ticker-label {
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-right: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: "Inter Tight", Arial, sans-serif;
  font-weight: 400;
  white-space: nowrap;
}

.ticker-window {
  min-width: 0;
  overflow: hidden;
  background: #fff;
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 40px;
  min-height: 0;
  animation: rodina-ticker 38s linear infinite;
  will-change: transform;
}

.ticker-window:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-run {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  flex: 0 0 auto;
  padding-right: 42px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
  white-space: nowrap;
  text-decoration: none;
}

.ticker-dot {
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  background: rgb(191 35 67);
}

.topbar,
.main-nav,
.city-ticker {
  width: 100%;
}

.topbar,
.brand,
.header-meta,
.city-badge,
.header-date {
  height: var(--header-top-height);
}

.brand {
  gap: 10px;
  padding: 6px 20px;
}

.brand img {
  width: 60px;
  height: 35px;
  max-width: none;
}

.brand strong {
  font-size: 10px;
}

.brand small {
  font-size: 7.2px;
}

.city-badge {
  gap: 6px;
  padding: 0 0 0 7px;
  font-size: 12px;
}

.map-icon {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

.header-date {
  font-size: 14px;
}

.main-nav a {
  height: var(--header-row-height);
  min-height: var(--header-row-height);
  gap: 12px;
  padding: 0 18px 0 26px;
  font-size: 12px;
}

.main-nav a span {
  min-width: 0;
  white-space: nowrap;
}

.main-nav a.nav-strong {
  gap: 12.5px;
  padding-left: 60px;
}

.header-arrow {
  width: 27.1px;
  height: 16px;
  flex-basis: 27.1px;
}

.city-ticker,
.ticker-track {
  height: var(--header-row-height);
}

.ticker-all,
.ticker-label,
.ticker-item {
  font-size: 12px;
}

.ticker-all {
  gap: 8px;
  padding-left: 15px;
}

.ticker-label {
  padding: 0 20px;
}

.ticker-run {
  gap: 42px;
  padding-right: 42px;
}

.ticker-item {
  gap: 16px;
}

.ticker-dot {
  width: 4px;
  height: 4px;
  flex-basis: 4px;
}


@keyframes rodina-ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.flash-wrap {
  width: var(--content-width);
  margin: 16px auto 0;
}

.flash {
  border: 1px solid var(--border);
  padding: 12px 16px;
  background: var(--surface);
}

.flash.success {
  border-color: rgba(31, 122, 79, .35);
  background: #eff8f2;
}

.flash.error {
  border-color: rgba(216, 0, 50, .35);
  background: #fff2f4;
}

.hero-panel {
  min-height: 520px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 416px;
  border: 1px solid var(--border);
}

.hero-copy {
  padding: 48px 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
}

.hero-copy h1,
.page-title h1,
.detail-title h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.lead,
.page-title p,
.detail-title p {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.35;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow::before,
.back-link::before {
  content: "↗";
  font-size: 16px;
  line-height: 1;
}

.button.primary,
.button.dark {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
}

.button.ghost {
  background: rgba(255, 255, 255, .86);
}

.button.full {
  width: 100%;
}

.hero-registry {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  border-left: 1px solid var(--border);
}

.hero-registry div {
  padding: 32px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.hero-registry div:last-child {
  border-bottom: 0;
}

.hero-registry span,
.stats-strip strong {
  display: block;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 64px;
  line-height: 1;
  font-weight: 600;
}

.hero-registry p,
.stats-strip span {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-band,
.split-section,
.page-title,
.appeals-layout,
.detail-layout,
.people-grid {
  margin-top: 24px;
}

.section-band,
.page-title {
  border: 1px solid var(--border);
  padding: 32px 24px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head h2,
.news-aside h2,
.form-panel h2,
.detail-main h2,
.page-title h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 600;
}

.section-head.compact {
  margin-bottom: 16px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: var(--muted);
  font-weight: 600;
}

.hero-actions .button::after {
  content: "↗";
  font-size: 16px;
  line-height: 1;
}

.appeal-preview-list,
.news-list,
.initiative-list {
  display: grid;
  gap: 12px;
}

.appeal-row,
.initiative-item,
.news-record,
.registry-record,
.person-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--r);
}

.appeal-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  padding: 20px;
}

.appeal-row h3,
.registry-record a,
.initiative-item h3,
.news-record h2,
.person-card h2 {
  margin: 10px 0 8px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 600;
}

.appeal-row p,
.initiative-item p,
.news-record p,
.person-card p,
.panel-note,
.detail-main p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.person-card p:empty {
  display: none;
}

.news-record h2 a,
.news-aside h3 a {
  color: inherit;
}

.source-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.source-link::after {
  content: "↗";
  font-size: 12px;
  line-height: 1;
}

.row-meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.row-meta div,
.detail-aside dl div {
  min-width: 0;
  border-left: 2px solid var(--border);
  padding-left: 12px;
}

dt {
  color: var(--muted);
  font-size: 12px;
}

dd {
  margin: 4px 0 0;
  font-weight: 600;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.status.red {
  border-color: rgba(216, 0, 50, .35);
  color: var(--red);
}

.status.blue {
  border-color: rgba(0, 89, 152, .35);
  color: var(--blue);
}

.status.green {
  border-color: rgba(31, 122, 79, .35);
  color: var(--green);
}

.status.amber {
  border-color: rgba(154, 98, 0, .35);
  color: var(--amber);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
}

.news-aside {
  border: 1px solid var(--border);
  padding: 24px;
  background: var(--surface);
}

.news-aside article {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 16px;
}

.news-aside time,
.news-record time,
.initiative-item span,
.person-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.initiative-item {
  padding: 20px;
}

.initiative-item h3 a,
.case-item h2 a {
  color: inherit;
}

.control-line {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}

.initiative-item.wide {
  grid-column: 1 / -1;
}

.initiative-list.wide {
  grid-template-columns: 1fr;
}

.initiative-progress {
  margin-top: 18px;
}

.initiative-progress strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 28px;
}

.progress {
  height: 6px;
  background: var(--border);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--red);
}

.page-title {
  padding-top: 40px;
  padding-bottom: 40px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-top: 0;
}

.stats-strip div {
  padding: 24px;
  border-right: 1px solid var(--border);
}

.stats-strip div:last-child {
  border-right: 0;
}

.stats-strip strong {
  font-size: 44px;
}

.appeals-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 24px;
  align-items: start;
}

.registry-panel,
.form-panel,
.detail-main,
.detail-aside {
  border: 1px solid var(--border);
  padding: 24px;
  background: #fff;
}

.form-panel {
  position: sticky;
  top: 16px;
}

.filters,
.form-grid {
  display: grid;
  gap: 12px;
}

.filters {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
}

select {
  padding-right: 38px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.appeal-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.form-grid {
  grid-template-columns: 1fr 1fr;
}

.preference-grid {
  grid-template-columns: 1fr;
}

.has-error input,
.has-error select,
.has-error textarea {
  border-color: var(--red);
}

label small {
  color: var(--red);
  line-height: 1.35;
}

.checkbox-line {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: var(--text);
  font-weight: 400;
}

.checkbox-line input {
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
}

.checkbox-line small {
  grid-column: 2;
}

.registry-table {
  display: grid;
}

.registry-head,
.registry-record {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(150px, .55fr) minmax(150px, .5fr) minmax(220px, .85fr);
  gap: 16px;
  align-items: center;
}

.registry-head {
  padding: 0 16px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.registry-record {
  padding: 16px;
  margin-bottom: 8px;
}

.registry-head > span,
.registry-record > span,
.registry-record > div {
  min-width: 0;
}

.registry-record > span:not(.status),
.registry-record > div {
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.registry-record small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.registry-responsible,
.official-person,
.supervisor-person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.registry-responsible img,
.official-person img,
.supervisor-person img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
}

.registry-responsible > span,
.official-person > div,
.supervisor-person > div {
  min-width: 0;
}

.registry-responsible span span,
.registry-responsible small,
.supervisor-person strong,
.supervisor-person span {
  display: block;
}

.registry-responsible small,
.supervisor-person span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.empty-state {
  padding: 28px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
}

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

.process-grid article {
  border: 1px solid var(--border);
  padding: 18px;
}

.process-grid span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--text);
  color: #fff;
  border-radius: var(--r);
  font-weight: 700;
}

.process-grid h3 {
  margin: 16px 0 8px;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.detail-hero {
  border: 1px solid var(--border);
  padding: 24px;
  margin-top: 24px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  margin-bottom: 28px;
}

.back-link::before {
  content: none;
}

.detail-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

.case-layout {
  grid-template-columns: minmax(0, 1fr) 400px;
}

.case-summary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 28px -24px -24px;
  border-top: 1px solid var(--border);
}

.case-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .46) 52%, rgba(255, 255, 255, .14) 100%),
    var(--case-hero-image) center / cover;
}

.case-summary div {
  min-width: 0;
  padding: 18px 24px;
  border-right: 1px solid var(--border);
}

.case-summary div:last-child {
  border-right: 0;
}

.case-main {
  display: grid;
  gap: 28px;
}

.case-section + .case-section {
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.case-thread,
.comments-list {
  display: grid;
  gap: 12px;
}

.message-card,
.comment-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: #fff;
}

.message-card {
  max-width: 78%;
}

.message-card.citizen {
  margin-right: auto;
  border-left: 3px solid var(--blue);
}

.message-card.staff {
  margin-left: 56px;
  border-left: 3px solid var(--red);
}

.message-card.official {
  margin-left: auto;
  border-left: 3px solid var(--text);
  background: var(--surface);
}

.message-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.message-meta strong {
  min-width: 0;
}

.message-meta span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.message-card p,
.comment-card p,
.official-answer p,
.resolution-log p,
.official-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.answer-box {
  padding: 18px;
  border-left: 3px solid var(--red);
  background: var(--surface);
}

.official-answer {
  display: grid;
  gap: 8px;
}

.resolution-log {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.resolution-log li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.resolution-log time {
  color: var(--muted);
  font-size: 13px;
}

.resolution-log strong,
.resolution-log span {
  display: block;
}

.resolution-log span {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 16px 0 28px;
}

.timeline li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.timeline time {
  color: var(--muted);
  font-size: 13px;
}

.detail-aside dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.case-aside {
  position: sticky;
  top: 16px;
}

.official-card {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.official-card h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.1;
}

.official-person {
  align-items: flex-start;
  margin-bottom: 16px;
}

.official-person img {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
}

.official-person h2,
.official-person p {
  margin: 0;
}

.supervisor-person {
  padding: 12px;
  margin: 0 0 18px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.official-card > p {
  margin-bottom: 18px;
}

.case-meta {
  display: grid;
  gap: 16px;
  margin: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tags span {
  padding: 6px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--muted);
  font-size: 12px;
}

.news-record {
  padding: 22px;
}

.news-record span {
  margin-left: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.person-card {
  display: block;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: border-color .16s ease, transform .16s ease;
}

.person-card:hover,
.person-card:focus-visible {
  border-color: var(--red);
  transform: translateY(-2px);
}

.person-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.person-card img[src*="-wfolio"] {
  object-position: center 68%;
}

.person-placeholder,
.person-profile-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  color: var(--muted);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 52px;
  font-weight: 600;
}

.person-card div {
  padding: 16px;
}

.person-card small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.person-hero {
  padding: 24px;
}

.person-profile-head {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: end;
}

.person-profile-head img,
.person-profile-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--border);
}

.person-profile-head img[src*="-wfolio"] {
  object-position: center 68%;
}

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

.case-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px) auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--border);
  background: #fff;
}

.case-item h2 {
  margin: 12px 0 8px;
  font-size: 24px;
  line-height: 1.12;
}

.case-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.case-item-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.person-detail-layout .detail-main p {
  max-width: 820px;
  font-size: 18px;
}

/* Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V4
 * macrostructure: Editorial profile · genre: civic editorial · theme: Rodina
 */
.candidate-page {
  width: var(--content-width);
  margin: 24px auto 0;
  color: var(--candidate-ink);
}

.candidate-hero {
  border: 1px solid var(--border);
  background: var(--candidate-paper);
}

.candidate-hero__topline {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.candidate-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.candidate-back:hover {
  color: var(--candidate-accent);
}

.candidate-back:focus-visible {
  outline: 2px solid var(--candidate-accent);
  outline-offset: 4px;
}

.candidate-back:active {
  color: var(--candidate-ink);
}

.candidate-back span {
  color: var(--candidate-accent);
  font-size: 18px;
}

.candidate-hero__mark {
  color: var(--muted);
  text-align: right;
}

.candidate-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 35%) minmax(0, 1fr);
  min-height: 620px;
}

.candidate-portrait {
  position: relative;
  min-width: 0;
  margin: 0;
  border-right: 1px solid var(--border);
  background: var(--candidate-soft);
  overflow: hidden;
}

.candidate-portrait img,
.candidate-portrait .person-profile-placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  object-fit: cover;
  object-position: center top;
}

.candidate-portrait img[src*="-wfolio"] {
  object-position: center 68%;
}

.person-card[data-person-slug="galeeva-anastasiya-sergeevna"] img,
.person-profile-head img[src*="galeeva-anastasiya-sergeevna"],
.candidate-portrait img[src*="galeeva-anastasiya-sergeevna"] {
  object-position: center top;
}

.candidate-portrait figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 10px;
  background: var(--candidate-paper);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.candidate-intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(32px, 5vw, 80px);
}

.candidate-kicker {
  max-width: 520px;
  margin: 0 0 16px;
  color: var(--candidate-accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.candidate-intro h1 {
  min-width: 0;
  max-width: 900px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 6.25vw, 104px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: .88;
  overflow-wrap: anywhere;
}

.candidate-lead {
  max-width: 770px;
  margin: 32px 0 40px;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.45;
}

.candidate-brief {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--border-strong);
}

.candidate-brief div {
  min-width: 0;
  padding: 16px 16px 0 0;
}

.candidate-brief dt,
.candidate-questionnaire dt,
.candidate-aside dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.candidate-brief dd,
.candidate-questionnaire dd,
.candidate-aside dd {
  margin: 0;
  line-height: 1.4;
}

.candidate-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 0;
  border: 1px solid var(--border);
  border-top: 0;
}

.candidate-body--single {
  grid-template-columns: minmax(0, 1fr);
}

.candidate-story {
  min-width: 0;
  padding: clamp(32px, 5vw, 72px);
  border-right: 1px solid var(--border);
}

.candidate-body--single .candidate-story {
  border-right: 0;
}

.candidate-story section + section {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}

.candidate-section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.candidate-section-heading span {
  color: var(--candidate-accent);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

.candidate-section-heading h2 {
  min-width: 0;
  margin: 0;
  font-size: clamp(32px, 3.2vw, 52px);
  font-weight: 500;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.candidate-biography {
  max-width: 900px;
  margin: 0 0 0 64px;
  font-size: clamp(18px, 1.3vw, 21px);
  line-height: 1.68;
}

.candidate-questionnaire {
  margin: 0 0 0 64px;
}

.candidate-video-card {
  width: min(420px, calc(100% - 64px));
  margin: 0 0 0 64px;
  border: 1px solid var(--border);
  background: #000;
  overflow: hidden;
}

.candidate-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: min(760px, 78vh);
  background: #000;
  object-fit: contain;
}

.candidate-questionnaire div {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.candidate-questionnaire div:last-child {
  border-bottom: 1px solid var(--border);
}

.candidate-questionnaire dd {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.58;
}

.candidate-aside {
  align-self: start;
  position: sticky;
  top: 16px;
  padding: 32px;
}

.candidate-aside__label {
  margin: 0 0 22px;
  color: var(--candidate-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.candidate-aside blockquote {
  margin: 0 0 30px;
  padding: 0 0 28px;
  border-bottom: 3px solid var(--candidate-ink);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.12;
}

.candidate-aside dl {
  margin: 0;
}

.candidate-aside dl div {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}







.clean-water-page {
  width: var(--content-width);
  margin: 24px auto 0;
  --cw-deep: #07141f;
  --cw-blue: #005998;
  --cw-blue-dark: #004675;
  --cw-paper: #f7f9fb;
  --cw-line: rgba(255, 255, 255, .22);
}

.clean-water-hero {
  position: relative;
  min-height: clamp(560px, calc(100svh - 154px), 680px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 452px);
  border: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(0, 67, 119, .82) 0%, rgba(0, 89, 152, .68) 46%, rgba(0, 89, 152, .2) 100%),
    url("/assets/hero-bg.webp") center / cover no-repeat,
    var(--cw-blue);
  color: #fff;
  overflow: hidden;
}

.clean-water-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--red) 0 34%, #fff 34% 35%, var(--cw-blue-dark) 35% 100%);
}

.clean-water-hero__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3.2vw, 52px);
}

.clean-water-hero .eyebrow {
  margin-top: 18px;
  color: rgba(255, 255, 255, .86);
}

.clean-water-hero__statement {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: min(720px, 100%);
  border: 1px solid var(--cw-line);
  background: rgba(7, 20, 31, .24);
  backdrop-filter: blur(10px);
}

.clean-water-hero__statement span {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  border-right: 1px solid var(--cw-line);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.clean-water-hero__statement strong {
  min-width: 0;
  padding: 8px 14px 8px 0;
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.clean-water-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(48px, 5.75vw, 86px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: .9;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.clean-water-lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.38;
}

.clean-water-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.clean-water-hero__actions .button,
.petition-form .button,
.clean-water-appeal .button {
  min-height: 44px;
}

.clean-water-hero__actions .button.primary,
.petition-form .button.primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.clean-water-hero__actions .button.ghost {
  border-color: rgba(255, 255, 255, .54);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.clean-water-hero__actions .button::after,
.petition-form .button::after,
.clean-water-appeal .button::after {
  content: "↗";
  font-size: 16px;
  line-height: 1;
}

.clean-water-hero__person {
  display: grid;
  grid-template-columns: 96px minmax(0, 410px);
  gap: 16px;
  align-items: end;
  max-width: 650px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .24);
}

.clean-water-hero__person img,
.clean-water-appeal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.clean-water-hero__person img {
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, .46);
  background: rgba(255, 255, 255, .12);
}

.clean-water-hero__person span {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.clean-water-hero__person strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 600;
  line-height: 1.05;
}

.clean-water-hero__person p {
  max-width: 390px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.4;
}

.petition-panel {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2vw, 30px);
  border-left: 1px solid var(--cw-line);
  background: #fff;
  color: var(--text);
}

.petition-panel .eyebrow {
  color: var(--red);
}

.petition-panel__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.petition-panel__top span {
  max-width: 150px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: right;
}

.petition-counter {
  padding: 14px 0 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.petition-counter > div:first-child {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.petition-counter strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(52px, 4vw, 70px);
  font-weight: 600;
  line-height: .86;
}

.petition-counter span,
.petition-counter small,
.petition-success p,
.petition-form p {
  color: var(--muted);
  line-height: 1.45;
}

.petition-counter small {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
}

.petition-progress {
  height: 8px;
  margin-top: 9px;
  background: var(--surface-strong);
  overflow: hidden;
}

.petition-progress span {
  display: block;
  width: var(--petition-progress);
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--cw-blue));
}

.petition-panel__promise {
  display: grid;
  gap: 6px;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  background: var(--cw-paper);
}

.petition-panel__promise strong {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.1;
}

.petition-panel__promise span,
.petition-form__note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.petition-success {
  padding: 20px;
  border: 1px solid rgba(31, 122, 79, .35);
  background: #eff8f2;
}

.petition-success h2,
.petition-form h2,
.clean-water-plan h2,
.clean-water-appeal h2,
.clean-water-grid h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.25vw, 36px);
  font-weight: 600;
  line-height: 1.05;
}

.petition-success p {
  margin: 12px 0 0;
}

.petition-form {
  display: grid;
  gap: 12px;
}

.petition-form input {
  min-height: 44px;
}

.petition-form__note {
  margin: -2px 0 0;
}

.petition-test-code {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(0, 89, 152, .32);
  background: #eef6fc;
}

.petition-test-code span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.petition-test-code strong {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
}

.admin-page {
  width: var(--content-width);
  margin: 24px auto 0;
}

.admin-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--border);
  background: #fff;
}

.admin-head h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(44px, 5.4vw, 92px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: .9;
}

.admin-head p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-top: 0;
  background: var(--surface);
}

.admin-stats div {
  min-width: 0;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
}

.admin-stats div:last-child {
  border-right: 0;
}

.admin-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 3.8vw, 64px);
  font-weight: 600;
  line-height: .95;
}

.admin-stats span,
.admin-sms-state span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.admin-sms-state {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  border: 1px solid var(--border);
  border-top: 0;
  background: #fff;
}

.admin-sms-state.ok strong {
  color: var(--green);
}

.admin-sms-state.warn strong {
  color: var(--amber);
}

.admin-sms-state.bad strong {
  color: var(--red);
}

.admin-table {
  border: 1px solid var(--border);
  border-top: 0;
  background: #fff;
  overflow-x: auto;
}

.admin-table__head,
.admin-table__row {
  display: grid;
  grid-template-columns: minmax(130px, .8fr) minmax(220px, 1.25fr) minmax(150px, .8fr) minmax(120px, .7fr) minmax(260px, 1.4fr) minmax(150px, .8fr);
  min-width: 1120px;
}

.admin-table__head {
  background: var(--text);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.admin-table__head span,
.admin-table__row span,
.admin-table__row strong {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--border);
  overflow-wrap: anywhere;
}

.admin-table__head span {
  border-right-color: rgba(255, 255, 255, .22);
}

.admin-table__row {
  border-top: 1px solid var(--border);
}

.admin-table__row strong {
  font-weight: 700;
}

.admin-table__row span {
  color: var(--muted);
}

.clean-water-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-top: 0;
  background: #fff;
}

.clean-water-stats div {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid var(--border);
}

.clean-water-stats div:last-child {
  border-right: 0;
}

.clean-water-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(44px, 4.4vw, 70px);
  line-height: 1;
}

.clean-water-stats span {
  display: block;
  max-width: 390px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.35;
}

.clean-water-plan {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 28px;
  margin-top: 24px;
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--border);
  background: var(--cw-deep);
  color: #fff;
}

.clean-water-plan .eyebrow {
  color: #fff;
}

.clean-water-plan__head {
  min-width: 0;
}

.clean-water-plan__grid {
  display: grid;
  gap: 12px;
}

.clean-water-plan article {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.clean-water-plan article:first-child {
  border-top: 0;
  padding-top: 0;
}

.clean-water-plan article span {
  color: #78bee8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.clean-water-plan h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

.clean-water-plan p {
  grid-column: 2;
  margin: -8px 0 0;
  color: rgba(255, 255, 255, .76);
  line-height: 1.45;
}

.clean-water-appeal {
  display: grid;
  grid-template-columns: minmax(300px, 410px) minmax(0, 1fr);
  gap: 0;
  margin-top: 24px;
  border: 1px solid var(--border);
  background: #fff;
}

.clean-water-appeal__photo {
  margin: 0;
  border-right: 1px solid var(--border);
  background: var(--surface);
}

.clean-water-appeal__photo img {
  aspect-ratio: 4 / 5;
  border: 0;
}

.clean-water-appeal__text {
  min-width: 0;
  padding: clamp(28px, 4vw, 64px);
}

.clean-water-appeal__text p {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.55;
}

.clean-water-appeal__text .button {
  margin-top: 28px;
}

.clean-water-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.clean-water-grid article {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--cw-paper);
}

.clean-water-grid span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.clean-water-grid h2 {
  margin-top: 18px;
  font-size: clamp(25px, 2vw, 34px);
}

.clean-water-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.45;
}





.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;
}

.site-footer.home-footer {
  margin-top: 44px;
  margin-bottom: 0;
  padding-top: 44px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.home-footer__panel {
  height: 348px;
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.home-footer__subscribe {
  height: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 646px;
  align-items: start;
  gap: 24px;
  padding: 24px 24px 0;
  border-bottom: 1px solid var(--border);
}

.home-footer__subscribe p {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.home-footer__form {
  height: 40px;
  display: grid;
  grid-template-columns: 386px 260px;
  justify-content: end;
}

.home-footer__form input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  outline: none;
}

.home-footer__form input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.home-footer__form button,
.home-footer__nav a,
.home-footer__bottom a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.home-footer__form button {
  justify-content: center;
  background: var(--muted);
  color: #fff;
  cursor: pointer;
}

.home-footer__arrow {
  width: 16px;
  height: 16px;
  min-width: 16px;
  display: block;
  flex: 0 0 16px;
  color: currentColor;
}

.home-footer__main {
  height: 232px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 646px;
  gap: 24px;
  padding: 48px 24px 24px;
}

.home-footer__brand {
  width: min(420px, 100%);
  display: block;
  text-decoration: none;
}

.home-footer__brand img {
  width: 112px;
  height: 66px;
  object-fit: cover;
  object-position: center;
}

.home-footer__brand strong {
  display: block;
  margin-top: 16px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
}

.home-footer__brand span {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.15;
}

.home-footer__nav {
  display: grid;
  grid-template-columns: 228px 228px 150px;
  gap: 20px;
}

.home-footer__nav div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-footer__nav a,
.home-footer__bottom a {
  height: 40px;
}

.home-footer__nav a {
  color: var(--text);
}

.home-footer__bottom {
  height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 645px;
  align-items: center;
  gap: 20px;
  padding: 4px 24px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
}

.home-footer__bottom nav {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.home-footer__bottom small {
  display: block;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.home-hero,
.home-news-feature,
.home-position,
.home-section,
.home-appeals-strip {
  width: var(--content-width);
  margin: 24px auto 0;
}

.home-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 24px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(0, 57, 106, .96) 0%, rgba(0, 89, 152, .78) 48%, rgba(0, 89, 152, .38) 100%),
    url("/assets/figma/71a48c3cbbdb3453fc2b6909f243cdc3bbad336d.webp") center / cover no-repeat,
    var(--blue);
  color: #fff;
  overflow: hidden;
}

.home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--red) 0 34%, #fff 34% 35%, #003f72 35% 100%);
}

.home-hero .eyebrow {
  color: rgba(255, 255, 255, .86);
}

.home-hero__copy,
.home-hero__person,
.home-hero__cards {
  position: relative;
  z-index: 1;
}

.home-hero__copy {
  align-self: end;
  min-width: 0;
  padding-bottom: 28px;
}

.home-hero__copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(52px, 6.4vw, 88px);
  font-weight: 600;
  line-height: .92;
  overflow-wrap: anywhere;
}

.home-hero__lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(17px, 1.34vw, 21px);
  line-height: 1.42;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button.light {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.home-hero__actions .button::after,
.home-news-feature .button::after,
.home-appeals-strip .button::after {
  content: "↗";
  font-size: 16px;
  line-height: 1;
}

.home-hero__person {
  align-self: start;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(2, 30, 60, .72);
}

.home-hero__person img {
  width: 112px;
  height: 140px;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid rgba(255, 255, 255, .48);
}

.home-hero__person span,
.home-case-card__control span {
  display: block;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.home-hero__person strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.home-hero__person p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.38;
}

.home-hero__cards {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(760px, 100%);
}

.home-hero-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  text-decoration: none;
}

.home-hero-card span,
.home-hero-card small {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.home-hero-card strong {
  display: block;
  margin: 14px 0;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.home-news-feature {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .55fr);
  border: 1px solid var(--border);
  background: #fff;
}

.home-news-feature figure {
  min-width: 0;
  margin: 0;
  border-right: 1px solid var(--border);
  background: var(--surface);
}

.home-news-feature img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: center;
}

.home-news-feature article {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3.8vw, 56px);
}

.home-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-news-feature h2,
.home-position article p,
.home-appeals-strip h2 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 600;
  line-height: 1.06;
}

.home-news-feature article > p:not(.eyebrow) {
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.home-position {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  border: 1px solid var(--border);
  background: #fff;
}

.home-position > div {
  padding: 26px 24px;
  border-right: 1px solid var(--border);
  border-left: 4px solid var(--red);
  background: var(--surface);
}

.home-position > div p {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-position article {
  min-width: 0;
  padding: clamp(24px, 3.2vw, 44px);
}

.home-position article p {
  max-width: 920px;
  font-size: clamp(24px, 2.6vw, 38px);
}

.home-section {
  border: 1px solid var(--border);
  padding: 28px 24px 24px;
  background: #fff;
}

.home-people__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 280px);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.home-person-card {
  min-width: 0;
  border: 1px solid var(--border);
  background: #fff;
  scroll-snap-align: start;
  overflow: hidden;
}

.home-person-card__media {
  position: relative;
  height: 330px;
  background: var(--surface);
  overflow: hidden;
}

.home-person-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.home-person-card__media img[src*="-wfolio"] {
  object-position: center top;
}

.video-chip {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: var(--r);
  background: rgba(0, 0, 0, .72);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.home-person-card__body {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 16px;
}

.home-person-card__body a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.06;
}

.home-person-card__body p {
  display: -webkit-box;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.home-cases-grid,
.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-case-card,
.home-news-grid article {
  min-width: 0;
  border: 1px solid var(--border);
  background: var(--surface);
}

.home-case-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.home-case-card > small,
.home-news-grid time,
.home-news-grid span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.home-case-card h3,
.home-news-grid h3 {
  margin: 16px 0 10px;
  font-size: 24px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.home-case-card p,
.home-news-grid p,
.home-appeals-strip > div > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.home-case-card__control {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.home-case-card__control img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.home-case-card__control span {
  color: var(--muted);
}

.home-appeals-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 24px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.home-appeals-strip dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.home-appeals-strip dl div {
  min-width: 0;
  padding-left: 14px;
  border-left: 2px solid var(--border-strong);
}

.home-appeals-strip dd {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
}

.home-news-grid article {
  padding: 18px;
}

.home-news-grid span {
  margin-top: 8px;
  color: var(--red);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .76);
}

.video-modal.is-open {
  display: grid;
}

.video-modal__panel {
  width: min(420px, 100%);
  background: #000;
  border: 1px solid rgba(255, 255, 255, .24);
}

.video-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 12px 0 16px;
  background: #fff;
  color: var(--text);
}

.video-modal__head strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-modal__head button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.video-modal video {
  width: 100%;
  max-height: min(760px, 82vh);
  display: block;
  background: #000;
}

.candidate-intro h1,
.candidate-section-heading h2,
.candidate-aside blockquote {
  letter-spacing: 0;
}

@media (max-width: 1180px) {
  .home-hero,
  .home-news-feature,
  .home-position,
  .home-appeals-strip,
  .hero-panel,
  .split-section,
  .appeals-layout,
  .detail-layout,
  .case-layout,
  .person-profile-head,
  .clean-water-hero,
  .clean-water-plan,
  .clean-water-appeal,
  .candidate-hero__grid,
  .candidate-body {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 0;
  }

  .home-hero__copy {
    align-self: auto;
    padding-bottom: 0;
  }

  .home-news-feature figure,
  .home-position > div,
  .clean-water-appeal__photo,
  .candidate-story,
  .candidate-portrait {
    border-right: 0;
  }

  .home-news-feature figure,
  .clean-water-appeal__photo,
  .candidate-portrait {
    border-bottom: 1px solid var(--border);
  }

  .home-cases-grid,
  .home-news-grid,
  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-registry {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .hero-registry div {
    border-right: 1px solid var(--border);
    border-bottom: 0;
  }

  .hero-registry div:last-child {
    border-right: 0;
  }

  .form-panel,
  .case-aside,
  .candidate-aside {
    position: static;
  }

  .appeal-row,
  .case-item,
  .clean-water-plan article {
    grid-template-columns: 1fr;
  }

  .case-item .button {
    width: max-content;
  }

  .candidate-portrait {
    height: min(86vw, 640px);
  }
}

@media (max-width: 900px) {
  :root {
    --page-gutter: 12px;
    --content-width: calc(100vw - 24px);
    --header-top-height: 64px;
    --header-row-height: 44px;
  }

  .site-header {
    margin-top: 0;
  }

  .topbar {
    height: auto;
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 98px;
  }

  .brand {
    width: auto;
    height: 64px;
    flex: initial;
    gap: 10px;
    padding: 8px 12px;
    border-right: 0;
  }

  .brand img {
    width: 54px;
    height: 32px;
    flex-basis: 54px;
  }

  .brand strong {
    font-size: 10px;
  }

  .brand small {
    display: -webkit-box;
    max-height: 24px;
    font-size: 7px;
    line-height: 1.12;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .header-meta {
    width: 98px;
    height: 64px;
    display: block;
  }

  .city-badge {
    display: none;
  }

  .header-date {
    width: 98px;
    height: 64px;
    padding: 0 8px;
    border-left: 1px solid var(--border);
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
  }

  .main-nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a,
  .main-nav a.nav-strong {
    flex: 0 0 auto;
    height: 44px;
    min-height: 44px;
    gap: 8px;
    padding: 0 14px;
    font-size: 12px;
    border-bottom: 0;
  }

  .header-arrow {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  @media (max-width: 680px) {
    .main-nav {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      overflow: visible;
    }

    .main-nav a,
    .main-nav a.nav-strong {
      min-width: 0;
      width: auto;
      justify-content: flex-start;
      padding: 0 10px;
      border-right: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      text-align: left;
    }

    .main-nav a:nth-child(even),
    .main-nav a:last-child {
      border-right: 0;
    }

    .main-nav a span {
      min-width: 0;
      white-space: normal;
      line-height: 1.12;
    }
  }

  .city-ticker {
    height: 38px;
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .ticker-all {
    gap: 6px;
    padding-left: 10px;
    font-size: 11px;
  }

  .ticker-frame {
    grid-template-columns: minmax(0, 1fr);
  }

  .ticker-label {
    display: none;
  }

  .ticker-track {
    height: 38px;
    animation-duration: 48s;
  }

  .ticker-run {
    gap: 28px;
    padding-right: 28px;
  }

  .ticker-item {
    gap: 10px;
    font-size: 11px;
  }

  .section-head {
    display: grid;
    gap: 14px;
  }

  .filters {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid,
  .stats-strip,
  .clean-water-stats,
  .clean-water-grid,
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer.home-footer {
    height: auto;
    padding-top: 20px;
  }

  .home-footer__panel {
    height: auto;
    overflow: visible;
  }

  .home-footer__subscribe {
    height: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .home-footer__form {
    width: 100%;
    height: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: stretch;
  }

  .home-footer__form input,
  .home-footer__form button {
    height: 44px;
    min-height: 44px;
  }

  .home-footer__form button {
    padding: 0 14px;
  }

  .home-footer__main {
    height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 18px;
  }

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

  .home-footer__bottom {
    height: auto;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 18px 16px;
  }

  .home-footer__bottom nav {
    flex-wrap: wrap;
    gap: 0 16px;
  }
}

@media (max-width: 680px) {
  .home-hero,
  .home-news-feature,
  .home-position,
  .home-section,
  .home-appeals-strip,
  .hero-panel,
  .section-band,
  .split-section,
  .page-title,
  .stats-strip,
  .appeals-layout,
  .detail-hero,
  .detail-layout,
  .people-grid,
  .candidate-page,
  .clean-water-page,
  .admin-page {
    margin-top: 14px;
  }

  .home-hero {
    gap: 18px;
    padding: 24px 18px 30px;
  }

  .home-hero__copy h1,
  .hero-copy h1,
  .page-title h1,
  .detail-title h1,
  .clean-water-hero h1,
  .admin-head h1 {
    font-size: clamp(28px, 7.2vw, 32px);
    line-height: 1.02;
    text-wrap: auto;
  }

  .page-title h1,
  .detail-title h1,
  .section-head h2,
  .news-record h2,
  .initiative-item h3,
  .appeal-row h3,
  .registry-record a,
  .case-item h2,
  .person-card h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .registry-record a {
    display: block;
    min-width: 0;
    line-height: 1.14;
  }

  .page-title p,
  .detail-title p,
  .registry-record small,
  .registry-record > span,
  .registry-record > div,
  .case-item p,
  .detail-main p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .home-hero__lead,
  .lead,
  .page-title p,
  .detail-title p,
  .clean-water-lead {
    font-size: 15px;
    line-height: 1.42;
  }

  .home-hero__person {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .home-hero__person img {
    width: 86px;
    height: 108px;
  }

  .home-hero__person strong {
    font-size: 22px;
  }

  .home-hero__cards,
  .home-cases-grid,
  .home-news-grid,
  .home-appeals-strip,
  .home-appeals-strip dl,
  .home-position,
  .hero-registry,
  .filters,
  .form-grid,
  .row-meta,
  .case-item-meta,
  .case-summary,
  .candidate-brief,
  .candidate-questionnaire div,
  .clean-water-hero__statement,
  .clean-water-hero__person,
  .clean-water-plan article,
  .process-grid,
  .clean-water-grid,
  .admin-head,
  .admin-sms-state {
    grid-template-columns: 1fr;
  }

  .stats-strip,
  .clean-water-stats,
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-strip div,
  .clean-water-stats div,
  .admin-stats div {
    padding: 18px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .stats-strip div:nth-child(2n),
  .clean-water-stats div:nth-child(2n),
  .admin-stats div:nth-child(2n) {
    border-right: 0;
  }

  .clean-water-stats div:last-child {
    border-right: 0;
  }

  .stats-strip div:nth-last-child(-n + 2),
  .clean-water-stats div:nth-last-child(-n + 2),
  .admin-stats div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .home-news-feature img {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }

  .home-position > div {
    border-left-width: 3px;
    border-bottom: 1px solid var(--border);
  }

  .home-section,
  .section-band,
  .page-title,
  .registry-panel,
  .form-panel,
  .detail-main,
  .detail-aside,
  .detail-hero,
  .hero-copy,
  .news-aside,
  .admin-head {
    padding: 20px;
  }

  .home-position article,
  .home-news-feature article,
  .clean-water-appeal__text,
  .candidate-intro,
  .candidate-story,
  .candidate-aside,
  .clean-water-hero__copy,
  .petition-panel {
    padding: 22px 18px;
  }

  .home-position article p,
  .home-news-feature h2,
  .home-appeals-strip h2,
  .section-head h2,
  .news-aside h2,
  .form-panel h2,
  .detail-main h2 {
    font-size: clamp(22px, 5.9vw, 29px);
  }

  .home-people__rail {
    grid-auto-columns: minmax(208px, 78vw);
  }

  .home-person-card__media {
    height: 290px;
  }

  .home-person-card__body {
    min-height: 132px;
  }

  .home-person-card__body a {
    font-size: 19px;
  }

  .home-case-card {
    min-height: 0;
  }

  .home-appeals-strip {
    align-items: stretch;
  }

  .home-appeals-strip .button {
    width: 100%;
  }

  .hero-panel {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-registry div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .hero-registry div:last-child {
    border-bottom: 0;
  }

  .hero-registry span,
  .stats-strip strong {
    font-size: 40px;
  }

  .appeal-row,
  .registry-record {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .registry-head {
    display: none;
  }

  .registry-record > span,
  .registry-record > div {
    display: block;
    margin-top: 10px;
  }

  .message-card {
    max-width: 100%;
  }

  .message-card.staff,
  .message-card.official {
    margin-left: 0;
  }

  .message-meta,
  .detail-title,
  .petition-panel__top,
  .petition-counter > div:first-child {
    display: grid;
    text-align: left;
  }

  .resolution-log li,
  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .people-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .person-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 132px;
    overflow: hidden;
  }

  .person-card img,
  .person-placeholder {
    width: 96px;
    height: 132px;
    aspect-ratio: auto;
    object-position: center top;
  }

  .person-card div {
    min-width: 0;
    padding: 10px 12px;
    overflow: hidden;
  }

  .person-card h2 {
    margin: 6px 0;
    font-size: 17px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .person-card p,
  .person-card small {
    display: -webkit-box;
    font-size: 12px;
    line-height: 1.28;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .person-card small {
    margin-top: 6px;
    -webkit-line-clamp: 2;
  }

  .person-profile-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .candidate-hero__topline {
    padding: 0 16px;
  }

  .candidate-hero__mark {
    display: none;
  }

  .candidate-portrait {
    height: min(118vw, 560px);
  }

  .candidate-intro h1 {
    font-size: clamp(30px, 9.2vw, 44px);
    line-height: 1.02;
  }

  .candidate-biography,
  .candidate-questionnaire,
  .candidate-video-card {
    width: 100%;
    margin-left: 0;
  }

  .candidate-story section + section {
    margin-top: 42px;
    padding-top: 34px;
  }

  .clean-water-hero {
    min-height: 0;
  }

  .clean-water-hero__statement strong {
    padding: 0 14px 12px;
  }

  .clean-water-hero__person {
    gap: 12px;
  }

  .clean-water-hero__person img {
    width: 88px;
    height: 110px;
  }

  .petition-panel {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .home-footer__form,
  .home-footer__nav,
  .home-footer__bottom nav {
    grid-template-columns: 1fr;
  }

  .home-footer__form button {
    justify-content: center;
  }

  .admin-table__head,
  .admin-table__row {
    min-width: 980px;
  }
}

@media (max-width: 420px) {
  .home-hero__actions,
  .hero-actions,
  .clean-water-hero__actions {
    display: grid;
  }

  .home-hero__actions .button,
  .hero-actions .button,
  .clean-water-hero__actions .button {
    width: 100%;
  }

  .brand {
    gap: 8px;
    padding-left: 10px;
  }

  .brand img {
    width: 48px;
    height: 28px;
    flex-basis: 48px;
  }

  .header-date {
    font-size: 10px;
  }

  .home-footer__brand span,
  .home-footer__nav a,
  .home-footer__bottom a,
  .home-footer__bottom small {
    white-space: normal;
  }
}
