:root {
  --ink: #15211f;
  --muted: #586765;
  --paper: #f7f3ec;
  --surface: #ffffff;
  --teal: #136f63;
  --teal-dark: #0a463f;
  --coral: #c95f4b;
  --gold: #d7a540;
  --mist: #dcece8;
  --line: rgba(21, 33, 31, 0.14);
  --shadow: 0 22px 70px rgba(21, 33, 31, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(10, 31, 29, 0.82), rgba(10, 31, 29, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--teal-dark);
  font-size: 0.86rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a {
  opacity: 0.88;
}

.nav-links a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 29, 27, 0.92) 0%, rgba(7, 29, 27, 0.78) 34%, rgba(7, 29, 27, 0.3) 72%),
    linear-gradient(0deg, rgba(7, 29, 27, 0.75) 0%, rgba(7, 29, 27, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin: 0 0 clamp(64px, 11vw, 112px) clamp(20px, 6vw, 86px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd9c9;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
p,
span,
strong,
small,
a {
  min-width: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-copy {
  width: 100%;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  overflow-wrap: break-word;
}

.hero-actions,
.amount-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.amount-options button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 0 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  background: var(--coral);
  color: #fff;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.full-width {
  width: 100%;
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.impact-strip div {
  min-height: 128px;
  padding: 28px clamp(20px, 4vw, 42px);
  background: var(--surface);
}

.impact-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 1.55rem;
}

.impact-strip span,
.section p,
.urgent-copy p,
.check-list,
.donation-note {
  color: var(--muted);
  overflow-wrap: break-word;
  word-break: normal;
}

.urgent-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 74px);
  padding: clamp(44px, 7vw, 78px) clamp(20px, 6vw, 86px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: #8d3d2f;
  color: #fff;
}

.urgent-band .eyebrow {
  color: #ffe0d4;
}

.urgent-band h2 {
  margin-bottom: 0;
}

.urgent-copy {
  display: grid;
  gap: 14px;
}

.urgent-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 6vw, 86px);
}

.section-intro {
  max-width: 820px;
}

.section-intro.wide {
  max-width: 980px;
}

.mission-grid,
.video-section,
.donate-section,
.response-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
}

.mission-grid {
  align-items: start;
  margin-top: 24px;
  font-size: 1.12rem;
}

.video-section {
  background: var(--teal-dark);
  color: #fff;
}

.video-section .eyebrow,
.response-band .eyebrow {
  color: #ffd4c3;
}

.video-section p,
.video-section .check-list,
.response-band p {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

.video-panel {
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at top left, rgba(215, 165, 64, 0.22), transparent 42%);
  text-align: center;
  box-shadow: var(--shadow);
}

.play-button {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--coral);
}

.play-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 22px solid #fff;
  transform: translate(-42%, -50%);
}

.video-panel p {
  max-width: 300px;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
}

.video-panel span {
  color: rgba(255, 255, 255, 0.72);
}

.roadmap-section {
  background: var(--surface);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.goal-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(21, 33, 31, 0.06);
}

.goal-card-featured {
  border-color: rgba(201, 95, 75, 0.44);
  background:
    linear-gradient(180deg, rgba(201, 95, 75, 0.12), rgba(201, 95, 75, 0)),
    var(--paper);
}

.goal-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.goal-topline strong {
  color: var(--teal-dark);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.goal-step {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  background: var(--teal-dark);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.goal-card h3 {
  color: var(--teal-dark);
  font-size: 1.35rem;
}

.goal-card p {
  margin-bottom: 24px;
}

.goal-bar {
  height: 9px;
  margin-top: auto;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(21, 33, 31, 0.12);
}

.goal-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--coral);
}

.goal-card small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.symptom-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.symptom-cloud span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 38px;
  border: 1px solid rgba(19, 111, 99, 0.22);
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 800;
  white-space: normal;
}

.diagnosis-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.diagnosis-table article {
  min-height: 250px;
  padding: 24px;
  background: #fff;
}

.diagnosis-table article:last-child {
  grid-column: 1 / -1;
  min-height: auto;
}

.diagnosis-table h3 {
  color: var(--teal-dark);
}

.diagnosis-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 900;
}

.diagnosis-table article:nth-child(2) .diagnosis-icon,
.diagnosis-table article:nth-child(5) .diagnosis-icon {
  background: #f8ddd5;
  color: #8d3d2f;
}

.diagnosis-table article:nth-child(3) .diagnosis-icon {
  background: #f1e4c5;
  color: #735019;
}

.diagnosis-table article:nth-child(4) .diagnosis-icon {
  background: #dce9f2;
  color: #234e6e;
}

.diagnosis-table p {
  margin-bottom: 10px;
}

.diagnosis-table strong {
  color: var(--ink);
}

.response-band {
  background: var(--teal);
  color: #fff;
}

.response-band h2 {
  margin-bottom: 0;
}

.donate-section {
  background: var(--surface);
}

.donation-box {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.donation-box label {
  display: block;
  margin-bottom: 12px;
  font-weight: 800;
}

.amount-options {
  margin-bottom: 14px;
}

.amount-options button {
  flex: 1 1 92px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--teal-dark);
}

.amount-options button:hover {
  border-color: var(--teal);
}

.amount-options button.is-selected {
  border-color: var(--teal);
  background: var(--mist);
}

input {
  width: 100%;
  min-height: 50px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
}

.donation-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 6vw, 86px);
  background: #102320;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 760px;
    align-items: end;
    isolation: isolate;
  }

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

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 29, 27, 0.7) 0%, rgba(7, 29, 27, 0.55) 32%, rgba(7, 29, 27, 0.94) 68%),
      linear-gradient(90deg, rgba(7, 29, 27, 0.86), rgba(7, 29, 27, 0.16));
  }

  .hero-content {
    width: min(100% - 40px, 640px);
    max-width: calc(100vw - 40px);
    margin: 0 auto 42px;
    overflow: hidden;
  }

  .impact-strip,
  .urgent-band,
  .mission-grid,
  .video-section,
  .roadmap-grid,
  .donate-section,
  .response-band,
  .diagnosis-table {
    grid-template-columns: 1fr;
  }

  .diagnosis-table article:last-child {
    grid-column: auto;
  }

  .impact-strip div {
    min-width: 0;
    min-height: auto;
    overflow: hidden;
    padding: 26px 20px;
  }

  .impact-strip span {
    display: block;
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .urgent-band {
    gap: 18px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .video-panel {
    min-height: 260px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: auto;
    max-width: 350px;
    margin-right: 20px;
    margin-left: 20px;
  }

  .brand span:last-child {
    max-width: min(260px, calc(100vw - 88px));
  }

  .hero-actions .button {
    width: min(100%, calc(100vw - 40px));
  }

  h1 {
    font-size: clamp(2.48rem, 11vw, 2.9rem);
    line-height: 1;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    max-width: 340px;
    font-size: 1.04rem;
    overflow-wrap: anywhere;
  }

  .impact-strip strong,
  .impact-strip span {
    max-width: 340px;
  }

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

  .goal-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
