/* ============================================================
   PRISMA · fundador.css
   Página "Nuestro fundador". Estructura editorial por capítulos,
   inspirada en la ficha de fundador de erretres.
   Solo clases con prefijo .founder-*; los tokens viven en main.css.
   El texto mezcla titulares en inglés y cuerpo en español a
   propósito: es la voz del documento original.
   ============================================================ */

/* ---------- Apertura ---------- */
.founder-hero__name {
  font-family: var(--f-text); font-weight: 500;
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-on-ink-2);
}
.founder-hero__role {
  margin-top: 10px;
  font-size: var(--fs-lead); color: var(--orange);
}

/* ---------- Intro: retrato + texto ---------- */
.founder-intro {
  display: grid; gap: clamp(28px, 5vw, 64px);
  grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 900px) {
  .founder-intro { grid-template-columns: minmax(240px, .75fr) 1.25fr; }
}

/* aspect-ratio fijo + fondo: si la foto todavía no existe, el layout
   no se descuadra ni aparece el icono de imagen rota. */
.founder-portrait {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--r);
  background: var(--ink-2);
}
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; }

.founder-bio { font-size: var(--fs-lead); color: var(--text-on-ink-2); }
.founder-bio p + p { margin-top: 1em; }
.founder-bio strong { color: var(--text-on-ink); font-weight: 500; }

.founder-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; }
.founder-links a { font-size: .95rem; color: var(--text-on-ink); transition: color .2s var(--ease-ui); }
.founder-links a:hover { color: var(--orange); }

/* ---------- Capítulos narrativos ---------- */
.founder-chapters { margin-top: clamp(60px, 11vh, 130px); }
.founder-chapter {
  display: grid; gap: 18px; grid-template-columns: 1fr;
  padding: clamp(40px, 7vh, 84px) 0;
  border-top: 1px solid var(--line-on-ink);
}
@media (min-width: 900px) {
  .founder-chapter {
    grid-template-columns: minmax(140px, .32fr) 1fr;
    gap: clamp(28px, 5vw, 80px); align-items: start;
  }
}
.founder-chapter__year {
  font-family: var(--f-display); font-weight: 200;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1;
  letter-spacing: -0.02em; color: var(--orange);
}
.founder-chapter__title {
  font-size: var(--fs-h2); margin-bottom: 20px; max-width: 20ch;
}
.founder-chapter__body { color: var(--text-on-ink-2); max-width: 62ch; }
.founder-chapter__body p + p { margin-top: .95em; }
.founder-chapter__body strong { color: var(--text-on-ink); font-weight: 500; }

/* Frase destacada dentro de un capítulo */
.founder-statement {
  margin: 30px 0; padding-left: 20px;
  border-left: 1px solid var(--orange);
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.15rem, 1.9vw, 1.6rem); line-height: 1.3;
  letter-spacing: -0.015em; color: var(--text-on-ink);
  max-width: 26ch;
}

/* Cadena del proceso */
.founder-flow {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  margin: 28px 0;
}
.founder-flow li {
  display: flex; align-items: center; gap: 14px;
  font-size: .92rem; color: var(--text-on-ink);
}
.founder-flow li:not(:last-child)::after {
  content: '→'; color: var(--orange);
}

/* Sub-casos dentro de "Selected challenges" */
.founder-case { margin-top: 36px; }
.founder-case:first-of-type { margin-top: 0; }
.founder-case h3 {
  font-size: var(--fs-h3); margin-bottom: 12px; color: var(--text-on-ink);
}

/* ---------- By the numbers ---------- */
.founder-numbers {
  display: grid; gap: clamp(28px, 4vw, 52px);
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: clamp(36px, 6vh, 60px);
}
.founder-numbers__value {
  display: block;
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1;
  letter-spacing: -0.03em; color: var(--text-on-ink);
}
.founder-numbers > div:nth-child(3n+1) .founder-numbers__value { color: var(--orange); }
.founder-numbers__label {
  display: block; margin-top: 12px;
  font-size: .9rem; line-height: 1.4;
  color: var(--text-on-ink-2); max-width: 20ch;
}

/* ---------- What he builds ---------- */
.founder-cards {
  display: grid; gap: 2px;
  grid-template-columns: 1fr;
  margin-top: clamp(36px, 6vh, 60px);
  background: var(--line-on-ink);
  border: 1px solid var(--line-on-ink);
  border-radius: var(--r); overflow: hidden;
}
@media (min-width: 860px) { .founder-cards { grid-template-columns: repeat(3, 1fr); } }
.founder-cards article {
  background: var(--ink); padding: clamp(24px, 3.4vw, 40px);
}
.founder-cards h3 { font-size: var(--fs-h3); }
.founder-cards h3 + p {
  margin-top: 8px; color: var(--orange); font-size: .95rem;
}
.founder-cards p + p { margin-top: 14px; }
.founder-cards article > p:last-child { color: var(--text-on-ink-2); font-size: .98rem; }

/* ---------- How he thinks ---------- */
.founder-principles {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  margin-top: clamp(36px, 6vh, 60px);
  border-top: 1px solid var(--line-on-ink);
}
@media (min-width: 760px) { .founder-principles { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); } }
.founder-principles > div {
  padding: clamp(24px, 3.4vh, 34px) 0;
  border-bottom: 1px solid var(--line-on-ink);
}
.founder-principles h3 {
  font-size: var(--fs-h3); margin-bottom: 10px; color: var(--text-on-ink);
}
.founder-principles p { color: var(--text-on-ink-2); max-width: 44ch; }
.founder-principles strong { color: var(--orange); font-weight: 500; }

/* ---------- Cierre ---------- */
.founder-closing {
  margin-top: clamp(60px, 11vh, 130px);
  padding-top: clamp(40px, 7vh, 80px);
  border-top: 1px solid var(--line-on-ink);
  text-align: center;
}
.founder-closing p {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem); line-height: 1.12;
  letter-spacing: -0.03em; color: var(--text-on-ink);
}
.founder-closing em { font-style: normal; color: var(--orange); }
