/* Founder Profile — reached from the Insights Founders Index.
   Reuses the Insights .ci-hero background + .ci-block system verbatim so the
   page shares the exact wash, glow and floor-grid as Insights. */

#landing-founder {
  display: none;
}
#landing-page[data-page="founder"] #landing-founder {
  display: block;
  margin-top: calc(-1 * var(--lp-navh));
}
@media (min-width: 901px) {
  body[data-route="landing"] #landing-page[data-page="founder"] .landing-navbar {
    display: none;
  }
  #landing-page[data-page="founder"] #landing-founder {
    margin-top: 0;
  }
}

/* ---- page shell ------------------------------------------------------------ */
.fp-root {
  color: #0c2e26;
  font-family: "Outfit", "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.fp-hero {
  /* inherits .ci-hero: same gradient + glow + grid as Insights */
  min-height: 100vh;
}
.fp-inner {
  position: relative;
  z-index: 8;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
}
.fp-top {
  flex: none;
  padding: 1.6rem clamp(1.5rem, 3.2vw, 3.4rem) 2.6rem;
}
.fp-stack {
  flex: 1 1 auto;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px clamp(1.5rem, 3.2vw, 3.4rem) 60px;
  display: grid;
  gap: 14px;
  align-content: start;
}

/* ---- back pill / shared pill ---------------------------------------------- */
.fp-backwrap {
  max-width: 1240px;
  margin: 26px auto 0;
}
.fp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #33514a;
  background: #ffffff;
  border: 1px solid rgba(11, 58, 45, 0.16);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  transition: border-color 140ms ease, color 140ms ease;
  cursor: pointer;
}
.fp-pill:hover {
  border-color: #0c2e26;
  color: #0c2e26;
}

/* ---- hero head ------------------------------------------------------------- */
.fp-head {
  max-width: 720px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.fp-avatar {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  flex: none;
  border: 3px solid #ffffff;
  box-shadow: 0 14px 38px rgba(11, 45, 38, 0.24);
  background-color: #eaf4ee;
  background-repeat: no-repeat;
  overflow: hidden;
}
.fp-avatar--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.fp-name {
  margin: 22px 0 0;
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.05em;
  color: #0c2e26;
  text-wrap: balance;
}
.fp-hero-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c948d;
}
.fp-hero-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c3d3cd;
}
.fp-bio {
  margin: 16px 0 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.55;
  color: #5a726b;
  text-wrap: pretty;
}

/* ---- block peeks ----------------------------------------------------------- */
.fp-peek {
  font-size: 13.5px;
  color: #7c948d;
  white-space: nowrap;
}
.fp-peek-pills {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fp-peek-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 11px;
}
.fp-peek-val {
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #0c2e26;
}

/* ---- Work History ---------------------------------------------------------- */
.fp-roles {
  padding: 10px 26px 22px;
}
.fp-role {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  cursor: pointer;
}
.fp-role-years {
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #93a9a2;
  text-align: right;
  padding: 16px 18px 0 0;
  white-space: nowrap;
}
.fp-role-main {
  position: relative;
  border-left: 1px solid rgba(11, 58, 45, 0.1);
  padding: 16px 0 16px 24px;
  min-width: 0;
}
.fp-role-dot {
  position: absolute;
  left: -5px;
  top: 21px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #ffffff;
}
.fp-role-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.fp-role-id {
  min-width: 0;
}
.fp-role-role {
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #0c2e26;
}
.fp-role-org {
  margin-top: 4px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7c948d;
}
.fp-role-tagwrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.fp-role-tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.fp-role-chev {
  font-size: 15px;
  color: #93a9a2;
  width: 12px;
  text-align: center;
}
.fp-role-detail {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f2faf6;
  border: 1px solid rgba(15, 148, 87, 0.14);
  animation: ciFadeIn 0.2s ease-out;
}
.fp-role-text {
  font-size: 15px;
  line-height: 1.6;
  color: #16413a;
  text-wrap: pretty;
}
.fp-role-facts {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(15, 148, 87, 0.14);
}
.fp-fact-k {
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #93a9a2;
}
.fp-fact-v {
  margin-top: 4px;
  font-size: 13px;
  color: #16413a;
}

/* ---- News ------------------------------------------------------------------ */
.fp-news {
  padding: 4px 26px 20px;
}
.fp-news-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(11, 58, 45, 0.07);
}
.fp-news-date {
  text-align: right;
  padding-top: 2px;
}
.fp-news-day {
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #16413a;
}
.fp-news-mon {
  margin-top: 4px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: #93a9a2;
}
.fp-news-mid {
  min-width: 0;
  border-left: 2px solid #0f9457;
  padding-left: 18px;
}
.fp-news-title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: -0.015em;
  color: #0c2e26;
  text-wrap: pretty;
}
.fp-news-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 9px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.fp-news-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c3d3cd;
}
.fp-news-src {
  color: #93a9a2;
}
.fp-news-effect {
  text-align: right;
  padding-top: 3px;
  font-size: 13.5px;
  white-space: nowrap;
}
.fp-news-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 18px;
}

/* ---- Achievements ---------------------------------------------------------- */
.fp-ach {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(268px, 100%), 1fr));
  gap: 12px;
  padding: 22px 26px 26px;
}
.fp-mile {
  display: flex;
  flex-direction: column;
  padding: 18px 20px 20px;
  border-radius: 18px;
  border: 1px solid rgba(15, 148, 87, 0.2);
}
.fp-mile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fp-mile-year {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.fp-mile-kind {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.14em;
}
.fp-mile-title {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #0c2e26;
  text-wrap: pretty;
}
.fp-mile-note {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #5a726b;
  text-wrap: pretty;
}

/* ---- Fortune --------------------------------------------------------------- */
.fp-fortune {
  padding: 24px 26px 8px;
}
.fp-fort-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.fp-fort-headl {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.fp-fort-big {
  font-variant-numeric: tabular-nums;
  font-size: 34px;
  letter-spacing: -0.03em;
  color: #0c2e26;
}
.fp-fort-change {
  font-size: 14.5px;
}
.fp-fort-right {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.fp-fchips {
  display: flex;
  gap: 26px;
}
.fp-fchip-v {
  margin-top: 5px;
  font-size: 15px;
  color: #16413a;
}
.fp-chart {
  position: relative;
  width: 100%;
  height: 260px;
}
.fp-chart-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.fp-chart-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #0f9457;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 8px rgba(11, 45, 38, 0.28);
  pointer-events: none;
}
.fp-chart-label {
  position: absolute;
  transform: translate(-50%, -100%);
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(11, 58, 45, 0.1);
  box-shadow: 0 4px 14px rgba(11, 45, 38, 0.1);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #16413a;
  white-space: nowrap;
  pointer-events: none;
}
.fp-chart-tick {
  position: absolute;
  left: 0;
  transform: translateY(-50%);
  padding: 0 6px;
  background: #ffffff;
  font-size: 10px;
  color: #93a9a2;
  pointer-events: none;
}
.fp-chart-xs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 0 0 4px 52px;
}
.fp-chart-x {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93a9a2;
}
.fp-money {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(11, 58, 45, 0.07);
}
.fp-money-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.fp-money-note {
  font-size: 13.5px;
  color: #7c948d;
}
.fp-holds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 24px;
  margin-top: 20px;
  padding-bottom: 6px;
}
.fp-hold-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.fp-hold-k {
  font-size: 14.5px;
  font-weight: 500;
  color: #0c2e26;
}
.fp-hold-v {
  font-size: 13.5px;
  color: #16413a;
}
.fp-hold-bar {
  margin-top: 8px;
  height: 6px;
  border-radius: 999px;
  background: rgba(11, 58, 45, 0.06);
  overflow: hidden;
}
.fp-hold-fill {
  height: 100%;
  border-radius: 999px;
}
.fp-hold-sub {
  margin-top: 7px;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93a9a2;
}

/* ---- Quotes ---------------------------------------------------------------- */
.fp-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: 12px;
  padding: 22px 26px 26px;
}
.fp-quote {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin: 0;
  padding: 28px 30px 30px;
  border-radius: 18px;
  border: 1px solid rgba(15, 148, 87, 0.16);
  background: linear-gradient(160deg, rgba(15, 148, 87, 0.06), #ffffff 74%);
}
.fp-quote-mark {
  font-size: 54px;
  line-height: 0.7;
  font-weight: 600;
  color: #34d65f;
}
.fp-quote-text {
  margin: 0;
  font-size: 21px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #0c2e26;
  text-wrap: pretty;
}

/* ---- About (lite profiles) ------------------------------------------------- */
.fp-about {
  padding: 18px 26px 24px;
}
.fp-about-text {
  margin: 0;
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.62;
  color: #16413a;
  text-wrap: pretty;
}

/* ---- Hiring CTA ------------------------------------------------------------ */
.fp-hire {
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(15, 148, 87, 0.3);
  background:
    radial-gradient(90% 160% at 88% -30%, rgba(15, 148, 87, 0.3), transparent 58%),
    linear-gradient(165deg, #10231d 0%, #07120f 100%);
  box-shadow: 0 18px 44px rgba(7, 18, 15, 0.28);
}
.fp-hire-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 34px;
  padding: 32px 34px;
}
.fp-hire-copy {
  flex: 1 1 320px;
  min-width: 0;
}
.fp-hire-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 148, 87, 0.14);
  border: 1px solid rgba(15, 148, 87, 0.35);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #34d65f;
}
.fp-hire-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d65f;
  display: inline-block;
  animation: ciLive 1.8s ease-in-out infinite;
}
.fp-hire-title {
  margin: 14px 0 0;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
  text-wrap: pretty;
}
.fp-hire-blurb {
  margin: 10px 0 0;
  max-width: 46ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  text-wrap: pretty;
}
.fp-hire-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 20px;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #07120f;
  background: #0f9457;
  box-shadow: 0 8px 22px rgba(15, 148, 87, 0.3);
  transition: background 140ms ease;
  cursor: pointer;
}
.fp-hire-cta:hover {
  background: #0d823f;
  color: #07120f;
}
.fp-hire-list {
  flex: 1 1 300px;
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}
.fp-hire-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.fp-hire-k {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.fp-hire-v {
  font-size: 0.78rem;
  font-weight: 600;
  color: #34d65f;
  white-space: nowrap;
}

/* ---- Insights Founders Index → profile affordances ------------------------- */
#landing-insights .ci-fdx-card {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
#landing-insights .ci-fdx-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(11, 45, 38, 0.12);
  border-color: rgba(15, 148, 87, 0.42);
}
#landing-insights .ci-fdx-row {
  cursor: pointer;
  transition: background 140ms ease;
}
#landing-insights .ci-fdx-row:hover {
  background: rgba(15, 148, 87, 0.045);
}
#landing-insights .ci-fdx-card:focus-visible,
#landing-insights .ci-fdx-row:focus-visible {
  outline: 2px solid #0f9457;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  #landing-insights .ci-fdx-card,
  #landing-insights .ci-fdx-card:hover {
    transform: none;
  }
  .fp-role-detail {
    animation: none;
  }
}

/* ---- responsive ------------------------------------------------------------ */
@media (max-width: 900px) {
  .fp-top {
    padding: calc(var(--lp-navh) + 0.6rem) clamp(1rem, 4vw, 1.6rem) 2rem;
  }
  .fp-stack {
    padding: 20px clamp(1rem, 4vw, 1.6rem) 44px;
  }
  .fp-peek {
    display: none;
  }
  .fp-roles {
    padding: 8px 16px 18px;
  }
  .fp-news {
    padding: 2px 16px 16px;
  }
  .fp-ach,
  .fp-quotes {
    padding: 18px 16px 20px;
  }
  .fp-fortune {
    padding: 20px 16px 6px;
  }
  .fp-hire-inner {
    padding: 26px 22px;
    gap: 24px;
  }
}
@media (max-width: 560px) {
  .fp-avatar {
    width: 120px;
    height: 120px;
  }
  .fp-role {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .fp-role-years {
    padding: 16px 10px 0 0;
    font-size: 10.5px;
    letter-spacing: 0;
  }
  .fp-news-row {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
  }
  .fp-news-effect {
    grid-column: 2;
    text-align: left;
    padding-top: 6px;
  }
  .fp-fort-head {
    gap: 14px;
  }
  .fp-fort-big {
    font-size: 30px;
  }
  .fp-hire-title {
    font-size: 1.6rem;
  }
}
