.community-hero {
  position: relative;
  display: flex;
  min-height: clamp(330px, 46vw, 470px);
  align-items: center;
  overflow: hidden;
  background: var(--green-dark);
  color: white;
}

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

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

.community-hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 45, 13, .98) 0%, rgba(13, 59, 18, .92) 46%, rgba(13, 59, 18, .43) 78%, rgba(13, 59, 18, .22) 100%),
    linear-gradient(0deg, rgba(8, 45, 13, .42), transparent 60%);
}

.community-hero .container {
  position: relative;
  z-index: 2;
  padding-block: clamp(3.7rem, 8vw, 6rem);
}

.community-hero-copy {
  max-width: 720px;
}

.community-hero h1 {
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3rem, 8vw, 6.4rem);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .88;
  text-shadow: 0 8px 34px rgba(0, 0, 0, .3);
}

.community-hero h1 span {
  display: block;
  color: var(--orange-light);
}

.community-hero p {
  max-width: 660px;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1rem, 2.1vw, 1.18rem);
  line-height: 1.7;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .32);
}

.community-hero .eyebrow,
.video-copy .eyebrow,
.campaign-cta .eyebrow {
  color: var(--orange-glow);
}

.hero-jump {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 1.5rem;
  color: white;
  font-size: .8rem;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hero-jump:hover {
  color: var(--orange-light);
}

.video-section {
  position: relative;
  background: white;
}

.video-section::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange) 0 28%, var(--green) 28% 100%);
  content: "";
}

.video-feature {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 24px;
  background: var(--green-dark);
  box-shadow: var(--shadow-lg);
}

.video-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 4vw, 3.2rem);
}

.video-copy h2 {
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
}

.video-copy p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, .68);
  font-size: .9rem;
}

.video-launch,
.video-player {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #071e0a;
}

.video-launch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.video-launch::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 45, 13, .5));
  content: "";
}

.video-launch:hover img {
  transform: scale(1.02);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: clamp(66px, 9vw, 84px);
  height: clamp(66px, 9vw, 84px);
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .34);
  transition: transform .2s ease, background .2s ease;
}

.play-button::after {
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-42%, -50%);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid white;
  content: "";
}

.video-launch:hover .play-button {
  transform: translate(-50%, -50%) scale(1.07);
  background: var(--orange-light);
}

.video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-fallback {
  position: absolute;
  right: .7rem;
  bottom: .7rem;
  z-index: 3;
  border-radius: 7px;
  background: rgba(13, 59, 18, .92);
  color: white;
  padding: .5rem .7rem;
  font-size: .7rem;
  font-weight: 900;
  text-decoration: none;
}

.investment-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
}

.investment-stat {
  min-width: 245px;
  border-left: 6px solid var(--orange);
  background: var(--green-dark);
  color: white;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.investment-stat strong,
.investment-stat span {
  display: block;
}

.investment-stat strong {
  color: var(--orange-light);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
}

.investment-stat span {
  margin-top: .4rem;
  color: rgba(255, 255, 255, .7);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.record-summary {
  max-width: 860px;
  margin-top: 1.4rem;
  color: var(--gray-600);
  font-size: 1.05rem;
}

.project-ledger-wrap {
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
}

.project-ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.project-ledger caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.project-ledger th {
  background: var(--green-dark);
  color: white;
  padding: .95rem 1rem;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
}

.project-ledger th:nth-child(2),
.project-ledger td:nth-child(2) {
  text-align: right;
}

.project-ledger td {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-600);
  vertical-align: top;
}

.project-ledger tbody tr:last-child td {
  border-bottom: 0;
}

.project-ledger tbody tr:nth-child(even) {
  background: #fbfbf8;
}

.project-name {
  color: var(--green-dark);
  font-weight: 800;
  line-height: 1.45;
}

.project-amount {
  color: var(--green-dark) !important;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.project-source {
  font-size: .78rem;
  line-height: 1.45;
}

.project-resolution {
  color: var(--orange);
  font-weight: 900;
  white-space: nowrap;
}

.ledger-note {
  margin-top: 1rem;
  color: var(--gray-600);
  font-size: .78rem;
  font-style: italic;
}

@media (max-width: 800px) {
  .community-hero-overlay {
    background: linear-gradient(90deg, rgba(8, 45, 13, .97), rgba(13, 59, 18, .78));
  }

  .video-feature {
    grid-template-columns: 1fr;
  }

  .video-copy {
    align-items: center;
    text-align: center;
  }

  .investment-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .investment-stat {
    min-width: 0;
    width: min(100%, 390px);
  }
}

@media (max-width: 700px) {
  .project-ledger-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .project-ledger,
  .project-ledger tbody,
  .project-ledger tr,
  .project-ledger td {
    display: block;
    width: 100%;
  }

  .project-ledger thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
  }

  .project-ledger tbody {
    display: grid;
    gap: .85rem;
  }

  .project-ledger tbody tr,
  .project-ledger tbody tr:nth-child(even) {
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: white;
    box-shadow: var(--shadow-sm);
  }

  .project-ledger td {
    display: grid;
    grid-template-columns: 7.4rem minmax(0, 1fr);
    gap: .75rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--gray-200);
    text-align: left !important;
    white-space: normal;
  }

  .project-ledger td::before {
    color: var(--green);
    content: attr(data-label);
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
  }

  .project-ledger tr td:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .community-hero {
    min-height: 390px;
  }

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

  .community-hero-overlay {
    background: linear-gradient(90deg, rgba(8, 45, 13, .97), rgba(13, 59, 18, .84));
  }

  .community-hero h1 {
    font-size: clamp(2.85rem, 17vw, 4.3rem);
  }

  .project-ledger td {
    grid-template-columns: 1fr;
    gap: .15rem;
  }
}
