/* The founder introduction keeps its two-column portrait layout. */
body.responsive[data-theme-page='about'] #founder {
  padding-block: 72px;
}
body.responsive[data-theme-page='about'] .founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}
body.responsive[data-theme-page='about'] .founder-grid > :first-child {
  min-width: 0;
}
body.responsive[data-theme-page='about'] .client-portrait {
  width: 100%;
  max-width: 480px;
  justify-self: end;
  margin: 0;
}
body.responsive[data-theme-page='about'] .client-portrait {
  width: 100%;
  max-width: 480px;
  min-width: 0;
  margin: 0 0 0 auto;
}
body.responsive[data-theme-page='about'] .client-portrait-frame {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--media-surface);
}
body.responsive[data-theme-page='about'] .client-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body.responsive[data-theme-page='about'] .client-portrait figcaption {
  padding-top: 9px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--body-ink);
}
@media (max-width: 900px) {
  body.responsive[data-theme-page='about'] #founder { padding-block: 40px; }
  body.responsive[data-theme-page='about'] .founder-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
  body.responsive[data-theme-page='about'] .client-portrait { max-width: 420px; margin: 0 auto; justify-self: center; }
}

/* Keep the complete opening in one mobile view: portrait beside the headline,
   with the full biography and both actions beneath it. */
@media (max-width:900px) {
  body.responsive[data-theme-page='about'] main>#founder { padding-block:24px; }
  body.responsive[data-theme-page='about'] #founder .founder-grid {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(108px,38%);
    grid-template-rows:auto auto auto auto;
    gap:14px 18px;
    align-items:start;
  }
  body.responsive[data-theme-page='about'] #founder .founder-grid>:first-child { display:contents; }
  body.responsive[data-theme-page='about'] #founder .eyebrow { grid-column:1;grid-row:1;align-self:end;margin:0;font-size:10px; }
  body.responsive[data-theme-page='about'] #founder h1 { grid-column:1;grid-row:2;align-self:start;font-size:28px;line-height:1.12;margin:0;text-wrap:balance; }
  body.responsive[data-theme-page='about'] #founder .founder-bio { grid-column:1/-1;grid-row:3;margin:0;max-width:none;font-size:14px;line-height:1.55; }
  body.responsive[data-theme-page='about'] #founder .actions { grid-column:1/-1;grid-row:4;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0; }
  body.responsive[data-theme-page='about'] #founder .actions .btn { min-height:44px;padding:9px 7px;font-size:11.5px;line-height:1.4; }
  body.responsive[data-theme-page='about'] #founder .client-portrait { grid-column:2;grid-row:1/span 2;width:100%;max-width:152px;margin:0;align-self:center; }
  body.responsive[data-theme-page='about'] #founder .client-portrait-frame { aspect-ratio:4/5; }
  body.responsive[data-theme-page='about'] #founder .client-portrait figcaption { padding-top:7px;font-size:11px;line-height:1.4; }
}
@media (max-width:900px) and (max-height:700px) {
  body.responsive[data-theme-page='about'] main>#founder { padding-block:12px; }
  body.responsive[data-theme-page='about'] #founder .founder-grid { gap:10px 14px; }
  body.responsive[data-theme-page='about'] #founder h1 { font-size:25px; }
  body.responsive[data-theme-page='about'] #founder .founder-bio { font-size:13px;line-height:1.5; }
  body.responsive[data-theme-page='about'] #founder .client-portrait figcaption { font-size:10px; }
}
@media (max-width:340px) and (max-height:600px) {
  body.responsive[data-theme-page='about'] main>#founder { padding-block:8px; }
  body.responsive[data-theme-page='about'] #founder .founder-grid { gap:8px 12px; }
  body.responsive[data-theme-page='about'] #founder h1 { font-size:23px; }
  body.responsive[data-theme-page='about'] #founder .founder-bio { font-size:12.5px;line-height:1.45; }
}
