/* -------------------- Founder section -------------------- */
/* Mobile (base): compact card — small avatar inline with name+role, bio spans full width below.
   Quote and contact-info rows are hidden on mobile (testimonials live elsewhere; full contact
   block lives in the dedicated Contact section). Only the "Contact our team" CTA stays. */
.founder {
  display: grid;
  grid-template-columns: 88px 1fr;
  column-gap: 1.1rem;
  row-gap: 0;
  align-items: start;
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFAF6 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--hi-top), var(--shadow-lg);
}
.founder-content {
  display: contents;
}
.founder-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.15), 0 0 0 4px var(--tint);
  border: 3px solid #FFFFFF;
  margin: 0;
  grid-row: 1 / span 2;
  align-self: center;
  /* Subtle teal halo pulse to draw the eye to "who you're working with".
     Pauses on hover. Same teal family + cadence as the Name-field pulse,
     but offset to 4.5s so the two don't lockstep. */
  animation: pfpPulseMobile 4.5s ease-in-out infinite;
}
.founder-avatar:hover { animation-play-state: paused; }
@keyframes pfpPulseMobile {
  0%, 100% {
    box-shadow:
      0 6px 18px rgba(15, 23, 42, 0.15),
      0 0 0 4px var(--tint),
      0 0 0 4px rgba(20, 184, 166, 0);
  }
  50% {
    box-shadow:
      0 6px 18px rgba(15, 23, 42, 0.15),
      0 0 0 4px var(--tint),
      0 0 0 8px rgba(20, 184, 166, 0.14);
  }
}
@media (prefers-reduced-motion: reduce) {
  .founder-avatar { animation: none; }
}
.founder-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  align-self: end;
}
.founder-role {
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0.2rem 0 0;
  align-self: start;
}
.founder-bio {
  grid-column: 1 / -1;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted-strong);
  margin: 1.25rem 0 0;
}
.founder-quote,
.founder-quote-author {
  display: none;
}
.founder-quote {
  background: var(--surface-cream);
  border-left: 3px solid var(--primary);
  padding: 1rem 1.25rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.6;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.founder-quote-author {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.founder-contact {
  grid-column: 1 / -1;
  margin-top: 1.25rem;
  padding-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  border-top: none;
}
.founder-contact > div {
  display: none;
}
.founder-contact-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  display: block;
  margin-bottom: 0.2rem;
}
.founder-contact a {
  color: var(--primary-dark);
  font-weight: 600;
}
.founder-contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0;
  align-self: flex-start;
  /* Tap target ≥44px tall (WCAG 2.5.5) — was 42px */
  padding: 0.7rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--primary-dark) !important;
  background: transparent;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.founder-contact-cta:hover {
  border-color: var(--primary);
  background: var(--tint-soft);
  color: var(--primary-darker) !important;
}
.founder-contact-cta .arrow { transition: transform 0.15s ease; }
.founder-contact-cta:hover .arrow { transform: translateX(3px); }

/* Desktop: revert to original 2-column layout with full content */
@media (min-width: 768px) {
  .founder {
    grid-template-columns: 220px 1fr;
    column-gap: 3rem;
    row-gap: 0;
    padding: 3.5rem;
    align-items: center;
  }
  .founder-content { display: block; }
  .founder-avatar {
    width: 200px;
    height: 200px;
    grid-row: auto;
    align-self: auto;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18), 0 0 0 6px var(--tint);
    border-width: 4px;
    /* Larger avatar → larger pulse spread + thicker tint base ring */
    animation: pfpPulseDesktop 4.5s ease-in-out infinite;
  }
  @keyframes pfpPulseDesktop {
    0%, 100% {
      box-shadow:
        0 12px 32px rgba(15, 23, 42, 0.18),
        0 0 0 6px var(--tint),
        0 0 0 6px rgba(20, 184, 166, 0);
    }
    50% {
      box-shadow:
        0 12px 32px rgba(15, 23, 42, 0.18),
        0 0 0 6px var(--tint),
        0 0 0 11px rgba(20, 184, 166, 0.14);
    }
  }
  .founder-content h3 {
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    margin-bottom: 0.3rem;
    align-self: auto;
  }
  .founder-role {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    margin-top: 0;
    align-self: auto;
  }
  .founder-bio {
    grid-column: auto;
    font-size: 1.0625rem;
    line-height: 1.7;
    margin: 0 0 1.5rem;
  }
  .founder-quote,
  .founder-quote-author {
    display: block;
  }
  .founder-contact {
    grid-column: auto;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
  }
  .founder-contact > div {
    display: block;
  }
  .founder-contact-cta {
    margin-left: auto;
    align-self: center;
  }
}

