/* ============ About Us page ============ */

.page-hero {
  padding-block: clamp(48px, 7vw, 88px) clamp(20px, 3vw, 36px);
  background:
    radial-gradient(46rem 26rem at 100% -20%, var(--c-primary-tint) 0%, transparent 60%);
  text-align: center;
}

.page-hero .lead {
  max-width: 44em;
  margin-inline: auto;
}

.page-hero h1 {
  margin: 0.35em auto 0.4em;
  max-width: 18em;
}

/* ---------- Story ---------- */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.story-copy p {
  line-height: 1.7;
}

.story-visual {
  display: flex;
  justify-content: center;
}

.story-visual img {
  width: min(240px, 60vw);
  height: auto;
  border-radius: 32px;
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow-lift);
}

/* ---------- What we build ---------- */

.build-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.build-card p {
  line-height: 1.65;
}

.build-card .btn {
  margin-top: 16px;
  align-self: flex-start;
}

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-visual {
    order: -1;
  }

  .story-visual img {
    width: min(180px, 48vw);
  }
}

/* Four value cards in one row once there is room. */
@media (min-width: 1100px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* Image beside the mobile-app card in "What we build". */
.build-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.build-figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
