:root {
  --ink: #17333a;
  --muted: #5f7072;
  --teal: #006b76;
  --teal-2: #0d8791;
  --gold: #f2ad3f;
  --green: #77b84a;
  --coral: #e36b52;
  --sky: #dceff0;
  --paper: #fffdf7;
  --soft: #f4f7f4;
  --line: rgba(23, 51, 58, 0.16);
  --shadow: 0 18px 50px rgba(12, 45, 52, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 247, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 28px rgba(23, 51, 58, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 40px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(23, 51, 58, 0.8);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav .nav-cta {
  color: #fff;
  background: var(--teal);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 120px clamp(20px, 5vw, 72px) 128px;
}

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

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

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 42, 48, 0.9) 0%, rgba(8, 42, 48, 0.68) 48%, rgba(8, 42, 48, 0.14) 100%),
    linear-gradient(0deg, rgba(8, 42, 48, 0.74) 0%, transparent 34%);
}

.hero-content {
  width: min(760px, 100%);
  color: #fff;
}

.hero-logo {
  width: 156px;
  height: 86px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 24px;
}

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

.hero h1,
.section h2,
.volunteer h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.2rem, 8vw, 6.7rem);
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 19px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button svg {
  width: 19px;
}

.button.primary {
  background: var(--gold);
  color: #132f36;
}

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

.hero-strip {
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  right: clamp(20px, 5vw, 72px);
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.93);
  box-shadow: var(--shadow);
}

.hero-strip div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.hero-strip div:last-child {
  border-right: 0;
}

.hero-strip strong,
.hero-strip span {
  display: block;
}

.hero-strip strong {
  color: var(--teal);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
}

.hero-strip span {
  margin-top: 7px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.section {
  padding: 86px clamp(20px, 5vw, 72px);
}

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

.section-head.compact {
  max-width: 760px;
}

.section h2,
.volunteer h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.section-head p:not(.eyebrow),
.volunteer-copy > p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.impact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 22px;
}

.impact-panel,
.legal-item,
.program-detail,
.volunteer-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(23, 51, 58, 0.08);
}

.impact-panel {
  padding: 24px;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 26px;
}

.panel-top strong {
  color: var(--ink);
}

.chart {
  display: grid;
  grid-template-columns: repeat(6, minmax(42px, 1fr));
  gap: 12px;
  align-items: end;
  min-height: 260px;
  padding-top: 8px;
}

.bar {
  min-width: 0;
  display: grid;
  align-items: end;
  gap: 10px;
  height: 240px;
}

.bar span {
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--green), var(--teal-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform-origin: bottom;
  animation: rise 0.9s ease both;
}

.bar small {
  min-height: 42px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
  font-size: 0.75rem;
}

.split {
  display: grid;
  gap: 20px;
}

.metric-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--coral);
  font-weight: 800;
}

.impact-panel h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.impact-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

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

.growth-item {
  display: grid;
  gap: 7px;
}

.growth-item div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
  font-size: 0.9rem;
}

.progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eeee;
}

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

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

.node-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 14px;
}

.node-card {
  min-height: 220px;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.node-card:nth-child(2) {
  background: #527f38;
}

.node-card:nth-child(3) {
  background: #bd6b30;
}

.node-card:nth-child(4) {
  background: #715d9d;
}

.node-card:nth-child(5) {
  background: #b24e4e;
}

.node-card small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.node-card h3 {
  margin: 10px 0;
  font-size: 1.35rem;
}

.node-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.48;
}

.node-stats {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.node-stats span {
  font-weight: 800;
}

.program-tabs,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.program-tabs button,
.filter-bar button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 15px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.program-tabs button.active,
.filter-bar button.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.program-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
}

.program-detail img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.program-copy {
  padding: clamp(24px, 4vw, 48px);
}

.program-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}

.program-copy p,
.program-copy li {
  color: var(--muted);
  line-height: 1.72;
}

.program-copy ul {
  padding-left: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  grid-auto-rows: 260px;
  gap: 16px;
}

.activity-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #102f35;
}

.activity-card:first-child {
  grid-row: span 2;
}

.activity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.activity-card:hover img {
  transform: scale(1.04);
}

.activity-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 48px 18px 18px;
  color: #fff;
  background: linear-gradient(0deg, rgba(6, 31, 36, 0.88), transparent);
}

.activity-caption strong {
  display: block;
  font-size: 1.1rem;
}

.activity-caption span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.needs {
  background: #fff;
}

.needs-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.donut-wrap {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.donut {
  width: min(310px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--teal) 0 35%, var(--gold) 35% 60%, var(--coral) 60% 80%, var(--green) 80% 92%, #7b68a8 92% 100%);
  position: relative;
  box-shadow: var(--shadow);
}

.donut::after {
  content: "ABK";
  position: absolute;
  inset: 22%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--teal);
  font-size: 2.2rem;
  font-weight: 900;
}

.donut-wrap p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 320px;
}

.needs-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
}

.need-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: 8px;
  background: var(--paper);
}

.need-item strong {
  display: block;
  margin-bottom: 6px;
}

.need-item span,
.need-item p {
  color: var(--muted);
}

.need-item p {
  margin: 8px 0 0;
  line-height: 1.5;
}

.legal {
  background: var(--sky);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.legal-item {
  display: grid;
  gap: 14px;
  padding: 24px;
  text-decoration: none;
}

.legal-item svg {
  color: var(--teal);
  width: 34px;
  height: 34px;
}

.legal-item strong {
  font-size: 1.18rem;
}

.legal-item span {
  color: var(--muted);
  line-height: 1.62;
}

.volunteer {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 36px;
  align-items: start;
  padding: 92px clamp(20px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(135deg, #0f4f59 0%, #17333a 58%, #593c48 100%);
}

.volunteer-copy > p {
  color: rgba(255, 255, 255, 0.78);
}

.commitment {
  margin-top: 32px;
  display: grid;
  gap: 14px;
}

.commitment label {
  font-weight: 800;
}

.commitment input {
  width: min(520px, 100%);
  accent-color: var(--gold);
}

.commitment output {
  color: rgba(255, 255, 255, 0.84);
}

.volunteer-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
}

.volunteer-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.volunteer-form .consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 700;
  line-height: 1.45;
}

.volunteer-form .consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.volunteer-form input,
.volunteer-form select,
.volunteer-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
}

.form-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.9rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #102f35;
  color: #fff;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

@keyframes rise {
  from {
    transform: scaleY(0);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    border-radius: 8px;
  }

  .hero-strip,
  .impact-layout,
  .program-detail,
  .needs-layout,
  .legal-grid,
  .volunteer {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 42px;
  }

  .hero {
    padding-bottom: 34px;
  }

  .node-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

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

  .activity-card:first-child {
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-strip,
  .node-grid,
  .gallery,
  .needs-list {
    grid-template-columns: 1fr;
  }

  .hero-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-strip div:last-child {
    border-bottom: 0;
  }

  .section,
  .volunteer {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .program-detail img {
    min-height: 300px;
  }
}
