:root {
  --ink: #102a43;
  --muted: #486581;
  --brand: #006b54;
  --brand-dark: #004b3b;
  --accent: #f0b429;
  --accent-soft: #fff4cf;
  --surface: #ffffff;
  --panel: #f5f8f6;
  --line: #d9e2dc;
  --danger: #9f1239;
  --shadow: 0 14px 40px rgba(16, 42, 67, 0.14);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--brand);
}

a:hover {
  color: var(--brand-dark);
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 107, 84, 0.2);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  color: #ffffff;
  background: var(--brand-dark);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.project-banner {
  padding: 0.55rem 1rem;
  color: #ffffff;
  background: #263238;
  font-size: 0.9rem;
  text-align: center;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-link:focus {
  outline: 0;
  box-shadow: none;
}

.brand-logo {
  width: 156px;
  height: auto;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.7rem 0.78rem;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-dark);
  background: var(--panel);
  box-shadow: 0 8px 18px rgba(16, 42, 67, 0.12);
}

.site-nav a:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 107, 84, 0.18), 0 8px 18px rgba(16, 42, 67, 0.14);
}

.site-nav .nav-donate {
  color: #ffffff;
  background: var(--brand);
}

.site-nav .nav-donate:hover,
.site-nav .nav-donate[aria-current="page"] {
  color: #ffffff;
  background: var(--brand-dark);
  box-shadow: 0 8px 18px rgba(16, 42, 67, 0.18);
}

.site-nav .nav-donate:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 107, 84, 0.22), 0 8px 18px rgba(16, 42, 67, 0.18);
}

main {
  min-height: 60vh;
}

.hero {
  background: var(--panel);
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 2rem;
}

.hero-text {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--brand-dark);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.3rem;
}

.lead {
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-actions,
.button-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border: 2px solid var(--brand);
  border-radius: 6px;
  color: #ffffff;
  background: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  color: #ffffff;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.button.secondary {
  color: var(--brand-dark);
  background: #ffffff;
}

.button.secondary:hover {
  color: #ffffff;
  background: var(--brand-dark);
}

.hero-photo {
  position: relative;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.photo-note {
  max-width: 310px;
  margin: -2rem 1rem 0 auto;
  position: relative;
  padding: 1rem;
  border-left: 5px solid var(--accent);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: var(--shadow);
  font-weight: 700;
}

.status-strip {
  background: var(--brand-dark);
  color: #ffffff;
}

.status-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

.status-inner strong {
  color: var(--accent);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.section.compact {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.section-header {
  max-width: 760px;
  margin-bottom: 1.7rem;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

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

.card {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.grid .card {
  display: flex;
  flex-direction: column;
}

.grid .card > a:last-child {
  margin-top: auto;
  align-self: flex-start;
}

.card.highlight {
  border-color: transparent;
  background: var(--accent-soft);
}

.card img {
  width: 100%;
  aspect-ratio: 5 / 3;
  margin-bottom: 1rem;
  border-radius: 6px;
  object-fit: cover;
}

.metric {
  display: block;
  color: var(--brand-dark);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

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

.panel-band {
  background: var(--panel);
}

.split {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: start;
}

.feature-list,
.check-list {
  padding-left: 1.2rem;
}

.feature-list li,
.check-list li {
  margin-bottom: 0.6rem;
}

.notice {
  padding: 1rem 1.1rem;
  border-left: 5px solid var(--danger);
  border-radius: 6px;
  background: #fff1f2;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

th,
td {
  padding: 0.85rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #ffffff;
  background: var(--brand-dark);
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: var(--brand-dark);
  background: #dff3ed;
  font-size: 0.86rem;
  font-weight: 800;
}

.tag.paused {
  color: #7f1d1d;
  background: #fee2e2;
}

.form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

label,
legend {
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #b9c8c0;
  border-radius: 6px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

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

fieldset {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.radio-option {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.radio-option input {
  width: auto;
}

.site-footer {
  color: #ffffff;
  background: #102a43;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 1.55rem;
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) minmax(210px, 0.95fr) minmax(170px, 0.75fr) minmax(120px, auto);
  column-gap: 2rem;
  row-gap: 1.2rem;
}

.footer-links {
  justify-self: end;
}

.footer-brand p,
.site-footer p {
  margin: 0.45rem 0 0;
  color: #d7e2dc;
}

.site-footer h2 {
  margin-bottom: 0.55rem;
  color: #ffffff;
  font-size: 0.96rem;
  line-height: 1.25;
}

.site-footer a {
  color: #e9f6f1;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #ffffff;
}

.footer-list,
.social-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li,
.social-list li {
  margin-bottom: 0.28rem;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.social-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.social-icon img {
  width: 22px;
  height: 22px;
  filter: invert(1);
}

.social-icon:hover,
.social-icon:focus {
  opacity: 0.75;
  transform: translateY(-1px);
}

.social-icon:focus {
  outline: 0;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.75rem 1.25rem;
  color: #c6d6cf;
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 920px) {
  .header-inner,
  .site-nav ul {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav ul {
    gap: 0.1rem;
  }

  .site-nav a {
    padding-left: 0;
  }

  .site-nav .nav-donate {
    padding-left: 0.78rem;
  }

  .hero-grid,
  .split,
  .grid.three,
  .grid.two,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .hero-grid,
  .section,
  .split {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    font-size: 2.25rem;
  }

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

  .photo-note {
    margin: 0.75rem 0 0;
  }
}
