/**
 * Founders page (founders.php) — parity with vanities marketplace shell + frail cards.
 * Hero typography: marketing-home.css (body.index-page). Page chrome: marketing-skin.css.
 */
.marketing-skin.founders-page {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.founders-page .wrap {
  padding-inline: max(env(safe-area-inset-left, 0px), clamp(1.5rem, 6vw, 5rem))
    max(env(safe-area-inset-right, 0px), clamp(1.5rem, 6vw, 5rem));
}

.founders-page main {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  min-height: auto;
  padding-bottom: 2rem;
}

/* Hero — match vanities /vx-hero rhythm */
.founders-page .founders-vx-hero {
  scroll-margin-top: 5rem;
}
@media (min-width: 960px) {
  .founders-page .founders-vx-hero .hero-grid {
    gap: clamp(2rem, 4vw, 5rem);
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }
}
.founders-page .founders-hero .lede {
  max-width: min(52rem, 100%);
  margin-bottom: 0;
}
.founders-page .founders-hero .eyebrow {
  font-family: ui-monospace, monospace;
}

/* Team section — catalog-style band (vanities .vx-market__head) */
.founders-page .founders-team {
  padding: 0.5rem 0 2.5rem;
}
.founders-page .founders-team__head {
  text-align: left;
  max-width: 38rem;
  margin: 0 0 1.75rem;
}
@media (min-width: 720px) {
  .founders-page .founders-team__head {
    border-left: 2px solid rgba(255, 255, 255, 0.35);
    padding-left: 1.25rem;
    margin-left: 0;
  }
}
.founders-page .founders-team__kicker {
  margin: 0 0 0.4rem;
  font-family: ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.founders-page .founders-team__title {
  margin: 0 0 0.75rem;
  font-family: var(--display, Syne, system-ui, sans-serif);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: rgba(255, 255, 255, 0.96);
  text-transform: none;
}
.founders-page .founders-team__accent {
  background: linear-gradient(105deg, #ffffff 0%, #e4e4e7 40%, #71717a 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.founders-page .founders-team__lede {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.58);
}
.founders-page .founders-team__hint {
  margin: 0.75rem 0 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.42);
}
.founders-page .founders-team__hint a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 4px;
}
.founders-page .founders-team__hint a:hover {
  text-decoration-style: solid;
}

/* Pyramid: Dior apex, then Kev + Reyna */
.founders-page .founders-pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding-bottom: 0.25rem;
}
@media (min-width: 768px) {
  .founders-page .founders-pyramid {
    gap: 2.75rem;
  }
}
.founders-page .founder-card-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}
.founders-page .founder-card.founder-card--apex {
  width: 100%;
  max-width: 17.5rem;
  z-index: 1;
}
@media (min-width: 768px) {
  .founders-page .founder-card.founder-card--apex {
    transform: translateY(-0.35rem);
    margin-bottom: 0;
  }
}
.founders-page .founders-pyramid__row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 40rem;
}
@media (min-width: 768px) {
  .founders-page .founders-pyramid__row {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem 1.35rem;
  }
}

/* Frail listing card shell (matches vanities .vx-mkt-card--frail) */
.founders-page .founder-card--frail {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  padding: 1.25rem 1.15rem 1.2rem;
  margin-bottom: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.35);
  transition:
    border-color 0.5s ease,
    background 0.5s ease,
    box-shadow 0.5s ease;
}
.founders-page .founder-card-wrap--frail:hover .founder-card--frail,
.founders-page .founder-card-wrap--frail:focus-within .founder-card--frail {
  border-color: rgba(255, 255, 255, 0.1);
  background: #080808;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.founders-page .founder-card--frail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 2px;
  height: 100%;
  pointer-events: none;
  background: #10b981;
  border-radius: 0.875rem 0 0 0.875rem;
  transition: background 0.5s ease;
}
/* Lead card: gold rail (vanities “held” accent), same pyramid order */
.founders-page .founder-card--apex.founder-card--frail::before {
  background: rgba(251, 191, 36, 0.95);
}
.founders-page .founder-card-wrap--frail:hover .founder-card--frail::before,
.founders-page .founder-card-wrap--frail:focus-within .founder-card--frail::before {
  background: #34d399;
}
.founders-page .founder-card-wrap--frail:hover .founder-card--apex.founder-card--frail::before,
.founders-page .founder-card-wrap--frail:focus-within .founder-card--apex.founder-card--frail::before {
  background: #fbbf24;
}

.founders-page .founder-card--frail::after {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 45%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.03) 55%,
    transparent 100%
  );
  transition: transform 1s ease-in-out;
}
.founders-page .founder-card-wrap--frail:hover .founder-card--frail::after,
.founders-page .founder-card-wrap--frail:focus-within .founder-card--frail::after {
  transform: translateX(100%);
}
@media (prefers-reduced-motion: reduce) {
  .founders-page .founder-card--frail::after {
    transition: none;
    transform: none;
    opacity: 0;
  }
}

.founders-page .founder-card__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.founders-page .founder-avatar-wrap {
  position: relative;
  margin-bottom: 0.85rem;
}
.founders-page .founder-avatar-wrap::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669, #047857);
  opacity: 0.88;
  z-index: 0;
}
.founders-page .founder-card--apex .founder-avatar-wrap::before {
  background: linear-gradient(135deg, #fbbf24, #d97706, #b45309);
  opacity: 0.92;
}
.founders-page .founder-avatar-wrap::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.35), transparent 70%);
  z-index: -1;
  filter: blur(8px);
}
.founders-page .founder-card--apex .founder-avatar-wrap::after {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.4), transparent 70%);
}
.founders-page .founder-avatar {
  position: relative;
  z-index: 1;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(8, 8, 8, 0.94);
  display: block;
}
.founders-page .founder-avatar--ph {
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(145deg, #065f46 0%, #059669 50%, #34d399 100%);
}

.founders-page .founder-name {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin: 0 0 0.35rem;
}
.founders-page .founder-role {
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(52, 211, 153, 0.95);
}
.founders-page .founder-card--primary .founder-role {
  border-color: rgba(251, 191, 36, 0.35);
  color: rgba(253, 224, 71, 0.95);
  background: rgba(251, 191, 36, 0.08);
}
.founders-page .founder-bio {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(245, 245, 247, 0.72);
  max-width: 22rem;
}
