/*
 * Team page — the founder story, styled to match the main site (styles.css):
 * paper background, Fraunces display type, coral accent. Keep this page to
 * public facts only; investor figures live behind the gated investors page.
 */

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-cta {
  padding: 10px 22px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .nav-cta {
    display: none;
  }
}

.nav-links a.is-active {
  color: var(--primary-dark);
}

.team-eyebrow {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

/* ---- Hero ---------------------------------------------------------- */
.team-hero {
  padding: 10rem 0 3.5rem;
}

.team-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 17ch;
  margin-bottom: 1.25rem;
}

.team-hero-sub {
  max-width: 620px;
  font-size: 1.15rem;
  color: var(--gray);
}

/* ---- Founder ------------------------------------------------------- */
.team-founder {
  padding: 2rem 0 6rem;
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.founder-photo {
  position: relative;
  margin: 0;
}

.founder-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}

.founder-photo figcaption {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--gray);
}

.founder-body {
  padding-top: 1rem;
}

.founder-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.founder-role {
  margin: 0.5rem 0 2.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.founder-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.founder-points li {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.founder-points h3 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.45rem;
}

.founder-points p {
  font-size: 1.08rem;
  color: var(--ink-2);
  max-width: 54ch;
}

/* ---- Phase 1 -> current model ------------------------------------- */
.team-evolution {
  background: var(--paper-2);
  padding: 5.5rem 0;
}

.team-evolution h2,
.team-hiring h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin-bottom: 3rem;
}

.evolution-steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 2.5rem;
  position: relative;
}

.evolution-steps li {
  position: relative;
  padding-top: 2.2rem;
}

/* A single progression line across the three steps. */
.evolution-steps li::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 0;
  right: -2.5rem;
  height: 2px;
  background: var(--gray-light);
}

.evolution-steps li:last-child::before {
  right: 0;
  background: var(--primary);
}

.evolution-steps li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--ink);
}

.evolution-steps li:last-child::after {
  background: var(--primary);
  border-color: var(--primary);
}

.evolution-steps .step-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.6rem;
}

.evolution-steps li:last-child .step-label {
  color: var(--primary-dark);
}

.evolution-steps p {
  font-size: 1.05rem;
  color: var(--ink-2);
}

/* ---- Hiring -------------------------------------------------------- */
.team-hiring {
  padding: 5.5rem 0 6.5rem;
}

.team-hiring .hiring-note {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 60ch;
  margin: -1.75rem 0 2.75rem;
}

.roles {
  list-style: none;
  border-top: 1px solid var(--line);
}

.roles li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.roles h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.25;
}

.roles p {
  color: var(--gray);
  font-size: 1.02rem;
}

.hiring-cta {
  margin-top: 2.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  color: var(--gray);
}

/* ---- Responsive ---------------------------------------------------- */
@media (max-width: 900px) {
  .team-hero {
    padding: 8rem 0 2.5rem;
  }

  .founder-grid {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    max-width: 440px;
  }

  .evolution-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-left: 2rem;
  }

  .evolution-steps li {
    padding-top: 0;
  }

  /* Vertical line on narrow screens. */
  .evolution-steps li::before {
    top: 1.2rem;
    bottom: -2rem;
    left: -1.55rem;
    right: auto;
    width: 2px;
    height: auto;
  }

  .evolution-steps li:last-child::before {
    display: none;
  }

  .evolution-steps li::after {
    top: 0.3rem;
    left: -2rem;
  }

  .roles li {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}
