/* ============================================================
   StratoData — Interior Page Styles
   Shared layout for Team, Advisory Board, Careers, Contact
   ============================================================ */

/* ---- Page hero section ---- */
.page-hero {
  background: var(--void);
  padding: 140px 0 80px;
  text-align: center;
  border-bottom: 1px solid rgba(59, 130, 246, 0.08);
}
.page-hero-label {
  font-family: var(--ff-m);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-hero-hl {
  font-family: var(--ff-d);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 76px);
  color: var(--tw);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin: 0 auto;
}

/* ---- Team cards ---- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: 60px auto 0;
  max-width: 760px;
}

.team-card {
  background: var(--surface);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 8px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: border-color 0.3s ease;
  position: relative;
}
.team-card:hover {
  border-color: rgba(59, 130, 246, 0.28);
}
.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.team-card:hover::before {
  opacity: 1;
}

.tc-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-d);
  font-weight: 800;
  font-size: 22px;
  color: var(--blue);
  letter-spacing: -0.02em;
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.12), inset 0 0 16px rgba(59, 130, 246, 0.05);
}

.tc-avatar-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.12), inset 0 0 16px rgba(59, 130, 246, 0.05);
}

.tc-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tc-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tc-name {
  font-family: var(--ff-d);
  font-weight: 700;
  font-size: 24px;
  color: var(--tw);
  letter-spacing: -0.02em;
}
.tc-title {
  font-size: 15px;
  color: var(--blue);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.tc-bio {
  font-size: 17px;
  color: var(--tm);
  line-height: 1.7;
}
.tc-linkedin {
  font-size: 13px;
  color: var(--tm);
  font-weight: 500;
  transition: color 0.2s;
  align-self: flex-start;
}
.tc-linkedin:hover {
  color: var(--blue);
}

/* ---- Contact layout ---- */
.contact-intro {
  font-size: 16px;
  color: var(--tm);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.contact-grid {
  display: flex;
  align-items: stretch;
  max-width: 700px;
  margin: 0 auto;
}

.contact-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px;
  text-align: center;
}

.contact-divider {
  width: 1px;
  background: rgba(59, 130, 246, 0.12);
  flex-shrink: 0;
}

.contact-role {
  font-family: var(--ff-m);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
}
.contact-name {
  font-family: var(--ff-d);
  font-weight: 700;
  font-size: 18px;
  color: var(--tw);
  letter-spacing: -0.02em;
}
.contact-email {
  font-size: 15px;
  color: var(--tl);
  transition: color 0.2s;
  word-break: break-all;
}
.contact-email:hover {
  color: var(--blue);
}

/* ---- Section headers (used on team page) ---- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-headline {
  font-family: var(--ff-d);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  color: var(--tw);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
}
.section-subtitle {
  font-size: 17px;
  color: var(--tm);
  max-width: 640px;
  margin: 16px auto 0;
  line-height: 1.7;
}

/* ---- Advisor grid (3-across, reuses .team-card/.tc-* classes) ---- */
.advisor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 0;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}
.advisor-card {
  background: var(--surface);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 8px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color 0.3s ease;
  position: relative;
}
.advisor-card:hover {
  border-color: rgba(59, 130, 246, 0.28);
}
.advisor-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.advisor-card:hover::before {
  opacity: 1;
}
.advisor-card .tc-bio {
  font-size: 15px;
  line-height: 1.65;
}

/* ---- Founders section separator ---- */
.founders-section {
  border-top: 1px solid rgba(59, 130, 246, 0.08);
}

/* ---- Career listings ---- */
.careers-intro {
  font-size: 18px;
  color: var(--tm);
  text-align: center;
  max-width: 540px;
  margin: 0 auto 80px;
  line-height: 1.7;
}

.careers-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 760px;
  margin: 0 auto;
}

.career-card {
  background: var(--surface);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 8px;
  padding: 48px 44px;
  transition: border-color 0.3s ease;
}
.career-card:hover {
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: -4px 0 16px rgba(59, 130, 246, 0.15), 0 8px 32px rgba(0, 0, 0, 0.2);
}

.career-label {
  font-family: var(--ff-m);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.career-title {
  font-family: var(--ff-d);
  font-weight: 700;
  font-size: 26px;
  color: var(--tw);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.25;
}

.career-mission {
  font-size: 17px;
  color: var(--tl);
  line-height: 1.7;
  margin-bottom: 20px;
}

.career-needs {
  font-size: 17px;
  color: var(--tm);
  line-height: 1.7;
  margin-bottom: 28px;
}

.career-apply {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  font-family: var(--ff-d);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.career-apply:hover {
  color: var(--tw);
}

/* ---- Interior page responsive rules ---- */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .advisor-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .contact-grid {
    flex-direction: column;
    gap: 40px;
  }
  .contact-divider {
    width: 100%;
    height: 1px;
    flex-shrink: 0;
  }
  .page-hero {
    padding: 120px 0 60px;
  }
  .career-card {
    padding: 36px 28px;
  }
}

@media (max-width: 480px) {
  .advisor-grid {
    grid-template-columns: 1fr;
  }
}
