.project-benefits {
  background: var(--paper);
}
.benefit-heading h2 {
  font-size: clamp(40px, 4.5vw, 68px);
  margin-top: 25px;
  max-width: 850px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 45px;
}
.benefit-grid article {
  background: var(--paper);
  padding: 35px 28px;
}
.benefit-grid svg {
  height: 55px;
  width: 55px;
  color: var(--accent);
  margin-bottom: 35px;
}
.benefit-grid h3 {
  font-size: 23px;
  line-height: 1.3;
  min-height: 60px;
  overflow-wrap: anywhere;
}
.benefit-grid p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 20px;
}
.funding-note {
  padding: 25px 30px;
  background: #e7e5dc;
  border-left: 3px solid var(--accent);
  margin-top: 30px;
  max-width: 950px;
}
.funding-note strong {
  font-size: 17px;
  font-weight: 500;
}
.funding-note p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 13px;
}
.funding-note a {
  font-size: 14px;
  display: inline-block;
  margin-top: 15px;
  border-bottom: 1px solid var(--muted);
  padding-bottom: 5px;
}
.project-progress {
  background: #e7e8df;
}
.progress-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
}
.progress-heading h2 {
  font-size: clamp(40px, 4.5vw, 68px);
  margin-top: 25px;
}
.progress-status {
  padding: 12px 18px;
  border: 1px solid #aab4a0;
  font-size: 14px;
  flex-shrink: 0;
}
.phase-track {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(var(--phase-columns, 3), minmax(0, 1fr));
  margin: 55px 0 0;
  padding: 0;
  gap: 40px 0;
  padding-bottom: 20px;
  scrollbar-width: thin;
}
.phase-track li {
  min-width: 0;
  padding: 0 28px 10px 0;
  position: relative;
}
.phase-track li:before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 1px;
  background: #a7b39c;
}
.phase-track li:last-child:before {
  right: 50%;
}
.phase-dot {
  width: 38px;
  height: 38px;
  border: 1px solid #a7b39c;
  display: grid;
  place-items: center;
  position: relative;
  background: #e7e8df;
  z-index: 1;
  font-size: 14px;
}
.phase-current .phase-dot {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
  box-shadow: 0 0 0 5px #c44b2c18;
}
.phase-paused .phase-dot {
  background: #545f4f;
  color: var(--paper);
}
.phase-done .phase-dot {
  background: #d8e0ce;
  color: #42513a;
}
.phase-track li > div {
  padding-top: 25px;
}
.phase-date {
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 16px;
}
.phase-track h3 {
  font-size: 22px;
  line-height: 1.35;
  max-width: 260px;
  overflow-wrap: anywhere;
}
.phase-track h3 + p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 16px;
  max-width: 300px;
}
.phase-current {
  font-size: 14px;
  font-weight: 400;
}
.phase-current strong,
.phase-paused strong {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 10px;
  background: var(--paper);
  font-size: 14px;
  color: var(--accent);
}
.project-fitness .project-benefits {
  background: #e2e2d7;
}
.project-villa .benefit-grid svg {
  color: #416664;
}
.project-copper .benefit-grid svg {
  color: #995a37;
}
@media (max-width: 1100px) {
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .progress-heading {
    align-items: start;
    flex-direction: column;
  }
  .phase-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .benefit-heading h2,
  .progress-heading h2 {
    font-size: 38px;
  }
  .benefit-grid {
    margin-top: 30px;
  }
  .benefit-grid article {
    padding: 26px 18px;
  }
  .benefit-grid svg {
    height: 42px;
    width: 42px;
    margin-bottom: 24px;
  }
  .benefit-grid h3 {
    font-size: 20px;
    min-height: 0;
  }
  .benefit-grid p {
    font-size: 14px;
    line-height: 1.8;
    margin-top: 15px;
  }
  .funding-note {
    padding: 22px;
  }
  .funding-note strong {
    font-size: 16px;
  }
  .funding-note p {
    font-size: 14px;
  }
  .progress-heading {
    gap: 25px;
  }
  .phase-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: visible;
    margin-top: 35px;
    padding: 0;
  }
  .phase-track li {
    min-width: 0;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 25px;
    padding: 0 0 35px;
  }
  .phase-track li:before {
    left: 18px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }
  .phase-track li:last-child:before {
    height: 38px;
    right: auto;
  }
  .phase-track li > div {
    padding: 0;
  }
  .phase-date {
    margin-bottom: 10px;
  }
  .phase-track h3 {
    font-size: 22px;
    max-width: none;
  }
  .phase-track h3 + p {
    max-width: none;
  }
  .phase-track li:last-child {
    padding-bottom: 0;
  }
}
.progress-summary {
  max-width: 780px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  text-wrap: pretty;
}
.phase-link,
.phase-source {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  font-size: 15px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.phase-link {
  margin-top: 14px;
  gap: 8px;
}
.phase-source {
  color: var(--muted);
}
.progress-sources {
  border-top: 1px solid #a7b39c;
  margin-top: 34px;
  padding-top: 12px;
  font-size: 15px;
  line-height: 1.8;
}
.progress-sources summary {
  cursor: pointer;
  padding: 12px 0;
  min-height: 44px;
}
.progress-sources ol {
  margin: 8px 0 0;
  padding-left: 24px;
}
.progress-sources a {
  display: inline-block;
  padding: 10px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.phase-link:focus-visible,
.phase-source:focus-visible,
.progress-sources a:focus-visible,
.progress-sources summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.benefit-grid article {
  min-width: 0;
}
.benefit-grid p {
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 360px) {
  .benefit-grid {
    grid-template-columns: 1fr;
  }
}
