/*
 * Haus of Contour — the founder page.
 *
 * A portrait beside the story, a line of philosophy on its own, and the focus
 * of the practice as a ruled grid. The grid, the details block and the closing
 * band come from site.css; only the portrait pairing and the pull quote are
 * particular to this page.
 */

/* ------------------------------------------------------------ the name */

/* The role sits directly under the name, on the accent, so the headline can
   stay a plain name rather than carrying the italic flourish other pages put
   in their hero. */
.founder__role {
  margin-top: 22px;
  color: var(--accent);
}

/* ------------------------------------------------- portrait beside copy */

.founder { padding-top: 76px; padding-bottom: 104px; }

.founder__grid {
  display: grid;
  grid-template-columns: minmax(min(280px, 100%), 0.85fr) minmax(min(300px, 100%), 1fr);
  gap: 72px;
  align-items: start;
}

/* The portrait is cropped to 4:5, the same window the home page gives the
   studio photograph, so the two read as one set. */
.founder__frame { aspect-ratio: 4 / 5; }

.founder__body {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 60ch;
  text-wrap: pretty;
}

.founder__body:last-child { margin-bottom: 0; }

/* Name, credential and title as a ruled pair, matching the credentials block
   on the home page. */
.founder__meta {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 28px 44px;
}

.founder__meta > div { border-top: 1px solid var(--rule); padding-top: 18px; }

.founder__value {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.25;
  color: var(--ink);
}

/* ------------------------------------------------------------ the line */

/* The one sentence the practice is built on, given a band of its own so it is
   not read as another paragraph. */
.credo {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--raised);
  padding-top: 96px;
  padding-bottom: 96px;
}

.credo__quote {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.04;
}

.credo__attrib { margin-top: 30px; }

/* --------------------------------------------------------- the practice */

.focus { padding-top: 96px; padding-bottom: 96px; }

/* .details supplies the columns; this only closes the block off from the
   band above it. */
.focus .details { margin-top: 48px; }

@media (max-width: 900px) {
  .founder__grid { grid-template-columns: 1fr; gap: 48px; }
  /* Copy leads; the portrait follows it, as on the home page. */
  .founder__frame { order: 2; }
}

@media (max-width: 719px) {
  .founder { padding-top: 48px; padding-bottom: 64px; }
  .credo { padding-top: 64px; padding-bottom: 64px; }
  .focus { padding-top: 64px; padding-bottom: 64px; }
}
