/* ==========================================================================
   NOVACHI GROUP, TEAM PAGE STYLES
   Extracted from team.html. Loaded by team.html after components.css.
   ========================================================================== */

/* Hero stats */
.team-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--nv-border);
}

/* Founder grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.team-card {
  background: linear-gradient(180deg, var(--nv-bg-elevated) 0%, var(--nv-bg-soft) 100%);
  border: 1px solid var(--nv-border);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--nv-gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--nv-gold);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), var(--nv-glow-gold);
}
.team-card:hover::before {
  opacity: 1;
}

.team-avatar-photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 2px solid var(--nv-gold);
  box-shadow: var(--nv-glow-gold);
  object-fit: cover;
  object-position: center top;
  display: block;
  background: var(--nv-bg-soft);
}

.team-name {
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--nv-text);
  line-height: 1.2;
}
.team-role {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nv-text-gold);
  margin-bottom: 1rem;
}
.team-bio {
  font-size: 0.95rem;
  color: var(--nv-text-dim);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.team-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.team-cred {
  font-family: 'Geist Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nv-text-muted);
  padding: 0.3rem 0.7rem;
  background: rgba(230, 190, 105, 0.08);
  border: 1px solid var(--nv-border);
  border-radius: 100px;
}
.team-socials {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.team-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--nv-border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--nv-text-muted);
  font-size: 0.74rem;
  transition: all 0.3s ease;
  font-family: 'Geist Mono', monospace;
  text-decoration: none;
}
.team-socials a:hover {
  border-color: var(--nv-gold);
  color: var(--nv-text-gold);
  transform: translateY(-2px);
}

.read-full-bio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nv-text-gold);
  text-decoration: none;
  border-top: 1px solid var(--nv-border);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
  transition: opacity 0.25s ease;
}
.read-full-bio-link:hover { opacity: 0.75; }
.read-full-bio-link .arrow {
  transition: transform 0.25s ease;
}
.read-full-bio-link:hover .arrow { transform: translateX(3px); }

/* Section heads */
.team-section-head {
  text-align: center;
  margin-bottom: 3rem;
  margin-top: 5rem;
}
.team-section-head:first-child { margin-top: 0; }
.team-section-head h3 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.team-section-head p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--nv-text-dim);
}

/* Single-card row keeps the card from stretching the full width */
.team-grid.team-grid-single {
  grid-template-columns: minmax(320px, 420px);
  justify-content: center;
}

/* ============= DETAILED PROFILE BLOCKS ============= */
.founder-detail {
  scroll-margin-top: 100px;
  padding: 5rem 0;
  border-top: 1px solid var(--nv-border);
}
.founder-detail:first-of-type { border-top: none; padding-top: 3rem; }
.founder-detail-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
}
.founder-detail.reversed .founder-detail-inner {
  grid-template-columns: 1fr 320px;
}
.founder-detail.reversed .founder-photo-col { order: 2; }

.founder-photo-col { position: sticky; top: 120px; }
.founder-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--nv-border-strong);
  background: var(--nv-bg-soft);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.founder-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(230, 190, 105, 0.22);
  pointer-events: none;
}
.founder-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-photo-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  font-family: 'Geist Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nv-text-muted);
}
.founder-photo-label .label-left { color: var(--nv-text-gold); }

.founder-bio-col {}
.founder-kicker {
  font-family: 'Geist Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nv-text-gold);
  margin-bottom: 1rem;
}
.founder-name-lg {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: var(--nv-text);
}
.founder-title-lg {
  font-family: 'Geist', sans-serif;
  font-size: 1rem;
  color: var(--nv-text-dim);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--nv-border);
}
.founder-title-lg .italic { font-style: italic; color: var(--nv-text-gold); font-family: 'Fraunces', serif; }

.founder-bio-prose p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--nv-text-dim);
  margin-bottom: 1.25rem;
}
.founder-bio-prose p:first-child { color: var(--nv-text); font-size: 1.05rem; }
.founder-bio-prose strong {
  color: var(--nv-text);
  font-weight: 500;
}
.founder-bio-prose .italic-serif {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--nv-text-gold);
}

.founder-credentials-block {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--nv-border);
}
.founder-credentials-block h5 {
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nv-text-muted);
  margin-bottom: 1rem;
  font-weight: 400;
}
.credential-rows {
  display: grid;
  gap: 0.5rem;
}
.cred-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--nv-border);
  font-size: 0.92rem;
}
.cred-row:last-child { border-bottom: none; }
.cred-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nv-text-muted);
  padding-top: 0.1rem;
}
.cred-value { color: var(--nv-text); }

.founder-certifications-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.cert-chip {
  font-family: 'Geist Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nv-text-gold);
  padding: 0.4rem 0.85rem;
  background: rgba(230, 190, 105, 0.08);
  border: 1px solid rgba(230, 190, 105, 0.25);
  border-radius: 100px;
}

.founder-socials-lg {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.founder-socials-lg a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--nv-border);
  border-radius: 100px;
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nv-text);
  text-decoration: none;
  transition: all 0.3s ease;
}
.founder-socials-lg a:hover {
  border-color: var(--nv-gold);
  color: var(--nv-text-gold);
  transform: translateY(-2px);
}
.founder-socials-lg a.disabled {
  opacity: 0.35;
  pointer-events: none;
}

@media (max-width: 880px) {
  .founder-detail-inner,
  .founder-detail.reversed .founder-detail-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .founder-detail.reversed .founder-photo-col { order: 0; }
  .founder-photo-col { position: static; max-width: 320px; margin: 0 auto; }
  .founder-name-lg { font-size: 2rem; }
  .cred-row { grid-template-columns: 1fr; gap: 0.25rem; }
  .team-grid.team-grid-single { grid-template-columns: 1fr; }
}
