.projects-page {
  background: #f8fcff;
}
.projects-hero {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 8rem) 4rem;
  background: linear-gradient(135deg, #fff, #e7f6ff);
}
.projects-hero h1 {
  margin: 1rem 0;
  color: var(--navy);
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.85;
}
.projects-hero > p:last-child {
  max-width: 520px;
  color: #4e6d7e;
  line-height: 1.7;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 1440px;
  margin: auto;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 7vw, 8rem);
}
.project-grid article {
  overflow: hidden;
  padding-bottom: 1.4rem;
  border: 1px solid #d6e9f3;
  border-radius: 1.2rem;
  background: #fff;
}
.project-grid article > div {
  position: relative;
  display: grid;
  min-height: 310px;
  place-items: end start;
  overflow: hidden;
  padding: 1.4rem;
  background: #1b75bb;
}
.project-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-grid span {
  z-index: 1;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
}
.project-grid article > p,
.project-grid h2 {
  margin-right: 1.4rem;
  margin-left: 1.4rem;
}
.project-grid article > p:first-of-type {
  color: var(--blue);
  font-size: 0.62rem;
  font-weight: 700;
}
.project-grid h2 {
  color: var(--navy);
}
.project-grid article > p:last-child {
  color: #5e7a8b;
  line-height: 1.65;
}
@media (max-width: 850px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}
