.project-detail-page {
  background: #f4f2e6;
}

/* Compact project profile */
.project-detail-page {
  --project-page: #edf3f0;
  --project-surface: #fffdf9;
  --project-surface-soft: #f5f7f4;
  --project-ink: #173126;
  --project-muted: #617169;
  --project-line: rgba(23, 49, 38, 0.13);
  --project-accent: #167a55;
  --project-accent-hover: #106747;
  --project-accent-soft: #e0f0e9;
  --project-on-accent: #f8fffb;
  min-height: 100vh;
  color: var(--project-ink);
  background: var(--project-page);
}

.project-detail-page .project-nav {
  color: var(--project-ink);
  border: 0;
  background: color-mix(in srgb, var(--project-surface) 92%, transparent);
  backdrop-filter: blur(18px);
}

.project-detail-page .project-nav::after {
  background: var(--project-line);
  opacity: 1;
}

.project-detail-page .project-nav .brand-face::after {
  background: var(--project-surface);
}

.project-detail-page .project-nav .nav-cta {
  color: var(--project-on-accent);
  background: var(--project-accent);
}

.project-profile-main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0 72px;
}

.project-profile-header {
  padding: 18px;
  border: 1px solid var(--project-line);
  border-radius: 18px;
  background: var(--project-surface);
  box-shadow: 0 16px 44px rgba(28, 58, 45, 0.06);
}

.project-profile-header .project-back {
  margin: 0 0 14px 2px;
  color: var(--project-muted);
  font-size: 12px;
  font-weight: 700;
}

.project-profile-header .project-back:hover {
  color: var(--project-accent);
}

.project-cover {
  aspect-ratio: 3.55 / 1;
  overflow: hidden;
  border-radius: 14px;
  background: #d8e0dc;
}

.project-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.project-identity-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 0 12px;
}

.project-avatar {
  width: 96px;
  height: 96px;
  margin-top: -30px;
  overflow: hidden;
  border: 5px solid var(--project-surface);
  border-radius: 50%;
  background: #dff0e7;
  box-shadow: 0 8px 24px rgba(28, 58, 45, 0.13);
}

.project-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.12);
}

.project-identity {
  min-width: 0;
  padding-top: 15px;
}

.project-identity p {
  margin: 0 0 3px;
  color: var(--project-accent);
  font-size: 10px;
  font-weight: 800;
}

.project-identity h1 {
  margin: 0;
  font:
    750 clamp(24px, 3vw, 34px) / 1.05 "Manrope",
    sans-serif;
  letter-spacing: -0.045em;
}

.project-identity span {
  display: block;
  margin-top: 6px;
  color: var(--project-muted);
  font-size: 12px;
}

.project-visit-button {
  min-height: 42px;
  margin-top: 13px;
  padding: 0 18px;
  color: var(--project-ink);
  border: 1px solid var(--project-line);
  background: var(--project-surface-soft);
  white-space: nowrap;
}

.project-visit-button:hover {
  color: var(--project-accent);
  background: var(--project-accent-soft);
}

.project-profile-summary {
  max-width: 680px;
  margin: 8px 12px 4px 126px;
  color: var(--project-muted);
  font-size: 14px;
  line-height: 1.55;
}

.project-profile-layout {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.project-profile-sidebar,
.project-profile-primary {
  display: grid;
  gap: 18px;
}

.project-profile-card,
.project-support-card,
.project-community-section > .community-section-heading,
.community-post,
.community-feed-empty,
.community-feed-skeleton > div {
  border: 1px solid var(--project-line);
  border-radius: 16px;
  background: var(--project-surface);
  box-shadow: none;
}

.project-profile-card {
  padding: 20px;
}

.project-profile-card h2 {
  margin: 0 0 14px;
  font:
    750 15px/1.2 "Manrope",
    sans-serif;
  letter-spacing: -0.02em;
}

.project-about-card > p {
  margin: 0;
  color: var(--project-muted);
  font-size: 13px;
  line-height: 1.6;
}

.project-copy-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--project-line);
  border-radius: 11px;
  background: var(--project-surface-soft);
}

.project-copy-field span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.project-copy-field small {
  color: var(--project-muted);
  font-size: 9px;
  font-weight: 700;
}

.project-copy-field strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-copy-field button {
  padding: 7px 10px;
  color: var(--project-on-accent);
  border: 0;
  border-radius: 8px;
  background: var(--project-accent);
  font: 700 10px/1 "DM Sans", sans-serif;
  cursor: pointer;
}

.project-copy-field button:hover {
  background: var(--project-accent-hover);
}

.project-copy-field button:active {
  transform: translateY(1px);
}

.project-external-links {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.project-external-links a {
  display: grid;
  gap: 2px;
  color: var(--project-muted);
  font-size: 10px;
}

.project-external-links a strong {
  overflow: hidden;
  color: var(--project-accent);
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--project-accent) 35%, transparent);
  text-underline-offset: 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-transparency-card {
  padding-bottom: 8px;
}

.project-transparency-card details {
  border-top: 1px solid var(--project-line);
}

.project-transparency-card summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
}

.project-transparency-card summary::-webkit-details-marker {
  display: none;
}

.project-transparency-card summary span {
  font-weight: 700;
}

.project-transparency-card summary strong {
  color: var(--project-muted);
  font-size: 10px;
}

.project-transparency-card summary::after {
  content: "+";
  order: 3;
  color: var(--project-accent);
  font-size: 16px;
}

.project-transparency-card details[open] summary::after {
  content: "−";
}

.project-compact-budget {
  padding-bottom: 14px;
}

.project-compact-budget > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 9px 0;
}

.project-compact-budget > div + div {
  border-top: 1px solid color-mix(in srgb, var(--project-line) 65%, transparent);
}

.project-compact-budget span {
  display: grid;
  gap: 3px;
}

.project-compact-budget strong,
.project-compact-budget b {
  font-size: 11px;
}

.project-compact-budget small {
  color: var(--project-muted);
  font-size: 9px;
  line-height: 1.4;
}

.project-compact-plan {
  display: grid;
  gap: 12px;
  padding: 0 0 16px;
}

.project-compact-plan article {
  display: grid;
  gap: 4px;
  padding-left: 12px;
  border-left: 2px solid var(--project-accent-soft);
}

.project-compact-plan small {
  color: var(--project-accent);
  font-size: 9px;
  font-weight: 700;
}

.project-compact-plan strong {
  font-size: 11px;
}

.project-compact-plan p {
  margin: 0;
  color: var(--project-muted);
  font-size: 10px;
  line-height: 1.45;
}

.project-support-card {
  padding: 20px;
}

.project-support-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.project-support-heading p {
  margin: 0 0 6px;
  color: var(--project-muted);
  font-size: 11px;
  font-weight: 700;
}

.project-support-heading h2 {
  max-width: 520px;
  margin: 0;
  font:
    750 clamp(20px, 3vw, 28px) / 1.15 "Manrope",
    sans-serif;
  letter-spacing: -0.035em;
}

.project-support-heading > span {
  flex: none;
  padding: 6px 9px;
  color: var(--project-accent);
  border-radius: 999px;
  background: var(--project-accent-soft);
  font-size: 9px;
  font-weight: 800;
}

.project-support-total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 18px;
}

.project-support-use {
  display: -webkit-box;
  max-width: 66ch;
  margin: 12px 0 0;
  overflow: hidden;
  color: var(--project-muted);
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.project-support-total strong {
  font:
    750 28px/1 "Manrope",
    sans-serif;
  letter-spacing: -0.045em;
}

.project-support-total span {
  color: var(--project-muted);
  font-size: 11px;
}

.project-support-progress {
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce5e0;
}

.project-support-progress span {
  display: block;
  min-width: 4px;
  height: 100%;
  border-radius: inherit;
  background: var(--project-accent);
}

.project-support-card > p {
  margin: 10px 0 16px;
  color: var(--project-muted);
  font-size: 11px;
  line-height: 1.45;
}

.project-support-button {
  width: 100%;
  min-height: 46px;
  color: var(--project-on-accent);
  background: var(--project-accent);
}

.project-support-button:hover {
  background: var(--project-accent-hover);
}

.project-support-card > small {
  display: block;
  margin-top: 10px;
  color: var(--project-muted);
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
}

.project-community-section {
  scroll-margin-top: 92px;
  padding: 0;
  color: var(--project-ink);
  background: transparent;
}

.project-community-section > .community-section-heading {
  display: flex;
  grid-template-columns: none;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 0 0 12px;
  padding: 17px 20px;
}

.community-section-heading h2 {
  max-width: none;
  margin: 0;
  font:
    750 16px/1.2 "Manrope",
    sans-serif;
  letter-spacing: -0.025em;
}

.community-section-heading > div:first-child > p:last-child {
  margin: 4px 0 0;
  color: var(--project-muted);
  font-size: 10px;
  line-height: 1.4;
}

.community-follow-control > button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--project-on-accent);
  border-color: var(--project-accent);
  background: var(--project-accent);
  font-size: 11px;
}

.community-follow-control > button:hover {
  background: var(--project-accent-hover);
}

.community-follow-control > button.is-following,
.community-follow-control > button.community-preference-button {
  color: var(--project-accent);
  border-color: var(--project-line);
  background: var(--project-accent-soft);
}

.community-follow-control > button.community-preference-button {
  width: 38px;
}

.community-preferences {
  color: var(--project-ink);
  border-color: var(--project-line);
  border-radius: 12px;
  background: var(--project-surface);
  box-shadow: 0 16px 40px rgba(28, 58, 45, 0.14);
}

.community-feed-error {
  margin: 0 0 12px;
  border-color: var(--project-line);
  background: var(--project-surface);
}

.community-feed {
  gap: 12px;
}

.community-post {
  overflow: hidden;
}

.community-post.is-pinned {
  border-color: color-mix(in srgb, var(--project-accent) 40%, transparent);
  box-shadow: inset 3px 0 0 var(--project-accent);
}

.community-post-header {
  gap: 11px;
  padding: 18px 20px 0;
}

.community-post-icon {
  width: 36px;
  height: 36px;
  color: var(--project-accent);
  border-radius: 10px;
  background: var(--project-accent-soft);
}

.community-post-icon svg {
  width: 17px;
  height: 17px;
}

.community-post-header > div > span {
  color: var(--project-accent);
  font-size: 8px;
  letter-spacing: 0;
  text-transform: none;
}

.community-post-header strong {
  color: var(--project-ink);
  font-size: 12px;
}

.community-post-header strong small,
.community-comment-list header small {
  color: var(--project-accent);
  background: var(--project-accent-soft);
}

.community-post-header time {
  color: var(--project-muted);
}

.community-post-copy {
  padding: 20px 20px 22px;
}

.community-post-copy h3 {
  margin-bottom: 9px;
  font:
    750 clamp(20px, 3vw, 28px) / 1.12 "Manrope",
    sans-serif;
  letter-spacing: -0.04em;
}

.community-post-copy p {
  color: var(--project-muted);
  font-size: 13px;
  line-height: 1.6;
}

.community-post-media {
  margin: 0 7px;
  border-radius: 12px;
}

.community-post-actions {
  margin: 0 20px;
}

.community-post-actions button {
  color: var(--project-muted);
}

.community-post-actions button.active {
  color: var(--project-accent);
  background: var(--project-accent-soft);
}

.community-comments {
  border-color: var(--project-line);
  background: var(--project-surface-soft);
}

.community-comment-form textarea {
  color: var(--project-ink);
  border-color: var(--project-line);
  background: var(--project-surface);
}

.community-comment-form textarea::placeholder {
  color: var(--project-muted);
}

.community-comment-form textarea:focus {
  border-color: var(--project-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--project-accent) 18%, transparent);
}

.community-comment-form > button,
.community-feed-empty button {
  background: var(--project-accent);
}

.community-feed-empty {
  min-height: 250px;
  padding: 32px;
}

.community-feed-empty > svg {
  color: var(--project-accent);
}

.community-feed-empty h3 {
  margin: 14px 0 7px;
  font-size: 21px;
}

.community-feed-empty p {
  color: var(--project-muted);
}

.community-feed-skeleton {
  gap: 12px;
}

.community-feed-skeleton > div {
  min-height: 245px;
}

.project-compact-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 38px;
  color: var(--project-muted);
  border-top: 1px solid var(--project-line);
}

.project-compact-footer .brand {
  color: var(--project-ink);
  font-size: 14px;
}

.project-compact-footer .brand-mark {
  transform: scale(0.82);
  transform-origin: left center;
}

.project-compact-footer p {
  margin: 0;
  font-size: 10px;
}

.project-compact-footer nav {
  display: flex;
  gap: 18px;
  font-size: 10px;
  font-weight: 700;
}

.project-compact-footer a:hover {
  color: var(--project-accent);
}

@media (max-width: 860px) {
  .project-profile-main {
    width: min(calc(100% - 28px), 680px);
    padding-top: 96px;
  }

  .project-profile-layout {
    grid-template-columns: 1fr;
  }

  .project-profile-primary {
    grid-row: 1;
  }

  .project-profile-sidebar {
    grid-row: 2;
  }

  .project-profile-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .project-compact-footer {
    width: min(calc(100% - 28px), 680px);
  }
}

@media (max-width: 680px) {
  .project-detail-page .project-nav {
    padding: 16px 18px;
  }

  .project-detail-page .project-nav::after {
    right: 18px;
    left: 18px;
  }

  .project-detail-page .project-nav .nav-links > a:not(.nav-cta) {
    display: none;
  }

  .project-detail-page .project-nav .nav-cta {
    padding: 10px 13px;
    font-size: 11px;
  }

  .project-profile-main {
    width: calc(100% - 20px);
    padding: 82px 0 50px;
  }

  .project-profile-header {
    padding: 10px;
    border-radius: 14px;
  }

  .project-cover {
    aspect-ratio: 2.15 / 1;
    border-radius: 10px;
  }

  .project-identity-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 0 6px;
  }

  .project-avatar {
    width: 74px;
    height: 74px;
    margin-top: -17px;
    border-width: 4px;
  }

  .project-identity {
    padding-top: 9px;
  }

  .project-identity p {
    display: none;
  }

  .project-identity h1 {
    font-size: 23px;
  }

  .project-visit-button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
  }

  .project-profile-summary {
    margin: 13px 6px 6px;
    font-size: 13px;
  }

  .project-profile-sidebar {
    grid-template-columns: 1fr;
  }

  .project-support-heading {
    display: grid;
  }

  .project-support-heading > span {
    justify-self: start;
    grid-row: 1;
  }

  .project-community-section > .community-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .community-follow-control {
    width: 100%;
  }

  .community-follow-control > button:first-child {
    flex: 1;
  }

  .community-post-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .community-pinned {
    grid-column: 2;
  }

  .community-post-actions button span {
    display: none;
  }

  .community-post-actions button {
    min-width: 36px;
    justify-content: center;
  }

  .community-post-media {
    grid-template-columns: 1fr;
  }

  .community-post-media img,
  .community-post-media:not(.media-count-1) img {
    height: 260px;
  }

  .community-comment-form {
    grid-template-columns: 1fr;
  }

  .community-comment-form > button {
    justify-self: end;
  }

  .project-compact-footer {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
    gap: 12px;
  }

  .project-compact-footer nav {
    justify-content: space-between;
  }
}

@media (prefers-color-scheme: dark) {
  .project-detail-page {
    --project-page: #101a16;
    --project-surface: #18251f;
    --project-surface-soft: #202f28;
    --project-ink: #edf6f1;
    --project-muted: #aab9b1;
    --project-line: rgba(230, 245, 237, 0.13);
    --project-accent: #67c99b;
    --project-accent-hover: #82d8b0;
    --project-accent-soft: #203c30;
    --project-on-accent: #10291e;
  }

  .project-support-progress {
    background: #31423a;
  }

  .project-cover {
    background: #263a31;
  }

  .project-avatar {
    background: #234235;
  }

  .community-feed-skeleton span,
  .community-feed-skeleton strong,
  .community-feed-skeleton i {
    background: linear-gradient(
      90deg,
      rgba(237, 246, 241, 0.05),
      rgba(237, 246, 241, 0.11),
      rgba(237, 246, 241, 0.05)
    );
    background-size: 200% 100%;
  }
}

.project-nav {
  color: #10291e;
  border-bottom: 1px solid rgba(16, 41, 30, 0.08);
  background: rgba(231, 241, 245, 0.82);
  backdrop-filter: blur(18px);
}

.project-nav .brand-face::after {
  background: #e7f1f5;
}

.project-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  gap: clamp(36px, 4vw, 82px);
  min-height: 940px;
  padding: 154px clamp(24px, 6vw, 96px) 84px;
  overflow: hidden;
  color: #10291e;
  background:
    radial-gradient(circle at 9% 84%, rgba(183, 232, 68, 0.28), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.82), transparent 25%),
    linear-gradient(148deg, #f4f2e6 0 38%, #dceef5 38% 100%);
}

.project-hero::before {
  content: "";
  position: absolute;
  right: -7vw;
  bottom: -13vw;
  width: 47vw;
  height: 30vw;
  border-radius: 50% 50% 0 0;
  background: #c8e86c;
  transform: rotate(-7deg);
  pointer-events: none;
}

.project-hero-copy {
  position: relative;
  z-index: 5;
  align-self: center;
  max-width: 760px;
  padding: 24px 0 20px;
}

.project-back {
  display: inline-block;
  margin-bottom: clamp(48px, 6vh, 74px);
  color: rgba(16, 41, 30, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.project-eyebrow {
  margin: 0 0 22px;
  color: #57932d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-hero h1 {
  max-width: 800px;
  margin: 0;
  font:
    700 clamp(64px, 6.5vw, 108px)/0.9 "Manrope",
    sans-serif;
  letter-spacing: -0.08em;
}

.project-hero h1 em {
  color: #57932d;
  font-style: normal;
}

.project-hero-lede {
  max-width: 670px;
  margin: 36px 0 0;
  color: rgba(16, 41, 30, 0.66);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.65;
}

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

.project-primary-button,
.project-light-button,
.project-ghost-button {
  border-radius: 999px;
}

.project-primary-button {
  color: #fff;
  background: #153829;
}

.project-light-button {
  color: #143021;
  background: #fff;
}

.project-ghost-button {
  color: #153829;
  border: 1px solid rgba(16, 41, 30, 0.24);
  background: rgba(255, 255, 255, 0.34);
}

.server-address {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 56px;
  padding: 14px 14px 14px 21px;
  border: 1px solid rgba(16, 41, 30, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 40px rgba(38, 77, 58, 0.08);
  backdrop-filter: blur(12px);
}

.server-address span {
  display: grid;
  gap: 4px;
}

.server-address small {
  color: rgba(16, 41, 30, 0.52);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.server-address strong {
  font:
    700 18px/1 "Manrope",
    sans-serif;
}

.server-address button {
  padding: 13px 17px;
  color: #fff;
  border: 0;
  border-radius: 12px;
  background: #57932d;
  font:
    700 12px/1 "DM Sans",
    sans-serif;
  cursor: pointer;
}

.project-hero-art {
  position: relative;
  align-self: stretch;
  min-height: 740px;
  isolation: isolate;
}

.project-art-partnership {
  position: absolute;
  z-index: 6;
  top: 5px;
  left: 2%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 17px;
  color: #153829;
  border: 1px solid rgba(16, 41, 30, 0.12);
  border-radius: 999px;
  background: rgba(244, 242, 230, 0.9);
  box-shadow: 0 15px 35px rgba(35, 70, 53, 0.12);
  font:
    700 12px/1 "Manrope",
    sans-serif;
  backdrop-filter: blur(12px);
}

.project-art-partnership b {
  color: #57932d;
  font-size: 17px;
}

.project-art-partnership strong {
  letter-spacing: -0.03em;
}

.project-pixel-cloud {
  position: absolute;
  z-index: 0;
  width: 76px;
  height: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    27px -20px 0 rgba(255, 255, 255, 0.78),
    64px 0 0 rgba(255, 255, 255, 0.78);
}

.project-pixel-cloud-one {
  top: 68px;
  right: 8%;
  transform: scale(0.8);
}

.project-pixel-cloud-two {
  top: 310px;
  left: 0;
  transform: scale(0.45);
  opacity: 0.75;
}

.project-world-card {
  position: absolute;
  z-index: 2;
  top: 76px;
  right: 0;
  left: 9%;
  height: 66%;
  overflow: hidden;
  border: 9px solid #f4f2e6;
  border-radius: clamp(24px, 3vw, 46px);
  background: #98c9e0;
  box-shadow:
    18px 22px 0 rgba(87, 147, 45, 0.18),
    0 40px 80px rgba(25, 64, 45, 0.22);
  transform: rotate(1.2deg);
}

.project-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
}

.project-live-badge,
.project-since-badge {
  position: absolute;
  z-index: 2;
  top: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
}

.project-live-badge {
  left: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  color: #143021;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-live-badge i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #6ebd35;
  box-shadow: 0 0 0 5px rgba(110, 189, 53, 0.15);
}

.project-since-badge {
  right: 20px;
  display: grid;
  gap: 3px;
  padding: 12px 17px;
  color: #143021;
}

.project-since-badge small {
  color: rgba(20, 48, 33, 0.52);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-since-badge strong {
  font:
    700 15px/1 "Manrope",
    sans-serif;
}

.project-world-caption {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 18px;
  padding: 10px 13px;
  color: #fff;
  border-radius: 10px;
  background: rgba(16, 41, 30, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.project-voxel-sheep {
  position: absolute;
  z-index: 4;
  left: -8%;
  bottom: -3%;
  width: clamp(330px, 35vw, 560px);
  filter: drop-shadow(0 28px 28px rgba(19, 45, 31, 0.28));
  animation: reveal-sheep-float 5.6s ease-in-out -1.8s infinite;
}

.project-target-stamp {
  position: absolute;
  z-index: 7;
  top: 18px;
  right: 1%;
  display: grid;
  min-width: 210px;
  padding: 22px 24px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: #153829;
  box-shadow: 0 22px 50px rgba(19, 52, 38, 0.28);
  transform: rotate(-2deg);
}

.project-target-stamp small {
  color: #b7e844;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-target-stamp strong {
  margin-top: 6px;
  font:
    700 44px/1 "Manrope",
    sans-serif;
  letter-spacing: -0.07em;
}

.project-target-stamp span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 clamp(24px, 6vw, 96px);
  border-bottom: 1px solid rgba(16, 41, 30, 0.14);
  background: #eaf0df;
}

.project-facts > div {
  display: grid;
  gap: 9px;
  padding: 34px clamp(20px, 3vw, 48px);
  border-left: 1px solid rgba(16, 41, 30, 0.14);
}

.project-facts > div:last-child {
  border-right: 1px solid rgba(16, 41, 30, 0.14);
}

.project-facts small,
.project-card-label {
  color: rgba(16, 41, 30, 0.5);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-facts strong {
  font:
    700 clamp(20px, 2vw, 28px)/1 "Manrope",
    sans-serif;
  letter-spacing: -0.04em;
}

.project-section,
.project-gallery-section,
.project-final-cta {
  padding: clamp(85px, 10vw, 150px) clamp(24px, 6vw, 96px);
}

.project-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(45px, 8vw, 130px);
  align-items: end;
  max-width: 1400px;
  margin: 0 auto clamp(55px, 7vw, 90px);
}

.project-section-heading h2,
.project-gallery-heading h2,
.project-final-cta h2,
.transparency-card h2 {
  margin: 0;
  font:
    700 clamp(48px, 6.3vw, 92px)/0.94 "Manrope",
    sans-serif;
  letter-spacing: -0.075em;
}

.project-section-heading > p,
.project-gallery-heading > p,
.transparency-card p {
  margin: 0;
  color: rgba(16, 41, 30, 0.64);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.65;
}

.project-goal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(20px, 3vw, 38px);
  max-width: 1400px;
  margin: 0 auto;
}

.project-story-card,
.funding-card {
  min-height: 570px;
  padding: clamp(34px, 4vw, 62px);
  border-radius: clamp(26px, 3vw, 42px);
}

.project-story-card {
  border: 1px solid rgba(16, 41, 30, 0.14);
  background: rgba(255, 255, 255, 0.55);
}

.project-story-card h3 {
  max-width: 780px;
  margin: 100px 0 22px;
  font:
    700 clamp(34px, 4vw, 57px)/1 "Manrope",
    sans-serif;
  letter-spacing: -0.06em;
}

.project-story-card > p {
  max-width: 760px;
  color: rgba(16, 41, 30, 0.67);
  font-size: 17px;
  line-height: 1.7;
}

.project-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 35px 0 0;
  padding: 0;
  list-style: none;
}

.project-check-list li {
  padding: 14px 16px;
  border-radius: 13px;
  background: #e7efda;
  font-size: 13px;
  font-weight: 700;
}

.project-check-list li::before {
  content: "✓";
  margin-right: 9px;
  color: #57932d;
}

.funding-card {
  display: flex;
  flex-direction: column;
  color: #fff;
  background: radial-gradient(circle at 95% 2%, rgba(183, 232, 68, 0.27), transparent 28%), #153829;
}

.funding-card > p {
  margin: 0;
  color: #b7e844;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.funding-card > strong {
  margin-top: 28px;
  font:
    700 clamp(70px, 8vw, 118px)/0.85 "Manrope",
    sans-serif;
  letter-spacing: -0.08em;
}

.funding-card > span {
  max-width: 360px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  line-height: 1.5;
}

.funding-track {
  height: 8px;
  margin-top: auto;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
}

.funding-track i {
  display: block;
  width: 0;
  height: 100%;
  background: #b7e844;
}

.funding-status {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 14px 0 28px;
  font-size: 11px;
}

.funding-status span {
  color: rgba(255, 255, 255, 0.48);
}

.funding-status b {
  color: #b7e844;
}

.funding-card .button {
  justify-content: center;
}

.funding-note {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  line-height: 1.5;
}

.budget-section {
  background: #e7f1f5;
}

.budget-card {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(16, 41, 30, 0.14);
  border-radius: clamp(24px, 3vw, 38px);
  background: rgba(255, 255, 255, 0.72);
}

.budget-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.7fr) 120px;
  gap: 32px;
  align-items: center;
  padding: 26px clamp(24px, 4vw, 56px);
  border-bottom: 1px solid rgba(16, 41, 30, 0.12);
}

.budget-row > span:first-child,
.budget-row strong {
  font:
    700 16px/1.2 "Manrope",
    sans-serif;
}

.budget-row > span:nth-child(2) {
  color: rgba(16, 41, 30, 0.58);
  font-size: 14px;
  line-height: 1.5;
}

.budget-row strong {
  text-align: right;
}

.budget-head {
  color: rgba(16, 41, 30, 0.46);
  background: #dbeaf0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.budget-head > span:first-child,
.budget-head strong {
  font: inherit;
}

.budget-total {
  color: #fff;
  border-bottom: 0;
  background: #153829;
}

.budget-total > span:first-child,
.budget-total strong {
  font-size: 20px;
}

.milestones-section {
  background: #f4f2e6;
}

.project-milestones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 28px);
  max-width: 1400px;
  margin: 0 auto;
}

.project-milestones article {
  min-height: 390px;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid rgba(16, 41, 30, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.52);
}

.project-milestones article > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #153829;
  font:
    700 13px/1 "Manrope",
    sans-serif;
}

.project-milestones small {
  display: block;
  margin-top: 76px;
  color: #57932d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-milestones h3 {
  margin: 12px 0 14px;
  font:
    700 clamp(25px, 2.4vw, 35px)/1 "Manrope",
    sans-serif;
  letter-spacing: -0.05em;
}

.project-milestones p {
  margin: 0;
  color: rgba(16, 41, 30, 0.62);
  font-size: 14px;
  line-height: 1.65;
}

.project-updates-section {
  background: #e7f1f5;
}

.project-update-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  max-width: 1400px;
  margin: 0 auto;
}

.project-update-list article {
  min-height: 310px;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid rgba(16, 41, 30, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
}

.project-update-list time {
  color: #57932d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-update-list h3 {
  margin: 55px 0 16px;
  font:
    700 clamp(28px, 3vw, 42px)/1 "Manrope",
    sans-serif;
  letter-spacing: -0.055em;
}

.project-update-list p {
  margin: 0;
  color: rgba(16, 41, 30, 0.66);
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.project-gallery-section {
  color: #fff;
  background: #10291e;
}

.project-gallery-heading {
  max-width: 1400px;
  margin: 0 auto clamp(55px, 7vw, 90px);
}

.project-gallery-heading h2 {
  max-width: 900px;
}

.project-gallery-heading > p {
  max-width: 620px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.6);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px);
  max-width: 1400px;
  margin: 0 auto;
}

.project-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.project-gallery-large {
  grid-column: 1 / -1;
}

.project-gallery img {
  display: block;
  width: 100%;
  height: clamp(300px, 34vw, 560px);
  object-fit: cover;
}

.project-gallery-large img {
  height: clamp(440px, 54vw, 800px);
}

.project-gallery figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 23px;
}

.project-gallery figcaption strong {
  font:
    700 17px/1.2 "Manrope",
    sans-serif;
}

.project-final-cta .project-final-image-contain {
  object-fit: contain;
}

.project-gallery figcaption span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  text-align: right;
}

.transparency-section {
  background: #e7f1f5;
}

.transparency-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  gap: clamp(45px, 8vw, 120px);
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 85px);
  border: 1px solid rgba(16, 41, 30, 0.14);
  border-radius: clamp(30px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.65);
}

.transparency-card p {
  max-width: 660px;
  margin-top: 28px;
}

.verification-links {
  display: grid;
  gap: 10px;
  align-content: center;
}

.verification-links a,
.verification-links button {
  display: grid;
  gap: 7px;
  padding: 20px 22px;
  color: #10291e;
  border: 1px solid rgba(16, 41, 30, 0.14);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.verification-links span {
  color: rgba(16, 41, 30, 0.48);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.verification-links strong {
  font:
    700 16px/1.2 "Manrope",
    sans-serif;
}

.project-final-cta {
  background: #f4f2e6;
}

.project-final-cta > div {
  position: relative;
  min-height: 570px;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  padding: clamp(52px, 7vw, 98px);
  color: #fff;
  border-radius: clamp(30px, 4vw, 48px);
  background:
    radial-gradient(circle at 90% 20%, rgba(183, 232, 68, 0.24), transparent 29%),
    linear-gradient(135deg, #143426, #417b42);
}

.project-final-cta h2 {
  max-width: 900px;
}

.project-final-cta p:not(.content-kicker) {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

.project-final-cta img {
  position: absolute;
  right: clamp(-30px, 2vw, 35px);
  bottom: -8%;
  width: clamp(260px, 31vw, 500px);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.28));
}

.project-page-sections {
  position: sticky;
  z-index: 12;
  top: 72px;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid rgba(16, 41, 30, 0.08);
  border-bottom: 1px solid rgba(16, 41, 30, 0.1);
  background: rgba(244, 242, 230, 0.9);
  backdrop-filter: blur(18px);
}

.project-page-sections a {
  padding: 9px 15px;
  color: rgba(16, 41, 30, 0.68);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.project-page-sections a:hover,
.project-page-sections a:focus-visible {
  color: #10291e;
  background: rgba(87, 147, 45, 0.12);
}

.project-page-sections a:active {
  transform: translateY(1px);
}

.project-community-section {
  scroll-margin-top: 138px;
  padding: clamp(86px, 9vw, 142px) clamp(24px, 6vw, 96px);
  color: #10291e;
  background:
    radial-gradient(circle at 90% 10%, rgba(183, 232, 68, 0.18), transparent 24%), #e7f1f5;
}

.community-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
  max-width: 1400px;
  margin: 0 auto clamp(42px, 5vw, 68px);
}

.community-section-heading h2 {
  max-width: 860px;
  margin: 12px 0 18px;
  font:
    700 clamp(48px, 6.2vw, 88px)/0.95 "Manrope",
    sans-serif;
  letter-spacing: -0.07em;
}

.community-section-heading > div:first-child > p:last-child {
  max-width: 620px;
  margin: 0;
  color: rgba(16, 41, 30, 0.63);
  font-size: 16px;
  line-height: 1.65;
}

.community-follow-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.community-follow-control > button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  color: #fff;
  border: 1px solid #153829;
  border-radius: 999px;
  background: #153829;
  font:
    700 13px/1 "DM Sans",
    sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.community-follow-control > button:hover {
  background: #245f44;
}

.community-follow-control > button:active {
  transform: translateY(1px);
}

.community-follow-control > button:disabled {
  opacity: 0.58;
  cursor: wait;
}

.community-follow-control > button svg {
  width: 17px;
  height: 17px;
}

.community-follow-control > button.is-following {
  color: #153829;
  border-color: rgba(16, 41, 30, 0.2);
  background: rgba(255, 255, 255, 0.74);
}

.community-follow-control > button.community-preference-button {
  width: 48px;
  padding: 0;
  color: #153829;
  border-color: rgba(16, 41, 30, 0.2);
  background: rgba(255, 255, 255, 0.74);
}

.community-preferences {
  position: absolute;
  z-index: 5;
  top: calc(100% + 10px);
  right: 0;
  width: 260px;
  padding: 18px;
  border: 1px solid rgba(16, 41, 30, 0.14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(26, 64, 46, 0.16);
}

.community-preferences strong {
  display: block;
  font:
    700 14px/1.2 "Manrope",
    sans-serif;
}

.community-preferences p {
  margin: 7px 0 14px;
  color: rgba(16, 41, 30, 0.62);
  font-size: 12px;
  line-height: 1.5;
}

.community-preferences button {
  padding: 0;
  color: #397923;
  border: 0;
  background: transparent;
  font:
    700 12px "DM Sans",
    sans-serif;
  cursor: pointer;
}

.community-feed-error {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1400px;
  margin: -30px auto 28px;
  padding: 13px 15px;
  color: #4e6327;
  border: 1px solid rgba(87, 147, 45, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.community-feed-error svg {
  width: 17px;
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  align-items: start;
  gap: clamp(28px, 4vw, 58px);
  max-width: 1400px;
  margin: 0 auto;
}

.community-feed {
  display: grid;
  gap: 22px;
}

.community-post {
  overflow: hidden;
  border: 1px solid rgba(16, 41, 30, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 60px rgba(31, 73, 53, 0.08);
}

.community-post.is-pinned {
  border-color: rgba(87, 147, 45, 0.38);
  box-shadow:
    inset 4px 0 0 #83bd52,
    0 24px 60px rgba(31, 73, 53, 0.08);
}

.community-post-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 24px clamp(22px, 3vw, 34px) 0;
}

.community-post-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #356c28;
  border-radius: 13px;
  background: rgba(183, 232, 68, 0.25);
}

.community-post-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}

.community-post-header > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 3px 9px;
}

.community-post-header > div > span {
  grid-column: 1 / -1;
  color: #57932d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.community-post-header strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}

.community-post-header strong small,
.community-comment-list header small {
  padding: 3px 7px;
  color: #356c28;
  border-radius: 999px;
  background: rgba(183, 232, 68, 0.25);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.community-post-header time {
  color: rgba(16, 41, 30, 0.48);
  font-size: 10px;
}

.community-pinned {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4e7d32;
  font-size: 10px;
  font-weight: 800;
}

.community-pinned svg {
  width: 14px;
  height: 14px;
}

.community-post-copy {
  padding: 28px clamp(22px, 3vw, 34px) 30px;
}

.community-post-copy h3 {
  max-width: 820px;
  margin: 0 0 14px;
  font:
    700 clamp(27px, 3.2vw, 42px)/1.05 "Manrope",
    sans-serif;
  letter-spacing: -0.052em;
}

.community-post-copy p {
  max-width: 72ch;
  margin: 0;
  color: rgba(16, 41, 30, 0.68);
  font-size: 15px;
  line-height: 1.72;
  white-space: pre-wrap;
}

.community-post-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 8px;
  overflow: hidden;
  border-radius: 18px;
}

.community-post-media.media-count-1 {
  grid-template-columns: 1fr;
}

.community-post-media figure {
  margin: 0;
  background: #d7e2dd;
}

.community-post-media img {
  display: block;
  width: 100%;
  height: clamp(260px, 38vw, 520px);
  object-fit: cover;
}

.community-post-media:not(.media-count-1) img {
  height: clamp(220px, 25vw, 360px);
}

.community-post-media figcaption {
  padding: 11px 13px;
  color: rgba(16, 41, 30, 0.68);
  background: rgba(255, 255, 255, 0.9);
  font-size: 10px;
}

.community-post-media > a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 20px;
  color: #153829;
  background: rgba(183, 232, 68, 0.18);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.community-post-media > a svg {
  width: 22px;
}

.community-access-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 18px clamp(22px, 3vw, 34px) 0;
  color: #4d673e;
  font-size: 10px;
  font-weight: 700;
}

.community-access-note svg {
  width: 14px;
  height: 14px;
}

.community-post-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 clamp(22px, 3vw, 34px);
  padding: 15px 0;
  border-top: 1px solid rgba(16, 41, 30, 0.1);
}

.community-post-actions button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 11px;
  color: rgba(16, 41, 30, 0.63);
  border: 0;
  border-radius: 999px;
  background: transparent;
  font:
    700 11px/1 "DM Sans",
    sans-serif;
  cursor: pointer;
}

.community-post-actions button:hover {
  color: #153829;
  background: rgba(16, 41, 30, 0.06);
}

.community-post-actions button.active {
  color: #3b782b;
  background: rgba(183, 232, 68, 0.2);
}

.community-post-actions button:active {
  transform: translateY(1px);
}

.community-post-actions button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.community-post-actions svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

.community-post-actions b {
  font-size: 10px;
}

.community-post-actions .community-report-button {
  margin-left: auto;
  padding: 0;
  width: 38px;
  justify-content: center;
}

.community-action-message {
  margin: -2px clamp(22px, 3vw, 34px) 15px;
  color: #4d782f;
  font-size: 11px;
}

.community-comments {
  padding: 22px clamp(22px, 3vw, 34px) 28px;
  border-top: 1px solid rgba(16, 41, 30, 0.1);
  background: rgba(232, 239, 234, 0.54);
}

.community-comment-list {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
}

.community-comment-list > article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
}

.community-comment-list > article.is-reply {
  margin-left: 42px;
}

.community-comment-list > article > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #356c4f;
  font-size: 11px;
  font-weight: 800;
}

.community-comment-list header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.community-comment-list header strong {
  font-size: 12px;
}

.community-comment-list header time {
  color: rgba(16, 41, 30, 0.44);
  font-size: 9px;
}

.community-comment-list p {
  margin: 6px 0 7px;
  color: rgba(16, 41, 30, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.community-comment-list footer {
  display: flex;
  gap: 12px;
}

.community-comment-list footer button {
  padding: 0;
  color: rgba(16, 41, 30, 0.52);
  border: 0;
  background: transparent;
  font:
    700 10px "DM Sans",
    sans-serif;
  cursor: pointer;
}

.community-comments-empty {
  margin: 0 0 18px;
  color: rgba(16, 41, 30, 0.56);
  font-size: 12px;
}

.community-comment-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.community-comment-form > div {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  color: #4d782f;
  font-size: 10px;
}

.community-comment-form > div button {
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.community-comment-form textarea {
  width: 100%;
  min-height: 76px;
  padding: 14px 15px;
  resize: vertical;
  color: #10291e;
  border: 1px solid rgba(16, 41, 30, 0.18);
  border-radius: 14px;
  outline: 0;
  background: rgba(255, 255, 255, 0.88);
  font:
    400 13px/1.5 "DM Sans",
    sans-serif;
}

.community-comment-form textarea::placeholder {
  color: rgba(16, 41, 30, 0.48);
}

.community-comment-form textarea:focus {
  border-color: #57932d;
  box-shadow: 0 0 0 3px rgba(87, 147, 45, 0.16);
}

.community-comment-form > button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: #153829;
  font:
    700 12px "DM Sans",
    sans-serif;
  cursor: pointer;
}

.community-comment-form > button svg {
  width: 15px;
}

.community-sign-in {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  color: #153829;
  border: 1px solid rgba(16, 41, 30, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.community-sidebar {
  position: sticky;
  top: 148px;
  display: grid;
  gap: 12px;
}

.community-sidebar > div,
.community-sidebar > a {
  padding: 22px;
  border: 1px solid rgba(16, 41, 30, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
}

.community-sidebar > div:first-child {
  display: grid;
  gap: 12px;
}

.community-sidebar > div:first-child > p {
  margin: 0;
  color: rgba(16, 41, 30, 0.5);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.community-sidebar > div:first-child strong {
  display: flex;
  align-items: center;
  gap: 9px;
  font:
    700 18px/1.25 "Manrope",
    sans-serif;
}

.community-sidebar > div:first-child strong svg {
  width: 21px;
  color: #57932d;
}

.community-sidebar > div:first-child span {
  color: rgba(16, 41, 30, 0.58);
  font-size: 11px;
}

.community-sidebar > div:nth-child(2) > svg {
  width: 24px;
  color: #57932d;
}

.community-sidebar > div:nth-child(2) strong {
  display: block;
  margin-top: 18px;
  font-size: 13px;
}

.community-sidebar > div:nth-child(2) p {
  margin: 7px 0 0;
  color: rgba(16, 41, 30, 0.59);
  font-size: 11px;
  line-height: 1.55;
}

.community-sidebar > a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #153829;
  text-decoration: none;
}

.community-sidebar > a > svg {
  width: 23px;
  color: #57932d;
}

.community-sidebar > a span {
  display: grid;
  gap: 3px;
  color: rgba(16, 41, 30, 0.56);
  font-size: 10px;
  line-height: 1.4;
}

.community-sidebar > a strong {
  color: #153829;
  font-size: 12px;
}

.community-feed-empty {
  display: grid;
  min-height: 360px;
  place-content: center;
  justify-items: center;
  padding: 44px;
  text-align: center;
  border: 1px dashed rgba(16, 41, 30, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.54);
}

.community-feed-empty > svg {
  width: 34px;
  height: 34px;
  color: #57932d;
}

.community-feed-empty h3 {
  margin: 18px 0 8px;
  font:
    700 29px/1 "Manrope",
    sans-serif;
  letter-spacing: -0.04em;
}

.community-feed-empty p {
  max-width: 430px;
  margin: 0;
  color: rgba(16, 41, 30, 0.58);
  font-size: 13px;
  line-height: 1.55;
}

.community-feed-empty button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 22px;
  padding: 0 17px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: #153829;
  font:
    700 12px "DM Sans",
    sans-serif;
  cursor: pointer;
}

.community-feed-skeleton {
  display: grid;
  gap: 22px;
}

.community-feed-skeleton > div {
  min-height: 320px;
  padding: 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
}

.community-feed-skeleton span,
.community-feed-skeleton strong,
.community-feed-skeleton i {
  display: block;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(16, 41, 30, 0.06),
    rgba(16, 41, 30, 0.11),
    rgba(16, 41, 30, 0.06)
  );
  background-size: 200% 100%;
  animation: community-skeleton 1.4s ease infinite;
}

.community-feed-skeleton span {
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
}

.community-feed-skeleton strong {
  width: 62%;
  height: 30px;
  margin-bottom: 24px;
}

.community-feed-skeleton i {
  width: 90%;
  height: 11px;
  margin-top: 11px;
}

.community-feed-skeleton i:last-child {
  width: 74%;
}

@keyframes community-skeleton {
  to {
    background-position: -200% 0;
  }
}

@media (max-width: 1100px) {
  .project-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project-hero-copy {
    padding-right: 0;
  }

  .project-hero-art {
    min-height: 720px;
  }

  .project-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-facts > div:nth-child(3) {
    border-top: 1px solid rgba(16, 41, 30, 0.14);
  }

  .project-facts > div:nth-child(4) {
    border-top: 1px solid rgba(16, 41, 30, 0.14);
  }

  .project-section-heading,
  .transparency-card {
    grid-template-columns: 1fr;
  }

  .project-goal-grid {
    grid-template-columns: 1fr;
  }

  .funding-card {
    min-height: 530px;
  }

  .community-section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .community-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (max-width: 760px) {
  .project-hero {
    min-height: auto;
    padding: 128px 20px 65px;
  }

  .project-back {
    margin-bottom: 48px;
  }

  .project-hero h1 {
    font-size: clamp(55px, 17vw, 78px);
  }

  .project-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .project-hero-actions .button {
    justify-content: center;
  }

  .server-address {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .project-hero-art,
  .project-hero-image {
    min-height: 0;
  }

  .project-since-badge {
    top: auto;
    right: auto;
    left: 20px;
    bottom: 16px;
  }

  .project-hero-art {
    min-height: 540px;
  }

  .project-art-partnership {
    display: none;
  }

  .project-world-card {
    top: 62px;
    left: 4%;
    height: 65%;
    border-width: 6px;
  }

  .project-live-badge {
    top: 14px;
    left: 14px;
  }

  .project-world-caption {
    display: none;
  }

  .project-voxel-sheep {
    left: -11%;
    bottom: -5%;
    width: clamp(270px, 63vw, 420px);
  }

  .project-target-stamp {
    top: 0;
    right: 0;
    min-width: 176px;
    padding: 18px 19px;
  }

  .project-target-stamp strong {
    font-size: 36px;
  }

  .project-facts {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .project-facts > div,
  .project-facts > div:nth-child(2) {
    border-top: 1px solid rgba(16, 41, 30, 0.14);
    border-right: 1px solid rgba(16, 41, 30, 0.14);
  }

  .project-page-sections {
    top: 64px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 10px 16px;
    scrollbar-width: none;
  }

  .project-page-sections::-webkit-scrollbar {
    display: none;
  }

  .project-page-sections a {
    flex: 0 0 auto;
  }

  .project-section,
  .project-gallery-section,
  .project-final-cta {
    padding: 80px 20px;
  }

  .project-community-section {
    padding: 80px 20px;
  }

  .community-section-heading h2 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .community-follow-control {
    width: 100%;
  }

  .community-follow-control > button:first-child {
    flex: 1;
  }

  .community-preferences {
    right: 0;
    left: 0;
    width: auto;
  }

  .community-layout {
    grid-template-columns: 1fr;
  }

  .community-sidebar {
    position: static;
    grid-template-columns: 1fr;
  }

  .community-post {
    border-radius: 18px;
  }

  .community-post-header {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 20px 18px 0;
  }

  .community-pinned {
    grid-column: 2;
    justify-self: start;
  }

  .community-post-copy {
    padding: 24px 18px;
  }

  .community-post-copy h3 {
    font-size: 29px;
  }

  .community-post-media {
    grid-template-columns: 1fr;
  }

  .community-post-media img,
  .community-post-media:not(.media-count-1) img {
    height: 280px;
  }

  .community-post-actions {
    margin: 0 18px;
  }

  .community-post-actions button {
    padding: 0 9px;
  }

  .community-post-actions button span {
    display: none;
  }

  .community-comments {
    padding: 20px 18px 24px;
  }

  .community-comment-list > article.is-reply {
    margin-left: 22px;
  }

  .community-comment-form {
    grid-template-columns: 1fr;
  }

  .community-comment-form > button {
    justify-self: end;
  }

  .project-section-heading h2,
  .project-gallery-heading h2,
  .project-final-cta h2,
  .transparency-card h2 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .project-story-card,
  .funding-card {
    min-height: auto;
  }

  .project-story-card h3 {
    margin-top: 65px;
  }

  .project-check-list {
    grid-template-columns: 1fr;
  }

  .funding-track {
    margin-top: 65px;
  }

  .budget-card {
    overflow-x: auto;
  }

  .budget-row {
    grid-template-columns: 180px 260px 75px;
    min-width: 650px;
  }

  .project-milestones,
  .project-update-list,
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery-large {
    grid-column: auto;
  }

  .project-gallery img,
  .project-gallery-large img {
    height: 330px;
  }

  .project-gallery figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-gallery figcaption span {
    text-align: left;
  }

  .transparency-card {
    padding: 32px 24px;
  }

  .project-final-cta > div {
    min-height: 660px;
    padding: 44px 28px;
  }

  .project-final-cta img {
    right: -45px;
    width: 280px;
  }
}

/* Final compact-profile cascade overrides legacy showcase styles. */
.project-detail-page {
  color: var(--project-ink);
  background: var(--project-page);
}

.project-detail-page .project-nav {
  color: var(--project-ink);
  border: 0;
  background: color-mix(in srgb, var(--project-surface) 92%, transparent);
}

.project-detail-page .project-nav::after {
  background: var(--project-line);
  opacity: 1;
}

.project-detail-page .project-nav .brand-face::after {
  background: var(--project-surface);
}

.project-detail-page .project-nav .nav-cta {
  color: var(--project-on-accent);
  background: var(--project-accent);
}

html body .project-detail-page .project-nav .nav-cta {
  color: var(--project-on-accent);
  background: var(--project-accent);
}

.project-detail-page .project-community-section {
  scroll-margin-top: 92px;
  padding: 0;
  color: var(--project-ink);
  background: transparent;
}

.project-detail-page .project-community-section > .community-section-heading {
  display: flex;
  grid-template-columns: none;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 0 0 12px;
  padding: 17px 20px;
  border: 1px solid var(--project-line);
  border-radius: 16px;
  background: var(--project-surface);
}

.project-detail-page .community-section-heading h2 {
  max-width: none;
  margin: 0;
  font:
    750 16px/1.2 "Manrope",
    sans-serif;
  letter-spacing: -0.025em;
}

.project-detail-page .community-section-heading > div:first-child > p:last-child {
  margin: 4px 0 0;
  color: var(--project-muted);
  font-size: 10px;
  line-height: 1.4;
}

.project-detail-page .community-follow-control > button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--project-on-accent);
  border-color: var(--project-accent);
  background: var(--project-accent);
  font-size: 11px;
}

.project-detail-page .community-follow-control > button:hover {
  background: var(--project-accent-hover);
}

.project-detail-page .community-follow-control > button.is-following,
.project-detail-page .community-follow-control > button.community-preference-button {
  color: var(--project-accent);
  border-color: var(--project-line);
  background: var(--project-accent-soft);
}

.project-detail-page .community-follow-control > button.community-preference-button {
  width: 38px;
}

.project-detail-page .community-preferences {
  color: var(--project-ink);
  border-color: var(--project-line);
  border-radius: 12px;
  background: var(--project-surface);
}

.project-detail-page .community-feed-error {
  margin: 0 0 12px;
  border-color: var(--project-line);
  background: var(--project-surface);
}

.project-detail-page .community-feed {
  gap: 12px;
}

.project-detail-page .community-post {
  border: 1px solid var(--project-line);
  border-radius: 16px;
  background: var(--project-surface);
  box-shadow: none;
}

.project-detail-page .community-post.is-pinned {
  border-color: color-mix(in srgb, var(--project-accent) 40%, transparent);
  box-shadow: inset 3px 0 0 var(--project-accent);
}

.project-detail-page .community-post-header {
  gap: 11px;
  padding: 18px 20px 0;
}

.project-detail-page .community-post-icon {
  width: 36px;
  height: 36px;
  color: var(--project-accent);
  border-radius: 10px;
  background: var(--project-accent-soft);
}

.project-detail-page .community-post-icon svg {
  width: 17px;
  height: 17px;
}

.project-detail-page .community-post-header > div > span {
  color: var(--project-accent);
  font-size: 8px;
  letter-spacing: 0;
  text-transform: none;
}

.project-detail-page .community-post-header strong {
  color: var(--project-ink);
  font-size: 12px;
}

.project-detail-page .community-post-header strong small,
.project-detail-page .community-comment-list header small {
  color: var(--project-accent);
  background: var(--project-accent-soft);
}

.project-detail-page .community-post-header time {
  color: var(--project-muted);
}

.project-detail-page .community-post-copy {
  padding: 20px 20px 22px;
}

.project-detail-page .community-post-copy h3 {
  margin-bottom: 9px;
  font:
    750 clamp(20px, 3vw, 28px) / 1.12 "Manrope",
    sans-serif;
  letter-spacing: -0.04em;
}

.project-detail-page .community-post-copy p {
  color: var(--project-muted);
  font-size: 13px;
  line-height: 1.6;
}

.project-detail-page .community-post-media {
  margin: 0 7px;
  border-radius: 12px;
}

.project-detail-page .community-post-actions {
  margin: 0 20px;
}

.project-detail-page .community-post-actions button {
  color: var(--project-muted);
}

.project-detail-page .community-post-actions button.active {
  color: var(--project-accent);
  background: var(--project-accent-soft);
}

.project-detail-page .community-comments {
  border-color: var(--project-line);
  background: var(--project-surface-soft);
}

.project-detail-page .community-comment-form textarea {
  color: var(--project-ink);
  border-color: var(--project-line);
  background: var(--project-surface);
}

.project-detail-page .community-comment-form textarea::placeholder {
  color: var(--project-muted);
}

.project-detail-page .community-comment-form textarea:focus {
  border-color: var(--project-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--project-accent) 18%, transparent);
}

.project-detail-page .community-comment-form > button,
.project-detail-page .community-feed-empty button {
  background: var(--project-accent);
}

.project-detail-page .community-feed-empty {
  min-height: 210px;
  padding: 32px;
  border: 1px solid var(--project-line);
  border-radius: 16px;
  background: var(--project-surface);
}

.project-detail-page .community-feed-empty > svg {
  color: var(--project-accent);
}

.project-detail-page .community-feed-empty h3 {
  margin: 14px 0 7px;
  font-size: 21px;
}

.project-detail-page .community-feed-empty p {
  color: var(--project-muted);
}

.project-detail-page .community-feed-skeleton {
  gap: 12px;
}

.project-detail-page .community-feed-skeleton > div {
  min-height: 245px;
  border: 1px solid var(--project-line);
  border-radius: 16px;
  background: var(--project-surface);
}

@media (max-width: 680px) {
  .project-detail-page .project-community-section > .community-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-detail-page .community-follow-control {
    width: 100%;
  }

  .project-detail-page .community-follow-control > button:first-child {
    flex: 1;
  }

  .project-detail-page .community-post-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .project-detail-page .community-pinned {
    grid-column: 2;
  }

  .project-detail-page .community-post-actions button span {
    display: none;
  }

  .project-detail-page .community-post-actions button {
    min-width: 36px;
    justify-content: center;
  }

  .project-detail-page .community-post-media {
    grid-template-columns: 1fr;
  }

  .project-detail-page .community-post-media img,
  .project-detail-page .community-post-media:not(.media-count-1) img {
    height: 260px;
  }
}

@media (prefers-color-scheme: dark) {
  .project-detail-page {
    --project-page: #101a16;
    --project-surface: #18251f;
    --project-surface-soft: #202f28;
    --project-ink: #edf6f1;
    --project-muted: #aab9b1;
    --project-line: rgba(230, 245, 237, 0.13);
    --project-accent: #67c99b;
    --project-accent-hover: #82d8b0;
    --project-accent-soft: #203c30;
    --project-on-accent: #10291e;
  }
}
