:root {
  --red: #b7192d;
  --red-dark: #7e1221;
  --gold: #f0b323;
  --ink: #161d2b;
  --muted: #626a77;
  --line: #e8e1d6;
  --paper: #fffaf2;
  --white: #ffffff;
  --blue: #26375f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(20, 24, 34, 0.72);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--red-dark);
  background: var(--gold);
  font-size: 15px;
}

.nav {
  display: flex;
  gap: clamp(14px, 2.2vw, 30px);
  font-size: 15px;
}

.nav a {
  opacity: 0.88;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 18, 28, 0.9) 0%, rgba(15, 18, 28, 0.58) 42%, rgba(15, 18, 28, 0.08) 76%),
    linear-gradient(0deg, rgba(15, 18, 28, 0.58) 0%, rgba(15, 18, 28, 0) 45%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  padding: 128px clamp(20px, 5vw, 72px) 72px;
}

.kicker,
.section-label,
.nomination {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 700;
}

.kicker {
  max-width: 650px;
  color: #ffe1a0;
  font-size: clamp(13px, 1.5vw, 16px);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 18px 0 12px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  margin: 0;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.15;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.appeal-form button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 14px 20px;
  font-weight: 700;
  cursor: pointer;
}

.button.primary,
.appeal-form button {
  color: var(--white);
  background: var(--red);
}

.appeal-form button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.form-status[data-type="success"] {
  color: #1d7b46;
}

.form-status[data-type="error"] {
  color: var(--red);
}

.button.secondary {
  color: var(--ink);
  background: var(--gold);
}

.nomination {
  max-width: 760px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.section,
.appeal-band,
.program-strip,
.footer {
  padding: clamp(52px, 8vw, 96px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.appeal-band {
  background: var(--white);
}

.appeal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.section-label {
  color: var(--red);
  font-size: 13px;
}

h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4.3vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.appeal-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  box-shadow: 0 18px 45px rgba(87, 55, 31, 0.12);
}

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

.appeal-form input,
.appeal-form select,
.appeal-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8d2c8;
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.appeal-form textarea {
  resize: vertical;
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

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

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

.priority-card {
  min-height: 248px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 700;
}

.priority-card h3,
.meeting-list h3 {
  margin: 22px 0 8px;
  font-size: 21px;
  line-height: 1.2;
}

.priority-card p,
.meeting-list p,
.footer p {
  margin: 0;
  color: var(--muted);
}

.program-strip {
  color: var(--white);
  background: var(--red-dark);
}

.program-strip .section-label {
  color: var(--gold);
}

.program-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.program-points {
  display: grid;
  gap: 14px;
}

.program-points p {
  margin: 0;
  padding: 18px 0 18px 24px;
  border-left: 4px solid var(--gold);
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

.meeting-list article {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.meeting-list time {
  color: var(--red);
  font-size: 22px;
  font-weight: 700;
}

.meeting-list h3 {
  margin-top: 0;
}

.footer {
  color: var(--white);
  background: #1d2433;
}

.footer .section-label {
  color: var(--gold);
}

.footer h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.footer p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.74);
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.contact-list {
  display: grid;
  gap: 10px;
  min-width: min(360px, 100%);
  align-content: center;
}

.contact-list a,
.contact-list span {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.admin-page {
  background: #f6f1e9;
}

.admin-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0;
}

.admin-header,
.appeals-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-header {
  margin-bottom: 26px;
}

.admin-header h1 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: clamp(34px, 6vw, 58px);
}

.appeals-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.appeals-toolbar {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.appeals-list {
  display: grid;
  gap: 0;
}

.appeal-item {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.appeal-item:last-child {
  border-bottom: 0;
}

.appeal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 14px;
}

.appeal-item h2 {
  margin: 12px 0 8px;
  font-size: 24px;
}

.appeal-item p {
  margin: 0 0 16px;
  color: var(--ink);
}

.appeal-item dl {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0;
}

.appeal-item dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.appeal-item dd {
  margin: 2px 0 0;
}

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

@media (max-width: 900px) {
  .topbar {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 860px;
  }

  .hero-photo {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(15, 18, 28, 0.92) 0%, rgba(15, 18, 28, 0.78) 42%, rgba(15, 18, 28, 0.08) 78%),
      linear-gradient(90deg, rgba(15, 18, 28, 0.56), rgba(15, 18, 28, 0.02));
  }

  .hero-content {
    padding-top: 190px;
  }

  .appeal-layout,
  .program-layout,
  .footer-layout {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

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

@media (max-width: 620px) {
  .topbar {
    padding: 14px 18px;
  }

  .brand {
    white-space: normal;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    padding: 184px 20px 42px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .appeal-form {
    padding: 18px;
  }

  .priority-grid,
  .meeting-list article {
    grid-template-columns: 1fr;
  }

  .priority-card {
    min-height: 0;
  }

  .admin-header,
  .appeals-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
}
