:root {
  --ink: #15202b;
  --paper: #f6f1e8;
  --accent: #b33a3a;
  --accent-deep: #7f232d;
  --sky: #4d6988;
  --sky-deep: #223a57;
  --line: #d6c9b7;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at 12% 15%, #ffffff 0%, transparent 36%),
    radial-gradient(circle at 90% 8%, #e1d4c8 0%, transparent 24%),
    linear-gradient(160deg, var(--paper) 0%, #ede4d6 50%, #faf7f2 100%);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  filter: blur(60px);
  opacity: 0.45;
}

.bg-shape-a {
  width: 320px;
  height: 320px;
  background: #d8c5bb;
  top: -80px;
  left: -80px;
}

.bg-shape-b {
  width: 300px;
  height: 300px;
  background: #b9cad9;
  right: -80px;
  bottom: 80px;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgb(34 58 87 / 94%);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  border-top: 4px solid var(--accent);
  z-index: 20;
  box-shadow: 0 10px 28px rgb(21 32 43 / 0.22);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}

.wordmark {
  color: #fff8f0;
  text-decoration: none;
  font-family: "Archivo Black", Impact, sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav a {
  color: rgb(255 248 240 / 0.88);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

nav a:hover {
  color: #fff8f0;
}

.nav-cta {
  border: 1.5px solid var(--accent);
  color: #fff8f0;
  background: rgb(179 58 58 / 0.22);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

.hero {
  padding: 5.8rem 0 3rem;
  position: relative;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.78) 0%, rgb(255 251 245 / 0.3) 100%);
  border: 1px solid rgb(214 201 183 / 0.75);
  border-radius: 28px;
  padding-left: 2rem;
  padding-right: 2rem;
  box-shadow: 0 28px 60px rgb(21 32 43 / 0.08);
}

.hero::after {
  content: "";
  display: block;
  width: min(260px, 40vw);
  height: 8px;
  margin-top: 2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--sky-deep) 100%);
}

.kicker {
  font-size: 0.83rem;
  letter-spacing: 0.13em;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--sky-deep);
}

h1,
h2,
h3 {
  font-family: "Archivo Black", Impact, sans-serif;
  line-height: 1.03;
  margin: 0;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 5rem);
  text-transform: uppercase;
  max-width: 11ch;
}

.lede {
  margin-top: 1.3rem;
  max-width: 66ch;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.hero-cta {
  margin-top: 1.7rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.btn-solid {
  background: var(--accent);
  color: #fffaf5;
  border: 1.5px solid var(--accent);
  box-shadow: 0 10px 22px rgb(179 58 58 / 0.18);
}

.btn-solid:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.btn-outline {
  color: var(--sky-deep);
  border: 1.5px solid var(--sky-deep);
  background: rgb(255 255 255 / 0.45);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.micro-note {
  margin-top: 1rem;
  max-width: 70ch;
  color: #4b5459;
  font-size: 0.92rem;
}

section {
  margin-top: 2.2rem;
  margin-bottom: 2.8rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 4.1vw, 2.8rem);
  text-transform: uppercase;
}

.section-head p {
  margin-top: 0.8rem;
  max-width: 70ch;
}

.issue-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.issue-grid article {
  background: linear-gradient(180deg, #fff 0%, #fbf7f1 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
  min-height: 162px;
  box-shadow: 0 12px 28px rgb(21 32 43 / 0.05);
  border-top: 5px solid var(--sky-deep);
}

.source-chip {
  display: inline-flex;
  align-items: center;
  margin-top: 0.55rem;
  margin-right: 0.4rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  border: 1px solid #c9b49b;
  background: linear-gradient(180deg, #fffaf2 0%, #f1e3cf 100%);
  color: #45372a;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  vertical-align: middle;
  box-shadow: 0 6px 14px rgb(16 23 27 / 0.05);
}

.source-chip::before {
  content: "Source";
  margin-right: 0.45rem;
  padding-right: 0.45rem;
  border-right: 1px solid rgb(69 55 42 / 0.2);
  opacity: 0.72;
}

.source-chip:hover {
  background: linear-gradient(180deg, #fff3df 0%, #ecd4b4 100%);
  border-color: #b88e61;
  color: var(--accent-deep);
}

.issue-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.plan {
  background: linear-gradient(160deg, #fffaf2 0%, #f4e6d9 100%);
  border: 1px solid #d8c0ad;
  border-radius: 20px;
  padding: 1.35rem;
  box-shadow: 0 18px 36px rgb(127 35 45 / 0.08);
}

#office-hours {
  margin-top: 5.5rem;
  padding: 1.4rem;
  background: linear-gradient(145deg, #fff7ef 0%, #edd9c8 100%);
  border-left: 8px solid var(--accent);
}

.stats {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 22px;
  background: linear-gradient(160deg, #223a57 0%, #17273b 100%);
  border: 1px solid rgb(255 255 255 / 0.08);
  box-shadow: 0 24px 48px rgb(21 32 43 / 0.18);
}

.stats article {
  border: 1px solid rgb(255 255 255 / 0.08);
  background: linear-gradient(160deg, rgb(255 255 255 / 0.08) 0%, rgb(255 255 255 / 0.03) 100%);
  border-radius: 15px;
  padding: 1.1rem;
  min-height: 168px;
}

.stat-value {
  display: block;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff8f0;
}

.stats p {
  color: rgb(255 248 240 / 0.84);
}

.support {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgb(255 255 255 / 0.08);
  background: linear-gradient(165deg, #7f232d 0%, #5f1a29 100%);
  border-radius: 20px;
  padding: 1.35rem;
  box-shadow: 0 22px 42px rgb(127 35 45 / 0.18);
  color: #fff6ef;
}

.support h2,
.support p {
  color: #fff6ef;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-start;
}

.support .btn-outline {
  color: #fff6ef;
  border-color: rgb(255 246 239 / 0.72);
  background: rgb(255 255 255 / 0.08);
}

.support .btn-outline:hover {
  border-color: #fff6ef;
  color: #fff6ef;
}

.volunteer {
  margin-top: 4rem;
  border: 1px solid #c3ced8;
  border-radius: 20px;
  padding: 1.35rem;
  background: linear-gradient(180deg, #ffffff 0%, #eef3f7 100%);
  box-shadow: 0 20px 40px rgb(21 32 43 / 0.12);
}

.volunteer h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  text-transform: uppercase;
}

.volunteer-tracks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.volunteer-tracks article {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid #cfd7e0;
  background: linear-gradient(180deg, #fff 0%, #eaf0f5 100%);
  border-top: 4px solid var(--accent);
}

.volunteer-tracks h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

form {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-notes,
.form-status {
  grid-column: span 2;
}

.volunteer-options {
  grid-column: span 2;
  margin: 0;
  padding: 0.9rem;
  border: 1px solid #d1d4d6;
  border-radius: 14px;
  background: #fcfcfc;
}

.volunteer-options legend {
  padding: 0 0.35rem;
  font-weight: 800;
}

.volunteer-options label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.volunteer-options label + label {
  margin-top: 0.55rem;
}

.volunteer-options input {
  width: 1rem;
  height: 1rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-weight: 700;
  font-size: 0.92rem;
}

input,
button {
  font: inherit;
}

input,
textarea {
  border: 1px solid #c8c8c8;
  border-radius: 10px;
  padding: 0.65rem 0.7rem;
  background: #fcfcfc;
}

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

form button {
  grid-column: span 2;
  cursor: pointer;
}

.form-status {
  margin: 0;
  min-height: 1.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sky-deep);
}

#volunteer-form .form-status {
  min-height: 0;
  padding: 0.9rem 1rem;
  border: 1px solid transparent;
  border-radius: 10px;
}

#volunteer-form .form-status-success {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-color: #3f7d59;
  background: #e5f3e8;
  color: #205936;
  font-size: 1rem;
}

#volunteer-form .form-status-success::before {
  content: "OK";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #2f704b;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

#volunteer-form .form-status-pending {
  border-color: #c9b49b;
  background: #fff8ea;
  color: #6b4a20;
}

#volunteer-form .form-status-error {
  border-color: #b33a3a;
  background: #fae8e5;
  color: #7f232d;
}

.hidden {
  display: none !important;
}

.vols-page {
  min-height: 100vh;
  padding: 3rem 0;
}

.vols-shell {
  max-width: 900px;
}

.vols-header,
.vols-toolbar,
.submission-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.vols-header {
  margin-bottom: 2rem;
}

.vols-header h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  max-width: none;
}

.vols-panel,
.submission {
  background: rgb(255 255 255 / 0.82);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 12px 28px rgb(21 32 43 / 0.06);
}

.vols-panel {
  max-width: 560px;
}

.vols-panel h2,
.vols-toolbar h2 {
  font-size: 1.65rem;
}

.vols-panel form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.vols-panel form button,
.vols-panel .form-status {
  grid-column: auto;
}

.vols-panel input {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
}

.vols-toolbar {
  margin-bottom: 1rem;
}

.vols-toolbar p {
  margin: 0.35rem 0 0;
  color: #4b5459;
}

.submissions-list {
  display: grid;
  gap: 1rem;
}

.submission {
  border-left: 5px solid var(--sky-deep);
}

.submission.is-read {
  opacity: 0.78;
  border-left-color: var(--line);
}

.submission h3 {
  font-size: 1.2rem;
}

.submission p {
  margin: 0.55rem 0 0;
}

.submission-meta {
  color: #4b5459;
  font-size: 0.9rem;
}

.read-badge {
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  background: #e4edf2;
  color: var(--sky-deep);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.is-unread .read-badge {
  background: #f3d9d1;
  color: var(--accent-deep);
}

.mark-read {
  margin-top: 1rem;
}

.empty-state {
  padding: 2rem 0;
  color: #4b5459;
}

.status-error {
  color: var(--accent-deep);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 2rem;
  color: #48555e;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0.2rem 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .issue-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .volunteer-tracks {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  nav {
    gap: 0.6rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero {
    padding-top: 4.8rem;
  }

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

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

  .form-notes,
  .form-status,
  form button {
    grid-column: span 1;
  }
}
