:root {
  --black: #050505;
  --ink: #111111;
  --charcoal: #18181a;
  --white: #ffffff;
  --paper: #f4f1ee;
  --muted: #b9b4ae;
  --muted-dark: #5b5550;
  --red: #d40f1f;
  --red-dark: #8f0711;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(17, 17, 17, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
}

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

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

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

h1,
h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(78px, 13vw, 176px);
  line-height: 0.84;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.9;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.15;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid var(--red);
  color: var(--white);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 24px;
  line-height: 1;
}

.nav-links {
  gap: clamp(14px, 2.5vw, 32px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a,
.text-link {
  transition: color 180ms ease;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--red);
}

.header-cta {
  min-width: 106px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease;
}

.header-cta:hover {
  border-color: var(--red);
  background: var(--red);
}

.hero {
  position: relative;
  min-height: 95svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 124px clamp(20px, 5vw, 72px) 72px;
}

.hero-carousel,
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-carousel {
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 1200ms ease;
}

.hero-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.97) 0%, rgba(5, 5, 5, 0.82) 35%, rgba(5, 5, 5, 0.24) 76%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.58) 0%, rgba(5, 5, 5, 0.05) 44%, rgba(5, 5, 5, 1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.hero-carousel-controls {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 38px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.carousel-arrow,
.carousel-dots button {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(5, 5, 5, 0.42);
  color: var(--white);
  cursor: pointer;
}

.carousel-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  font-size: 34px;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease;
}

.carousel-arrow:hover {
  border-color: var(--red);
  background: var(--red);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  border-radius: 0;
  opacity: 0.55;
}

.carousel-dots button.is-active {
  border-color: var(--red);
  background: var(--red);
  opacity: 1;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-kicker.light {
  color: rgba(255, 255, 255, 0.76);
}

.hero-copy {
  width: min(600px, 100%);
  color: var(--paper);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.55;
}

.hero-support {
  width: min(650px, 100%);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.primary:hover {
  background: #ef1728;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.button.inverted {
  background: var(--white);
  color: var(--red-dark);
}

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-red {
  background: var(--red);
  color: var(--white);
}

.section-copy p,
.info-card p,
.project-card p,
.news-grid p,
.help-list p,
.contact-section p {
  color: inherit;
  line-height: 1.7;
}

.section-copy {
  color: var(--muted-dark);
  font-size: 17px;
}

.about-layout,
.impact-layout,
.help-layout,
.transparency-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 7vw, 88px);
  align-items: start;
}

.section-heading {
  width: min(840px, 100%);
  margin-bottom: 44px;
}

.section-heading > p:not(.section-kicker) {
  color: var(--muted-dark);
  font-size: 17px;
  line-height: 1.7;
}

.section-heading.compact {
  margin-bottom: 30px;
}

.triple-grid,
.testimonial-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card,
.project-card,
.news-grid article,
.help-list article,
.transparency-panel,
.lead-form {
  border: 1px solid var(--line);
}

.info-card {
  min-height: 290px;
  padding: 28px;
  background: #101012;
}

.info-card.featured {
  background: var(--red);
  box-shadow: var(--shadow);
}

.card-label,
.project-card span,
.news-grid span {
  display: block;
  margin-bottom: 46px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 40px;
  line-height: 1;
  text-transform: uppercase;
}

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

.project-card {
  min-height: 250px;
  padding: 24px;
  border-color: var(--line-dark);
  background: var(--white);
  color: var(--ink);
}

.project-card span {
  color: var(--red);
}

.project-card p,
.news-grid p,
.lead-form .form-note,
.contact-section p {
  color: var(--muted-dark);
}

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

.program-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line-dark);
  background: var(--white);
  color: var(--ink);
}

.program-card.featured {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow);
}

.program-card span,
.methodology-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--red);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 42px;
  line-height: 1;
}

.program-card.featured span,
.program-card.featured p,
.program-card.featured li,
.program-card.featured h4 {
  color: rgba(255, 255, 255, 0.9);
}

.program-card p,
.program-card li,
.transparency-panel li {
  color: var(--muted-dark);
  line-height: 1.65;
}

.program-card h4 {
  margin: 18px 0 10px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.program-card ul,
.value-list,
.transparency-panel ul {
  margin: 0;
  padding-left: 18px;
}

.program-card .text-link {
  margin-top: auto;
  padding-top: 22px;
}

.light-link {
  color: var(--white);
}

.value-list li {
  color: var(--muted);
  line-height: 1.75;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.methodology-grid article {
  position: relative;
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  background: #101012;
}

.methodology-grid article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  width: 12px;
  height: 2px;
  background: var(--red);
}

.methodology-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.impact-section {
  background:
    linear-gradient(135deg, rgba(212, 15, 31, 0.2), rgba(212, 15, 31, 0) 34%),
    var(--black);
}

.impact-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.impact-metrics div {
  min-height: 170px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  background: rgba(255, 255, 255, 0.07);
}

.impact-metrics dt {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 0.9;
  white-space: nowrap;
}

.impact-metrics dd {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  display: grid;
  min-height: 220px;
  place-items: end start;
  overflow: hidden;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
}

.gallery-item.large {
  grid-row: span 2;
  padding: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item span {
  position: relative;
  z-index: 1;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 42px;
  line-height: 1;
  text-transform: uppercase;
}

.tone-red {
  background: var(--red);
}

.tone-white {
  background: var(--paper);
  color: var(--ink);
}

.tone-black {
  background: #101012;
}

.tone-red-dark {
  background: var(--red-dark);
}

.video-section {
  border-top: 12px solid var(--red);
}

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

.video-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  padding: 0;
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: opacity 180ms ease, transform 220ms ease;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.72));
}

.video-card::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: var(--red);
  color: var(--white);
  font-size: 26px;
  transform: translate(-50%, -50%);
}

.video-card span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 2;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
}

.video-card:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.video-modal-window {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: var(--black);
  box-shadow: var(--shadow);
}

.video-modal-window iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-link {
  position: absolute;
  right: 0;
  bottom: -44px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.video-modal-link:hover {
  color: var(--red);
}

.video-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

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

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

blockquote {
  margin: 0;
  padding: 30px;
  border-left: 4px solid var(--red);
  background: var(--white);
  color: var(--ink);
}

blockquote p {
  color: var(--muted-dark);
  font-size: 18px;
  line-height: 1.7;
}

cite {
  color: var(--red);
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.help-list {
  display: grid;
  gap: 14px;
}

.help-list article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.12);
}

.transparency-panel {
  padding: 30px;
  border-color: var(--line-dark);
  background: var(--white);
}

.text-link {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.news-grid article {
  min-height: 260px;
  padding: 26px;
  background: #101012;
}

.news-grid span {
  margin-bottom: 42px;
  color: var(--red);
  font-size: 28px;
}

.section-button {
  margin-top: 28px;
}

.partners-section {
  padding-block: clamp(56px, 8vw, 92px);
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.partner-strip span {
  display: grid;
  min-height: 92px;
  place-items: center;
  border: 1px solid var(--line-dark);
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.final-cta {
  padding: clamp(72px, 10vw, 128px) 0;
  background: var(--red);
  color: var(--white);
  text-align: center;
}

.final-cta-inner {
  width: min(880px, calc(100% - 40px));
}

.final-cta p:not(.section-kicker) {
  margin-inline: auto;
  width: min(640px, 100%);
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.7;
}

.cta-actions {
  justify-content: center;
}

.light-button {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
}

.contact-section {
  background: var(--charcoal);
  color: var(--white);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--white);
  color: var(--ink);
}

.contact-info {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #ddd8d4;
  border-radius: 0;
  padding: 0 14px;
  background: #f8f6f4;
  color: var(--ink);
  font: inherit;
}

.lead-form textarea {
  min-height: 112px;
  padding-block: 14px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(212, 15, 31, 0.28);
  border-color: var(--red);
}

.form-button {
  width: 100%;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  font-size: 13px;
  text-align: center;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--white);
}

.rich-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  align-items: start;
}

.rich-footer > div {
  display: grid;
  gap: 10px;
}

.rich-footer p {
  margin: 12px 0 0;
  max-width: 360px;
  color: var(--muted);
  line-height: 1.6;
  text-transform: none;
}

.rich-footer strong {
  color: var(--white);
}

.footer-brand {
  justify-content: flex-start;
}

@media (max-width: 1020px) {
  .project-grid,
  .impact-metrics,
  .partner-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .triple-grid,
  .news-grid,
  .program-grid,
  .methodology-grid,
  .testimonial-grid.three {
    grid-template-columns: 1fr;
  }

  .methodology-grid article:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -8px;
    left: 26px;
    width: 2px;
    height: 8px;
  }

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

@media (max-width: 820px) {
  .site-header {
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    min-width: 96px;
    padding-inline: 14px;
  }

  .hero {
    min-height: 92svh;
    padding-top: 110px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.78) 62%, rgba(5, 5, 5, 0.34) 100%),
      linear-gradient(180deg, rgba(5, 5, 5, 0.52) 0%, rgba(5, 5, 5, 0.08) 40%, rgba(5, 5, 5, 1) 100%);
  }

  .hero-carousel-controls {
    right: 20px;
    bottom: 22px;
    gap: 10px;
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
  }

  .carousel-dots button {
    width: 26px;
  }

  h1 {
    font-size: clamp(70px, 21vw, 104px);
  }

  .about-layout,
  .impact-layout,
  .help-layout,
  .transparency-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .gallery-item.large {
    grid-row: span 1;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .rich-footer {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    display: none;
  }

  .hero-actions .button,
  .impact-metrics div {
    width: 100%;
  }

  .project-grid,
  .impact-metrics,
  .partner-strip {
    grid-template-columns: 1fr;
  }

  .lead-form,
  blockquote {
    padding: 20px;
  }

  .video-modal {
    padding: 16px;
  }

  .video-modal-link {
    right: auto;
    left: 0;
  }
}
