/* ============================================================
   FOUNDER PAGE — Edgar Alan Rangel Jiménez
   Reuses tokens/components from /style.css (navbar, footer, .btn,
   .section-badge, .container). This file only adds page-specific
   layout: hero, timeline, cards, chips.
============================================================ */

.founder-page main {
  padding-top: var(--nav-h);
}

.founder-prose p a,
.section-header-left p a {
  color: var(--primary);
  font-weight: 600;
}
.founder-prose p a:hover,
.section-header-left p a:hover {
  text-decoration: underline;
}

/* ===== HERO ===== */
.founder-hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, var(--primary-glow) 0%, transparent 70%),
    var(--bg);
}

.founder-hero-inner {
  max-width: 720px;
}

.founder-photo {
  width: 148px;
  height: 148px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.founder-eyebrow {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.founder-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3rem);
  color: var(--text);
  margin-bottom: 0.6rem;
}

.founder-role {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.founder-location {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 1.75rem;
}

.founder-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.founder-lang-switch {
  margin-top: 1.5rem;
  font-size: 0.88rem;
}
.founder-lang-switch a {
  color: var(--primary);
  font-weight: 600;
}
.founder-lang-switch a:hover {
  text-decoration: underline;
}

/* ===== SECTIONS ===== */
.founder-section {
  padding: 3.5rem 0;
}
.founder-section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.founder-prose {
  max-width: 720px;
}
.founder-prose h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--text);
  margin-bottom: 1.25rem;
}
.founder-prose p + p {
  margin-top: 1.1rem;
}

.founder-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.25rem 0;
}
.founder-list li {
  padding-left: 1.4rem;
  position: relative;
}
.founder-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--primary);
}

/* ===== TIMELINE ===== */
.founder-timeline {
  list-style: none;
  max-width: 760px;
  border-left: 2px solid var(--border);
  margin-top: 2rem;
}
.founder-timeline li {
  position: relative;
  padding: 0 0 2.25rem 2rem;
}
.founder-timeline li:last-child {
  padding-bottom: 0;
}
.founder-timeline li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0.3rem;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}
.founder-timeline h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.founder-timeline p {
  font-size: 0.95rem;
}
.founder-timeline-meta {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem !important;
}

/* ===== CARDS ===== */
.founder-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.founder-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.founder-card h3 {
  font-size: 1.02rem;
  color: var(--text);
  margin-bottom: 0.65rem;
}
.founder-card p {
  font-size: 0.92rem;
}

/* ===== CHIPS ===== */
.founder-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.founder-stack-group {
  margin-top: 1.75rem;
}
.founder-stack-group:first-of-type {
  margin-top: 2rem;
}
.founder-stack-group h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
}
.founder-chip {
  display: inline-flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
}

/* ===== PRINCIPLES ===== */
.founder-principles {
  list-style: none;
  counter-reset: principle;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.founder-principles li {
  counter-increment: principle;
  padding-left: 2.4rem;
  position: relative;
}
.founder-principles li::before {
  content: counter(principle);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.7rem;
  height: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
}
.founder-principles strong {
  color: var(--text);
}

/* ===== CLOSING ===== */
.founder-closing {
  text-align: center;
}
.founder-signature {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .founder-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .founder-hero {
    padding: 3rem 0 2.5rem;
  }
  .founder-photo {
    width: 116px;
    height: 116px;
  }
  .founder-section {
    padding: 2.5rem 0;
  }
}
