:root {
  --ink: #2b1717;
  --muted: #745f5b;
  --line: #eadbd2;
  --paper: #fff9f3;
  --white: #ffffff;
  --coral: #f56600;
  --coral-dark: #c84700;
  --coral-soft: #fff0e5;
  --teal: #317c7b;
  --teal-soft: #e5f3ef;
  --navy: #56070d;
  --navy-soft: #f6e8e7;
  --yellow: #f5c900;
  --shadow: 0 20px 55px rgba(86, 7, 13, 0.12);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255, 249, 243, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1.8fr) auto;
  align-items: center;
  gap: 10px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  justify-self: start;
  color: var(--navy);
}

.wordmark-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--coral);
  border-radius: 8px 8px 8px 3px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  max-width: 430px;
  min-width: 0;
  margin: 0 auto;
  justify-self: center;
}

.partner-logo {
  display: inline-flex;
  flex: 0 1 135px;
  min-width: 0;
  padding: 0 6px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
}

.partner-logo:not(.is-primary-organization) {
  opacity: 0.82;
}

.is-primary-organization {
  color: var(--navy);
  font-weight: 800;
}

.is-primary-organization img {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
}

.partner-logo + .partner-logo {
  padding-left: 6px;
  border-left: 0;
}

.partner-logo img {
  width: 52px;
  height: 52px;
  display: block;
  flex: 0 0 52px;
  object-fit: contain;
  object-position: center;
}

.is-active-partner {
  transform: translateY(3px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  justify-self: end;
}

.menu-toggle {
  display: none;
}

.main-nav a:not(.nav-button):hover,
.footer-links a:hover {
  color: var(--coral-dark);
}

.nav-button {
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 7px;
  min-width: 92px;
  text-align: center;
}

.nav-button:hover {
  background: var(--coral);
}

.hero {
  padding: 78px 0 88px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  content: '';
  background: var(--coral);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h1 span {
  color: var(--coral);
}

.hero-description {
  max-width: 510px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 17px;
}

.action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--coral);
}

.button-primary:hover {
  background: var(--coral-dark);
}

.button-quiet {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.button-quiet:hover {
  border-color: var(--ink);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 44px;
}

.avatar-stack {
  display: flex;
  padding-left: 10px;
}

.avatar {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  margin-left: -10px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-size: 9px;
  font-weight: 800;
}

.avatar:nth-child(2) {
  background: var(--teal);
}

.avatar:nth-child(3) {
  background: var(--coral);
}

.avatar:nth-child(4) {
  color: var(--ink);
  background: var(--yellow);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-size: 14px;
}

.hero-proof span {
  color: var(--muted);
  font-size: 12px;
}

.hero-gallery {
  position: relative;
  min-height: 405px;
}

.hero-gallery-item {
  position: absolute;
  width: 63%;
  margin: 0;
  overflow: hidden;
  border: 7px solid var(--white);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 20px 46px rgba(86, 7, 13, 0.14);
  animation:
    gallery-enter 700ms ease both,
    gallery-float 6s ease-in-out 900ms infinite;
  transition:
    z-index 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.hero-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  transition: transform 350ms ease;
}

.hero-gallery-item-0 {
  z-index: 3;
  top: 20px;
  left: 0;
  transform: rotate(-4deg);
  animation-delay: 80ms, 980ms;
}

.hero-gallery-item-1 {
  z-index: 2;
  top: 68px;
  right: 4%;
  transform: rotate(5deg);
  animation-delay: 220ms, 1.2s;
}

.hero-gallery-item-2 {
  z-index: 1;
  right: 0;
  bottom: 8px;
  transform: rotate(-2deg);
  animation-delay: 360ms, 1.4s;
}

.hero-gallery-item:hover {
  z-index: 5;
  box-shadow: 0 25px 54px rgba(86, 7, 13, 0.2);
  transform: translateY(-8px) rotate(0deg) scale(1.02);
}

.hero-gallery-item:hover img {
  transform: scale(1.06);
}

.hero-gallery-caption {
  position: absolute;
  right: 7%;
  bottom: 0;
  z-index: 4;
  padding: 9px 13px;
  border-radius: 99px;
  color: var(--white);
  background: var(--coral);
  font-size: 11px;
  font-weight: 800;
}

.donation-panel {
  position: relative;
  padding: 31px;
  border: 1px solid #f0dfd5;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.panel-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 9px;
  color: var(--coral-dark);
  background: var(--coral-soft);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campaign-slider-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.campaign-slider-header .panel-label {
  margin-bottom: 18px;
}

.campaign-slider-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.slider-button {
  width: 28px;
  height: 28px;
  display: grid;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  line-height: 1;
}

.slider-button:hover {
  color: var(--white);
  background: var(--coral);
  border-color: var(--coral);
}

.donation-panel h2 {
  margin-bottom: 7px;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.panel-meta {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 12px;
}

.progress-track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  background: #f2e8e1;
  border-radius: 100px;
}

.progress-value {
  height: 100%;
  background: var(--coral);
  border-radius: inherit;
}

.progress-57 {
  width: 57%;
}

.progress-68 {
  width: 68%;
}

.progress-76 {
  width: 76%;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 26px;
  font-size: 12px;
}

.progress-info strong {
  font-size: 13px;
}

.progress-info span {
  color: var(--muted);
}

.amount-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.amount-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 11px;
}

.amount-button {
  min-height: 39px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.amount-button:hover,
.amount-button.is-selected {
  border-color: var(--coral);
  color: var(--coral-dark);
  background: var(--coral-soft);
}

.amount-input {
  width: 100%;
  min-height: 43px;
  margin-bottom: 12px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  color: var(--ink);
  background: var(--white);
  font-size: 13px;
}

.amount-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(49, 124, 123, 0.16);
}

.donation-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.donation-form-toggle {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.donation-note {
  min-height: 18px;
  margin: 11px 0 0;
  color: var(--teal);
  font-size: 11px;
  text-align: center;
}

.payment-page {
  min-height: calc(100vh - 80px);
  padding: 58px 0 90px;
  background: var(--paper);
}

.payment-layout {
  max-width: 980px;
}

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.back-link:hover {
  color: var(--coral-dark);
}

.payment-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.payment-card {
  padding: 32px;
  border: 1px solid #f0dfd5;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.payment-card h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.payment-card h2 {
  margin: 0 0 24px;
  font-size: 25px;
}

.payment-card > p {
  color: var(--muted);
  line-height: 1.7;
}

.payment-summary {
  position: sticky;
  top: 24px;
}

.payment-info {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.payment-info strong {
  color: var(--ink);
}

.payment-help {
  margin-top: 28px;
  padding: 14px;
  border-radius: 8px;
  background: var(--coral-soft);
  font-size: 12px;
}

.payment-bank {
  display: grid;
  gap: 3px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--coral-soft);
  font-size: 13px;
}

.payment-bank strong {
  color: var(--navy);
}

.payment-success {
  max-width: 620px;
  margin: 30px auto 0;
  text-align: center;
}

.campaign-detail-page {
  min-height: calc(100vh - 80px);
  background: var(--paper);
}

.campaign-detail-container {
  max-width: 1040px;
}

.campaign-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
  align-items: start;
  gap: 26px;
}

.campaign-detail-content,
.campaign-detail-progress {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.campaign-detail-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  background: #f2e8e1;
}

.campaign-detail-copy {
  padding: 30px;
}

.campaign-detail-copy h1 {
  margin: 0 0 32px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.campaign-detail-copy h2 {
  margin: 0 0 12px;
  font-size: 21px;
}

.campaign-full-description {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.campaign-detail-sidebar {
  position: sticky;
  top: 24px;
}

.campaign-detail-progress {
  padding: 24px;
}

.campaign-detail-amounts {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.campaign-detail-amounts strong {
  color: var(--ink);
  font-size: 26px;
}

.campaign-detail-amounts span,
.campaign-detail-supporters {
  color: var(--muted);
  font-size: 13px;
}

.campaign-detail-progress .progress-track {
  height: 10px;
}

.campaign-detail-supporters {
  margin: 12px 0 20px;
}

.campaign-detail-donate {
  width: 100%;
  justify-content: center;
}

.campaign-not-found {
  max-width: 650px;
  margin: 0 auto;
}

.campaign-detail-link {
  margin: 0 0 2px;
}

.reference-box {
  display: grid;
  gap: 7px;
  margin: 28px 0;
  padding: 18px;
  border: 1px dashed var(--teal);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
}

.reference-box strong {
  color: var(--ink);
  font-size: 20px;
  letter-spacing: 0.04em;
}

.error {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 7px;
  color: #8a1c1c;
  background: #fff0ef;
  font-size: 12px;
}

@keyframes gallery-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96) rotate(0deg);
  }

  to {
    opacity: 1;
  }
}

@keyframes gallery-float {
  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-gallery-item,
  .hero-gallery-item img {
    animation: none;
    transition: none;
  }
}

.section {
  padding: 84px 0;
}

.section-white {
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 500px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-heading p {
  max-width: 335px;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 14px;
}

.campaign-heading-side {
  display: flex;
  align-items: end;
  gap: 22px;
}

.campaign-heading-side > p {
  margin-bottom: 2px;
}

.campaign-list-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.campaign-list-controls .slider-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.campaign-slider-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 22px;
}

.campaign-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e7cfc5;
  cursor: pointer;
  transition:
    width 160ms ease,
    border-radius 160ms ease,
    background-color 160ms ease;
}

.campaign-slider-dot:hover,
.campaign-slider-dot.is-active {
  width: 24px;
  border-radius: 99px;
  background: var(--coral);
}

.campaign-slider-viewport {
  width: 100%;
  overflow: hidden;
}

.campaign-grid {
  display: flex;
  gap: 14px;
  transition: transform 280ms ease;
  will-change: transform;
}

.campaign-grid .campaign-card {
  flex: 0 0 calc((100% - 28px) / 3);
  min-width: 0;
}

.campaign-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-top: 4px solid var(--coral);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(21, 32, 52, 0.04);
}

.campaign-image {
  width: 100%;
  aspect-ratio: 5 / 2;
  display: block;
  object-fit: cover;
  background: #f2e8e1;
}

.campaign-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 13px 14px 15px;
}

.campaign-teal {
  border-top-color: var(--teal);
}

.campaign-navy {
  border-top-color: var(--navy);
}

.campaign-category {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.campaign-card h3 {
  min-height: 42px;
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.campaign-card p {
  min-height: 42px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.campaign-card .campaign-description-preview {
  display: -webkit-box;
  min-height: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.campaign-card .progress-track {
  margin-top: auto;
}

.campaign-stats {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  font-size: 10px;
}

.campaign-stats > div {
  display: grid;
  gap: 2px;
}

.campaign-stats strong {
  font-size: 11px;
}

.campaign-stats span {
  color: var(--muted);
}

.campaign-stats .campaign-target {
  font-size: 10px;
}

.campaign-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 10px;
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 800;
}

.campaign-link::after {
  margin-left: 7px;
  content: '->';
}

.campaign-donate-button {
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 7px 14px rgba(245, 102, 0, 0.18);
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.campaign-donate-button::after {
  display: none;
}

.campaign-donate-button:hover {
  color: var(--white);
  background: var(--coral-dark);
  box-shadow: 0 10px 18px rgba(200, 71, 0, 0.24);
  transform: translateY(-2px);
}

.campaign-donate-button:focus-visible {
  outline: 3px solid rgba(245, 102, 0, 0.28);
  outline-offset: 3px;
}

.campaign-donate-arrow {
  font-size: 15px;
  line-height: 1;
  transition: transform 160ms ease;
}

.campaign-donate-button:hover .campaign-donate-arrow {
  transform: translateX(3px);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-carousel-track {
  display: flex;
  align-items: stretch;
  transition: transform 280ms ease;
  will-change: transform;
}

.news-carousel-slide {
  display: flex;
  flex: 0 0 100%;
  justify-content: center;
  min-width: 0;
  padding: 0 12px;
}

.news-carousel-slide .news-card {
  width: min(100%, 760px);
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.news-card-with-image {
  display: grid;
  grid-template-columns: minmax(220px, 38%) minmax(0, 1fr);
  align-items: stretch;
}

.news-image {
  width: 100%;
  height: 100%;
  min-height: 260px;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #f2e8e1;
}

.news-content {
  padding: 22px;
}

.news-content .campaign-category {
  margin-bottom: 12px;
}

.news-content h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.news-content p {
  min-height: 54px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.news-content .campaign-link {
  margin-top: 18px;
}

.news-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.news-page {
  background: var(--paper);
}

.news-page-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.news-archive-controls {
  justify-content: flex-end;
  margin: -12px 0 16px;
}

.news-page-header h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-list-grid .news-card {
  width: 100%;
}

.video-section {
  background: var(--paper);
}

.video-heading {
  align-items: end;
}

.video-shell {
  width: min(100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0d1b2a;
  box-shadow: 0 18px 40px rgba(21, 32, 52, 0.12);
}

.video-player {
  display: block;
  width: 100%;
  min-height: 280px;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #0d1b2a;
}

@media (max-width: 820px) {
  .video-shell {
    width: 100%;
  }

  .video-player {
    min-height: 220px;
  }
}

.organizations-section {
  background: var(--paper);
}

.organization-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.organization-card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--coral);
  background: var(--white);
}

.organization-maroon {
  border-top-color: var(--navy);
}

.organization-teal {
  border-top-color: var(--teal);
}

.organization-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 104px;
  margin-bottom: 22px;
}

.organization-logo {
  display: block;
  max-width: 140px;
  max-height: 104px;
  object-fit: contain;
  margin: 0 auto;
}

.organization-short-name {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  color: var(--coral-dark);
  background: var(--coral-soft);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.organization-card h3 {
  min-height: 52px;
  margin-bottom: 11px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.organization-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.steps-section {
  background: var(--navy);
  color: var(--white);
}

.steps-section .eyebrow {
  color: var(--yellow);
}

.steps-section .eyebrow::before {
  background: var(--yellow);
}

.steps-section .section-heading p {
  color: #f0d8d2;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.step {
  padding: 28px 28px 4px 0;
}

.step + .step {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.step-number {
  display: block;
  margin-bottom: 31px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.step p {
  margin-bottom: 0;
  color: #f0d8d2;
  font-size: 13px;
}

.trust-band {
  padding: 29px 0;
  background: var(--yellow);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.trust-inner strong {
  font-size: 18px;
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  color: #684a00;
  font-size: 12px;
  font-weight: 700;
}

.trust-points span::before {
  margin-right: 7px;
  color: var(--coral-dark);
  content: '\2022';
}

.site-footer {
  padding: 36px 0;
  color: #e6c6c2;
  background: #3d0509;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.35fr 1.45fr;
  align-items: flex-start;
  gap: 24px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand p {
  max-width: 300px;
  margin: 8px 0 0;
  font-size: 12px;
}

.footer-brand h4 {
  margin: 24px 0 10px;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-column {
  min-width: 0;
}

.footer-column h4 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-column p {
  max-width: 280px;
  margin: 0;
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
}

.footer-legal {
  grid-column: auto;
}

.footer-links a:hover {
  color: var(--yellow);
}

@media (max-width: 1020px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .partner-logos {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    padding-top: 13px;
    border-top: 1px solid var(--line);
  }

  .hero-grid {
    gap: 44px;
  }
}

@media (max-width: 820px) {
  .campaign-detail-layout {
    grid-template-columns: 1fr;
  }

  .campaign-detail-sidebar {
    position: static;
  }

  .header-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      'brand toggle'
      'logos logos';
    gap: 14px 16px;
    padding: 14px 0;
  }

  .wordmark {
    grid-area: brand;
  }

  .menu-toggle {
    grid-area: toggle;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--navy);
    background: var(--white);
    cursor: pointer;
    justify-self: end;
  }

  .menu-toggle:hover {
    border-color: var(--coral);
    background: var(--coral-soft);
  }

  .menu-line {
    width: 18px;
    height: 2px;
    display: block;
    background: currentColor;
    transition:
      transform 160ms ease,
      opacity 160ms ease;
  }

  .menu-toggle[aria-expanded='true'] .menu-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded='true'] .menu-line:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded='true'] .menu-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .partner-logos {
    grid-area: logos;
    width: 100%;
    justify-self: center;
    padding-top: 13px;
    border-top: 1px solid var(--line);
  }

  .main-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 16px 34px rgba(86, 7, 13, 0.16);
    justify-self: stretch;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a,
  .main-nav a:not(.nav-button) {
    display: block;
    padding: 12px 13px;
    border-radius: 5px;
  }

  .main-nav a:hover {
    background: var(--coral-soft);
  }

  .main-nav .nav-button {
    text-align: center;
  }

  body.menu-is-open {
    overflow: hidden;
  }

  .hero {
    padding: 58px 0 68px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .payment-layout-grid {
    grid-template-columns: 1fr;
  }

  .payment-summary {
    position: static;
  }

  .hero-copy {
    max-width: 650px;
  }

  .hero-gallery {
    min-height: 360px;
    max-width: 590px;
  }

  .donation-panel {
    max-width: 590px;
  }

  .campaign-grid .campaign-card {
    flex-basis: calc((100% - 14px) / 2);
  }

  .organization-grid {
    grid-template-columns: 1fr;
  }

  .news-grid,
  .news-list-grid {
    grid-template-columns: 1fr;
  }

  .news-list-grid .news-card,
  .news-grid .news-card {
    width: 100%;
  }

  .campaign-card h3,
  .campaign-card p {
    min-height: auto;
  }

  .organization-card h3 {
    min-height: auto;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step,
  .step + .step {
    padding: 25px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .step:last-child {
    border-bottom: 0;
  }

  .step-number {
    margin-bottom: 12px;
  }
}

@media (max-width: 720px) {
  .campaign-grid {
    align-items: flex-start;
    gap: 12px;
  }

  .campaign-grid .campaign-card {
    flex-basis: 100%;
  }

  .campaign-card h3 {
    min-height: unset;
    font-size: 17px;
  }

  .campaign-card p {
    min-height: unset;
  }

  .campaign-card {
    min-height: 0;
    height: auto;
  }

  .campaign-content {
    flex: 0 0 auto;
    padding: 13px 14px 15px;
  }

  .campaign-card .progress-track {
    margin-top: 12px;
  }

  .campaign-stats {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .campaign-category {
    margin-bottom: 12px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 32px, 520px);
  }

  .header-inner {
    min-height: 0;
    gap: 15px;
  }

  .wordmark {
    font-size: 16px;
  }

  .main-nav {
    gap: 12px;
    font-size: 12px;
  }

  .nav-button {
    padding: 9px 12px;
  }

  .partner-logos {
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .partner-logo {
    min-width: 82px;
    font-size: 8px;
  }

  .partner-logo + .partner-logo {
    padding-left: 10px;
  }

  .partner-logo img {
    width: 68px;
    height: 36px;
    flex-basis: 36px;
  }

  .hero {
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-gallery {
    min-height: 320px;
  }

  .hero-gallery-item {
    animation: gallery-enter 700ms ease both;
  }

  .payment-page {
    padding: 38px 0 60px;
  }

  .payment-card {
    padding: 24px 20px;
  }

  .action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .action-row .button {
    width: 100%;
  }

  .hero-proof {
    margin-top: 33px;
  }

  .donation-panel {
    padding: 25px 20px;
  }

  .donation-panel h2 {
    font-size: 24px;
  }

  .progress-info {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .section {
    padding: 56px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 26px;
  }

  .section-heading h2 {
    font-size: 31px;
  }

  .campaign-detail-copy {
    padding: 22px 20px;
  }

  .campaign-detail-copy h1 {
    margin-bottom: 24px;
    font-size: 34px;
  }

  .campaign-detail-copy h2 {
    font-size: 19px;
  }

  .campaign-full-description {
    font-size: 15px;
  }

  .campaign-detail-progress {
    padding: 20px;
  }

  .campaign-card {
    padding: 0;
    min-height: 0;
    height: auto;
  }

  .campaign-content {
    flex: 0 0 auto;
    padding: 16px;
  }

  .campaign-grid {
    align-items: flex-start;
  }

  .news-content {
    padding: 16px;
  }

  .news-content h3 {
    margin-bottom: 8px;
    font-size: 17px;
  }

  .news-content p {
    min-height: 0;
    font-size: 12px;
    line-height: 1.5;
  }

  .news-carousel-track .news-content p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .news-carousel-slide .news-card-with-image {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .news-carousel-slide .news-card-with-image .news-image {
    width: 92px;
    height: 100%;
    min-height: 118px;
    aspect-ratio: auto;
  }

  .news-carousel-slide .news-card-with-image .news-content {
    min-width: 0;
    padding: 12px;
  }

  .news-carousel-track .news-content .campaign-category {
    margin-bottom: 6px;
    font-size: 8px;
  }

  .news-carousel-track .news-content h3 {
    margin-bottom: 6px;
    font-size: 15px;
  }

  .news-carousel-track .news-content p {
    font-size: 11px;
    line-height: 1.4;
  }

  .news-content .campaign-link {
    margin-top: 8px;
    font-size: 10px;
  }

  .organization-card {
    padding: 16px;
  }

  .organization-logo-wrap {
    height: 64px;
    margin-bottom: 12px;
  }

  .organization-logo {
    max-height: 64px;
  }

  .organization-card h3 {
    min-height: 0;
    margin-bottom: 8px;
    font-size: 18px;
  }

  .organization-card p {
    font-size: 12px;
    line-height: 1.5;
  }

  .trust-inner,
  .footer-inner {
    align-items: flex-start;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand,
  .footer-column {
    width: 100%;
  }

  .footer-brand p,
  .footer-column p {
    max-width: none;
  }

  .footer-links a,
  .footer-column p,
  .footer-brand p {
    overflow-wrap: anywhere;
  }

  .footer-links {
    gap: 12px 18px;
  }
}
