/* ── RESET ───────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0f0f0f;
  --ink: #1a1a1a;
  --mid: #444;
  --muted: #888;
  --border: #e8e8e8;
  --surface: #f7f7f5;
  --white: #ffffff;
  --accent: #0f0f0f;
  --accent: #1A6B45;

  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  min-height: 100vh;
}



.logo {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.logo span {
  color: var(--accent);
}

/* ── NAV ─────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 60px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  /* backdrop-filter: blur(12px); */
  z-index: 100;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--black);
  text-decoration: none;
}

.nav-logo span {
  font-style: italic;
}

.nav-back {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s;
}

.nav-back:hover {
  color: var(--ink);
}

/* ── PAGE ────────────────────────────────────── */
.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 32px 100px;
}

/* ── HERO ────────────────────────────────────── */
.hero {
  text-align: center;
  margin-bottom: 72px;
  animation: fadeUp 0.5s ease both;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  position: relative;
}

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.75;
  font-weight: 300;
}

/* ── CTA BANNER ──────────────────────────────── */
.cta-banner {
  background: var(--black);
  color: var(--white);
  border-radius: 16px;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 72px;
  animation: fadeUp 0.5s 0.1s ease both;
}

.cta-banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-banner-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-banner-icon svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.cta-banner-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cta-banner-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

.cta-banner-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.cta-banner-btn {
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  white-space: nowrap;
  transition: opacity 0.15s;
  flex-shrink: 0;
}

.cta-banner-btn:hover {
  opacity: 0.85;
}

/* ── SECTION LABEL ───────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

/* ── FOUNDER CARD ────────────────────────────── */
.founder-wrap {
  margin-bottom: 60px;
  animation: fadeUp 0.5s 0.15s ease both;
}

/* ── SHARED FOUNDER/CO-FOUNDER ANIMATIONS ────── */
.founder-card {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease,
    border-color 0.3s ease,
    background 0.3s ease;
  cursor: default;
}

/* Shimmer overlay for both */
.founder-card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: inherit;
}

.founder-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.founder-card:hover::after {
  opacity: 1;
}

/* Left bar slide-in for both */
.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-radius: 2px 0 0 2px;
  transition: width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.founder-card:hover::before {
  width: 5px;
}

/* Photo zoom + transition for both */
.founder-photo {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.founder-card:hover .founder-photo {
  transform: scale(1.08);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

/* Badge common transition */
.founder-badge,
.co-founder-badge {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-card:hover .founder-badge,
.founder-card:hover .co-founder-badge {
  transform: scale(1.07);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

/* Name common transition */
.founder-name {
  transition: color 0.3s ease;
}

/* ── FOUNDER SPECIFIC (BLACK) ────────────────── */
.founder-card:not(.co-founder-card)::before {
  background: var(--black);
}

.founder-card:not(.co-founder-card)::after {
  background: linear-gradient(120deg, transparent 30%, rgba(0, 0, 0, 0.03) 50%, transparent 70%);
}

.founder-card:not(.co-founder-card):hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
}

.founder-card:not(.co-founder-card):hover .founder-photo {
  box-shadow: 0 0 0 1px var(--black), 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.founder-card:not(.co-founder-card):hover .founder-badge {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ── CO-FOUNDER SPECIFIC (GREEN) ──────────────── */
.co-founder-card::before {
  background: #277f56;
}

.co-founder-card::after {
  background: linear-gradient(120deg, transparent 30%, rgba(39, 127, 86, 0.05) 50%, transparent 70%);
}

.co-founder-card:hover {
  box-shadow: 0 20px 40px rgba(39, 127, 86, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: rgba(39, 127, 86, 0.35);
  background: linear-gradient(135deg, #ffffff 0%, #f0faf5 100%);
}

.co-founder-card:hover .founder-photo {
  box-shadow: 0 0 0 1px #277f56, 0 0 0 2px rgba(54, 84, 54, 0.582);
}

.co-founder-card:hover .co-founder-badge {
  box-shadow: 0 4px 12px rgba(39, 127, 86, 0.4);
}

.co-founder-card:hover .founder-name {
  color: #1a6b45;
}

.founder-photo {
  width: 56px;
  /* same small size as avatar */
  height: 56px;
  border-radius: 50%;
  /* makes it circular */
  object-fit: cover;
  /* keeps image nicely cropped */
  flex-shrink: 0;
  display: block;
}

.contributor-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid var(--border);
}

.contributor-avatar.sm {
  width: 48px;
  height: 48px;
}

.contributor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contributor-info {
  flex: 1;
}

.founder-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--black);
  margin-bottom: 4px;
}

.founder-role {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.founder-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
}

.founder-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 99px;
  align-self: flex-start;
  display: inline-block;
}

.co-founder-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #277f56;
  color: var(--white);
  padding: 4px 10px;
  border-radius: 99px;
  align-self: flex-start;
  white-space: nowrap;
  display: inline-block;
}

/* ── CONTRIBUTORS GRID ───────────────────────── */
.contributors-wrap {
  margin-bottom: 60px;
  animation: fadeUp 0.5s 0.2s ease both;
}

.contributors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.contributor-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
}

.contributor-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.contributor-avatar.sm {
  width: 44px;
  height: 44px;
  font-size: 15px;
  flex-shrink: 0;
}

.contributor-info {
  flex: 1;
}

.contributor-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 2px;
}

.contributor-role {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.contributor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 99px;
  border: 1px solid var(--border);
  color: var(--mid);
  background: var(--surface);
}

.tag.code {
  border-color: #bfdbfe;
  color: #1d4ed8;
  background: #eff6ff;
}

.tag.content {
  border-color: #bbf7d0;
  color: #15803d;
  background: #f0fdf4;
}

.tag.design {
  border-color: #fde68a;
  color: #b45309;
  background: #fffbeb;
}

.tag.review {
  border-color: #e9d5ff;
  color: #7e22ce;
  background: #faf5ff;
}

/* ── EMPTY SLOT ──────────────────────────────── */
.empty-slot {
  border: 1.5px dashed var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  cursor: default;
  transition: border-color 0.2s, background 0.2s;
}

.empty-slot:hover {
  border-color: #aaa;
  background: var(--surface);
}

.empty-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ccc;
  flex-shrink: 0;
}

.empty-text {
  font-size: 13px;
  line-height: 1.5;
}

.empty-text strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  margin-bottom: 2px;
}

/* ── HOW TO CONTRIBUTE ───────────────────────── */
.how-wrap {
  background: var(--surface);
  border-radius: 16px;
  padding: 36px;
  margin-bottom: 60px;
  animation: fadeUp 0.5s 0.25s ease both;
}

.how-title {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--black);
  margin-bottom: 8px;
}

.how-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.how-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}

.step-num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--border);
  line-height: 1;
  margin-bottom: 10px;
}

.step-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 5px;
}

.step-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── STATS BAR ───────────────────────────────── */
.stats-bar {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 72px;
  animation: fadeUp 0.5s 0.3s ease both;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--black);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-lbl {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ── ANIMATION ───────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 640px) {
  nav {
    padding: 0 16px;
  }

  .page {
    padding: 48px 16px 72px;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .founder-card {
    flex-direction: column;
  }

  .founder-badge {
    align-self: flex-start;
  }

  .stats-bar {
    flex-wrap: wrap;
  }

  .stat-item {
    min-width: 50%;
    border-bottom: 1px solid var(--border);
  }

  .how-wrap {
    padding: 24px;
  }
}


/* ─── FOOTER ──────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-size: 12px;
  color: var(--muted);
}