/* About page: the parts not shared with other inner pages (see page.css for those)

   Founder block, modeled on Palantir's "There is so much left to build" block: on an off-white band,
   a photo on the left and a white card on the right with a centered heading, a short paragraph and a
   small outlined button. The photo is black and white to match the site and kept to a third of the
   width so the page stays about the work rather than the person. */

.founder-band {
  /* Covers nothing (no hero on this page) but keeps sections stacking like the homepage */
  position: relative;
  background: #efefef;
  padding: 60px 0;
}
@media (min-width: 960px) { .founder-band { padding: 100px 0; } }

.founder {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
}
@media (min-width: 760px) {
  .founder { grid-template-columns: repeat(12, minmax(10px, 1fr)); }
  .founder-photo { grid-column: 1 / 5; }
  .founder-card { grid-column: 5 / -1; }
}

/* The photo always matches the card's height: at least a square, and when the card's text runs
   longer (narrower screens), a taller crop that keeps the face in frame */
.founder-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}
/* An invisible spacer as tall as the photo is wide, so the photo is never shorter than a square.
   The grid then stretches it to the card's height when the card is taller. */
.founder-photo::before {
  content: "";
  display: block;
  padding-top: 100%;
}
.founder-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  /* Full color, no filter (black and white until 3 Oct): matches the color hero video and the
     same photo on LinkedIn */
}

.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  border-radius: 4px;
  background: #fff;
  text-align: center;
}
@media (min-width: 960px) { .founder-card { padding: 60px 50px; } }

/* Palantir's duplex heading: 26px on phones, 46px on wide screens */
.founder-name {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -0.06px;
}
@media (min-width: 960px) {
  .founder-name { font-size: 46px; line-height: 48px; letter-spacing: -1.15px; }
}

/* The role sits under the name, with a small LinkedIn icon after it (HABU's founder card layout) */
.founder-role {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 20px;
  color: #666;
}

/* Layout from buildhabu.com. A solid "in" in the role's grey, as tall as the capital F (the glyph's
   bottom sits on the text baseline); LinkedIn blue on hover, with HABU's springy grow and tilt */
.founder-linkedin {
  display: inline-block;
  vertical-align: -1.75px;
  margin-left: 3px;
  color: #666;
  transition: color 0.16s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.founder-linkedin svg { display: block; width: 14px; height: 14px; }
.founder-linkedin:hover { color: #0a66c2; transform: scale(1.1) rotate(5deg); }

.founder-bio {
  max-width: 540px;
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

/* Principles: full width, and three side-by-side columns on wide screens */
.about-principles { grid-column: 1 / -1; }
@media (min-width: 960px) {
  .about-principles .pg-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--gutter);
  }
  /* Keep each column's text at the top even when a neighbour's description runs longer */
  .about-principles .pg-step { align-content: start; }
}

/* The closing blocks sit right below the founder band, so give them room */
.founder-band + .cta .section-inner { padding-top: 72px; }
