/* OTDELKA78 V1.15.3 — projects commercial cleanup.
   Catalogue-only patch: less defensive/meta copy, faster access to real objects,
   preserved proof-first positioning and protected SEO fields. */

/* Pull the first proof object closer to the catalogue intro without flattening the hero. */
.projects-page .projects-hero {
  padding-bottom: 70px;
}

.projects-page .projects-hero-grid {
  align-items: center;
}

.projects-page .projects-hero .lead {
  max-width: 590px;
}

.projects-page .projects-meta-line {
  margin-top: 24px;
}

/* The separate explanatory intro was removed in V1.15.3; catalogue now follows the hero directly. */
.projects-page .projects-catalog {
  padding-top: 38px;
}

/* Keep evidence cards dominant; supporting copy should not feel like an internal audit note. */
.projects-page .project-card-copy > p:not(.project-card-kicker) {
  max-width: 560px;
}

.projects-page .projects-method {
  padding-top: 84px;
  padding-bottom: 84px;
}

.projects-page .projects-method-grid {
  gap: 68px;
}

.projects-page .projects-method-copy > p {
  margin-top: 0;
}

@media (max-width: 760px) {
  .projects-page .projects-hero {
    padding-bottom: 46px;
  }

  .projects-page .projects-hero-visual {
    min-height: 410px;
    margin-top: 4px;
  }

  .projects-page .projects-hero-photo:first-child {
    width: 72%;
    height: 70%;
  }

  .projects-page .projects-hero-photo:last-child {
    width: 59%;
    height: 64%;
  }

  .projects-page .projects-meta-line {
    margin-top: 20px;
  }

  .projects-page .projects-catalog {
    padding-top: 18px;
  }

  .projects-page .project-card:first-child {
    padding-top: 34px;
  }

  .projects-page .projects-method {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .projects-page .projects-method-grid {
    gap: 30px;
  }
}

@media (max-width: 390px) {
  .projects-page .projects-hero-visual {
    min-height: 380px;
  }
}
