/* ============================================
   TEAM PAGE
   ============================================ */

.nav-solid {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-active { color: var(--white) !important; }

/* ============================================
   HERO
   ============================================ */
.team-hero {
  padding: 140px 0 100px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.team-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 240, 212, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.team-hero-grid {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Photo */
.photo-wrapper {
  position: relative;
  width: 320px;
  max-width: 100%;
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.05);
}

.photo-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(10,10,10,0.6));
  pointer-events: none;
}

/* Fallback if image doesn't load */
.photo-fallback {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.photo-fallback::before {
  content: 'Add shawn.jpg to this folder';
  color: rgba(255,255,255,0.2);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 40px;
}

/* Content */
.team-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--mint);
  margin-top: 8px;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.team-lede {
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  line-height: 1.85;
  color: rgba(255,255,255,0.55);
  max-width: 540px;
  margin-bottom: 36px;
}

.team-hero-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================
   SHORT VERSION — 2-col text
   ============================================ */
.short-version-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ============================================
   EXPERIENCE CARDS
   ============================================ */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.exp-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 40px;
}

.exp-icon {
  margin-bottom: 20px;
}

.exp-date {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mint);
  margin-bottom: 10px;
  opacity: 0.8;
}

.exp-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.exp-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}

/* ============================================
   PROMISE GRID
   ============================================ */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  text-align: left;
}

.promise-item {
  padding: 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
}

.promise-number {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--mint);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}

.promise-item p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .team-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .team-hero-photo { justify-self: center; }
  .photo-wrapper { width: 260px; }
  .team-lede { margin-left: auto; margin-right: auto; }
  .team-hero-links { justify-content: center; }
  .short-version-grid { grid-template-columns: 1fr; gap: 40px; }
  .exp-grid { grid-template-columns: 1fr; max-width: 560px; }
  .promise-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .team-hero { padding: 120px 0 80px; }
  .photo-wrapper { width: 220px; }
  .exp-grid { max-width: 100%; }
}

/* ============================================
   TEAM PAGE — Premium Motion
   ============================================ */

/* Photo hover tilt */
.photo-wrapper {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.team-hero-photo:hover .photo-wrapper {
  transform: perspective(600px) rotateY(4deg) rotateX(-2deg) scale(1.02);
}

/* Photo glow pulse */
.photo-glow {
  transition: opacity 0.5s ease;
}

.team-hero-photo:hover .photo-glow {
  opacity: 0.8;
}

/* Role line typing feel */
.team-role {
  background: linear-gradient(90deg, var(--mint) 0%, rgba(168,240,212,0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* (Experience card hover animations removed) */

/* Promise number hover */
.promise-number {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Short version section subtle parallax */
.short-version-grid {
  position: relative;
}

/* Team hero name entrance */
.team-hero-content .heading-lg {
  background: linear-gradient(
    110deg,
    var(--white) 0%,
    var(--white) 40%,
    rgba(168, 240, 212, 0.6) 50%,
    var(--white) 60%,
    var(--white) 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 6s ease-in-out infinite;
}
