/* founder.php — page layout only; components come from ui-v2.css */

/* hero: copy + profile card */
.founder-hero{padding-bottom:clamp(44px,6vw,80px)}
.founder-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:var(--s-8);align-items:center}
.founder-hero-copy p{max-width:var(--measure-lead)}
.founder-hero .stats--inline{margin-top:var(--s-6);align-items:end}
.founder-hero .stat__n{color:#fff}
.founder-hero .stat--text .stat__label{font-family:var(--font-mono);font-size:12px;letter-spacing:.04em;margin-top:0;padding-bottom:4px}
.founder-card{align-items:center;text-align:center;gap:var(--s-4);padding:var(--s-6) var(--s-5);box-shadow:var(--shadow-md)}
.founder-card__photo{width:220px;height:220px;border-radius:50%;overflow:hidden;border:1px solid var(--hair-dark-strong);box-shadow:0 18px 46px rgba(0,0,0,.35)}
.founder-card__photo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}
.founder-card__body{display:grid;gap:6px;justify-items:center}
.founder-card h2{font-size:var(--fs-h3);line-height:1.1;letter-spacing:-.02em;color:#fff;margin:0}
.founder-card p{margin:0;font-size:var(--fs-small);color:var(--text-inverse-muted)}
.founder-card .btn{margin-top:var(--s-2)}
@media (max-width:980px){
  .founder-hero-grid{grid-template-columns:minmax(0,1fr);gap:var(--s-6)}
  .founder-card{justify-self:start;max-width:420px}
}
@media (max-width:768px){
  /* photo card first on phones; compact row */
  .founder-card{order:-1;flex-direction:row;text-align:left;align-items:center;gap:var(--s-4);padding:var(--s-3);max-width:none;width:100%;border:0;border-bottom:var(--border-dark);border-radius:0;background:transparent;box-shadow:none;margin-top:-8px}
  .founder-card::before{display:none}
  .founder-card__photo{flex:0 0 128px;width:128px;height:160px;aspect-ratio:4/5;border-radius:var(--r-md);box-shadow:none}
  .founder-card__body{justify-items:start;gap:4px}
  .founder-card .btn{margin-top:6px}
  .founder-hero .stats--inline{gap:12px 20px}
  .founder-hero .stat--text{flex:1 1 100%}
  .founder-hero .stat--text .stat__label{padding-bottom:0}
}

/* story: sticky dark rail + prose */
.founder-layout{display:grid;grid-template-columns:280px minmax(0,800px);gap:var(--s-8);align-items:start}
.founder-rail{position:sticky;top:calc(var(--nav-h) + 24px);box-shadow:none}
.founder-rail p{margin:0;font-size:var(--fs-body);line-height:1.55;color:var(--text-inverse-muted)}
.founder-copy{display:grid;gap:var(--s-7)}
.founder-copy article{display:grid;gap:var(--s-4);padding-bottom:var(--s-7);border-bottom:var(--border)}
.founder-copy article:last-child{border-bottom:0;padding-bottom:0}
.founder-copy h2{font-size:var(--fs-h2);font-weight:700;line-height:1.08;letter-spacing:-.025em;color:var(--ink);margin:0;max-width:var(--measure-head)}
.founder-copy p{font-size:var(--fs-body);line-height:1.65;color:var(--text-muted);margin:0;max-width:var(--measure)}
.founder-copy p a{color:var(--blue);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(62,65,173,.35)}
.founder-copy p a:hover{text-decoration-color:currentColor}
.founder-checks .card{gap:0;padding:var(--s-2) var(--s-5)}
/* neutralise the legacy style.css .founder-checks boxes so the ruled list renders */
.founder-copy .founder-checks ul{display:block;margin:0;padding:0;gap:0}
.founder-copy .founder-checks li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;align-items:baseline;background:transparent;border:0;border-top:var(--border);border-radius:0;box-shadow:none;padding:12px 0;font-size:var(--fs-body);font-weight:500;line-height:1.45;color:var(--text)}
.founder-copy .founder-checks li:first-child{border-top:0}
.founder-copy .founder-checks li::before{position:static;width:auto;height:auto;border-radius:0;background:none;top:auto;left:auto}
@media (max-width:1000px){
  .founder-layout{grid-template-columns:minmax(0,1fr);gap:var(--s-6)}
  .founder-rail{position:static;max-width:560px}
}
@media (max-width:768px){
  .founder-copy{gap:var(--s-6)}
  .founder-copy article{gap:var(--s-3);padding-bottom:var(--s-6)}
  .founder-copy h2{font-size:clamp(24px,1.2rem + 2vw,28px)}
  .founder-copy p{font-size:15px;line-height:1.58}
  .founder-rail p{font-size:15px}
  .founder-checks .card{padding:2px var(--s-4)}
  .founder-copy .founder-checks li{font-size:15px;padding:10px 0}
}

/* mission band */
.cta-band>div:first-child{display:grid;gap:8px}

/* phones: the breadcrumb stays above the photo card */
@media (max-width:768px){.founder-hero-grid{position:relative;padding-top:40px}.founder-hero .breadcrumb{position:absolute;top:0;left:var(--gutter);right:var(--gutter);margin:0}}
