.project-hero .project-hero__decor.hero__decor { top: 40px; height: clamp(240px, 22vw, 380px); }
@media (max-width: 1200px) {
  .project-hero .project-hero__decor.hero__decor { height: 220px; }
}

@media (max-width: 900px) {
  .project-hero .project-hero__decor.hero__decor { height: 170px; }
}

.project-hero { padding-bottom: 104px; }
.project-hero__tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}
.project-hero__kind,
.project-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 100px;
  background: rgba(255, 255, 255, .14);
  font-size: 0.875rem;
  font-weight: 600;
}
.project-hero__status { background: #fff; border-color: #fff; color: var(--green); }
.project-hero__status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(23, 166, 115, .2);
}
.project-hero__title {
  margin-top: 14px;
  max-width: 1120px;
  font-size: clamp(1.3125rem, 2vw, 1.8125rem);
  line-height: 1.34;
  font-weight: 700;
  text-wrap: pretty;
}
.project-facts {
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  max-width: 1120px;
}
.project-facts div { min-width: 0; }
.project-facts dt { font-size: 0.8125rem; color: rgba(255, 255, 255, .7); }
.project-facts dd { margin: 2px 0 0; font-size: 0.9688rem; font-weight: 600; }
.project-bar {
  display: flex; flex-direction: column; gap: 22px; padding: 22px 26px 24px;
}
.key-dates {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.key-dates__item {
  min-width: 0;
  padding: 12px 16px 13px;
  border-radius: 10px;
  background: var(--surface-alt);
  border-top: 3px solid var(--line-3);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.key-dates__item.is-current { background: var(--brand-tint); border-top-color: var(--brand); }
.key-dates__label { font-size: 0.8438rem; color: var(--muted-3); }
.key-dates__value { font-size: 1rem; font-weight: 700; color: var(--ink); }
.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.project-actions .project-actions__btn.btn { gap: 8px; }
.project-actions__complaint { margin-left: auto; }
.project-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-start;
}
.project-layout__main {
  flex: 999 1 760px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.project-layout__side {
  flex: 1 1 22.5rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.stat-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--surface-alt);
}
.stat-tile__label { font-size: 0.8438rem; font-weight: 500; color: var(--muted-3); }
.stat-tile__value { font-size: 1.0625rem; font-weight: 700; color: var(--ink); }
.side-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 24px 24px;
}
.side-card__title { font-size: 1.0625rem; font-weight: 700; }
.developer { display: flex; align-items: flex-start; gap: 14px; }
.developer img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  padding: 6px;
  object-fit: contain;
  background: #F4F7FC;
  border-radius: 50%;
}
.developer__name { font-size: 0.9688rem; font-weight: 600; line-height: 1.35; }
.kv { display: flex; flex-direction: column; gap: 10px; }
.kv__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.9063rem;
}
.kv__row dt { margin: 0; color: var(--muted-3); }
.kv__row dd { margin: 0; font-weight: 500; text-align: right; }
.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.mini-stat {
  padding: 14px 16px;
  border-radius: 11px;
  background: var(--surface-alt);
}
.mini-stat__label { font-size: 0.8438rem; color: var(--muted-3); }
.mini-stat__value { margin-top: 4px; font-size: 1.1875rem; font-weight: 700; }
@media (max-width: 900px) {
  .side-card { padding: 18px 18px 20px; }
}

@media (max-width: 600px) {
  .mini-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kv__row { flex-direction: column; gap: 2px; }
  .kv__row dd { text-align: left; }
}

@media (max-width: 900px) {
  .key-dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-actions__complaint { margin-left: 0; }
}

@media (max-width: 600px) {
  .project-hero { padding-bottom: 64px; }
  .project-facts { gap: 10px 24px; }
  .project-bar { padding: 16px; gap: 16px; }
  .key-dates__item { padding: 10px 12px; }
  .key-dates__value { font-size: 0.9375rem; }
  .project-actions .project-actions__btn.btn:not(.btn--icon) { flex: 1 1 100%; }
  .project-actions .project-actions__btn.btn--icon { flex: 0 0 46px; }
  .project-actions__complaint { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 420px) {
  .key-dates { grid-template-columns: minmax(0, 1fr); }
}
